diff --git a/.hgignore b/.hgignore index cd5797518..3345a123a 100644 --- a/.hgignore +++ b/.hgignore @@ -7,7 +7,7 @@ ^testpy-output ^doc/html ^doc/latex -^\.lock-wscript +^\.lock-wafbuild ^\.waf ^doc/introspected-doxygen\.h$ .*\.py[co]$ @@ -26,6 +26,7 @@ ^src/.*/doc/source/figures/.*.eps ^src/.*/doc/source/figures/.*.pdf ^src/.*/doc/source/figures/.*.png +^bindings/python/pybindgen/ ms_print.* massif.* \.patch$ diff --git a/.hgtags b/.hgtags index c483b5975..8d71042c4 100644 --- a/.hgtags +++ b/.hgtags @@ -58,3 +58,5 @@ def4153e27cd744f117acf8c509979617850da83 ns-3.9-RC3 0a7a16b599e86ca7884e5b5772bf7c5cfe146603 ns-3.11-RC2 e48ed3aabca6ad71c8c49e4604c0f83345eda6a8 ns-3.11-RC3 9843c12351cb5ceb9613c9db390d94073b713284 ns-3.11 +19c9e2b33b4a53f200be80cd49810bdfecf76770 ns-3.12-RC1 +167fc2274f53d4d89fdd769e4a7683ad7b6b7157 ns-3.12 diff --git a/CHANGES.html b/CHANGES.html index e9f8e440b..9ce02915b 100644 --- a/CHANGES.html +++ b/CHANGES.html @@ -44,8 +44,34 @@ to this file based on your experience, please contribute a patch or drop us a note on ns-developers mailing list.


-

Changes from ns-3.11 to ns-3.12

+

Changes from ns-3.12 to ns-3.13

+ +

Changes to build system:

New API:

@@ -54,12 +80,55 @@ us a note on ns-developers mailing list.

Changes to existing API:

Changed behavior:

+
+

Changes from ns-3.11 to ns-3.12

+ +

Changes to build system:

+ + +

New API:

+ + +

Changes to existing API:

+ + +

Changed behavior:

+ +

Changes from ns-3.10 to ns-3.11

diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 44591da71..8e0f7ad99 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -9,14 +9,60 @@ http://www.nsnam.org including tutorials: http://www.nsnam.org/tutorials.html Consult the file CHANGES.html for more detailed information about changed API and behavior across ns-3 releases. +Release 3.13 +============== + +Availability +------------ +This release is not yet available. + +Bugs fixed +---------- + +Supported platforms +------------------- + +New user-visible features +------------------------- + +Known issues +------------ +In general, known issues are tracked on the project tracker available +at http://www.nsnam.org/bugzilla/ + +Release 3.12.1 +============== + +Availability +------------ +This release is available from: +http://www.nsnam.org/release/ns-allinone-3.12.1.tar.bz2 + +Bugs fixed +---------- +This release fixes PyViz visualizer's python bindings; otherwise, it +is the same as the ns-3.12 release. + Release 3.12 =========== Availability ------------ +This release is available from: +http://www.nsnam.org/release/ns-allinone-3.12.tar.bz2 Supported platforms ------------------- +ns-3.12 has been tested on the following platforms. Not all features are +available on all platforms; check the Installation page on the project wiki. + +- Fedora Core 15 (32/64 bit) with g++-4.6.0 +- Ubuntu 11.04 (32/64 bit) with g++-4.5.2 +- OS X Lion with g++-4.2.1 +- Fedora Core 14 (64 bit) with g++-4.3.4, g++-4.5.3, g++-4.4.6 +- Fedora Core 12 (64 bit) with g++-4.4.4 +- OS X Snow Leopard with g++-4.2.1 +- Ubuntu 10.04.3 LTS (64 bit) with g++-4.4.3, g++-3.4.6 New user-visible features ------------------------- @@ -28,16 +74,59 @@ New user-visible features SpectrumPropagationLossModel class already supported by SpectrumChannel. +- Extend the attribute system extend the attribute system to store map + container objects in addition to vector containers. The ObjectMap + and related classes are patterned after ObjectVector. + +- Support for IPv4 fragmentation has been added. + +- Significant performance improvement for AODV in dense mobile scenarios + due to a fixed bug in RERR processing. + +- WiFi traces that were named promiscuous are now renamed monitor, and + a separate flag for setting the interface to promiscuous mode has been + introduced. This disambiguates monitor mode from promiscuous mode. + +- Monolithic Python bindings have been removed Bugs fixed ---------- + - bug 845 - fix ConfigStore output for changing default values + - bug 1010 - Uan model Sleep patch - bug 1033 - Mesh airtime-metric fixed + - bug 1043 - lte-spectrum-value-helper.cc file swapped uplink/downlink freq. + - bug 1050 - ISO C++ forbids variable length array; remove all instances + - bug 1057 - LTE bearers differentiation issue + - bug 1082 - Check that log component names are correct when taken from NS_LOG + - bug 1100 - IPv6 fragmentation enhancements - bug 1102 - IPv4 header fragment offset field not set correctly - bug 1123 - class MinMaxAvgTotalCalculator does not implement all methods + - bug 1134 - Fix LiIonEnergySource attribute spelling for InitialCellVoltage + - bug 1139 - Broadcast packets issue in uan cw mac - bug 1141 - MeshWifiInterfaceMac adds supported modes to wrong remote station + - bug 1163 - Ipv4EndPointDemux::AllocateEphemeralPort forget to increment port + - bug 1164 - IPV4 TCP Bind already used port failed, but without setting errno + - bug 1168 - BridgeNetDevice: default expiration time not realistic + - bug 1174 - Ns-3 does not generate static libraries - bug 1175 - shared libraries are not versioned - - bug 1192 - some test cases fail to clean up properly + - bug 1193 - AODV Hello timers scheduling skewed when RREP, RREQ are processed + - bug 1194 - AODV Incorrect RERR processing - bug 1201 - UDP sockets need to set connected state before notifying the ConnectionSucceeded callback + - bug 1208 - Spectrum module example causing valgrind errors + - bug 1209 - ns-3-click fails to build on Fedora 15 when tests are enabled + - bug 1220 - FdReader always stops with NS_FATAL_ERROR + - bug 1222 - Incomplete PointToPointNetDevice Python bindings + - bug 1224 - ns-3-allinone fails to compile on OS X Lion + - bug 1226 - Incomplete YansWifiChannel Python bindings + - bug 1234 - GetAttributeChecker is not defined anymore but still used + - bug 1239 - Add assertion that reference count never overflows + - bug 1244 - Seg Faults in optimized builds due to missing Logging components + - Fix ARP issue in nsclick-ip-router.click and static route in nsclick-routing-node2.click + +Known issues +------------ +In general, known issues are tracked on the project tracker available +at http://www.nsnam.org/bugzilla/ Release 3.11 =========== @@ -45,7 +134,7 @@ Release 3.11 Availability ------------ This release is available from: -http://www.nsnam.org/releases/ns-allinone-3.11.tar.bz2 +http://www.nsnam.org/release/ns-allinone-3.11.tar.bz2 Supported platforms ------------------- @@ -186,7 +275,7 @@ Release 3.10 Availability ------------ This release is available from: -http://www.nsnam.org/releases/ns-allinone-3.10.tar.bz2 +http://www.nsnam.org/release/ns-allinone-3.10.tar.bz2 Supported platforms ------------------- @@ -351,7 +440,7 @@ Release 3.9 Availability ------------ This release is immediately available from: -http://www.nsnam.org/releases/ns-allinone-3.9.tar.bz2 +http://www.nsnam.org/release/ns-allinone-3.9.tar.bz2 Supported platforms ------------------- @@ -511,7 +600,7 @@ Release 3.8 Availability ------------ This release is immediately available from: -http://www.nsnam.org/releases/ns-allinone-3.8.tar.bz2 +http://www.nsnam.org/release/ns-allinone-3.8.tar.bz2 Supported platforms ------------------- @@ -651,7 +740,7 @@ Release 3.7 Availability ------------ This release is immediately available from: -http://www.nsnam.org/releases/ns-allinone-3.7.tar.bz2 +http://www.nsnam.org/release/ns-allinone-3.7.tar.bz2 Supported platforms ------------------- @@ -775,7 +864,7 @@ Release 3.6 Availability ------------ This release is immediately available from: -http://www.nsnam.org/releases/ns-allinone-3.6.tar.bz2 +http://www.nsnam.org/release/ns-allinone-3.6.tar.bz2 Supported platforms ------------------- @@ -851,7 +940,7 @@ Release 3.5 Availability ------------ This release is immediately available from: -http://www.nsnam.org/releases/ns-allinone-3.5.tar.bz2 +http://www.nsnam.org/release/ns-allinone-3.5.tar.bz2 Supported platforms ------------------- @@ -910,7 +999,7 @@ Release 3.4 Availability ------------ This release is immediately available from: -http://www.nsnam.org/releases/ns-allinone-3.4.tar.bz2 +http://www.nsnam.org/release/ns-allinone-3.4.tar.bz2 Supported platforms ------------------- @@ -974,7 +1063,7 @@ Release 3.3 Availability ------------ This release is immediately available from: -http://www.nsnam.org/releases/ns-3.3.tar.bz2 +http://www.nsnam.org/release/ns-3.3.tar.bz2 Supported platforms ------------------- @@ -1041,7 +1130,7 @@ Release 3.2 Availability ------------ This release is immediately available from: -http://www.nsnam.org/releases/ns-3.2.tar.bz2 +http://www.nsnam.org/release/ns-3.2.tar.bz2 Supported platforms ------------------- @@ -1112,7 +1201,7 @@ The first ns-3 stable release ----------------------------- This release is immediately available from: -http://www.nsnam.org/releases/ns-3.1.tar.bz2 +http://www.nsnam.org/release/ns-3.1.tar.bz2 We dedicate this initial ns-3 release to our late contributor and friend, Federico Maguolo. diff --git a/bindings/python/apidefs/gcc-ILP32/callbacks_list.py b/bindings/python/apidefs/gcc-ILP32/callbacks_list.py deleted file mode 100644 index f71dfe515..000000000 --- a/bindings/python/apidefs/gcc-ILP32/callbacks_list.py +++ /dev/null @@ -1,39 +0,0 @@ -callback_classes = [ - ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::Address const&', 'unsigned short', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'double', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'double', 'ns3::UanTxMode', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::UanAddress const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'unsigned char*', 'int', '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::Mac48Address', 'ns3::Mac48Address', 'unsigned int', 'bool', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'unsigned int', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::dot11s::PeerLink::PeerState', 'ns3::dot11s::PeerLink::PeerState', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::WifiMacHeader const*', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ipv4Address', 'unsigned char', 'unsigned char', 'unsigned char', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ipv4Header', 'unsigned short', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ipv4Address', 'ns3::Ipv4Address', 'unsigned char', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['std::vector >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'bool', 'ns3::Ptr', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['unsigned int', 'ns3::Mac48Address', 'ns3::Ptr', '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::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'std::string', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'bool', 'unsigned long long', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ipv4Header const&', '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::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'], - ['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Mac48Address', 'unsigned char', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Mac48Address', 'unsigned char', 'bool', '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'], -] diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py deleted file mode 100644 index 70ffe1159..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_aodv.py +++ /dev/null @@ -1,1145 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## aodv-helper.h: ns3::AodvHelper [class] - module.add_class('AodvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - ## aodv-packet.h: ns3::aodv::MessageType [enumeration] - module.add_enum('MessageType', ['AODVTYPE_RREQ', 'AODVTYPE_RREP', 'AODVTYPE_RERR', 'AODVTYPE_RREP_ACK']) - ## aodv-rtable.h: ns3::aodv::RouteFlags [enumeration] - module.add_enum('RouteFlags', ['VALID', 'INVALID', 'IN_SEARCH']) - ## aodv-dpd.h: ns3::aodv::DuplicatePacketDetection [class] - module.add_class('DuplicatePacketDetection') - ## aodv-id-cache.h: ns3::aodv::IdCache [class] - module.add_class('IdCache') - ## aodv-neighbor.h: ns3::aodv::Neighbors [class] - module.add_class('Neighbors') - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor [struct] - module.add_class('Neighbor', outer_class=root_module['ns3::aodv::Neighbors']) - ## aodv-rqueue.h: ns3::aodv::QueueEntry [class] - module.add_class('QueueEntry') - ## aodv-rqueue.h: ns3::aodv::RequestQueue [class] - module.add_class('RequestQueue') - ## aodv-packet.h: ns3::aodv::RerrHeader [class] - module.add_class('RerrHeader', parent=root_module['ns3::Header']) - ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol [class] - module.add_class('RoutingProtocol', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## aodv-rtable.h: ns3::aodv::RoutingTable [class] - module.add_class('RoutingTable') - ## aodv-rtable.h: ns3::aodv::RoutingTableEntry [class] - module.add_class('RoutingTableEntry') - ## aodv-packet.h: ns3::aodv::RrepAckHeader [class] - module.add_class('RrepAckHeader', parent=root_module['ns3::Header']) - ## aodv-packet.h: ns3::aodv::RrepHeader [class] - module.add_class('RrepHeader', parent=root_module['ns3::Header']) - ## aodv-packet.h: ns3::aodv::RreqHeader [class] - module.add_class('RreqHeader', parent=root_module['ns3::Header']) - ## aodv-packet.h: ns3::aodv::TypeHeader [class] - module.add_class('TypeHeader', parent=root_module['ns3::Header']) - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) - register_Ns3AodvDuplicatePacketDetection_methods(root_module, root_module['ns3::aodv::DuplicatePacketDetection']) - register_Ns3AodvIdCache_methods(root_module, root_module['ns3::aodv::IdCache']) - register_Ns3AodvNeighbors_methods(root_module, root_module['ns3::aodv::Neighbors']) - register_Ns3AodvNeighborsNeighbor_methods(root_module, root_module['ns3::aodv::Neighbors::Neighbor']) - register_Ns3AodvQueueEntry_methods(root_module, root_module['ns3::aodv::QueueEntry']) - register_Ns3AodvRequestQueue_methods(root_module, root_module['ns3::aodv::RequestQueue']) - register_Ns3AodvRerrHeader_methods(root_module, root_module['ns3::aodv::RerrHeader']) - register_Ns3AodvRoutingProtocol_methods(root_module, root_module['ns3::aodv::RoutingProtocol']) - register_Ns3AodvRoutingTable_methods(root_module, root_module['ns3::aodv::RoutingTable']) - register_Ns3AodvRoutingTableEntry_methods(root_module, root_module['ns3::aodv::RoutingTableEntry']) - register_Ns3AodvRrepAckHeader_methods(root_module, root_module['ns3::aodv::RrepAckHeader']) - register_Ns3AodvRrepHeader_methods(root_module, root_module['ns3::aodv::RrepHeader']) - register_Ns3AodvRreqHeader_methods(root_module, root_module['ns3::aodv::RreqHeader']) - register_Ns3AodvTypeHeader_methods(root_module, root_module['ns3::aodv::TypeHeader']) - return - -def register_Ns3AodvHelper_methods(root_module, cls): - ## aodv-helper.h: ns3::AodvHelper::AodvHelper(ns3::AodvHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AodvHelper const &', 'arg0')]) - ## aodv-helper.h: ns3::AodvHelper::AodvHelper() [constructor] - cls.add_constructor([]) - ## aodv-helper.h: ns3::AodvHelper * ns3::AodvHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::AodvHelper *', - [], - is_const=True, is_virtual=True) - ## aodv-helper.h: ns3::Ptr ns3::AodvHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## aodv-helper.h: void ns3::AodvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3AodvDuplicatePacketDetection_methods(root_module, cls): - ## aodv-dpd.h: ns3::aodv::DuplicatePacketDetection::DuplicatePacketDetection(ns3::aodv::DuplicatePacketDetection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::DuplicatePacketDetection const &', 'arg0')]) - ## aodv-dpd.h: ns3::aodv::DuplicatePacketDetection::DuplicatePacketDetection(ns3::Time lifetime) [constructor] - cls.add_constructor([param('ns3::Time', 'lifetime')]) - ## aodv-dpd.h: ns3::Time ns3::aodv::DuplicatePacketDetection::GetLifetime() const [member function] - cls.add_method('GetLifetime', - 'ns3::Time', - [], - is_const=True) - ## aodv-dpd.h: bool ns3::aodv::DuplicatePacketDetection::IsDuplicate(ns3::Ptr p, ns3::Ipv4Header const & header) [member function] - cls.add_method('IsDuplicate', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header')]) - ## aodv-dpd.h: void ns3::aodv::DuplicatePacketDetection::SetLifetime(ns3::Time lifetime) [member function] - cls.add_method('SetLifetime', - 'void', - [param('ns3::Time', 'lifetime')]) - return - -def register_Ns3AodvIdCache_methods(root_module, cls): - ## aodv-id-cache.h: ns3::aodv::IdCache::IdCache(ns3::aodv::IdCache const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::IdCache const &', 'arg0')]) - ## aodv-id-cache.h: ns3::aodv::IdCache::IdCache(ns3::Time lifetime) [constructor] - cls.add_constructor([param('ns3::Time', 'lifetime')]) - ## aodv-id-cache.h: ns3::Time ns3::aodv::IdCache::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-id-cache.h: uint32_t ns3::aodv::IdCache::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - []) - ## aodv-id-cache.h: bool ns3::aodv::IdCache::IsDuplicate(ns3::Ipv4Address addr, uint32_t id) [member function] - cls.add_method('IsDuplicate', - 'bool', - [param('ns3::Ipv4Address', 'addr'), param('uint32_t', 'id')]) - ## aodv-id-cache.h: void ns3::aodv::IdCache::Purge() [member function] - cls.add_method('Purge', - 'void', - []) - ## aodv-id-cache.h: void ns3::aodv::IdCache::SetLifetime(ns3::Time lifetime) [member function] - cls.add_method('SetLifetime', - 'void', - [param('ns3::Time', 'lifetime')]) - return - -def register_Ns3AodvNeighbors_methods(root_module, cls): - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbors(ns3::aodv::Neighbors const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::Neighbors const &', 'arg0')]) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbors(ns3::Time delay) [constructor] - cls.add_constructor([param('ns3::Time', 'delay')]) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::AddArpCache(ns3::Ptr arg0) [member function] - cls.add_method('AddArpCache', - 'void', - [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::DelArpCache(ns3::Ptr arg0) [member function] - cls.add_method('DelArpCache', - 'void', - [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) - ## aodv-neighbor.h: ns3::Callback ns3::aodv::Neighbors::GetCallback() const [member function] - cls.add_method('GetCallback', - 'ns3::Callback< void, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## aodv-neighbor.h: ns3::Time ns3::aodv::Neighbors::GetExpireTime(ns3::Ipv4Address addr) [member function] - cls.add_method('GetExpireTime', - 'ns3::Time', - [param('ns3::Ipv4Address', 'addr')]) - ## aodv-neighbor.h: ns3::Callback ns3::aodv::Neighbors::GetTxErrorCallback() const [member function] - cls.add_method('GetTxErrorCallback', - 'ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## aodv-neighbor.h: bool ns3::aodv::Neighbors::IsNeighbor(ns3::Ipv4Address addr) [member function] - cls.add_method('IsNeighbor', - 'bool', - [param('ns3::Ipv4Address', 'addr')]) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::Purge() [member function] - cls.add_method('Purge', - 'void', - []) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::ScheduleTimer() [member function] - cls.add_method('ScheduleTimer', - 'void', - []) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::SetCallback(ns3::Callback cb) [member function] - cls.add_method('SetCallback', - 'void', - [param('ns3::Callback< void, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::Update(ns3::Ipv4Address addr, ns3::Time expire) [member function] - cls.add_method('Update', - 'void', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Time', 'expire')]) - return - -def register_Ns3AodvNeighborsNeighbor_methods(root_module, cls): - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::Neighbor(ns3::aodv::Neighbors::Neighbor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::Neighbors::Neighbor const &', 'arg0')]) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::Neighbor(ns3::Ipv4Address ip, ns3::Mac48Address mac, ns3::Time t) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('ns3::Mac48Address', 'mac'), param('ns3::Time', 't')]) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::close [variable] - cls.add_instance_attribute('close', 'bool', is_const=False) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_expireTime [variable] - cls.add_instance_attribute('m_expireTime', 'ns3::Time', is_const=False) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_hardwareAddress [variable] - cls.add_instance_attribute('m_hardwareAddress', 'ns3::Mac48Address', is_const=False) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_neighborAddress [variable] - cls.add_instance_attribute('m_neighborAddress', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3AodvQueueEntry_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## aodv-rqueue.h: ns3::aodv::QueueEntry::QueueEntry(ns3::aodv::QueueEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::QueueEntry const &', 'arg0')]) - ## aodv-rqueue.h: ns3::aodv::QueueEntry::QueueEntry(ns3::Ptr pa=0, ns3::Ipv4Header const & h=ns3::Ipv4Header(), ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb=ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb=ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Time exp=ns3::Simulator::Now( )) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet const >', 'pa', default_value='0'), param('ns3::Ipv4Header const &', 'h', default_value='ns3::Ipv4Header()'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb', default_value='ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb', default_value='ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), param('ns3::Time', 'exp', default_value='ns3::Simulator::Now( )')]) - ## aodv-rqueue.h: ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::aodv::QueueEntry::GetErrorCallback() const [member function] - cls.add_method('GetErrorCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Time ns3::aodv::QueueEntry::GetExpireTime() const [member function] - cls.add_method('GetExpireTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Ipv4Header ns3::aodv::QueueEntry::GetIpv4Header() const [member function] - cls.add_method('GetIpv4Header', - 'ns3::Ipv4Header', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Ptr ns3::aodv::QueueEntry::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet const >', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::aodv::QueueEntry::GetUnicastForwardCallback() const [member function] - cls.add_method('GetUnicastForwardCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetErrorCallback(ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('SetErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')]) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetExpireTime(ns3::Time exp) [member function] - cls.add_method('SetExpireTime', - 'void', - [param('ns3::Time', 'exp')]) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetIpv4Header(ns3::Ipv4Header h) [member function] - cls.add_method('SetIpv4Header', - 'void', - [param('ns3::Ipv4Header', 'h')]) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetUnicastForwardCallback(ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb) [member function] - cls.add_method('SetUnicastForwardCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb')]) - return - -def register_Ns3AodvRequestQueue_methods(root_module, cls): - ## aodv-rqueue.h: ns3::aodv::RequestQueue::RequestQueue(ns3::aodv::RequestQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RequestQueue const &', 'arg0')]) - ## aodv-rqueue.h: ns3::aodv::RequestQueue::RequestQueue(uint32_t maxLen, ns3::Time routeToQueueTimeout) [constructor] - cls.add_constructor([param('uint32_t', 'maxLen'), param('ns3::Time', 'routeToQueueTimeout')]) - ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Dequeue(ns3::Ipv4Address dst, ns3::aodv::QueueEntry & entry) [member function] - cls.add_method('Dequeue', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::QueueEntry &', 'entry')]) - ## aodv-rqueue.h: void ns3::aodv::RequestQueue::DropPacketWithDst(ns3::Ipv4Address dst) [member function] - cls.add_method('DropPacketWithDst', - 'void', - [param('ns3::Ipv4Address', 'dst')]) - ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Enqueue(ns3::aodv::QueueEntry & entry) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::aodv::QueueEntry &', 'entry')]) - ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Find(ns3::Ipv4Address dst) [member function] - cls.add_method('Find', - 'bool', - [param('ns3::Ipv4Address', 'dst')]) - ## aodv-rqueue.h: uint32_t ns3::aodv::RequestQueue::GetMaxQueueLen() const [member function] - cls.add_method('GetMaxQueueLen', - 'uint32_t', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Time ns3::aodv::RequestQueue::GetQueueTimeout() const [member function] - cls.add_method('GetQueueTimeout', - 'ns3::Time', - [], - is_const=True) - ## aodv-rqueue.h: uint32_t ns3::aodv::RequestQueue::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - []) - ## aodv-rqueue.h: void ns3::aodv::RequestQueue::SetMaxQueueLen(uint32_t len) [member function] - cls.add_method('SetMaxQueueLen', - 'void', - [param('uint32_t', 'len')]) - ## aodv-rqueue.h: void ns3::aodv::RequestQueue::SetQueueTimeout(ns3::Time t) [member function] - cls.add_method('SetQueueTimeout', - 'void', - [param('ns3::Time', 't')]) - return - -def register_Ns3AodvRerrHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::RerrHeader::RerrHeader(ns3::aodv::RerrHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RerrHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::RerrHeader::RerrHeader() [constructor] - cls.add_constructor([]) - ## aodv-packet.h: bool ns3::aodv::RerrHeader::AddUnDestination(ns3::Ipv4Address dst, uint32_t seqNo) [member function] - cls.add_method('AddUnDestination', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('uint32_t', 'seqNo')]) - ## aodv-packet.h: void ns3::aodv::RerrHeader::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## aodv-packet.h: uint32_t ns3::aodv::RerrHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: uint8_t ns3::aodv::RerrHeader::GetDestCount() const [member function] - cls.add_method('GetDestCount', - 'uint8_t', - [], - is_const=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::RerrHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: bool ns3::aodv::RerrHeader::GetNoDelete() const [member function] - cls.add_method('GetNoDelete', - 'bool', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RerrHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::RerrHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: void ns3::aodv::RerrHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: bool ns3::aodv::RerrHeader::RemoveUnDestination(std::pair & un) [member function] - cls.add_method('RemoveUnDestination', - 'bool', - [param('std::pair< ns3::Ipv4Address, unsigned int > &', 'un')]) - ## aodv-packet.h: void ns3::aodv::RerrHeader::Serialize(ns3::Buffer::Iterator i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RerrHeader::SetNoDelete(bool f) [member function] - cls.add_method('SetNoDelete', - 'void', - [param('bool', 'f')]) - return - -def register_Ns3AodvRoutingProtocol_methods(root_module, cls): - ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::RoutingProtocol(ns3::aodv::RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RoutingProtocol const &', 'arg0')]) - ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::RoutingProtocol() [constructor] - cls.add_constructor([]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetBroadcastEnable() const [member function] - cls.add_method('GetBroadcastEnable', - 'bool', - [], - is_const=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetDesinationOnlyFlag() const [member function] - cls.add_method('GetDesinationOnlyFlag', - 'bool', - [], - is_const=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetGratuitousReplyFlag() const [member function] - cls.add_method('GetGratuitousReplyFlag', - 'bool', - [], - is_const=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetHelloEnable() const [member function] - cls.add_method('GetHelloEnable', - 'bool', - [], - is_const=True) - ## aodv-routing-protocol.h: uint32_t ns3::aodv::RoutingProtocol::GetMaxQueueLen() const [member function] - cls.add_method('GetMaxQueueLen', - 'uint32_t', - [], - is_const=True) - ## aodv-routing-protocol.h: ns3::Time ns3::aodv::RoutingProtocol::GetMaxQueueTime() const [member function] - cls.add_method('GetMaxQueueTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-routing-protocol.h: static ns3::TypeId ns3::aodv::RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## aodv-routing-protocol.h: ns3::Ptr ns3::aodv::RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetBroadcastEnable(bool f) [member function] - cls.add_method('SetBroadcastEnable', - 'void', - [param('bool', 'f')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetDesinationOnlyFlag(bool f) [member function] - cls.add_method('SetDesinationOnlyFlag', - 'void', - [param('bool', 'f')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetGratuitousReplyFlag(bool f) [member function] - cls.add_method('SetGratuitousReplyFlag', - 'void', - [param('bool', 'f')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetHelloEnable(bool f) [member function] - cls.add_method('SetHelloEnable', - 'void', - [param('bool', 'f')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetMaxQueueLen(uint32_t len) [member function] - cls.add_method('SetMaxQueueLen', - 'void', - [param('uint32_t', 'len')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetMaxQueueTime(ns3::Time t) [member function] - cls.add_method('SetMaxQueueTime', - 'void', - [param('ns3::Time', 't')]) - ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::AODV_PORT [variable] - cls.add_static_attribute('AODV_PORT', 'uint32_t const', is_const=True) - return - -def register_Ns3AodvRoutingTable_methods(root_module, cls): - ## aodv-rtable.h: ns3::aodv::RoutingTable::RoutingTable(ns3::aodv::RoutingTable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RoutingTable const &', 'arg0')]) - ## aodv-rtable.h: ns3::aodv::RoutingTable::RoutingTable(ns3::Time t) [constructor] - cls.add_constructor([param('ns3::Time', 't')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::AddRoute(ns3::aodv::RoutingTableEntry & r) [member function] - cls.add_method('AddRoute', - 'bool', - [param('ns3::aodv::RoutingTableEntry &', 'r')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::DeleteAllRoutesFromInterface(ns3::Ipv4InterfaceAddress iface) [member function] - cls.add_method('DeleteAllRoutesFromInterface', - 'void', - [param('ns3::Ipv4InterfaceAddress', 'iface')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::DeleteRoute(ns3::Ipv4Address dst) [member function] - cls.add_method('DeleteRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst')]) - ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTable::GetBadLinkLifetime() const [member function] - cls.add_method('GetBadLinkLifetime', - 'ns3::Time', - [], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::GetListOfDestinationWithNextHop(ns3::Ipv4Address nextHop, std::map, std::allocator > > & unreachable) [member function] - cls.add_method('GetListOfDestinationWithNextHop', - 'void', - [param('ns3::Ipv4Address', 'nextHop'), param('std::map< ns3::Ipv4Address, unsigned int > &', 'unreachable')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::InvalidateRoutesWithDst(std::map, std::allocator > > const & unreachable) [member function] - cls.add_method('InvalidateRoutesWithDst', - 'void', - [param('std::map< ns3::Ipv4Address, unsigned int > const &', 'unreachable')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::LookupRoute(ns3::Ipv4Address dst, ns3::aodv::RoutingTableEntry & rt) [member function] - cls.add_method('LookupRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RoutingTableEntry &', 'rt')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::LookupValidRoute(ns3::Ipv4Address dst, ns3::aodv::RoutingTableEntry & rt) [member function] - cls.add_method('LookupValidRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RoutingTableEntry &', 'rt')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::MarkLinkAsUnidirectional(ns3::Ipv4Address neighbor, ns3::Time blacklistTimeout) [member function] - cls.add_method('MarkLinkAsUnidirectional', - 'bool', - [param('ns3::Ipv4Address', 'neighbor'), param('ns3::Time', 'blacklistTimeout')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::Print(ns3::Ptr stream) const [member function] - cls.add_method('Print', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::Purge() [member function] - cls.add_method('Purge', - 'void', - []) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::SetBadLinkLifetime(ns3::Time t) [member function] - cls.add_method('SetBadLinkLifetime', - 'void', - [param('ns3::Time', 't')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::SetEntryState(ns3::Ipv4Address dst, ns3::aodv::RouteFlags state) [member function] - cls.add_method('SetEntryState', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RouteFlags', 'state')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::Update(ns3::aodv::RoutingTableEntry & rt) [member function] - cls.add_method('Update', - 'bool', - [param('ns3::aodv::RoutingTableEntry &', 'rt')]) - return - -def register_Ns3AodvRoutingTableEntry_methods(root_module, cls): - ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::RoutingTableEntry(ns3::aodv::RoutingTableEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RoutingTableEntry const &', 'arg0')]) - ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::RoutingTableEntry(ns3::Ptr dev=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), bool vSeqNo=false, uint32_t m_seqNo=0, ns3::Ipv4InterfaceAddress iface=ns3::Ipv4InterfaceAddress(), uint16_t hops=0, ns3::Ipv4Address nextHop=ns3::Ipv4Address(), ns3::Time lifetime=ns3::Simulator::Now( )) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('bool', 'vSeqNo', default_value='false'), param('uint32_t', 'm_seqNo', default_value='0'), param('ns3::Ipv4InterfaceAddress', 'iface', default_value='ns3::Ipv4InterfaceAddress()'), param('uint16_t', 'hops', default_value='0'), param('ns3::Ipv4Address', 'nextHop', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::Simulator::Now( )')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::DeleteAllPrecursors() [member function] - cls.add_method('DeleteAllPrecursors', - 'void', - []) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::DeletePrecursor(ns3::Ipv4Address id) [member function] - cls.add_method('DeletePrecursor', - 'bool', - [param('ns3::Ipv4Address', 'id')]) - ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTableEntry::GetBlacklistTimeout() const [member function] - cls.add_method('GetBlacklistTimeout', - 'ns3::Time', - [], - is_const=True) - ## aodv-rtable.h: ns3::Ipv4Address ns3::aodv::RoutingTableEntry::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-rtable.h: ns3::aodv::RouteFlags ns3::aodv::RoutingTableEntry::GetFlag() const [member function] - cls.add_method('GetFlag', - 'ns3::aodv::RouteFlags', - [], - is_const=True) - ## aodv-rtable.h: uint16_t ns3::aodv::RoutingTableEntry::GetHop() const [member function] - cls.add_method('GetHop', - 'uint16_t', - [], - is_const=True) - ## aodv-rtable.h: ns3::Ipv4InterfaceAddress ns3::aodv::RoutingTableEntry::GetInterface() const [member function] - cls.add_method('GetInterface', - 'ns3::Ipv4InterfaceAddress', - [], - is_const=True) - ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTableEntry::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-rtable.h: ns3::Ipv4Address ns3::aodv::RoutingTableEntry::GetNextHop() const [member function] - cls.add_method('GetNextHop', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-rtable.h: ns3::Ptr ns3::aodv::RoutingTableEntry::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::GetPrecursors(std::vector > & prec) const [member function] - cls.add_method('GetPrecursors', - 'void', - [param('std::vector< ns3::Ipv4Address > &', 'prec')], - is_const=True) - ## aodv-rtable.h: ns3::Ptr ns3::aodv::RoutingTableEntry::GetRoute() const [member function] - cls.add_method('GetRoute', - 'ns3::Ptr< ns3::Ipv4Route >', - [], - is_const=True) - ## aodv-rtable.h: uint8_t ns3::aodv::RoutingTableEntry::GetRreqCnt() const [member function] - cls.add_method('GetRreqCnt', - 'uint8_t', - [], - is_const=True) - ## aodv-rtable.h: uint32_t ns3::aodv::RoutingTableEntry::GetSeqNo() const [member function] - cls.add_method('GetSeqNo', - 'uint32_t', - [], - is_const=True) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::GetValidSeqNo() const [member function] - cls.add_method('GetValidSeqNo', - 'bool', - [], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::IncrementRreqCnt() [member function] - cls.add_method('IncrementRreqCnt', - 'void', - []) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::InsertPrecursor(ns3::Ipv4Address id) [member function] - cls.add_method('InsertPrecursor', - 'bool', - [param('ns3::Ipv4Address', 'id')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::Invalidate(ns3::Time badLinkLifetime) [member function] - cls.add_method('Invalidate', - 'void', - [param('ns3::Time', 'badLinkLifetime')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::IsPrecursorListEmpty() const [member function] - cls.add_method('IsPrecursorListEmpty', - 'bool', - [], - is_const=True) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::IsUnidirectional() const [member function] - cls.add_method('IsUnidirectional', - 'bool', - [], - is_const=True) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::LookupPrecursor(ns3::Ipv4Address id) [member function] - cls.add_method('LookupPrecursor', - 'bool', - [param('ns3::Ipv4Address', 'id')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::Print(ns3::Ptr stream) const [member function] - cls.add_method('Print', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetBalcklistTimeout(ns3::Time t) [member function] - cls.add_method('SetBalcklistTimeout', - 'void', - [param('ns3::Time', 't')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetFlag(ns3::aodv::RouteFlags flag) [member function] - cls.add_method('SetFlag', - 'void', - [param('ns3::aodv::RouteFlags', 'flag')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetHop(uint16_t hop) [member function] - cls.add_method('SetHop', - 'void', - [param('uint16_t', 'hop')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetInterface(ns3::Ipv4InterfaceAddress iface) [member function] - cls.add_method('SetInterface', - 'void', - [param('ns3::Ipv4InterfaceAddress', 'iface')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetLifeTime(ns3::Time lt) [member function] - cls.add_method('SetLifeTime', - 'void', - [param('ns3::Time', 'lt')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetNextHop(ns3::Ipv4Address nextHop) [member function] - cls.add_method('SetNextHop', - 'void', - [param('ns3::Ipv4Address', 'nextHop')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetOutputDevice(ns3::Ptr dev) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'dev')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetRoute(ns3::Ptr r) [member function] - cls.add_method('SetRoute', - 'void', - [param('ns3::Ptr< ns3::Ipv4Route >', 'r')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetRreqCnt(uint8_t n) [member function] - cls.add_method('SetRreqCnt', - 'void', - [param('uint8_t', 'n')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetSeqNo(uint32_t sn) [member function] - cls.add_method('SetSeqNo', - 'void', - [param('uint32_t', 'sn')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetUnidirectional(bool u) [member function] - cls.add_method('SetUnidirectional', - 'void', - [param('bool', 'u')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetValidSeqNo(bool s) [member function] - cls.add_method('SetValidSeqNo', - 'void', - [param('bool', 's')]) - ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::m_ackTimer [variable] - cls.add_instance_attribute('m_ackTimer', 'ns3::Timer', is_const=False) - return - -def register_Ns3AodvRrepAckHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::RrepAckHeader::RrepAckHeader(ns3::aodv::RrepAckHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RrepAckHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::RrepAckHeader::RrepAckHeader() [constructor] - cls.add_constructor([]) - ## aodv-packet.h: uint32_t ns3::aodv::RrepAckHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::RrepAckHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: uint32_t ns3::aodv::RrepAckHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::RrepAckHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: void ns3::aodv::RrepAckHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RrepAckHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3AodvRrepHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::RrepHeader::RrepHeader(ns3::aodv::RrepHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RrepHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::RrepHeader::RrepHeader(uint8_t prefixSize=0, uint8_t hopCount=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t dstSeqNo=0, ns3::Ipv4Address origin=ns3::Ipv4Address(), ns3::Time lifetime=ns3::MilliSeconds( )) [constructor] - cls.add_constructor([param('uint8_t', 'prefixSize', default_value='0'), param('uint8_t', 'hopCount', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'dstSeqNo', default_value='0'), param('ns3::Ipv4Address', 'origin', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::MilliSeconds(0)')]) - ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: bool ns3::aodv::RrepHeader::GetAckRequired() const [member function] - cls.add_method('GetAckRequired', - 'bool', - [], - is_const=True) - ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RrepHeader::GetDst() const [member function] - cls.add_method('GetDst', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::GetDstSeqno() const [member function] - cls.add_method('GetDstSeqno', - 'uint32_t', - [], - is_const=True) - ## aodv-packet.h: uint8_t ns3::aodv::RrepHeader::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::RrepHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: ns3::Time ns3::aodv::RrepHeader::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RrepHeader::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-packet.h: uint8_t ns3::aodv::RrepHeader::GetPrefixSize() const [member function] - cls.add_method('GetPrefixSize', - 'uint8_t', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::RrepHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: void ns3::aodv::RrepHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RrepHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetAckRequired(bool f) [member function] - cls.add_method('SetAckRequired', - 'void', - [param('bool', 'f')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetDst(ns3::Ipv4Address a) [member function] - cls.add_method('SetDst', - 'void', - [param('ns3::Ipv4Address', 'a')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetDstSeqno(uint32_t s) [member function] - cls.add_method('SetDstSeqno', - 'void', - [param('uint32_t', 's')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetHello(ns3::Ipv4Address src, uint32_t srcSeqNo, ns3::Time lifetime) [member function] - cls.add_method('SetHello', - 'void', - [param('ns3::Ipv4Address', 'src'), param('uint32_t', 'srcSeqNo'), param('ns3::Time', 'lifetime')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetHopCount(uint8_t count) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'count')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetLifeTime(ns3::Time t) [member function] - cls.add_method('SetLifeTime', - 'void', - [param('ns3::Time', 't')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetOrigin(ns3::Ipv4Address a) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv4Address', 'a')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetPrefixSize(uint8_t sz) [member function] - cls.add_method('SetPrefixSize', - 'void', - [param('uint8_t', 'sz')]) - return - -def register_Ns3AodvRreqHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::RreqHeader::RreqHeader(ns3::aodv::RreqHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RreqHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::RreqHeader::RreqHeader(uint8_t flags=0, uint8_t reserved=0, uint8_t hopCount=0, uint32_t requestID=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t dstSeqNo=0, ns3::Ipv4Address origin=ns3::Ipv4Address(), uint32_t originSeqNo=0) [constructor] - cls.add_constructor([param('uint8_t', 'flags', default_value='0'), param('uint8_t', 'reserved', default_value='0'), param('uint8_t', 'hopCount', default_value='0'), param('uint32_t', 'requestID', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'dstSeqNo', default_value='0'), param('ns3::Ipv4Address', 'origin', default_value='ns3::Ipv4Address()'), param('uint32_t', 'originSeqNo', default_value='0')]) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetDestinationOnly() const [member function] - cls.add_method('GetDestinationOnly', - 'bool', - [], - is_const=True) - ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RreqHeader::GetDst() const [member function] - cls.add_method('GetDst', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetDstSeqno() const [member function] - cls.add_method('GetDstSeqno', - 'uint32_t', - [], - is_const=True) - ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetGratiousRrep() const [member function] - cls.add_method('GetGratiousRrep', - 'bool', - [], - is_const=True) - ## aodv-packet.h: uint8_t ns3::aodv::RreqHeader::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetId() const [member function] - cls.add_method('GetId', - 'uint32_t', - [], - is_const=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::RreqHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RreqHeader::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetOriginSeqno() const [member function] - cls.add_method('GetOriginSeqno', - 'uint32_t', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::RreqHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetUnknownSeqno() const [member function] - cls.add_method('GetUnknownSeqno', - 'bool', - [], - is_const=True) - ## aodv-packet.h: void ns3::aodv::RreqHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RreqHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDestinationOnly(bool f) [member function] - cls.add_method('SetDestinationOnly', - 'void', - [param('bool', 'f')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDst(ns3::Ipv4Address a) [member function] - cls.add_method('SetDst', - 'void', - [param('ns3::Ipv4Address', 'a')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDstSeqno(uint32_t s) [member function] - cls.add_method('SetDstSeqno', - 'void', - [param('uint32_t', 's')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetGratiousRrep(bool f) [member function] - cls.add_method('SetGratiousRrep', - 'void', - [param('bool', 'f')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetHopCount(uint8_t count) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'count')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetId(uint32_t id) [member function] - cls.add_method('SetId', - 'void', - [param('uint32_t', 'id')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetOrigin(ns3::Ipv4Address a) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv4Address', 'a')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetOriginSeqno(uint32_t s) [member function] - cls.add_method('SetOriginSeqno', - 'void', - [param('uint32_t', 's')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetUnknownSeqno(bool f) [member function] - cls.add_method('SetUnknownSeqno', - 'void', - [param('bool', 'f')]) - return - -def register_Ns3AodvTypeHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::TypeHeader::TypeHeader(ns3::aodv::TypeHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::TypeHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::TypeHeader::TypeHeader(ns3::aodv::MessageType t) [constructor] - cls.add_constructor([param('ns3::aodv::MessageType', 't')]) - ## aodv-packet.h: uint32_t ns3::aodv::TypeHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: ns3::aodv::MessageType ns3::aodv::TypeHeader::Get() const [member function] - cls.add_method('Get', - 'ns3::aodv::MessageType', - [], - is_const=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::TypeHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: uint32_t ns3::aodv::TypeHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::TypeHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: bool ns3::aodv::TypeHeader::IsValid() const [member function] - cls.add_method('IsValid', - 'bool', - [], - is_const=True) - ## aodv-packet.h: void ns3::aodv::TypeHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::TypeHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_applications.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_applications.py deleted file mode 100644 index 66b562b46..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_applications.py +++ /dev/null @@ -1,1230 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## bulk-send-helper.h: ns3::BulkSendHelper [class] - module.add_class('BulkSendHelper') - ## on-off-helper.h: ns3::OnOffHelper [class] - module.add_class('OnOffHelper') - ## packet-loss-counter.h: ns3::PacketLossCounter [class] - module.add_class('PacketLossCounter') - ## packet-sink-helper.h: ns3::PacketSinkHelper [class] - module.add_class('PacketSinkHelper') - ## ping6-helper.h: ns3::Ping6Helper [class] - module.add_class('Ping6Helper') - ## udp-client-server-helper.h: ns3::UdpClientHelper [class] - module.add_class('UdpClientHelper') - ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class] - module.add_class('UdpEchoClientHelper') - ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class] - module.add_class('UdpEchoServerHelper') - ## udp-client-server-helper.h: ns3::UdpServerHelper [class] - module.add_class('UdpServerHelper') - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper [class] - module.add_class('UdpTraceClientHelper') - ## v4ping-helper.h: ns3::V4PingHelper [class] - module.add_class('V4PingHelper') - ## seq-ts-header.h: ns3::SeqTsHeader [class] - module.add_class('SeqTsHeader', parent=root_module['ns3::Header']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdInterface', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdPrefix', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## bulk-send-application.h: ns3::BulkSendApplication [class] - module.add_class('BulkSendApplication', parent=root_module['ns3::Application']) - ## onoff-application.h: ns3::OnOffApplication [class] - module.add_class('OnOffApplication', parent=root_module['ns3::Application']) - ## packet-sink.h: ns3::PacketSink [class] - module.add_class('PacketSink', parent=root_module['ns3::Application']) - ## ping6.h: ns3::Ping6 [class] - module.add_class('Ping6', parent=root_module['ns3::Application']) - ## radvd.h: ns3::Radvd [class] - module.add_class('Radvd', parent=root_module['ns3::Application']) - ## radvd-interface.h: ns3::RadvdInterface [class] - module.add_class('RadvdInterface', parent=root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) - ## radvd-prefix.h: ns3::RadvdPrefix [class] - module.add_class('RadvdPrefix', parent=root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter >']) - ## udp-client.h: ns3::UdpClient [class] - module.add_class('UdpClient', parent=root_module['ns3::Application']) - ## udp-echo-client.h: ns3::UdpEchoClient [class] - module.add_class('UdpEchoClient', parent=root_module['ns3::Application']) - ## udp-echo-server.h: ns3::UdpEchoServer [class] - module.add_class('UdpEchoServer', parent=root_module['ns3::Application']) - ## udp-server.h: ns3::UdpServer [class] - module.add_class('UdpServer', parent=root_module['ns3::Application']) - ## udp-trace-client.h: ns3::UdpTraceClient [class] - module.add_class('UdpTraceClient', parent=root_module['ns3::Application']) - ## v4ping.h: ns3::V4Ping [class] - module.add_class('V4Ping', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3BulkSendHelper_methods(root_module, root_module['ns3::BulkSendHelper']) - register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper']) - register_Ns3PacketLossCounter_methods(root_module, root_module['ns3::PacketLossCounter']) - register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper']) - register_Ns3Ping6Helper_methods(root_module, root_module['ns3::Ping6Helper']) - register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) - register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) - register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) - register_Ns3UdpServerHelper_methods(root_module, root_module['ns3::UdpServerHelper']) - register_Ns3UdpTraceClientHelper_methods(root_module, root_module['ns3::UdpTraceClientHelper']) - register_Ns3V4PingHelper_methods(root_module, root_module['ns3::V4PingHelper']) - register_Ns3SeqTsHeader_methods(root_module, root_module['ns3::SeqTsHeader']) - register_Ns3BulkSendApplication_methods(root_module, root_module['ns3::BulkSendApplication']) - register_Ns3OnOffApplication_methods(root_module, root_module['ns3::OnOffApplication']) - register_Ns3PacketSink_methods(root_module, root_module['ns3::PacketSink']) - register_Ns3Ping6_methods(root_module, root_module['ns3::Ping6']) - register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd']) - register_Ns3RadvdInterface_methods(root_module, root_module['ns3::RadvdInterface']) - register_Ns3RadvdPrefix_methods(root_module, root_module['ns3::RadvdPrefix']) - register_Ns3UdpClient_methods(root_module, root_module['ns3::UdpClient']) - register_Ns3UdpEchoClient_methods(root_module, root_module['ns3::UdpEchoClient']) - register_Ns3UdpEchoServer_methods(root_module, root_module['ns3::UdpEchoServer']) - register_Ns3UdpServer_methods(root_module, root_module['ns3::UdpServer']) - register_Ns3UdpTraceClient_methods(root_module, root_module['ns3::UdpTraceClient']) - register_Ns3V4Ping_methods(root_module, root_module['ns3::V4Ping']) - return - -def register_Ns3BulkSendHelper_methods(root_module, cls): - ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(ns3::BulkSendHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BulkSendHelper const &', 'arg0')]) - ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## bulk-send-helper.h: void ns3::BulkSendHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3OnOffHelper_methods(root_module, cls): - ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(ns3::OnOffHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnOffHelper const &', 'arg0')]) - ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3PacketLossCounter_methods(root_module, cls): - ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(ns3::PacketLossCounter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketLossCounter const &', 'arg0')]) - ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(uint8_t bitmapSize) [constructor] - cls.add_constructor([param('uint8_t', 'bitmapSize')]) - ## packet-loss-counter.h: uint16_t ns3::PacketLossCounter::GetBitMapSize() const [member function] - cls.add_method('GetBitMapSize', - 'uint16_t', - [], - is_const=True) - ## packet-loss-counter.h: uint32_t ns3::PacketLossCounter::GetLost() const [member function] - cls.add_method('GetLost', - 'uint32_t', - [], - is_const=True) - ## packet-loss-counter.h: void ns3::PacketLossCounter::NotifyReceived(uint32_t seq) [member function] - cls.add_method('NotifyReceived', - 'void', - [param('uint32_t', 'seq')]) - ## packet-loss-counter.h: void ns3::PacketLossCounter::SetBitMapSize(uint16_t size) [member function] - cls.add_method('SetBitMapSize', - 'void', - [param('uint16_t', 'size')]) - return - -def register_Ns3PacketSinkHelper_methods(root_module, cls): - ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(ns3::PacketSinkHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSinkHelper const &', 'arg0')]) - ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3Ping6Helper_methods(root_module, cls): - ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper(ns3::Ping6Helper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ping6Helper const &', 'arg0')]) - ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper() [constructor] - cls.add_constructor([]) - ## ping6-helper.h: ns3::ApplicationContainer ns3::Ping6Helper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetIfIndex(uint32_t ifIndex) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t', 'ifIndex')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetLocal(ns3::Ipv6Address ip) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv6Address', 'ip')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetRemote(ns3::Ipv6Address ip) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv6Address', 'ip')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetRoutersAddress(std::vector > routers) [member function] - cls.add_method('SetRoutersAddress', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routers')]) - return - -def register_Ns3UdpClientHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::UdpClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpClientHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpClientHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpEchoClientHelper_methods(root_module, cls): - ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::UdpEchoClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoClientHelper const &', 'arg0')]) - ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, std::string fill) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('std::string', 'fill')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t fill, uint32_t dataLength) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t', 'fill'), param('uint32_t', 'dataLength')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t * fill, uint32_t fillLength, uint32_t dataLength) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t *', 'fill'), param('uint32_t', 'fillLength'), param('uint32_t', 'dataLength')]) - return - -def register_Ns3UdpEchoServerHelper_methods(root_module, cls): - ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(ns3::UdpEchoServerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoServerHelper const &', 'arg0')]) - ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpServerHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(ns3::UdpServerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpServerHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## udp-client-server-helper.h: ns3::Ptr ns3::UdpServerHelper::GetServer() [member function] - cls.add_method('GetServer', - 'ns3::Ptr< ns3::UdpServer >', - []) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpServerHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpTraceClientHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::UdpTraceClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpTraceClientHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::Ipv4Address ip, uint16_t port, std::string filename) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('std::string', 'filename')]) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpTraceClientHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpTraceClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3V4PingHelper_methods(root_module, cls): - ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::V4PingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::V4PingHelper const &', 'arg0')]) - ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::Ipv4Address remote) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'remote')]) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::NodeContainer nodes) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'nodes')], - is_const=True) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## v4ping-helper.h: void ns3::V4PingHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3SeqTsHeader_methods(root_module, cls): - ## seq-ts-header.h: ns3::SeqTsHeader::SeqTsHeader(ns3::SeqTsHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SeqTsHeader const &', 'arg0')]) - ## seq-ts-header.h: ns3::SeqTsHeader::SeqTsHeader() [constructor] - cls.add_constructor([]) - ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::GetSeq() const [member function] - cls.add_method('GetSeq', - 'uint32_t', - [], - is_const=True) - ## seq-ts-header.h: ns3::Time ns3::SeqTsHeader::GetTs() const [member function] - cls.add_method('GetTs', - 'ns3::Time', - [], - is_const=True) - ## seq-ts-header.h: static ns3::TypeId ns3::SeqTsHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## seq-ts-header.h: void ns3::SeqTsHeader::SetSeq(uint32_t seq) [member function] - cls.add_method('SetSeq', - 'void', - [param('uint32_t', 'seq')]) - ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - visibility='private', is_virtual=True) - ## seq-ts-header.h: ns3::TypeId ns3::SeqTsHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, visibility='private', is_virtual=True) - ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## seq-ts-header.h: void ns3::SeqTsHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='private', is_virtual=True) - ## seq-ts-header.h: void ns3::SeqTsHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3BulkSendApplication_methods(root_module, cls): - ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication(ns3::BulkSendApplication const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BulkSendApplication const &', 'arg0')]) - ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication() [constructor] - cls.add_constructor([]) - ## bulk-send-application.h: ns3::Ptr ns3::BulkSendApplication::GetSocket() const [member function] - cls.add_method('GetSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## bulk-send-application.h: static ns3::TypeId ns3::BulkSendApplication::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## bulk-send-application.h: void ns3::BulkSendApplication::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3OnOffApplication_methods(root_module, cls): - ## onoff-application.h: ns3::OnOffApplication::OnOffApplication(ns3::OnOffApplication const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnOffApplication const &', 'arg0')]) - ## onoff-application.h: ns3::OnOffApplication::OnOffApplication() [constructor] - cls.add_constructor([]) - ## onoff-application.h: ns3::Ptr ns3::OnOffApplication::GetSocket() const [member function] - cls.add_method('GetSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## onoff-application.h: static ns3::TypeId ns3::OnOffApplication::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## onoff-application.h: void ns3::OnOffApplication::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## onoff-application.h: void ns3::OnOffApplication::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## onoff-application.h: void ns3::OnOffApplication::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## onoff-application.h: void ns3::OnOffApplication::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3PacketSink_methods(root_module, cls): - ## packet-sink.h: ns3::PacketSink::PacketSink(ns3::PacketSink const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSink const &', 'arg0')]) - ## packet-sink.h: ns3::PacketSink::PacketSink() [constructor] - cls.add_constructor([]) - ## packet-sink.h: std::list, std::allocator > > ns3::PacketSink::GetAcceptedSockets() const [member function] - cls.add_method('GetAcceptedSockets', - 'std::list< ns3::Ptr< ns3::Socket > >', - [], - is_const=True) - ## packet-sink.h: ns3::Ptr ns3::PacketSink::GetListeningSocket() const [member function] - cls.add_method('GetListeningSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## packet-sink.h: uint32_t ns3::PacketSink::GetTotalRx() const [member function] - cls.add_method('GetTotalRx', - 'uint32_t', - [], - is_const=True) - ## packet-sink.h: static ns3::TypeId ns3::PacketSink::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-sink.h: void ns3::PacketSink::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## packet-sink.h: void ns3::PacketSink::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## packet-sink.h: void ns3::PacketSink::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Ping6_methods(root_module, cls): - ## ping6.h: ns3::Ping6::Ping6(ns3::Ping6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ping6 const &', 'arg0')]) - ## ping6.h: ns3::Ping6::Ping6() [constructor] - cls.add_constructor([]) - ## ping6.h: static ns3::TypeId ns3::Ping6::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ping6.h: void ns3::Ping6::SetIfIndex(uint32_t ifIndex) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t', 'ifIndex')]) - ## ping6.h: void ns3::Ping6::SetLocal(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## ping6.h: void ns3::Ping6::SetRemote(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## ping6.h: void ns3::Ping6::SetRouters(std::vector > routers) [member function] - cls.add_method('SetRouters', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routers')]) - ## ping6.h: void ns3::Ping6::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ping6.h: void ns3::Ping6::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## ping6.h: void ns3::Ping6::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Radvd_methods(root_module, cls): - ## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Radvd const &', 'arg0')]) - ## radvd.h: ns3::Radvd::Radvd() [constructor] - cls.add_constructor([]) - ## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr routerInterface) [member function] - cls.add_method('AddConfiguration', - 'void', - [param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')]) - ## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable] - cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True) - ## radvd.h: void ns3::Radvd::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## radvd.h: void ns3::Radvd::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## radvd.h: void ns3::Radvd::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RadvdInterface_methods(root_module, cls): - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(ns3::RadvdInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadvdInterface const &', 'arg0')]) - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface) [constructor] - cls.add_constructor([param('uint32_t', 'interface')]) - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface, uint32_t maxRtrAdvInterval, uint32_t minRtrAdvInterval) [constructor] - cls.add_constructor([param('uint32_t', 'interface'), param('uint32_t', 'maxRtrAdvInterval'), param('uint32_t', 'minRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::AddPrefix(ns3::Ptr routerPrefix) [member function] - cls.add_method('AddPrefix', - 'void', - [param('ns3::Ptr< ns3::RadvdPrefix >', 'routerPrefix')]) - ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetCurHopLimit() const [member function] - cls.add_method('GetCurHopLimit', - 'uint8_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetDefaultLifeTime() const [member function] - cls.add_method('GetDefaultLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetDefaultPreference() const [member function] - cls.add_method('GetDefaultPreference', - 'uint8_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentLifeTime() const [member function] - cls.add_method('GetHomeAgentLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentPreference() const [member function] - cls.add_method('GetHomeAgentPreference', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetInterface() const [member function] - cls.add_method('GetInterface', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetLinkMtu() const [member function] - cls.add_method('GetLinkMtu', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMaxRtrAdvInterval() const [member function] - cls.add_method('GetMaxRtrAdvInterval', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinDelayBetweenRAs() const [member function] - cls.add_method('GetMinDelayBetweenRAs', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinRtrAdvInterval() const [member function] - cls.add_method('GetMinRtrAdvInterval', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: std::list, std::allocator > > ns3::RadvdInterface::GetPrefixes() const [member function] - cls.add_method('GetPrefixes', - 'std::list< ns3::Ptr< ns3::RadvdPrefix > >', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetReachableTime() const [member function] - cls.add_method('GetReachableTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetRetransTimer() const [member function] - cls.add_method('GetRetransTimer', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentFlag() const [member function] - cls.add_method('IsHomeAgentFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentInfo() const [member function] - cls.add_method('IsHomeAgentInfo', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsIntervalOpt() const [member function] - cls.add_method('IsIntervalOpt', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsManagedFlag() const [member function] - cls.add_method('IsManagedFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsMobRtrSupportFlag() const [member function] - cls.add_method('IsMobRtrSupportFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsOtherConfigFlag() const [member function] - cls.add_method('IsOtherConfigFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsSendAdvert() const [member function] - cls.add_method('IsSendAdvert', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsSourceLLAddress() const [member function] - cls.add_method('IsSourceLLAddress', - 'bool', - [], - is_const=True) - ## radvd-interface.h: void ns3::RadvdInterface::SetCurHopLimit(uint8_t curHopLimit) [member function] - cls.add_method('SetCurHopLimit', - 'void', - [param('uint8_t', 'curHopLimit')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultLifeTime(uint32_t defaultLifeTime) [member function] - cls.add_method('SetDefaultLifeTime', - 'void', - [param('uint32_t', 'defaultLifeTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultPreference(uint8_t defaultPreference) [member function] - cls.add_method('SetDefaultPreference', - 'void', - [param('uint8_t', 'defaultPreference')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentFlag(bool homeAgentFlag) [member function] - cls.add_method('SetHomeAgentFlag', - 'void', - [param('bool', 'homeAgentFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentInfo(bool homeAgentFlag) [member function] - cls.add_method('SetHomeAgentInfo', - 'void', - [param('bool', 'homeAgentFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentLifeTime(uint32_t homeAgentLifeTime) [member function] - cls.add_method('SetHomeAgentLifeTime', - 'void', - [param('uint32_t', 'homeAgentLifeTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentPreference(uint32_t homeAgentPreference) [member function] - cls.add_method('SetHomeAgentPreference', - 'void', - [param('uint32_t', 'homeAgentPreference')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetIntervalOpt(bool intervalOpt) [member function] - cls.add_method('SetIntervalOpt', - 'void', - [param('bool', 'intervalOpt')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetLinkMtu(uint32_t linkMtu) [member function] - cls.add_method('SetLinkMtu', - 'void', - [param('uint32_t', 'linkMtu')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetManagedFlag(bool managedFlag) [member function] - cls.add_method('SetManagedFlag', - 'void', - [param('bool', 'managedFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMaxRtrAdvInterval(uint32_t maxRtrAdvInterval) [member function] - cls.add_method('SetMaxRtrAdvInterval', - 'void', - [param('uint32_t', 'maxRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMinDelayBetweenRAs(uint32_t minDelayBetweenRAs) [member function] - cls.add_method('SetMinDelayBetweenRAs', - 'void', - [param('uint32_t', 'minDelayBetweenRAs')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMinRtrAdvInterval(uint32_t minRtrAdvInterval) [member function] - cls.add_method('SetMinRtrAdvInterval', - 'void', - [param('uint32_t', 'minRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMobRtrSupportFlag(bool mobRtrSupportFlag) [member function] - cls.add_method('SetMobRtrSupportFlag', - 'void', - [param('bool', 'mobRtrSupportFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetOtherConfigFlag(bool otherConfigFlag) [member function] - cls.add_method('SetOtherConfigFlag', - 'void', - [param('bool', 'otherConfigFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetReachableTime(uint32_t reachableTime) [member function] - cls.add_method('SetReachableTime', - 'void', - [param('uint32_t', 'reachableTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetRetransTimer(uint32_t retransTimer) [member function] - cls.add_method('SetRetransTimer', - 'void', - [param('uint32_t', 'retransTimer')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetSendAdvert(bool sendAdvert) [member function] - cls.add_method('SetSendAdvert', - 'void', - [param('bool', 'sendAdvert')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetSourceLLAddress(bool sourceLLAddress) [member function] - cls.add_method('SetSourceLLAddress', - 'void', - [param('bool', 'sourceLLAddress')]) - return - -def register_Ns3RadvdPrefix_methods(root_module, cls): - ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::RadvdPrefix const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadvdPrefix const &', 'arg0')]) - ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::Ipv6Address network, uint8_t prefixLength, uint32_t preferredLifeTime=604800, uint32_t validLifeTime=2592000, bool onLinkFlag=true, bool autonomousFlag=true, bool routerAddrFlag=false) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('uint8_t', 'prefixLength'), param('uint32_t', 'preferredLifeTime', default_value='604800'), param('uint32_t', 'validLifeTime', default_value='2592000'), param('bool', 'onLinkFlag', default_value='true'), param('bool', 'autonomousFlag', default_value='true'), param('bool', 'routerAddrFlag', default_value='false')]) - ## radvd-prefix.h: ns3::Ipv6Address ns3::RadvdPrefix::GetNetwork() const [member function] - cls.add_method('GetNetwork', - 'ns3::Ipv6Address', - [], - is_const=True) - ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetPreferredLifeTime() const [member function] - cls.add_method('GetPreferredLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-prefix.h: uint8_t ns3::RadvdPrefix::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint8_t', - [], - is_const=True) - ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetValidLifeTime() const [member function] - cls.add_method('GetValidLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsAutonomousFlag() const [member function] - cls.add_method('IsAutonomousFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsOnLinkFlag() const [member function] - cls.add_method('IsOnLinkFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsRouterAddrFlag() const [member function] - cls.add_method('IsRouterAddrFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetAutonomousFlag(bool autonomousFlag) [member function] - cls.add_method('SetAutonomousFlag', - 'void', - [param('bool', 'autonomousFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetNetwork(ns3::Ipv6Address network) [member function] - cls.add_method('SetNetwork', - 'void', - [param('ns3::Ipv6Address', 'network')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetOnLinkFlag(bool onLinkFlag) [member function] - cls.add_method('SetOnLinkFlag', - 'void', - [param('bool', 'onLinkFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetPreferredLifeTime(uint32_t preferredLifeTime) [member function] - cls.add_method('SetPreferredLifeTime', - 'void', - [param('uint32_t', 'preferredLifeTime')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetPrefixLength(uint8_t prefixLength) [member function] - cls.add_method('SetPrefixLength', - 'void', - [param('uint8_t', 'prefixLength')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetRouterAddrFlag(bool routerAddrFlag) [member function] - cls.add_method('SetRouterAddrFlag', - 'void', - [param('bool', 'routerAddrFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetValidLifeTime(uint32_t validLifeTime) [member function] - cls.add_method('SetValidLifeTime', - 'void', - [param('uint32_t', 'validLifeTime')]) - return - -def register_Ns3UdpClient_methods(root_module, cls): - ## udp-client.h: ns3::UdpClient::UdpClient(ns3::UdpClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpClient const &', 'arg0')]) - ## udp-client.h: ns3::UdpClient::UdpClient() [constructor] - cls.add_constructor([]) - ## udp-client.h: static ns3::TypeId ns3::UdpClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-client.h: void ns3::UdpClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-client.h: void ns3::UdpClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-client.h: void ns3::UdpClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-client.h: void ns3::UdpClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpEchoClient_methods(root_module, cls): - ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient(ns3::UdpEchoClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoClient const &', 'arg0')]) - ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient() [constructor] - cls.add_constructor([]) - ## udp-echo-client.h: uint32_t ns3::UdpEchoClient::GetDataSize() const [member function] - cls.add_method('GetDataSize', - 'uint32_t', - [], - is_const=True) - ## udp-echo-client.h: static ns3::TypeId ns3::UdpEchoClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetDataSize(uint32_t dataSize) [member function] - cls.add_method('SetDataSize', - 'void', - [param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(std::string fill) [member function] - cls.add_method('SetFill', - 'void', - [param('std::string', 'fill')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t fill, uint32_t dataSize) [member function] - cls.add_method('SetFill', - 'void', - [param('uint8_t', 'fill'), param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t * fill, uint32_t fillSize, uint32_t dataSize) [member function] - cls.add_method('SetFill', - 'void', - [param('uint8_t *', 'fill'), param('uint32_t', 'fillSize'), param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpEchoServer_methods(root_module, cls): - ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer(ns3::UdpEchoServer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoServer const &', 'arg0')]) - ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer() [constructor] - cls.add_constructor([]) - ## udp-echo-server.h: static ns3::TypeId ns3::UdpEchoServer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpServer_methods(root_module, cls): - ## udp-server.h: ns3::UdpServer::UdpServer(ns3::UdpServer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpServer const &', 'arg0')]) - ## udp-server.h: ns3::UdpServer::UdpServer() [constructor] - cls.add_constructor([]) - ## udp-server.h: uint32_t ns3::UdpServer::GetLost() const [member function] - cls.add_method('GetLost', - 'uint32_t', - [], - is_const=True) - ## udp-server.h: uint16_t ns3::UdpServer::GetPacketWindowSize() const [member function] - cls.add_method('GetPacketWindowSize', - 'uint16_t', - [], - is_const=True) - ## udp-server.h: uint32_t ns3::UdpServer::GetReceived() const [member function] - cls.add_method('GetReceived', - 'uint32_t', - [], - is_const=True) - ## udp-server.h: static ns3::TypeId ns3::UdpServer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-server.h: void ns3::UdpServer::SetPacketWindowSize(uint16_t size) [member function] - cls.add_method('SetPacketWindowSize', - 'void', - [param('uint16_t', 'size')]) - ## udp-server.h: void ns3::UdpServer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-server.h: void ns3::UdpServer::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-server.h: void ns3::UdpServer::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpTraceClient_methods(root_module, cls): - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::UdpTraceClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpTraceClient const &', 'arg0')]) - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient() [constructor] - cls.add_constructor([]) - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::Ipv4Address ip, uint16_t port, char * traceFile) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('char *', 'traceFile')]) - ## udp-trace-client.h: uint16_t ns3::UdpTraceClient::GetMaxPacketSize() [member function] - cls.add_method('GetMaxPacketSize', - 'uint16_t', - []) - ## udp-trace-client.h: static ns3::TypeId ns3::UdpTraceClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetMaxPacketSize(uint16_t maxPacketSize) [member function] - cls.add_method('SetMaxPacketSize', - 'void', - [param('uint16_t', 'maxPacketSize')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetTraceFile(std::string filename) [member function] - cls.add_method('SetTraceFile', - 'void', - [param('std::string', 'filename')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3V4Ping_methods(root_module, cls): - ## v4ping.h: ns3::V4Ping::V4Ping(ns3::V4Ping const & arg0) [copy constructor] - cls.add_constructor([param('ns3::V4Ping const &', 'arg0')]) - ## v4ping.h: ns3::V4Ping::V4Ping() [constructor] - cls.add_constructor([]) - ## v4ping.h: static ns3::TypeId ns3::V4Ping::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## v4ping.h: void ns3::V4Ping::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## v4ping.h: void ns3::V4Ping::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## v4ping.h: void ns3::V4Ping::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py deleted file mode 100644 index 35dab5c81..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_bridge.py +++ /dev/null @@ -1,365 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## bridge-helper.h: ns3::BridgeHelper [class] - module.add_class('BridgeHelper') - ## bridge-channel.h: ns3::BridgeChannel [class] - module.add_class('BridgeChannel', parent=root_module['ns3::Channel']) - ## bridge-net-device.h: ns3::BridgeNetDevice [class] - module.add_class('BridgeNetDevice', parent=root_module['ns3::NetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper']) - register_Ns3BridgeChannel_methods(root_module, root_module['ns3::BridgeChannel']) - register_Ns3BridgeNetDevice_methods(root_module, root_module['ns3::BridgeNetDevice']) - return - -def register_Ns3BridgeHelper_methods(root_module, cls): - ## bridge-helper.h: ns3::BridgeHelper::BridgeHelper(ns3::BridgeHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BridgeHelper const &', 'arg0')]) - ## bridge-helper.h: ns3::BridgeHelper::BridgeHelper() [constructor] - cls.add_constructor([]) - ## bridge-helper.h: ns3::NetDeviceContainer ns3::BridgeHelper::Install(ns3::Ptr node, ns3::NetDeviceContainer c) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::NetDeviceContainer', 'c')]) - ## bridge-helper.h: ns3::NetDeviceContainer ns3::BridgeHelper::Install(std::string nodeName, ns3::NetDeviceContainer c) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName'), param('ns3::NetDeviceContainer', 'c')]) - ## bridge-helper.h: void ns3::BridgeHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - return - -def register_Ns3BridgeChannel_methods(root_module, cls): - ## bridge-channel.h: static ns3::TypeId ns3::BridgeChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bridge-channel.h: ns3::BridgeChannel::BridgeChannel() [constructor] - cls.add_constructor([]) - ## bridge-channel.h: void ns3::BridgeChannel::AddChannel(ns3::Ptr bridgedChannel) [member function] - cls.add_method('AddChannel', - 'void', - [param('ns3::Ptr< ns3::Channel >', 'bridgedChannel')]) - ## bridge-channel.h: uint32_t ns3::BridgeChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## bridge-channel.h: ns3::Ptr ns3::BridgeChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3BridgeNetDevice_methods(root_module, cls): - ## bridge-net-device.h: ns3::BridgeNetDevice::BridgeNetDevice() [constructor] - cls.add_constructor([]) - ## bridge-net-device.h: void ns3::BridgeNetDevice::AddBridgePort(ns3::Ptr bridgePort) [member function] - cls.add_method('AddBridgePort', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'bridgePort')]) - ## bridge-net-device.h: void ns3::BridgeNetDevice::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')], - is_virtual=True) - ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetBridgePort(uint32_t n) const [member function] - cls.add_method('GetBridgePort', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'n')], - is_const=True) - ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: uint32_t ns3::BridgeNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: uint16_t ns3::BridgeNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## bridge-net-device.h: uint32_t ns3::BridgeNetDevice::GetNBridgePorts() const [member function] - cls.add_method('GetNBridgePorts', - 'uint32_t', - [], - is_const=True) - ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: static ns3::TypeId ns3::BridgeNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::ForwardBroadcast(ns3::Ptr incomingPort, ns3::Ptr packet, uint16_t protocol, ns3::Mac48Address src, ns3::Mac48Address dst) [member function] - cls.add_method('ForwardBroadcast', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'incomingPort'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')], - visibility='protected') - ## bridge-net-device.h: void ns3::BridgeNetDevice::ForwardUnicast(ns3::Ptr incomingPort, ns3::Ptr packet, uint16_t protocol, ns3::Mac48Address src, ns3::Mac48Address dst) [member function] - cls.add_method('ForwardUnicast', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'incomingPort'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')], - visibility='protected') - ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetLearnedState(ns3::Mac48Address source) [member function] - cls.add_method('GetLearnedState', - 'ns3::Ptr< ns3::NetDevice >', - [param('ns3::Mac48Address', 'source')], - visibility='protected') - ## bridge-net-device.h: void ns3::BridgeNetDevice::Learn(ns3::Mac48Address source, ns3::Ptr port) [member function] - cls.add_method('Learn', - 'void', - [param('ns3::Mac48Address', 'source'), param('ns3::Ptr< ns3::NetDevice >', 'port')], - visibility='protected') - ## bridge-net-device.h: void ns3::BridgeNetDevice::ReceiveFromDevice(ns3::Ptr device, ns3::Ptr packet, uint16_t protocol, ns3::Address const & source, ns3::Address const & destination, ns3::NetDevice::PacketType packetType) [member function] - cls.add_method('ReceiveFromDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'destination'), param('ns3::NetDevice::PacketType', 'packetType')], - visibility='protected') - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_click.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_click.py deleted file mode 100644 index 1ec689daf..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_click.py +++ /dev/null @@ -1,159 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## ipv4-l3-click-protocol.h: ns3::Ipv4L3ClickProtocol [class] - module.add_class('Ipv4L3ClickProtocol', parent=root_module['ns3::Ipv4']) - ## ipv4-click-routing.h: ns3::Ipv4ClickRouting [class] - module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Ipv4L3ClickProtocol_methods(root_module, root_module['ns3::Ipv4L3ClickProtocol']) - register_Ns3Ipv4ClickRouting_methods(root_module, root_module['ns3::Ipv4ClickRouting']) - return - -def register_Ns3Ipv4L3ClickProtocol_methods(root_module, cls): - ## ipv4-l3-click-protocol.h: ns3::Ipv4L3ClickProtocol::Ipv4L3ClickProtocol() [constructor] - cls.add_constructor([]) - ## ipv4-l3-click-protocol.h: ns3::Ipv4L3ClickProtocol::Ipv4L3ClickProtocol(ns3::Ipv4L3ClickProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4L3ClickProtocol const &', 'arg0')]) - return - -def register_Ns3Ipv4ClickRouting_methods(root_module, cls): - ## ipv4-click-routing.h: ns3::Ipv4ClickRouting::Ipv4ClickRouting() [constructor] - cls.add_constructor([]) - ## ipv4-click-routing.h: ns3::Ipv4ClickRouting::Ipv4ClickRouting(ns3::Ipv4ClickRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4ClickRouting const &', 'arg0')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_config_store.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_config_store.py deleted file mode 100644 index 662be9021..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_config_store.py +++ /dev/null @@ -1,261 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## file-config.h: ns3::FileConfig [class] - module.add_class('FileConfig', allow_subclassing=True) - ## gtk-config-store.h: ns3::GtkConfigStore [class] - module.add_class('GtkConfigStore') - ## file-config.h: ns3::NoneFileConfig [class] - module.add_class('NoneFileConfig', parent=root_module['ns3::FileConfig']) - ## config-store.h: ns3::ConfigStore [class] - module.add_class('ConfigStore', parent=root_module['ns3::ObjectBase']) - ## config-store.h: ns3::ConfigStore::Mode [enumeration] - module.add_enum('Mode', ['LOAD', 'SAVE', 'NONE'], outer_class=root_module['ns3::ConfigStore']) - ## config-store.h: ns3::ConfigStore::FileFormat [enumeration] - module.add_enum('FileFormat', ['XML', 'RAW_TEXT'], outer_class=root_module['ns3::ConfigStore']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig']) - register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore']) - register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig']) - register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore']) - return - -def register_Ns3FileConfig_methods(root_module, cls): - ## file-config.h: ns3::FileConfig::FileConfig() [constructor] - cls.add_constructor([]) - ## file-config.h: ns3::FileConfig::FileConfig(ns3::FileConfig const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FileConfig const &', 'arg0')]) - ## file-config.h: void ns3::FileConfig::Attributes() [member function] - cls.add_method('Attributes', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## file-config.h: void ns3::FileConfig::Default() [member function] - cls.add_method('Default', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## file-config.h: void ns3::FileConfig::Global() [member function] - cls.add_method('Global', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## file-config.h: void ns3::FileConfig::SetFilename(std::string filename) [member function] - cls.add_method('SetFilename', - 'void', - [param('std::string', 'filename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3GtkConfigStore_methods(root_module, cls): - ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore(ns3::GtkConfigStore const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GtkConfigStore const &', 'arg0')]) - ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore() [constructor] - cls.add_constructor([]) - ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureAttributes() [member function] - cls.add_method('ConfigureAttributes', - 'void', - []) - ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureDefaults() [member function] - cls.add_method('ConfigureDefaults', - 'void', - []) - return - -def register_Ns3NoneFileConfig_methods(root_module, cls): - ## file-config.h: ns3::NoneFileConfig::NoneFileConfig(ns3::NoneFileConfig const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NoneFileConfig const &', 'arg0')]) - ## file-config.h: ns3::NoneFileConfig::NoneFileConfig() [constructor] - cls.add_constructor([]) - ## file-config.h: void ns3::NoneFileConfig::Attributes() [member function] - cls.add_method('Attributes', - 'void', - [], - is_virtual=True) - ## file-config.h: void ns3::NoneFileConfig::Default() [member function] - cls.add_method('Default', - 'void', - [], - is_virtual=True) - ## file-config.h: void ns3::NoneFileConfig::Global() [member function] - cls.add_method('Global', - 'void', - [], - is_virtual=True) - ## file-config.h: void ns3::NoneFileConfig::SetFilename(std::string filename) [member function] - cls.add_method('SetFilename', - 'void', - [param('std::string', 'filename')], - is_virtual=True) - return - -def register_Ns3ConfigStore_methods(root_module, cls): - ## config-store.h: ns3::ConfigStore::ConfigStore(ns3::ConfigStore const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConfigStore const &', 'arg0')]) - ## config-store.h: ns3::ConfigStore::ConfigStore() [constructor] - cls.add_constructor([]) - ## config-store.h: void ns3::ConfigStore::ConfigureAttributes() [member function] - cls.add_method('ConfigureAttributes', - 'void', - []) - ## config-store.h: void ns3::ConfigStore::ConfigureDefaults() [member function] - cls.add_method('ConfigureDefaults', - 'void', - []) - ## config-store.h: ns3::TypeId ns3::ConfigStore::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## config-store.h: static ns3::TypeId ns3::ConfigStore::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## config-store.h: void ns3::ConfigStore::SetFileFormat(ns3::ConfigStore::FileFormat format) [member function] - cls.add_method('SetFileFormat', - 'void', - [param('ns3::ConfigStore::FileFormat', 'format')]) - ## config-store.h: void ns3::ConfigStore::SetFilename(std::string filename) [member function] - cls.add_method('SetFilename', - 'void', - [param('std::string', 'filename')]) - ## config-store.h: void ns3::ConfigStore::SetMode(ns3::ConfigStore::Mode mode) [member function] - cls.add_method('SetMode', - 'void', - [param('ns3::ConfigStore::Mode', 'mode')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py deleted file mode 100644 index 856b36b42..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_core.py +++ /dev/null @@ -1,4774 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## log.h: ns3::LogLevel [enumeration] - module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME', 'LOG_PREFIX_NODE']) - ## attribute-list.h: ns3::AttributeList [class] - module.add_class('AttributeList') - ## callback.h: ns3::CallbackBase [class] - module.add_class('CallbackBase') - ## command-line.h: ns3::CommandLine [class] - module.add_class('CommandLine', allow_subclassing=True) - ## system-mutex.h: ns3::CriticalSection [class] - module.add_class('CriticalSection') - ## event-id.h: ns3::EventId [class] - module.add_class('EventId') - ## global-value.h: ns3::GlobalValue [class] - module.add_class('GlobalValue') - ## int-to-type.h: ns3::IntToType<0> [struct] - module.add_class('IntToType', template_parameters=['0']) - ## int-to-type.h: ns3::IntToType<0>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 0 >']) - ## int-to-type.h: ns3::IntToType<1> [struct] - module.add_class('IntToType', template_parameters=['1']) - ## int-to-type.h: ns3::IntToType<1>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 1 >']) - ## int-to-type.h: ns3::IntToType<2> [struct] - module.add_class('IntToType', template_parameters=['2']) - ## int-to-type.h: ns3::IntToType<2>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 2 >']) - ## int-to-type.h: ns3::IntToType<3> [struct] - module.add_class('IntToType', template_parameters=['3']) - ## int-to-type.h: ns3::IntToType<3>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 3 >']) - ## int-to-type.h: ns3::IntToType<4> [struct] - module.add_class('IntToType', template_parameters=['4']) - ## int-to-type.h: ns3::IntToType<4>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 4 >']) - ## int-to-type.h: ns3::IntToType<5> [struct] - module.add_class('IntToType', template_parameters=['5']) - ## int-to-type.h: ns3::IntToType<5>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 5 >']) - ## int-to-type.h: ns3::IntToType<6> [struct] - module.add_class('IntToType', template_parameters=['6']) - ## int-to-type.h: ns3::IntToType<6>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 6 >']) - ## log.h: ns3::LogComponent [class] - module.add_class('LogComponent') - ## names.h: ns3::Names [class] - module.add_class('Names') - ## object-base.h: ns3::ObjectBase [class] - module.add_class('ObjectBase', allow_subclassing=True) - ## object.h: ns3::ObjectDeleter [struct] - module.add_class('ObjectDeleter') - ## object-factory.h: ns3::ObjectFactory [class] - module.add_class('ObjectFactory') - ## random-variable.h: ns3::RandomVariable [class] - module.add_class('RandomVariable') - ## rng-stream.h: ns3::RngStream [class] - module.add_class('RngStream') - ## random-variable.h: ns3::SeedManager [class] - module.add_class('SeedManager') - ## random-variable.h: ns3::SequentialVariable [class] - module.add_class('SequentialVariable', parent=root_module['ns3::RandomVariable']) - ## simple-ref-count.h: ns3::SimpleRefCount [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simulator.h: ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True) - ## system-condition.h: ns3::SystemCondition [class] - module.add_class('SystemCondition') - ## system-mutex.h: ns3::SystemMutex [class] - module.add_class('SystemMutex') - ## system-wall-clock-ms.h: ns3::SystemWallClockMs [class] - module.add_class('SystemWallClockMs') - ## timer.h: ns3::Timer [class] - module.add_class('Timer') - ## timer.h: ns3::Timer::DestroyPolicy [enumeration] - module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer']) - ## timer.h: ns3::Timer::State [enumeration] - module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer']) - ## timer-impl.h: ns3::TimerImpl [class] - module.add_class('TimerImpl', allow_subclassing=True) - ## traced-value.h: ns3::TracedValue [class] - module.add_class('TracedValue', template_parameters=['double']) - ## random-variable.h: ns3::TriangularVariable [class] - module.add_class('TriangularVariable', parent=root_module['ns3::RandomVariable']) - ## type-id.h: ns3::TypeId [class] - module.add_class('TypeId') - ## type-id.h: ns3::TypeId::AttributeFlag [enumeration] - module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId']) - ## type-id.h: ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', outer_class=root_module['ns3::TypeId']) - ## random-variable.h: ns3::UniformVariable [class] - module.add_class('UniformVariable', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h: ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList') - ## vector.h: ns3::Vector2D [class] - module.add_class('Vector2D') - ## vector.h: ns3::Vector3D [class] - module.add_class('Vector3D') - ## watchdog.h: ns3::Watchdog [class] - module.add_class('Watchdog') - ## random-variable.h: ns3::WeibullVariable [class] - module.add_class('WeibullVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::ZetaVariable [class] - module.add_class('ZetaVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::ZipfVariable [class] - module.add_class('ZipfVariable', parent=root_module['ns3::RandomVariable']) - ## empty.h: ns3::empty [class] - module.add_class('empty') - ## int64x64-double.h: ns3::int64x64_t [class] - module.add_class('int64x64_t') - ## random-variable.h: ns3::ConstantVariable [class] - module.add_class('ConstantVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::DeterministicVariable [class] - module.add_class('DeterministicVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::EmpiricalVariable [class] - module.add_class('EmpiricalVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::ErlangVariable [class] - module.add_class('ErlangVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::ExponentialVariable [class] - module.add_class('ExponentialVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::GammaVariable [class] - module.add_class('GammaVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::IntEmpiricalVariable [class] - module.add_class('IntEmpiricalVariable', parent=root_module['ns3::EmpiricalVariable']) - ## random-variable.h: ns3::LogNormalVariable [class] - module.add_class('LogNormalVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::NormalVariable [class] - module.add_class('NormalVariable', parent=root_module['ns3::RandomVariable']) - ## object.h: ns3::Object [class] - module.add_class('Object', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) - ## object.h: ns3::Object::AggregateIterator [class] - module.add_class('AggregateIterator', outer_class=root_module['ns3::Object']) - ## random-variable.h: ns3::ParetoVariable [class] - module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable']) - ## scheduler.h: ns3::Scheduler [class] - module.add_class('Scheduler', parent=root_module['ns3::Object']) - ## scheduler.h: ns3::Scheduler::Event [struct] - module.add_class('Event', outer_class=root_module['ns3::Scheduler']) - ## scheduler.h: ns3::Scheduler::EventKey [struct] - module.add_class('EventKey', outer_class=root_module['ns3::Scheduler']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AttributeChecker', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AttributeValue', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CallbackImplBase', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::EventImpl', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FdReader', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RefCountBase', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::SystemThread', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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')) - ## simulator-impl.h: ns3::SimulatorImpl [class] - module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) - ## synchronizer.h: ns3::Synchronizer [class] - module.add_class('Synchronizer', parent=root_module['ns3::Object']) - ## system-thread.h: ns3::SystemThread [class] - module.add_class('SystemThread', parent=root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter >']) - ## nstime.h: ns3::Time [class] - module.add_class('Time') - ## nstime.h: ns3::Time::Unit [enumeration] - module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time']) - ## nstime.h: ns3::Time [class] - root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t']) - ## trace-source-accessor.h: ns3::TraceSourceAccessor [class] - module.add_class('TraceSourceAccessor', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) - ## traced-value.h: ns3::TracedValue [class] - module.add_class('TracedValue', template_parameters=['ns3::Time']) - ## traced-value.h: ns3::TracedValue [class] - root_module['ns3::TracedValue< ns3::Time >'].implicitly_converts_to(root_module['ns3::Time']) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class] - module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer']) - ## attribute.h: ns3::AttributeAccessor [class] - module.add_class('AttributeAccessor', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) - ## attribute.h: ns3::AttributeChecker [class] - module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >']) - ## attribute.h: ns3::AttributeValue [class] - module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) - ## boolean.h: ns3::BooleanChecker [class] - module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker']) - ## boolean.h: ns3::BooleanValue [class] - module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue']) - ## calendar-scheduler.h: ns3::CalendarScheduler [class] - module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler']) - ## callback.h: ns3::CallbackChecker [class] - module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker']) - ## callback.h: ns3::CallbackImplBase [class] - module.add_class('CallbackImplBase', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) - ## callback.h: ns3::CallbackValue [class] - module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue']) - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class] - module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - ## double.h: ns3::DoubleValue [class] - module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue']) - ## attribute.h: ns3::EmptyAttributeValue [class] - module.add_class('EmptyAttributeValue', parent=root_module['ns3::AttributeValue']) - ## enum.h: ns3::EnumChecker [class] - module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker']) - ## enum.h: ns3::EnumValue [class] - module.add_class('EnumValue', parent=root_module['ns3::AttributeValue']) - ## event-impl.h: ns3::EventImpl [class] - module.add_class('EventImpl', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) - ## unix-fd-reader.h: ns3::FdReader [class] - module.add_class('FdReader', parent=root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >']) - ## heap-scheduler.h: ns3::HeapScheduler [class] - module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler']) - ## integer.h: ns3::IntegerValue [class] - module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue']) - ## list-scheduler.h: ns3::ListScheduler [class] - module.add_class('ListScheduler', parent=root_module['ns3::Scheduler']) - ## map-scheduler.h: ns3::MapScheduler [class] - module.add_class('MapScheduler', parent=root_module['ns3::Scheduler']) - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler [class] - module.add_class('Ns2CalendarScheduler', parent=root_module['ns3::Scheduler']) - ## object-factory.h: ns3::ObjectFactoryChecker [class] - module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker']) - ## object-factory.h: ns3::ObjectFactoryValue [class] - module.add_class('ObjectFactoryValue', parent=root_module['ns3::AttributeValue']) - ## object-vector.h: ns3::ObjectVectorAccessor [class] - module.add_class('ObjectVectorAccessor', parent=root_module['ns3::AttributeAccessor']) - ## object-vector.h: ns3::ObjectVectorChecker [class] - module.add_class('ObjectVectorChecker', parent=root_module['ns3::AttributeChecker']) - ## object-vector.h: ns3::ObjectVectorValue [class] - module.add_class('ObjectVectorValue', parent=root_module['ns3::AttributeValue']) - ## pointer.h: ns3::PointerChecker [class] - module.add_class('PointerChecker', parent=root_module['ns3::AttributeChecker']) - ## pointer.h: ns3::PointerValue [class] - module.add_class('PointerValue', parent=root_module['ns3::AttributeValue']) - ## random-variable.h: ns3::RandomVariableChecker [class] - module.add_class('RandomVariableChecker', parent=root_module['ns3::AttributeChecker']) - ## random-variable.h: ns3::RandomVariableValue [class] - module.add_class('RandomVariableValue', parent=root_module['ns3::AttributeValue']) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class] - module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration] - module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl']) - ## ref-count-base.h: ns3::RefCountBase [class] - module.add_class('RefCountBase', parent=root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty, ns3::DefaultDeleter >']) - ## string.h: ns3::StringChecker [class] - module.add_class('StringChecker', parent=root_module['ns3::AttributeChecker']) - ## string.h: ns3::StringValue [class] - module.add_class('StringValue', parent=root_module['ns3::AttributeValue']) - ## nstime.h: ns3::TimeChecker [class] - module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker']) - ## nstime.h: ns3::TimeValue [class] - module.add_class('TimeValue', parent=root_module['ns3::AttributeValue']) - ## type-id.h: ns3::TypeIdChecker [class] - module.add_class('TypeIdChecker', parent=root_module['ns3::AttributeChecker']) - ## type-id.h: ns3::TypeIdValue [class] - module.add_class('TypeIdValue', parent=root_module['ns3::AttributeValue']) - ## uinteger.h: ns3::UintegerValue [class] - module.add_class('UintegerValue', parent=root_module['ns3::AttributeValue']) - ## vector.h: ns3::Vector2DChecker [class] - module.add_class('Vector2DChecker', parent=root_module['ns3::AttributeChecker']) - ## vector.h: ns3::Vector2DValue [class] - module.add_class('Vector2DValue', parent=root_module['ns3::AttributeValue']) - ## vector.h: ns3::Vector3DChecker [class] - module.add_class('Vector3DChecker', parent=root_module['ns3::AttributeChecker']) - ## vector.h: ns3::Vector3DValue [class] - module.add_class('Vector3DValue', parent=root_module['ns3::AttributeValue']) - module.add_container('std::set< ns3::TypeId >', 'ns3::TypeId', container_type='set') - module.add_container('std::list< ns3::Ptr< ns3::SpectrumPhy > >', 'ns3::Ptr< ns3::SpectrumPhy >', container_type='list') - module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list') - module.add_container('std::vector< ns3::Ptr< ns3::RadioBearerInstance > >', 'ns3::Ptr< ns3::RadioBearerInstance >', container_type='vector') - module.add_container('std::list< ns3::Ptr< ns3::UanPhy > >', 'ns3::Ptr< ns3::UanPhy >', container_type='list') - module.add_container('std::vector< ns3::Ptr< ns3::UeRecord > >', 'ns3::Ptr< ns3::UeRecord >', container_type='vector') - module.add_container('std::list< ns3::Ptr< ns3::UlJob > >', 'ns3::Ptr< ns3::UlJob >', container_type='list') - module.add_container('std::list< ns3::Ptr< ns3::Packet const > >', 'ns3::Ptr< ns3::Packet const >', container_type='list') - module.add_container('std::vector< ns3::Ptr< ns3::WimaxConnection > >', 'ns3::Ptr< ns3::WimaxConnection >', container_type='vector') - module.add_container('std::vector< ns3::Ptr< ns3::FlowProbe > >', 'ns3::Ptr< ns3::FlowProbe >', container_type='vector') - module.add_container('std::list< ns3::Ptr< ns3::Socket > >', 'ns3::Ptr< ns3::Socket >', container_type='list') - module.add_container('std::list< ns3::Ptr< ns3::RadvdPrefix > >', 'ns3::Ptr< ns3::RadvdPrefix >', container_type='list') - module.add_container('std::list< ns3::Ptr< ns3::UanTransducer > >', 'ns3::Ptr< ns3::UanTransducer >', container_type='list') - module.add_container('std::vector< ns3::Ptr< ns3::NetDevice > >', 'ns3::Ptr< ns3::NetDevice >', container_type='vector') - module.add_container('std::vector< ns3::Ptr< ns3::SpectrumPhy > >', 'ns3::Ptr< ns3::SpectrumPhy >', container_type='vector') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogNodePrinter') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogNodePrinter*') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogNodePrinter&') - typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') - typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*') - typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&') - module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker') - typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') - typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') - typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') - module.add_typedef(root_module['ns3::Vector3D'], 'Vector') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&') - typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue') - typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') - typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') - module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - ## config.h: ns3::Config::MatchContainer [class] - module.add_class('MatchContainer') - module.add_container('std::vector< ns3::Ptr< ns3::Object > >', 'ns3::Ptr< ns3::Object >', container_type='vector') - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - module.add_container('std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', 'ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit >', container_type='vector') - module.add_container('std::vector< ns3::Ptr< ns3::dot11s::DestinationAddressUnit > >', 'ns3::Ptr< ns3::dot11s::DestinationAddressUnit >', container_type='vector') - module.add_container('std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >', 'ns3::Ptr< ns3::dot11s::PeerLink >', container_type='vector') - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) - register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) - register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine']) - register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) - register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) - register_Ns3GlobalValue_methods(root_module, root_module['ns3::GlobalValue']) - register_Ns3IntToType__0_methods(root_module, root_module['ns3::IntToType< 0 >']) - register_Ns3IntToType__1_methods(root_module, root_module['ns3::IntToType< 1 >']) - register_Ns3IntToType__2_methods(root_module, root_module['ns3::IntToType< 2 >']) - register_Ns3IntToType__3_methods(root_module, root_module['ns3::IntToType< 3 >']) - register_Ns3IntToType__4_methods(root_module, root_module['ns3::IntToType< 4 >']) - register_Ns3IntToType__5_methods(root_module, root_module['ns3::IntToType< 5 >']) - register_Ns3IntToType__6_methods(root_module, root_module['ns3::IntToType< 6 >']) - register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent']) - register_Ns3Names_methods(root_module, root_module['ns3::Names']) - register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) - register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) - register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) - register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) - register_Ns3RngStream_methods(root_module, root_module['ns3::RngStream']) - register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) - register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) - register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) - register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) - register_Ns3SystemCondition_methods(root_module, root_module['ns3::SystemCondition']) - register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex']) - register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) - register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) - register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) - register_Ns3TracedValue__Double_methods(root_module, root_module['ns3::TracedValue< double >']) - register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) - register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) - register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) - register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) - register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) - register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) - register_Ns3Empty_methods(root_module, root_module['ns3::empty']) - register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) - register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) - register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) - register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) - register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) - register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) - register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) - register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) - register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) - register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) - register_Ns3Object_methods(root_module, root_module['ns3::Object']) - register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) - register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) - register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler']) - register_Ns3SchedulerEvent_methods(root_module, root_module['ns3::Scheduler::Event']) - register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey']) - 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 >']) - register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3FdReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3FdReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3FlowClassifier_Ns3Empty_Ns3DefaultDeleter__lt__ns3FlowClassifier__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3FlowProbe_Ns3Empty_Ns3DefaultDeleter__lt__ns3FlowProbe__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3IdealControlMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3IdealControlMessage__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::IdealControlMessage, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3InterferenceHelperEvent_Ns3Empty_Ns3DefaultDeleter__lt__ns3InterferenceHelperEvent__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::InterferenceHelper::Event, 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__Ns3Ipv6MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_Ns3DefaultDeleter__lt__ns3MeshWifiInterfaceMacPlugin__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, 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__Ns3PbbAddressBlock_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbAddressBlock__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbMessage__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_Ns3DefaultDeleter__lt__ns3PbbPacket__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbTlv__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdInterface__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3RefCountBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3RefCountBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3SpectrumConverter_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumConverter__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumConverter, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3SpectrumModel_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumModel__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumModel, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3SpectrumValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumValue, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, 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_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3Dot11sDestinationAddressUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sDestinationAddressUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sIeBeaconTimingUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) - register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) - register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) - register_Ns3Time_methods(root_module, root_module['ns3::Time']) - register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) - register_Ns3TracedValue__Ns3Time_methods(root_module, root_module['ns3::TracedValue< ns3::Time >']) - register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer']) - 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_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler']) - 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_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl']) - register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) - 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_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) - register_Ns3FdReader_methods(root_module, root_module['ns3::FdReader']) - register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler']) - register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue']) - register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler']) - register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler']) - register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler']) - register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) - register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) - register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor']) - register_Ns3ObjectVectorChecker_methods(root_module, root_module['ns3::ObjectVectorChecker']) - register_Ns3ObjectVectorValue_methods(root_module, root_module['ns3::ObjectVectorValue']) - register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker']) - register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) - register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) - register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) - register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl']) - register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase']) - register_Ns3StringChecker_methods(root_module, root_module['ns3::StringChecker']) - register_Ns3StringValue_methods(root_module, root_module['ns3::StringValue']) - register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) - 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_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker']) - register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue']) - register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker']) - register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue']) - register_Ns3ConfigMatchContainer_methods(root_module, root_module['ns3::Config::MatchContainer']) - return - -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h: ns3::AttributeList::AttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h: ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h: bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h: static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h: void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## attribute-list.h: std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', - [], - is_const=True) - ## attribute-list.h: void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h: bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h: void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3CallbackBase_methods(root_module, cls): - ## callback.h: ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')]) - ## callback.h: ns3::CallbackBase::CallbackBase() [constructor] - cls.add_constructor([]) - ## callback.h: ns3::Ptr ns3::CallbackBase::GetImpl() const [member function] - cls.add_method('GetImpl', - 'ns3::Ptr< ns3::CallbackImplBase >', - [], - is_const=True) - ## callback.h: ns3::CallbackBase::CallbackBase(ns3::Ptr impl) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], - visibility='protected') - ## callback.h: static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function] - cls.add_method('Demangle', - 'std::string', - [param('std::string const &', 'mangled')], - is_static=True, visibility='protected') - return - -def register_Ns3CommandLine_methods(root_module, cls): - ## command-line.h: ns3::CommandLine::CommandLine() [constructor] - cls.add_constructor([]) - ## command-line.h: ns3::CommandLine::CommandLine(ns3::CommandLine const & cmd) [copy constructor] - cls.add_constructor([param('ns3::CommandLine const &', 'cmd')]) - ## command-line.h: void ns3::CommandLine::AddValue(std::string const & name, std::string const & help, ns3::Callback callback) [member function] - cls.add_method('AddValue', - 'void', - [param('std::string const &', 'name'), param('std::string const &', 'help'), param('ns3::Callback< bool, std::string, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - return - -def register_Ns3CriticalSection_methods(root_module, cls): - ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::CriticalSection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CriticalSection const &', 'arg0')]) - ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::SystemMutex & mutex) [constructor] - cls.add_constructor([param('ns3::SystemMutex &', 'mutex')]) - return - -def register_Ns3EventId_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('==') - ## event-id.h: ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventId const &', 'arg0')]) - ## event-id.h: ns3::EventId::EventId() [constructor] - cls.add_constructor([]) - ## event-id.h: ns3::EventId::EventId(ns3::Ptr const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')]) - ## event-id.h: void ns3::EventId::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## event-id.h: uint32_t ns3::EventId::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True) - ## event-id.h: uint64_t ns3::EventId::GetTs() const [member function] - cls.add_method('GetTs', - 'uint64_t', - [], - is_const=True) - ## event-id.h: uint32_t ns3::EventId::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - ## event-id.h: bool ns3::EventId::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## event-id.h: bool ns3::EventId::IsRunning() const [member function] - cls.add_method('IsRunning', - 'bool', - [], - is_const=True) - ## event-id.h: ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] - cls.add_method('PeekEventImpl', - 'ns3::EventImpl *', - [], - is_const=True) - return - -def register_Ns3GlobalValue_methods(root_module, cls): - ## global-value.h: ns3::GlobalValue::GlobalValue(ns3::GlobalValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GlobalValue const &', 'arg0')]) - ## global-value.h: ns3::GlobalValue::GlobalValue(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr checker) [constructor] - cls.add_constructor([param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## global-value.h: static __gnu_cxx::__normal_iterator > > ns3::GlobalValue::Begin() [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > >', - [], - is_static=True) - ## global-value.h: static void ns3::GlobalValue::Bind(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Bind', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')], - is_static=True) - ## global-value.h: static bool ns3::GlobalValue::BindFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('BindFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')], - is_static=True) - ## global-value.h: static __gnu_cxx::__normal_iterator > > ns3::GlobalValue::End() [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > >', - [], - is_static=True) - ## global-value.h: ns3::Ptr ns3::GlobalValue::GetChecker() const [member function] - cls.add_method('GetChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [], - is_const=True) - ## global-value.h: std::string ns3::GlobalValue::GetHelp() const [member function] - cls.add_method('GetHelp', - 'std::string', - [], - is_const=True) - ## global-value.h: std::string ns3::GlobalValue::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## global-value.h: void ns3::GlobalValue::GetValue(ns3::AttributeValue & value) const [member function] - cls.add_method('GetValue', - 'void', - [param('ns3::AttributeValue &', 'value')], - is_const=True) - ## global-value.h: static void ns3::GlobalValue::GetValueByName(std::string name, ns3::AttributeValue & value) [member function] - cls.add_method('GetValueByName', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], - is_static=True) - ## global-value.h: static bool ns3::GlobalValue::GetValueByNameFailSafe(std::string name, ns3::AttributeValue & value) [member function] - cls.add_method('GetValueByNameFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], - is_static=True) - ## global-value.h: bool ns3::GlobalValue::SetValue(ns3::AttributeValue const & value) [member function] - cls.add_method('SetValue', - 'bool', - [param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3IntToType__0_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<0>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<0>::IntToType(ns3::IntToType<0> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 0 > const &', 'arg0')]) - return - -def register_Ns3IntToType__1_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<1>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<1>::IntToType(ns3::IntToType<1> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 1 > const &', 'arg0')]) - return - -def register_Ns3IntToType__2_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<2>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<2>::IntToType(ns3::IntToType<2> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 2 > const &', 'arg0')]) - return - -def register_Ns3IntToType__3_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<3>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<3>::IntToType(ns3::IntToType<3> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 3 > const &', 'arg0')]) - return - -def register_Ns3IntToType__4_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<4>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<4>::IntToType(ns3::IntToType<4> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 4 > const &', 'arg0')]) - return - -def register_Ns3IntToType__5_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<5>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<5>::IntToType(ns3::IntToType<5> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 5 > const &', 'arg0')]) - return - -def register_Ns3IntToType__6_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<6>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<6>::IntToType(ns3::IntToType<6> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 6 > const &', 'arg0')]) - return - -def register_Ns3LogComponent_methods(root_module, cls): - ## log.h: ns3::LogComponent::LogComponent(ns3::LogComponent const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LogComponent const &', 'arg0')]) - ## log.h: ns3::LogComponent::LogComponent(char const * name) [constructor] - cls.add_constructor([param('char const *', 'name')]) - ## log.h: void ns3::LogComponent::Disable(ns3::LogLevel level) [member function] - cls.add_method('Disable', - 'void', - [param('ns3::LogLevel', 'level')]) - ## log.h: void ns3::LogComponent::Enable(ns3::LogLevel level) [member function] - cls.add_method('Enable', - 'void', - [param('ns3::LogLevel', 'level')]) - ## log.h: void ns3::LogComponent::EnvVarCheck(char const * name) [member function] - cls.add_method('EnvVarCheck', - 'void', - [param('char const *', 'name')]) - ## log.h: bool ns3::LogComponent::IsEnabled(ns3::LogLevel level) const [member function] - cls.add_method('IsEnabled', - 'bool', - [param('ns3::LogLevel', 'level')], - is_const=True) - ## log.h: bool ns3::LogComponent::IsNoneEnabled() const [member function] - cls.add_method('IsNoneEnabled', - 'bool', - [], - is_const=True) - ## log.h: char const * ns3::LogComponent::Name() const [member function] - cls.add_method('Name', - 'char const *', - [], - is_const=True) - return - -def register_Ns3Names_methods(root_module, cls): - ## names.h: ns3::Names::Names() [constructor] - cls.add_constructor([]) - ## names.h: ns3::Names::Names(ns3::Names const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Names const &', 'arg0')]) - ## names.h: static void ns3::Names::Add(std::string name, ns3::Ptr object) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'name'), param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static void ns3::Names::Add(std::string path, std::string name, ns3::Ptr object) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'path'), param('std::string', 'name'), param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static void ns3::Names::Add(ns3::Ptr context, std::string name, ns3::Ptr object) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Object >', 'context'), param('std::string', 'name'), param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static void ns3::Names::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_static=True) - ## names.h: static std::string ns3::Names::FindName(ns3::Ptr object) [member function] - cls.add_method('FindName', - 'std::string', - [param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static std::string ns3::Names::FindPath(ns3::Ptr object) [member function] - cls.add_method('FindPath', - 'std::string', - [param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static void ns3::Names::Rename(std::string oldpath, std::string newname) [member function] - cls.add_method('Rename', - 'void', - [param('std::string', 'oldpath'), param('std::string', 'newname')], - is_static=True) - ## names.h: static void ns3::Names::Rename(std::string path, std::string oldname, std::string newname) [member function] - cls.add_method('Rename', - 'void', - [param('std::string', 'path'), param('std::string', 'oldname'), param('std::string', 'newname')], - is_static=True) - ## names.h: static void ns3::Names::Rename(ns3::Ptr context, std::string oldname, std::string newname) [member function] - cls.add_method('Rename', - 'void', - [param('ns3::Ptr< ns3::Object >', 'context'), param('std::string', 'oldname'), param('std::string', 'newname')], - is_static=True) - return - -def register_Ns3ObjectBase_methods(root_module, cls): - ## object-base.h: ns3::ObjectBase::ObjectBase() [constructor] - cls.add_constructor([]) - ## object-base.h: ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')]) - ## object-base.h: void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function] - cls.add_method('GetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], - is_const=True) - ## object-base.h: bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function] - cls.add_method('GetAttributeFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')], - is_const=True) - ## object-base.h: ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## object-base.h: static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## object-base.h: void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-base.h: bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttributeFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-base.h: bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function] - cls.add_method('TraceConnect', - 'bool', - [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h: bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('TraceConnectWithoutContext', - 'bool', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h: bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function] - cls.add_method('TraceDisconnect', - 'bool', - [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h: bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('TraceDisconnectWithoutContext', - 'bool', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h: void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] - cls.add_method('ConstructSelf', - 'void', - [param('ns3::AttributeList const &', 'attributes')], - visibility='protected') - ## object-base.h: void ns3::ObjectBase::NotifyConstructionCompleted() [member function] - cls.add_method('NotifyConstructionCompleted', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3ObjectDeleter_methods(root_module, cls): - ## object.h: ns3::ObjectDeleter::ObjectDeleter() [constructor] - cls.add_constructor([]) - ## object.h: ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')]) - ## object.h: static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function] - cls.add_method('Delete', - 'void', - [param('ns3::Object *', 'object')], - is_static=True) - return - -def register_Ns3ObjectFactory_methods(root_module, cls): - cls.add_output_stream_operator() - ## object-factory.h: ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) - ## object-factory.h: ns3::ObjectFactory::ObjectFactory() [constructor] - cls.add_constructor([]) - ## object-factory.h: ns3::Ptr ns3::ObjectFactory::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## object-factory.h: ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_const=True) - ## object-factory.h: void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h: void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) - ## object-factory.h: void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] - cls.add_method('SetTypeId', - 'void', - [param('ns3::TypeId', 'tid')]) - ## object-factory.h: void ns3::ObjectFactory::SetTypeId(char const * tid) [member function] - cls.add_method('SetTypeId', - 'void', - [param('char const *', 'tid')]) - ## object-factory.h: void ns3::ObjectFactory::SetTypeId(std::string tid) [member function] - cls.add_method('SetTypeId', - 'void', - [param('std::string', 'tid')]) - return - -def register_Ns3RandomVariable_methods(root_module, cls): - cls.add_output_stream_operator() - ## random-variable.h: ns3::RandomVariable::RandomVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor] - cls.add_constructor([param('ns3::RandomVariable const &', 'o')]) - ## random-variable.h: uint32_t ns3::RandomVariable::GetInteger() const [member function] - cls.add_method('GetInteger', - 'uint32_t', - [], - is_const=True) - ## random-variable.h: double ns3::RandomVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - return - -def register_Ns3RngStream_methods(root_module, cls): - ## rng-stream.h: ns3::RngStream::RngStream() [constructor] - cls.add_constructor([]) - ## rng-stream.h: ns3::RngStream::RngStream(ns3::RngStream const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RngStream const &', 'arg0')]) - ## rng-stream.h: void ns3::RngStream::AdvanceState(int32_t e, int32_t c) [member function] - cls.add_method('AdvanceState', - 'void', - [param('int32_t', 'e'), param('int32_t', 'c')]) - ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t const * seed) [member function] - cls.add_method('CheckSeed', - 'bool', - [param('uint32_t const *', 'seed')], - is_static=True) - ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t seed) [member function] - cls.add_method('CheckSeed', - 'bool', - [param('uint32_t', 'seed')], - is_static=True) - ## rng-stream.h: static uint32_t ns3::RngStream::GetPackageRun() [member function] - cls.add_method('GetPackageRun', - 'uint32_t', - [], - is_static=True) - ## rng-stream.h: static void ns3::RngStream::GetPackageSeed(uint32_t * seed) [member function] - cls.add_method('GetPackageSeed', - 'void', - [param('uint32_t *', 'seed')], - is_static=True) - ## rng-stream.h: void ns3::RngStream::GetState(uint32_t * seed) const [member function] - cls.add_method('GetState', - 'void', - [param('uint32_t *', 'seed')], - is_const=True) - ## rng-stream.h: void ns3::RngStream::IncreasedPrecis(bool incp) [member function] - cls.add_method('IncreasedPrecis', - 'void', - [param('bool', 'incp')]) - ## rng-stream.h: void ns3::RngStream::InitializeStream() [member function] - cls.add_method('InitializeStream', - 'void', - []) - ## rng-stream.h: int32_t ns3::RngStream::RandInt(int32_t i, int32_t j) [member function] - cls.add_method('RandInt', - 'int32_t', - [param('int32_t', 'i'), param('int32_t', 'j')]) - ## rng-stream.h: double ns3::RngStream::RandU01() [member function] - cls.add_method('RandU01', - 'double', - []) - ## rng-stream.h: void ns3::RngStream::ResetNextSubstream() [member function] - cls.add_method('ResetNextSubstream', - 'void', - []) - ## rng-stream.h: void ns3::RngStream::ResetNthSubstream(uint32_t N) [member function] - cls.add_method('ResetNthSubstream', - 'void', - [param('uint32_t', 'N')]) - ## rng-stream.h: void ns3::RngStream::ResetStartStream() [member function] - cls.add_method('ResetStartStream', - 'void', - []) - ## rng-stream.h: void ns3::RngStream::ResetStartSubstream() [member function] - cls.add_method('ResetStartSubstream', - 'void', - []) - ## rng-stream.h: void ns3::RngStream::SetAntithetic(bool a) [member function] - cls.add_method('SetAntithetic', - 'void', - [param('bool', 'a')]) - ## rng-stream.h: static void ns3::RngStream::SetPackageRun(uint32_t run) [member function] - cls.add_method('SetPackageRun', - 'void', - [param('uint32_t', 'run')], - is_static=True) - ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t seed) [member function] - cls.add_method('SetPackageSeed', - 'bool', - [param('uint32_t', 'seed')], - is_static=True) - ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t const * seed) [member function] - cls.add_method('SetPackageSeed', - 'bool', - [param('uint32_t const *', 'seed')], - is_static=True) - ## rng-stream.h: bool ns3::RngStream::SetSeeds(uint32_t const * seed) [member function] - cls.add_method('SetSeeds', - 'bool', - [param('uint32_t const *', 'seed')]) - return - -def register_Ns3SeedManager_methods(root_module, cls): - ## random-variable.h: ns3::SeedManager::SeedManager() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SeedManager const &', 'arg0')]) - ## random-variable.h: static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function] - cls.add_method('CheckSeed', - 'bool', - [param('uint32_t', 'seed')], - is_static=True) - ## random-variable.h: static uint32_t ns3::SeedManager::GetRun() [member function] - cls.add_method('GetRun', - 'uint32_t', - [], - is_static=True) - ## random-variable.h: static uint32_t ns3::SeedManager::GetSeed() [member function] - cls.add_method('GetSeed', - 'uint32_t', - [], - is_static=True) - ## random-variable.h: static void ns3::SeedManager::SetRun(uint32_t run) [member function] - cls.add_method('SetRun', - 'void', - [param('uint32_t', 'run')], - is_static=True) - ## random-variable.h: static void ns3::SeedManager::SetSeed(uint32_t seed) [member function] - cls.add_method('SetSeed', - 'void', - [param('uint32_t', 'seed')], - is_static=True) - return - -def register_Ns3SequentialVariable_methods(root_module, cls): - ## random-variable.h: ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')]) - ## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor] - cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')]) - ## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor] - cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')]) - return - -def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3Simulator_methods(root_module, cls): - ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) - ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static void ns3::Simulator::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_static=True) - ## simulator.h: static uint32_t ns3::Simulator::GetContext() [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static ns3::Ptr ns3::Simulator::GetImplementation() [member function] - cls.add_method('GetImplementation', - 'ns3::Ptr< ns3::SimulatorImpl >', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_static=True) - ## simulator.h: static uint32_t ns3::Simulator::GetSystemId() [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_static=True) - ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static bool ns3::Simulator::IsFinished() [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_static=True, deprecated=True) - ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_static=True) - ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_static=True, deprecated=True) - ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] - cls.add_method('SetImplementation', - 'void', - [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], - is_static=True) - ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_static=True) - ## simulator.h: static void ns3::Simulator::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_static=True) - ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_static=True) - return - -def register_Ns3SystemCondition_methods(root_module, cls): - ## system-condition.h: ns3::SystemCondition::SystemCondition(ns3::SystemCondition const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemCondition const &', 'arg0')]) - ## system-condition.h: ns3::SystemCondition::SystemCondition() [constructor] - cls.add_constructor([]) - ## system-condition.h: void ns3::SystemCondition::Broadcast() [member function] - cls.add_method('Broadcast', - 'void', - []) - ## system-condition.h: bool ns3::SystemCondition::GetCondition() [member function] - cls.add_method('GetCondition', - 'bool', - []) - ## system-condition.h: void ns3::SystemCondition::SetCondition(bool condition) [member function] - cls.add_method('SetCondition', - 'void', - [param('bool', 'condition')]) - ## system-condition.h: void ns3::SystemCondition::Signal() [member function] - cls.add_method('Signal', - 'void', - []) - ## system-condition.h: bool ns3::SystemCondition::TimedWait(uint64_t ns) [member function] - cls.add_method('TimedWait', - 'bool', - [param('uint64_t', 'ns')]) - ## system-condition.h: void ns3::SystemCondition::Wait() [member function] - cls.add_method('Wait', - 'void', - []) - return - -def register_Ns3SystemMutex_methods(root_module, cls): - ## system-mutex.h: ns3::SystemMutex::SystemMutex(ns3::SystemMutex const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemMutex const &', 'arg0')]) - ## system-mutex.h: ns3::SystemMutex::SystemMutex() [constructor] - cls.add_constructor([]) - ## system-mutex.h: void ns3::SystemMutex::Lock() [member function] - cls.add_method('Lock', - 'void', - []) - ## system-mutex.h: void ns3::SystemMutex::Unlock() [member function] - cls.add_method('Unlock', - 'void', - []) - return - -def register_Ns3SystemWallClockMs_methods(root_module, cls): - ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) - ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs() [constructor] - cls.add_constructor([]) - ## system-wall-clock-ms.h: int64_t ns3::SystemWallClockMs::End() [member function] - cls.add_method('End', - 'int64_t', - []) - ## system-wall-clock-ms.h: int64_t ns3::SystemWallClockMs::GetElapsedReal() const [member function] - cls.add_method('GetElapsedReal', - 'int64_t', - [], - is_const=True) - ## system-wall-clock-ms.h: int64_t ns3::SystemWallClockMs::GetElapsedSystem() const [member function] - cls.add_method('GetElapsedSystem', - 'int64_t', - [], - is_const=True) - ## system-wall-clock-ms.h: int64_t ns3::SystemWallClockMs::GetElapsedUser() const [member function] - cls.add_method('GetElapsedUser', - 'int64_t', - [], - is_const=True) - ## system-wall-clock-ms.h: void ns3::SystemWallClockMs::Start() [member function] - cls.add_method('Start', - 'void', - []) - return - -def register_Ns3Timer_methods(root_module, cls): - ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Timer const &', 'arg0')]) - ## timer.h: ns3::Timer::Timer() [constructor] - cls.add_constructor([]) - ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor] - cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')]) - ## timer.h: void ns3::Timer::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [], - is_const=True) - ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [], - is_const=True) - ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function] - cls.add_method('GetState', - 'ns3::Timer::State', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsRunning() const [member function] - cls.add_method('IsRunning', - 'bool', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsSuspended() const [member function] - cls.add_method('IsSuspended', - 'bool', - [], - is_const=True) - ## timer.h: void ns3::Timer::Remove() [member function] - cls.add_method('Remove', - 'void', - []) - ## timer.h: void ns3::Timer::Resume() [member function] - cls.add_method('Resume', - 'void', - []) - ## timer.h: void ns3::Timer::Schedule() [member function] - cls.add_method('Schedule', - 'void', - []) - ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function] - cls.add_method('Schedule', - 'void', - [param('ns3::Time', 'delay')]) - ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function] - cls.add_method('SetDelay', - 'void', - [param('ns3::Time const &', 'delay')]) - ## timer.h: void ns3::Timer::Suspend() [member function] - cls.add_method('Suspend', - 'void', - []) - return - -def register_Ns3TimerImpl_methods(root_module, cls): - ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor] - cls.add_constructor([]) - ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')]) - ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function] - cls.add_method('Invoke', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'delay')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3TracedValue__Double_methods(root_module, cls): - ## traced-value.h: ns3::TracedValue::TracedValue() [constructor] - cls.add_constructor([]) - ## traced-value.h: ns3::TracedValue::TracedValue(ns3::TracedValue const & o) [copy constructor] - cls.add_constructor([param('ns3::TracedValue< double > const &', 'o')]) - ## traced-value.h: ns3::TracedValue::TracedValue(double const & v) [constructor] - cls.add_constructor([param('double const &', 'v')]) - ## traced-value.h: 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: void ns3::TracedValue::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('ConnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: 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: void ns3::TracedValue::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('DisconnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: double ns3::TracedValue::Get() const [member function] - cls.add_method('Get', - 'double', - [], - is_const=True) - ## traced-value.h: void ns3::TracedValue::Set(double const & v) [member function] - cls.add_method('Set', - 'void', - [param('double const &', 'v')]) - return - -def register_Ns3TriangularVariable_methods(root_module, cls): - ## random-variable.h: ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')]) - ## random-variable.h: ns3::TriangularVariable::TriangularVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor] - cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')]) - return - -def register_Ns3TypeId_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## type-id.h: ns3::TypeId::TypeId(char const * name) [constructor] - cls.add_constructor([param('char const *', 'name')]) - ## type-id.h: ns3::TypeId::TypeId() [constructor] - cls.add_constructor([]) - ## type-id.h: ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor] - cls.add_constructor([param('ns3::TypeId const &', 'o')]) - ## type-id.h: ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr accessor, ns3::Ptr checker) [member function] - cls.add_method('AddAttribute', - 'ns3::TypeId', - [param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h: ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, uint32_t flags, ns3::AttributeValue const & initialValue, ns3::Ptr accessor, ns3::Ptr checker) [member function] - cls.add_method('AddAttribute', - 'ns3::TypeId', - [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h: ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] - cls.add_method('AddTraceSource', - 'ns3::TypeId', - [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h: ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] - cls.add_method('GetAttributeFullName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: uint32_t ns3::TypeId::GetAttributeN() const [member function] - cls.add_method('GetAttributeN', - 'uint32_t', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: ns3::Callback ns3::TypeId::GetConstructor() const [member function] - cls.add_method('GetConstructor', - 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetGroupName() const [member function] - cls.add_method('GetGroupName', - 'std::string', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## type-id.h: ns3::TypeId ns3::TypeId::GetParent() const [member function] - cls.add_method('GetParent', - 'ns3::TypeId', - [], - is_const=True) - ## type-id.h: static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function] - cls.add_method('GetRegistered', - 'ns3::TypeId', - [param('uint32_t', 'i')], - is_static=True) - ## type-id.h: static uint32_t ns3::TypeId::GetRegisteredN() [member function] - cls.add_method('GetRegisteredN', - 'uint32_t', - [], - is_static=True) - ## type-id.h: ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: uint32_t ns3::TypeId::GetTraceSourceN() const [member function] - cls.add_method('GetTraceSourceN', - 'uint32_t', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: uint16_t ns3::TypeId::GetUid() const [member function] - cls.add_method('GetUid', - 'uint16_t', - [], - is_const=True) - ## type-id.h: bool ns3::TypeId::HasConstructor() const [member function] - cls.add_method('HasConstructor', - 'bool', - [], - is_const=True) - ## type-id.h: bool ns3::TypeId::HasParent() const [member function] - cls.add_method('HasParent', - 'bool', - [], - is_const=True) - ## type-id.h: ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function] - cls.add_method('HideFromDocumentation', - 'ns3::TypeId', - []) - ## type-id.h: bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function] - cls.add_method('IsChildOf', - 'bool', - [param('ns3::TypeId', 'other')], - is_const=True) - ## type-id.h: static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h: bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] - cls.add_method('LookupAttributeByName', - 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], - is_const=True) - ## type-id.h: static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] - cls.add_method('LookupByName', - 'ns3::TypeId', - [param('std::string', 'name')], - is_static=True) - ## type-id.h: ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] - cls.add_method('LookupTraceSourceByName', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('std::string', 'name')], - is_const=True) - ## type-id.h: bool ns3::TypeId::MustHideFromDocumentation() const [member function] - cls.add_method('MustHideFromDocumentation', - 'bool', - [], - is_const=True) - ## type-id.h: ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] - cls.add_method('SetGroupName', - 'ns3::TypeId', - [param('std::string', 'groupName')]) - ## type-id.h: ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function] - cls.add_method('SetParent', - 'ns3::TypeId', - [param('ns3::TypeId', 'tid')]) - ## type-id.h: void ns3::TypeId::SetUid(uint16_t tid) [member function] - cls.add_method('SetUid', - 'void', - [param('uint16_t', 'tid')]) - return - -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h: ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] - cls.add_constructor([]) - ## type-id.h: ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h: ns3::TypeId::AttributeInfo::accessor [variable] - cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h: ns3::TypeId::AttributeInfo::checker [variable] - cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h: ns3::TypeId::AttributeInfo::flags [variable] - cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h: ns3::TypeId::AttributeInfo::initialValue [variable] - cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) - return - -def register_Ns3UniformVariable_methods(root_module, cls): - ## random-variable.h: ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')]) - ## random-variable.h: ns3::UniformVariable::UniformVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::UniformVariable::UniformVariable(double s, double l) [constructor] - cls.add_constructor([param('double', 's'), param('double', 'l')]) - ## random-variable.h: uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function] - cls.add_method('GetInteger', - 'uint32_t', - [param('uint32_t', 's'), param('uint32_t', 'l')]) - ## random-variable.h: double ns3::UniformVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::UniformVariable::GetValue(double s, double l) [member function] - cls.add_method('GetValue', - 'double', - [param('double', 's'), param('double', 'l')]) - return - -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h: ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h: ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h: ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h: void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - -def register_Ns3Vector2D_methods(root_module, cls): - cls.add_output_stream_operator() - ## vector.h: ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector2D const &', 'arg0')]) - ## vector.h: ns3::Vector2D::Vector2D(double _x, double _y) [constructor] - cls.add_constructor([param('double', '_x'), param('double', '_y')]) - ## vector.h: ns3::Vector2D::Vector2D() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector2D::x [variable] - cls.add_instance_attribute('x', 'double', is_const=False) - ## vector.h: ns3::Vector2D::y [variable] - cls.add_instance_attribute('y', 'double', is_const=False) - return - -def register_Ns3Vector3D_methods(root_module, cls): - cls.add_output_stream_operator() - ## vector.h: ns3::Vector3D::Vector3D(ns3::Vector3D const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector3D const &', 'arg0')]) - ## vector.h: ns3::Vector3D::Vector3D(double _x, double _y, double _z) [constructor] - cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')]) - ## vector.h: ns3::Vector3D::Vector3D() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector3D::x [variable] - cls.add_instance_attribute('x', 'double', is_const=False) - ## vector.h: ns3::Vector3D::y [variable] - cls.add_instance_attribute('y', 'double', is_const=False) - ## vector.h: ns3::Vector3D::z [variable] - cls.add_instance_attribute('z', 'double', is_const=False) - return - -def register_Ns3Watchdog_methods(root_module, cls): - ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) - ## watchdog.h: ns3::Watchdog::Watchdog() [constructor] - cls.add_constructor([]) - ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function] - cls.add_method('Ping', - 'void', - [param('ns3::Time', 'delay')]) - return - -def register_Ns3WeibullVariable_methods(root_module, cls): - ## random-variable.h: ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) - ## random-variable.h: ns3::WeibullVariable::WeibullVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - return - -def register_Ns3ZetaVariable_methods(root_module, cls): - ## random-variable.h: ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')]) - ## random-variable.h: ns3::ZetaVariable::ZetaVariable(double alpha) [constructor] - cls.add_constructor([param('double', 'alpha')]) - ## random-variable.h: ns3::ZetaVariable::ZetaVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3ZipfVariable_methods(root_module, cls): - ## random-variable.h: ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')]) - ## random-variable.h: ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor] - cls.add_constructor([param('long int', 'N'), param('double', 'alpha')]) - ## random-variable.h: ns3::ZipfVariable::ZipfVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3Empty_methods(root_module, cls): - ## empty.h: ns3::empty::empty() [constructor] - cls.add_constructor([]) - ## empty.h: ns3::empty::empty(ns3::empty const & arg0) [copy constructor] - cls.add_constructor([param('ns3::empty const &', 'arg0')]) - return - -def register_Ns3Int64x64_t_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right')) - cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right')) - cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right')) - cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right')) - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>=') - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right')) - cls.add_unary_numeric_operator('-') - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## int64x64-double.h: ns3::int64x64_t::int64x64_t() [constructor] - cls.add_constructor([]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(double v) [constructor] - cls.add_constructor([param('double', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(int v) [constructor] - cls.add_constructor([param('int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(long int v) [constructor] - cls.add_constructor([param('long int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(long long int v) [constructor] - cls.add_constructor([param('long long int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(unsigned int v) [constructor] - cls.add_constructor([param('unsigned int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor] - cls.add_constructor([param('long unsigned int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor] - cls.add_constructor([param('long long unsigned int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor] - cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor] - cls.add_constructor([param('ns3::int64x64_t const &', 'o')]) - ## int64x64-double.h: double ns3::int64x64_t::GetDouble() const [member function] - cls.add_method('GetDouble', - 'double', - [], - is_const=True) - ## int64x64-double.h: int64_t ns3::int64x64_t::GetHigh() const [member function] - cls.add_method('GetHigh', - 'int64_t', - [], - is_const=True) - ## int64x64-double.h: uint64_t ns3::int64x64_t::GetLow() const [member function] - cls.add_method('GetLow', - 'uint64_t', - [], - is_const=True) - ## int64x64-double.h: static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function] - cls.add_method('Invert', - 'ns3::int64x64_t', - [param('uint64_t', 'v')], - is_static=True) - ## int64x64-double.h: void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function] - cls.add_method('MulByInvert', - 'void', - [param('ns3::int64x64_t const &', 'o')]) - return - -def register_Ns3ConstantVariable_methods(root_module, cls): - ## random-variable.h: ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) - ## random-variable.h: ns3::ConstantVariable::ConstantVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ConstantVariable::ConstantVariable(double c) [constructor] - cls.add_constructor([param('double', 'c')]) - ## random-variable.h: void ns3::ConstantVariable::SetConstant(double c) [member function] - cls.add_method('SetConstant', - 'void', - [param('double', 'c')]) - return - -def register_Ns3DeterministicVariable_methods(root_module, cls): - ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) - ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] - cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) - return - -def register_Ns3EmpiricalVariable_methods(root_module, cls): - ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) - ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: void ns3::EmpiricalVariable::CDF(double v, double c) [member function] - cls.add_method('CDF', - 'void', - [param('double', 'v'), param('double', 'c')]) - return - -def register_Ns3ErlangVariable_methods(root_module, cls): - ## random-variable.h: ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) - ## random-variable.h: ns3::ErlangVariable::ErlangVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] - cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) - ## random-variable.h: double ns3::ErlangVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] - cls.add_method('GetValue', - 'double', - [param('unsigned int', 'k'), param('double', 'lambda')], - is_const=True) - return - -def register_Ns3ExponentialVariable_methods(root_module, cls): - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'b')]) - return - -def register_Ns3GammaVariable_methods(root_module, cls): - ## random-variable.h: ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) - ## random-variable.h: ns3::GammaVariable::GammaVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] - cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) - ## random-variable.h: double ns3::GammaVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] - cls.add_method('GetValue', - 'double', - [param('double', 'alpha'), param('double', 'beta')], - is_const=True) - return - -def register_Ns3IntEmpiricalVariable_methods(root_module, cls): - ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) - ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3LogNormalVariable_methods(root_module, cls): - ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) - ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] - cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) - return - -def register_Ns3NormalVariable_methods(root_module, cls): - ## random-variable.h: ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) - ## random-variable.h: ns3::NormalVariable::NormalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v')]) - ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) - return - -def register_Ns3Object_methods(root_module, cls): - ## object.h: ns3::Object::Object() [constructor] - cls.add_constructor([]) - ## object.h: void ns3::Object::AggregateObject(ns3::Ptr other) [member function] - cls.add_method('AggregateObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'other')]) - ## object.h: void ns3::Object::Dispose() [member function] - cls.add_method('Dispose', - 'void', - []) - ## object.h: ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function] - cls.add_method('GetAggregateIterator', - 'ns3::Object::AggregateIterator', - [], - is_const=True) - ## object.h: ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## object.h: ns3::Ptr ns3::Object::GetObject(ns3::TypeId tid) const [member function] - cls.add_method('GetObject', - 'ns3::Ptr< ns3::Object >', - [param('ns3::TypeId', 'tid')], - is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') - ## object.h: static ns3::TypeId ns3::Object::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## object.h: void ns3::Object::Start() [member function] - cls.add_method('Start', - 'void', - []) - ## object.h: ns3::Object::Object(ns3::Object const & o) [copy constructor] - cls.add_constructor([param('ns3::Object const &', 'o')], - visibility='protected') - ## object.h: void ns3::Object::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## object.h: void ns3::Object::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## object.h: void ns3::Object::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3ObjectAggregateIterator_methods(root_module, cls): - ## object.h: ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')]) - ## object.h: ns3::Object::AggregateIterator::AggregateIterator() [constructor] - cls.add_constructor([]) - ## object.h: bool ns3::Object::AggregateIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## object.h: ns3::Ptr ns3::Object::AggregateIterator::Next() [member function] - cls.add_method('Next', - 'ns3::Ptr< ns3::Object const >', - []) - return - -def register_Ns3ParetoVariable_methods(root_module, cls): - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(std::pair params) [constructor] - cls.add_constructor([param('std::pair< double, double >', 'params')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(std::pair params, double b) [constructor] - cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')]) - return - -def register_Ns3Scheduler_methods(root_module, cls): - ## scheduler.h: ns3::Scheduler::Scheduler() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler const &', 'arg0')]) - ## scheduler.h: static ns3::TypeId ns3::Scheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## scheduler.h: void ns3::Scheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## scheduler.h: bool ns3::Scheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## scheduler.h: void ns3::Scheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SchedulerEvent_methods(root_module, cls): - cls.add_binary_comparison_operator('<') - ## scheduler.h: ns3::Scheduler::Event::Event() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::Event::Event(ns3::Scheduler::Event const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler::Event const &', 'arg0')]) - ## scheduler.h: ns3::Scheduler::Event::impl [variable] - cls.add_instance_attribute('impl', 'ns3::EventImpl *', is_const=False) - ## scheduler.h: ns3::Scheduler::Event::key [variable] - cls.add_instance_attribute('key', 'ns3::Scheduler::EventKey', is_const=False) - return - -def register_Ns3SchedulerEventKey_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## scheduler.h: ns3::Scheduler::EventKey::EventKey() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')]) - ## scheduler.h: ns3::Scheduler::EventKey::m_context [variable] - cls.add_instance_attribute('m_context', 'uint32_t', is_const=False) - ## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable] - cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False) - ## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable] - cls.add_instance_attribute('m_uid', 'uint32_t', is_const=False) - return - -def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3FdReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3FdReader__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter< ns3::FdReader > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3FlowClassifier_Ns3Empty_Ns3DefaultDeleter__lt__ns3FlowClassifier__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty, ns3::DefaultDeleter< ns3::FlowClassifier > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3FlowProbe_Ns3Empty_Ns3DefaultDeleter__lt__ns3FlowProbe__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty, ns3::DefaultDeleter< ns3::FlowProbe > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3IdealControlMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3IdealControlMessage__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::IdealControlMessage, ns3::empty, ns3::DefaultDeleter< ns3::IdealControlMessage > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3InterferenceHelperEvent_Ns3Empty_Ns3DefaultDeleter__lt__ns3InterferenceHelperEvent__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::InterferenceHelper::Event, ns3::empty, ns3::DefaultDeleter< ns3::InterferenceHelper::Event > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Ipv6MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6MulticastRoute__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv6MulticastRoute > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6Route__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv6Route > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_Ns3DefaultDeleter__lt__ns3MeshWifiInterfaceMacPlugin__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty, ns3::DefaultDeleter< ns3::MeshWifiInterfaceMacPlugin > > const &', 'o')]) - ## simple-ref-count.h: 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: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamWrapper > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3PbbAddressBlock_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbAddressBlock__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty, ns3::DefaultDeleter< ns3::PbbAddressBlock > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbMessage__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter< ns3::PbbMessage > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_Ns3DefaultDeleter__lt__ns3PbbPacket__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header, ns3::DefaultDeleter< ns3::PbbPacket > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbTlv__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty, ns3::DefaultDeleter< ns3::PbbTlv > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdInterface__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter< ns3::RadvdInterface > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter< ns3::RadvdPrefix > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3RefCountBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3RefCountBase__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty, ns3::DefaultDeleter< ns3::RefCountBase > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3SpectrumConverter_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumConverter__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::SpectrumConverter, ns3::empty, ns3::DefaultDeleter< ns3::SpectrumConverter > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3SpectrumModel_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumModel__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::SpectrumModel, ns3::empty, ns3::DefaultDeleter< ns3::SpectrumModel > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3SpectrumValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumValue__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::SpectrumValue, ns3::empty, ns3::DefaultDeleter< ns3::SpectrumValue > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter< ns3::SystemThread > > const &', 'o')]) - ## simple-ref-count.h: 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: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter< ns3::WifiInformationElement > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Dot11sDestinationAddressUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sDestinationAddressUnit__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter< ns3::dot11s::DestinationAddressUnit > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sIeBeaconTimingUnit__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter< ns3::dot11s::IeBeaconTimingUnit > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimulatorImpl_methods(root_module, cls): - ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl() [constructor] - cls.add_constructor([]) - ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl(ns3::SimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimulatorImpl const &', 'arg0')]) - ## simulator-impl.h: void ns3::SimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: static ns3::TypeId ns3::SimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simulator-impl.h: bool ns3::SimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: bool ns3::SimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Synchronizer_methods(root_module, cls): - ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')]) - ## synchronizer.h: ns3::Synchronizer::Synchronizer() [constructor] - cls.add_constructor([]) - ## synchronizer.h: uint64_t ns3::Synchronizer::EventEnd() [member function] - cls.add_method('EventEnd', - 'uint64_t', - []) - ## synchronizer.h: void ns3::Synchronizer::EventStart() [member function] - cls.add_method('EventStart', - 'void', - []) - ## synchronizer.h: uint64_t ns3::Synchronizer::GetCurrentRealtime() [member function] - cls.add_method('GetCurrentRealtime', - 'uint64_t', - []) - ## synchronizer.h: int64_t ns3::Synchronizer::GetDrift(uint64_t ts) [member function] - cls.add_method('GetDrift', - 'int64_t', - [param('uint64_t', 'ts')]) - ## synchronizer.h: uint64_t ns3::Synchronizer::GetOrigin() [member function] - cls.add_method('GetOrigin', - 'uint64_t', - []) - ## synchronizer.h: static ns3::TypeId ns3::Synchronizer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## synchronizer.h: bool ns3::Synchronizer::Realtime() [member function] - cls.add_method('Realtime', - 'bool', - []) - ## synchronizer.h: void ns3::Synchronizer::SetCondition(bool arg0) [member function] - cls.add_method('SetCondition', - 'void', - [param('bool', 'arg0')]) - ## synchronizer.h: void ns3::Synchronizer::SetOrigin(uint64_t ts) [member function] - cls.add_method('SetOrigin', - 'void', - [param('uint64_t', 'ts')]) - ## synchronizer.h: void ns3::Synchronizer::Signal() [member function] - cls.add_method('Signal', - 'void', - []) - ## synchronizer.h: bool ns3::Synchronizer::Synchronize(uint64_t tsCurrent, uint64_t tsDelay) [member function] - cls.add_method('Synchronize', - 'bool', - [param('uint64_t', 'tsCurrent'), param('uint64_t', 'tsDelay')]) - ## synchronizer.h: uint64_t ns3::Synchronizer::DoEventEnd() [member function] - cls.add_method('DoEventEnd', - 'uint64_t', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoEventStart() [member function] - cls.add_method('DoEventStart', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function] - cls.add_method('DoGetCurrentRealtime', - 'uint64_t', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function] - cls.add_method('DoGetDrift', - 'int64_t', - [param('uint64_t', 'ns')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: bool ns3::Synchronizer::DoRealtime() [member function] - cls.add_method('DoRealtime', - 'bool', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSetCondition(bool arg0) [member function] - cls.add_method('DoSetCondition', - 'void', - [param('bool', 'arg0')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function] - cls.add_method('DoSetOrigin', - 'void', - [param('uint64_t', 'ns')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSignal() [member function] - cls.add_method('DoSignal', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] - cls.add_method('DoSynchronize', - 'bool', - [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3SystemThread_methods(root_module, cls): - ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemThread const &', 'arg0')]) - ## system-thread.h: ns3::SystemThread::SystemThread(ns3::Callback callback) [constructor] - cls.add_constructor([param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## system-thread.h: bool ns3::SystemThread::Break() [member function] - cls.add_method('Break', - 'bool', - []) - ## system-thread.h: void ns3::SystemThread::Join() [member function] - cls.add_method('Join', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Shutdown() [member function] - cls.add_method('Shutdown', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Start() [member function] - cls.add_method('Start', - 'void', - []) - return - -def register_Ns3Time_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) - cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>=') - cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## nstime.h: ns3::Time::Time() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::Time::Time(ns3::Time const & o) [copy constructor] - cls.add_constructor([param('ns3::Time const &', 'o')]) - ## nstime.h: ns3::Time::Time(double v) [constructor] - cls.add_constructor([param('double', 'v')]) - ## nstime.h: ns3::Time::Time(int v) [constructor] - cls.add_constructor([param('int', 'v')]) - ## nstime.h: ns3::Time::Time(long int v) [constructor] - cls.add_constructor([param('long int', 'v')]) - ## nstime.h: ns3::Time::Time(long long int v) [constructor] - cls.add_constructor([param('long long int', 'v')]) - ## nstime.h: ns3::Time::Time(unsigned int v) [constructor] - cls.add_constructor([param('unsigned int', 'v')]) - ## nstime.h: ns3::Time::Time(long unsigned int v) [constructor] - cls.add_constructor([param('long unsigned int', 'v')]) - ## nstime.h: ns3::Time::Time(long long unsigned int v) [constructor] - cls.add_constructor([param('long long unsigned int', 'v')]) - ## nstime.h: ns3::Time::Time(std::string const & s) [constructor] - cls.add_constructor([param('std::string const &', 's')]) - ## nstime.h: ns3::Time::Time(ns3::int64x64_t const & value) [constructor] - cls.add_constructor([param('ns3::int64x64_t const &', 'value')]) - ## nstime.h: int ns3::Time::Compare(ns3::Time const & o) const [member function] - cls.add_method('Compare', - 'int', - [param('ns3::Time const &', 'o')], - is_const=True) - ## nstime.h: static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function] - cls.add_method('From', - 'ns3::Time', - [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function] - cls.add_method('From', - 'ns3::Time', - [param('ns3::int64x64_t const &', 'value')], - is_static=True) - ## nstime.h: static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function] - cls.add_method('FromDouble', - 'ns3::Time', - [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function] - cls.add_method('FromInteger', - 'ns3::Time', - [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: double ns3::Time::GetDouble() const [member function] - cls.add_method('GetDouble', - 'double', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetFemtoSeconds() const [member function] - cls.add_method('GetFemtoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetInteger() const [member function] - cls.add_method('GetInteger', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetMicroSeconds() const [member function] - cls.add_method('GetMicroSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetMilliSeconds() const [member function] - cls.add_method('GetMilliSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetNanoSeconds() const [member function] - cls.add_method('GetNanoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetPicoSeconds() const [member function] - cls.add_method('GetPicoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: static ns3::Time::Unit ns3::Time::GetResolution() [member function] - cls.add_method('GetResolution', - 'ns3::Time::Unit', - [], - is_static=True) - ## nstime.h: double ns3::Time::GetSeconds() const [member function] - cls.add_method('GetSeconds', - 'double', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetTimeStep() const [member function] - cls.add_method('GetTimeStep', - 'int64_t', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsNegative() const [member function] - cls.add_method('IsNegative', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsPositive() const [member function] - cls.add_method('IsPositive', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsStrictlyNegative() const [member function] - cls.add_method('IsStrictlyNegative', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsStrictlyPositive() const [member function] - cls.add_method('IsStrictlyPositive', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsZero() const [member function] - cls.add_method('IsZero', - 'bool', - [], - is_const=True) - ## nstime.h: static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function] - cls.add_method('SetResolution', - 'void', - [param('ns3::Time::Unit', 'resolution')], - is_static=True) - ## nstime.h: ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function] - cls.add_method('To', - 'ns3::int64x64_t', - [param('ns3::Time::Unit', 'timeUnit')], - is_const=True) - ## nstime.h: double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function] - cls.add_method('ToDouble', - 'double', - [param('ns3::Time::Unit', 'timeUnit')], - is_const=True) - ## nstime.h: int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function] - cls.add_method('ToInteger', - 'int64_t', - [param('ns3::Time::Unit', 'timeUnit')], - is_const=True) - return - -def register_Ns3TraceSourceAccessor_methods(root_module, cls): - ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) - ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] - cls.add_constructor([]) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] - cls.add_method('Connect', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] - cls.add_method('ConnectWithoutContext', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] - cls.add_method('Disconnect', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] - cls.add_method('DisconnectWithoutContext', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3TracedValue__Ns3Time_methods(root_module, cls): - ## traced-value.h: ns3::TracedValue::TracedValue() [constructor] - cls.add_constructor([]) - ## traced-value.h: ns3::TracedValue::TracedValue(ns3::TracedValue const & o) [copy constructor] - cls.add_constructor([param('ns3::TracedValue< ns3::Time > const &', 'o')]) - ## traced-value.h: ns3::TracedValue::TracedValue(ns3::Time const & v) [constructor] - cls.add_constructor([param('ns3::Time const &', 'v')]) - ## traced-value.h: 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: void ns3::TracedValue::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('ConnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: 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: void ns3::TracedValue::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('DisconnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: ns3::Time ns3::TracedValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Time', - [], - is_const=True) - ## traced-value.h: void ns3::TracedValue::Set(ns3::Time const & v) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Time const &', 'v')]) - return - -def register_Ns3WallClockSynchronizer_methods(root_module, cls): - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')]) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer() [constructor] - cls.add_constructor([]) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::NS_PER_SEC [variable] - cls.add_static_attribute('NS_PER_SEC', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable] - cls.add_static_attribute('US_PER_NS', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_SEC [variable] - cls.add_static_attribute('US_PER_SEC', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoEventEnd() [member function] - cls.add_method('DoEventEnd', - 'uint64_t', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoEventStart() [member function] - cls.add_method('DoEventStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoGetCurrentRealtime() [member function] - cls.add_method('DoGetCurrentRealtime', - 'uint64_t', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: int64_t ns3::WallClockSynchronizer::DoGetDrift(uint64_t ns) [member function] - cls.add_method('DoGetDrift', - 'int64_t', - [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoRealtime() [member function] - cls.add_method('DoRealtime', - 'bool', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetCondition(bool cond) [member function] - cls.add_method('DoSetCondition', - 'void', - [param('bool', 'cond')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetOrigin(uint64_t ns) [member function] - cls.add_method('DoSetOrigin', - 'void', - [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSignal() [member function] - cls.add_method('DoSignal', - 'void', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] - cls.add_method('DoSynchronize', - 'bool', - [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DriftCorrect(uint64_t nsNow, uint64_t nsDelay) [member function] - cls.add_method('DriftCorrect', - 'uint64_t', - [param('uint64_t', 'nsNow'), param('uint64_t', 'nsDelay')], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function] - cls.add_method('GetNormalizedRealtime', - 'uint64_t', - [], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetRealtime() [member function] - cls.add_method('GetRealtime', - 'uint64_t', - [], - visibility='protected') - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function] - cls.add_method('NsToTimeval', - 'void', - [param('int64_t', 'ns'), param('timeval *', 'tv')], - visibility='protected') - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SleepWait(uint64_t arg0) [member function] - cls.add_method('SleepWait', - 'bool', - [param('uint64_t', 'arg0')], - visibility='protected') - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SpinWait(uint64_t arg0) [member function] - cls.add_method('SpinWait', - 'bool', - [param('uint64_t', 'arg0')], - visibility='protected') - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function] - cls.add_method('TimevalAdd', - 'void', - [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function] - cls.add_method('TimevalToNs', - 'uint64_t', - [param('timeval *', 'tv')], - visibility='protected') - return - -def register_Ns3AttributeAccessor_methods(root_module, cls): - ## attribute.h: ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) - ## attribute.h: ns3::AttributeAccessor::AttributeAccessor() [constructor] - cls.add_constructor([]) - ## attribute.h: bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function] - cls.add_method('Get', - 'bool', - [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeAccessor::HasGetter() const [member function] - cls.add_method('HasGetter', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeAccessor::HasSetter() const [member function] - cls.add_method('HasSetter', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] - cls.add_method('Set', - 'bool', - [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3AttributeChecker_methods(root_module, cls): - ## attribute.h: ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')]) - ## attribute.h: ns3::AttributeChecker::AttributeChecker() [constructor] - cls.add_constructor([]) - ## attribute.h: bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function] - cls.add_method('Check', - 'bool', - [param('ns3::AttributeValue const &', 'value')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function] - cls.add_method('Copy', - 'bool', - [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: ns3::Ptr ns3::AttributeChecker::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] - cls.add_method('GetUnderlyingTypeInformation', - 'std::string', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: std::string ns3::AttributeChecker::GetValueTypeName() const [member function] - cls.add_method('GetValueTypeName', - 'std::string', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function] - cls.add_method('HasUnderlyingTypeInformation', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3AttributeValue_methods(root_module, cls): - ## attribute.h: ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')]) - ## attribute.h: ns3::AttributeValue::AttributeValue() [constructor] - cls.add_constructor([]) - ## attribute.h: ns3::Ptr ns3::AttributeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeValue::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_pure_virtual=True, is_virtual=True) - ## attribute.h: std::string ns3::AttributeValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3BooleanChecker_methods(root_module, cls): - ## boolean.h: ns3::BooleanChecker::BooleanChecker() [constructor] - cls.add_constructor([]) - ## boolean.h: 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: ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')]) - ## boolean.h: ns3::BooleanValue::BooleanValue() [constructor] - cls.add_constructor([]) - ## boolean.h: ns3::BooleanValue::BooleanValue(bool value) [constructor] - cls.add_constructor([param('bool', 'value')]) - ## boolean.h: ns3::Ptr ns3::BooleanValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## boolean.h: 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: bool ns3::BooleanValue::Get() const [member function] - cls.add_method('Get', - 'bool', - [], - is_const=True) - ## boolean.h: 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: void ns3::BooleanValue::Set(bool value) [member function] - cls.add_method('Set', - 'void', - [param('bool', 'value')]) - return - -def register_Ns3CalendarScheduler_methods(root_module, cls): - ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler(ns3::CalendarScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CalendarScheduler const &', 'arg0')]) - ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler() [constructor] - cls.add_constructor([]) - ## calendar-scheduler.h: static ns3::TypeId ns3::CalendarScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## calendar-scheduler.h: void ns3::CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## calendar-scheduler.h: bool ns3::CalendarScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## calendar-scheduler.h: void ns3::CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3CallbackChecker_methods(root_module, cls): - ## callback.h: ns3::CallbackChecker::CallbackChecker() [constructor] - cls.add_constructor([]) - ## callback.h: ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')]) - return - -def register_Ns3CallbackImplBase_methods(root_module, cls): - ## callback.h: ns3::CallbackImplBase::CallbackImplBase() [constructor] - cls.add_constructor([]) - ## callback.h: ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')]) - ## callback.h: bool ns3::CallbackImplBase::IsEqual(ns3::Ptr other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3CallbackValue_methods(root_module, cls): - ## callback.h: ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')]) - ## callback.h: ns3::CallbackValue::CallbackValue() [constructor] - cls.add_constructor([]) - ## callback.h: ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor] - cls.add_constructor([param('ns3::CallbackBase const &', 'base')]) - ## callback.h: ns3::Ptr ns3::CallbackValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## callback.h: bool ns3::CallbackValue::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) - ## callback.h: std::string ns3::CallbackValue::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) - ## callback.h: void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function] - cls.add_method('Set', - 'void', - [param('ns3::CallbackBase', 'base')]) - return - -def register_Ns3DefaultSimulatorImpl_methods(root_module, cls): - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')]) - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor] - cls.add_constructor([]) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3DoubleValue_methods(root_module, cls): - ## double.h: ns3::DoubleValue::DoubleValue() [constructor] - cls.add_constructor([]) - ## double.h: ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')]) - ## double.h: ns3::DoubleValue::DoubleValue(double const & value) [constructor] - cls.add_constructor([param('double const &', 'value')]) - ## double.h: ns3::Ptr ns3::DoubleValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## double.h: 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: double ns3::DoubleValue::Get() const [member function] - cls.add_method('Get', - 'double', - [], - is_const=True) - ## double.h: 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: void ns3::DoubleValue::Set(double const & value) [member function] - cls.add_method('Set', - 'void', - [param('double const &', 'value')]) - return - -def register_Ns3EmptyAttributeValue_methods(root_module, cls): - ## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')]) - ## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor] - cls.add_constructor([]) - ## attribute.h: ns3::Ptr ns3::EmptyAttributeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, visibility='private', is_virtual=True) - ## attribute.h: bool ns3::EmptyAttributeValue::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')], - visibility='private', is_virtual=True) - ## attribute.h: std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3EnumChecker_methods(root_module, cls): - ## enum.h: ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')]) - ## enum.h: ns3::EnumChecker::EnumChecker() [constructor] - cls.add_constructor([]) - ## enum.h: void ns3::EnumChecker::Add(int v, std::string name) [member function] - cls.add_method('Add', - 'void', - [param('int', 'v'), param('std::string', 'name')]) - ## enum.h: void ns3::EnumChecker::AddDefault(int v, std::string name) [member function] - cls.add_method('AddDefault', - 'void', - [param('int', 'v'), param('std::string', 'name')]) - ## enum.h: 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: 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: ns3::Ptr ns3::EnumChecker::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## enum.h: std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function] - cls.add_method('GetUnderlyingTypeInformation', - 'std::string', - [], - is_const=True, is_virtual=True) - ## enum.h: std::string ns3::EnumChecker::GetValueTypeName() const [member function] - cls.add_method('GetValueTypeName', - 'std::string', - [], - is_const=True, is_virtual=True) - ## enum.h: 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: ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnumValue const &', 'arg0')]) - ## enum.h: ns3::EnumValue::EnumValue() [constructor] - cls.add_constructor([]) - ## enum.h: ns3::EnumValue::EnumValue(int v) [constructor] - cls.add_constructor([param('int', 'v')]) - ## enum.h: ns3::Ptr ns3::EnumValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## enum.h: 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: int ns3::EnumValue::Get() const [member function] - cls.add_method('Get', - 'int', - [], - is_const=True) - ## enum.h: 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: void ns3::EnumValue::Set(int v) [member function] - cls.add_method('Set', - 'void', - [param('int', 'v')]) - return - -def register_Ns3EventImpl_methods(root_module, cls): - ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) - ## event-impl.h: ns3::EventImpl::EventImpl() [constructor] - cls.add_constructor([]) - ## event-impl.h: void ns3::EventImpl::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## event-impl.h: void ns3::EventImpl::Invoke() [member function] - cls.add_method('Invoke', - 'void', - []) - ## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function] - cls.add_method('IsCancelled', - 'bool', - []) - ## event-impl.h: void ns3::EventImpl::Notify() [member function] - cls.add_method('Notify', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3FdReader_methods(root_module, cls): - ## unix-fd-reader.h: ns3::FdReader::FdReader(ns3::FdReader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FdReader const &', 'arg0')]) - ## unix-fd-reader.h: ns3::FdReader::FdReader() [constructor] - cls.add_constructor([]) - ## unix-fd-reader.h: void ns3::FdReader::Start(int fd, ns3::Callback readCallback) [member function] - cls.add_method('Start', - 'void', - [param('int', 'fd'), param('ns3::Callback< void, unsigned char *, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'readCallback')]) - ## unix-fd-reader.h: void ns3::FdReader::Stop() [member function] - cls.add_method('Stop', - 'void', - []) - ## unix-fd-reader.h: ns3::FdReader::Data ns3::FdReader::DoRead() [member function] - cls.add_method('DoRead', - 'ns3::FdReader::Data', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3HeapScheduler_methods(root_module, cls): - ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler(ns3::HeapScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HeapScheduler const &', 'arg0')]) - ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor] - cls.add_constructor([]) - ## heap-scheduler.h: static ns3::TypeId ns3::HeapScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## heap-scheduler.h: void ns3::HeapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3IntegerValue_methods(root_module, cls): - ## integer.h: ns3::IntegerValue::IntegerValue() [constructor] - cls.add_constructor([]) - ## integer.h: ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')]) - ## integer.h: ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor] - cls.add_constructor([param('int64_t const &', 'value')]) - ## integer.h: ns3::Ptr ns3::IntegerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## integer.h: 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: int64_t ns3::IntegerValue::Get() const [member function] - cls.add_method('Get', - 'int64_t', - [], - is_const=True) - ## integer.h: 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: void ns3::IntegerValue::Set(int64_t const & value) [member function] - cls.add_method('Set', - 'void', - [param('int64_t const &', 'value')]) - return - -def register_Ns3ListScheduler_methods(root_module, cls): - ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')]) - ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor] - cls.add_constructor([]) - ## list-scheduler.h: static ns3::TypeId ns3::ListScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## list-scheduler.h: void ns3::ListScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3MapScheduler_methods(root_module, cls): - ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')]) - ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor] - cls.add_constructor([]) - ## map-scheduler.h: static ns3::TypeId ns3::MapScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## map-scheduler.h: void ns3::MapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3Ns2CalendarScheduler_methods(root_module, cls): - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler(ns3::Ns2CalendarScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ns2CalendarScheduler const &', 'arg0')]) - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler() [constructor] - cls.add_constructor([]) - ## ns2-calendar-scheduler.h: static ns3::TypeId ns3::Ns2CalendarScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## ns2-calendar-scheduler.h: bool ns3::Ns2CalendarScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3ObjectFactoryChecker_methods(root_module, cls): - ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] - cls.add_constructor([]) - ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')]) - return - -def register_Ns3ObjectFactoryValue_methods(root_module, cls): - ## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor] - cls.add_constructor([]) - ## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')]) - ## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor] - cls.add_constructor([param('ns3::ObjectFactory const &', 'value')]) - ## object-factory.h: ns3::Ptr ns3::ObjectFactoryValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## object-factory.h: bool ns3::ObjectFactoryValue::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) - ## object-factory.h: ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function] - cls.add_method('Get', - 'ns3::ObjectFactory', - [], - is_const=True) - ## object-factory.h: std::string ns3::ObjectFactoryValue::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) - ## object-factory.h: void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::ObjectFactory const &', 'value')]) - return - -def register_Ns3ObjectVectorAccessor_methods(root_module, cls): - ## object-vector.h: ns3::ObjectVectorAccessor::ObjectVectorAccessor() [constructor] - cls.add_constructor([]) - ## object-vector.h: ns3::ObjectVectorAccessor::ObjectVectorAccessor(ns3::ObjectVectorAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorAccessor const &', 'arg0')]) - ## object-vector.h: bool ns3::ObjectVectorAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & value) const [member function] - cls.add_method('Get', - 'bool', - [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'value')], - is_const=True, is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorAccessor::HasGetter() const [member function] - cls.add_method('HasGetter', - 'bool', - [], - is_const=True, is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorAccessor::HasSetter() const [member function] - cls.add_method('HasSetter', - 'bool', - [], - is_const=True, is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] - cls.add_method('Set', - 'bool', - [param('ns3::ObjectBase *', 'object'), param('ns3::AttributeValue const &', 'value')], - is_const=True, is_virtual=True) - ## object-vector.h: ns3::Ptr ns3::ObjectVectorAccessor::DoGet(ns3::ObjectBase const * object, uint32_t i) const [member function] - cls.add_method('DoGet', - 'ns3::Ptr< ns3::Object >', - [param('ns3::ObjectBase const *', 'object'), param('uint32_t', 'i')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorAccessor::DoGetN(ns3::ObjectBase const * object, uint32_t * n) const [member function] - cls.add_method('DoGetN', - 'bool', - [param('ns3::ObjectBase const *', 'object'), param('uint32_t *', 'n')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ObjectVectorChecker_methods(root_module, cls): - ## object-vector.h: ns3::ObjectVectorChecker::ObjectVectorChecker() [constructor] - cls.add_constructor([]) - ## object-vector.h: ns3::ObjectVectorChecker::ObjectVectorChecker(ns3::ObjectVectorChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorChecker const &', 'arg0')]) - ## object-vector.h: ns3::TypeId ns3::ObjectVectorChecker::GetItemTypeId() const [member function] - cls.add_method('GetItemTypeId', - 'ns3::TypeId', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3ObjectVectorValue_methods(root_module, cls): - ## object-vector.h: ns3::ObjectVectorValue::ObjectVectorValue(ns3::ObjectVectorValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorValue const &', 'arg0')]) - ## object-vector.h: ns3::ObjectVectorValue::ObjectVectorValue() [constructor] - cls.add_constructor([]) - ## object-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', - [], - is_const=True) - ## object-vector.h: ns3::Ptr ns3::ObjectVectorValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorValue::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) - ## object-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', - [], - is_const=True) - ## object-vector.h: ns3::Ptr ns3::ObjectVectorValue::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::Object >', - [param('uint32_t', 'i')], - is_const=True) - ## object-vector.h: uint32_t ns3::ObjectVectorValue::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## object-vector.h: std::string ns3::ObjectVectorValue::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) - return - -def register_Ns3PointerChecker_methods(root_module, cls): - ## pointer.h: ns3::PointerChecker::PointerChecker() [constructor] - cls.add_constructor([]) - ## pointer.h: ns3::PointerChecker::PointerChecker(ns3::PointerChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointerChecker const &', 'arg0')]) - ## pointer.h: ns3::TypeId ns3::PointerChecker::GetPointeeTypeId() const [member function] - cls.add_method('GetPointeeTypeId', - 'ns3::TypeId', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3PointerValue_methods(root_module, cls): - ## pointer.h: ns3::PointerValue::PointerValue(ns3::PointerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointerValue const &', 'arg0')]) - ## pointer.h: ns3::PointerValue::PointerValue() [constructor] - cls.add_constructor([]) - ## pointer.h: ns3::PointerValue::PointerValue(ns3::Ptr object) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Object >', 'object')]) - ## pointer.h: ns3::Ptr ns3::PointerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## pointer.h: bool ns3::PointerValue::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) - ## pointer.h: ns3::Ptr ns3::PointerValue::GetObject() const [member function] - cls.add_method('GetObject', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## pointer.h: std::string ns3::PointerValue::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) - ## pointer.h: void ns3::PointerValue::SetObject(ns3::Ptr object) [member function] - cls.add_method('SetObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'object')]) - return - -def register_Ns3RandomVariableChecker_methods(root_module, cls): - ## random-variable.h: ns3::RandomVariableChecker::RandomVariableChecker() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')]) - return - -def register_Ns3RandomVariableValue_methods(root_module, cls): - ## random-variable.h: ns3::RandomVariableValue::RandomVariableValue() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')]) - ## random-variable.h: ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor] - cls.add_constructor([param('ns3::RandomVariable const &', 'value')]) - ## random-variable.h: ns3::Ptr ns3::RandomVariableValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## random-variable.h: bool ns3::RandomVariableValue::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) - ## random-variable.h: ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function] - cls.add_method('Get', - 'ns3::RandomVariable', - [], - is_const=True) - ## random-variable.h: std::string ns3::RandomVariableValue::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) - ## random-variable.h: void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::RandomVariable const &', 'value')]) - return - -def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls): - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')]) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor] - cls.add_constructor([]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function] - cls.add_method('GetHardLimit', - 'ns3::Time', - [], - is_const=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function] - cls.add_method('GetSynchronizationMode', - 'ns3::RealtimeSimulatorImpl::SynchronizationMode', - [], - is_const=True) - ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::RealtimeNow() const [member function] - cls.add_method('RealtimeNow', - 'ns3::Time', - [], - is_const=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtime(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtime', - 'void', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeNow', - 'void', - [param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNowWithContext(uint32_t context, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeNowWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function] - cls.add_method('SetHardLimit', - 'void', - [param('ns3::Time', 'limit')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function] - cls.add_method('SetSynchronizationMode', - 'void', - [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RefCountBase_methods(root_module, cls): - ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor] - cls.add_constructor([]) - ## ref-count-base.h: ns3::RefCountBase::RefCountBase(ns3::RefCountBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RefCountBase const &', 'arg0')]) - return - -def register_Ns3StringChecker_methods(root_module, cls): - ## string.h: ns3::StringChecker::StringChecker() [constructor] - cls.add_constructor([]) - ## string.h: ns3::StringChecker::StringChecker(ns3::StringChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::StringChecker const &', 'arg0')]) - return - -def register_Ns3StringValue_methods(root_module, cls): - ## string.h: ns3::StringValue::StringValue() [constructor] - cls.add_constructor([]) - ## string.h: ns3::StringValue::StringValue(ns3::StringValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::StringValue const &', 'arg0')]) - ## string.h: ns3::StringValue::StringValue(std::string const & value) [constructor] - cls.add_constructor([param('std::string const &', 'value')]) - ## string.h: ns3::Ptr ns3::StringValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## string.h: bool ns3::StringValue::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) - ## string.h: std::string ns3::StringValue::Get() const [member function] - cls.add_method('Get', - 'std::string', - [], - is_const=True) - ## string.h: std::string ns3::StringValue::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) - ## string.h: void ns3::StringValue::Set(std::string const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string const &', 'value')]) - return - -def register_Ns3TimeChecker_methods(root_module, cls): - ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')]) - return - -def register_Ns3TimeValue_methods(root_module, cls): - ## nstime.h: ns3::TimeValue::TimeValue() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeValue const &', 'arg0')]) - ## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor] - cls.add_constructor([param('ns3::Time const &', 'value')]) - ## nstime.h: ns3::Ptr ns3::TimeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## nstime.h: bool ns3::TimeValue::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) - ## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Time', - [], - is_const=True) - ## nstime.h: std::string ns3::TimeValue::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) - ## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Time const &', 'value')]) - return - -def register_Ns3TypeIdChecker_methods(root_module, cls): - ## type-id.h: ns3::TypeIdChecker::TypeIdChecker() [constructor] - cls.add_constructor([]) - ## type-id.h: ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')]) - return - -def register_Ns3TypeIdValue_methods(root_module, cls): - ## type-id.h: ns3::TypeIdValue::TypeIdValue() [constructor] - cls.add_constructor([]) - ## type-id.h: ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')]) - ## type-id.h: ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor] - cls.add_constructor([param('ns3::TypeId const &', 'value')]) - ## type-id.h: ns3::Ptr ns3::TypeIdValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## type-id.h: bool ns3::TypeIdValue::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) - ## type-id.h: ns3::TypeId ns3::TypeIdValue::Get() const [member function] - cls.add_method('Get', - 'ns3::TypeId', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeIdValue::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) - ## type-id.h: void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::TypeId const &', 'value')]) - return - -def register_Ns3UintegerValue_methods(root_module, cls): - ## uinteger.h: ns3::UintegerValue::UintegerValue() [constructor] - cls.add_constructor([]) - ## uinteger.h: ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')]) - ## uinteger.h: ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor] - cls.add_constructor([param('uint64_t const &', 'value')]) - ## uinteger.h: ns3::Ptr ns3::UintegerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## uinteger.h: 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: uint64_t ns3::UintegerValue::Get() const [member function] - cls.add_method('Get', - 'uint64_t', - [], - is_const=True) - ## uinteger.h: 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: void ns3::UintegerValue::Set(uint64_t const & value) [member function] - cls.add_method('Set', - 'void', - [param('uint64_t const &', 'value')]) - return - -def register_Ns3Vector2DChecker_methods(root_module, cls): - ## vector.h: ns3::Vector2DChecker::Vector2DChecker() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector2DChecker::Vector2DChecker(ns3::Vector2DChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector2DChecker const &', 'arg0')]) - return - -def register_Ns3Vector2DValue_methods(root_module, cls): - ## vector.h: ns3::Vector2DValue::Vector2DValue() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector2DValue::Vector2DValue(ns3::Vector2DValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector2DValue const &', 'arg0')]) - ## vector.h: ns3::Vector2DValue::Vector2DValue(ns3::Vector2D const & value) [constructor] - cls.add_constructor([param('ns3::Vector2D const &', 'value')]) - ## vector.h: ns3::Ptr ns3::Vector2DValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## vector.h: bool ns3::Vector2DValue::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) - ## vector.h: ns3::Vector2D ns3::Vector2DValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Vector2D', - [], - is_const=True) - ## vector.h: std::string ns3::Vector2DValue::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) - ## vector.h: void ns3::Vector2DValue::Set(ns3::Vector2D const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Vector2D const &', 'value')]) - return - -def register_Ns3Vector3DChecker_methods(root_module, cls): - ## vector.h: ns3::Vector3DChecker::Vector3DChecker() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector3DChecker::Vector3DChecker(ns3::Vector3DChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector3DChecker const &', 'arg0')]) - return - -def register_Ns3Vector3DValue_methods(root_module, cls): - ## vector.h: ns3::Vector3DValue::Vector3DValue() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector3DValue::Vector3DValue(ns3::Vector3DValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector3DValue const &', 'arg0')]) - ## vector.h: ns3::Vector3DValue::Vector3DValue(ns3::Vector3D const & value) [constructor] - cls.add_constructor([param('ns3::Vector3D const &', 'value')]) - ## vector.h: ns3::Ptr ns3::Vector3DValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## vector.h: bool ns3::Vector3DValue::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) - ## vector.h: ns3::Vector3D ns3::Vector3DValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Vector3D', - [], - is_const=True) - ## vector.h: std::string ns3::Vector3DValue::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) - ## vector.h: void ns3::Vector3DValue::Set(ns3::Vector3D const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Vector3D const &', 'value')]) - return - -def register_Ns3ConfigMatchContainer_methods(root_module, cls): - ## config.h: ns3::Config::MatchContainer::MatchContainer(ns3::Config::MatchContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Config::MatchContainer const &', 'arg0')]) - ## config.h: ns3::Config::MatchContainer::MatchContainer() [constructor] - cls.add_constructor([]) - ## config.h: ns3::Config::MatchContainer::MatchContainer(std::vector, std::allocator > > const & objects, std::vector > const & contexts, std::string path) [constructor] - cls.add_constructor([param('std::vector< ns3::Ptr< ns3::Object > > const &', 'objects'), param('std::vector< std::string > const &', 'contexts'), param('std::string', 'path')]) - ## config.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', - [], - is_const=True) - ## config.h: void ns3::Config::MatchContainer::Connect(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('Connect', - 'void', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: void ns3::Config::MatchContainer::ConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('ConnectWithoutContext', - 'void', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: void ns3::Config::MatchContainer::Disconnect(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('Disconnect', - 'void', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: void ns3::Config::MatchContainer::DisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('DisconnectWithoutContext', - 'void', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', - [], - is_const=True) - ## config.h: ns3::Ptr ns3::Config::MatchContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::Object >', - [param('uint32_t', 'i')], - is_const=True) - ## config.h: std::string ns3::Config::MatchContainer::GetMatchedPath(uint32_t i) const [member function] - cls.add_method('GetMatchedPath', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## config.h: uint32_t ns3::Config::MatchContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## config.h: std::string ns3::Config::MatchContainer::GetPath() const [member function] - cls.add_method('GetPath', - 'std::string', - [], - is_const=True) - ## config.h: void ns3::Config::MatchContainer::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_functions(root_module): - module = root_module - ## nstime.h: ns3::Time ns3::Abs(ns3::Time const & time) [free function] - module.add_function('Abs', - 'ns3::Time', - [param('ns3::Time const &', 'time')]) - ## int64x64.h: ns3::int64x64_t ns3::Abs(ns3::int64x64_t const & value) [free function] - module.add_function('Abs', - 'ns3::int64x64_t', - [param('ns3::int64x64_t const &', 'value')]) - ## breakpoint.h: extern void ns3::BreakpointFallback() [free function] - module.add_function('BreakpointFallback', - 'void', - []) - ## vector.h: extern double ns3::CalculateDistance(ns3::Vector2D const & a, ns3::Vector2D const & b) [free function] - module.add_function('CalculateDistance', - 'double', - [param('ns3::Vector2D const &', 'a'), param('ns3::Vector2D const &', 'b')]) - ## vector.h: extern double ns3::CalculateDistance(ns3::Vector3D const & a, ns3::Vector3D const & b) [free function] - module.add_function('CalculateDistance', - 'double', - [param('ns3::Vector3D const &', 'a'), param('ns3::Vector3D const &', 'b')]) - ## ptr.h: extern ns3::Ptr ns3::Create() [free function] - module.add_function('Create', - 'ns3::Ptr< ns3::ObjectVectorValue >', - [], - template_parameters=['ns3::ObjectVectorValue']) - ## ptr.h: extern ns3::Ptr ns3::Create() [free function] - module.add_function('Create', - 'ns3::Ptr< ns3::PointerValue >', - [], - template_parameters=['ns3::PointerValue']) - ## nstime.h: ns3::Time ns3::FemtoSeconds(ns3::int64x64_t fs) [free function] - module.add_function('FemtoSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'fs')]) - ## nstime.h: ns3::Time ns3::FemtoSeconds(uint64_t fs) [free function] - module.add_function('FemtoSeconds', - 'ns3::Time', - [param('uint64_t', 'fs')]) - ## log.h: extern void ns3::LogComponentDisable(char const * name, ns3::LogLevel level) [free function] - module.add_function('LogComponentDisable', - 'void', - [param('char const *', 'name'), param('ns3::LogLevel', 'level')]) - ## log.h: extern void ns3::LogComponentDisableAll(ns3::LogLevel level) [free function] - module.add_function('LogComponentDisableAll', - 'void', - [param('ns3::LogLevel', 'level')]) - ## log.h: extern void ns3::LogComponentEnable(char const * name, ns3::LogLevel level) [free function] - module.add_function('LogComponentEnable', - 'void', - [param('char const *', 'name'), param('ns3::LogLevel', 'level')]) - ## log.h: extern void ns3::LogComponentEnableAll(ns3::LogLevel level) [free function] - module.add_function('LogComponentEnableAll', - 'void', - [param('ns3::LogLevel', 'level')]) - ## log.h: extern void ns3::LogComponentPrintList() [free function] - module.add_function('LogComponentPrintList', - 'void', - []) - ## log.h: extern ns3::LogNodePrinter ns3::LogGetNodePrinter() [free function] - module.add_function('LogGetNodePrinter', - 'ns3::LogNodePrinter', - []) - ## log.h: extern ns3::LogTimePrinter ns3::LogGetTimePrinter() [free function] - module.add_function('LogGetTimePrinter', - 'ns3::LogTimePrinter', - []) - ## log.h: extern void ns3::LogSetNodePrinter(ns3::LogNodePrinter arg0) [free function] - module.add_function('LogSetNodePrinter', - 'void', - [param('ns3::LogNodePrinter', 'arg0')]) - ## log.h: extern void ns3::LogSetTimePrinter(ns3::LogTimePrinter arg0) [free function] - module.add_function('LogSetTimePrinter', - 'void', - [param('ns3::LogTimePrinter', 'arg0')]) - ## boolean.h: extern ns3::Ptr ns3::MakeBooleanChecker() [free function] - module.add_function('MakeBooleanChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## callback.h: extern ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] - module.add_function('MakeBoundCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamWrapper >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) - ## callback.h: extern ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] - module.add_function('MakeBoundCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::PcapFileWrapper >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::PcapFileWrapper >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) - ## callback.h: extern ns3::Callback, std::allocator >,ns3::Ptr,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::std::basic_string,std::allocator >,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] - module.add_function('MakeBoundCallback', - 'ns3::Callback< void, std::basic_string< char, std::char_traits< char >, std::allocator< char > >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamWrapper >, std::string, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'std::string', 'ns3::Ptr']) - ## callback.h: extern ns3::Ptr ns3::MakeCallbackChecker() [free function] - module.add_function('MakeCallbackChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## enum.h: extern ns3::Ptr ns3::MakeEnumChecker(int v1, std::string n1, int v2=0, std::string n2="", int v3=0, std::string n3="", int v4=0, std::string n4="", int v5=0, std::string n5="", int v6=0, std::string n6="", int v7=0, std::string n7="", int v8=0, std::string n8="", int v9=0, std::string n9="", int v10=0, std::string n10="", int v11=0, std::string n11="", int v12=0, std::string n12="", int v13=0, std::string n13="", int v14=0, std::string n14="", int v15=0, std::string n15="", int v16=0, std::string n16="", int v17=0, std::string n17="", int v18=0, std::string n18="", int v19=0, std::string n19="", int v20=0, std::string n20="", int v21=0, std::string n21="", int v22=0, std::string n22="") [free function] - module.add_function('MakeEnumChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('int', 'v1'), param('std::string', 'n1'), param('int', 'v2', default_value='0'), param('std::string', 'n2', default_value='""'), param('int', 'v3', default_value='0'), param('std::string', 'n3', default_value='""'), param('int', 'v4', default_value='0'), param('std::string', 'n4', default_value='""'), param('int', 'v5', default_value='0'), param('std::string', 'n5', default_value='""'), param('int', 'v6', default_value='0'), param('std::string', 'n6', default_value='""'), param('int', 'v7', default_value='0'), param('std::string', 'n7', default_value='""'), param('int', 'v8', default_value='0'), param('std::string', 'n8', default_value='""'), param('int', 'v9', default_value='0'), param('std::string', 'n9', default_value='""'), param('int', 'v10', default_value='0'), param('std::string', 'n10', default_value='""'), param('int', 'v11', default_value='0'), param('std::string', 'n11', default_value='""'), param('int', 'v12', default_value='0'), param('std::string', 'n12', default_value='""'), param('int', 'v13', default_value='0'), param('std::string', 'n13', default_value='""'), param('int', 'v14', default_value='0'), param('std::string', 'n14', default_value='""'), param('int', 'v15', default_value='0'), param('std::string', 'n15', default_value='""'), param('int', 'v16', default_value='0'), param('std::string', 'n16', default_value='""'), param('int', 'v17', default_value='0'), param('std::string', 'n17', default_value='""'), param('int', 'v18', default_value='0'), param('std::string', 'n18', default_value='""'), param('int', 'v19', default_value='0'), param('std::string', 'n19', default_value='""'), param('int', 'v20', default_value='0'), param('std::string', 'n20', default_value='""'), param('int', 'v21', default_value='0'), param('std::string', 'n21', default_value='""'), param('int', 'v22', default_value='0'), param('std::string', 'n22', default_value='""')]) - ## make-event.h: extern ns3::EventImpl * ns3::MakeEvent(void (*)( ) * f) [free function] - module.add_function('MakeEvent', - 'ns3::EventImpl *', - [param('void ( * ) ( ) *', 'f')]) - ## object-factory.h: extern ns3::Ptr ns3::MakeObjectFactoryChecker() [free function] - module.add_function('MakeObjectFactoryChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## random-variable.h: extern ns3::Ptr ns3::MakeRandomVariableChecker() [free function] - module.add_function('MakeRandomVariableChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## string.h: extern ns3::Ptr ns3::MakeStringChecker() [free function] - module.add_function('MakeStringChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## nstime.h: extern ns3::Ptr ns3::MakeTimeChecker() [free function] - module.add_function('MakeTimeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## type-id.h: extern ns3::Ptr ns3::MakeTypeIdChecker() [free function] - module.add_function('MakeTypeIdChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## vector.h: extern ns3::Ptr ns3::MakeVector2DChecker() [free function] - module.add_function('MakeVector2DChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## vector.h: extern ns3::Ptr ns3::MakeVector3DChecker() [free function] - module.add_function('MakeVector3DChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## vector.h: extern ns3::Ptr ns3::MakeVectorChecker() [free function] - module.add_function('MakeVectorChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## nstime.h: ns3::Time ns3::Max(ns3::Time const & ta, ns3::Time const & tb) [free function] - module.add_function('Max', - 'ns3::Time', - [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) - ## int64x64.h: ns3::int64x64_t ns3::Max(ns3::int64x64_t const & a, ns3::int64x64_t const & b) [free function] - module.add_function('Max', - 'ns3::int64x64_t', - [param('ns3::int64x64_t const &', 'a'), param('ns3::int64x64_t const &', 'b')]) - ## nstime.h: ns3::Time ns3::MicroSeconds(ns3::int64x64_t us) [free function] - module.add_function('MicroSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'us')]) - ## nstime.h: ns3::Time ns3::MicroSeconds(uint64_t us) [free function] - module.add_function('MicroSeconds', - 'ns3::Time', - [param('uint64_t', 'us')]) - ## nstime.h: ns3::Time ns3::MilliSeconds(ns3::int64x64_t ms) [free function] - module.add_function('MilliSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'ms')]) - ## nstime.h: ns3::Time ns3::MilliSeconds(uint64_t ms) [free function] - module.add_function('MilliSeconds', - 'ns3::Time', - [param('uint64_t', 'ms')]) - ## nstime.h: ns3::Time ns3::Min(ns3::Time const & ta, ns3::Time const & tb) [free function] - module.add_function('Min', - 'ns3::Time', - [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) - ## int64x64.h: ns3::int64x64_t ns3::Min(ns3::int64x64_t const & a, ns3::int64x64_t const & b) [free function] - module.add_function('Min', - 'ns3::int64x64_t', - [param('ns3::int64x64_t const &', 'a'), param('ns3::int64x64_t const &', 'b')]) - ## nstime.h: ns3::Time ns3::NanoSeconds(ns3::int64x64_t ns) [free function] - module.add_function('NanoSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'ns')]) - ## nstime.h: ns3::Time ns3::NanoSeconds(uint64_t ns) [free function] - module.add_function('NanoSeconds', - 'ns3::Time', - [param('uint64_t', 'ns')]) - ## simulator.h: extern ns3::Time ns3::Now() [free function] - module.add_function('Now', - 'ns3::Time', - []) - ## nstime.h: ns3::Time ns3::PicoSeconds(ns3::int64x64_t ps) [free function] - module.add_function('PicoSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'ps')]) - ## nstime.h: ns3::Time ns3::PicoSeconds(uint64_t ps) [free function] - module.add_function('PicoSeconds', - 'ns3::Time', - [param('uint64_t', 'ps')]) - ## nstime.h: ns3::Time ns3::Seconds(ns3::int64x64_t seconds) [free function] - module.add_function('Seconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'seconds')]) - ## nstime.h: ns3::Time ns3::Seconds(double seconds) [free function] - module.add_function('Seconds', - 'ns3::Time', - [param('double', 'seconds')]) - ## test.h: extern bool ns3::TestDoubleIsEqual(double const a, double const b, double const epsilon=std::numeric_limits::epsilon()) [free function] - module.add_function('TestDoubleIsEqual', - 'bool', - [param('double const', 'a'), param('double const', 'b'), param('double const', 'epsilon', default_value='std::numeric_limits::epsilon()')]) - ## nstime.h: ns3::Time ns3::TimeStep(uint64_t ts) [free function] - module.add_function('TimeStep', - 'ns3::Time', - [param('uint64_t', 'ts')]) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['double']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['float']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['long long']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['int']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['short']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['signed char']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['unsigned long long']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['unsigned int']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['unsigned short']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['unsigned char']) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - ## config.h: extern void ns3::Config::Connect(std::string path, ns3::CallbackBase const & cb) [free function] - module.add_function('Connect', - 'void', - [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: extern void ns3::Config::ConnectWithoutContext(std::string path, ns3::CallbackBase const & cb) [free function] - module.add_function('ConnectWithoutContext', - 'void', - [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: extern void ns3::Config::Disconnect(std::string path, ns3::CallbackBase const & cb) [free function] - module.add_function('Disconnect', - 'void', - [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: extern void ns3::Config::DisconnectWithoutContext(std::string path, ns3::CallbackBase const & cb) [free function] - module.add_function('DisconnectWithoutContext', - 'void', - [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: extern ns3::Ptr ns3::Config::GetRootNamespaceObject(uint32_t i) [free function] - module.add_function('GetRootNamespaceObject', - 'ns3::Ptr< ns3::Object >', - [param('uint32_t', 'i')]) - ## config.h: extern uint32_t ns3::Config::GetRootNamespaceObjectN() [free function] - module.add_function('GetRootNamespaceObjectN', - 'uint32_t', - []) - ## config.h: extern ns3::Config::MatchContainer ns3::Config::LookupMatches(std::string path) [free function] - module.add_function('LookupMatches', - 'ns3::Config::MatchContainer', - [param('std::string', 'path')]) - ## config.h: extern void ns3::Config::RegisterRootNamespaceObject(ns3::Ptr obj) [free function] - module.add_function('RegisterRootNamespaceObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'obj')]) - ## config.h: extern void ns3::Config::Set(std::string path, ns3::AttributeValue const & value) [free function] - module.add_function('Set', - 'void', - [param('std::string', 'path'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern void ns3::Config::SetDefault(std::string name, ns3::AttributeValue const & value) [free function] - module.add_function('SetDefault', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern bool ns3::Config::SetDefaultFailSafe(std::string name, ns3::AttributeValue const & value) [free function] - module.add_function('SetDefaultFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern void ns3::Config::SetGlobal(std::string name, ns3::AttributeValue const & value) [free function] - module.add_function('SetGlobal', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern bool ns3::Config::SetGlobalFailSafe(std::string name, ns3::AttributeValue const & value) [free function] - module.add_function('SetGlobalFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern void ns3::Config::UnregisterRootNamespaceObject(ns3::Ptr obj) [free function] - module.add_function('UnregisterRootNamespaceObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'obj')]) - return - -def register_functions_ns3_FatalImpl(module, root_module): - ## fatal-impl.h: extern void ns3::FatalImpl::FlushStreams() [free function] - module.add_function('FlushStreams', - 'void', - []) - ## fatal-impl.h: extern void ns3::FatalImpl::RegisterStream(std::ostream * stream) [free function] - module.add_function('RegisterStream', - 'void', - [param('std::ostream *', 'stream')]) - ## fatal-impl.h: extern void ns3::FatalImpl::UnregisterStream(std::ostream * stream) [free function] - module.add_function('UnregisterStream', - 'void', - [param('std::ostream *', 'stream')]) - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - ## double.h: extern ns3::Ptr ns3::internal::MakeDoubleChecker(double min, double max, std::string name) [free function] - module.add_function('MakeDoubleChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('double', 'min'), param('double', 'max'), param('std::string', 'name')]) - ## integer.h: extern ns3::Ptr ns3::internal::MakeIntegerChecker(int64_t min, int64_t max, std::string name) [free function] - module.add_function('MakeIntegerChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('int64_t', 'min'), param('int64_t', 'max'), param('std::string', 'name')]) - ## uinteger.h: extern ns3::Ptr ns3::internal::MakeUintegerChecker(uint64_t min, uint64_t max, std::string name) [free function] - module.add_function('MakeUintegerChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint64_t', 'min'), param('uint64_t', 'max'), param('std::string', 'name')]) - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py deleted file mode 100644 index 007b76111..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_csma.py +++ /dev/null @@ -1,617 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## csma-channel.h: ns3::WireState [enumeration] - module.add_enum('WireState', ['IDLE', 'TRANSMITTING', 'PROPAGATING']) - ## backoff.h: ns3::Backoff [class] - module.add_class('Backoff') - ## csma-channel.h: ns3::CsmaDeviceRec [class] - module.add_class('CsmaDeviceRec') - ## csma-star-helper.h: ns3::CsmaStarHelper [class] - module.add_class('CsmaStarHelper') - ## csma-helper.h: ns3::CsmaHelper [class] - module.add_class('CsmaHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## csma-channel.h: ns3::CsmaChannel [class] - module.add_class('CsmaChannel', parent=root_module['ns3::Channel']) - ## csma-net-device.h: ns3::CsmaNetDevice [class] - module.add_class('CsmaNetDevice', parent=root_module['ns3::NetDevice']) - ## csma-net-device.h: ns3::CsmaNetDevice::EncapsulationMode [enumeration] - module.add_enum('EncapsulationMode', ['ILLEGAL', 'DIX', 'LLC'], outer_class=root_module['ns3::CsmaNetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Backoff_methods(root_module, root_module['ns3::Backoff']) - register_Ns3CsmaDeviceRec_methods(root_module, root_module['ns3::CsmaDeviceRec']) - register_Ns3CsmaStarHelper_methods(root_module, root_module['ns3::CsmaStarHelper']) - register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper']) - register_Ns3CsmaChannel_methods(root_module, root_module['ns3::CsmaChannel']) - register_Ns3CsmaNetDevice_methods(root_module, root_module['ns3::CsmaNetDevice']) - return - -def register_Ns3Backoff_methods(root_module, cls): - ## backoff.h: ns3::Backoff::Backoff(ns3::Backoff const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Backoff const &', 'arg0')]) - ## backoff.h: ns3::Backoff::Backoff() [constructor] - cls.add_constructor([]) - ## backoff.h: ns3::Backoff::Backoff(ns3::Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t ceiling, uint32_t maxRetries) [constructor] - cls.add_constructor([param('ns3::Time', 'slotTime'), param('uint32_t', 'minSlots'), param('uint32_t', 'maxSlots'), param('uint32_t', 'ceiling'), param('uint32_t', 'maxRetries')]) - ## backoff.h: ns3::Time ns3::Backoff::GetBackoffTime() [member function] - cls.add_method('GetBackoffTime', - 'ns3::Time', - []) - ## backoff.h: void ns3::Backoff::IncrNumRetries() [member function] - cls.add_method('IncrNumRetries', - 'void', - []) - ## backoff.h: bool ns3::Backoff::MaxRetriesReached() [member function] - cls.add_method('MaxRetriesReached', - 'bool', - []) - ## backoff.h: void ns3::Backoff::ResetBackoffTime() [member function] - cls.add_method('ResetBackoffTime', - 'void', - []) - ## backoff.h: ns3::Backoff::m_ceiling [variable] - cls.add_instance_attribute('m_ceiling', 'uint32_t', is_const=False) - ## backoff.h: ns3::Backoff::m_maxRetries [variable] - cls.add_instance_attribute('m_maxRetries', 'uint32_t', is_const=False) - ## backoff.h: ns3::Backoff::m_maxSlots [variable] - cls.add_instance_attribute('m_maxSlots', 'uint32_t', is_const=False) - ## backoff.h: ns3::Backoff::m_minSlots [variable] - cls.add_instance_attribute('m_minSlots', 'uint32_t', is_const=False) - ## backoff.h: ns3::Backoff::m_slotTime [variable] - cls.add_instance_attribute('m_slotTime', 'ns3::Time', is_const=False) - return - -def register_Ns3CsmaDeviceRec_methods(root_module, cls): - ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::CsmaDeviceRec const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsmaDeviceRec const &', 'arg0')]) - ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec() [constructor] - cls.add_constructor([]) - ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::Ptr device) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: bool ns3::CsmaDeviceRec::IsActive() [member function] - cls.add_method('IsActive', - 'bool', - []) - ## csma-channel.h: ns3::CsmaDeviceRec::active [variable] - cls.add_instance_attribute('active', 'bool', is_const=False) - ## csma-channel.h: ns3::CsmaDeviceRec::devicePtr [variable] - cls.add_instance_attribute('devicePtr', 'ns3::Ptr< ns3::CsmaNetDevice >', is_const=False) - return - -def register_Ns3CsmaStarHelper_methods(root_module, cls): - ## csma-star-helper.h: ns3::CsmaStarHelper::CsmaStarHelper(ns3::CsmaStarHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsmaStarHelper const &', 'arg0')]) - ## csma-star-helper.h: ns3::CsmaStarHelper::CsmaStarHelper(uint32_t numSpokes, ns3::CsmaHelper csmaHelper) [constructor] - cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::CsmaHelper', 'csmaHelper')]) - ## csma-star-helper.h: void ns3::CsmaStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function] - cls.add_method('AssignIpv4Addresses', - 'void', - [param('ns3::Ipv4AddressHelper', 'address')]) - ## csma-star-helper.h: ns3::Ptr ns3::CsmaStarHelper::GetHub() const [member function] - cls.add_method('GetHub', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## csma-star-helper.h: ns3::NetDeviceContainer ns3::CsmaStarHelper::GetHubDevices() const [member function] - cls.add_method('GetHubDevices', - 'ns3::NetDeviceContainer', - [], - is_const=True) - ## csma-star-helper.h: ns3::Ipv4Address ns3::CsmaStarHelper::GetHubIpv4Address(uint32_t i) const [member function] - cls.add_method('GetHubIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## csma-star-helper.h: ns3::NetDeviceContainer ns3::CsmaStarHelper::GetSpokeDevices() const [member function] - cls.add_method('GetSpokeDevices', - 'ns3::NetDeviceContainer', - [], - is_const=True) - ## csma-star-helper.h: ns3::Ipv4Address ns3::CsmaStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function] - cls.add_method('GetSpokeIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## csma-star-helper.h: ns3::Ptr ns3::CsmaStarHelper::GetSpokeNode(uint32_t i) const [member function] - cls.add_method('GetSpokeNode', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## csma-star-helper.h: void ns3::CsmaStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function] - cls.add_method('InstallStack', - 'void', - [param('ns3::InternetStackHelper', 'stack')]) - ## csma-star-helper.h: uint32_t ns3::CsmaStarHelper::SpokeCount() const [member function] - cls.add_method('SpokeCount', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3CsmaHelper_methods(root_module, cls): - ## csma-helper.h: ns3::CsmaHelper::CsmaHelper(ns3::CsmaHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsmaHelper const &', 'arg0')]) - ## csma-helper.h: ns3::CsmaHelper::CsmaHelper() [constructor] - cls.add_constructor([]) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string name) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'name')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr node, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr node, std::string channelName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'channelName')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string nodeName, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string nodeName, std::string channelName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName'), param('std::string', 'channelName')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer const &', 'c')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer const &', 'c'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, std::string channelName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer const &', 'c'), param('std::string', 'channelName')], - is_const=True) - ## csma-helper.h: void ns3::CsmaHelper::SetChannelAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetChannelAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## csma-helper.h: void ns3::CsmaHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## csma-helper.h: void ns3::CsmaHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetQueue', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## csma-helper.h: void ns3::CsmaHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## csma-helper.h: void ns3::CsmaHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3CsmaChannel_methods(root_module, cls): - ## csma-channel.h: ns3::CsmaChannel::CsmaChannel(ns3::CsmaChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsmaChannel const &', 'arg0')]) - ## csma-channel.h: ns3::CsmaChannel::CsmaChannel() [constructor] - cls.add_constructor([]) - ## csma-channel.h: int32_t ns3::CsmaChannel::Attach(ns3::Ptr device) [member function] - cls.add_method('Attach', - 'int32_t', - [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: bool ns3::CsmaChannel::Detach(ns3::Ptr device) [member function] - cls.add_method('Detach', - 'bool', - [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: bool ns3::CsmaChannel::Detach(uint32_t deviceId) [member function] - cls.add_method('Detach', - 'bool', - [param('uint32_t', 'deviceId')]) - ## csma-channel.h: ns3::Ptr ns3::CsmaChannel::GetCsmaDevice(uint32_t i) const [member function] - cls.add_method('GetCsmaDevice', - 'ns3::Ptr< ns3::CsmaNetDevice >', - [param('uint32_t', 'i')], - is_const=True) - ## csma-channel.h: ns3::DataRate ns3::CsmaChannel::GetDataRate() [member function] - cls.add_method('GetDataRate', - 'ns3::DataRate', - []) - ## csma-channel.h: ns3::Time ns3::CsmaChannel::GetDelay() [member function] - cls.add_method('GetDelay', - 'ns3::Time', - []) - ## csma-channel.h: ns3::Ptr ns3::CsmaChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## csma-channel.h: int32_t ns3::CsmaChannel::GetDeviceNum(ns3::Ptr device) [member function] - cls.add_method('GetDeviceNum', - 'int32_t', - [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: uint32_t ns3::CsmaChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## csma-channel.h: uint32_t ns3::CsmaChannel::GetNumActDevices() [member function] - cls.add_method('GetNumActDevices', - 'uint32_t', - []) - ## csma-channel.h: ns3::WireState ns3::CsmaChannel::GetState() [member function] - cls.add_method('GetState', - 'ns3::WireState', - []) - ## csma-channel.h: static ns3::TypeId ns3::CsmaChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## csma-channel.h: bool ns3::CsmaChannel::IsActive(uint32_t deviceId) [member function] - cls.add_method('IsActive', - 'bool', - [param('uint32_t', 'deviceId')]) - ## csma-channel.h: bool ns3::CsmaChannel::IsBusy() [member function] - cls.add_method('IsBusy', - 'bool', - []) - ## csma-channel.h: void ns3::CsmaChannel::PropagationCompleteEvent() [member function] - cls.add_method('PropagationCompleteEvent', - 'void', - []) - ## csma-channel.h: bool ns3::CsmaChannel::Reattach(uint32_t deviceId) [member function] - cls.add_method('Reattach', - 'bool', - [param('uint32_t', 'deviceId')]) - ## csma-channel.h: bool ns3::CsmaChannel::Reattach(ns3::Ptr device) [member function] - cls.add_method('Reattach', - 'bool', - [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: bool ns3::CsmaChannel::TransmitEnd() [member function] - cls.add_method('TransmitEnd', - 'bool', - []) - ## csma-channel.h: bool ns3::CsmaChannel::TransmitStart(ns3::Ptr p, uint32_t srcId) [member function] - cls.add_method('TransmitStart', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'srcId')]) - return - -def register_Ns3CsmaNetDevice_methods(root_module, cls): - ## csma-net-device.h: static ns3::TypeId ns3::CsmaNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## csma-net-device.h: ns3::CsmaNetDevice::CsmaNetDevice() [constructor] - cls.add_constructor([]) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetInterframeGap(ns3::Time t) [member function] - cls.add_method('SetInterframeGap', - 'void', - [param('ns3::Time', 't')]) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetBackoffParams(ns3::Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t maxRetries, uint32_t ceiling) [member function] - cls.add_method('SetBackoffParams', - 'void', - [param('ns3::Time', 'slotTime'), param('uint32_t', 'minSlots'), param('uint32_t', 'maxSlots'), param('uint32_t', 'maxRetries'), param('uint32_t', 'ceiling')]) - ## csma-net-device.h: bool ns3::CsmaNetDevice::Attach(ns3::Ptr ch) [member function] - cls.add_method('Attach', - 'bool', - [param('ns3::Ptr< ns3::CsmaChannel >', 'ch')]) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')]) - ## csma-net-device.h: ns3::Ptr ns3::CsmaNetDevice::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::Queue >', - [], - is_const=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveErrorModel(ns3::Ptr em) [member function] - cls.add_method('SetReceiveErrorModel', - 'void', - [param('ns3::Ptr< ns3::ErrorModel >', 'em')]) - ## csma-net-device.h: void ns3::CsmaNetDevice::Receive(ns3::Ptr p, ns3::Ptr sender) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::CsmaNetDevice >', 'sender')]) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsSendEnabled() [member function] - cls.add_method('IsSendEnabled', - 'bool', - []) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetSendEnable(bool enable) [member function] - cls.add_method('SetSendEnable', - 'void', - [param('bool', 'enable')]) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsReceiveEnabled() [member function] - cls.add_method('IsReceiveEnabled', - 'bool', - []) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveEnable(bool enable) [member function] - cls.add_method('SetReceiveEnable', - 'void', - [param('bool', 'enable')]) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetEncapsulationMode(ns3::CsmaNetDevice::EncapsulationMode mode) [member function] - cls.add_method('SetEncapsulationMode', - 'void', - [param('ns3::CsmaNetDevice::EncapsulationMode', 'mode')]) - ## csma-net-device.h: ns3::CsmaNetDevice::EncapsulationMode ns3::CsmaNetDevice::GetEncapsulationMode() [member function] - cls.add_method('GetEncapsulationMode', - 'ns3::CsmaNetDevice::EncapsulationMode', - []) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## csma-net-device.h: uint32_t ns3::CsmaNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: ns3::Ptr ns3::CsmaNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## csma-net-device.h: uint16_t ns3::CsmaNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::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')], - is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## csma-net-device.h: ns3::Ptr ns3::CsmaNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::AddHeader(ns3::Ptr p, ns3::Mac48Address source, ns3::Mac48Address dest, uint16_t protocolNumber) [member function] - cls.add_method('AddHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Mac48Address', 'source'), param('ns3::Mac48Address', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='protected') - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_dsdv.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_dsdv.py deleted file mode 100644 index 4af7bebf3..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_dsdv.py +++ /dev/null @@ -1,638 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## dsdv-helper.h: ns3::DsdvHelper [class] - module.add_class('DsdvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - ## dsdv-rtable.h: ns3::dsdv::RouteFlags [enumeration] - module.add_enum('RouteFlags', ['VALID', 'INVALID']) - ## dsdv-packet.h: ns3::dsdv::DsdvHeader [class] - module.add_class('DsdvHeader', parent=root_module['ns3::Header']) - ## dsdv-packet-queue.h: ns3::dsdv::PacketQueue [class] - module.add_class('PacketQueue') - ## dsdv-packet-queue.h: ns3::dsdv::QueueEntry [class] - module.add_class('QueueEntry') - ## dsdv-routing-protocol.h: ns3::dsdv::RoutingProtocol [class] - module.add_class('RoutingProtocol', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## dsdv-rtable.h: ns3::dsdv::RoutingTable [class] - module.add_class('RoutingTable') - ## dsdv-rtable.h: ns3::dsdv::RoutingTableEntry [class] - module.add_class('RoutingTableEntry') - module.add_container('std::map< ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry >', ('ns3::Ipv4Address', 'ns3::dsdv::RoutingTableEntry'), container_type='map') - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3DsdvHelper_methods(root_module, root_module['ns3::DsdvHelper']) - register_Ns3DsdvDsdvHeader_methods(root_module, root_module['ns3::dsdv::DsdvHeader']) - register_Ns3DsdvPacketQueue_methods(root_module, root_module['ns3::dsdv::PacketQueue']) - register_Ns3DsdvQueueEntry_methods(root_module, root_module['ns3::dsdv::QueueEntry']) - register_Ns3DsdvRoutingProtocol_methods(root_module, root_module['ns3::dsdv::RoutingProtocol']) - register_Ns3DsdvRoutingTable_methods(root_module, root_module['ns3::dsdv::RoutingTable']) - register_Ns3DsdvRoutingTableEntry_methods(root_module, root_module['ns3::dsdv::RoutingTableEntry']) - return - -def register_Ns3DsdvHelper_methods(root_module, cls): - ## dsdv-helper.h: ns3::DsdvHelper::DsdvHelper(ns3::DsdvHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsdvHelper const &', 'arg0')]) - ## dsdv-helper.h: ns3::DsdvHelper::DsdvHelper() [constructor] - cls.add_constructor([]) - ## dsdv-helper.h: ns3::DsdvHelper * ns3::DsdvHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::DsdvHelper *', - [], - is_const=True, is_virtual=True) - ## dsdv-helper.h: ns3::Ptr ns3::DsdvHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## dsdv-helper.h: void ns3::DsdvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3DsdvDsdvHeader_methods(root_module, cls): - cls.add_output_stream_operator() - ## dsdv-packet.h: ns3::dsdv::DsdvHeader::DsdvHeader(ns3::dsdv::DsdvHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::DsdvHeader const &', 'arg0')]) - ## dsdv-packet.h: ns3::dsdv::DsdvHeader::DsdvHeader(ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t hopcount=0, uint32_t dstSeqNo=0) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'hopcount', default_value='0'), param('uint32_t', 'dstSeqNo', default_value='0')]) - ## dsdv-packet.h: uint32_t ns3::dsdv::DsdvHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## dsdv-packet.h: ns3::Ipv4Address ns3::dsdv::DsdvHeader::GetDst() const [member function] - cls.add_method('GetDst', - 'ns3::Ipv4Address', - [], - is_const=True) - ## dsdv-packet.h: uint32_t ns3::dsdv::DsdvHeader::GetDstSeqno() const [member function] - cls.add_method('GetDstSeqno', - 'uint32_t', - [], - is_const=True) - ## dsdv-packet.h: uint32_t ns3::dsdv::DsdvHeader::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint32_t', - [], - is_const=True) - ## dsdv-packet.h: ns3::TypeId ns3::dsdv::DsdvHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## dsdv-packet.h: uint32_t ns3::dsdv::DsdvHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dsdv-packet.h: static ns3::TypeId ns3::dsdv::DsdvHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::SetDst(ns3::Ipv4Address destination) [member function] - cls.add_method('SetDst', - 'void', - [param('ns3::Ipv4Address', 'destination')]) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::SetDstSeqno(uint32_t sequenceNumber) [member function] - cls.add_method('SetDstSeqno', - 'void', - [param('uint32_t', 'sequenceNumber')]) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::SetHopCount(uint32_t hopCount) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint32_t', 'hopCount')]) - return - -def register_Ns3DsdvPacketQueue_methods(root_module, cls): - ## dsdv-packet-queue.h: ns3::dsdv::PacketQueue::PacketQueue(ns3::dsdv::PacketQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::PacketQueue const &', 'arg0')]) - ## dsdv-packet-queue.h: ns3::dsdv::PacketQueue::PacketQueue() [constructor] - cls.add_constructor([]) - ## dsdv-packet-queue.h: bool ns3::dsdv::PacketQueue::Dequeue(ns3::Ipv4Address dst, ns3::dsdv::QueueEntry & entry) [member function] - cls.add_method('Dequeue', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::dsdv::QueueEntry &', 'entry')]) - ## dsdv-packet-queue.h: void ns3::dsdv::PacketQueue::DropPacketWithDst(ns3::Ipv4Address dst) [member function] - cls.add_method('DropPacketWithDst', - 'void', - [param('ns3::Ipv4Address', 'dst')]) - ## dsdv-packet-queue.h: bool ns3::dsdv::PacketQueue::Enqueue(ns3::dsdv::QueueEntry & entry) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::dsdv::QueueEntry &', 'entry')]) - ## dsdv-packet-queue.h: bool ns3::dsdv::PacketQueue::Find(ns3::Ipv4Address dst) [member function] - cls.add_method('Find', - 'bool', - [param('ns3::Ipv4Address', 'dst')]) - ## dsdv-packet-queue.h: uint32_t ns3::dsdv::PacketQueue::GetCountForPacketsWithDst(ns3::Ipv4Address dst) [member function] - cls.add_method('GetCountForPacketsWithDst', - 'uint32_t', - [param('ns3::Ipv4Address', 'dst')]) - ## dsdv-packet-queue.h: uint32_t ns3::dsdv::PacketQueue::GetMaxPacketsPerDst() const [member function] - cls.add_method('GetMaxPacketsPerDst', - 'uint32_t', - [], - is_const=True) - ## dsdv-packet-queue.h: uint32_t ns3::dsdv::PacketQueue::GetMaxQueueLen() const [member function] - cls.add_method('GetMaxQueueLen', - 'uint32_t', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Time ns3::dsdv::PacketQueue::GetQueueTimeout() const [member function] - cls.add_method('GetQueueTimeout', - 'ns3::Time', - [], - is_const=True) - ## dsdv-packet-queue.h: uint32_t ns3::dsdv::PacketQueue::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - []) - ## dsdv-packet-queue.h: void ns3::dsdv::PacketQueue::SetMaxPacketsPerDst(uint32_t len) [member function] - cls.add_method('SetMaxPacketsPerDst', - 'void', - [param('uint32_t', 'len')]) - ## dsdv-packet-queue.h: void ns3::dsdv::PacketQueue::SetMaxQueueLen(uint32_t len) [member function] - cls.add_method('SetMaxQueueLen', - 'void', - [param('uint32_t', 'len')]) - ## dsdv-packet-queue.h: void ns3::dsdv::PacketQueue::SetQueueTimeout(ns3::Time t) [member function] - cls.add_method('SetQueueTimeout', - 'void', - [param('ns3::Time', 't')]) - return - -def register_Ns3DsdvQueueEntry_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## dsdv-packet-queue.h: ns3::dsdv::QueueEntry::QueueEntry(ns3::dsdv::QueueEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::QueueEntry const &', 'arg0')]) - ## dsdv-packet-queue.h: ns3::dsdv::QueueEntry::QueueEntry(ns3::Ptr pa=0, ns3::Ipv4Header const & h=ns3::Ipv4Header(), ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb=ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb=ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet const >', 'pa', default_value='0'), param('ns3::Ipv4Header const &', 'h', default_value='ns3::Ipv4Header()'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb', default_value='ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb', default_value='ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()')]) - ## dsdv-packet-queue.h: ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::dsdv::QueueEntry::GetErrorCallback() const [member function] - cls.add_method('GetErrorCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Time ns3::dsdv::QueueEntry::GetExpireTime() const [member function] - cls.add_method('GetExpireTime', - 'ns3::Time', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Ipv4Header ns3::dsdv::QueueEntry::GetIpv4Header() const [member function] - cls.add_method('GetIpv4Header', - 'ns3::Ipv4Header', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Ptr ns3::dsdv::QueueEntry::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet const >', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::dsdv::QueueEntry::GetUnicastForwardCallback() const [member function] - cls.add_method('GetUnicastForwardCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetErrorCallback(ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('SetErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')]) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetExpireTime(ns3::Time exp) [member function] - cls.add_method('SetExpireTime', - 'void', - [param('ns3::Time', 'exp')]) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetIpv4Header(ns3::Ipv4Header h) [member function] - cls.add_method('SetIpv4Header', - 'void', - [param('ns3::Ipv4Header', 'h')]) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetUnicastForwardCallback(ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb) [member function] - cls.add_method('SetUnicastForwardCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb')]) - return - -def register_Ns3DsdvRoutingProtocol_methods(root_module, cls): - ## dsdv-routing-protocol.h: ns3::dsdv::RoutingProtocol::RoutingProtocol(ns3::dsdv::RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::RoutingProtocol const &', 'arg0')]) - ## dsdv-routing-protocol.h: ns3::dsdv::RoutingProtocol::RoutingProtocol() [constructor] - cls.add_constructor([]) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## dsdv-routing-protocol.h: bool ns3::dsdv::RoutingProtocol::GetEnableBufferFlag() const [member function] - cls.add_method('GetEnableBufferFlag', - 'bool', - [], - is_const=True) - ## dsdv-routing-protocol.h: bool ns3::dsdv::RoutingProtocol::GetEnableRAFlag() const [member function] - cls.add_method('GetEnableRAFlag', - 'bool', - [], - is_const=True) - ## dsdv-routing-protocol.h: static ns3::TypeId ns3::dsdv::RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dsdv-routing-protocol.h: bool ns3::dsdv::RoutingProtocol::GetWSTFlag() const [member function] - cls.add_method('GetWSTFlag', - 'bool', - [], - is_const=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## dsdv-routing-protocol.h: bool ns3::dsdv::RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## dsdv-routing-protocol.h: ns3::Ptr ns3::dsdv::RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::SetEnableBufferFlag(bool f) [member function] - cls.add_method('SetEnableBufferFlag', - 'void', - [param('bool', 'f')]) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::SetEnableRAFlag(bool f) [member function] - cls.add_method('SetEnableRAFlag', - 'void', - [param('bool', 'f')]) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::SetWSTFlag(bool f) [member function] - cls.add_method('SetWSTFlag', - 'void', - [param('bool', 'f')]) - ## dsdv-routing-protocol.h: ns3::dsdv::RoutingProtocol::DSDV_PORT [variable] - cls.add_static_attribute('DSDV_PORT', 'uint32_t const', is_const=True) - return - -def register_Ns3DsdvRoutingTable_methods(root_module, cls): - ## dsdv-rtable.h: ns3::dsdv::RoutingTable::RoutingTable(ns3::dsdv::RoutingTable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::RoutingTable const &', 'arg0')]) - ## dsdv-rtable.h: ns3::dsdv::RoutingTable::RoutingTable() [constructor] - cls.add_constructor([]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::AddIpv4Event(ns3::Ipv4Address arg0, ns3::EventId arg1) [member function] - cls.add_method('AddIpv4Event', - 'bool', - [param('ns3::Ipv4Address', 'arg0'), param('ns3::EventId', 'arg1')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::AddRoute(ns3::dsdv::RoutingTableEntry & r) [member function] - cls.add_method('AddRoute', - 'bool', - [param('ns3::dsdv::RoutingTableEntry &', 'r')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::AnyRunningEvent(ns3::Ipv4Address address) [member function] - cls.add_method('AnyRunningEvent', - 'bool', - [param('ns3::Ipv4Address', 'address')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::DeleteAllRoutesFromInterface(ns3::Ipv4InterfaceAddress iface) [member function] - cls.add_method('DeleteAllRoutesFromInterface', - 'void', - [param('ns3::Ipv4InterfaceAddress', 'iface')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::DeleteIpv4Event(ns3::Ipv4Address address) [member function] - cls.add_method('DeleteIpv4Event', - 'bool', - [param('ns3::Ipv4Address', 'address')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::DeleteRoute(ns3::Ipv4Address dst) [member function] - cls.add_method('DeleteRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::ForceDeleteIpv4Event(ns3::Ipv4Address address) [member function] - cls.add_method('ForceDeleteIpv4Event', - 'bool', - [param('ns3::Ipv4Address', 'address')]) - ## dsdv-rtable.h: ns3::EventId ns3::dsdv::RoutingTable::GetEventId(ns3::Ipv4Address address) [member function] - cls.add_method('GetEventId', - 'ns3::EventId', - [param('ns3::Ipv4Address', 'address')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::GetListOfAllRoutes(std::map, std::allocator > > & allRoutes) [member function] - cls.add_method('GetListOfAllRoutes', - 'void', - [param('std::map< ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry > &', 'allRoutes')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::GetListOfDestinationWithNextHop(ns3::Ipv4Address nxtHp, std::map, std::allocator > > & dstList) [member function] - cls.add_method('GetListOfDestinationWithNextHop', - 'void', - [param('ns3::Ipv4Address', 'nxtHp'), param('std::map< ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry > &', 'dstList')]) - ## dsdv-rtable.h: ns3::Time ns3::dsdv::RoutingTable::Getholddowntime() const [member function] - cls.add_method('Getholddowntime', - 'ns3::Time', - [], - is_const=True) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::LookupRoute(ns3::Ipv4Address dst, ns3::dsdv::RoutingTableEntry & rt) [member function] - cls.add_method('LookupRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::dsdv::RoutingTableEntry &', 'rt')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::LookupRoute(ns3::Ipv4Address id, ns3::dsdv::RoutingTableEntry & rt, bool forRouteInput) [member function] - cls.add_method('LookupRoute', - 'bool', - [param('ns3::Ipv4Address', 'id'), param('ns3::dsdv::RoutingTableEntry &', 'rt'), param('bool', 'forRouteInput')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::Print(ns3::Ptr stream) const [member function] - cls.add_method('Print', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::Purge(std::map, std::allocator > > & removedAddresses) [member function] - cls.add_method('Purge', - 'void', - [param('std::map< ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry > &', 'removedAddresses')]) - ## dsdv-rtable.h: uint32_t ns3::dsdv::RoutingTable::RoutingTableSize() [member function] - cls.add_method('RoutingTableSize', - 'uint32_t', - []) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::Setholddowntime(ns3::Time t) [member function] - cls.add_method('Setholddowntime', - 'void', - [param('ns3::Time', 't')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::Update(ns3::dsdv::RoutingTableEntry & rt) [member function] - cls.add_method('Update', - 'bool', - [param('ns3::dsdv::RoutingTableEntry &', 'rt')]) - return - -def register_Ns3DsdvRoutingTableEntry_methods(root_module, cls): - ## dsdv-rtable.h: ns3::dsdv::RoutingTableEntry::RoutingTableEntry(ns3::dsdv::RoutingTableEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::RoutingTableEntry const &', 'arg0')]) - ## dsdv-rtable.h: ns3::dsdv::RoutingTableEntry::RoutingTableEntry(ns3::Ptr dev=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), u_int32_t m_seqNo=0, ns3::Ipv4InterfaceAddress iface=ns3::Ipv4InterfaceAddress(), u_int32_t hops=0, ns3::Ipv4Address nextHop=ns3::Ipv4Address(), ns3::Time lifetime=ns3::Simulator::Now( ), ns3::Time SettlingTime=ns3::Simulator::Now( ), bool changedEntries=false) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('u_int32_t', 'm_seqNo', default_value='0'), param('ns3::Ipv4InterfaceAddress', 'iface', default_value='ns3::Ipv4InterfaceAddress()'), param('u_int32_t', 'hops', default_value='0'), param('ns3::Ipv4Address', 'nextHop', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::Simulator::Now( )'), param('ns3::Time', 'SettlingTime', default_value='ns3::Simulator::Now( )'), param('bool', 'changedEntries', default_value='false')]) - ## dsdv-rtable.h: ns3::Ipv4Address ns3::dsdv::RoutingTableEntry::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTableEntry::GetEntriesChanged() const [member function] - cls.add_method('GetEntriesChanged', - 'bool', - [], - is_const=True) - ## dsdv-rtable.h: ns3::dsdv::RouteFlags ns3::dsdv::RoutingTableEntry::GetFlag() const [member function] - cls.add_method('GetFlag', - 'ns3::dsdv::RouteFlags', - [], - is_const=True) - ## dsdv-rtable.h: uint32_t ns3::dsdv::RoutingTableEntry::GetHop() const [member function] - cls.add_method('GetHop', - 'uint32_t', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Ipv4InterfaceAddress ns3::dsdv::RoutingTableEntry::GetInterface() const [member function] - cls.add_method('GetInterface', - 'ns3::Ipv4InterfaceAddress', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Time ns3::dsdv::RoutingTableEntry::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'ns3::Time', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Ipv4Address ns3::dsdv::RoutingTableEntry::GetNextHop() const [member function] - cls.add_method('GetNextHop', - 'ns3::Ipv4Address', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Ptr ns3::dsdv::RoutingTableEntry::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Ptr ns3::dsdv::RoutingTableEntry::GetRoute() const [member function] - cls.add_method('GetRoute', - 'ns3::Ptr< ns3::Ipv4Route >', - [], - is_const=True) - ## dsdv-rtable.h: uint32_t ns3::dsdv::RoutingTableEntry::GetSeqNo() const [member function] - cls.add_method('GetSeqNo', - 'uint32_t', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Time ns3::dsdv::RoutingTableEntry::GetSettlingTime() const [member function] - cls.add_method('GetSettlingTime', - 'ns3::Time', - [], - is_const=True) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::Print(ns3::Ptr stream) const [member function] - cls.add_method('Print', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetEntriesChanged(bool entriesChanged) [member function] - cls.add_method('SetEntriesChanged', - 'void', - [param('bool', 'entriesChanged')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetFlag(ns3::dsdv::RouteFlags flag) [member function] - cls.add_method('SetFlag', - 'void', - [param('ns3::dsdv::RouteFlags', 'flag')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetHop(uint32_t hopCount) [member function] - cls.add_method('SetHop', - 'void', - [param('uint32_t', 'hopCount')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetInterface(ns3::Ipv4InterfaceAddress iface) [member function] - cls.add_method('SetInterface', - 'void', - [param('ns3::Ipv4InterfaceAddress', 'iface')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetLifeTime(ns3::Time lifeTime) [member function] - cls.add_method('SetLifeTime', - 'void', - [param('ns3::Time', 'lifeTime')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetNextHop(ns3::Ipv4Address nextHop) [member function] - cls.add_method('SetNextHop', - 'void', - [param('ns3::Ipv4Address', 'nextHop')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetOutputDevice(ns3::Ptr device) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetRoute(ns3::Ptr route) [member function] - cls.add_method('SetRoute', - 'void', - [param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetSeqNo(uint32_t sequenceNumber) [member function] - cls.add_method('SetSeqNo', - 'void', - [param('uint32_t', 'sequenceNumber')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetSettlingTime(ns3::Time settlingTime) [member function] - cls.add_method('SetSettlingTime', - 'void', - [param('ns3::Time', 'settlingTime')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py deleted file mode 100644 index c9f623e47..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_emu.py +++ /dev/null @@ -1,352 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## emu-helper.h: ns3::EmuHelper [class] - module.add_class('EmuHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## emu-net-device.h: ns3::EmuNetDevice [class] - module.add_class('EmuNetDevice', parent=root_module['ns3::NetDevice']) - ## emu-net-device.h: ns3::EmuNetDevice::EncapsulationMode [enumeration] - module.add_enum('EncapsulationMode', ['ILLEGAL', 'DIX', 'LLC'], outer_class=root_module['ns3::EmuNetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3EmuHelper_methods(root_module, root_module['ns3::EmuHelper']) - register_Ns3EmuNetDevice_methods(root_module, root_module['ns3::EmuNetDevice']) - return - -def register_Ns3EmuHelper_methods(root_module, cls): - ## emu-helper.h: ns3::EmuHelper::EmuHelper(ns3::EmuHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmuHelper const &', 'arg0')]) - ## emu-helper.h: ns3::EmuHelper::EmuHelper() [constructor] - cls.add_constructor([]) - ## emu-helper.h: ns3::NetDeviceContainer ns3::EmuHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## emu-helper.h: ns3::NetDeviceContainer ns3::EmuHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## emu-helper.h: ns3::NetDeviceContainer ns3::EmuHelper::Install(ns3::NodeContainer const & c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer const &', 'c')], - is_const=True) - ## emu-helper.h: void ns3::EmuHelper::SetAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## emu-helper.h: void ns3::EmuHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetQueue', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## emu-helper.h: void ns3::EmuHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## emu-helper.h: void ns3::EmuHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3EmuNetDevice_methods(root_module, cls): - ## emu-net-device.h: static ns3::TypeId ns3::EmuNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## emu-net-device.h: ns3::EmuNetDevice::EmuNetDevice() [constructor] - cls.add_constructor([]) - ## emu-net-device.h: void ns3::EmuNetDevice::SetDataRate(ns3::DataRate bps) [member function] - cls.add_method('SetDataRate', - 'void', - [param('ns3::DataRate', 'bps')]) - ## emu-net-device.h: void ns3::EmuNetDevice::Start(ns3::Time tStart) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time', 'tStart')]) - ## emu-net-device.h: void ns3::EmuNetDevice::Stop(ns3::Time tStop) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time', 'tStop')]) - ## emu-net-device.h: void ns3::EmuNetDevice::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')]) - ## emu-net-device.h: ns3::Ptr ns3::EmuNetDevice::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::Queue >', - [], - is_const=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## emu-net-device.h: uint32_t ns3::EmuNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: ns3::Ptr ns3::EmuNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## emu-net-device.h: ns3::Address ns3::EmuNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## emu-net-device.h: uint16_t ns3::EmuNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::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')], - is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: ns3::Address ns3::EmuNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: ns3::Address ns3::EmuNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## emu-net-device.h: ns3::Address ns3::EmuNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## emu-net-device.h: ns3::Ptr ns3::EmuNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetEncapsulationMode(ns3::EmuNetDevice::EncapsulationMode mode) [member function] - cls.add_method('SetEncapsulationMode', - 'void', - [param('ns3::EmuNetDevice::EncapsulationMode', 'mode')]) - ## emu-net-device.h: ns3::EmuNetDevice::EncapsulationMode ns3::EmuNetDevice::GetEncapsulationMode() const [member function] - cls.add_method('GetEncapsulationMode', - 'ns3::EmuNetDevice::EncapsulationMode', - [], - is_const=True) - ## emu-net-device.h: void ns3::EmuNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_energy.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_energy.py deleted file mode 100644 index b30bf0b6e..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_energy.py +++ /dev/null @@ -1,985 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer [class] - module.add_class('DeviceEnergyModelContainer') - ## energy-model-helper.h: ns3::DeviceEnergyModelHelper [class] - module.add_class('DeviceEnergyModelHelper', allow_subclassing=True) - ## energy-model-helper.h: ns3::EnergySourceHelper [class] - module.add_class('EnergySourceHelper', allow_subclassing=True) - ## rv-battery-model-helper.h: ns3::RvBatteryModelHelper [class] - module.add_class('RvBatteryModelHelper', parent=root_module['ns3::EnergySourceHelper']) - ## wifi-radio-energy-model-helper.h: ns3::WifiRadioEnergyModelHelper [class] - module.add_class('WifiRadioEnergyModelHelper', parent=root_module['ns3::DeviceEnergyModelHelper']) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModelPhyListener [class] - module.add_class('WifiRadioEnergyModelPhyListener', parent=root_module['ns3::WifiPhyListener']) - ## basic-energy-source-helper.h: ns3::BasicEnergySourceHelper [class] - module.add_class('BasicEnergySourceHelper', parent=root_module['ns3::EnergySourceHelper']) - ## device-energy-model.h: ns3::DeviceEnergyModel [class] - module.add_class('DeviceEnergyModel', parent=root_module['ns3::Object']) - ## energy-source.h: ns3::EnergySource [class] - module.add_class('EnergySource', parent=root_module['ns3::Object']) - ## energy-source-container.h: ns3::EnergySourceContainer [class] - module.add_class('EnergySourceContainer', parent=root_module['ns3::Object']) - ## li-ion-energy-source.h: ns3::LiIonEnergySource [class] - module.add_class('LiIonEnergySource', parent=root_module['ns3::EnergySource']) - ## rv-battery-model.h: ns3::RvBatteryModel [class] - module.add_class('RvBatteryModel', parent=root_module['ns3::EnergySource']) - ## simple-device-energy-model.h: ns3::SimpleDeviceEnergyModel [class] - module.add_class('SimpleDeviceEnergyModel', parent=root_module['ns3::DeviceEnergyModel']) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModel [class] - module.add_class('WifiRadioEnergyModel', parent=root_module['ns3::DeviceEnergyModel']) - ## basic-energy-source.h: ns3::BasicEnergySource [class] - module.add_class('BasicEnergySource', parent=root_module['ns3::EnergySource']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3DeviceEnergyModelContainer_methods(root_module, root_module['ns3::DeviceEnergyModelContainer']) - register_Ns3DeviceEnergyModelHelper_methods(root_module, root_module['ns3::DeviceEnergyModelHelper']) - register_Ns3EnergySourceHelper_methods(root_module, root_module['ns3::EnergySourceHelper']) - register_Ns3RvBatteryModelHelper_methods(root_module, root_module['ns3::RvBatteryModelHelper']) - register_Ns3WifiRadioEnergyModelHelper_methods(root_module, root_module['ns3::WifiRadioEnergyModelHelper']) - register_Ns3WifiRadioEnergyModelPhyListener_methods(root_module, root_module['ns3::WifiRadioEnergyModelPhyListener']) - register_Ns3BasicEnergySourceHelper_methods(root_module, root_module['ns3::BasicEnergySourceHelper']) - register_Ns3DeviceEnergyModel_methods(root_module, root_module['ns3::DeviceEnergyModel']) - register_Ns3EnergySource_methods(root_module, root_module['ns3::EnergySource']) - register_Ns3EnergySourceContainer_methods(root_module, root_module['ns3::EnergySourceContainer']) - register_Ns3LiIonEnergySource_methods(root_module, root_module['ns3::LiIonEnergySource']) - register_Ns3RvBatteryModel_methods(root_module, root_module['ns3::RvBatteryModel']) - register_Ns3SimpleDeviceEnergyModel_methods(root_module, root_module['ns3::SimpleDeviceEnergyModel']) - register_Ns3WifiRadioEnergyModel_methods(root_module, root_module['ns3::WifiRadioEnergyModel']) - register_Ns3BasicEnergySource_methods(root_module, root_module['ns3::BasicEnergySource']) - return - -def register_Ns3DeviceEnergyModelContainer_methods(root_module, cls): - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer(ns3::DeviceEnergyModelContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeviceEnergyModelContainer const &', 'arg0')]) - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer() [constructor] - cls.add_constructor([]) - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer(ns3::Ptr model) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::DeviceEnergyModel >', 'model')]) - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer(std::string modelName) [constructor] - cls.add_constructor([param('std::string', 'modelName')]) - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer(ns3::DeviceEnergyModelContainer const & a, ns3::DeviceEnergyModelContainer const & b) [constructor] - cls.add_constructor([param('ns3::DeviceEnergyModelContainer const &', 'a'), param('ns3::DeviceEnergyModelContainer const &', 'b')]) - ## device-energy-model-container.h: void ns3::DeviceEnergyModelContainer::Add(ns3::DeviceEnergyModelContainer container) [member function] - cls.add_method('Add', - 'void', - [param('ns3::DeviceEnergyModelContainer', 'container')]) - ## device-energy-model-container.h: void ns3::DeviceEnergyModelContainer::Add(ns3::Ptr model) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::DeviceEnergyModel >', 'model')]) - ## device-energy-model-container.h: void ns3::DeviceEnergyModelContainer::Add(std::string modelName) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'modelName')]) - ## device-energy-model-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::DeviceEnergyModelContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::DeviceEnergyModel > const, std::vector< ns3::Ptr< ns3::DeviceEnergyModel > > >', - [], - is_const=True) - ## device-energy-model-container.h: void ns3::DeviceEnergyModelContainer::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## device-energy-model-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::DeviceEnergyModelContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::DeviceEnergyModel > const, std::vector< ns3::Ptr< ns3::DeviceEnergyModel > > >', - [], - is_const=True) - ## device-energy-model-container.h: ns3::Ptr ns3::DeviceEnergyModelContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::DeviceEnergyModel >', - [param('uint32_t', 'i')], - is_const=True) - ## device-energy-model-container.h: uint32_t ns3::DeviceEnergyModelContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3DeviceEnergyModelHelper_methods(root_module, cls): - ## energy-model-helper.h: ns3::DeviceEnergyModelHelper::DeviceEnergyModelHelper() [constructor] - cls.add_constructor([]) - ## energy-model-helper.h: ns3::DeviceEnergyModelHelper::DeviceEnergyModelHelper(ns3::DeviceEnergyModelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeviceEnergyModelHelper const &', 'arg0')]) - ## energy-model-helper.h: ns3::DeviceEnergyModelContainer ns3::DeviceEnergyModelHelper::Install(ns3::Ptr device, ns3::Ptr source) const [member function] - cls.add_method('Install', - 'ns3::DeviceEnergyModelContainer', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_const=True) - ## energy-model-helper.h: ns3::DeviceEnergyModelContainer ns3::DeviceEnergyModelHelper::Install(ns3::NetDeviceContainer deviceContainer, ns3::EnergySourceContainer sourceContainer) const [member function] - cls.add_method('Install', - 'ns3::DeviceEnergyModelContainer', - [param('ns3::NetDeviceContainer', 'deviceContainer'), param('ns3::EnergySourceContainer', 'sourceContainer')], - is_const=True) - ## energy-model-helper.h: void ns3::DeviceEnergyModelHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_pure_virtual=True, is_virtual=True) - ## energy-model-helper.h: ns3::Ptr ns3::DeviceEnergyModelHelper::DoInstall(ns3::Ptr device, ns3::Ptr source) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::DeviceEnergyModel >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3EnergySourceHelper_methods(root_module, cls): - ## energy-model-helper.h: ns3::EnergySourceHelper::EnergySourceHelper() [constructor] - cls.add_constructor([]) - ## energy-model-helper.h: ns3::EnergySourceHelper::EnergySourceHelper(ns3::EnergySourceHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnergySourceHelper const &', 'arg0')]) - ## energy-model-helper.h: ns3::EnergySourceContainer ns3::EnergySourceHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::EnergySourceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## energy-model-helper.h: ns3::EnergySourceContainer ns3::EnergySourceHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::EnergySourceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## energy-model-helper.h: ns3::EnergySourceContainer ns3::EnergySourceHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::EnergySourceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## energy-model-helper.h: ns3::EnergySourceContainer ns3::EnergySourceHelper::InstallAll() const [member function] - cls.add_method('InstallAll', - 'ns3::EnergySourceContainer', - [], - is_const=True) - ## energy-model-helper.h: void ns3::EnergySourceHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_pure_virtual=True, is_virtual=True) - ## energy-model-helper.h: ns3::Ptr ns3::EnergySourceHelper::DoInstall(ns3::Ptr node) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::EnergySource >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RvBatteryModelHelper_methods(root_module, cls): - ## rv-battery-model-helper.h: ns3::RvBatteryModelHelper::RvBatteryModelHelper(ns3::RvBatteryModelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RvBatteryModelHelper const &', 'arg0')]) - ## rv-battery-model-helper.h: ns3::RvBatteryModelHelper::RvBatteryModelHelper() [constructor] - cls.add_constructor([]) - ## rv-battery-model-helper.h: void ns3::RvBatteryModelHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_virtual=True) - ## rv-battery-model-helper.h: ns3::Ptr ns3::RvBatteryModelHelper::DoInstall(ns3::Ptr node) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::EnergySource >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiRadioEnergyModelHelper_methods(root_module, cls): - ## wifi-radio-energy-model-helper.h: ns3::WifiRadioEnergyModelHelper::WifiRadioEnergyModelHelper(ns3::WifiRadioEnergyModelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRadioEnergyModelHelper const &', 'arg0')]) - ## wifi-radio-energy-model-helper.h: ns3::WifiRadioEnergyModelHelper::WifiRadioEnergyModelHelper() [constructor] - cls.add_constructor([]) - ## wifi-radio-energy-model-helper.h: void ns3::WifiRadioEnergyModelHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_virtual=True) - ## wifi-radio-energy-model-helper.h: void ns3::WifiRadioEnergyModelHelper::SetDepletionCallback(ns3::Callback callback) [member function] - cls.add_method('SetDepletionCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## wifi-radio-energy-model-helper.h: ns3::Ptr ns3::WifiRadioEnergyModelHelper::DoInstall(ns3::Ptr device, ns3::Ptr source) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::DeviceEnergyModel >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiRadioEnergyModelPhyListener_methods(root_module, cls): - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModelPhyListener::WifiRadioEnergyModelPhyListener(ns3::WifiRadioEnergyModelPhyListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRadioEnergyModelPhyListener const &', 'arg0')]) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModelPhyListener::WifiRadioEnergyModelPhyListener() [constructor] - cls.add_constructor([]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyMaybeCcaBusyStart(ns3::Time duration) [member function] - cls.add_method('NotifyMaybeCcaBusyStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyRxEndError() [member function] - cls.add_method('NotifyRxEndError', - 'void', - [], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyRxEndOk() [member function] - cls.add_method('NotifyRxEndOk', - 'void', - [], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyRxStart(ns3::Time duration) [member function] - cls.add_method('NotifyRxStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifySwitchingStart(ns3::Time duration) [member function] - cls.add_method('NotifySwitchingStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyTxStart(ns3::Time duration) [member function] - cls.add_method('NotifyTxStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::SetChangeStateCallback(ns3::Callback callback) [member function] - cls.add_method('SetChangeStateCallback', - 'void', - [param('ns3::Callback< void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - return - -def register_Ns3BasicEnergySourceHelper_methods(root_module, cls): - ## basic-energy-source-helper.h: ns3::BasicEnergySourceHelper::BasicEnergySourceHelper(ns3::BasicEnergySourceHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BasicEnergySourceHelper const &', 'arg0')]) - ## basic-energy-source-helper.h: ns3::BasicEnergySourceHelper::BasicEnergySourceHelper() [constructor] - cls.add_constructor([]) - ## basic-energy-source-helper.h: void ns3::BasicEnergySourceHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_virtual=True) - ## basic-energy-source-helper.h: ns3::Ptr ns3::BasicEnergySourceHelper::DoInstall(ns3::Ptr node) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::EnergySource >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3DeviceEnergyModel_methods(root_module, cls): - ## device-energy-model.h: ns3::DeviceEnergyModel::DeviceEnergyModel(ns3::DeviceEnergyModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeviceEnergyModel const &', 'arg0')]) - ## device-energy-model.h: ns3::DeviceEnergyModel::DeviceEnergyModel() [constructor] - cls.add_constructor([]) - ## device-energy-model.h: void ns3::DeviceEnergyModel::ChangeState(int newState) [member function] - cls.add_method('ChangeState', - 'void', - [param('int', 'newState')], - is_pure_virtual=True, is_virtual=True) - ## device-energy-model.h: double ns3::DeviceEnergyModel::GetCurrentA() const [member function] - cls.add_method('GetCurrentA', - 'double', - [], - is_const=True) - ## device-energy-model.h: double ns3::DeviceEnergyModel::GetTotalEnergyConsumption() const [member function] - cls.add_method('GetTotalEnergyConsumption', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## device-energy-model.h: static ns3::TypeId ns3::DeviceEnergyModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## device-energy-model.h: void ns3::DeviceEnergyModel::HandleEnergyDepletion() [member function] - cls.add_method('HandleEnergyDepletion', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## device-energy-model.h: void ns3::DeviceEnergyModel::SetEnergySource(ns3::Ptr source) [member function] - cls.add_method('SetEnergySource', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_pure_virtual=True, is_virtual=True) - ## device-energy-model.h: double ns3::DeviceEnergyModel::DoGetCurrentA() const [member function] - cls.add_method('DoGetCurrentA', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3EnergySource_methods(root_module, cls): - ## energy-source.h: ns3::EnergySource::EnergySource(ns3::EnergySource const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnergySource const &', 'arg0')]) - ## energy-source.h: ns3::EnergySource::EnergySource() [constructor] - cls.add_constructor([]) - ## energy-source.h: void ns3::EnergySource::AppendDeviceEnergyModel(ns3::Ptr deviceEnergyModelPtr) [member function] - cls.add_method('AppendDeviceEnergyModel', - 'void', - [param('ns3::Ptr< ns3::DeviceEnergyModel >', 'deviceEnergyModelPtr')]) - ## energy-source.h: void ns3::EnergySource::DisposeDeviceModels() [member function] - cls.add_method('DisposeDeviceModels', - 'void', - []) - ## energy-source.h: ns3::DeviceEnergyModelContainer ns3::EnergySource::FindDeviceEnergyModels(ns3::TypeId tid) [member function] - cls.add_method('FindDeviceEnergyModels', - 'ns3::DeviceEnergyModelContainer', - [param('ns3::TypeId', 'tid')]) - ## energy-source.h: ns3::DeviceEnergyModelContainer ns3::EnergySource::FindDeviceEnergyModels(std::string name) [member function] - cls.add_method('FindDeviceEnergyModels', - 'ns3::DeviceEnergyModelContainer', - [param('std::string', 'name')]) - ## energy-source.h: double ns3::EnergySource::GetEnergyFraction() [member function] - cls.add_method('GetEnergyFraction', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## energy-source.h: double ns3::EnergySource::GetInitialEnergy() const [member function] - cls.add_method('GetInitialEnergy', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## energy-source.h: ns3::Ptr ns3::EnergySource::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## energy-source.h: double ns3::EnergySource::GetRemainingEnergy() [member function] - cls.add_method('GetRemainingEnergy', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## energy-source.h: double ns3::EnergySource::GetSupplyVoltage() const [member function] - cls.add_method('GetSupplyVoltage', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## energy-source.h: static ns3::TypeId ns3::EnergySource::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## energy-source.h: void ns3::EnergySource::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## energy-source.h: void ns3::EnergySource::StartDeviceModels() [member function] - cls.add_method('StartDeviceModels', - 'void', - []) - ## energy-source.h: void ns3::EnergySource::UpdateEnergySource() [member function] - cls.add_method('UpdateEnergySource', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## energy-source.h: void ns3::EnergySource::BreakDeviceEnergyModelRefCycle() [member function] - cls.add_method('BreakDeviceEnergyModelRefCycle', - 'void', - [], - visibility='protected') - ## energy-source.h: double ns3::EnergySource::CalculateTotalCurrent() [member function] - cls.add_method('CalculateTotalCurrent', - 'double', - [], - visibility='protected') - ## energy-source.h: void ns3::EnergySource::NotifyEnergyDrained() [member function] - cls.add_method('NotifyEnergyDrained', - 'void', - [], - visibility='protected') - ## energy-source.h: void ns3::EnergySource::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3EnergySourceContainer_methods(root_module, cls): - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer(ns3::EnergySourceContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnergySourceContainer const &', 'arg0')]) - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer() [constructor] - cls.add_constructor([]) - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer(ns3::Ptr source) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EnergySource >', 'source')]) - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer(std::string sourceName) [constructor] - cls.add_constructor([param('std::string', 'sourceName')]) - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer(ns3::EnergySourceContainer const & a, ns3::EnergySourceContainer const & b) [constructor] - cls.add_constructor([param('ns3::EnergySourceContainer const &', 'a'), param('ns3::EnergySourceContainer const &', 'b')]) - ## energy-source-container.h: void ns3::EnergySourceContainer::Add(ns3::EnergySourceContainer container) [member function] - cls.add_method('Add', - 'void', - [param('ns3::EnergySourceContainer', 'container')]) - ## energy-source-container.h: void ns3::EnergySourceContainer::Add(ns3::Ptr source) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')]) - ## energy-source-container.h: void ns3::EnergySourceContainer::Add(std::string sourceName) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'sourceName')]) - ## energy-source-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::EnergySourceContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::EnergySource > const, std::vector< ns3::Ptr< ns3::EnergySource > > >', - [], - is_const=True) - ## energy-source-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::EnergySourceContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::EnergySource > const, std::vector< ns3::Ptr< ns3::EnergySource > > >', - [], - is_const=True) - ## energy-source-container.h: ns3::Ptr ns3::EnergySourceContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::EnergySource >', - [param('uint32_t', 'i')], - is_const=True) - ## energy-source-container.h: uint32_t ns3::EnergySourceContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## energy-source-container.h: static ns3::TypeId ns3::EnergySourceContainer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## energy-source-container.h: void ns3::EnergySourceContainer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## energy-source-container.h: void ns3::EnergySourceContainer::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3LiIonEnergySource_methods(root_module, cls): - ## li-ion-energy-source.h: ns3::LiIonEnergySource::LiIonEnergySource(ns3::LiIonEnergySource const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LiIonEnergySource const &', 'arg0')]) - ## li-ion-energy-source.h: ns3::LiIonEnergySource::LiIonEnergySource() [constructor] - cls.add_constructor([]) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::DecreaseRemainingEnergy(double energyJ) [member function] - cls.add_method('DecreaseRemainingEnergy', - 'void', - [param('double', 'energyJ')], - is_virtual=True) - ## li-ion-energy-source.h: double ns3::LiIonEnergySource::GetEnergyFraction() [member function] - cls.add_method('GetEnergyFraction', - 'double', - [], - is_virtual=True) - ## li-ion-energy-source.h: ns3::Time ns3::LiIonEnergySource::GetEnergyUpdateInterval() const [member function] - cls.add_method('GetEnergyUpdateInterval', - 'ns3::Time', - [], - is_const=True) - ## li-ion-energy-source.h: double ns3::LiIonEnergySource::GetInitialEnergy() const [member function] - cls.add_method('GetInitialEnergy', - 'double', - [], - is_const=True, is_virtual=True) - ## li-ion-energy-source.h: double ns3::LiIonEnergySource::GetRemainingEnergy() [member function] - cls.add_method('GetRemainingEnergy', - 'double', - [], - is_virtual=True) - ## li-ion-energy-source.h: double ns3::LiIonEnergySource::GetSupplyVoltage() const [member function] - cls.add_method('GetSupplyVoltage', - 'double', - [], - is_const=True, is_virtual=True) - ## li-ion-energy-source.h: static ns3::TypeId ns3::LiIonEnergySource::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::IncreaseRemainingEnergy(double energyJ) [member function] - cls.add_method('IncreaseRemainingEnergy', - 'void', - [param('double', 'energyJ')], - is_virtual=True) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::SetEnergyUpdateInterval(ns3::Time interval) [member function] - cls.add_method('SetEnergyUpdateInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::SetInitialEnergy(double initialEnergyJ) [member function] - cls.add_method('SetInitialEnergy', - 'void', - [param('double', 'initialEnergyJ')]) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::SetInitialSupplyVoltage(double supplyVoltageV) [member function] - cls.add_method('SetInitialSupplyVoltage', - 'void', - [param('double', 'supplyVoltageV')]) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::UpdateEnergySource() [member function] - cls.add_method('UpdateEnergySource', - 'void', - [], - is_virtual=True) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RvBatteryModel_methods(root_module, cls): - ## rv-battery-model.h: ns3::RvBatteryModel::RvBatteryModel(ns3::RvBatteryModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RvBatteryModel const &', 'arg0')]) - ## rv-battery-model.h: ns3::RvBatteryModel::RvBatteryModel() [constructor] - cls.add_constructor([]) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetAlpha() const [member function] - cls.add_method('GetAlpha', - 'double', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetBatteryLevel() [member function] - cls.add_method('GetBatteryLevel', - 'double', - []) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetBeta() const [member function] - cls.add_method('GetBeta', - 'double', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetCutoffVoltage() const [member function] - cls.add_method('GetCutoffVoltage', - 'double', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetEnergyFraction() [member function] - cls.add_method('GetEnergyFraction', - 'double', - [], - is_virtual=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetInitialEnergy() const [member function] - cls.add_method('GetInitialEnergy', - 'double', - [], - is_const=True, is_virtual=True) - ## rv-battery-model.h: ns3::Time ns3::RvBatteryModel::GetLifetime() const [member function] - cls.add_method('GetLifetime', - 'ns3::Time', - [], - is_const=True) - ## rv-battery-model.h: int ns3::RvBatteryModel::GetNumOfTerms() const [member function] - cls.add_method('GetNumOfTerms', - 'int', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetOpenCircuitVoltage() const [member function] - cls.add_method('GetOpenCircuitVoltage', - 'double', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetRemainingEnergy() [member function] - cls.add_method('GetRemainingEnergy', - 'double', - [], - is_virtual=True) - ## rv-battery-model.h: ns3::Time ns3::RvBatteryModel::GetSamplingInterval() const [member function] - cls.add_method('GetSamplingInterval', - 'ns3::Time', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetSupplyVoltage() const [member function] - cls.add_method('GetSupplyVoltage', - 'double', - [], - is_const=True, is_virtual=True) - ## rv-battery-model.h: static ns3::TypeId ns3::RvBatteryModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetAlpha(double alpha) [member function] - cls.add_method('SetAlpha', - 'void', - [param('double', 'alpha')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetBeta(double beta) [member function] - cls.add_method('SetBeta', - 'void', - [param('double', 'beta')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetCutoffVoltage(double voltage) [member function] - cls.add_method('SetCutoffVoltage', - 'void', - [param('double', 'voltage')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetNumOfTerms(int num) [member function] - cls.add_method('SetNumOfTerms', - 'void', - [param('int', 'num')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetOpenCircuitVoltage(double voltage) [member function] - cls.add_method('SetOpenCircuitVoltage', - 'void', - [param('double', 'voltage')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetSamplingInterval(ns3::Time interval) [member function] - cls.add_method('SetSamplingInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::UpdateEnergySource() [member function] - cls.add_method('UpdateEnergySource', - 'void', - [], - is_virtual=True) - ## rv-battery-model.h: void ns3::RvBatteryModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## rv-battery-model.h: void ns3::RvBatteryModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3SimpleDeviceEnergyModel_methods(root_module, cls): - ## simple-device-energy-model.h: ns3::SimpleDeviceEnergyModel::SimpleDeviceEnergyModel(ns3::SimpleDeviceEnergyModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleDeviceEnergyModel const &', 'arg0')]) - ## simple-device-energy-model.h: ns3::SimpleDeviceEnergyModel::SimpleDeviceEnergyModel() [constructor] - cls.add_constructor([]) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::ChangeState(int newState) [member function] - cls.add_method('ChangeState', - 'void', - [param('int', 'newState')], - is_virtual=True) - ## simple-device-energy-model.h: ns3::Ptr ns3::SimpleDeviceEnergyModel::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## simple-device-energy-model.h: double ns3::SimpleDeviceEnergyModel::GetTotalEnergyConsumption() const [member function] - cls.add_method('GetTotalEnergyConsumption', - 'double', - [], - is_const=True, is_virtual=True) - ## simple-device-energy-model.h: static ns3::TypeId ns3::SimpleDeviceEnergyModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::HandleEnergyDepletion() [member function] - cls.add_method('HandleEnergyDepletion', - 'void', - [], - is_virtual=True) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::SetCurrentA(double current) [member function] - cls.add_method('SetCurrentA', - 'void', - [param('double', 'current')]) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::SetEnergySource(ns3::Ptr source) [member function] - cls.add_method('SetEnergySource', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_virtual=True) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## simple-device-energy-model.h: double ns3::SimpleDeviceEnergyModel::DoGetCurrentA() const [member function] - cls.add_method('DoGetCurrentA', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiRadioEnergyModel_methods(root_module, cls): - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModel::WifiRadioEnergyModel(ns3::WifiRadioEnergyModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRadioEnergyModel const &', 'arg0')]) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModel::WifiRadioEnergyModel() [constructor] - cls.add_constructor([]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::ChangeState(int newState) [member function] - cls.add_method('ChangeState', - 'void', - [param('int', 'newState')], - is_virtual=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetCcaBusyCurrentA() const [member function] - cls.add_method('GetCcaBusyCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: ns3::WifiPhy::State ns3::WifiRadioEnergyModel::GetCurrentState() const [member function] - cls.add_method('GetCurrentState', - 'ns3::WifiPhy::State', - [], - is_const=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetIdleCurrentA() const [member function] - cls.add_method('GetIdleCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModelPhyListener * ns3::WifiRadioEnergyModel::GetPhyListener() [member function] - cls.add_method('GetPhyListener', - 'ns3::WifiRadioEnergyModelPhyListener *', - []) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetRxCurrentA() const [member function] - cls.add_method('GetRxCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetSwitchingCurrentA() const [member function] - cls.add_method('GetSwitchingCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetTotalEnergyConsumption() const [member function] - cls.add_method('GetTotalEnergyConsumption', - 'double', - [], - is_const=True, is_virtual=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetTxCurrentA() const [member function] - cls.add_method('GetTxCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: static ns3::TypeId ns3::WifiRadioEnergyModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::HandleEnergyDepletion() [member function] - cls.add_method('HandleEnergyDepletion', - 'void', - [], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetCcaBusyCurrentA(double ccaBusyCurrentA) [member function] - cls.add_method('SetCcaBusyCurrentA', - 'void', - [param('double', 'ccaBusyCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetEnergyDepletionCallback(ns3::Callback callback) [member function] - cls.add_method('SetEnergyDepletionCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetEnergySource(ns3::Ptr source) [member function] - cls.add_method('SetEnergySource', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetIdleCurrentA(double idleCurrentA) [member function] - cls.add_method('SetIdleCurrentA', - 'void', - [param('double', 'idleCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetRxCurrentA(double rxCurrentA) [member function] - cls.add_method('SetRxCurrentA', - 'void', - [param('double', 'rxCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetSwitchingCurrentA(double switchingCurrentA) [member function] - cls.add_method('SetSwitchingCurrentA', - 'void', - [param('double', 'switchingCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetTxCurrentA(double txCurrentA) [member function] - cls.add_method('SetTxCurrentA', - 'void', - [param('double', 'txCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::DoGetCurrentA() const [member function] - cls.add_method('DoGetCurrentA', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3BasicEnergySource_methods(root_module, cls): - ## basic-energy-source.h: ns3::BasicEnergySource::BasicEnergySource(ns3::BasicEnergySource const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BasicEnergySource const &', 'arg0')]) - ## basic-energy-source.h: ns3::BasicEnergySource::BasicEnergySource() [constructor] - cls.add_constructor([]) - ## basic-energy-source.h: double ns3::BasicEnergySource::GetEnergyFraction() [member function] - cls.add_method('GetEnergyFraction', - 'double', - [], - is_virtual=True) - ## basic-energy-source.h: ns3::Time ns3::BasicEnergySource::GetEnergyUpdateInterval() const [member function] - cls.add_method('GetEnergyUpdateInterval', - 'ns3::Time', - [], - is_const=True) - ## basic-energy-source.h: double ns3::BasicEnergySource::GetInitialEnergy() const [member function] - cls.add_method('GetInitialEnergy', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-energy-source.h: double ns3::BasicEnergySource::GetRemainingEnergy() [member function] - cls.add_method('GetRemainingEnergy', - 'double', - [], - is_virtual=True) - ## basic-energy-source.h: double ns3::BasicEnergySource::GetSupplyVoltage() const [member function] - cls.add_method('GetSupplyVoltage', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-energy-source.h: static ns3::TypeId ns3::BasicEnergySource::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## basic-energy-source.h: void ns3::BasicEnergySource::SetEnergyUpdateInterval(ns3::Time interval) [member function] - cls.add_method('SetEnergyUpdateInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## basic-energy-source.h: void ns3::BasicEnergySource::SetInitialEnergy(double initialEnergyJ) [member function] - cls.add_method('SetInitialEnergy', - 'void', - [param('double', 'initialEnergyJ')]) - ## basic-energy-source.h: void ns3::BasicEnergySource::SetSupplyVoltage(double supplyVoltageV) [member function] - cls.add_method('SetSupplyVoltage', - 'void', - [param('double', 'supplyVoltageV')]) - ## basic-energy-source.h: void ns3::BasicEnergySource::UpdateEnergySource() [member function] - cls.add_method('UpdateEnergySource', - 'void', - [], - is_virtual=True) - ## basic-energy-source.h: void ns3::BasicEnergySource::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## basic-energy-source.h: void ns3::BasicEnergySource::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py deleted file mode 100644 index dae579ffe..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_flow_monitor.py +++ /dev/null @@ -1,494 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## flow-monitor-helper.h: ns3::FlowMonitorHelper [class] - module.add_class('FlowMonitorHelper') - ## histogram.h: ns3::Histogram [class] - module.add_class('Histogram') - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FlowClassifier', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FlowProbe', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## flow-classifier.h: ns3::FlowClassifier [class] - module.add_class('FlowClassifier', parent=root_module['ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty, ns3::DefaultDeleter >']) - ## flow-monitor.h: ns3::FlowMonitor [class] - module.add_class('FlowMonitor', parent=root_module['ns3::Object']) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats [struct] - module.add_class('FlowStats', outer_class=root_module['ns3::FlowMonitor']) - ## flow-probe.h: ns3::FlowProbe [class] - module.add_class('FlowProbe', parent=root_module['ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty, ns3::DefaultDeleter >']) - ## flow-probe.h: ns3::FlowProbe::FlowStats [struct] - module.add_class('FlowStats', outer_class=root_module['ns3::FlowProbe']) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier [class] - module.add_class('Ipv4FlowClassifier', parent=root_module['ns3::FlowClassifier']) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple [struct] - module.add_class('FiveTuple', outer_class=root_module['ns3::Ipv4FlowClassifier']) - ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe [class] - module.add_class('Ipv4FlowProbe', parent=root_module['ns3::FlowProbe']) - ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_NO_ROUTE', 'DROP_TTL_EXPIRE', 'DROP_BAD_CHECKSUM', 'DROP_QUEUE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_INVALID_REASON'], outer_class=root_module['ns3::Ipv4FlowProbe']) - module.add_container('std::map< unsigned int, ns3::FlowMonitor::FlowStats >', ('unsigned int', 'ns3::FlowMonitor::FlowStats'), container_type='map') - module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map') - typehandlers.add_type_alias('uint32_t', 'ns3::FlowPacketId') - typehandlers.add_type_alias('uint32_t*', 'ns3::FlowPacketId*') - typehandlers.add_type_alias('uint32_t&', 'ns3::FlowPacketId&') - typehandlers.add_type_alias('uint32_t', 'ns3::FlowId') - typehandlers.add_type_alias('uint32_t*', 'ns3::FlowId*') - typehandlers.add_type_alias('uint32_t&', 'ns3::FlowId&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3FlowMonitorHelper_methods(root_module, root_module['ns3::FlowMonitorHelper']) - register_Ns3Histogram_methods(root_module, root_module['ns3::Histogram']) - register_Ns3FlowClassifier_methods(root_module, root_module['ns3::FlowClassifier']) - register_Ns3FlowMonitor_methods(root_module, root_module['ns3::FlowMonitor']) - register_Ns3FlowMonitorFlowStats_methods(root_module, root_module['ns3::FlowMonitor::FlowStats']) - register_Ns3FlowProbe_methods(root_module, root_module['ns3::FlowProbe']) - register_Ns3FlowProbeFlowStats_methods(root_module, root_module['ns3::FlowProbe::FlowStats']) - register_Ns3Ipv4FlowClassifier_methods(root_module, root_module['ns3::Ipv4FlowClassifier']) - register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, root_module['ns3::Ipv4FlowClassifier::FiveTuple']) - register_Ns3Ipv4FlowProbe_methods(root_module, root_module['ns3::Ipv4FlowProbe']) - return - -def register_Ns3FlowMonitorHelper_methods(root_module, cls): - ## flow-monitor-helper.h: ns3::FlowMonitorHelper::FlowMonitorHelper(ns3::FlowMonitorHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowMonitorHelper const &', 'arg0')]) - ## flow-monitor-helper.h: ns3::FlowMonitorHelper::FlowMonitorHelper() [constructor] - cls.add_constructor([]) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::GetClassifier() [member function] - cls.add_method('GetClassifier', - 'ns3::Ptr< ns3::FlowClassifier >', - []) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::GetMonitor() [member function] - cls.add_method('GetMonitor', - 'ns3::Ptr< ns3::FlowMonitor >', - []) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::Install(ns3::NodeContainer nodes) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::FlowMonitor >', - [param('ns3::NodeContainer', 'nodes')]) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::Install(ns3::Ptr node) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::FlowMonitor >', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::InstallAll() [member function] - cls.add_method('InstallAll', - 'ns3::Ptr< ns3::FlowMonitor >', - []) - ## flow-monitor-helper.h: void ns3::FlowMonitorHelper::SetMonitorAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetMonitorAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - return - -def register_Ns3Histogram_methods(root_module, cls): - ## histogram.h: ns3::Histogram::Histogram(ns3::Histogram const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Histogram const &', 'arg0')]) - ## histogram.h: ns3::Histogram::Histogram(double binWidth) [constructor] - cls.add_constructor([param('double', 'binWidth')]) - ## histogram.h: ns3::Histogram::Histogram() [constructor] - cls.add_constructor([]) - ## histogram.h: void ns3::Histogram::AddValue(double value) [member function] - cls.add_method('AddValue', - 'void', - [param('double', 'value')]) - ## histogram.h: uint32_t ns3::Histogram::GetBinCount(uint32_t index) [member function] - cls.add_method('GetBinCount', - 'uint32_t', - [param('uint32_t', 'index')]) - ## histogram.h: double ns3::Histogram::GetBinEnd(uint32_t index) [member function] - cls.add_method('GetBinEnd', - 'double', - [param('uint32_t', 'index')]) - ## histogram.h: double ns3::Histogram::GetBinStart(uint32_t index) [member function] - cls.add_method('GetBinStart', - 'double', - [param('uint32_t', 'index')]) - ## histogram.h: double ns3::Histogram::GetBinWidth(uint32_t index) const [member function] - cls.add_method('GetBinWidth', - 'double', - [param('uint32_t', 'index')], - is_const=True) - ## histogram.h: uint32_t ns3::Histogram::GetNBins() const [member function] - cls.add_method('GetNBins', - 'uint32_t', - [], - is_const=True) - ## histogram.h: void ns3::Histogram::SerializeToXmlStream(std::ostream & os, int indent, std::string elementName) const [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent'), param('std::string', 'elementName')], - is_const=True) - ## histogram.h: void ns3::Histogram::SetDefaultBinWidth(double binWidth) [member function] - cls.add_method('SetDefaultBinWidth', - 'void', - [param('double', 'binWidth')]) - return - -def register_Ns3FlowClassifier_methods(root_module, cls): - ## flow-classifier.h: ns3::FlowClassifier::FlowClassifier() [constructor] - cls.add_constructor([]) - ## flow-classifier.h: void ns3::FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## flow-classifier.h: ns3::FlowId ns3::FlowClassifier::GetNewFlowId() [member function] - cls.add_method('GetNewFlowId', - 'ns3::FlowId', - [], - visibility='protected') - return - -def register_Ns3FlowMonitor_methods(root_module, cls): - ## flow-monitor.h: ns3::FlowMonitor::FlowMonitor(ns3::FlowMonitor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowMonitor const &', 'arg0')]) - ## flow-monitor.h: ns3::FlowMonitor::FlowMonitor() [constructor] - cls.add_constructor([]) - ## flow-monitor.h: void ns3::FlowMonitor::AddProbe(ns3::Ptr probe) [member function] - cls.add_method('AddProbe', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe')]) - ## flow-monitor.h: void ns3::FlowMonitor::CheckForLostPackets() [member function] - cls.add_method('CheckForLostPackets', - 'void', - []) - ## flow-monitor.h: void ns3::FlowMonitor::CheckForLostPackets(ns3::Time maxDelay) [member function] - cls.add_method('CheckForLostPackets', - 'void', - [param('ns3::Time', 'maxDelay')]) - ## flow-monitor.h: std::vector, std::allocator > > ns3::FlowMonitor::GetAllProbes() const [member function] - cls.add_method('GetAllProbes', - 'std::vector< ns3::Ptr< ns3::FlowProbe > >', - [], - is_const=True) - ## flow-monitor.h: std::map, std::allocator > > ns3::FlowMonitor::GetFlowStats() const [member function] - cls.add_method('GetFlowStats', - 'std::map< unsigned int, ns3::FlowMonitor::FlowStats >', - [], - is_const=True) - ## flow-monitor.h: ns3::TypeId ns3::FlowMonitor::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## flow-monitor.h: static ns3::TypeId ns3::FlowMonitor::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flow-monitor.h: void ns3::FlowMonitor::ReportDrop(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize, uint32_t reasonCode) [member function] - cls.add_method('ReportDrop', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')]) - ## flow-monitor.h: void ns3::FlowMonitor::ReportFirstTx(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize) [member function] - cls.add_method('ReportFirstTx', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize')]) - ## flow-monitor.h: void ns3::FlowMonitor::ReportForwarding(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize) [member function] - cls.add_method('ReportForwarding', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize')]) - ## flow-monitor.h: void ns3::FlowMonitor::ReportLastRx(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize) [member function] - cls.add_method('ReportLastRx', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize')]) - ## flow-monitor.h: void ns3::FlowMonitor::SerializeToXmlFile(std::string fileName, bool enableHistograms, bool enableProbes) [member function] - cls.add_method('SerializeToXmlFile', - 'void', - [param('std::string', 'fileName'), param('bool', 'enableHistograms'), param('bool', 'enableProbes')]) - ## flow-monitor.h: void ns3::FlowMonitor::SerializeToXmlStream(std::ostream & os, int indent, bool enableHistograms, bool enableProbes) [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent'), param('bool', 'enableHistograms'), param('bool', 'enableProbes')]) - ## flow-monitor.h: std::string ns3::FlowMonitor::SerializeToXmlString(int indent, bool enableHistograms, bool enableProbes) [member function] - cls.add_method('SerializeToXmlString', - 'std::string', - [param('int', 'indent'), param('bool', 'enableHistograms'), param('bool', 'enableProbes')]) - ## flow-monitor.h: void ns3::FlowMonitor::SetFlowClassifier(ns3::Ptr classifier) [member function] - cls.add_method('SetFlowClassifier', - 'void', - [param('ns3::Ptr< ns3::FlowClassifier >', 'classifier')]) - ## flow-monitor.h: void ns3::FlowMonitor::Start(ns3::Time const & time) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time const &', 'time')]) - ## flow-monitor.h: void ns3::FlowMonitor::StartRightNow() [member function] - cls.add_method('StartRightNow', - 'void', - []) - ## flow-monitor.h: void ns3::FlowMonitor::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')]) - ## flow-monitor.h: void ns3::FlowMonitor::StopRightNow() [member function] - cls.add_method('StopRightNow', - 'void', - []) - ## flow-monitor.h: void ns3::FlowMonitor::NotifyConstructionCompleted() [member function] - cls.add_method('NotifyConstructionCompleted', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3FlowMonitorFlowStats_methods(root_module, cls): - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::FlowStats() [constructor] - cls.add_constructor([]) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::FlowStats(ns3::FlowMonitor::FlowStats const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowMonitor::FlowStats const &', 'arg0')]) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::bytesDropped [variable] - cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long long >', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::delayHistogram [variable] - cls.add_instance_attribute('delayHistogram', 'ns3::Histogram', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::delaySum [variable] - cls.add_instance_attribute('delaySum', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::flowInterruptionsHistogram [variable] - cls.add_instance_attribute('flowInterruptionsHistogram', 'ns3::Histogram', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::jitterHistogram [variable] - cls.add_instance_attribute('jitterHistogram', 'ns3::Histogram', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::jitterSum [variable] - cls.add_instance_attribute('jitterSum', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::lastDelay [variable] - cls.add_instance_attribute('lastDelay', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::lostPackets [variable] - cls.add_instance_attribute('lostPackets', 'uint32_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::packetSizeHistogram [variable] - cls.add_instance_attribute('packetSizeHistogram', 'ns3::Histogram', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::packetsDropped [variable] - cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::rxBytes [variable] - cls.add_instance_attribute('rxBytes', 'uint64_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::rxPackets [variable] - cls.add_instance_attribute('rxPackets', 'uint32_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeFirstRxPacket [variable] - cls.add_instance_attribute('timeFirstRxPacket', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeFirstTxPacket [variable] - cls.add_instance_attribute('timeFirstTxPacket', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeLastRxPacket [variable] - cls.add_instance_attribute('timeLastRxPacket', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeLastTxPacket [variable] - cls.add_instance_attribute('timeLastTxPacket', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timesForwarded [variable] - cls.add_instance_attribute('timesForwarded', 'uint32_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::txBytes [variable] - cls.add_instance_attribute('txBytes', 'uint64_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::txPackets [variable] - cls.add_instance_attribute('txPackets', 'uint32_t', is_const=False) - return - -def register_Ns3FlowProbe_methods(root_module, cls): - ## flow-probe.h: void ns3::FlowProbe::AddPacketDropStats(ns3::FlowId flowId, uint32_t packetSize, uint32_t reasonCode) [member function] - cls.add_method('AddPacketDropStats', - 'void', - [param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')]) - ## flow-probe.h: void ns3::FlowProbe::AddPacketStats(ns3::FlowId flowId, uint32_t packetSize, ns3::Time delayFromFirstProbe) [member function] - cls.add_method('AddPacketStats', - 'void', - [param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('ns3::Time', 'delayFromFirstProbe')]) - ## flow-probe.h: std::map, std::allocator > > ns3::FlowProbe::GetStats() const [member function] - cls.add_method('GetStats', - 'std::map< unsigned int, ns3::FlowProbe::FlowStats >', - [], - is_const=True) - ## flow-probe.h: void ns3::FlowProbe::SerializeToXmlStream(std::ostream & os, int indent, uint32_t index) const [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent'), param('uint32_t', 'index')], - is_const=True) - ## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::Ptr flowMonitor) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'flowMonitor')], - visibility='protected') - return - -def register_Ns3FlowProbeFlowStats_methods(root_module, cls): - ## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats(ns3::FlowProbe::FlowStats const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowProbe::FlowStats const &', 'arg0')]) - ## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats() [constructor] - cls.add_constructor([]) - ## flow-probe.h: ns3::FlowProbe::FlowStats::bytes [variable] - cls.add_instance_attribute('bytes', 'uint64_t', is_const=False) - ## flow-probe.h: ns3::FlowProbe::FlowStats::bytesDropped [variable] - cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long long >', is_const=False) - ## flow-probe.h: ns3::FlowProbe::FlowStats::delayFromFirstProbeSum [variable] - cls.add_instance_attribute('delayFromFirstProbeSum', 'ns3::Time', is_const=False) - ## flow-probe.h: ns3::FlowProbe::FlowStats::packets [variable] - cls.add_instance_attribute('packets', 'uint32_t', is_const=False) - ## flow-probe.h: ns3::FlowProbe::FlowStats::packetsDropped [variable] - cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False) - return - -def register_Ns3Ipv4FlowClassifier_methods(root_module, cls): - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier() [constructor] - cls.add_constructor([]) - ## ipv4-flow-classifier.h: bool ns3::Ipv4FlowClassifier::Classify(ns3::Ipv4Header const & ipHeader, ns3::Ptr ipPayload, uint32_t * out_flowId, uint32_t * out_packetId) [member function] - cls.add_method('Classify', - 'bool', - [param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet const >', 'ipPayload'), param('uint32_t *', 'out_flowId'), param('uint32_t *', 'out_packetId')]) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple ns3::Ipv4FlowClassifier::FindFlow(ns3::FlowId flowId) const [member function] - cls.add_method('FindFlow', - 'ns3::Ipv4FlowClassifier::FiveTuple', - [param('ns3::FlowId', 'flowId')], - is_const=True) - ## ipv4-flow-classifier.h: void ns3::Ipv4FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple() [constructor] - cls.add_constructor([]) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple(ns3::Ipv4FlowClassifier::FiveTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4FlowClassifier::FiveTuple const &', 'arg0')]) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationAddress [variable] - cls.add_instance_attribute('destinationAddress', 'ns3::Ipv4Address', is_const=False) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationPort [variable] - cls.add_instance_attribute('destinationPort', 'uint16_t', is_const=False) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::protocol [variable] - cls.add_instance_attribute('protocol', 'uint8_t', is_const=False) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourceAddress [variable] - cls.add_instance_attribute('sourceAddress', 'ns3::Ipv4Address', is_const=False) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourcePort [variable] - cls.add_instance_attribute('sourcePort', 'uint16_t', is_const=False) - return - -def register_Ns3Ipv4FlowProbe_methods(root_module, cls): - ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ptr monitor, ns3::Ptr classifier, ns3::Ptr node) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'monitor'), param('ns3::Ptr< ns3::Ipv4FlowClassifier >', 'classifier'), param('ns3::Ptr< ns3::Node >', 'node')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_internet.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_internet.py deleted file mode 100644 index 59861eca7..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_internet.py +++ /dev/null @@ -1,7760 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## tcp-socket.h: ns3::TcpStates_t [enumeration] - module.add_enum('TcpStates_t', ['CLOSED', 'LISTEN', 'SYN_SENT', 'SYN_RCVD', 'ESTABLISHED', 'CLOSE_WAIT', 'LAST_ACK', 'FIN_WAIT_1', 'FIN_WAIT_2', 'CLOSING', 'TIME_WAIT', 'LAST_STATE']) - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4 [class] - module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True) - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6 [class] - module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True) - ## candidate-queue.h: ns3::CandidateQueue [class] - module.add_class('CandidateQueue') - ## global-route-manager.h: ns3::GlobalRouteManager [class] - module.add_class('GlobalRouteManager') - ## global-route-manager-impl.h: ns3::GlobalRouteManagerImpl [class] - module.add_class('GlobalRouteManagerImpl', allow_subclassing=True) - ## global-route-manager-impl.h: ns3::GlobalRouteManagerLSDB [class] - module.add_class('GlobalRouteManagerLSDB') - ## global-router-interface.h: ns3::GlobalRoutingLSA [class] - module.add_class('GlobalRoutingLSA') - ## global-router-interface.h: ns3::GlobalRoutingLSA::LSType [enumeration] - module.add_enum('LSType', ['Unknown', 'RouterLSA', 'NetworkLSA', 'SummaryLSA', 'SummaryLSA_ASBR', 'ASExternalLSAs'], outer_class=root_module['ns3::GlobalRoutingLSA']) - ## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus [enumeration] - module.add_enum('SPFStatus', ['LSA_SPF_NOT_EXPLORED', 'LSA_SPF_CANDIDATE', 'LSA_SPF_IN_SPFTREE'], outer_class=root_module['ns3::GlobalRoutingLSA']) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord [class] - module.add_class('GlobalRoutingLinkRecord') - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType [enumeration] - module.add_enum('LinkType', ['Unknown', 'PointToPoint', 'TransitNetwork', 'StubNetwork', 'VirtualLink'], outer_class=root_module['ns3::GlobalRoutingLinkRecord']) - ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator [class] - module.add_class('Ipv4AddressGenerator') - ## ipv4-address-helper.h: ns3::Ipv4AddressHelper [class] - module.add_class('Ipv4AddressHelper') - ## ipv4-end-point.h: ns3::Ipv4EndPoint [class] - module.add_class('Ipv4EndPoint') - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress [class] - module.add_class('Ipv4InterfaceAddress') - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration] - module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress']) - ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer [class] - module.add_class('Ipv4InterfaceContainer') - ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry [class] - module.add_class('Ipv4MulticastRoutingTableEntry') - ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper [class] - module.add_class('Ipv4RoutingHelper', allow_subclassing=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry [class] - module.add_class('Ipv4RoutingTableEntry') - ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper [class] - module.add_class('Ipv4StaticRoutingHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## ipv6-address-helper.h: ns3::Ipv6AddressHelper [class] - module.add_class('Ipv6AddressHelper') - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress [class] - module.add_class('Ipv6InterfaceAddress') - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::State_e [enumeration] - module.add_enum('State_e', ['TENTATIVE', 'DEPRECATED', 'PREFERRED', 'PERMANENT', 'HOMEADDRESS', 'TENTATIVE_OPTIMISTIC', 'INVALID'], outer_class=root_module['ns3::Ipv6InterfaceAddress']) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Scope_e [enumeration] - module.add_enum('Scope_e', ['HOST', 'LINKLOCAL', 'GLOBAL'], outer_class=root_module['ns3::Ipv6InterfaceAddress']) - ## ipv6-interface-container.h: ns3::Ipv6InterfaceContainer [class] - module.add_class('Ipv6InterfaceContainer') - ## ipv6-routing-table-entry.h: ns3::Ipv6MulticastRoutingTableEntry [class] - module.add_class('Ipv6MulticastRoutingTableEntry') - ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper [class] - module.add_class('Ipv6RoutingHelper', allow_subclassing=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6RoutingTableEntry [class] - module.add_class('Ipv6RoutingTableEntry') - ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper [class] - module.add_class('Ipv6StaticRoutingHelper', parent=root_module['ns3::Ipv6RoutingHelper']) - ## ipv6-extension-header.h: ns3::OptionField [class] - module.add_class('OptionField') - ## internet-trace-helper.h: ns3::PcapHelperForIpv4 [class] - module.add_class('PcapHelperForIpv4', allow_subclassing=True) - ## internet-trace-helper.h: ns3::PcapHelperForIpv6 [class] - module.add_class('PcapHelperForIpv6', allow_subclassing=True) - ## global-route-manager-impl.h: ns3::SPFVertex [class] - module.add_class('SPFVertex') - ## global-route-manager-impl.h: ns3::SPFVertex::VertexType [enumeration] - module.add_enum('VertexType', ['VertexUnknown', 'VertexRouter', 'VertexNetwork'], outer_class=root_module['ns3::SPFVertex']) - ## icmpv4.h: ns3::Icmpv4DestinationUnreachable [class] - module.add_class('Icmpv4DestinationUnreachable', parent=root_module['ns3::Header']) - ## icmpv4.h: ns3::Icmpv4DestinationUnreachable [enumeration] - module.add_enum('', ['NET_UNREACHABLE', 'HOST_UNREACHABLE', 'PROTOCOL_UNREACHABLE', 'PORT_UNREACHABLE', 'FRAG_NEEDED', 'SOURCE_ROUTE_FAILED'], outer_class=root_module['ns3::Icmpv4DestinationUnreachable']) - ## icmpv4.h: ns3::Icmpv4Echo [class] - module.add_class('Icmpv4Echo', parent=root_module['ns3::Header']) - ## icmpv4.h: ns3::Icmpv4Header [class] - module.add_class('Icmpv4Header', parent=root_module['ns3::Header']) - ## icmpv4.h: ns3::Icmpv4Header [enumeration] - module.add_enum('', ['ECHO_REPLY', 'DEST_UNREACH', 'ECHO', 'TIME_EXCEEDED'], outer_class=root_module['ns3::Icmpv4Header']) - ## icmpv4.h: ns3::Icmpv4TimeExceeded [class] - module.add_class('Icmpv4TimeExceeded', parent=root_module['ns3::Header']) - ## icmpv4.h: ns3::Icmpv4TimeExceeded [enumeration] - module.add_enum('', ['TIME_TO_LIVE', 'FRAGMENT_REASSEMBLY'], outer_class=root_module['ns3::Icmpv4TimeExceeded']) - ## icmpv6-header.h: ns3::Icmpv6Header [class] - module.add_class('Icmpv6Header', parent=root_module['ns3::Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::Type_e [enumeration] - module.add_enum('Type_e', ['ICMPV6_ERROR_DESTINATION_UNREACHABLE', 'ICMPV6_ERROR_PACKET_TOO_BIG', 'ICMPV6_ERROR_TIME_EXCEEDED', 'ICMPV6_ERROR_PARAMETER_ERROR', 'ICMPV6_ECHO_REQUEST', 'ICMPV6_ECHO_REPLY', 'ICMPV6_SUBSCRIBE_REQUEST', 'ICMPV6_SUBSCRIBE_REPORT', 'ICMPV6_SUBSCRIVE_END', 'ICMPV6_ND_ROUTER_SOLICITATION', 'ICMPV6_ND_ROUTER_ADVERTISEMENT', 'ICMPV6_ND_NEIGHBOR_SOLICITATION', 'ICMPV6_ND_NEIGHBOR_ADVERTISEMENT', 'ICMPV6_ND_REDIRECTION', 'ICMPV6_ROUTER_RENUMBER', 'ICMPV6_INFORMATION_REQUEST', 'ICMPV6_INFORMATION_RESPONSE', 'ICMPV6_INVERSE_ND_SOLICITATION', 'ICMPV6_INVERSE_ND_ADVERSTISEMENT', 'ICMPV6_MLDV2_SUBSCRIBE_REPORT', 'ICMPV6_MOBILITY_HA_DISCOVER_REQUEST', 'ICMPV6_MOBILITY_HA_DISCOVER_RESPONSE', 'ICMPV6_MOBILITY_MOBILE_PREFIX_SOLICITATION', 'ICMPV6_SECURE_ND_CERTIFICATE_PATH_SOLICITATION', 'ICMPV6_SECURE_ND_CERTIFICATE_PATH_ADVERTISEMENT', 'ICMPV6_EXPERIMENTAL_MOBILITY'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::OptionType_e [enumeration] - module.add_enum('OptionType_e', ['ICMPV6_OPT_LINK_LAYER_SOURCE', 'ICMPV6_OPT_LINK_LAYER_TARGET', 'ICMPV6_OPT_PREFIX', 'ICMPV6_OPT_REDIRECTED', 'ICMPV6_OPT_MTU'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::ErrorDestinationUnreachable_e [enumeration] - module.add_enum('ErrorDestinationUnreachable_e', ['ICMPV6_NO_ROUTE', 'ICMPV6_ADM_PROHIBITED', 'ICMPV6_NOT_NEIGHBOUR', 'ICMPV6_ADDR_UNREACHABLE', 'ICMPV6_PORT_UNREACHABLE'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::ErrorTimeExceeded_e [enumeration] - module.add_enum('ErrorTimeExceeded_e', ['ICMPV6_HOPLIMIT', 'ICMPV6_FRAGTIME'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::ErrorParameterError_e [enumeration] - module.add_enum('ErrorParameterError_e', ['ICMPV6_MALFORMED_HEADER', 'ICMPV6_UNKNOWN_NEXT_HEADER', 'ICMPV6_UNKNOWN_OPTION'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6NA [class] - module.add_class('Icmpv6NA', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6NS [class] - module.add_class('Icmpv6NS', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6OptionHeader [class] - module.add_class('Icmpv6OptionHeader', parent=root_module['ns3::Header']) - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress [class] - module.add_class('Icmpv6OptionLinkLayerAddress', parent=root_module['ns3::Icmpv6OptionHeader']) - ## icmpv6-header.h: ns3::Icmpv6OptionMtu [class] - module.add_class('Icmpv6OptionMtu', parent=root_module['ns3::Icmpv6OptionHeader']) - ## icmpv6-header.h: ns3::Icmpv6OptionPrefixInformation [class] - module.add_class('Icmpv6OptionPrefixInformation', parent=root_module['ns3::Icmpv6OptionHeader']) - ## icmpv6-header.h: ns3::Icmpv6OptionRedirected [class] - module.add_class('Icmpv6OptionRedirected', parent=root_module['ns3::Icmpv6OptionHeader']) - ## icmpv6-header.h: ns3::Icmpv6ParameterError [class] - module.add_class('Icmpv6ParameterError', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6RA [class] - module.add_class('Icmpv6RA', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6RS [class] - module.add_class('Icmpv6RS', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Redirection [class] - module.add_class('Icmpv6Redirection', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6TimeExceeded [class] - module.add_class('Icmpv6TimeExceeded', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6TooBig [class] - module.add_class('Icmpv6TooBig', parent=root_module['ns3::Icmpv6Header']) - ## internet-stack-helper.h: ns3::InternetStackHelper [class] - module.add_class('InternetStackHelper', parent=[root_module['ns3::PcapHelperForIpv4'], root_module['ns3::PcapHelperForIpv6'], root_module['ns3::AsciiTraceHelperForIpv4'], root_module['ns3::AsciiTraceHelperForIpv6']]) - ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper [class] - module.add_class('Ipv4GlobalRoutingHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## ipv4-header.h: ns3::Ipv4Header [class] - module.add_class('Ipv4Header', parent=root_module['ns3::Header']) - ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper [class] - module.add_class('Ipv4ListRoutingHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## ipv4-packet-info-tag.h: ns3::Ipv4PacketInfoTag [class] - module.add_class('Ipv4PacketInfoTag', parent=root_module['ns3::Tag']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHeader [class] - module.add_class('Ipv6ExtensionHeader', parent=root_module['ns3::Header']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHopByHopHeader [class] - module.add_class('Ipv6ExtensionHopByHopHeader', parent=[root_module['ns3::Ipv6ExtensionHeader'], root_module['ns3::OptionField']]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionRoutingHeader [class] - module.add_class('Ipv6ExtensionRoutingHeader', parent=root_module['ns3::Ipv6ExtensionHeader']) - ## ipv6-header.h: ns3::Ipv6Header [class] - module.add_class('Ipv6Header', parent=root_module['ns3::Header']) - ## ipv6-header.h: ns3::Ipv6Header::NextHeader_e [enumeration] - module.add_enum('NextHeader_e', ['IPV6_EXT_HOP_BY_HOP', 'IPV6_IPV4', 'IPV6_TCP', 'IPV6_UDP', 'IPV6_IPV6', 'IPV6_EXT_ROUTING', 'IPV6_EXT_FRAGMENTATION', 'IPV6_EXT_CONFIDENTIALITY', 'IPV6_EXT_AUTHENTIFICATION', 'IPV6_ICMPV6', 'IPV6_EXT_END', 'IPV6_EXT_DESTINATION', 'IPV6_SCTP', 'IPV6_EXT_MOBILITY', 'IPV6_UDP_LITE'], outer_class=root_module['ns3::Ipv6Header']) - ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper [class] - module.add_class('Ipv6ListRoutingHelper', parent=root_module['ns3::Ipv6RoutingHelper']) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader [class] - module.add_class('Ipv6OptionHeader', parent=root_module['ns3::Header']) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment [struct] - module.add_class('Alignment', outer_class=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-option-header.h: ns3::Ipv6OptionJumbogramHeader [class] - module.add_class('Ipv6OptionJumbogramHeader', parent=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-option-header.h: ns3::Ipv6OptionPad1Header [class] - module.add_class('Ipv6OptionPad1Header', parent=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-option-header.h: ns3::Ipv6OptionPadnHeader [class] - module.add_class('Ipv6OptionPadnHeader', parent=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-option-header.h: ns3::Ipv6OptionRouterAlertHeader [class] - module.add_class('Ipv6OptionRouterAlertHeader', parent=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-packet-info-tag.h: ns3::Ipv6PacketInfoTag [class] - module.add_class('Ipv6PacketInfoTag', parent=root_module['ns3::Tag']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Ipv6MulticastRoute', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Ipv6Route', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## tcp-header.h: ns3::TcpHeader [class] - module.add_class('TcpHeader', parent=root_module['ns3::Header']) - ## tcp-header.h: ns3::TcpHeader::Flags_t [enumeration] - module.add_enum('Flags_t', ['NONE', 'FIN', 'SYN', 'RST', 'PSH', 'ACK', 'URG'], outer_class=root_module['ns3::TcpHeader']) - ## tcp-socket.h: ns3::TcpSocket [class] - module.add_class('TcpSocket', parent=root_module['ns3::Socket']) - ## tcp-socket-factory.h: ns3::TcpSocketFactory [class] - module.add_class('TcpSocketFactory', parent=root_module['ns3::SocketFactory']) - ## udp-header.h: ns3::UdpHeader [class] - module.add_class('UdpHeader', parent=root_module['ns3::Header']) - ## udp-socket.h: ns3::UdpSocket [class] - module.add_class('UdpSocket', parent=root_module['ns3::Socket']) - ## udp-socket-factory.h: ns3::UdpSocketFactory [class] - module.add_class('UdpSocketFactory', parent=root_module['ns3::SocketFactory']) - ## arp-cache.h: ns3::ArpCache [class] - module.add_class('ArpCache', parent=root_module['ns3::Object']) - ## arp-cache.h: ns3::ArpCache::Entry [class] - module.add_class('Entry', outer_class=root_module['ns3::ArpCache']) - ## arp-header.h: ns3::ArpHeader [class] - module.add_class('ArpHeader', parent=root_module['ns3::Header']) - ## arp-header.h: ns3::ArpHeader::ArpType_e [enumeration] - module.add_enum('ArpType_e', ['ARP_TYPE_REQUEST', 'ARP_TYPE_REPLY'], outer_class=root_module['ns3::ArpHeader']) - ## arp-l3-protocol.h: ns3::ArpL3Protocol [class] - module.add_class('ArpL3Protocol', parent=root_module['ns3::Object']) - ## global-router-interface.h: ns3::GlobalRouter [class] - module.add_class('GlobalRouter', is_singleton=True, parent=root_module['ns3::Object']) - ## icmpv6-header.h: ns3::Icmpv6DestinationUnreachable [class] - module.add_class('Icmpv6DestinationUnreachable', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Echo [class] - module.add_class('Icmpv6Echo', parent=root_module['ns3::Icmpv6Header']) - ## ipv4.h: ns3::Ipv4 [class] - module.add_class('Ipv4', parent=root_module['ns3::Object']) - ## ipv4-interface.h: ns3::Ipv4Interface [class] - module.add_class('Ipv4Interface', parent=root_module['ns3::Object']) - ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol [class] - module.add_class('Ipv4L3Protocol', parent=root_module['ns3::Ipv4']) - ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol']) - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol [class] - module.add_class('Ipv4L4Protocol', parent=root_module['ns3::Object']) - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus [enumeration] - module.add_enum('RxStatus', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_CLOSED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv4L4Protocol']) - ## ipv4-route.h: ns3::Ipv4MulticastRoute [class] - module.add_class('Ipv4MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) - ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory [class] - module.add_class('Ipv4RawSocketFactory', parent=root_module['ns3::SocketFactory']) - ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl [class] - module.add_class('Ipv4RawSocketImpl', parent=root_module['ns3::Socket']) - ## ipv4-route.h: ns3::Ipv4Route [class] - module.add_class('Ipv4Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter >']) - ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol [class] - module.add_class('Ipv4RoutingProtocol', parent=root_module['ns3::Object']) - ## ipv4-static-routing.h: ns3::Ipv4StaticRouting [class] - module.add_class('Ipv4StaticRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## ipv6.h: ns3::Ipv6 [class] - module.add_class('Ipv6', parent=root_module['ns3::Object']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionAHHeader [class] - module.add_class('Ipv6ExtensionAHHeader', parent=root_module['ns3::Ipv6ExtensionHeader']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionDestinationHeader [class] - module.add_class('Ipv6ExtensionDestinationHeader', parent=[root_module['ns3::Ipv6ExtensionHeader'], root_module['ns3::OptionField']]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionESPHeader [class] - module.add_class('Ipv6ExtensionESPHeader', parent=root_module['ns3::Ipv6ExtensionHeader']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionFragmentHeader [class] - module.add_class('Ipv6ExtensionFragmentHeader', parent=root_module['ns3::Ipv6ExtensionHeader']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionLooseRoutingHeader [class] - module.add_class('Ipv6ExtensionLooseRoutingHeader', parent=root_module['ns3::Ipv6ExtensionRoutingHeader']) - ## ipv6-interface.h: ns3::Ipv6Interface [class] - module.add_class('Ipv6Interface', parent=root_module['ns3::Object']) - ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol [class] - module.add_class('Ipv6L3Protocol', parent=root_module['ns3::Ipv6']) - ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_UNKNOWN_PROTOCOL'], outer_class=root_module['ns3::Ipv6L3Protocol']) - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol [class] - module.add_class('Ipv6L4Protocol', parent=root_module['ns3::Object']) - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::RxStatus_e [enumeration] - module.add_enum('RxStatus_e', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv6L4Protocol']) - ## ipv6-route.h: ns3::Ipv6MulticastRoute [class] - module.add_class('Ipv6MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) - ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory [class] - module.add_class('Ipv6RawSocketFactory', parent=root_module['ns3::SocketFactory']) - ## ipv6-route.h: ns3::Ipv6Route [class] - module.add_class('Ipv6Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty, ns3::DefaultDeleter >']) - ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol [class] - module.add_class('Ipv6RoutingProtocol', parent=root_module['ns3::Object']) - ## ipv6-static-routing.h: ns3::Ipv6StaticRouting [class] - module.add_class('Ipv6StaticRouting', parent=root_module['ns3::Ipv6RoutingProtocol']) - ## ndisc-cache.h: ns3::NdiscCache [class] - module.add_class('NdiscCache', parent=root_module['ns3::Object']) - ## ndisc-cache.h: ns3::NdiscCache::Entry [class] - module.add_class('Entry', outer_class=root_module['ns3::NdiscCache']) - ## tcp-l4-protocol.h: ns3::TcpL4Protocol [class] - module.add_class('TcpL4Protocol', parent=root_module['ns3::Ipv4L4Protocol']) - ## udp-l4-protocol.h: ns3::UdpL4Protocol [class] - module.add_class('UdpL4Protocol', parent=root_module['ns3::Ipv4L4Protocol']) - ## icmpv4-l4-protocol.h: ns3::Icmpv4L4Protocol [class] - module.add_class('Icmpv4L4Protocol', parent=root_module['ns3::Ipv4L4Protocol']) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol [class] - module.add_class('Icmpv6L4Protocol', parent=root_module['ns3::Ipv6L4Protocol']) - ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting [class] - module.add_class('Ipv4GlobalRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## ipv4-list-routing.h: ns3::Ipv4ListRouting [class] - module.add_class('Ipv4ListRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## ipv6-list-routing.h: ns3::Ipv6ListRouting [class] - module.add_class('Ipv6ListRouting', parent=root_module['ns3::Ipv6RoutingProtocol']) - ## loopback-net-device.h: ns3::LoopbackNetDevice [class] - module.add_class('LoopbackNetDevice', parent=root_module['ns3::NetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) - register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) - register_Ns3CandidateQueue_methods(root_module, root_module['ns3::CandidateQueue']) - register_Ns3GlobalRouteManager_methods(root_module, root_module['ns3::GlobalRouteManager']) - register_Ns3GlobalRouteManagerImpl_methods(root_module, root_module['ns3::GlobalRouteManagerImpl']) - register_Ns3GlobalRouteManagerLSDB_methods(root_module, root_module['ns3::GlobalRouteManagerLSDB']) - register_Ns3GlobalRoutingLSA_methods(root_module, root_module['ns3::GlobalRoutingLSA']) - register_Ns3GlobalRoutingLinkRecord_methods(root_module, root_module['ns3::GlobalRoutingLinkRecord']) - register_Ns3Ipv4AddressGenerator_methods(root_module, root_module['ns3::Ipv4AddressGenerator']) - register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper']) - register_Ns3Ipv4EndPoint_methods(root_module, root_module['ns3::Ipv4EndPoint']) - register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress']) - register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer']) - register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, root_module['ns3::Ipv4MulticastRoutingTableEntry']) - register_Ns3Ipv4RoutingHelper_methods(root_module, root_module['ns3::Ipv4RoutingHelper']) - register_Ns3Ipv4RoutingTableEntry_methods(root_module, root_module['ns3::Ipv4RoutingTableEntry']) - register_Ns3Ipv4StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv4StaticRoutingHelper']) - register_Ns3Ipv6AddressHelper_methods(root_module, root_module['ns3::Ipv6AddressHelper']) - register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress']) - register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer']) - register_Ns3Ipv6MulticastRoutingTableEntry_methods(root_module, root_module['ns3::Ipv6MulticastRoutingTableEntry']) - register_Ns3Ipv6RoutingHelper_methods(root_module, root_module['ns3::Ipv6RoutingHelper']) - register_Ns3Ipv6RoutingTableEntry_methods(root_module, root_module['ns3::Ipv6RoutingTableEntry']) - register_Ns3Ipv6StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv6StaticRoutingHelper']) - register_Ns3OptionField_methods(root_module, root_module['ns3::OptionField']) - register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4']) - register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6']) - register_Ns3SPFVertex_methods(root_module, root_module['ns3::SPFVertex']) - register_Ns3Icmpv4DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv4DestinationUnreachable']) - register_Ns3Icmpv4Echo_methods(root_module, root_module['ns3::Icmpv4Echo']) - register_Ns3Icmpv4Header_methods(root_module, root_module['ns3::Icmpv4Header']) - register_Ns3Icmpv4TimeExceeded_methods(root_module, root_module['ns3::Icmpv4TimeExceeded']) - register_Ns3Icmpv6Header_methods(root_module, root_module['ns3::Icmpv6Header']) - register_Ns3Icmpv6NA_methods(root_module, root_module['ns3::Icmpv6NA']) - register_Ns3Icmpv6NS_methods(root_module, root_module['ns3::Icmpv6NS']) - register_Ns3Icmpv6OptionHeader_methods(root_module, root_module['ns3::Icmpv6OptionHeader']) - register_Ns3Icmpv6OptionLinkLayerAddress_methods(root_module, root_module['ns3::Icmpv6OptionLinkLayerAddress']) - register_Ns3Icmpv6OptionMtu_methods(root_module, root_module['ns3::Icmpv6OptionMtu']) - register_Ns3Icmpv6OptionPrefixInformation_methods(root_module, root_module['ns3::Icmpv6OptionPrefixInformation']) - register_Ns3Icmpv6OptionRedirected_methods(root_module, root_module['ns3::Icmpv6OptionRedirected']) - register_Ns3Icmpv6ParameterError_methods(root_module, root_module['ns3::Icmpv6ParameterError']) - register_Ns3Icmpv6RA_methods(root_module, root_module['ns3::Icmpv6RA']) - register_Ns3Icmpv6RS_methods(root_module, root_module['ns3::Icmpv6RS']) - register_Ns3Icmpv6Redirection_methods(root_module, root_module['ns3::Icmpv6Redirection']) - register_Ns3Icmpv6TimeExceeded_methods(root_module, root_module['ns3::Icmpv6TimeExceeded']) - register_Ns3Icmpv6TooBig_methods(root_module, root_module['ns3::Icmpv6TooBig']) - register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper']) - register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, root_module['ns3::Ipv4GlobalRoutingHelper']) - register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header']) - register_Ns3Ipv4ListRoutingHelper_methods(root_module, root_module['ns3::Ipv4ListRoutingHelper']) - register_Ns3Ipv4PacketInfoTag_methods(root_module, root_module['ns3::Ipv4PacketInfoTag']) - register_Ns3Ipv6ExtensionHeader_methods(root_module, root_module['ns3::Ipv6ExtensionHeader']) - register_Ns3Ipv6ExtensionHopByHopHeader_methods(root_module, root_module['ns3::Ipv6ExtensionHopByHopHeader']) - register_Ns3Ipv6ExtensionRoutingHeader_methods(root_module, root_module['ns3::Ipv6ExtensionRoutingHeader']) - register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header']) - register_Ns3Ipv6ListRoutingHelper_methods(root_module, root_module['ns3::Ipv6ListRoutingHelper']) - register_Ns3Ipv6OptionHeader_methods(root_module, root_module['ns3::Ipv6OptionHeader']) - register_Ns3Ipv6OptionHeaderAlignment_methods(root_module, root_module['ns3::Ipv6OptionHeader::Alignment']) - register_Ns3Ipv6OptionJumbogramHeader_methods(root_module, root_module['ns3::Ipv6OptionJumbogramHeader']) - register_Ns3Ipv6OptionPad1Header_methods(root_module, root_module['ns3::Ipv6OptionPad1Header']) - register_Ns3Ipv6OptionPadnHeader_methods(root_module, root_module['ns3::Ipv6OptionPadnHeader']) - register_Ns3Ipv6OptionRouterAlertHeader_methods(root_module, root_module['ns3::Ipv6OptionRouterAlertHeader']) - register_Ns3Ipv6PacketInfoTag_methods(root_module, root_module['ns3::Ipv6PacketInfoTag']) - register_Ns3TcpHeader_methods(root_module, root_module['ns3::TcpHeader']) - register_Ns3TcpSocket_methods(root_module, root_module['ns3::TcpSocket']) - register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory']) - register_Ns3UdpHeader_methods(root_module, root_module['ns3::UdpHeader']) - register_Ns3UdpSocket_methods(root_module, root_module['ns3::UdpSocket']) - register_Ns3UdpSocketFactory_methods(root_module, root_module['ns3::UdpSocketFactory']) - register_Ns3ArpCache_methods(root_module, root_module['ns3::ArpCache']) - register_Ns3ArpCacheEntry_methods(root_module, root_module['ns3::ArpCache::Entry']) - register_Ns3ArpHeader_methods(root_module, root_module['ns3::ArpHeader']) - register_Ns3ArpL3Protocol_methods(root_module, root_module['ns3::ArpL3Protocol']) - register_Ns3GlobalRouter_methods(root_module, root_module['ns3::GlobalRouter']) - register_Ns3Icmpv6DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv6DestinationUnreachable']) - register_Ns3Icmpv6Echo_methods(root_module, root_module['ns3::Icmpv6Echo']) - register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4']) - register_Ns3Ipv4Interface_methods(root_module, root_module['ns3::Ipv4Interface']) - register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol']) - register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol']) - register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute']) - register_Ns3Ipv4RawSocketFactory_methods(root_module, root_module['ns3::Ipv4RawSocketFactory']) - register_Ns3Ipv4RawSocketImpl_methods(root_module, root_module['ns3::Ipv4RawSocketImpl']) - register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route']) - register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol']) - register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting']) - register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6']) - register_Ns3Ipv6ExtensionAHHeader_methods(root_module, root_module['ns3::Ipv6ExtensionAHHeader']) - register_Ns3Ipv6ExtensionDestinationHeader_methods(root_module, root_module['ns3::Ipv6ExtensionDestinationHeader']) - register_Ns3Ipv6ExtensionESPHeader_methods(root_module, root_module['ns3::Ipv6ExtensionESPHeader']) - register_Ns3Ipv6ExtensionFragmentHeader_methods(root_module, root_module['ns3::Ipv6ExtensionFragmentHeader']) - register_Ns3Ipv6ExtensionLooseRoutingHeader_methods(root_module, root_module['ns3::Ipv6ExtensionLooseRoutingHeader']) - register_Ns3Ipv6Interface_methods(root_module, root_module['ns3::Ipv6Interface']) - register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol']) - register_Ns3Ipv6L4Protocol_methods(root_module, root_module['ns3::Ipv6L4Protocol']) - register_Ns3Ipv6MulticastRoute_methods(root_module, root_module['ns3::Ipv6MulticastRoute']) - register_Ns3Ipv6RawSocketFactory_methods(root_module, root_module['ns3::Ipv6RawSocketFactory']) - register_Ns3Ipv6Route_methods(root_module, root_module['ns3::Ipv6Route']) - register_Ns3Ipv6RoutingProtocol_methods(root_module, root_module['ns3::Ipv6RoutingProtocol']) - register_Ns3Ipv6StaticRouting_methods(root_module, root_module['ns3::Ipv6StaticRouting']) - register_Ns3NdiscCache_methods(root_module, root_module['ns3::NdiscCache']) - register_Ns3NdiscCacheEntry_methods(root_module, root_module['ns3::NdiscCache::Entry']) - register_Ns3TcpL4Protocol_methods(root_module, root_module['ns3::TcpL4Protocol']) - register_Ns3UdpL4Protocol_methods(root_module, root_module['ns3::UdpL4Protocol']) - register_Ns3Icmpv4L4Protocol_methods(root_module, root_module['ns3::Icmpv4L4Protocol']) - register_Ns3Icmpv6L4Protocol_methods(root_module, root_module['ns3::Icmpv6L4Protocol']) - register_Ns3Ipv4GlobalRouting_methods(root_module, root_module['ns3::Ipv4GlobalRouting']) - register_Ns3Ipv4ListRouting_methods(root_module, root_module['ns3::Ipv4ListRouting']) - register_Ns3Ipv6ListRouting_methods(root_module, root_module['ns3::Ipv6ListRouting']) - register_Ns3LoopbackNetDevice_methods(root_module, root_module['ns3::LoopbackNetDevice']) - return - -def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls): - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')]) - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor] - cls.add_constructor([]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] - cls.add_method('EnableAsciiIpv4All', - 'void', - [param('std::string', 'prefix')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiIpv4All', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv4Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')]) - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor] - cls.add_constructor([]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function] - cls.add_method('EnableAsciiIpv6All', - 'void', - [param('std::string', 'prefix')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiIpv6All', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv6Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3CandidateQueue_methods(root_module, cls): - cls.add_output_stream_operator() - ## candidate-queue.h: ns3::CandidateQueue::CandidateQueue() [constructor] - cls.add_constructor([]) - ## candidate-queue.h: void ns3::CandidateQueue::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## candidate-queue.h: bool ns3::CandidateQueue::Empty() const [member function] - cls.add_method('Empty', - 'bool', - [], - is_const=True) - ## candidate-queue.h: ns3::SPFVertex * ns3::CandidateQueue::Find(ns3::Ipv4Address const addr) const [member function] - cls.add_method('Find', - 'ns3::SPFVertex *', - [param('ns3::Ipv4Address const', 'addr')], - is_const=True) - ## candidate-queue.h: ns3::SPFVertex * ns3::CandidateQueue::Pop() [member function] - cls.add_method('Pop', - 'ns3::SPFVertex *', - []) - ## candidate-queue.h: void ns3::CandidateQueue::Push(ns3::SPFVertex * vNew) [member function] - cls.add_method('Push', - 'void', - [param('ns3::SPFVertex *', 'vNew')]) - ## candidate-queue.h: void ns3::CandidateQueue::Reorder() [member function] - cls.add_method('Reorder', - 'void', - []) - ## candidate-queue.h: uint32_t ns3::CandidateQueue::Size() const [member function] - cls.add_method('Size', - 'uint32_t', - [], - is_const=True) - ## candidate-queue.h: ns3::SPFVertex * ns3::CandidateQueue::Top() const [member function] - cls.add_method('Top', - 'ns3::SPFVertex *', - [], - is_const=True) - return - -def register_Ns3GlobalRouteManager_methods(root_module, cls): - ## global-route-manager.h: static uint32_t ns3::GlobalRouteManager::AllocateRouterId() [member function] - cls.add_method('AllocateRouterId', - 'uint32_t', - [], - is_static=True) - ## global-route-manager.h: static void ns3::GlobalRouteManager::DeleteGlobalRoutes() [member function] - cls.add_method('DeleteGlobalRoutes', - 'void', - [], - is_static=True) - ## global-route-manager.h: static void ns3::GlobalRouteManager::BuildGlobalRoutingDatabase() [member function] - cls.add_method('BuildGlobalRoutingDatabase', - 'void', - [], - is_static=True) - ## global-route-manager.h: static void ns3::GlobalRouteManager::InitializeRoutes() [member function] - cls.add_method('InitializeRoutes', - 'void', - [], - is_static=True) - return - -def register_Ns3GlobalRouteManagerImpl_methods(root_module, cls): - ## global-route-manager-impl.h: ns3::GlobalRouteManagerImpl::GlobalRouteManagerImpl() [constructor] - cls.add_constructor([]) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::DeleteGlobalRoutes() [member function] - cls.add_method('DeleteGlobalRoutes', - 'void', - [], - is_virtual=True) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::BuildGlobalRoutingDatabase() [member function] - cls.add_method('BuildGlobalRoutingDatabase', - 'void', - [], - is_virtual=True) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::InitializeRoutes() [member function] - cls.add_method('InitializeRoutes', - 'void', - [], - is_virtual=True) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::DebugUseLsdb(ns3::GlobalRouteManagerLSDB * arg0) [member function] - cls.add_method('DebugUseLsdb', - 'void', - [param('ns3::GlobalRouteManagerLSDB *', 'arg0')]) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::DebugSPFCalculate(ns3::Ipv4Address root) [member function] - cls.add_method('DebugSPFCalculate', - 'void', - [param('ns3::Ipv4Address', 'root')]) - return - -def register_Ns3GlobalRouteManagerLSDB_methods(root_module, cls): - ## global-route-manager-impl.h: ns3::GlobalRouteManagerLSDB::GlobalRouteManagerLSDB() [constructor] - cls.add_constructor([]) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerLSDB::Insert(ns3::Ipv4Address addr, ns3::GlobalRoutingLSA * lsa) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ipv4Address', 'addr'), param('ns3::GlobalRoutingLSA *', 'lsa')]) - ## global-route-manager-impl.h: ns3::GlobalRoutingLSA * ns3::GlobalRouteManagerLSDB::GetLSA(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetLSA', - 'ns3::GlobalRoutingLSA *', - [param('ns3::Ipv4Address', 'addr')], - is_const=True) - ## global-route-manager-impl.h: ns3::GlobalRoutingLSA * ns3::GlobalRouteManagerLSDB::GetLSAByLinkData(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetLSAByLinkData', - 'ns3::GlobalRoutingLSA *', - [param('ns3::Ipv4Address', 'addr')], - is_const=True) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerLSDB::Initialize() [member function] - cls.add_method('Initialize', - 'void', - []) - ## global-route-manager-impl.h: ns3::GlobalRoutingLSA * ns3::GlobalRouteManagerLSDB::GetExtLSA(uint32_t index) const [member function] - cls.add_method('GetExtLSA', - 'ns3::GlobalRoutingLSA *', - [param('uint32_t', 'index')], - is_const=True) - ## global-route-manager-impl.h: uint32_t ns3::GlobalRouteManagerLSDB::GetNumExtLSAs() const [member function] - cls.add_method('GetNumExtLSAs', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3GlobalRoutingLSA_methods(root_module, cls): - cls.add_output_stream_operator() - ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA() [constructor] - cls.add_constructor([]) - ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA::SPFStatus status, ns3::Ipv4Address linkStateId, ns3::Ipv4Address advertisingRtr) [constructor] - cls.add_constructor([param('ns3::GlobalRoutingLSA::SPFStatus', 'status'), param('ns3::Ipv4Address', 'linkStateId'), param('ns3::Ipv4Address', 'advertisingRtr')]) - ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA & lsa) [constructor] - cls.add_constructor([param('ns3::GlobalRoutingLSA &', 'lsa')]) - ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddAttachedRouter(ns3::Ipv4Address addr) [member function] - cls.add_method('AddAttachedRouter', - 'uint32_t', - [param('ns3::Ipv4Address', 'addr')]) - ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddLinkRecord(ns3::GlobalRoutingLinkRecord * lr) [member function] - cls.add_method('AddLinkRecord', - 'uint32_t', - [param('ns3::GlobalRoutingLinkRecord *', 'lr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::ClearLinkRecords() [member function] - cls.add_method('ClearLinkRecords', - 'void', - []) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::CopyLinkRecords(ns3::GlobalRoutingLSA const & lsa) [member function] - cls.add_method('CopyLinkRecords', - 'void', - [param('ns3::GlobalRoutingLSA const &', 'lsa')]) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAdvertisingRouter() const [member function] - cls.add_method('GetAdvertisingRouter', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAttachedRouter(uint32_t n) const [member function] - cls.add_method('GetAttachedRouter', - 'ns3::Ipv4Address', - [param('uint32_t', 'n')], - is_const=True) - ## global-router-interface.h: ns3::GlobalRoutingLSA::LSType ns3::GlobalRoutingLSA::GetLSType() const [member function] - cls.add_method('GetLSType', - 'ns3::GlobalRoutingLSA::LSType', - [], - is_const=True) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord * ns3::GlobalRoutingLSA::GetLinkRecord(uint32_t n) const [member function] - cls.add_method('GetLinkRecord', - 'ns3::GlobalRoutingLinkRecord *', - [param('uint32_t', 'n')], - is_const=True) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetLinkStateId() const [member function] - cls.add_method('GetLinkStateId', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNAttachedRouters() const [member function] - cls.add_method('GetNAttachedRouters', - 'uint32_t', - [], - is_const=True) - ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNLinkRecords() const [member function] - cls.add_method('GetNLinkRecords', - 'uint32_t', - [], - is_const=True) - ## global-router-interface.h: ns3::Ipv4Mask ns3::GlobalRoutingLSA::GetNetworkLSANetworkMask() const [member function] - cls.add_method('GetNetworkLSANetworkMask', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## global-router-interface.h: ns3::Ptr ns3::GlobalRoutingLSA::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus ns3::GlobalRoutingLSA::GetStatus() const [member function] - cls.add_method('GetStatus', - 'ns3::GlobalRoutingLSA::SPFStatus', - [], - is_const=True) - ## global-router-interface.h: bool ns3::GlobalRoutingLSA::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetAdvertisingRouter(ns3::Ipv4Address rtr) [member function] - cls.add_method('SetAdvertisingRouter', - 'void', - [param('ns3::Ipv4Address', 'rtr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLSType(ns3::GlobalRoutingLSA::LSType typ) [member function] - cls.add_method('SetLSType', - 'void', - [param('ns3::GlobalRoutingLSA::LSType', 'typ')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLinkStateId(ns3::Ipv4Address addr) [member function] - cls.add_method('SetLinkStateId', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetNetworkLSANetworkMask(ns3::Ipv4Mask mask) [member function] - cls.add_method('SetNetworkLSANetworkMask', - 'void', - [param('ns3::Ipv4Mask', 'mask')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetStatus(ns3::GlobalRoutingLSA::SPFStatus status) [member function] - cls.add_method('SetStatus', - 'void', - [param('ns3::GlobalRoutingLSA::SPFStatus', 'status')]) - return - -def register_Ns3GlobalRoutingLinkRecord_methods(root_module, cls): - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GlobalRoutingLinkRecord const &', 'arg0')]) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord() [constructor] - cls.add_constructor([]) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord::LinkType linkType, ns3::Ipv4Address linkId, ns3::Ipv4Address linkData, uint16_t metric) [constructor] - cls.add_constructor([param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType'), param('ns3::Ipv4Address', 'linkId'), param('ns3::Ipv4Address', 'linkData'), param('uint16_t', 'metric')]) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkData() const [member function] - cls.add_method('GetLinkData', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkId() const [member function] - cls.add_method('GetLinkId', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType ns3::GlobalRoutingLinkRecord::GetLinkType() const [member function] - cls.add_method('GetLinkType', - 'ns3::GlobalRoutingLinkRecord::LinkType', - [], - is_const=True) - ## global-router-interface.h: uint16_t ns3::GlobalRoutingLinkRecord::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [], - is_const=True) - ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkData(ns3::Ipv4Address addr) [member function] - cls.add_method('SetLinkData', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkId(ns3::Ipv4Address addr) [member function] - cls.add_method('SetLinkId', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkType(ns3::GlobalRoutingLinkRecord::LinkType linkType) [member function] - cls.add_method('SetLinkType', - 'void', - [param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType')]) - ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetMetric(uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint16_t', 'metric')]) - return - -def register_Ns3Ipv4AddressGenerator_methods(root_module, cls): - ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator::Ipv4AddressGenerator() [constructor] - cls.add_constructor([]) - ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator::Ipv4AddressGenerator(ns3::Ipv4AddressGenerator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressGenerator const &', 'arg0')]) - ## ipv4-address-generator.h: static bool ns3::Ipv4AddressGenerator::AddAllocated(ns3::Ipv4Address const addr) [member function] - cls.add_method('AddAllocated', - 'bool', - [param('ns3::Ipv4Address const', 'addr')], - is_static=True) - ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetAddress(ns3::Ipv4Mask const mask) [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetNetwork(ns3::Ipv4Mask const mask) [member function] - cls.add_method('GetNetwork', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Init(ns3::Ipv4Address const net, ns3::Ipv4Mask const mask, ns3::Ipv4Address const addr="0.0.0.1") [member function] - cls.add_method('Init', - 'void', - [param('ns3::Ipv4Address const', 'net'), param('ns3::Ipv4Mask const', 'mask'), param('ns3::Ipv4Address const', 'addr', default_value='"0.0.0.1"')], - is_static=True) - ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::InitAddress(ns3::Ipv4Address const addr, ns3::Ipv4Mask const mask) [member function] - cls.add_method('InitAddress', - 'void', - [param('ns3::Ipv4Address const', 'addr'), param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextAddress(ns3::Ipv4Mask const mask) [member function] - cls.add_method('NextAddress', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextNetwork(ns3::Ipv4Mask const mask) [member function] - cls.add_method('NextNetwork', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Reset() [member function] - cls.add_method('Reset', - 'void', - [], - is_static=True) - ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::TestMode() [member function] - cls.add_method('TestMode', - 'void', - [], - is_static=True) - return - -def register_Ns3Ipv4AddressHelper_methods(root_module, cls): - ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')]) - ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor] - cls.add_constructor([]) - ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')]) - ## ipv4-address-helper.h: ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function] - cls.add_method('Assign', - 'ns3::Ipv4InterfaceContainer', - [param('ns3::NetDeviceContainer const &', 'c')]) - ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function] - cls.add_method('NewAddress', - 'ns3::Ipv4Address', - []) - ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function] - cls.add_method('NewNetwork', - 'ns3::Ipv4Address', - []) - ## ipv4-address-helper.h: void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function] - cls.add_method('SetBase', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')]) - return - -def register_Ns3Ipv4EndPoint_methods(root_module, cls): - ## ipv4-end-point.h: ns3::Ipv4EndPoint::Ipv4EndPoint(ns3::Ipv4EndPoint const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4EndPoint const &', 'arg0')]) - ## ipv4-end-point.h: ns3::Ipv4EndPoint::Ipv4EndPoint(ns3::Ipv4Address address, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'address'), param('uint16_t', 'port')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::BindToNetDevice(ns3::Ptr netdevice) [member function] - cls.add_method('BindToNetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::ForwardIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo) [member function] - cls.add_method('ForwardIcmp', - 'void', - [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::ForwardUp(ns3::Ptr p, ns3::Ipv4Header const & header, uint16_t sport, ns3::Ptr incomingInterface) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('uint16_t', 'sport'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')]) - ## ipv4-end-point.h: ns3::Ptr ns3::Ipv4EndPoint::GetBoundNetDevice() [member function] - cls.add_method('GetBoundNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## ipv4-end-point.h: ns3::Ipv4Address ns3::Ipv4EndPoint::GetLocalAddress() [member function] - cls.add_method('GetLocalAddress', - 'ns3::Ipv4Address', - []) - ## ipv4-end-point.h: uint16_t ns3::Ipv4EndPoint::GetLocalPort() [member function] - cls.add_method('GetLocalPort', - 'uint16_t', - []) - ## ipv4-end-point.h: ns3::Ipv4Address ns3::Ipv4EndPoint::GetPeerAddress() [member function] - cls.add_method('GetPeerAddress', - 'ns3::Ipv4Address', - []) - ## ipv4-end-point.h: uint16_t ns3::Ipv4EndPoint::GetPeerPort() [member function] - cls.add_method('GetPeerPort', - 'uint16_t', - []) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetDestroyCallback(ns3::Callback callback) [member function] - cls.add_method('SetDestroyCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetIcmpCallback(ns3::Callback callback) [member function] - cls.add_method('SetIcmpCallback', - 'void', - [param('ns3::Callback< void, ns3::Ipv4Address, unsigned char, unsigned char, unsigned char, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetLocalAddress(ns3::Ipv4Address address) [member function] - cls.add_method('SetLocalAddress', - 'void', - [param('ns3::Ipv4Address', 'address')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetPeer(ns3::Ipv4Address address, uint16_t port) [member function] - cls.add_method('SetPeer', - 'void', - [param('ns3::Ipv4Address', 'address'), param('uint16_t', 'port')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetRxCallback(ns3::Callback, ns3::Ipv4Header, unsigned short, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function] - cls.add_method('SetRxCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Header, unsigned short, ns3::Ptr< ns3::Ipv4Interface >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - return - -def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor] - cls.add_constructor([]) - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')]) - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor] - cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')]) - ## ipv4-interface-address.h: ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-interface-address.h: ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function] - cls.add_method('GetLocal', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-interface-address.h: ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function] - cls.add_method('GetMask', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function] - cls.add_method('GetScope', - 'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', - [], - is_const=True) - ## ipv4-interface-address.h: bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function] - cls.add_method('IsSecondary', - 'bool', - [], - is_const=True) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function] - cls.add_method('SetBroadcast', - 'void', - [param('ns3::Ipv4Address', 'broadcast')]) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv4Address', 'local')]) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function] - cls.add_method('SetMask', - 'void', - [param('ns3::Ipv4Mask', 'mask')]) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetPrimary() [member function] - cls.add_method('SetPrimary', - 'void', - []) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SetScope', - 'void', - [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')]) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetSecondary() [member function] - cls.add_method('SetSecondary', - 'void', - []) - return - -def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls): - ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')]) - ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor] - cls.add_constructor([]) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv4InterfaceContainer', 'other')]) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::pair,unsigned int> ipInterfacePair) [member function] - cls.add_method('Add', - 'void', - [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')]) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## ipv4-interface-container.h: __gnu_cxx::__normal_iterator, unsigned int>*,std::vector, unsigned int>, std::allocator, unsigned int> > > > ns3::Ipv4InterfaceContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', - [], - is_const=True) - ## ipv4-interface-container.h: __gnu_cxx::__normal_iterator, unsigned int>*,std::vector, unsigned int>, std::allocator, unsigned int> > > > ns3::Ipv4InterfaceContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', - [], - is_const=True) - ## ipv4-interface-container.h: std::pair,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-interface-container.h: ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4Address', - [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], - is_const=True) - ## ipv4-interface-container.h: uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')]) - return - -def register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry() [constructor] - cls.add_constructor([]) - ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const & route) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const &', 'route')]) - ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const * route) [constructor] - cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const *', 'route')]) - ## ipv4-routing-table-entry.h: static ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4MulticastRoutingTableEntry::CreateMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] - cls.add_method('CreateMulticastRoute', - 'ns3::Ipv4MulticastRoutingTableEntry', - [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], - is_static=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetInputInterface() const [member function] - cls.add_method('GetInputInterface', - 'uint32_t', - [], - is_const=True) - ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetNOutputInterfaces() const [member function] - cls.add_method('GetNOutputInterfaces', - 'uint32_t', - [], - is_const=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterface(uint32_t n) const [member function] - cls.add_method('GetOutputInterface', - 'uint32_t', - [param('uint32_t', 'n')], - is_const=True) - ## ipv4-routing-table-entry.h: std::vector > ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterfaces() const [member function] - cls.add_method('GetOutputInterfaces', - 'std::vector< unsigned int >', - [], - is_const=True) - return - -def register_Ns3Ipv4RoutingHelper_methods(root_module, cls): - ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper::Ipv4RoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper::Ipv4RoutingHelper(ns3::Ipv4RoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RoutingHelper const &', 'arg0')]) - ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper * ns3::Ipv4RoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4RoutingHelper *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-routing-helper.h: ns3::Ptr ns3::Ipv4RoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-routing-helper.h: void ns3::Ipv4RoutingHelper::PrintRoutingTableAllAt(ns3::Time printTime, ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTableAllAt', - 'void', - [param('ns3::Time', 'printTime'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## ipv4-routing-helper.h: void ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(ns3::Time printInterval, ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTableAllEvery', - 'void', - [param('ns3::Time', 'printInterval'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## ipv4-routing-helper.h: void ns3::Ipv4RoutingHelper::PrintRoutingTableAt(ns3::Time printTime, ns3::Ptr node, ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTableAt', - 'void', - [param('ns3::Time', 'printTime'), param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## ipv4-routing-helper.h: void ns3::Ipv4RoutingHelper::PrintRoutingTableEvery(ns3::Time printInterval, ns3::Ptr node, ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTableEvery', - 'void', - [param('ns3::Time', 'printInterval'), param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - return - -def register_Ns3Ipv4RoutingTableEntry_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry() [constructor] - cls.add_constructor([]) - ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const & route) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const &', 'route')]) - ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const * route) [constructor] - cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const *', 'route')]) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateDefaultRoute', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateHostRouteTo', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] - cls.add_method('CreateHostRouteTo', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDest() const [member function] - cls.add_method('GetDest', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDestNetwork() const [member function] - cls.add_method('GetDestNetwork', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Mask ns3::Ipv4RoutingTableEntry::GetDestNetworkMask() const [member function] - cls.add_method('GetDestNetworkMask', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4RoutingTableEntry::GetInterface() const [member function] - cls.add_method('GetInterface', - 'uint32_t', - [], - is_const=True) - ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsDefault() const [member function] - cls.add_method('IsDefault', - 'bool', - [], - is_const=True) - ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsGateway() const [member function] - cls.add_method('IsGateway', - 'bool', - [], - is_const=True) - ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsHost() const [member function] - cls.add_method('IsHost', - 'bool', - [], - is_const=True) - ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsNetwork() const [member function] - cls.add_method('IsNetwork', - 'bool', - [], - is_const=True) - return - -def register_Ns3Ipv4StaticRoutingHelper_methods(root_module, cls): - ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper::Ipv4StaticRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper::Ipv4StaticRoutingHelper(ns3::Ipv4StaticRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4StaticRoutingHelper const &', 'arg0')]) - ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper * ns3::Ipv4StaticRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4StaticRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-static-routing-helper.h: ns3::Ptr ns3::Ipv4StaticRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## ipv4-static-routing-helper.h: ns3::Ptr ns3::Ipv4StaticRoutingHelper::GetStaticRouting(ns3::Ptr ipv4) const [member function] - cls.add_method('GetStaticRouting', - 'ns3::Ptr< ns3::Ipv4StaticRouting >', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_const=True) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(ns3::Ptr n, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr input, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(std::string n, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr input, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('std::string', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(ns3::Ptr n, ns3::Ipv4Address source, ns3::Ipv4Address group, std::string inputName, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(std::string nName, ns3::Ipv4Address source, ns3::Ipv4Address group, std::string inputName, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('std::string', 'nName'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(ns3::Ptr n, ns3::Ptr nd) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(ns3::Ptr n, std::string ndName) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('std::string', 'ndName')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(std::string nName, ns3::Ptr nd) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('std::string', 'nName'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(std::string nName, std::string ndName) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('std::string', 'nName'), param('std::string', 'ndName')]) - return - -def register_Ns3Ipv6AddressHelper_methods(root_module, cls): - ## ipv6-address-helper.h: ns3::Ipv6AddressHelper::Ipv6AddressHelper(ns3::Ipv6AddressHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressHelper const &', 'arg0')]) - ## ipv6-address-helper.h: ns3::Ipv6AddressHelper::Ipv6AddressHelper() [constructor] - cls.add_constructor([]) - ## ipv6-address-helper.h: ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function] - cls.add_method('Assign', - 'ns3::Ipv6InterfaceContainer', - [param('ns3::NetDeviceContainer const &', 'c')]) - ## ipv6-address-helper.h: ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c, std::vector > withConfiguration) [member function] - cls.add_method('Assign', - 'ns3::Ipv6InterfaceContainer', - [param('ns3::NetDeviceContainer const &', 'c'), param('std::vector< bool >', 'withConfiguration')]) - ## ipv6-address-helper.h: ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutAddress(ns3::NetDeviceContainer const & c) [member function] - cls.add_method('AssignWithoutAddress', - 'ns3::Ipv6InterfaceContainer', - [param('ns3::NetDeviceContainer const &', 'c')]) - ## ipv6-address-helper.h: ns3::Ipv6Address ns3::Ipv6AddressHelper::NewAddress(ns3::Address addr) [member function] - cls.add_method('NewAddress', - 'ns3::Ipv6Address', - [param('ns3::Address', 'addr')]) - ## ipv6-address-helper.h: void ns3::Ipv6AddressHelper::NewNetwork(ns3::Ipv6Address network, ns3::Ipv6Prefix prefix) [member function] - cls.add_method('NewNetwork', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix')]) - return - -def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress() [constructor] - cls.add_constructor([]) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'address')]) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')]) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [copy constructor] - cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')]) - ## ipv6-interface-address.h: ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-interface-address.h: uint32_t ns3::Ipv6InterfaceAddress::GetNsDadUid() const [member function] - cls.add_method('GetNsDadUid', - 'uint32_t', - [], - is_const=True) - ## ipv6-interface-address.h: ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function] - cls.add_method('GetPrefix', - 'ns3::Ipv6Prefix', - [], - is_const=True) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Scope_e ns3::Ipv6InterfaceAddress::GetScope() const [member function] - cls.add_method('GetScope', - 'ns3::Ipv6InterfaceAddress::Scope_e', - [], - is_const=True) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::State_e ns3::Ipv6InterfaceAddress::GetState() const [member function] - cls.add_method('GetState', - 'ns3::Ipv6InterfaceAddress::State_e', - [], - is_const=True) - ## ipv6-interface-address.h: void ns3::Ipv6InterfaceAddress::SetAddress(ns3::Ipv6Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Ipv6Address', 'address')]) - ## ipv6-interface-address.h: void ns3::Ipv6InterfaceAddress::SetNsDadUid(uint32_t uid) [member function] - cls.add_method('SetNsDadUid', - 'void', - [param('uint32_t', 'uid')]) - ## ipv6-interface-address.h: void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function] - cls.add_method('SetScope', - 'void', - [param('ns3::Ipv6InterfaceAddress::Scope_e', 'scope')]) - ## ipv6-interface-address.h: void ns3::Ipv6InterfaceAddress::SetState(ns3::Ipv6InterfaceAddress::State_e state) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::Ipv6InterfaceAddress::State_e', 'state')]) - return - -def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls): - ## ipv6-interface-container.h: ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')]) - ## ipv6-interface-container.h: ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor] - cls.add_constructor([]) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv6InterfaceContainer &', 'c')]) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## ipv6-interface-container.h: __gnu_cxx::__normal_iterator, unsigned int>*,std::vector, unsigned int>, std::allocator, unsigned int> > > > ns3::Ipv6InterfaceContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', - [], - is_const=True) - ## ipv6-interface-container.h: __gnu_cxx::__normal_iterator, unsigned int>*,std::vector, unsigned int>, std::allocator, unsigned int> > > > ns3::Ipv6InterfaceContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', - [], - is_const=True) - ## ipv6-interface-container.h: ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6Address', - [param('uint32_t', 'i'), param('uint32_t', 'j')], - is_const=True) - ## ipv6-interface-container.h: uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function] - cls.add_method('GetInterfaceIndex', - 'uint32_t', - [param('uint32_t', 'i')], - is_const=True) - ## ipv6-interface-container.h: uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function] - cls.add_method('SetDefaultRoute', - 'void', - [param('uint32_t', 'i'), param('uint32_t', 'router')]) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function] - cls.add_method('SetRouter', - 'void', - [param('uint32_t', 'i'), param('bool', 'router')]) - return - -def register_Ns3Ipv6MulticastRoutingTableEntry_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-routing-table-entry.h: ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry() [constructor] - cls.add_constructor([]) - ## ipv6-routing-table-entry.h: ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry(ns3::Ipv6MulticastRoutingTableEntry const & route) [copy constructor] - cls.add_constructor([param('ns3::Ipv6MulticastRoutingTableEntry const &', 'route')]) - ## ipv6-routing-table-entry.h: ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry(ns3::Ipv6MulticastRoutingTableEntry const * route) [constructor] - cls.add_constructor([param('ns3::Ipv6MulticastRoutingTableEntry const *', 'route')]) - ## ipv6-routing-table-entry.h: static ns3::Ipv6MulticastRoutingTableEntry ns3::Ipv6MulticastRoutingTableEntry::CreateMulticastRoute(ns3::Ipv6Address origin, ns3::Ipv6Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] - cls.add_method('CreateMulticastRoute', - 'ns3::Ipv6MulticastRoutingTableEntry', - [param('ns3::Ipv6Address', 'origin'), param('ns3::Ipv6Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], - is_static=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6MulticastRoutingTableEntry::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetInputInterface() const [member function] - cls.add_method('GetInputInterface', - 'uint32_t', - [], - is_const=True) - ## ipv6-routing-table-entry.h: uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetNOutputInterfaces() const [member function] - cls.add_method('GetNOutputInterfaces', - 'uint32_t', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6MulticastRoutingTableEntry::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetOutputInterface(uint32_t n) const [member function] - cls.add_method('GetOutputInterface', - 'uint32_t', - [param('uint32_t', 'n')], - is_const=True) - ## ipv6-routing-table-entry.h: std::vector > ns3::Ipv6MulticastRoutingTableEntry::GetOutputInterfaces() const [member function] - cls.add_method('GetOutputInterfaces', - 'std::vector< unsigned int >', - [], - is_const=True) - return - -def register_Ns3Ipv6RoutingHelper_methods(root_module, cls): - ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper::Ipv6RoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper::Ipv6RoutingHelper(ns3::Ipv6RoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6RoutingHelper const &', 'arg0')]) - ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper * ns3::Ipv6RoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv6RoutingHelper *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6-routing-helper.h: ns3::Ptr ns3::Ipv6RoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6RoutingTableEntry_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-routing-table-entry.h: ns3::Ipv6RoutingTableEntry::Ipv6RoutingTableEntry() [constructor] - cls.add_constructor([]) - ## ipv6-routing-table-entry.h: ns3::Ipv6RoutingTableEntry::Ipv6RoutingTableEntry(ns3::Ipv6RoutingTableEntry const & route) [copy constructor] - cls.add_constructor([param('ns3::Ipv6RoutingTableEntry const &', 'route')]) - ## ipv6-routing-table-entry.h: ns3::Ipv6RoutingTableEntry::Ipv6RoutingTableEntry(ns3::Ipv6RoutingTableEntry const * route) [constructor] - cls.add_constructor([param('ns3::Ipv6RoutingTableEntry const *', 'route')]) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateDefaultRoute(ns3::Ipv6Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateDefaultRoute', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateHostRouteTo(ns3::Ipv6Address dest, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address()) [member function] - cls.add_method('CreateHostRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'dest'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address()')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateHostRouteTo(ns3::Ipv6Address dest, uint32_t interface) [member function] - cls.add_method('CreateHostRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'dest'), param('uint32_t', 'interface')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, ns3::Ipv6Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, uint32_t interface) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('uint32_t', 'interface')], - is_static=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6RoutingTableEntry::GetDest() const [member function] - cls.add_method('GetDest', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6RoutingTableEntry::GetDestNetwork() const [member function] - cls.add_method('GetDestNetwork', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Prefix ns3::Ipv6RoutingTableEntry::GetDestNetworkPrefix() const [member function] - cls.add_method('GetDestNetworkPrefix', - 'ns3::Ipv6Prefix', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6RoutingTableEntry::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: uint32_t ns3::Ipv6RoutingTableEntry::GetInterface() const [member function] - cls.add_method('GetInterface', - 'uint32_t', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6RoutingTableEntry::GetPrefixToUse() const [member function] - cls.add_method('GetPrefixToUse', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: bool ns3::Ipv6RoutingTableEntry::IsDefault() const [member function] - cls.add_method('IsDefault', - 'bool', - [], - is_const=True) - ## ipv6-routing-table-entry.h: bool ns3::Ipv6RoutingTableEntry::IsGateway() const [member function] - cls.add_method('IsGateway', - 'bool', - [], - is_const=True) - ## ipv6-routing-table-entry.h: bool ns3::Ipv6RoutingTableEntry::IsHost() const [member function] - cls.add_method('IsHost', - 'bool', - [], - is_const=True) - ## ipv6-routing-table-entry.h: bool ns3::Ipv6RoutingTableEntry::IsNetwork() const [member function] - cls.add_method('IsNetwork', - 'bool', - [], - is_const=True) - ## ipv6-routing-table-entry.h: void ns3::Ipv6RoutingTableEntry::SetPrefixToUse(ns3::Ipv6Address prefix) [member function] - cls.add_method('SetPrefixToUse', - 'void', - [param('ns3::Ipv6Address', 'prefix')]) - return - -def register_Ns3Ipv6StaticRoutingHelper_methods(root_module, cls): - ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper(ns3::Ipv6StaticRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6StaticRoutingHelper const &', 'arg0')]) - ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper * ns3::Ipv6StaticRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv6StaticRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv6-static-routing-helper.h: ns3::Ptr ns3::Ipv6StaticRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## ipv6-static-routing-helper.h: ns3::Ptr ns3::Ipv6StaticRoutingHelper::GetStaticRouting(ns3::Ptr ipv6) const [member function] - cls.add_method('GetStaticRouting', - 'ns3::Ptr< ns3::Ipv6StaticRouting >', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6')], - is_const=True) - ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(ns3::Ptr n, ns3::Ipv6Address source, ns3::Ipv6Address group, ns3::Ptr input, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(std::string n, ns3::Ipv6Address source, ns3::Ipv6Address group, ns3::Ptr input, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('std::string', 'n'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(ns3::Ptr n, ns3::Ipv6Address source, ns3::Ipv6Address group, std::string inputName, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(std::string nName, ns3::Ipv6Address source, ns3::Ipv6Address group, std::string inputName, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('std::string', 'nName'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')]) - return - -def register_Ns3OptionField_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::OptionField::OptionField(ns3::OptionField const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OptionField const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::OptionField::OptionField(uint32_t optionsOffset) [constructor] - cls.add_constructor([param('uint32_t', 'optionsOffset')]) - ## ipv6-extension-header.h: void ns3::OptionField::AddOption(ns3::Ipv6OptionHeader const & option) [member function] - cls.add_method('AddOption', - 'void', - [param('ns3::Ipv6OptionHeader const &', 'option')]) - ## ipv6-extension-header.h: uint32_t ns3::OptionField::Deserialize(ns3::Buffer::Iterator start, uint32_t length) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'length')]) - ## ipv6-extension-header.h: ns3::Buffer ns3::OptionField::GetOptionBuffer() [member function] - cls.add_method('GetOptionBuffer', - 'ns3::Buffer', - []) - ## ipv6-extension-header.h: uint32_t ns3::OptionField::GetOptionsOffset() [member function] - cls.add_method('GetOptionsOffset', - 'uint32_t', - []) - ## ipv6-extension-header.h: uint32_t ns3::OptionField::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## ipv6-extension-header.h: void ns3::OptionField::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3PcapHelperForIpv4_methods(root_module, cls): - ## internet-trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')]) - ## internet-trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor] - cls.add_constructor([]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function] - cls.add_method('EnablePcapIpv4All', - 'void', - [param('std::string', 'prefix')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv4Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3PcapHelperForIpv6_methods(root_module, cls): - ## internet-trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')]) - ## internet-trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor] - cls.add_constructor([]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] - cls.add_method('EnablePcapIpv6All', - 'void', - [param('std::string', 'prefix')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv6Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SPFVertex_methods(root_module, cls): - ## global-route-manager-impl.h: ns3::SPFVertex::SPFVertex() [constructor] - cls.add_constructor([]) - ## global-route-manager-impl.h: ns3::SPFVertex::SPFVertex(ns3::GlobalRoutingLSA * lsa) [constructor] - cls.add_constructor([param('ns3::GlobalRoutingLSA *', 'lsa')]) - ## global-route-manager-impl.h: ns3::SPFVertex::VertexType ns3::SPFVertex::GetVertexType() const [member function] - cls.add_method('GetVertexType', - 'ns3::SPFVertex::VertexType', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetVertexType(ns3::SPFVertex::VertexType type) [member function] - cls.add_method('SetVertexType', - 'void', - [param('ns3::SPFVertex::VertexType', 'type')]) - ## global-route-manager-impl.h: ns3::Ipv4Address ns3::SPFVertex::GetVertexId() const [member function] - cls.add_method('GetVertexId', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetVertexId(ns3::Ipv4Address id) [member function] - cls.add_method('SetVertexId', - 'void', - [param('ns3::Ipv4Address', 'id')]) - ## global-route-manager-impl.h: ns3::GlobalRoutingLSA * ns3::SPFVertex::GetLSA() const [member function] - cls.add_method('GetLSA', - 'ns3::GlobalRoutingLSA *', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetLSA(ns3::GlobalRoutingLSA * lsa) [member function] - cls.add_method('SetLSA', - 'void', - [param('ns3::GlobalRoutingLSA *', 'lsa')]) - ## global-route-manager-impl.h: uint32_t ns3::SPFVertex::GetDistanceFromRoot() const [member function] - cls.add_method('GetDistanceFromRoot', - 'uint32_t', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetDistanceFromRoot(uint32_t distance) [member function] - cls.add_method('SetDistanceFromRoot', - 'void', - [param('uint32_t', 'distance')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetRootExitDirection(ns3::Ipv4Address nextHop, int32_t id=ns3::SPF_INFINITY) [member function] - cls.add_method('SetRootExitDirection', - 'void', - [param('ns3::Ipv4Address', 'nextHop'), param('int32_t', 'id', default_value='ns3::SPF_INFINITY')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetRootExitDirection(std::pair exit) [member function] - cls.add_method('SetRootExitDirection', - 'void', - [param('std::pair< ns3::Ipv4Address, int >', 'exit')]) - ## global-route-manager-impl.h: std::pair ns3::SPFVertex::GetRootExitDirection(uint32_t i) const [member function] - cls.add_method('GetRootExitDirection', - 'std::pair< ns3::Ipv4Address, int >', - [param('uint32_t', 'i')], - is_const=True) - ## global-route-manager-impl.h: std::pair ns3::SPFVertex::GetRootExitDirection() const [member function] - cls.add_method('GetRootExitDirection', - 'std::pair< ns3::Ipv4Address, int >', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::MergeRootExitDirections(ns3::SPFVertex const * vertex) [member function] - cls.add_method('MergeRootExitDirections', - 'void', - [param('ns3::SPFVertex const *', 'vertex')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::InheritAllRootExitDirections(ns3::SPFVertex const * vertex) [member function] - cls.add_method('InheritAllRootExitDirections', - 'void', - [param('ns3::SPFVertex const *', 'vertex')]) - ## global-route-manager-impl.h: uint32_t ns3::SPFVertex::GetNRootExitDirections() const [member function] - cls.add_method('GetNRootExitDirections', - 'uint32_t', - [], - is_const=True) - ## global-route-manager-impl.h: ns3::SPFVertex * ns3::SPFVertex::GetParent(uint32_t i=0) const [member function] - cls.add_method('GetParent', - 'ns3::SPFVertex *', - [param('uint32_t', 'i', default_value='0')], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetParent(ns3::SPFVertex * parent) [member function] - cls.add_method('SetParent', - 'void', - [param('ns3::SPFVertex *', 'parent')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::MergeParent(ns3::SPFVertex const * v) [member function] - cls.add_method('MergeParent', - 'void', - [param('ns3::SPFVertex const *', 'v')]) - ## global-route-manager-impl.h: uint32_t ns3::SPFVertex::GetNChildren() const [member function] - cls.add_method('GetNChildren', - 'uint32_t', - [], - is_const=True) - ## global-route-manager-impl.h: ns3::SPFVertex * ns3::SPFVertex::GetChild(uint32_t n) const [member function] - cls.add_method('GetChild', - 'ns3::SPFVertex *', - [param('uint32_t', 'n')], - is_const=True) - ## global-route-manager-impl.h: uint32_t ns3::SPFVertex::AddChild(ns3::SPFVertex * child) [member function] - cls.add_method('AddChild', - 'uint32_t', - [param('ns3::SPFVertex *', 'child')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetVertexProcessed(bool value) [member function] - cls.add_method('SetVertexProcessed', - 'void', - [param('bool', 'value')]) - ## global-route-manager-impl.h: bool ns3::SPFVertex::IsVertexProcessed() const [member function] - cls.add_method('IsVertexProcessed', - 'bool', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::ClearVertexProcessed() [member function] - cls.add_method('ClearVertexProcessed', - 'void', - []) - return - -def register_Ns3Icmpv4DestinationUnreachable_methods(root_module, cls): - ## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable(ns3::Icmpv4DestinationUnreachable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4DestinationUnreachable const &', 'arg0')]) - ## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable() [constructor] - cls.add_constructor([]) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::GetData(uint8_t * payload) const [member function] - cls.add_method('GetData', - 'void', - [param('uint8_t *', 'payload')], - is_const=True) - ## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4DestinationUnreachable::GetHeader() const [member function] - cls.add_method('GetHeader', - 'ns3::Ipv4Header', - [], - is_const=True) - ## icmpv4.h: uint16_t ns3::Icmpv4DestinationUnreachable::GetNextHopMtu() const [member function] - cls.add_method('GetNextHopMtu', - 'uint16_t', - [], - is_const=True) - ## icmpv4.h: static ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetData(ns3::Ptr data) [member function] - cls.add_method('SetData', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'data')]) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetHeader(ns3::Ipv4Header header) [member function] - cls.add_method('SetHeader', - 'void', - [param('ns3::Ipv4Header', 'header')]) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetNextHopMtu(uint16_t mtu) [member function] - cls.add_method('SetNextHopMtu', - 'void', - [param('uint16_t', 'mtu')]) - ## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - visibility='private', is_virtual=True) - ## icmpv4.h: ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, visibility='private', is_virtual=True) - ## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='private', is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Icmpv4Echo_methods(root_module, cls): - ## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo(ns3::Icmpv4Echo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4Echo const &', 'arg0')]) - ## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo() [constructor] - cls.add_constructor([]) - ## icmpv4.h: uint32_t ns3::Icmpv4Echo::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetData(uint8_t * payload) const [member function] - cls.add_method('GetData', - 'uint32_t', - [param('uint8_t *', 'payload')], - is_const=True) - ## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetDataSize() const [member function] - cls.add_method('GetDataSize', - 'uint32_t', - [], - is_const=True) - ## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetIdentifier() const [member function] - cls.add_method('GetIdentifier', - 'uint16_t', - [], - is_const=True) - ## icmpv4.h: ns3::TypeId ns3::Icmpv4Echo::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: static ns3::TypeId ns3::Icmpv4Echo::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4.h: void ns3::Icmpv4Echo::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Echo::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Echo::SetData(ns3::Ptr data) [member function] - cls.add_method('SetData', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'data')]) - ## icmpv4.h: void ns3::Icmpv4Echo::SetIdentifier(uint16_t id) [member function] - cls.add_method('SetIdentifier', - 'void', - [param('uint16_t', 'id')]) - ## icmpv4.h: void ns3::Icmpv4Echo::SetSequenceNumber(uint16_t seq) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'seq')]) - return - -def register_Ns3Icmpv4Header_methods(root_module, cls): - ## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header(ns3::Icmpv4Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4Header const &', 'arg0')]) - ## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header() [constructor] - cls.add_constructor([]) - ## icmpv4.h: uint32_t ns3::Icmpv4Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Header::EnableChecksum() [member function] - cls.add_method('EnableChecksum', - 'void', - []) - ## icmpv4.h: uint8_t ns3::Icmpv4Header::GetCode() const [member function] - cls.add_method('GetCode', - 'uint8_t', - [], - is_const=True) - ## icmpv4.h: ns3::TypeId ns3::Icmpv4Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: uint32_t ns3::Icmpv4Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: uint8_t ns3::Icmpv4Header::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## icmpv4.h: static ns3::TypeId ns3::Icmpv4Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4.h: void ns3::Icmpv4Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Header::SetCode(uint8_t code) [member function] - cls.add_method('SetCode', - 'void', - [param('uint8_t', 'code')]) - ## icmpv4.h: void ns3::Icmpv4Header::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3Icmpv4TimeExceeded_methods(root_module, cls): - ## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded(ns3::Icmpv4TimeExceeded const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4TimeExceeded const &', 'arg0')]) - ## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded() [constructor] - cls.add_constructor([]) - ## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::GetData(uint8_t * payload) const [member function] - cls.add_method('GetData', - 'void', - [param('uint8_t *', 'payload')], - is_const=True) - ## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4TimeExceeded::GetHeader() const [member function] - cls.add_method('GetHeader', - 'ns3::Ipv4Header', - [], - is_const=True) - ## icmpv4.h: ns3::TypeId ns3::Icmpv4TimeExceeded::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: static ns3::TypeId ns3::Icmpv4TimeExceeded::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetData(ns3::Ptr data) [member function] - cls.add_method('SetData', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'data')]) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetHeader(ns3::Ipv4Header header) [member function] - cls.add_method('SetHeader', - 'void', - [param('ns3::Ipv4Header', 'header')]) - return - -def register_Ns3Icmpv6Header_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6Header::Icmpv6Header(ns3::Icmpv6Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6Header const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6Header::Icmpv6Header() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: void ns3::Icmpv6Header::CalculatePseudoHeaderChecksum(ns3::Ipv6Address src, ns3::Ipv6Address dst, uint16_t length, uint8_t protocol) [member function] - cls.add_method('CalculatePseudoHeaderChecksum', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint16_t', 'length'), param('uint8_t', 'protocol')]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6Header::GetChecksum() const [member function] - cls.add_method('GetChecksum', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6Header::GetCode() const [member function] - cls.add_method('GetCode', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6Header::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Header::SetChecksum(uint16_t checksum) [member function] - cls.add_method('SetChecksum', - 'void', - [param('uint16_t', 'checksum')]) - ## icmpv6-header.h: void ns3::Icmpv6Header::SetCode(uint8_t code) [member function] - cls.add_method('SetCode', - 'void', - [param('uint8_t', 'code')]) - ## icmpv6-header.h: void ns3::Icmpv6Header::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3Icmpv6NA_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6NA::Icmpv6NA(ns3::Icmpv6NA const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6NA const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6NA::Icmpv6NA() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NA::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: bool ns3::Icmpv6NA::GetFlagO() const [member function] - cls.add_method('GetFlagO', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6NA::GetFlagR() const [member function] - cls.add_method('GetFlagR', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6NA::GetFlagS() const [member function] - cls.add_method('GetFlagS', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6NA::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6NA::GetIpv6Target() const [member function] - cls.add_method('GetIpv6Target', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NA::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NA::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6NA::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6NA::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6NA::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetFlagO(bool o) [member function] - cls.add_method('SetFlagO', - 'void', - [param('bool', 'o')]) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetFlagR(bool r) [member function] - cls.add_method('SetFlagR', - 'void', - [param('bool', 'r')]) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetFlagS(bool s) [member function] - cls.add_method('SetFlagS', - 'void', - [param('bool', 's')]) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetIpv6Target(ns3::Ipv6Address target) [member function] - cls.add_method('SetIpv6Target', - 'void', - [param('ns3::Ipv6Address', 'target')]) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - return - -def register_Ns3Icmpv6NS_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6NS::Icmpv6NS(ns3::Icmpv6NS const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6NS const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6NS::Icmpv6NS(ns3::Ipv6Address target) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'target')]) - ## icmpv6-header.h: ns3::Icmpv6NS::Icmpv6NS() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NS::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6NS::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6NS::GetIpv6Target() const [member function] - cls.add_method('GetIpv6Target', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NS::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NS::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6NS::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6NS::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6NS::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6NS::SetIpv6Target(ns3::Ipv6Address target) [member function] - cls.add_method('SetIpv6Target', - 'void', - [param('ns3::Ipv6Address', 'target')]) - ## icmpv6-header.h: void ns3::Icmpv6NS::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - return - -def register_Ns3Icmpv6OptionHeader_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionHeader::Icmpv6OptionHeader(ns3::Icmpv6OptionHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionHeader const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionHeader::Icmpv6OptionHeader() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6OptionHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6OptionHeader::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionHeader::SetLength(uint8_t len) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'len')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionHeader::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3Icmpv6OptionLinkLayerAddress_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress::Icmpv6OptionLinkLayerAddress(ns3::Icmpv6OptionLinkLayerAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionLinkLayerAddress const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress::Icmpv6OptionLinkLayerAddress(bool source) [constructor] - cls.add_constructor([param('bool', 'source')]) - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress::Icmpv6OptionLinkLayerAddress(bool source, ns3::Address addr) [constructor] - cls.add_constructor([param('bool', 'source'), param('ns3::Address', 'addr')]) - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress::Icmpv6OptionLinkLayerAddress() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionLinkLayerAddress::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::Address ns3::Icmpv6OptionLinkLayerAddress::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionLinkLayerAddress::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionLinkLayerAddress::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionLinkLayerAddress::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionLinkLayerAddress::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionLinkLayerAddress::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionLinkLayerAddress::SetAddress(ns3::Address addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'addr')]) - return - -def register_Ns3Icmpv6OptionMtu_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionMtu::Icmpv6OptionMtu(ns3::Icmpv6OptionMtu const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionMtu const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionMtu::Icmpv6OptionMtu() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: ns3::Icmpv6OptionMtu::Icmpv6OptionMtu(uint32_t mtu) [constructor] - cls.add_constructor([param('uint32_t', 'mtu')]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionMtu::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionMtu::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionMtu::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6OptionMtu::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionMtu::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionMtu::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionMtu::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionMtu::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionMtu::SetMtu(uint32_t mtu) [member function] - cls.add_method('SetMtu', - 'void', - [param('uint32_t', 'mtu')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionMtu::SetReserved(uint16_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint16_t', 'reserved')]) - return - -def register_Ns3Icmpv6OptionPrefixInformation_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionPrefixInformation::Icmpv6OptionPrefixInformation(ns3::Icmpv6OptionPrefixInformation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionPrefixInformation const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionPrefixInformation::Icmpv6OptionPrefixInformation() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: ns3::Icmpv6OptionPrefixInformation::Icmpv6OptionPrefixInformation(ns3::Ipv6Address network, uint8_t prefixlen) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('uint8_t', 'prefixlen')]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6OptionPrefixInformation::GetFlags() const [member function] - cls.add_method('GetFlags', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionPrefixInformation::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::GetPreferredTime() const [member function] - cls.add_method('GetPreferredTime', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6OptionPrefixInformation::GetPrefix() const [member function] - cls.add_method('GetPrefix', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6OptionPrefixInformation::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionPrefixInformation::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::GetValidTime() const [member function] - cls.add_method('GetValidTime', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetFlags(uint8_t flags) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'flags')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetPreferredTime(uint32_t preferredTime) [member function] - cls.add_method('SetPreferredTime', - 'void', - [param('uint32_t', 'preferredTime')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetPrefix(ns3::Ipv6Address prefix) [member function] - cls.add_method('SetPrefix', - 'void', - [param('ns3::Ipv6Address', 'prefix')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetPrefixLength(uint8_t prefixLength) [member function] - cls.add_method('SetPrefixLength', - 'void', - [param('uint8_t', 'prefixLength')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetValidTime(uint32_t validTime) [member function] - cls.add_method('SetValidTime', - 'void', - [param('uint32_t', 'validTime')]) - return - -def register_Ns3Icmpv6OptionRedirected_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionRedirected::Icmpv6OptionRedirected(ns3::Icmpv6OptionRedirected const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionRedirected const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionRedirected::Icmpv6OptionRedirected() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionRedirected::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionRedirected::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6OptionRedirected::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionRedirected::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionRedirected::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionRedirected::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionRedirected::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionRedirected::SetPacket(ns3::Ptr packet) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - return - -def register_Ns3Icmpv6ParameterError_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6ParameterError::Icmpv6ParameterError(ns3::Icmpv6ParameterError const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6ParameterError const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6ParameterError::Icmpv6ParameterError() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6ParameterError::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6ParameterError::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6ParameterError::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6ParameterError::GetPtr() const [member function] - cls.add_method('GetPtr', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6ParameterError::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6ParameterError::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6ParameterError::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6ParameterError::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6ParameterError::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## icmpv6-header.h: void ns3::Icmpv6ParameterError::SetPtr(uint32_t ptr) [member function] - cls.add_method('SetPtr', - 'void', - [param('uint32_t', 'ptr')]) - return - -def register_Ns3Icmpv6RA_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6RA::Icmpv6RA(ns3::Icmpv6RA const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6RA const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6RA::Icmpv6RA() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RA::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6RA::GetCurHopLimit() const [member function] - cls.add_method('GetCurHopLimit', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6RA::GetFlagH() const [member function] - cls.add_method('GetFlagH', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6RA::GetFlagM() const [member function] - cls.add_method('GetFlagM', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6RA::GetFlagO() const [member function] - cls.add_method('GetFlagO', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6RA::GetFlags() const [member function] - cls.add_method('GetFlags', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6RA::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6RA::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RA::GetReachableTime() const [member function] - cls.add_method('GetReachableTime', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RA::GetRetransmissionTime() const [member function] - cls.add_method('GetRetransmissionTime', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RA::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6RA::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6RA::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6RA::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetCurHopLimit(uint8_t m) [member function] - cls.add_method('SetCurHopLimit', - 'void', - [param('uint8_t', 'm')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetFlagH(bool h) [member function] - cls.add_method('SetFlagH', - 'void', - [param('bool', 'h')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetFlagM(bool m) [member function] - cls.add_method('SetFlagM', - 'void', - [param('bool', 'm')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetFlagO(bool o) [member function] - cls.add_method('SetFlagO', - 'void', - [param('bool', 'o')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetFlags(uint8_t f) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'f')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetLifeTime(uint16_t l) [member function] - cls.add_method('SetLifeTime', - 'void', - [param('uint16_t', 'l')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetReachableTime(uint32_t r) [member function] - cls.add_method('SetReachableTime', - 'void', - [param('uint32_t', 'r')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetRetransmissionTime(uint32_t r) [member function] - cls.add_method('SetRetransmissionTime', - 'void', - [param('uint32_t', 'r')]) - return - -def register_Ns3Icmpv6RS_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6RS::Icmpv6RS(ns3::Icmpv6RS const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6RS const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6RS::Icmpv6RS() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RS::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6RS::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RS::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RS::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6RS::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6RS::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6RS::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6RS::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - return - -def register_Ns3Icmpv6Redirection_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6Redirection::Icmpv6Redirection(ns3::Icmpv6Redirection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6Redirection const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6Redirection::Icmpv6Redirection() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Redirection::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6Redirection::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6Redirection::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Redirection::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Redirection::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6Redirection::GetTarget() const [member function] - cls.add_method('GetTarget', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6Redirection::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::SetDestination(ns3::Ipv6Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv6Address', 'destination')]) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::SetTarget(ns3::Ipv6Address target) [member function] - cls.add_method('SetTarget', - 'void', - [param('ns3::Ipv6Address', 'target')]) - return - -def register_Ns3Icmpv6TimeExceeded_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6TimeExceeded::Icmpv6TimeExceeded(ns3::Icmpv6TimeExceeded const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6TimeExceeded const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6TimeExceeded::Icmpv6TimeExceeded() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TimeExceeded::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6TimeExceeded::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6TimeExceeded::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TimeExceeded::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6TimeExceeded::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6TimeExceeded::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6TimeExceeded::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6TimeExceeded::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - return - -def register_Ns3Icmpv6TooBig_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6TooBig::Icmpv6TooBig(ns3::Icmpv6TooBig const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6TooBig const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6TooBig::Icmpv6TooBig() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TooBig::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6TooBig::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TooBig::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6TooBig::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TooBig::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6TooBig::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6TooBig::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6TooBig::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6TooBig::SetMtu(uint32_t mtu) [member function] - cls.add_method('SetMtu', - 'void', - [param('uint32_t', 'mtu')]) - ## icmpv6-header.h: void ns3::Icmpv6TooBig::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - return - -def register_Ns3InternetStackHelper_methods(root_module, cls): - ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper() [constructor] - cls.add_constructor([]) - ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::InstallAll() const [member function] - cls.add_method('InstallAll', - 'void', - [], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function] - cls.add_method('SetIpv4StackInstall', - 'void', - [param('bool', 'enable')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function] - cls.add_method('SetIpv6StackInstall', - 'void', - [param('bool', 'enable')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function] - cls.add_method('SetRoutingHelper', - 'void', - [param('ns3::Ipv4RoutingHelper const &', 'routing')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function] - cls.add_method('SetRoutingHelper', - 'void', - [param('ns3::Ipv6RoutingHelper const &', 'routing')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid) [member function] - cls.add_method('SetTcp', - 'void', - [param('std::string', 'tid')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function] - cls.add_method('SetTcp', - 'void', - [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv4Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv6Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv4Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv6Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, cls): - ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper(ns3::Ipv4GlobalRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4GlobalRoutingHelper const &', 'arg0')]) - ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper * ns3::Ipv4GlobalRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4GlobalRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-global-routing-helper.h: ns3::Ptr ns3::Ipv4GlobalRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## ipv4-global-routing-helper.h: static void ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables() [member function] - cls.add_method('PopulateRoutingTables', - 'void', - [], - is_static=True) - ## ipv4-global-routing-helper.h: static void ns3::Ipv4GlobalRoutingHelper::RecomputeRoutingTables() [member function] - cls.add_method('RecomputeRoutingTables', - 'void', - [], - is_static=True) - return - -def register_Ns3Ipv4Header_methods(root_module, cls): - ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')]) - ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header() [constructor] - cls.add_constructor([]) - ## ipv4-header.h: uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv4-header.h: void ns3::Ipv4Header::EnableChecksum() [member function] - cls.add_method('EnableChecksum', - 'void', - []) - ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function] - cls.add_method('GetFragmentOffset', - 'uint16_t', - [], - is_const=True) - ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetIdentification() const [member function] - cls.add_method('GetIdentification', - 'uint16_t', - [], - is_const=True) - ## ipv4-header.h: ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function] - cls.add_method('GetPayloadSize', - 'uint16_t', - [], - is_const=True) - ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetProtocol() const [member function] - cls.add_method('GetProtocol', - 'uint8_t', - [], - is_const=True) - ## ipv4-header.h: uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTos() const [member function] - cls.add_method('GetTos', - 'uint8_t', - [], - is_const=True) - ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint8_t', - [], - is_const=True) - ## ipv4-header.h: static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-header.h: bool ns3::Ipv4Header::IsChecksumOk() const [member function] - cls.add_method('IsChecksumOk', - 'bool', - [], - is_const=True) - ## ipv4-header.h: bool ns3::Ipv4Header::IsDontFragment() const [member function] - cls.add_method('IsDontFragment', - 'bool', - [], - is_const=True) - ## ipv4-header.h: bool ns3::Ipv4Header::IsLastFragment() const [member function] - cls.add_method('IsLastFragment', - 'bool', - [], - is_const=True) - ## ipv4-header.h: void ns3::Ipv4Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv4-header.h: void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv4-header.h: void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv4Address', 'destination')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetDontFragment() [member function] - cls.add_method('SetDontFragment', - 'void', - []) - ## ipv4-header.h: void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] - cls.add_method('SetFragmentOffset', - 'void', - [param('uint16_t', 'offset')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] - cls.add_method('SetIdentification', - 'void', - [param('uint16_t', 'identification')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetLastFragment() [member function] - cls.add_method('SetLastFragment', - 'void', - []) - ## ipv4-header.h: void ns3::Ipv4Header::SetMayFragment() [member function] - cls.add_method('SetMayFragment', - 'void', - []) - ## ipv4-header.h: void ns3::Ipv4Header::SetMoreFragments() [member function] - cls.add_method('SetMoreFragments', - 'void', - []) - ## ipv4-header.h: void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function] - cls.add_method('SetPayloadSize', - 'void', - [param('uint16_t', 'size')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint8_t', 'num')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv4Address', 'source')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetTos(uint8_t tos) [member function] - cls.add_method('SetTos', - 'void', - [param('uint8_t', 'tos')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function] - cls.add_method('SetTtl', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3Ipv4ListRoutingHelper_methods(root_module, cls): - ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper::Ipv4ListRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper::Ipv4ListRoutingHelper(ns3::Ipv4ListRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4ListRoutingHelper const &', 'arg0')]) - ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper * ns3::Ipv4ListRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4ListRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-list-routing-helper.h: void ns3::Ipv4ListRoutingHelper::Add(ns3::Ipv4RoutingHelper const & routing, int16_t priority) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv4RoutingHelper const &', 'routing'), param('int16_t', 'priority')]) - ## ipv4-list-routing-helper.h: ns3::Ptr ns3::Ipv4ListRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv4PacketInfoTag_methods(root_module, cls): - ## ipv4-packet-info-tag.h: ns3::Ipv4PacketInfoTag::Ipv4PacketInfoTag(ns3::Ipv4PacketInfoTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4PacketInfoTag const &', 'arg0')]) - ## ipv4-packet-info-tag.h: ns3::Ipv4PacketInfoTag::Ipv4PacketInfoTag() [constructor] - cls.add_constructor([]) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## ipv4-packet-info-tag.h: ns3::Ipv4Address ns3::Ipv4PacketInfoTag::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-packet-info-tag.h: ns3::TypeId ns3::Ipv4PacketInfoTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv4-packet-info-tag.h: ns3::Ipv4Address ns3::Ipv4PacketInfoTag::GetLocalAddress() const [member function] - cls.add_method('GetLocalAddress', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-packet-info-tag.h: uint32_t ns3::Ipv4PacketInfoTag::GetRecvIf() const [member function] - cls.add_method('GetRecvIf', - 'uint32_t', - [], - is_const=True) - ## ipv4-packet-info-tag.h: uint32_t ns3::Ipv4PacketInfoTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-packet-info-tag.h: uint8_t ns3::Ipv4PacketInfoTag::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint8_t', - [], - is_const=True) - ## ipv4-packet-info-tag.h: static ns3::TypeId ns3::Ipv4PacketInfoTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::SetAddress(ns3::Ipv4Address addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::SetLocalAddress(ns3::Ipv4Address addr) [member function] - cls.add_method('SetLocalAddress', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::SetRecvIf(uint32_t ifindex) [member function] - cls.add_method('SetRecvIf', - 'void', - [param('uint32_t', 'ifindex')]) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::SetTtl(uint8_t ttl) [member function] - cls.add_method('SetTtl', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3Ipv6ExtensionHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHeader::Ipv6ExtensionHeader(ns3::Ipv6ExtensionHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHeader::Ipv6ExtensionHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint16_t ns3::Ipv6ExtensionHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint16_t', - [], - is_const=True) - ## ipv6-extension-header.h: uint8_t ns3::Ipv6ExtensionHeader::GetNextHeader() const [member function] - cls.add_method('GetNextHeader', - 'uint8_t', - [], - is_const=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHeader::SetLength(uint16_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint16_t', 'length')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHeader::SetNextHeader(uint8_t nextHeader) [member function] - cls.add_method('SetNextHeader', - 'void', - [param('uint8_t', 'nextHeader')]) - return - -def register_Ns3Ipv6ExtensionHopByHopHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHopByHopHeader::Ipv6ExtensionHopByHopHeader(ns3::Ipv6ExtensionHopByHopHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionHopByHopHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHopByHopHeader::Ipv6ExtensionHopByHopHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionHopByHopHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionHopByHopHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionHopByHopHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionHopByHopHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHopByHopHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHopByHopHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6ExtensionRoutingHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionRoutingHeader::Ipv6ExtensionRoutingHeader(ns3::Ipv6ExtensionRoutingHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionRoutingHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionRoutingHeader::Ipv6ExtensionRoutingHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionRoutingHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionRoutingHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint8_t ns3::Ipv6ExtensionRoutingHeader::GetSegmentsLeft() const [member function] - cls.add_method('GetSegmentsLeft', - 'uint8_t', - [], - is_const=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionRoutingHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionRoutingHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: uint8_t ns3::Ipv6ExtensionRoutingHeader::GetTypeRouting() const [member function] - cls.add_method('GetTypeRouting', - 'uint8_t', - [], - is_const=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionRoutingHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionRoutingHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionRoutingHeader::SetSegmentsLeft(uint8_t segmentsLeft) [member function] - cls.add_method('SetSegmentsLeft', - 'void', - [param('uint8_t', 'segmentsLeft')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionRoutingHeader::SetTypeRouting(uint8_t typeRouting) [member function] - cls.add_method('SetTypeRouting', - 'void', - [param('uint8_t', 'typeRouting')]) - return - -def register_Ns3Ipv6Header_methods(root_module, cls): - ## ipv6-header.h: ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')]) - ## ipv6-header.h: ns3::Ipv6Header::Ipv6Header() [constructor] - cls.add_constructor([]) - ## ipv6-header.h: uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-header.h: ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function] - cls.add_method('GetDestinationAddress', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-header.h: uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function] - cls.add_method('GetFlowLabel', - 'uint32_t', - [], - is_const=True) - ## ipv6-header.h: uint8_t ns3::Ipv6Header::GetHopLimit() const [member function] - cls.add_method('GetHopLimit', - 'uint8_t', - [], - is_const=True) - ## ipv6-header.h: ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-header.h: uint8_t ns3::Ipv6Header::GetNextHeader() const [member function] - cls.add_method('GetNextHeader', - 'uint8_t', - [], - is_const=True) - ## ipv6-header.h: uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function] - cls.add_method('GetPayloadLength', - 'uint16_t', - [], - is_const=True) - ## ipv6-header.h: uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-header.h: ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function] - cls.add_method('GetSourceAddress', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-header.h: uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function] - cls.add_method('GetTrafficClass', - 'uint8_t', - [], - is_const=True) - ## ipv6-header.h: static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-header.h: void ns3::Ipv6Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-header.h: void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-header.h: void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function] - cls.add_method('SetDestinationAddress', - 'void', - [param('ns3::Ipv6Address', 'dst')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function] - cls.add_method('SetFlowLabel', - 'void', - [param('uint32_t', 'flow')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function] - cls.add_method('SetHopLimit', - 'void', - [param('uint8_t', 'limit')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function] - cls.add_method('SetNextHeader', - 'void', - [param('uint8_t', 'next')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function] - cls.add_method('SetPayloadLength', - 'void', - [param('uint16_t', 'len')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function] - cls.add_method('SetSourceAddress', - 'void', - [param('ns3::Ipv6Address', 'src')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function] - cls.add_method('SetTrafficClass', - 'void', - [param('uint8_t', 'traffic')]) - return - -def register_Ns3Ipv6ListRoutingHelper_methods(root_module, cls): - ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper::Ipv6ListRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper::Ipv6ListRoutingHelper(ns3::Ipv6ListRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ListRoutingHelper const &', 'arg0')]) - ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper * ns3::Ipv6ListRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv6ListRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv6-list-routing-helper.h: void ns3::Ipv6ListRoutingHelper::Add(ns3::Ipv6RoutingHelper const & routing, int16_t priority) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv6RoutingHelper const &', 'routing'), param('int16_t', 'priority')]) - ## ipv6-list-routing-helper.h: ns3::Ptr ns3::Ipv6ListRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6OptionHeader_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Ipv6OptionHeader(ns3::Ipv6OptionHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionHeader const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Ipv6OptionHeader() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment ns3::Ipv6OptionHeader::GetAlignment() const [member function] - cls.add_method('GetAlignment', - 'ns3::Ipv6OptionHeader::Alignment', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint8_t ns3::Ipv6OptionHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint8_t ns3::Ipv6OptionHeader::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionHeader::SetLength(uint8_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'length')]) - ## ipv6-option-header.h: void ns3::Ipv6OptionHeader::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3Ipv6OptionHeaderAlignment_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment::Alignment() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment::Alignment(ns3::Ipv6OptionHeader::Alignment const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionHeader::Alignment const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment::factor [variable] - cls.add_instance_attribute('factor', 'uint8_t', is_const=False) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment::offset [variable] - cls.add_instance_attribute('offset', 'uint8_t', is_const=False) - return - -def register_Ns3Ipv6OptionJumbogramHeader_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionJumbogramHeader::Ipv6OptionJumbogramHeader(ns3::Ipv6OptionJumbogramHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionJumbogramHeader const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionJumbogramHeader::Ipv6OptionJumbogramHeader() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionJumbogramHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment ns3::Ipv6OptionJumbogramHeader::GetAlignment() const [member function] - cls.add_method('GetAlignment', - 'ns3::Ipv6OptionHeader::Alignment', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionJumbogramHeader::GetDataLength() const [member function] - cls.add_method('GetDataLength', - 'uint32_t', - [], - is_const=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionJumbogramHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionJumbogramHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionJumbogramHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionJumbogramHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionJumbogramHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionJumbogramHeader::SetDataLength(uint32_t dataLength) [member function] - cls.add_method('SetDataLength', - 'void', - [param('uint32_t', 'dataLength')]) - return - -def register_Ns3Ipv6OptionPad1Header_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionPad1Header::Ipv6OptionPad1Header(ns3::Ipv6OptionPad1Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionPad1Header const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionPad1Header::Ipv6OptionPad1Header() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionPad1Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionPad1Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionPad1Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionPad1Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionPad1Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionPad1Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6OptionPadnHeader_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionPadnHeader::Ipv6OptionPadnHeader(ns3::Ipv6OptionPadnHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionPadnHeader const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionPadnHeader::Ipv6OptionPadnHeader(uint32_t pad=2) [constructor] - cls.add_constructor([param('uint32_t', 'pad', default_value='2')]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionPadnHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionPadnHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionPadnHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionPadnHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionPadnHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionPadnHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6OptionRouterAlertHeader_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionRouterAlertHeader::Ipv6OptionRouterAlertHeader(ns3::Ipv6OptionRouterAlertHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionRouterAlertHeader const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionRouterAlertHeader::Ipv6OptionRouterAlertHeader() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionRouterAlertHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment ns3::Ipv6OptionRouterAlertHeader::GetAlignment() const [member function] - cls.add_method('GetAlignment', - 'ns3::Ipv6OptionHeader::Alignment', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionRouterAlertHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionRouterAlertHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionRouterAlertHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: uint16_t ns3::Ipv6OptionRouterAlertHeader::GetValue() const [member function] - cls.add_method('GetValue', - 'uint16_t', - [], - is_const=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionRouterAlertHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionRouterAlertHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionRouterAlertHeader::SetValue(uint16_t value) [member function] - cls.add_method('SetValue', - 'void', - [param('uint16_t', 'value')]) - return - -def register_Ns3Ipv6PacketInfoTag_methods(root_module, cls): - ## ipv6-packet-info-tag.h: ns3::Ipv6PacketInfoTag::Ipv6PacketInfoTag(ns3::Ipv6PacketInfoTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PacketInfoTag const &', 'arg0')]) - ## ipv6-packet-info-tag.h: ns3::Ipv6PacketInfoTag::Ipv6PacketInfoTag() [constructor] - cls.add_constructor([]) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## ipv6-packet-info-tag.h: ns3::Ipv6Address ns3::Ipv6PacketInfoTag::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-packet-info-tag.h: uint8_t ns3::Ipv6PacketInfoTag::GetHoplimit() const [member function] - cls.add_method('GetHoplimit', - 'uint8_t', - [], - is_const=True) - ## ipv6-packet-info-tag.h: ns3::TypeId ns3::Ipv6PacketInfoTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-packet-info-tag.h: uint32_t ns3::Ipv6PacketInfoTag::GetRecvIf() const [member function] - cls.add_method('GetRecvIf', - 'uint32_t', - [], - is_const=True) - ## ipv6-packet-info-tag.h: uint32_t ns3::Ipv6PacketInfoTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-packet-info-tag.h: uint8_t ns3::Ipv6PacketInfoTag::GetTrafficClass() const [member function] - cls.add_method('GetTrafficClass', - 'uint8_t', - [], - is_const=True) - ## ipv6-packet-info-tag.h: static ns3::TypeId ns3::Ipv6PacketInfoTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::SetAddress(ns3::Ipv6Address addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Ipv6Address', 'addr')]) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::SetHoplimit(uint8_t ttl) [member function] - cls.add_method('SetHoplimit', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::SetRecvIf(uint32_t ifindex) [member function] - cls.add_method('SetRecvIf', - 'void', - [param('uint32_t', 'ifindex')]) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::SetTrafficClass(uint8_t tclass) [member function] - cls.add_method('SetTrafficClass', - 'void', - [param('uint8_t', 'tclass')]) - return - -def register_Ns3TcpHeader_methods(root_module, cls): - ## tcp-header.h: ns3::TcpHeader::TcpHeader(ns3::TcpHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TcpHeader const &', 'arg0')]) - ## tcp-header.h: ns3::TcpHeader::TcpHeader() [constructor] - cls.add_constructor([]) - ## tcp-header.h: uint32_t ns3::TcpHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## tcp-header.h: void ns3::TcpHeader::EnableChecksums() [member function] - cls.add_method('EnableChecksums', - 'void', - []) - ## tcp-header.h: ns3::SequenceNumber32 ns3::TcpHeader::GetAckNumber() const [member function] - cls.add_method('GetAckNumber', - 'ns3::SequenceNumber32', - [], - is_const=True) - ## tcp-header.h: uint16_t ns3::TcpHeader::GetDestinationPort() const [member function] - cls.add_method('GetDestinationPort', - 'uint16_t', - [], - is_const=True) - ## tcp-header.h: uint8_t ns3::TcpHeader::GetFlags() const [member function] - cls.add_method('GetFlags', - 'uint8_t', - [], - is_const=True) - ## tcp-header.h: ns3::TypeId ns3::TcpHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## tcp-header.h: uint8_t ns3::TcpHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## tcp-header.h: ns3::SequenceNumber32 ns3::TcpHeader::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'ns3::SequenceNumber32', - [], - is_const=True) - ## tcp-header.h: uint32_t ns3::TcpHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## tcp-header.h: uint16_t ns3::TcpHeader::GetSourcePort() const [member function] - cls.add_method('GetSourcePort', - 'uint16_t', - [], - is_const=True) - ## tcp-header.h: static ns3::TypeId ns3::TcpHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tcp-header.h: uint16_t ns3::TcpHeader::GetUrgentPointer() const [member function] - cls.add_method('GetUrgentPointer', - 'uint16_t', - [], - is_const=True) - ## tcp-header.h: uint16_t ns3::TcpHeader::GetWindowSize() const [member function] - cls.add_method('GetWindowSize', - 'uint16_t', - [], - is_const=True) - ## tcp-header.h: void ns3::TcpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function] - cls.add_method('InitializeChecksum', - 'void', - [param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')]) - ## tcp-header.h: bool ns3::TcpHeader::IsChecksumOk() const [member function] - cls.add_method('IsChecksumOk', - 'bool', - [], - is_const=True) - ## tcp-header.h: void ns3::TcpHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## tcp-header.h: void ns3::TcpHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## tcp-header.h: void ns3::TcpHeader::SetAckNumber(ns3::SequenceNumber32 ackNumber) [member function] - cls.add_method('SetAckNumber', - 'void', - [param('ns3::SequenceNumber32', 'ackNumber')]) - ## tcp-header.h: void ns3::TcpHeader::SetDestinationPort(uint16_t port) [member function] - cls.add_method('SetDestinationPort', - 'void', - [param('uint16_t', 'port')]) - ## tcp-header.h: void ns3::TcpHeader::SetFlags(uint8_t flags) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'flags')]) - ## tcp-header.h: void ns3::TcpHeader::SetLength(uint8_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'length')]) - ## tcp-header.h: void ns3::TcpHeader::SetSequenceNumber(ns3::SequenceNumber32 sequenceNumber) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('ns3::SequenceNumber32', 'sequenceNumber')]) - ## tcp-header.h: void ns3::TcpHeader::SetSourcePort(uint16_t port) [member function] - cls.add_method('SetSourcePort', - 'void', - [param('uint16_t', 'port')]) - ## tcp-header.h: void ns3::TcpHeader::SetUrgentPointer(uint16_t urgentPointer) [member function] - cls.add_method('SetUrgentPointer', - 'void', - [param('uint16_t', 'urgentPointer')]) - ## tcp-header.h: void ns3::TcpHeader::SetWindowSize(uint16_t windowSize) [member function] - cls.add_method('SetWindowSize', - 'void', - [param('uint16_t', 'windowSize')]) - return - -def register_Ns3TcpSocket_methods(root_module, cls): - ## tcp-socket.h: ns3::TcpSocket::TcpSocket(ns3::TcpSocket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TcpSocket const &', 'arg0')]) - ## tcp-socket.h: ns3::TcpSocket::TcpSocket() [constructor] - cls.add_constructor([]) - ## tcp-socket.h: static ns3::TypeId ns3::TcpSocket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tcp-socket.h: ns3::TcpSocket::TcpStateName [variable] - cls.add_static_attribute('TcpStateName', 'char const * [ 11 ] const', is_const=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetConnCount() const [member function] - cls.add_method('GetConnCount', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetConnTimeout() const [member function] - cls.add_method('GetConnTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetDelAckMaxCount() const [member function] - cls.add_method('GetDelAckMaxCount', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetDelAckTimeout() const [member function] - cls.add_method('GetDelAckTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetInitialCwnd() const [member function] - cls.add_method('GetInitialCwnd', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetPersistTimeout() const [member function] - cls.add_method('GetPersistTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetRcvBufSize() const [member function] - cls.add_method('GetRcvBufSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSSThresh() const [member function] - cls.add_method('GetSSThresh', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSegSize() const [member function] - cls.add_method('GetSegSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSndBufSize() const [member function] - cls.add_method('GetSndBufSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetConnCount(uint32_t count) [member function] - cls.add_method('SetConnCount', - 'void', - [param('uint32_t', 'count')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetConnTimeout(ns3::Time timeout) [member function] - cls.add_method('SetConnTimeout', - 'void', - [param('ns3::Time', 'timeout')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetDelAckMaxCount(uint32_t count) [member function] - cls.add_method('SetDelAckMaxCount', - 'void', - [param('uint32_t', 'count')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetDelAckTimeout(ns3::Time timeout) [member function] - cls.add_method('SetDelAckTimeout', - 'void', - [param('ns3::Time', 'timeout')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetInitialCwnd(uint32_t count) [member function] - cls.add_method('SetInitialCwnd', - 'void', - [param('uint32_t', 'count')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetPersistTimeout(ns3::Time timeout) [member function] - cls.add_method('SetPersistTimeout', - 'void', - [param('ns3::Time', 'timeout')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetRcvBufSize(uint32_t size) [member function] - cls.add_method('SetRcvBufSize', - 'void', - [param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetSSThresh(uint32_t threshold) [member function] - cls.add_method('SetSSThresh', - 'void', - [param('uint32_t', 'threshold')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetSegSize(uint32_t size) [member function] - cls.add_method('SetSegSize', - 'void', - [param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetSndBufSize(uint32_t size) [member function] - cls.add_method('SetSndBufSize', - 'void', - [param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3TcpSocketFactory_methods(root_module, cls): - ## tcp-socket-factory.h: ns3::TcpSocketFactory::TcpSocketFactory() [constructor] - cls.add_constructor([]) - ## tcp-socket-factory.h: ns3::TcpSocketFactory::TcpSocketFactory(ns3::TcpSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TcpSocketFactory const &', 'arg0')]) - ## tcp-socket-factory.h: static ns3::TypeId ns3::TcpSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UdpHeader_methods(root_module, cls): - ## udp-header.h: ns3::UdpHeader::UdpHeader(ns3::UdpHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpHeader const &', 'arg0')]) - ## udp-header.h: ns3::UdpHeader::UdpHeader() [constructor] - cls.add_constructor([]) - ## udp-header.h: uint32_t ns3::UdpHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## udp-header.h: void ns3::UdpHeader::EnableChecksums() [member function] - cls.add_method('EnableChecksums', - 'void', - []) - ## udp-header.h: uint16_t ns3::UdpHeader::GetDestinationPort() const [member function] - cls.add_method('GetDestinationPort', - 'uint16_t', - [], - is_const=True) - ## udp-header.h: ns3::TypeId ns3::UdpHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## udp-header.h: uint32_t ns3::UdpHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## udp-header.h: uint16_t ns3::UdpHeader::GetSourcePort() const [member function] - cls.add_method('GetSourcePort', - 'uint16_t', - [], - is_const=True) - ## udp-header.h: static ns3::TypeId ns3::UdpHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-header.h: void ns3::UdpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function] - cls.add_method('InitializeChecksum', - 'void', - [param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')]) - ## udp-header.h: bool ns3::UdpHeader::IsChecksumOk() const [member function] - cls.add_method('IsChecksumOk', - 'bool', - [], - is_const=True) - ## udp-header.h: void ns3::UdpHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## udp-header.h: void ns3::UdpHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## udp-header.h: void ns3::UdpHeader::SetDestinationPort(uint16_t port) [member function] - cls.add_method('SetDestinationPort', - 'void', - [param('uint16_t', 'port')]) - ## udp-header.h: void ns3::UdpHeader::SetSourcePort(uint16_t port) [member function] - cls.add_method('SetSourcePort', - 'void', - [param('uint16_t', 'port')]) - return - -def register_Ns3UdpSocket_methods(root_module, cls): - ## udp-socket.h: ns3::UdpSocket::UdpSocket(ns3::UdpSocket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpSocket const &', 'arg0')]) - ## udp-socket.h: ns3::UdpSocket::UdpSocket() [constructor] - cls.add_constructor([]) - ## udp-socket.h: static ns3::TypeId ns3::UdpSocket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-socket.h: int ns3::UdpSocket::MulticastJoinGroup(uint32_t interface, ns3::Address const & groupAddress) [member function] - cls.add_method('MulticastJoinGroup', - 'int', - [param('uint32_t', 'interface'), param('ns3::Address const &', 'groupAddress')], - is_pure_virtual=True, is_virtual=True) - ## udp-socket.h: int ns3::UdpSocket::MulticastLeaveGroup(uint32_t interface, ns3::Address const & groupAddress) [member function] - cls.add_method('MulticastLeaveGroup', - 'int', - [param('uint32_t', 'interface'), param('ns3::Address const &', 'groupAddress')], - is_pure_virtual=True, is_virtual=True) - ## udp-socket.h: int32_t ns3::UdpSocket::GetIpMulticastIf() const [member function] - cls.add_method('GetIpMulticastIf', - 'int32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: bool ns3::UdpSocket::GetIpMulticastLoop() const [member function] - cls.add_method('GetIpMulticastLoop', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: uint8_t ns3::UdpSocket::GetIpMulticastTtl() const [member function] - cls.add_method('GetIpMulticastTtl', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: uint8_t ns3::UdpSocket::GetIpTtl() const [member function] - cls.add_method('GetIpTtl', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: bool ns3::UdpSocket::GetMtuDiscover() const [member function] - cls.add_method('GetMtuDiscover', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: uint32_t ns3::UdpSocket::GetRcvBufSize() const [member function] - cls.add_method('GetRcvBufSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetIpMulticastIf(int32_t ipIf) [member function] - cls.add_method('SetIpMulticastIf', - 'void', - [param('int32_t', 'ipIf')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetIpMulticastLoop(bool loop) [member function] - cls.add_method('SetIpMulticastLoop', - 'void', - [param('bool', 'loop')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetIpMulticastTtl(uint8_t ipTtl) [member function] - cls.add_method('SetIpMulticastTtl', - 'void', - [param('uint8_t', 'ipTtl')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetIpTtl(uint8_t ipTtl) [member function] - cls.add_method('SetIpTtl', - 'void', - [param('uint8_t', 'ipTtl')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetMtuDiscover(bool discover) [member function] - cls.add_method('SetMtuDiscover', - 'void', - [param('bool', 'discover')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetRcvBufSize(uint32_t size) [member function] - cls.add_method('SetRcvBufSize', - 'void', - [param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3UdpSocketFactory_methods(root_module, cls): - ## udp-socket-factory.h: ns3::UdpSocketFactory::UdpSocketFactory() [constructor] - cls.add_constructor([]) - ## udp-socket-factory.h: ns3::UdpSocketFactory::UdpSocketFactory(ns3::UdpSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpSocketFactory const &', 'arg0')]) - ## udp-socket-factory.h: static ns3::TypeId ns3::UdpSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3ArpCache_methods(root_module, cls): - ## arp-cache.h: ns3::ArpCache::ArpCache() [constructor] - cls.add_constructor([]) - ## arp-cache.h: ns3::ArpCache::Entry * ns3::ArpCache::Add(ns3::Ipv4Address to) [member function] - cls.add_method('Add', - 'ns3::ArpCache::Entry *', - [param('ns3::Ipv4Address', 'to')]) - ## arp-cache.h: void ns3::ArpCache::Flush() [member function] - cls.add_method('Flush', - 'void', - []) - ## arp-cache.h: ns3::Time ns3::ArpCache::GetAliveTimeout() const [member function] - cls.add_method('GetAliveTimeout', - 'ns3::Time', - [], - is_const=True) - ## arp-cache.h: ns3::Time ns3::ArpCache::GetDeadTimeout() const [member function] - cls.add_method('GetDeadTimeout', - 'ns3::Time', - [], - is_const=True) - ## arp-cache.h: ns3::Ptr ns3::ArpCache::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## arp-cache.h: ns3::Ptr ns3::ArpCache::GetInterface() const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::Ipv4Interface >', - [], - is_const=True) - ## arp-cache.h: static ns3::TypeId ns3::ArpCache::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## arp-cache.h: ns3::Time ns3::ArpCache::GetWaitReplyTimeout() const [member function] - cls.add_method('GetWaitReplyTimeout', - 'ns3::Time', - [], - is_const=True) - ## arp-cache.h: ns3::ArpCache::Entry * ns3::ArpCache::Lookup(ns3::Ipv4Address destination) [member function] - cls.add_method('Lookup', - 'ns3::ArpCache::Entry *', - [param('ns3::Ipv4Address', 'destination')]) - ## arp-cache.h: void ns3::ArpCache::SetAliveTimeout(ns3::Time aliveTimeout) [member function] - cls.add_method('SetAliveTimeout', - 'void', - [param('ns3::Time', 'aliveTimeout')]) - ## arp-cache.h: void ns3::ArpCache::SetArpRequestCallback(ns3::Callback, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arpRequestCallback) [member function] - cls.add_method('SetArpRequestCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::ArpCache const >, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arpRequestCallback')]) - ## arp-cache.h: void ns3::ArpCache::SetDeadTimeout(ns3::Time deadTimeout) [member function] - cls.add_method('SetDeadTimeout', - 'void', - [param('ns3::Time', 'deadTimeout')]) - ## arp-cache.h: void ns3::ArpCache::SetDevice(ns3::Ptr device, ns3::Ptr interface) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv4Interface >', 'interface')]) - ## arp-cache.h: void ns3::ArpCache::SetWaitReplyTimeout(ns3::Time waitReplyTimeout) [member function] - cls.add_method('SetWaitReplyTimeout', - 'void', - [param('ns3::Time', 'waitReplyTimeout')]) - ## arp-cache.h: void ns3::ArpCache::StartWaitReplyTimer() [member function] - cls.add_method('StartWaitReplyTimer', - 'void', - []) - ## arp-cache.h: void ns3::ArpCache::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ArpCacheEntry_methods(root_module, cls): - ## arp-cache.h: ns3::ArpCache::Entry::Entry(ns3::ArpCache::Entry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ArpCache::Entry const &', 'arg0')]) - ## arp-cache.h: ns3::ArpCache::Entry::Entry(ns3::ArpCache * arp) [constructor] - cls.add_constructor([param('ns3::ArpCache *', 'arp')]) - ## arp-cache.h: void ns3::ArpCache::Entry::ClearRetries() [member function] - cls.add_method('ClearRetries', - 'void', - []) - ## arp-cache.h: ns3::Ptr ns3::ArpCache::Entry::DequeuePending() [member function] - cls.add_method('DequeuePending', - 'ns3::Ptr< ns3::Packet >', - []) - ## arp-cache.h: ns3::Ipv4Address ns3::ArpCache::Entry::GetIpv4Address() const [member function] - cls.add_method('GetIpv4Address', - 'ns3::Ipv4Address', - [], - is_const=True) - ## arp-cache.h: ns3::Address ns3::ArpCache::Entry::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Address', - [], - is_const=True) - ## arp-cache.h: uint32_t ns3::ArpCache::Entry::GetRetries() const [member function] - cls.add_method('GetRetries', - 'uint32_t', - [], - is_const=True) - ## arp-cache.h: void ns3::ArpCache::Entry::IncrementRetries() [member function] - cls.add_method('IncrementRetries', - 'void', - []) - ## arp-cache.h: bool ns3::ArpCache::Entry::IsAlive() [member function] - cls.add_method('IsAlive', - 'bool', - []) - ## arp-cache.h: bool ns3::ArpCache::Entry::IsDead() [member function] - cls.add_method('IsDead', - 'bool', - []) - ## arp-cache.h: bool ns3::ArpCache::Entry::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## arp-cache.h: bool ns3::ArpCache::Entry::IsWaitReply() [member function] - cls.add_method('IsWaitReply', - 'bool', - []) - ## arp-cache.h: void ns3::ArpCache::Entry::MarkAlive(ns3::Address macAddress) [member function] - cls.add_method('MarkAlive', - 'void', - [param('ns3::Address', 'macAddress')]) - ## arp-cache.h: void ns3::ArpCache::Entry::MarkDead() [member function] - cls.add_method('MarkDead', - 'void', - []) - ## arp-cache.h: void ns3::ArpCache::Entry::MarkWaitReply(ns3::Ptr waiting) [member function] - cls.add_method('MarkWaitReply', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'waiting')]) - ## arp-cache.h: void ns3::ArpCache::Entry::SetIpv4Address(ns3::Ipv4Address destination) [member function] - cls.add_method('SetIpv4Address', - 'void', - [param('ns3::Ipv4Address', 'destination')]) - ## arp-cache.h: bool ns3::ArpCache::Entry::UpdateWaitReply(ns3::Ptr waiting) [member function] - cls.add_method('UpdateWaitReply', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'waiting')]) - return - -def register_Ns3ArpHeader_methods(root_module, cls): - ## arp-header.h: ns3::ArpHeader::ArpHeader() [constructor] - cls.add_constructor([]) - ## arp-header.h: ns3::ArpHeader::ArpHeader(ns3::ArpHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ArpHeader const &', 'arg0')]) - ## arp-header.h: uint32_t ns3::ArpHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## arp-header.h: ns3::Address ns3::ArpHeader::GetDestinationHardwareAddress() [member function] - cls.add_method('GetDestinationHardwareAddress', - 'ns3::Address', - []) - ## arp-header.h: ns3::Ipv4Address ns3::ArpHeader::GetDestinationIpv4Address() [member function] - cls.add_method('GetDestinationIpv4Address', - 'ns3::Ipv4Address', - []) - ## arp-header.h: ns3::TypeId ns3::ArpHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## arp-header.h: uint32_t ns3::ArpHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## arp-header.h: ns3::Address ns3::ArpHeader::GetSourceHardwareAddress() [member function] - cls.add_method('GetSourceHardwareAddress', - 'ns3::Address', - []) - ## arp-header.h: ns3::Ipv4Address ns3::ArpHeader::GetSourceIpv4Address() [member function] - cls.add_method('GetSourceIpv4Address', - 'ns3::Ipv4Address', - []) - ## arp-header.h: static ns3::TypeId ns3::ArpHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## arp-header.h: bool ns3::ArpHeader::IsReply() const [member function] - cls.add_method('IsReply', - 'bool', - [], - is_const=True) - ## arp-header.h: bool ns3::ArpHeader::IsRequest() const [member function] - cls.add_method('IsRequest', - 'bool', - [], - is_const=True) - ## arp-header.h: void ns3::ArpHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## arp-header.h: void ns3::ArpHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## arp-header.h: void ns3::ArpHeader::SetReply(ns3::Address sourceHardwareAddress, ns3::Ipv4Address sourceProtocolAddress, ns3::Address destinationHardwareAddress, ns3::Ipv4Address destinationProtocolAddress) [member function] - cls.add_method('SetReply', - 'void', - [param('ns3::Address', 'sourceHardwareAddress'), param('ns3::Ipv4Address', 'sourceProtocolAddress'), param('ns3::Address', 'destinationHardwareAddress'), param('ns3::Ipv4Address', 'destinationProtocolAddress')]) - ## arp-header.h: void ns3::ArpHeader::SetRequest(ns3::Address sourceHardwareAddress, ns3::Ipv4Address sourceProtocolAddress, ns3::Address destinationHardwareAddress, ns3::Ipv4Address destinationProtocolAddress) [member function] - cls.add_method('SetRequest', - 'void', - [param('ns3::Address', 'sourceHardwareAddress'), param('ns3::Ipv4Address', 'sourceProtocolAddress'), param('ns3::Address', 'destinationHardwareAddress'), param('ns3::Ipv4Address', 'destinationProtocolAddress')]) - ## arp-header.h: ns3::ArpHeader::m_ipv4Dest [variable] - cls.add_instance_attribute('m_ipv4Dest', 'ns3::Ipv4Address', is_const=False) - ## arp-header.h: ns3::ArpHeader::m_ipv4Source [variable] - cls.add_instance_attribute('m_ipv4Source', 'ns3::Ipv4Address', is_const=False) - ## arp-header.h: ns3::ArpHeader::m_macDest [variable] - cls.add_instance_attribute('m_macDest', 'ns3::Address', is_const=False) - ## arp-header.h: ns3::ArpHeader::m_macSource [variable] - cls.add_instance_attribute('m_macSource', 'ns3::Address', is_const=False) - ## arp-header.h: ns3::ArpHeader::m_type [variable] - cls.add_instance_attribute('m_type', 'uint16_t', is_const=False) - return - -def register_Ns3ArpL3Protocol_methods(root_module, cls): - ## arp-l3-protocol.h: ns3::ArpL3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## arp-l3-protocol.h: static ns3::TypeId ns3::ArpL3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## arp-l3-protocol.h: ns3::ArpL3Protocol::ArpL3Protocol() [constructor] - cls.add_constructor([]) - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## arp-l3-protocol.h: ns3::Ptr ns3::ArpL3Protocol::CreateCache(ns3::Ptr device, ns3::Ptr interface) [member function] - cls.add_method('CreateCache', - 'ns3::Ptr< ns3::ArpCache >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv4Interface >', 'interface')]) - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::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')]) - ## arp-l3-protocol.h: bool ns3::ArpL3Protocol::Lookup(ns3::Ptr p, ns3::Ipv4Address destination, ns3::Ptr device, ns3::Ptr cache, ns3::Address * hardwareDestination) [member function] - cls.add_method('Lookup', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'destination'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::ArpCache >', 'cache'), param('ns3::Address *', 'hardwareDestination')]) - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3GlobalRouter_methods(root_module, cls): - ## global-router-interface.h: static ns3::TypeId ns3::GlobalRouter::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## global-router-interface.h: ns3::GlobalRouter::GlobalRouter() [constructor] - cls.add_constructor([]) - ## global-router-interface.h: void ns3::GlobalRouter::SetRoutingProtocol(ns3::Ptr routing) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4GlobalRouting >', 'routing')]) - ## global-router-interface.h: ns3::Ptr ns3::GlobalRouter::GetRoutingProtocol() [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4GlobalRouting >', - []) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRouter::GetRouterId() const [member function] - cls.add_method('GetRouterId', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: uint32_t ns3::GlobalRouter::DiscoverLSAs() [member function] - cls.add_method('DiscoverLSAs', - 'uint32_t', - []) - ## global-router-interface.h: uint32_t ns3::GlobalRouter::GetNumLSAs() const [member function] - cls.add_method('GetNumLSAs', - 'uint32_t', - [], - is_const=True) - ## global-router-interface.h: bool ns3::GlobalRouter::GetLSA(uint32_t n, ns3::GlobalRoutingLSA & lsa) const [member function] - cls.add_method('GetLSA', - 'bool', - [param('uint32_t', 'n'), param('ns3::GlobalRoutingLSA &', 'lsa')], - is_const=True) - ## global-router-interface.h: void ns3::GlobalRouter::InjectRoute(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask) [member function] - cls.add_method('InjectRoute', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask')]) - ## global-router-interface.h: uint32_t ns3::GlobalRouter::GetNInjectedRoutes() [member function] - cls.add_method('GetNInjectedRoutes', - 'uint32_t', - []) - ## global-router-interface.h: ns3::Ipv4RoutingTableEntry * ns3::GlobalRouter::GetInjectedRoute(uint32_t i) [member function] - cls.add_method('GetInjectedRoute', - retval('ns3::Ipv4RoutingTableEntry *', caller_owns_return=False), - [param('uint32_t', 'i')]) - ## global-router-interface.h: void ns3::GlobalRouter::RemoveInjectedRoute(uint32_t i) [member function] - cls.add_method('RemoveInjectedRoute', - 'void', - [param('uint32_t', 'i')]) - ## global-router-interface.h: bool ns3::GlobalRouter::WithdrawRoute(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask) [member function] - cls.add_method('WithdrawRoute', - 'bool', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask')]) - ## global-router-interface.h: void ns3::GlobalRouter::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Icmpv6DestinationUnreachable_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6DestinationUnreachable::Icmpv6DestinationUnreachable(ns3::Icmpv6DestinationUnreachable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6DestinationUnreachable const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6DestinationUnreachable::Icmpv6DestinationUnreachable() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6DestinationUnreachable::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6DestinationUnreachable::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6DestinationUnreachable::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6DestinationUnreachable::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6DestinationUnreachable::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6DestinationUnreachable::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6DestinationUnreachable::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6DestinationUnreachable::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - return - -def register_Ns3Icmpv6Echo_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6Echo::Icmpv6Echo(ns3::Icmpv6Echo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6Echo const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6Echo::Icmpv6Echo() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: ns3::Icmpv6Echo::Icmpv6Echo(bool request) [constructor] - cls.add_constructor([param('bool', 'request')]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Echo::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6Echo::GetId() const [member function] - cls.add_method('GetId', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6Echo::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6Echo::GetSeq() const [member function] - cls.add_method('GetSeq', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Echo::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6Echo::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6Echo::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Echo::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Echo::SetId(uint16_t id) [member function] - cls.add_method('SetId', - 'void', - [param('uint16_t', 'id')]) - ## icmpv6-header.h: void ns3::Icmpv6Echo::SetSeq(uint16_t seq) [member function] - cls.add_method('SetSeq', - 'void', - [param('uint16_t', 'seq')]) - return - -def register_Ns3Ipv4_methods(root_module, cls): - ## ipv4.h: ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')]) - ## ipv4.h: ns3::Ipv4::Ipv4() [constructor] - cls.add_constructor([]) - ## ipv4.h: bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: uint32_t ns3::Ipv4::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function] - cls.add_method('GetInterfaceForAddress', - 'int32_t', - [param('ns3::Ipv4Address', 'address')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr device) const [member function] - cls.add_method('GetInterfaceForDevice', - 'int32_t', - [param('ns3::Ptr< ns3::NetDevice const >', 'device')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: uint32_t ns3::Ipv4::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: ns3::Ptr ns3::Ipv4::GetNetDevice(uint32_t interface) [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: ns3::Ptr ns3::Ipv4::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: static ns3::TypeId ns3::Ipv4::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4.h: void ns3::Ipv4::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::IsUp(uint32_t interface) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: ns3::Ipv4Address ns3::Ipv4::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetDown(uint32_t interface) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'interface'), param('bool', 'val')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'interface'), param('uint16_t', 'metric')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetUp(uint32_t interface) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: ns3::Ipv4::IF_ANY [variable] - cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True) - ## ipv4.h: bool ns3::Ipv4::GetIpForward() const [member function] - cls.add_method('GetIpForward', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::GetWeakEsModel() const [member function] - cls.add_method('GetWeakEsModel', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ipv4Interface_methods(root_module, cls): - ## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface(ns3::Ipv4Interface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Interface const &', 'arg0')]) - ## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface() [constructor] - cls.add_constructor([]) - ## ipv4-interface.h: bool ns3::Ipv4Interface::AddAddress(ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('ns3::Ipv4InterfaceAddress', 'address')]) - ## ipv4-interface.h: ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::GetAddress(uint32_t index) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'index')], - is_const=True) - ## ipv4-interface.h: ns3::Ptr ns3::Ipv4Interface::GetArpCache() const [member function] - cls.add_method('GetArpCache', - 'ns3::Ptr< ns3::ArpCache >', - [], - is_const=True) - ## ipv4-interface.h: ns3::Ptr ns3::Ipv4Interface::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv4-interface.h: uint16_t ns3::Ipv4Interface::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [], - is_const=True) - ## ipv4-interface.h: uint32_t ns3::Ipv4Interface::GetNAddresses() const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [], - is_const=True) - ## ipv4-interface.h: static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-interface.h: bool ns3::Ipv4Interface::IsDown() const [member function] - cls.add_method('IsDown', - 'bool', - [], - is_const=True) - ## ipv4-interface.h: bool ns3::Ipv4Interface::IsForwarding() const [member function] - cls.add_method('IsForwarding', - 'bool', - [], - is_const=True) - ## ipv4-interface.h: bool ns3::Ipv4Interface::IsUp() const [member function] - cls.add_method('IsUp', - 'bool', - [], - is_const=True) - ## ipv4-interface.h: ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::RemoveAddress(uint32_t index) [member function] - cls.add_method('RemoveAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'index')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::Send(ns3::Ptr p, ns3::Ipv4Address dest) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetArpCache(ns3::Ptr arg0) [member function] - cls.add_method('SetArpCache', - 'void', - [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetDown() [member function] - cls.add_method('SetDown', - 'void', - []) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetForwarding(bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('bool', 'val')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetMetric(uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint16_t', 'metric')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetUp() [member function] - cls.add_method('SetUp', - 'void', - []) - ## ipv4-interface.h: void ns3::Ipv4Interface::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h: static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] - cls.add_constructor([]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] - cls.add_method('CreateRawSocket', - 'ns3::Ptr< ns3::Socket >', - []) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::DeleteRawSocket(ns3::Ptr socket) [member function] - cls.add_method('DeleteRawSocket', - 'void', - [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h: uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::Ipv4Interface >', - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-l3-protocol.h: uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetInterfaceForAddress', - 'int32_t', - [param('ns3::Ipv4Address', 'addr')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] - cls.add_method('GetInterfaceForDevice', - 'int32_t', - [param('ns3::Ptr< ns3::NetDevice const >', 'device')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) - ## ipv4-l3-protocol.h: uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: uint16_t ns3::Ipv4L3Protocol::GetMtu(uint32_t i) const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] - cls.add_method('GetIpForward', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] - cls.add_method('GetWeakEsModel', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ipv4L4Protocol_methods(root_module, cls): - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol::Ipv4L4Protocol() [constructor] - cls.add_constructor([]) - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol::Ipv4L4Protocol(ns3::Ipv4L4Protocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4L4Protocol const &', 'arg0')]) - ## ipv4-l4-protocol.h: ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::Ipv4L4Protocol::GetDownTarget() const [member function] - cls.add_method('GetDownTarget', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-l4-protocol.h: int ns3::Ipv4L4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-l4-protocol.h: static ns3::TypeId ns3::Ipv4L4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus ns3::Ipv4L4Protocol::Receive(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr incomingInterface) [member function] - cls.add_method('Receive', - 'ns3::Ipv4L4Protocol::RxStatus', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-l4-protocol.h: void ns3::Ipv4L4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function] - cls.add_method('ReceiveIcmp', - 'void', - [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')], - is_virtual=True) - ## ipv4-l4-protocol.h: void ns3::Ipv4L4Protocol::SetDownTarget(ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDownTarget', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): - ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')]) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor] - cls.add_constructor([]) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] - cls.add_method('GetOutputTtl', - 'uint32_t', - [param('uint32_t', 'oif')], - is_const=True) - ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] - cls.add_method('GetParent', - 'uint32_t', - [], - is_const=True) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function] - cls.add_method('SetGroup', - 'void', - [param('ns3::Ipv4Address const', 'group')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv4Address const', 'origin')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] - cls.add_method('SetOutputTtl', - 'void', - [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function] - cls.add_method('SetParent', - 'void', - [param('uint32_t', 'iif')]) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable] - cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_TTL [variable] - cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) - return - -def register_Ns3Ipv4RawSocketFactory_methods(root_module, cls): - ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory::Ipv4RawSocketFactory() [constructor] - cls.add_constructor([]) - ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory::Ipv4RawSocketFactory(ns3::Ipv4RawSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RawSocketFactory const &', 'arg0')]) - ## ipv4-raw-socket-factory.h: static ns3::TypeId ns3::Ipv4RawSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3Ipv4RawSocketImpl_methods(root_module, cls): - ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl::Ipv4RawSocketImpl(ns3::Ipv4RawSocketImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RawSocketImpl const &', 'arg0')]) - ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl::Ipv4RawSocketImpl() [constructor] - cls.add_constructor([]) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Bind(ns3::Address const & address) [member function] - cls.add_method('Bind', - 'int', - [param('ns3::Address const &', 'address')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Bind() [member function] - cls.add_method('Bind', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Close() [member function] - cls.add_method('Close', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Connect(ns3::Address const & address) [member function] - cls.add_method('Connect', - 'int', - [param('ns3::Address const &', 'address')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::ForwardUp(ns3::Ptr p, ns3::Ipv4Header ipHeader, ns3::Ptr incomingInterface) [member function] - cls.add_method('ForwardUp', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')]) - ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::GetAllowBroadcast() const [member function] - cls.add_method('GetAllowBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Socket::SocketErrno ns3::Ipv4RawSocketImpl::GetErrno() const [member function] - cls.add_method('GetErrno', - 'ns3::Socket::SocketErrno', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: uint32_t ns3::Ipv4RawSocketImpl::GetRxAvailable() const [member function] - cls.add_method('GetRxAvailable', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::GetSockName(ns3::Address & address) const [member function] - cls.add_method('GetSockName', - 'int', - [param('ns3::Address &', 'address')], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Socket::SocketType ns3::Ipv4RawSocketImpl::GetSocketType() const [member function] - cls.add_method('GetSocketType', - 'ns3::Socket::SocketType', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: uint32_t ns3::Ipv4RawSocketImpl::GetTxAvailable() const [member function] - cls.add_method('GetTxAvailable', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: static ns3::TypeId ns3::Ipv4RawSocketImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Listen() [member function] - cls.add_method('Listen', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::Recv(uint32_t maxSize, uint32_t flags) [member function] - cls.add_method('Recv', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Send(ns3::Ptr p, uint32_t flags) [member function] - cls.add_method('Send', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::SendTo(ns3::Ptr p, uint32_t flags, ns3::Address const & toAddress) [member function] - cls.add_method('SendTo', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::SetAllowBroadcast(bool allowBroadcast) [member function] - cls.add_method('SetAllowBroadcast', - 'bool', - [param('bool', 'allowBroadcast')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::SetProtocol(uint16_t protocol) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint16_t', 'protocol')]) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::ShutdownRecv() [member function] - cls.add_method('ShutdownRecv', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::ShutdownSend() [member function] - cls.add_method('ShutdownSend', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Ipv4Route_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')]) - ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor] - cls.add_constructor([]) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ptr ns3::Ipv4Route::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv4Address', 'dest')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function] - cls.add_method('SetGateway', - 'void', - [param('ns3::Ipv4Address', 'gw')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv4Address', 'src')]) - return - -def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls): - ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor] - cls.add_constructor([]) - ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')]) - ## ipv4-routing-protocol.h: static ns3::TypeId ns3::Ipv4RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-routing-protocol.h: bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: ns3::Ptr ns3::Ipv4RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Ipv4StaticRouting_methods(root_module, cls): - ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting(ns3::Ipv4StaticRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4StaticRouting const &', 'arg0')]) - ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting() [constructor] - cls.add_constructor([]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetDefaultRoute() [member function] - cls.add_method('GetDefaultRoute', - 'ns3::Ipv4RoutingTableEntry', - []) - ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetMetric(uint32_t index) [member function] - cls.add_method('GetMetric', - 'uint32_t', - [param('uint32_t', 'index')]) - ## ipv4-static-routing.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRouting::GetMulticastRoute(uint32_t i) const [member function] - cls.add_method('GetMulticastRoute', - 'ns3::Ipv4MulticastRoutingTableEntry', - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNMulticastRoutes() const [member function] - cls.add_method('GetNMulticastRoutes', - 'uint32_t', - [], - is_const=True) - ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNRoutes() const [member function] - cls.add_method('GetNRoutes', - 'uint32_t', - [], - is_const=True) - ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetRoute(uint32_t i) const [member function] - cls.add_method('GetRoute', - 'ns3::Ipv4RoutingTableEntry', - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-static-routing.h: static ns3::TypeId ns3::Ipv4StaticRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function] - cls.add_method('RemoveMulticastRoute', - 'bool', - [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveMulticastRoute(uint32_t index) [member function] - cls.add_method('RemoveMulticastRoute', - 'void', - [param('uint32_t', 'index')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveRoute(uint32_t i) [member function] - cls.add_method('RemoveRoute', - 'void', - [param('uint32_t', 'i')]) - ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv4-static-routing.h: ns3::Ptr ns3::Ipv4StaticRouting::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultMulticastRoute(uint32_t outputInterface) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('uint32_t', 'outputInterface')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('SetDefaultRoute', - 'void', - [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv6_methods(root_module, cls): - ## ipv6.h: ns3::Ipv6::Ipv6(ns3::Ipv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')]) - ## ipv6.h: ns3::Ipv6::Ipv6() [constructor] - cls.add_constructor([]) - ## ipv6.h: bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: uint32_t ns3::Ipv6::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: ns3::Ipv6InterfaceAddress ns3::Ipv6::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6InterfaceAddress', - [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: int32_t ns3::Ipv6::GetInterfaceForAddress(ns3::Ipv6Address address) const [member function] - cls.add_method('GetInterfaceForAddress', - 'int32_t', - [param('ns3::Ipv6Address', 'address')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: int32_t ns3::Ipv6::GetInterfaceForDevice(ns3::Ptr device) const [member function] - cls.add_method('GetInterfaceForDevice', - 'int32_t', - [param('ns3::Ptr< ns3::NetDevice const >', 'device')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: int32_t ns3::Ipv6::GetInterfaceForPrefix(ns3::Ipv6Address address, ns3::Ipv6Prefix mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'mask')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: uint16_t ns3::Ipv6::GetMetric(uint32_t interface) const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: uint16_t ns3::Ipv6::GetMtu(uint32_t interface) const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: uint32_t ns3::Ipv6::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: uint32_t ns3::Ipv6::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: ns3::Ptr ns3::Ipv6::GetNetDevice(uint32_t interface) [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: ns3::Ptr ns3::Ipv6::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: static ns3::TypeId ns3::Ipv6::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6.h: bool ns3::Ipv6::IsForwarding(uint32_t interface) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: bool ns3::Ipv6::IsUp(uint32_t interface) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::RegisterExtensions() [member function] - cls.add_method('RegisterExtensions', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::RegisterOptions() [member function] - cls.add_method('RegisterOptions', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: bool ns3::Ipv6::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetDown(uint32_t interface) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetForwarding(uint32_t interface, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'interface'), param('bool', 'val')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetMetric(uint32_t interface, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'interface'), param('uint16_t', 'metric')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetUp(uint32_t interface) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: ns3::Ipv6::IF_ANY [variable] - cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True) - ## ipv6.h: bool ns3::Ipv6::GetIpForward() const [member function] - cls.add_method('GetIpForward', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ipv6ExtensionAHHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionAHHeader::Ipv6ExtensionAHHeader(ns3::Ipv6ExtensionAHHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionAHHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionAHHeader::Ipv6ExtensionAHHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionAHHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionAHHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionAHHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionAHHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionAHHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionAHHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6ExtensionDestinationHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionDestinationHeader::Ipv6ExtensionDestinationHeader(ns3::Ipv6ExtensionDestinationHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionDestinationHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionDestinationHeader::Ipv6ExtensionDestinationHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionDestinationHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionDestinationHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionDestinationHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionDestinationHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionDestinationHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionDestinationHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6ExtensionESPHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionESPHeader::Ipv6ExtensionESPHeader(ns3::Ipv6ExtensionESPHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionESPHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionESPHeader::Ipv6ExtensionESPHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionESPHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionESPHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionESPHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionESPHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionESPHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionESPHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6ExtensionFragmentHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionFragmentHeader::Ipv6ExtensionFragmentHeader(ns3::Ipv6ExtensionFragmentHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionFragmentHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionFragmentHeader::Ipv6ExtensionFragmentHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionFragmentHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionFragmentHeader::GetIdentification() const [member function] - cls.add_method('GetIdentification', - 'uint32_t', - [], - is_const=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionFragmentHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: bool ns3::Ipv6ExtensionFragmentHeader::GetMoreFragment() const [member function] - cls.add_method('GetMoreFragment', - 'bool', - [], - is_const=True) - ## ipv6-extension-header.h: uint16_t ns3::Ipv6ExtensionFragmentHeader::GetOffset() const [member function] - cls.add_method('GetOffset', - 'uint16_t', - [], - is_const=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionFragmentHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionFragmentHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::SetIdentification(uint32_t identification) [member function] - cls.add_method('SetIdentification', - 'void', - [param('uint32_t', 'identification')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::SetMoreFragment(bool moreFragment) [member function] - cls.add_method('SetMoreFragment', - 'void', - [param('bool', 'moreFragment')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::SetOffset(uint16_t offset) [member function] - cls.add_method('SetOffset', - 'void', - [param('uint16_t', 'offset')]) - return - -def register_Ns3Ipv6ExtensionLooseRoutingHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionLooseRoutingHeader::Ipv6ExtensionLooseRoutingHeader(ns3::Ipv6ExtensionLooseRoutingHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionLooseRoutingHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionLooseRoutingHeader::Ipv6ExtensionLooseRoutingHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionLooseRoutingHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionLooseRoutingHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: ns3::Ipv6Address ns3::Ipv6ExtensionLooseRoutingHeader::GetRouterAddress(uint8_t index) const [member function] - cls.add_method('GetRouterAddress', - 'ns3::Ipv6Address', - [param('uint8_t', 'index')], - is_const=True) - ## ipv6-extension-header.h: std::vector > ns3::Ipv6ExtensionLooseRoutingHeader::GetRoutersAddress() const [member function] - cls.add_method('GetRoutersAddress', - 'std::vector< ns3::Ipv6Address >', - [], - is_const=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionLooseRoutingHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionLooseRoutingHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::SetNumberAddress(uint8_t n) [member function] - cls.add_method('SetNumberAddress', - 'void', - [param('uint8_t', 'n')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::SetRouterAddress(uint8_t index, ns3::Ipv6Address addr) [member function] - cls.add_method('SetRouterAddress', - 'void', - [param('uint8_t', 'index'), param('ns3::Ipv6Address', 'addr')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::SetRoutersAddress(std::vector > routersAddress) [member function] - cls.add_method('SetRoutersAddress', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routersAddress')]) - return - -def register_Ns3Ipv6Interface_methods(root_module, cls): - ## ipv6-interface.h: ns3::Ipv6Interface::Ipv6Interface(ns3::Ipv6Interface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Interface const &', 'arg0')]) - ## ipv6-interface.h: ns3::Ipv6Interface::Ipv6Interface() [constructor] - cls.add_constructor([]) - ## ipv6-interface.h: bool ns3::Ipv6Interface::AddAddress(ns3::Ipv6InterfaceAddress iface) [member function] - cls.add_method('AddAddress', - 'bool', - [param('ns3::Ipv6InterfaceAddress', 'iface')]) - ## ipv6-interface.h: ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::GetAddress(uint32_t index) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6InterfaceAddress', - [param('uint32_t', 'index')], - is_const=True) - ## ipv6-interface.h: ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::GetAddressMatchingDestination(ns3::Ipv6Address dst) [member function] - cls.add_method('GetAddressMatchingDestination', - 'ns3::Ipv6InterfaceAddress', - [param('ns3::Ipv6Address', 'dst')]) - ## ipv6-interface.h: uint16_t ns3::Ipv6Interface::GetBaseReachableTime() const [member function] - cls.add_method('GetBaseReachableTime', - 'uint16_t', - [], - is_const=True) - ## ipv6-interface.h: uint8_t ns3::Ipv6Interface::GetCurHopLimit() const [member function] - cls.add_method('GetCurHopLimit', - 'uint8_t', - [], - is_const=True) - ## ipv6-interface.h: ns3::Ptr ns3::Ipv6Interface::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True, is_virtual=True) - ## ipv6-interface.h: ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::GetLinkLocalAddress() const [member function] - cls.add_method('GetLinkLocalAddress', - 'ns3::Ipv6InterfaceAddress', - [], - is_const=True) - ## ipv6-interface.h: uint16_t ns3::Ipv6Interface::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [], - is_const=True) - ## ipv6-interface.h: uint32_t ns3::Ipv6Interface::GetNAddresses() const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [], - is_const=True) - ## ipv6-interface.h: uint16_t ns3::Ipv6Interface::GetReachableTime() const [member function] - cls.add_method('GetReachableTime', - 'uint16_t', - [], - is_const=True) - ## ipv6-interface.h: uint16_t ns3::Ipv6Interface::GetRetransTimer() const [member function] - cls.add_method('GetRetransTimer', - 'uint16_t', - [], - is_const=True) - ## ipv6-interface.h: static ns3::TypeId ns3::Ipv6Interface::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-interface.h: bool ns3::Ipv6Interface::IsDown() const [member function] - cls.add_method('IsDown', - 'bool', - [], - is_const=True) - ## ipv6-interface.h: bool ns3::Ipv6Interface::IsForwarding() const [member function] - cls.add_method('IsForwarding', - 'bool', - [], - is_const=True) - ## ipv6-interface.h: bool ns3::Ipv6Interface::IsUp() const [member function] - cls.add_method('IsUp', - 'bool', - [], - is_const=True) - ## ipv6-interface.h: ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::RemoveAddress(uint32_t index) [member function] - cls.add_method('RemoveAddress', - 'ns3::Ipv6InterfaceAddress', - [param('uint32_t', 'index')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::Send(ns3::Ptr p, ns3::Ipv6Address dest) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address', 'dest')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetBaseReachableTime(uint16_t baseReachableTime) [member function] - cls.add_method('SetBaseReachableTime', - 'void', - [param('uint16_t', 'baseReachableTime')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetCurHopLimit(uint8_t curHopLimit) [member function] - cls.add_method('SetCurHopLimit', - 'void', - [param('uint8_t', 'curHopLimit')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetDown() [member function] - cls.add_method('SetDown', - 'void', - []) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetForwarding(bool forward) [member function] - cls.add_method('SetForwarding', - 'void', - [param('bool', 'forward')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetMetric(uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint16_t', 'metric')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetNsDadUid(ns3::Ipv6Address address, uint32_t uid) [member function] - cls.add_method('SetNsDadUid', - 'void', - [param('ns3::Ipv6Address', 'address'), param('uint32_t', 'uid')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetReachableTime(uint16_t reachableTime) [member function] - cls.add_method('SetReachableTime', - 'void', - [param('uint16_t', 'reachableTime')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetRetransTimer(uint16_t retransTimer) [member function] - cls.add_method('SetRetransTimer', - 'void', - [param('uint16_t', 'retransTimer')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetState(ns3::Ipv6Address address, ns3::Ipv6InterfaceAddress::State_e state) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6InterfaceAddress::State_e', 'state')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetUp() [member function] - cls.add_method('SetUp', - 'void', - []) - ## ipv6-interface.h: void ns3::Ipv6Interface::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv6L3Protocol_methods(root_module, cls): - ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv6-l3-protocol.h: static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor] - cls.add_constructor([]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')]) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv6L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::CreateRawSocket() [member function] - cls.add_method('CreateRawSocket', - 'ns3::Ptr< ns3::Socket >', - []) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr socket) [member function] - cls.add_method('DeleteRawSocket', - 'void', - [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::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')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Send(ns3::Ptr packet, ns3::Ipv6Address source, ns3::Ipv6Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::Ipv6Interface >', - [param('uint32_t', 'i')], - is_const=True) - ## ipv6-l3-protocol.h: uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetInterfaceForAddress', - 'int32_t', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] - cls.add_method('GetInterfaceForDevice', - 'int32_t', - [param('ns3::Ptr< ns3::NetDevice const >', 'device')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) - ## ipv6-l3-protocol.h: uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetIcmpv6() const [member function] - cls.add_method('GetIcmpv6', - 'ns3::Ptr< ns3::Icmpv6L4Protocol >', - [], - is_const=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::AddAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, uint8_t flags, uint32_t validTime, uint32_t preferredTime, ns3::Ipv6Address defaultRouter=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('AddAutoconfiguredAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('uint8_t', 'flags'), param('uint32_t', 'validTime'), param('uint32_t', 'preferredTime'), param('ns3::Ipv6Address', 'defaultRouter', default_value='ns3::Ipv6Address::GetZero( )')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function] - cls.add_method('RemoveAutoconfiguredAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::RegisterExtensions() [member function] - cls.add_method('RegisterExtensions', - 'void', - [], - is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::RegisterOptions() [member function] - cls.add_method('RegisterOptions', - 'void', - [], - is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::GetIpForward() const [member function] - cls.add_method('GetIpForward', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ipv6L4Protocol_methods(root_module, cls): - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::Ipv6L4Protocol() [constructor] - cls.add_constructor([]) - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::Ipv6L4Protocol(ns3::Ipv6L4Protocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6L4Protocol const &', 'arg0')]) - ## ipv6-l4-protocol.h: int ns3::Ipv6L4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6-l4-protocol.h: static ns3::TypeId ns3::Ipv6L4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::RxStatus_e ns3::Ipv6L4Protocol::Receive(ns3::Ptr p, ns3::Ipv6Address const & src, ns3::Ipv6Address const & dst, ns3::Ptr incomingInterface) [member function] - cls.add_method('Receive', - 'ns3::Ipv6L4Protocol::RxStatus_e', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address const &', 'src'), param('ns3::Ipv6Address const &', 'dst'), param('ns3::Ptr< ns3::Ipv6Interface >', 'incomingInterface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-l4-protocol.h: void ns3::Ipv6L4Protocol::ReceiveIcmp(ns3::Ipv6Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv6Address payloadSource, ns3::Ipv6Address payloadDestination, uint8_t const * payload) [member function] - cls.add_method('ReceiveIcmp', - 'void', - [param('ns3::Ipv6Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv6Address', 'payloadSource'), param('ns3::Ipv6Address', 'payloadDestination'), param('uint8_t const *', 'payload')], - is_virtual=True) - return - -def register_Ns3Ipv6MulticastRoute_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute(ns3::Ipv6MulticastRoute const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6MulticastRoute const &', 'arg0')]) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute() [constructor] - cls.add_constructor([]) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] - cls.add_method('GetOutputTtl', - 'uint32_t', - [param('uint32_t', 'oif')], - is_const=True) - ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetParent() const [member function] - cls.add_method('GetParent', - 'uint32_t', - [], - is_const=True) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetGroup(ns3::Ipv6Address const group) [member function] - cls.add_method('SetGroup', - 'void', - [param('ns3::Ipv6Address const', 'group')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOrigin(ns3::Ipv6Address const origin) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv6Address const', 'origin')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] - cls.add_method('SetOutputTtl', - 'void', - [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetParent(uint32_t iif) [member function] - cls.add_method('SetParent', - 'void', - [param('uint32_t', 'iif')]) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_INTERFACES [variable] - cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_TTL [variable] - cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) - return - -def register_Ns3Ipv6RawSocketFactory_methods(root_module, cls): - ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory::Ipv6RawSocketFactory() [constructor] - cls.add_constructor([]) - ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory::Ipv6RawSocketFactory(ns3::Ipv6RawSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6RawSocketFactory const &', 'arg0')]) - ## ipv6-raw-socket-factory.h: static ns3::TypeId ns3::Ipv6RawSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3Ipv6Route_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route(ns3::Ipv6Route const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Route const &', 'arg0')]) - ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route() [constructor] - cls.add_constructor([]) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ptr ns3::Ipv6Route::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: void ns3::Ipv6Route::SetDestination(ns3::Ipv6Address dest) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv6Address', 'dest')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetGateway(ns3::Ipv6Address gw) [member function] - cls.add_method('SetGateway', - 'void', - [param('ns3::Ipv6Address', 'gw')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetSource(ns3::Ipv6Address src) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv6Address', 'src')]) - return - -def register_Ns3Ipv6RoutingProtocol_methods(root_module, cls): - ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol::Ipv6RoutingProtocol() [constructor] - cls.add_constructor([]) - ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol::Ipv6RoutingProtocol(ns3::Ipv6RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6RoutingProtocol const &', 'arg0')]) - ## ipv6-routing-protocol.h: static ns3::TypeId ns3::Ipv6RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyAddRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyAddRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyRemoveRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyRemoveRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: bool ns3::Ipv6RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv6Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,const ns3::Ipv6Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: ns3::Ptr ns3::Ipv6RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv6Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::SetIpv6(ns3::Ptr ipv6) [member function] - cls.add_method('SetIpv6', - 'void', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Ipv6StaticRouting_methods(root_module, cls): - ## ipv6-static-routing.h: ns3::Ipv6StaticRouting::Ipv6StaticRouting(ns3::Ipv6StaticRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6StaticRouting const &', 'arg0')]) - ## ipv6-static-routing.h: ns3::Ipv6StaticRouting::Ipv6StaticRouting() [constructor] - cls.add_constructor([]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddHostRouteTo(ns3::Ipv6Address dest, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address(((const char*)"::")), uint32_t metric=0) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv6Address', 'dest'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address(((const char*)"::"))'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddHostRouteTo(ns3::Ipv6Address dest, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv6Address', 'dest'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddMulticastRoute(ns3::Ipv6Address origin, ns3::Ipv6Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ipv6Address', 'origin'), param('ns3::Ipv6Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, ns3::Ipv6Address nextHop, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: ns3::Ipv6RoutingTableEntry ns3::Ipv6StaticRouting::GetDefaultRoute() [member function] - cls.add_method('GetDefaultRoute', - 'ns3::Ipv6RoutingTableEntry', - []) - ## ipv6-static-routing.h: uint32_t ns3::Ipv6StaticRouting::GetMetric(uint32_t index) [member function] - cls.add_method('GetMetric', - 'uint32_t', - [param('uint32_t', 'index')]) - ## ipv6-static-routing.h: ns3::Ipv6MulticastRoutingTableEntry ns3::Ipv6StaticRouting::GetMulticastRoute(uint32_t i) const [member function] - cls.add_method('GetMulticastRoute', - 'ns3::Ipv6MulticastRoutingTableEntry', - [param('uint32_t', 'i')], - is_const=True) - ## ipv6-static-routing.h: uint32_t ns3::Ipv6StaticRouting::GetNMulticastRoutes() const [member function] - cls.add_method('GetNMulticastRoutes', - 'uint32_t', - [], - is_const=True) - ## ipv6-static-routing.h: uint32_t ns3::Ipv6StaticRouting::GetNRoutes() [member function] - cls.add_method('GetNRoutes', - 'uint32_t', - []) - ## ipv6-static-routing.h: ns3::Ipv6RoutingTableEntry ns3::Ipv6StaticRouting::GetRoute(uint32_t i) [member function] - cls.add_method('GetRoute', - 'ns3::Ipv6RoutingTableEntry', - [param('uint32_t', 'i')]) - ## ipv6-static-routing.h: static ns3::TypeId ns3::Ipv6StaticRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-static-routing.h: bool ns3::Ipv6StaticRouting::HasNetworkDest(ns3::Ipv6Address dest, uint32_t interfaceIndex) [member function] - cls.add_method('HasNetworkDest', - 'bool', - [param('ns3::Ipv6Address', 'dest'), param('uint32_t', 'interfaceIndex')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyAddRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyAddRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyRemoveRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyRemoveRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_virtual=True) - ## ipv6-static-routing.h: bool ns3::Ipv6StaticRouting::RemoveMulticastRoute(ns3::Ipv6Address origin, ns3::Ipv6Address group, uint32_t inputInterface) [member function] - cls.add_method('RemoveMulticastRoute', - 'bool', - [param('ns3::Ipv6Address', 'origin'), param('ns3::Ipv6Address', 'group'), param('uint32_t', 'inputInterface')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::RemoveMulticastRoute(uint32_t i) [member function] - cls.add_method('RemoveMulticastRoute', - 'void', - [param('uint32_t', 'i')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::RemoveRoute(uint32_t i) [member function] - cls.add_method('RemoveRoute', - 'void', - [param('uint32_t', 'i')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::RemoveRoute(ns3::Ipv6Address network, ns3::Ipv6Prefix prefix, uint32_t ifIndex, ns3::Ipv6Address prefixToUse) [member function] - cls.add_method('RemoveRoute', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix'), param('uint32_t', 'ifIndex'), param('ns3::Ipv6Address', 'prefixToUse')]) - ## ipv6-static-routing.h: bool ns3::Ipv6StaticRouting::RouteInput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv6Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,const ns3::Ipv6Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv6-static-routing.h: ns3::Ptr ns3::Ipv6StaticRouting::RouteOutput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv6Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::SetDefaultMulticastRoute(uint32_t outputInterface) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('uint32_t', 'outputInterface')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::SetDefaultRoute(ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address(((const char*)"::")), uint32_t metric=0) [member function] - cls.add_method('SetDefaultRoute', - 'void', - [param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address(((const char*)"::"))'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::SetIpv6(ns3::Ptr ipv6) [member function] - cls.add_method('SetIpv6', - 'void', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3NdiscCache_methods(root_module, cls): - ## ndisc-cache.h: ns3::NdiscCache::NdiscCache() [constructor] - cls.add_constructor([]) - ## ndisc-cache.h: ns3::NdiscCache::Entry * ns3::NdiscCache::Add(ns3::Ipv6Address to) [member function] - cls.add_method('Add', - 'ns3::NdiscCache::Entry *', - [param('ns3::Ipv6Address', 'to')]) - ## ndisc-cache.h: void ns3::NdiscCache::Flush() [member function] - cls.add_method('Flush', - 'void', - []) - ## ndisc-cache.h: ns3::Ptr ns3::NdiscCache::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ndisc-cache.h: ns3::Ptr ns3::NdiscCache::GetInterface() const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::Ipv6Interface >', - [], - is_const=True) - ## ndisc-cache.h: static ns3::TypeId ns3::NdiscCache::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ndisc-cache.h: uint32_t ns3::NdiscCache::GetUnresQlen() [member function] - cls.add_method('GetUnresQlen', - 'uint32_t', - []) - ## ndisc-cache.h: ns3::NdiscCache::Entry * ns3::NdiscCache::Lookup(ns3::Ipv6Address dst) [member function] - cls.add_method('Lookup', - 'ns3::NdiscCache::Entry *', - [param('ns3::Ipv6Address', 'dst')]) - ## ndisc-cache.h: void ns3::NdiscCache::Remove(ns3::NdiscCache::Entry * entry) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::NdiscCache::Entry *', 'entry')]) - ## ndisc-cache.h: void ns3::NdiscCache::SetDevice(ns3::Ptr device, ns3::Ptr interface) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')]) - ## ndisc-cache.h: void ns3::NdiscCache::SetUnresQlen(uint32_t unresQlen) [member function] - cls.add_method('SetUnresQlen', - 'void', - [param('uint32_t', 'unresQlen')]) - ## ndisc-cache.h: ns3::NdiscCache::DEFAULT_UNRES_QLEN [variable] - cls.add_static_attribute('DEFAULT_UNRES_QLEN', 'uint32_t const', is_const=True) - ## ndisc-cache.h: void ns3::NdiscCache::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3NdiscCacheEntry_methods(root_module, cls): - ## ndisc-cache.h: ns3::NdiscCache::Entry::Entry(ns3::NdiscCache::Entry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NdiscCache::Entry const &', 'arg0')]) - ## ndisc-cache.h: ns3::NdiscCache::Entry::Entry(ns3::NdiscCache * nd) [constructor] - cls.add_constructor([param('ns3::NdiscCache *', 'nd')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::AddWaitingPacket(ns3::Ptr p) [member function] - cls.add_method('AddWaitingPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::ClearWaitingPacket() [member function] - cls.add_method('ClearWaitingPacket', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionDelayTimeout() [member function] - cls.add_method('FunctionDelayTimeout', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionProbeTimeout() [member function] - cls.add_method('FunctionProbeTimeout', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionReachableTimeout() [member function] - cls.add_method('FunctionReachableTimeout', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionRetransmitTimeout() [member function] - cls.add_method('FunctionRetransmitTimeout', - 'void', - []) - ## ndisc-cache.h: ns3::Time ns3::NdiscCache::Entry::GetLastReachabilityConfirmation() const [member function] - cls.add_method('GetLastReachabilityConfirmation', - 'ns3::Time', - [], - is_const=True) - ## ndisc-cache.h: ns3::Address ns3::NdiscCache::Entry::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Address', - [], - is_const=True) - ## ndisc-cache.h: uint8_t ns3::NdiscCache::Entry::GetNSRetransmit() const [member function] - cls.add_method('GetNSRetransmit', - 'uint8_t', - [], - is_const=True) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::IncNSRetransmit() [member function] - cls.add_method('IncNSRetransmit', - 'void', - []) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsDelay() const [member function] - cls.add_method('IsDelay', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsIncomplete() const [member function] - cls.add_method('IsIncomplete', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsProbe() const [member function] - cls.add_method('IsProbe', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsReachable() const [member function] - cls.add_method('IsReachable', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsRouter() const [member function] - cls.add_method('IsRouter', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsStale() const [member function] - cls.add_method('IsStale', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkDelay() [member function] - cls.add_method('MarkDelay', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkIncomplete(ns3::Ptr p) [member function] - cls.add_method('MarkIncomplete', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkProbe() [member function] - cls.add_method('MarkProbe', - 'void', - []) - ## ndisc-cache.h: std::list, std::allocator > > ns3::NdiscCache::Entry::MarkReachable(ns3::Address mac) [member function] - cls.add_method('MarkReachable', - 'std::list< ns3::Ptr< ns3::Packet > >', - [param('ns3::Address', 'mac')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkReachable() [member function] - cls.add_method('MarkReachable', - 'void', - []) - ## ndisc-cache.h: std::list, std::allocator > > ns3::NdiscCache::Entry::MarkStale(ns3::Address mac) [member function] - cls.add_method('MarkStale', - 'std::list< ns3::Ptr< ns3::Packet > >', - [param('ns3::Address', 'mac')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkStale() [member function] - cls.add_method('MarkStale', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::ResetNSRetransmit() [member function] - cls.add_method('ResetNSRetransmit', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::SetIpv6Address(ns3::Ipv6Address ipv6Address) [member function] - cls.add_method('SetIpv6Address', - 'void', - [param('ns3::Ipv6Address', 'ipv6Address')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::SetMacAddress(ns3::Address mac) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Address', 'mac')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::SetRouter(bool router) [member function] - cls.add_method('SetRouter', - 'void', - [param('bool', 'router')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartDelayTimer() [member function] - cls.add_method('StartDelayTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartProbeTimer() [member function] - cls.add_method('StartProbeTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartReachableTimer() [member function] - cls.add_method('StartReachableTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartRetransmitTimer() [member function] - cls.add_method('StartRetransmitTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopDelayTimer() [member function] - cls.add_method('StopDelayTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopProbeTimer() [member function] - cls.add_method('StopProbeTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopReachableTimer() [member function] - cls.add_method('StopReachableTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopRetransmitTimer() [member function] - cls.add_method('StopRetransmitTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::UpdateLastReachabilityconfirmation() [member function] - cls.add_method('UpdateLastReachabilityconfirmation', - 'void', - []) - return - -def register_Ns3TcpL4Protocol_methods(root_module, cls): - ## tcp-l4-protocol.h: ns3::TcpL4Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True) - ## tcp-l4-protocol.h: static ns3::TypeId ns3::TcpL4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tcp-l4-protocol.h: ns3::TcpL4Protocol::TcpL4Protocol() [constructor] - cls.add_constructor([]) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## tcp-l4-protocol.h: int ns3::TcpL4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_const=True, is_virtual=True) - ## tcp-l4-protocol.h: ns3::Ptr ns3::TcpL4Protocol::CreateSocket() [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - []) - ## tcp-l4-protocol.h: ns3::Ptr ns3::TcpL4Protocol::CreateSocket(ns3::TypeId socketTypeId) [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - [param('ns3::TypeId', 'socketTypeId')]) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - []) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate(ns3::Ipv4Address address) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'address')]) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate(uint16_t port) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('uint16_t', 'port')]) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate(ns3::Ipv4Address address, uint16_t port) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'address'), param('uint16_t', 'port')]) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate(ns3::Ipv4Address localAddress, uint16_t localPort, ns3::Ipv4Address peerAddress, uint16_t peerPort) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'localAddress'), param('uint16_t', 'localPort'), param('ns3::Ipv4Address', 'peerAddress'), param('uint16_t', 'peerPort')]) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::DeAllocate(ns3::Ipv4EndPoint * endPoint) [member function] - cls.add_method('DeAllocate', - 'void', - [param('ns3::Ipv4EndPoint *', 'endPoint')]) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address saddr, ns3::Ipv4Address daddr, uint16_t sport, uint16_t dport, ns3::Ptr oif=0) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'saddr'), param('ns3::Ipv4Address', 'daddr'), param('uint16_t', 'sport'), param('uint16_t', 'dport'), param('ns3::Ptr< ns3::NetDevice >', 'oif', default_value='0')]) - ## tcp-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus ns3::TcpL4Protocol::Receive(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr incomingInterface) [member function] - cls.add_method('Receive', - 'ns3::Ipv4L4Protocol::RxStatus', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], - is_virtual=True) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::SetDownTarget(ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDownTarget', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## tcp-l4-protocol.h: ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::TcpL4Protocol::GetDownTarget() const [member function] - cls.add_method('GetDownTarget', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True, is_virtual=True) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UdpL4Protocol_methods(root_module, cls): - ## udp-l4-protocol.h: ns3::UdpL4Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True) - ## udp-l4-protocol.h: static ns3::TypeId ns3::UdpL4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-l4-protocol.h: ns3::UdpL4Protocol::UdpL4Protocol() [constructor] - cls.add_constructor([]) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## udp-l4-protocol.h: int ns3::UdpL4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_const=True, is_virtual=True) - ## udp-l4-protocol.h: ns3::Ptr ns3::UdpL4Protocol::CreateSocket() [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - []) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - []) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate(ns3::Ipv4Address address) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'address')]) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate(uint16_t port) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('uint16_t', 'port')]) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate(ns3::Ipv4Address address, uint16_t port) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'address'), param('uint16_t', 'port')]) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate(ns3::Ipv4Address localAddress, uint16_t localPort, ns3::Ipv4Address peerAddress, uint16_t peerPort) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'localAddress'), param('uint16_t', 'localPort'), param('ns3::Ipv4Address', 'peerAddress'), param('uint16_t', 'peerPort')]) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::DeAllocate(ns3::Ipv4EndPoint * endPoint) [member function] - cls.add_method('DeAllocate', - 'void', - [param('ns3::Ipv4EndPoint *', 'endPoint')]) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address saddr, ns3::Ipv4Address daddr, uint16_t sport, uint16_t dport) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'saddr'), param('ns3::Ipv4Address', 'daddr'), param('uint16_t', 'sport'), param('uint16_t', 'dport')]) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address saddr, ns3::Ipv4Address daddr, uint16_t sport, uint16_t dport, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'saddr'), param('ns3::Ipv4Address', 'daddr'), param('uint16_t', 'sport'), param('uint16_t', 'dport'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## udp-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus ns3::UdpL4Protocol::Receive(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr interface) [member function] - cls.add_method('Receive', - 'ns3::Ipv4L4Protocol::RxStatus', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'interface')], - is_virtual=True) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function] - cls.add_method('ReceiveIcmp', - 'void', - [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')], - is_virtual=True) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::SetDownTarget(ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDownTarget', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## udp-l4-protocol.h: ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::UdpL4Protocol::GetDownTarget() const [member function] - cls.add_method('GetDownTarget', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True, is_virtual=True) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Icmpv4L4Protocol_methods(root_module, cls): - ## icmpv4-l4-protocol.h: ns3::Icmpv4L4Protocol::Icmpv4L4Protocol(ns3::Icmpv4L4Protocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4L4Protocol const &', 'arg0')]) - ## icmpv4-l4-protocol.h: ns3::Icmpv4L4Protocol::Icmpv4L4Protocol() [constructor] - cls.add_constructor([]) - ## icmpv4-l4-protocol.h: ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::Icmpv4L4Protocol::GetDownTarget() const [member function] - cls.add_method('GetDownTarget', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True, is_virtual=True) - ## icmpv4-l4-protocol.h: int ns3::Icmpv4L4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_const=True, is_virtual=True) - ## icmpv4-l4-protocol.h: static uint16_t ns3::Icmpv4L4Protocol::GetStaticProtocolNumber() [member function] - cls.add_method('GetStaticProtocolNumber', - 'uint16_t', - [], - is_static=True) - ## icmpv4-l4-protocol.h: static ns3::TypeId ns3::Icmpv4L4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus ns3::Icmpv4L4Protocol::Receive(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr incomingInterface) [member function] - cls.add_method('Receive', - 'ns3::Ipv4L4Protocol::RxStatus', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], - is_virtual=True) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SendDestUnreachFragNeeded(ns3::Ipv4Header header, ns3::Ptr orgData, uint16_t nextHopMtu) [member function] - cls.add_method('SendDestUnreachFragNeeded', - 'void', - [param('ns3::Ipv4Header', 'header'), param('ns3::Ptr< ns3::Packet const >', 'orgData'), param('uint16_t', 'nextHopMtu')]) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SendDestUnreachPort(ns3::Ipv4Header header, ns3::Ptr orgData) [member function] - cls.add_method('SendDestUnreachPort', - 'void', - [param('ns3::Ipv4Header', 'header'), param('ns3::Ptr< ns3::Packet const >', 'orgData')]) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SendTimeExceededTtl(ns3::Ipv4Header header, ns3::Ptr orgData) [member function] - cls.add_method('SendTimeExceededTtl', - 'void', - [param('ns3::Ipv4Header', 'header'), param('ns3::Ptr< ns3::Packet const >', 'orgData')]) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SetDownTarget(ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDownTarget', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## icmpv4-l4-protocol.h: ns3::Icmpv4L4Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Icmpv6L4Protocol_methods(root_module, cls): - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::Icmpv6L4Protocol(ns3::Icmpv6L4Protocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6L4Protocol const &', 'arg0')]) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::Icmpv6L4Protocol() [constructor] - cls.add_constructor([]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::CreateCache(ns3::Ptr device, ns3::Ptr interface) [member function] - cls.add_method('CreateCache', - 'ns3::Ptr< ns3::NdiscCache >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::DoDAD(ns3::Ipv6Address target, ns3::Ptr interface) [member function] - cls.add_method('DoDAD', - 'void', - [param('ns3::Ipv6Address', 'target'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeEchoRequest(ns3::Ipv6Address src, ns3::Ipv6Address dst, uint16_t id, uint16_t seq, ns3::Ptr data) [member function] - cls.add_method('ForgeEchoRequest', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint16_t', 'id'), param('uint16_t', 'seq'), param('ns3::Ptr< ns3::Packet >', 'data')]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeNA(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address * hardwareAddress, uint8_t flags) [member function] - cls.add_method('ForgeNA', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address *', 'hardwareAddress'), param('uint8_t', 'flags')]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeNS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Ipv6Address target, ns3::Address hardwareAddress) [member function] - cls.add_method('ForgeNS', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Address', 'target'), param('ns3::Address', 'hardwareAddress')]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeRS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address hardwareAddress) [member function] - cls.add_method('ForgeRS', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address', 'hardwareAddress')]) - ## icmpv6-l4-protocol.h: static void ns3::Icmpv6L4Protocol::FunctionDadTimeout(ns3::Ptr icmpv6, ns3::Ipv6Interface * interface, ns3::Ipv6Address addr) [member function] - cls.add_method('FunctionDadTimeout', - 'void', - [param('ns3::Ptr< ns3::Icmpv6L4Protocol >', 'icmpv6'), param('ns3::Ipv6Interface *', 'interface'), param('ns3::Ipv6Address', 'addr')], - is_static=True) - ## icmpv6-l4-protocol.h: int ns3::Icmpv6L4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_const=True, is_virtual=True) - ## icmpv6-l4-protocol.h: static uint16_t ns3::Icmpv6L4Protocol::GetStaticProtocolNumber() [member function] - cls.add_method('GetStaticProtocolNumber', - 'uint16_t', - [], - is_static=True) - ## icmpv6-l4-protocol.h: static ns3::TypeId ns3::Icmpv6L4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-l4-protocol.h: int ns3::Icmpv6L4Protocol::GetVersion() const [member function] - cls.add_method('GetVersion', - 'int', - [], - is_const=True, is_virtual=True) - ## icmpv6-l4-protocol.h: bool ns3::Icmpv6L4Protocol::IsAlwaysDad() const [member function] - cls.add_method('IsAlwaysDad', - 'bool', - [], - is_const=True) - ## icmpv6-l4-protocol.h: bool ns3::Icmpv6L4Protocol::Lookup(ns3::Ipv6Address dst, ns3::Ptr device, ns3::Ptr cache, ns3::Address * hardwareDestination) [member function] - cls.add_method('Lookup', - 'bool', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::NdiscCache >', 'cache'), param('ns3::Address *', 'hardwareDestination')]) - ## icmpv6-l4-protocol.h: bool ns3::Icmpv6L4Protocol::Lookup(ns3::Ptr p, ns3::Ipv6Address dst, ns3::Ptr device, ns3::Ptr cache, ns3::Address * hardwareDestination) [member function] - cls.add_method('Lookup', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::NdiscCache >', 'cache'), param('ns3::Address *', 'hardwareDestination')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - is_virtual=True) - ## icmpv6-l4-protocol.h: ns3::Ipv6L4Protocol::RxStatus_e ns3::Icmpv6L4Protocol::Receive(ns3::Ptr p, ns3::Ipv6Address const & src, ns3::Ipv6Address const & dst, ns3::Ptr interface) [member function] - cls.add_method('Receive', - 'ns3::Ipv6L4Protocol::RxStatus_e', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address const &', 'src'), param('ns3::Ipv6Address const &', 'dst'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')], - is_virtual=True) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendEchoReply(ns3::Ipv6Address src, ns3::Ipv6Address dst, uint16_t id, uint16_t seq, ns3::Ptr data) [member function] - cls.add_method('SendEchoReply', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint16_t', 'id'), param('uint16_t', 'seq'), param('ns3::Ptr< ns3::Packet >', 'data')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorDestinationUnreachable(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint8_t code) [member function] - cls.add_method('SendErrorDestinationUnreachable', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'code')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorParameterError(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint8_t code, uint32_t ptr) [member function] - cls.add_method('SendErrorParameterError', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'code'), param('uint32_t', 'ptr')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorTimeExceeded(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint8_t code) [member function] - cls.add_method('SendErrorTimeExceeded', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'code')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorTooBig(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint32_t mtu) [member function] - cls.add_method('SendErrorTooBig', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint32_t', 'mtu')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendMessage(ns3::Ptr packet, ns3::Ipv6Address src, ns3::Ipv6Address dst, uint8_t ttl) [member function] - cls.add_method('SendMessage', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'ttl')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendMessage(ns3::Ptr packet, ns3::Ipv6Address dst, ns3::Icmpv6Header & icmpv6Hdr, uint8_t ttl) [member function] - cls.add_method('SendMessage', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'dst'), param('ns3::Icmpv6Header &', 'icmpv6Hdr'), param('uint8_t', 'ttl')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendNA(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address * hardwareAddress, uint8_t flags) [member function] - cls.add_method('SendNA', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address *', 'hardwareAddress'), param('uint8_t', 'flags')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendNS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Ipv6Address target, ns3::Address hardwareAddress) [member function] - cls.add_method('SendNS', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Address', 'target'), param('ns3::Address', 'hardwareAddress')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendRS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address hardwareAddress) [member function] - cls.add_method('SendRS', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address', 'hardwareAddress')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendRedirection(ns3::Ptr redirectedPacket, ns3::Ipv6Address dst, ns3::Ipv6Address redirTarget, ns3::Ipv6Address redirDestination, ns3::Address redirHardwareTarget) [member function] - cls.add_method('SendRedirection', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'redirectedPacket'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Address', 'redirTarget'), param('ns3::Ipv6Address', 'redirDestination'), param('ns3::Address', 'redirHardwareTarget')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::DELAY_FIRST_PROBE_TIME [variable] - cls.add_static_attribute('DELAY_FIRST_PROBE_TIME', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_ANYCAST_DELAY_TIME [variable] - cls.add_static_attribute('MAX_ANYCAST_DELAY_TIME', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_FINAL_RTR_ADVERTISEMENTS [variable] - cls.add_static_attribute('MAX_FINAL_RTR_ADVERTISEMENTS', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_INITIAL_RTR_ADVERTISEMENTS [variable] - cls.add_static_attribute('MAX_INITIAL_RTR_ADVERTISEMENTS', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_INITIAL_RTR_ADVERT_INTERVAL [variable] - cls.add_static_attribute('MAX_INITIAL_RTR_ADVERT_INTERVAL', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_MULTICAST_SOLICIT [variable] - cls.add_static_attribute('MAX_MULTICAST_SOLICIT', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_NEIGHBOR_ADVERTISEMENT [variable] - cls.add_static_attribute('MAX_NEIGHBOR_ADVERTISEMENT', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RANDOM_FACTOR [variable] - cls.add_static_attribute('MAX_RANDOM_FACTOR', 'double const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RA_DELAY_TIME [variable] - cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RTR_SOLICITATIONS [variable] - cls.add_static_attribute('MAX_RTR_SOLICITATIONS', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RTR_SOLICITATION_DELAY [variable] - cls.add_static_attribute('MAX_RTR_SOLICITATION_DELAY', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_UNICAST_SOLICIT [variable] - cls.add_static_attribute('MAX_UNICAST_SOLICIT', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MIN_DELAY_BETWEEN_RAS [variable] - cls.add_static_attribute('MIN_DELAY_BETWEEN_RAS', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MIN_RANDOM_FACTOR [variable] - cls.add_static_attribute('MIN_RANDOM_FACTOR', 'double const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::REACHABLE_TIME [variable] - cls.add_static_attribute('REACHABLE_TIME', 'uint32_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::RETRANS_TIMER [variable] - cls.add_static_attribute('RETRANS_TIMER', 'uint32_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::RTR_SOLICITATION_INTERVAL [variable] - cls.add_static_attribute('RTR_SOLICITATION_INTERVAL', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv4GlobalRouting_methods(root_module, cls): - ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting(ns3::Ipv4GlobalRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4GlobalRouting const &', 'arg0')]) - ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting() [constructor] - cls.add_constructor([]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddASExternalRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('AddASExternalRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: uint32_t ns3::Ipv4GlobalRouting::GetNRoutes() const [member function] - cls.add_method('GetNRoutes', - 'uint32_t', - [], - is_const=True) - ## ipv4-global-routing.h: ns3::Ipv4RoutingTableEntry * ns3::Ipv4GlobalRouting::GetRoute(uint32_t i) const [member function] - cls.add_method('GetRoute', - retval('ns3::Ipv4RoutingTableEntry *', caller_owns_return=False), - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-global-routing.h: static ns3::TypeId ns3::Ipv4GlobalRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::RemoveRoute(uint32_t i) [member function] - cls.add_method('RemoveRoute', - 'void', - [param('uint32_t', 'i')]) - ## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv4-global-routing.h: ns3::Ptr ns3::Ipv4GlobalRouting::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv4ListRouting_methods(root_module, cls): - ## ipv4-list-routing.h: ns3::Ipv4ListRouting::Ipv4ListRouting(ns3::Ipv4ListRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4ListRouting const &', 'arg0')]) - ## ipv4-list-routing.h: ns3::Ipv4ListRouting::Ipv4ListRouting() [constructor] - cls.add_constructor([]) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::AddRoutingProtocol(ns3::Ptr routingProtocol, int16_t priority) [member function] - cls.add_method('AddRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], - is_virtual=True) - ## ipv4-list-routing.h: uint32_t ns3::Ipv4ListRouting::GetNRoutingProtocols() const [member function] - cls.add_method('GetNRoutingProtocols', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-list-routing.h: ns3::Ptr ns3::Ipv4ListRouting::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('uint32_t', 'index'), param('int16_t &', 'priority', direction=2)], - is_const=True, is_virtual=True) - ## ipv4-list-routing.h: static ns3::TypeId ns3::Ipv4ListRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## ipv4-list-routing.h: bool ns3::Ipv4ListRouting::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv4-list-routing.h: ns3::Ptr ns3::Ipv4ListRouting::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv6ListRouting_methods(root_module, cls): - ## ipv6-list-routing.h: ns3::Ipv6ListRouting::Ipv6ListRouting(ns3::Ipv6ListRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ListRouting const &', 'arg0')]) - ## ipv6-list-routing.h: ns3::Ipv6ListRouting::Ipv6ListRouting() [constructor] - cls.add_constructor([]) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::AddRoutingProtocol(ns3::Ptr routingProtocol, int16_t priority) [member function] - cls.add_method('AddRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], - is_virtual=True) - ## ipv6-list-routing.h: uint32_t ns3::Ipv6ListRouting::GetNRoutingProtocols() const [member function] - cls.add_method('GetNRoutingProtocols', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-list-routing.h: ns3::Ptr ns3::Ipv6ListRouting::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [param('uint32_t', 'index'), param('int16_t &', 'priority')], - is_const=True, is_virtual=True) - ## ipv6-list-routing.h: static ns3::TypeId ns3::Ipv6ListRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyAddRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyAddRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyRemoveRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyRemoveRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_virtual=True) - ## ipv6-list-routing.h: bool ns3::Ipv6ListRouting::RouteInput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv6Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,const ns3::Ipv6Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv6-list-routing.h: ns3::Ptr ns3::Ipv6ListRouting::RouteOutput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv6Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::SetIpv6(ns3::Ptr ipv6) [member function] - cls.add_method('SetIpv6', - 'void', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3LoopbackNetDevice_methods(root_module, cls): - ## loopback-net-device.h: ns3::LoopbackNetDevice::LoopbackNetDevice(ns3::LoopbackNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LoopbackNetDevice const &', 'arg0')]) - ## loopback-net-device.h: ns3::LoopbackNetDevice::LoopbackNetDevice() [constructor] - cls.add_constructor([]) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::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')], - is_virtual=True) - ## loopback-net-device.h: ns3::Address ns3::LoopbackNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Address ns3::LoopbackNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Ptr ns3::LoopbackNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: uint32_t ns3::LoopbackNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: uint16_t ns3::LoopbackNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Address ns3::LoopbackNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Address ns3::LoopbackNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Ptr ns3::LoopbackNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: static ns3::TypeId ns3::LoopbackNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_lte.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_lte.py deleted file mode 100644 index acc469616..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_lte.py +++ /dev/null @@ -1,1990 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## lte-helper.h: ns3::LteHelper [class] - module.add_class('LteHelper') - ## lte-helper.h: ns3::LteHelper::NetDeviceType [enumeration] - module.add_enum('NetDeviceType', ['DEVICE_TYPE_USER_EQUIPMENT', 'DEVICE_TYPE_ENODEB'], outer_class=root_module['ns3::LteHelper']) - ## lte-spectrum-value-helper.h: ns3::LteSpectrumValueHelper [class] - module.add_class('LteSpectrumValueHelper') - ## lte-mac-header.h: ns3::LteMacHeader [class] - module.add_class('LteMacHeader', parent=root_module['ns3::Header']) - ## packet-scheduler.h: ns3::PacketScheduler [class] - module.add_class('PacketScheduler', parent=root_module['ns3::Object']) - ## radio-bearer-instance.h: ns3::RadioBearerInstance [class] - module.add_class('RadioBearerInstance', parent=root_module['ns3::Object']) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::BearerDirection [enumeration] - module.add_enum('BearerDirection', ['DIRECTION_TYPE_UL', 'DIRECTION_TYPE_DL'], outer_class=root_module['ns3::RadioBearerInstance']) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::BearerType [enumeration] - module.add_enum('BearerType', ['BEARER_TYPE_SRB1', 'BEARER_TYPE_SRB2', 'BEARER_TYPE_DRB'], outer_class=root_module['ns3::RadioBearerInstance']) - ## rlc-entity.h: ns3::RlcEntity [class] - module.add_class('RlcEntity', parent=root_module['ns3::Object']) - ## rrc-entity.h: ns3::RrcEntity [class] - module.add_class('RrcEntity', parent=root_module['ns3::Object']) - ## simple-packet-scheduler.h: ns3::SimplePacketScheduler [class] - module.add_class('SimplePacketScheduler', parent=root_module['ns3::PacketScheduler']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::IdealControlMessage', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## ue-manager.h: ns3::UeManager [class] - module.add_class('UeManager', parent=root_module['ns3::Object']) - ## ue-record.h: ns3::UeRecord [class] - module.add_class('UeRecord', parent=root_module['ns3::Object']) - ## ue-record.h: ns3::UeRecord::CqiFeedback [struct] - module.add_class('CqiFeedback', outer_class=root_module['ns3::UeRecord']) - ## amc-module.h: ns3::AmcModule [class] - module.add_class('AmcModule', parent=root_module['ns3::Object']) - ## bearer-qos-parameters.h: ns3::BearerQosParameters [class] - module.add_class('BearerQosParameters', parent=root_module['ns3::Object']) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosType [enumeration] - module.add_enum('BearerQosType', ['BEARER_TYPE_GBR', 'BEARER_TYPE_NGBR'], outer_class=root_module['ns3::BearerQosParameters']) - ## channel-realization.h: ns3::ChannelRealization [class] - module.add_class('ChannelRealization', parent=root_module['ns3::Object']) - ## discrete-time-loss-model.h: ns3::DiscreteTimeLossModel [class] - module.add_class('DiscreteTimeLossModel', parent=root_module['ns3::Object']) - ## ideal-control-messages.h: ns3::IdealControlMessage [class] - module.add_class('IdealControlMessage', parent=root_module['ns3::SimpleRefCount< ns3::IdealControlMessage, ns3::empty, ns3::DefaultDeleter >']) - ## ideal-control-messages.h: ns3::IdealControlMessage::MessageType [enumeration] - module.add_enum('MessageType', ['CQI_FEEDBACKS', 'ALLOCATION_MAP'], outer_class=root_module['ns3::IdealControlMessage']) - ## jakes-fading-loss-model.h: ns3::JakesFadingLossModel [class] - module.add_class('JakesFadingLossModel', parent=root_module['ns3::DiscreteTimeLossModel']) - ## lte-mac-queue.h: ns3::LteMacQueue [class] - module.add_class('LteMacQueue', parent=root_module['ns3::Object']) - ## lte-phy.h: ns3::LtePhy [class] - module.add_class('LtePhy', parent=root_module['ns3::Object']) - ## lte-propagation-loss-model.h: ns3::LtePropagationLossModel [class] - module.add_class('LtePropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) - ## lte-spectrum-phy.h: ns3::LteSpectrumPhy [class] - module.add_class('LteSpectrumPhy', parent=root_module['ns3::SpectrumPhy']) - ## lte-spectrum-phy.h: ns3::LteSpectrumPhy::State [enumeration] - module.add_enum('State', ['IDLE', 'TX', 'RX'], outer_class=root_module['ns3::LteSpectrumPhy']) - ## mac-entity.h: ns3::MacEntity [class] - module.add_class('MacEntity', parent=root_module['ns3::Object']) - ## path-loss-model.h: ns3::PathLossModel [class] - module.add_class('PathLossModel', parent=root_module['ns3::DiscreteTimeLossModel']) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage [class] - module.add_class('PdcchMapIdealControlMessage', parent=root_module['ns3::IdealControlMessage']) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::Direction [enumeration] - module.add_enum('Direction', ['DOWNLINK', 'UPLINK'], outer_class=root_module['ns3::PdcchMapIdealControlMessage']) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord [struct] - module.add_class('IdealPdcchRecord', outer_class=root_module['ns3::PdcchMapIdealControlMessage']) - ## penetration-loss-model.h: ns3::PenetrationLossModel [class] - module.add_class('PenetrationLossModel', parent=root_module['ns3::DiscreteTimeLossModel']) - ## shadowing-loss-model.h: ns3::ShadowingLossModel [class] - module.add_class('ShadowingLossModel', parent=root_module['ns3::DiscreteTimeLossModel']) - ## ue-phy.h: ns3::UeLtePhy [class] - module.add_class('UeLtePhy', parent=root_module['ns3::LtePhy']) - ## ue-lte-spectrum-phy.h: ns3::UeLteSpectrumPhy [class] - module.add_class('UeLteSpectrumPhy', parent=root_module['ns3::LteSpectrumPhy']) - ## ue-mac-entity.h: ns3::UeMacEntity [class] - module.add_class('UeMacEntity', parent=root_module['ns3::MacEntity']) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage [class] - module.add_class('CqiIdealControlMessage', parent=root_module['ns3::IdealControlMessage']) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback [struct] - module.add_class('CqiFeedback', outer_class=root_module['ns3::CqiIdealControlMessage']) - ## enb-phy.h: ns3::EnbLtePhy [class] - module.add_class('EnbLtePhy', parent=root_module['ns3::LtePhy']) - ## enb-lte-spectrum-phy.h: ns3::EnbLteSpectrumPhy [class] - module.add_class('EnbLteSpectrumPhy', parent=root_module['ns3::LteSpectrumPhy']) - ## enb-mac-entity.h: ns3::EnbMacEntity [class] - module.add_class('EnbMacEntity', parent=root_module['ns3::MacEntity']) - ## lte-net-device.h: ns3::LteNetDevice [class] - module.add_class('LteNetDevice', parent=root_module['ns3::NetDevice']) - ## ue-net-device.h: ns3::UeNetDevice [class] - module.add_class('UeNetDevice', parent=root_module['ns3::LteNetDevice']) - ## enb-net-device.h: ns3::EnbNetDevice [class] - module.add_class('EnbNetDevice', parent=root_module['ns3::LteNetDevice']) - module.add_container('std::vector< ns3::UeRecord::CqiFeedback >', 'ns3::UeRecord::CqiFeedback', container_type='vector') - module.add_container('std::deque< ns3::LteMacQueue::QueueElement >', 'ns3::LteMacQueue::QueueElement', container_type='dequeue') - module.add_container('std::list< ns3::PdcchMapIdealControlMessage::IdealPdcchRecord >', 'ns3::PdcchMapIdealControlMessage::IdealPdcchRecord', container_type='list') - module.add_container('std::list< ns3::CqiIdealControlMessage::CqiFeedback >', 'ns3::CqiIdealControlMessage::CqiFeedback', container_type='list') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3LteHelper_methods(root_module, root_module['ns3::LteHelper']) - register_Ns3LteSpectrumValueHelper_methods(root_module, root_module['ns3::LteSpectrumValueHelper']) - register_Ns3LteMacHeader_methods(root_module, root_module['ns3::LteMacHeader']) - register_Ns3PacketScheduler_methods(root_module, root_module['ns3::PacketScheduler']) - register_Ns3RadioBearerInstance_methods(root_module, root_module['ns3::RadioBearerInstance']) - register_Ns3RlcEntity_methods(root_module, root_module['ns3::RlcEntity']) - register_Ns3RrcEntity_methods(root_module, root_module['ns3::RrcEntity']) - register_Ns3SimplePacketScheduler_methods(root_module, root_module['ns3::SimplePacketScheduler']) - register_Ns3UeManager_methods(root_module, root_module['ns3::UeManager']) - register_Ns3UeRecord_methods(root_module, root_module['ns3::UeRecord']) - register_Ns3UeRecordCqiFeedback_methods(root_module, root_module['ns3::UeRecord::CqiFeedback']) - register_Ns3AmcModule_methods(root_module, root_module['ns3::AmcModule']) - register_Ns3BearerQosParameters_methods(root_module, root_module['ns3::BearerQosParameters']) - register_Ns3ChannelRealization_methods(root_module, root_module['ns3::ChannelRealization']) - register_Ns3DiscreteTimeLossModel_methods(root_module, root_module['ns3::DiscreteTimeLossModel']) - register_Ns3IdealControlMessage_methods(root_module, root_module['ns3::IdealControlMessage']) - register_Ns3JakesFadingLossModel_methods(root_module, root_module['ns3::JakesFadingLossModel']) - register_Ns3LteMacQueue_methods(root_module, root_module['ns3::LteMacQueue']) - register_Ns3LtePhy_methods(root_module, root_module['ns3::LtePhy']) - register_Ns3LtePropagationLossModel_methods(root_module, root_module['ns3::LtePropagationLossModel']) - register_Ns3LteSpectrumPhy_methods(root_module, root_module['ns3::LteSpectrumPhy']) - register_Ns3MacEntity_methods(root_module, root_module['ns3::MacEntity']) - register_Ns3PathLossModel_methods(root_module, root_module['ns3::PathLossModel']) - register_Ns3PdcchMapIdealControlMessage_methods(root_module, root_module['ns3::PdcchMapIdealControlMessage']) - register_Ns3PdcchMapIdealControlMessageIdealPdcchRecord_methods(root_module, root_module['ns3::PdcchMapIdealControlMessage::IdealPdcchRecord']) - register_Ns3PenetrationLossModel_methods(root_module, root_module['ns3::PenetrationLossModel']) - register_Ns3ShadowingLossModel_methods(root_module, root_module['ns3::ShadowingLossModel']) - register_Ns3UeLtePhy_methods(root_module, root_module['ns3::UeLtePhy']) - register_Ns3UeLteSpectrumPhy_methods(root_module, root_module['ns3::UeLteSpectrumPhy']) - register_Ns3UeMacEntity_methods(root_module, root_module['ns3::UeMacEntity']) - register_Ns3CqiIdealControlMessage_methods(root_module, root_module['ns3::CqiIdealControlMessage']) - register_Ns3CqiIdealControlMessageCqiFeedback_methods(root_module, root_module['ns3::CqiIdealControlMessage::CqiFeedback']) - register_Ns3EnbLtePhy_methods(root_module, root_module['ns3::EnbLtePhy']) - register_Ns3EnbLteSpectrumPhy_methods(root_module, root_module['ns3::EnbLteSpectrumPhy']) - register_Ns3EnbMacEntity_methods(root_module, root_module['ns3::EnbMacEntity']) - register_Ns3LteNetDevice_methods(root_module, root_module['ns3::LteNetDevice']) - register_Ns3UeNetDevice_methods(root_module, root_module['ns3::UeNetDevice']) - register_Ns3EnbNetDevice_methods(root_module, root_module['ns3::EnbNetDevice']) - return - -def register_Ns3LteHelper_methods(root_module, cls): - ## lte-helper.h: ns3::LteHelper::LteHelper(ns3::LteHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteHelper const &', 'arg0')]) - ## lte-helper.h: ns3::LteHelper::LteHelper() [constructor] - cls.add_constructor([]) - ## lte-helper.h: void ns3::LteHelper::AddDownlinkChannelRealization(ns3::Ptr enbMobility, ns3::Ptr ueMobility, ns3::Ptr phy) [member function] - cls.add_method('AddDownlinkChannelRealization', - 'void', - [param('ns3::Ptr< ns3::MobilityModel >', 'enbMobility'), param('ns3::Ptr< ns3::MobilityModel >', 'ueMobility'), param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## lte-helper.h: void ns3::LteHelper::AddMobility(ns3::Ptr phy, ns3::Ptr m) [member function] - cls.add_method('AddMobility', - 'void', - [param('ns3::Ptr< ns3::LtePhy >', 'phy'), param('ns3::Ptr< ns3::MobilityModel >', 'm')]) - ## lte-helper.h: void ns3::LteHelper::EnableLogComponents() [member function] - cls.add_method('EnableLogComponents', - 'void', - []) - ## lte-helper.h: ns3::NetDeviceContainer ns3::LteHelper::Install(ns3::NodeContainer c, ns3::LteHelper::NetDeviceType type) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::LteHelper::NetDeviceType', 'type')]) - ## lte-helper.h: void ns3::LteHelper::RegisterUeToTheEnb(ns3::Ptr ue, ns3::Ptr enb) [member function] - cls.add_method('RegisterUeToTheEnb', - 'void', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue'), param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - return - -def register_Ns3LteSpectrumValueHelper_methods(root_module, cls): - ## lte-spectrum-value-helper.h: ns3::LteSpectrumValueHelper::LteSpectrumValueHelper() [constructor] - cls.add_constructor([]) - ## lte-spectrum-value-helper.h: ns3::LteSpectrumValueHelper::LteSpectrumValueHelper(ns3::LteSpectrumValueHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteSpectrumValueHelper const &', 'arg0')]) - ## lte-spectrum-value-helper.h: ns3::Ptr ns3::LteSpectrumValueHelper::CreateDownlinkNoisePowerSpectralDensity() [member function] - cls.add_method('CreateDownlinkNoisePowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - []) - ## lte-spectrum-value-helper.h: ns3::Ptr ns3::LteSpectrumValueHelper::CreateDownlinkTxPowerSpectralDensity(double powerTx, std::vector > channels) [member function] - cls.add_method('CreateDownlinkTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'powerTx'), param('std::vector< int >', 'channels')]) - ## lte-spectrum-value-helper.h: ns3::Ptr ns3::LteSpectrumValueHelper::CreateUplinkNoisePowerSpectralDensity() [member function] - cls.add_method('CreateUplinkNoisePowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - []) - ## lte-spectrum-value-helper.h: ns3::Ptr ns3::LteSpectrumValueHelper::CreateUplinkTxPowerSpectralDensity(double powerTx, std::vector > channels) [member function] - cls.add_method('CreateUplinkTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'powerTx'), param('std::vector< int >', 'channels')]) - return - -def register_Ns3LteMacHeader_methods(root_module, cls): - ## lte-mac-header.h: ns3::LteMacHeader::LteMacHeader() [constructor] - cls.add_constructor([]) - ## lte-mac-header.h: ns3::LteMacHeader::LteMacHeader(ns3::LteMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteMacHeader const &', 'arg0')]) - ## lte-mac-header.h: uint32_t ns3::LteMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## lte-mac-header.h: ns3::Mac48Address ns3::LteMacHeader::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Mac48Address', - [], - is_const=True) - ## lte-mac-header.h: ns3::TypeId ns3::LteMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## lte-mac-header.h: uint32_t ns3::LteMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## lte-mac-header.h: ns3::Mac48Address ns3::LteMacHeader::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Mac48Address', - [], - is_const=True) - ## lte-mac-header.h: static ns3::TypeId ns3::LteMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-mac-header.h: void ns3::LteMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## lte-mac-header.h: void ns3::LteMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## lte-mac-header.h: void ns3::LteMacHeader::SetDestination(ns3::Mac48Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Mac48Address', 'destination')]) - ## lte-mac-header.h: void ns3::LteMacHeader::SetSource(ns3::Mac48Address source) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Mac48Address', 'source')]) - return - -def register_Ns3PacketScheduler_methods(root_module, cls): - ## packet-scheduler.h: ns3::PacketScheduler::PacketScheduler(ns3::PacketScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketScheduler const &', 'arg0')]) - ## packet-scheduler.h: ns3::PacketScheduler::PacketScheduler() [constructor] - cls.add_constructor([]) - ## packet-scheduler.h: ns3::PacketScheduler::PacketScheduler(ns3::Ptr enb) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## packet-scheduler.h: void ns3::PacketScheduler::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## packet-scheduler.h: void ns3::PacketScheduler::DoRunPacketScheduler() [member function] - cls.add_method('DoRunPacketScheduler', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## packet-scheduler.h: ns3::Ptr ns3::PacketScheduler::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::EnbNetDevice >', - []) - ## packet-scheduler.h: ns3::Ptr ns3::PacketScheduler::GetMacEntity() [member function] - cls.add_method('GetMacEntity', - 'ns3::Ptr< ns3::MacEntity >', - []) - ## packet-scheduler.h: static ns3::TypeId ns3::PacketScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-scheduler.h: void ns3::PacketScheduler::RunPacketScheduler() [member function] - cls.add_method('RunPacketScheduler', - 'void', - []) - ## packet-scheduler.h: void ns3::PacketScheduler::SetDevice(ns3::Ptr enb) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## packet-scheduler.h: void ns3::PacketScheduler::SetMacEntity(ns3::Ptr mac) [member function] - cls.add_method('SetMacEntity', - 'void', - [param('ns3::Ptr< ns3::MacEntity >', 'mac')]) - return - -def register_Ns3RadioBearerInstance_methods(root_module, cls): - ## radio-bearer-instance.h: ns3::RadioBearerInstance::RadioBearerInstance(ns3::RadioBearerInstance const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadioBearerInstance const &', 'arg0')]) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::RadioBearerInstance() [constructor] - cls.add_constructor([]) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - []) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::Dequeue(uint32_t availableByte) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'availableByte')]) - ## radio-bearer-instance.h: bool ns3::RadioBearerInstance::Enqueue(ns3::Ptr packet) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::BearerDirection ns3::RadioBearerInstance::GetBearerDirection() const [member function] - cls.add_method('GetBearerDirection', - 'ns3::RadioBearerInstance::BearerDirection', - [], - is_const=True) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::BearerType ns3::RadioBearerInstance::GetBearerType() const [member function] - cls.add_method('GetBearerType', - 'ns3::RadioBearerInstance::BearerType', - [], - is_const=True) - ## radio-bearer-instance.h: ns3::IpcsClassifierRecord * ns3::RadioBearerInstance::GetIpcsClassifierRecord() [member function] - cls.add_method('GetIpcsClassifierRecord', - 'ns3::IpcsClassifierRecord *', - []) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::GetQosParameters() [member function] - cls.add_method('GetQosParameters', - 'ns3::Ptr< ns3::BearerQosParameters >', - []) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::LteMacQueue >', - [], - is_const=True) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::GetRlcEntity() [member function] - cls.add_method('GetRlcEntity', - 'ns3::Ptr< ns3::RlcEntity >', - []) - ## radio-bearer-instance.h: static ns3::TypeId ns3::RadioBearerInstance::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## radio-bearer-instance.h: bool ns3::RadioBearerInstance::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetBearerDirection(ns3::RadioBearerInstance::BearerDirection direction) [member function] - cls.add_method('SetBearerDirection', - 'void', - [param('ns3::RadioBearerInstance::BearerDirection', 'direction')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetBearerType(ns3::RadioBearerInstance::BearerType type) [member function] - cls.add_method('SetBearerType', - 'void', - [param('ns3::RadioBearerInstance::BearerType', 'type')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetIpcsClassifierRecord(ns3::IpcsClassifierRecord * c) [member function] - cls.add_method('SetIpcsClassifierRecord', - 'void', - [param('ns3::IpcsClassifierRecord *', 'c')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetQosParameters(ns3::Ptr qosParameters) [member function] - cls.add_method('SetQosParameters', - 'void', - [param('ns3::Ptr< ns3::BearerQosParameters >', 'qosParameters')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetRlcEntity(ns3::Ptr rlc) [member function] - cls.add_method('SetRlcEntity', - 'void', - [param('ns3::Ptr< ns3::RlcEntity >', 'rlc')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RlcEntity_methods(root_module, cls): - ## rlc-entity.h: ns3::RlcEntity::RlcEntity(ns3::RlcEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RlcEntity const &', 'arg0')]) - ## rlc-entity.h: ns3::RlcEntity::RlcEntity() [constructor] - cls.add_constructor([]) - ## rlc-entity.h: ns3::RlcEntity::RlcEntity(ns3::Ptr d) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## rlc-entity.h: ns3::Ptr ns3::RlcEntity::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - []) - ## rlc-entity.h: void ns3::RlcEntity::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## rlc-entity.h: ns3::Ptr ns3::RlcEntity::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## rlc-entity.h: ns3::Ptr ns3::RlcEntity::GetRadioBearer() [member function] - cls.add_method('GetRadioBearer', - 'ns3::Ptr< ns3::RadioBearerInstance >', - []) - ## rlc-entity.h: static ns3::TypeId ns3::RlcEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rlc-entity.h: void ns3::RlcEntity::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## rlc-entity.h: void ns3::RlcEntity::SetRadioBearer(ns3::Ptr b) [member function] - cls.add_method('SetRadioBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'b')]) - return - -def register_Ns3RrcEntity_methods(root_module, cls): - ## rrc-entity.h: ns3::RrcEntity::RrcEntity(ns3::RrcEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RrcEntity const &', 'arg0')]) - ## rrc-entity.h: ns3::RrcEntity::RrcEntity() [constructor] - cls.add_constructor([]) - ## rrc-entity.h: void ns3::RrcEntity::AddDownlinkGbrBearer(ns3::Ptr bearer) [member function] - cls.add_method('AddDownlinkGbrBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'bearer')]) - ## rrc-entity.h: void ns3::RrcEntity::AddDownlinkNgbrBearer(ns3::Ptr bearer) [member function] - cls.add_method('AddDownlinkNgbrBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'bearer')]) - ## rrc-entity.h: void ns3::RrcEntity::AddUplinkGbrBearer(ns3::Ptr bearer) [member function] - cls.add_method('AddUplinkGbrBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'bearer')]) - ## rrc-entity.h: void ns3::RrcEntity::AddUplinkNgbrBearer(ns3::Ptr bearer) [member function] - cls.add_method('AddUplinkNgbrBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'bearer')]) - ## rrc-entity.h: ns3::Ptr ns3::RrcEntity::Classify(ns3::Ptr p) const [member function] - cls.add_method('Classify', - 'ns3::Ptr< ns3::RadioBearerInstance >', - [param('ns3::Ptr< ns3::Packet >', 'p')], - is_const=True) - ## rrc-entity.h: void ns3::RrcEntity::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## rrc-entity.h: ns3::Ptr ns3::RrcEntity::GetDefaultBearer() [member function] - cls.add_method('GetDefaultBearer', - 'ns3::Ptr< ns3::RadioBearerInstance >', - []) - ## rrc-entity.h: std::vector,std::allocator > > * ns3::RrcEntity::GetDownlinkGbrBearers() const [member function] - cls.add_method('GetDownlinkGbrBearers', - 'std::vector< ns3::Ptr< ns3::RadioBearerInstance > > *', - [], - is_const=True) - ## rrc-entity.h: std::vector,std::allocator > > * ns3::RrcEntity::GetDownlinkNgbrBearers() const [member function] - cls.add_method('GetDownlinkNgbrBearers', - 'std::vector< ns3::Ptr< ns3::RadioBearerInstance > > *', - [], - is_const=True) - ## rrc-entity.h: static ns3::TypeId ns3::RrcEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rrc-entity.h: std::vector,std::allocator > > * ns3::RrcEntity::GetUplinkGbrBearers() const [member function] - cls.add_method('GetUplinkGbrBearers', - 'std::vector< ns3::Ptr< ns3::RadioBearerInstance > > *', - [], - is_const=True) - ## rrc-entity.h: std::vector,std::allocator > > * ns3::RrcEntity::GetUplinkNgbrBearers() const [member function] - cls.add_method('GetUplinkNgbrBearers', - 'std::vector< ns3::Ptr< ns3::RadioBearerInstance > > *', - [], - is_const=True) - return - -def register_Ns3SimplePacketScheduler_methods(root_module, cls): - ## simple-packet-scheduler.h: ns3::SimplePacketScheduler::SimplePacketScheduler(ns3::SimplePacketScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimplePacketScheduler const &', 'arg0')]) - ## simple-packet-scheduler.h: ns3::SimplePacketScheduler::SimplePacketScheduler() [constructor] - cls.add_constructor([]) - ## simple-packet-scheduler.h: ns3::SimplePacketScheduler::SimplePacketScheduler(ns3::Ptr enb) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## simple-packet-scheduler.h: void ns3::SimplePacketScheduler::DoRunPacketScheduler() [member function] - cls.add_method('DoRunPacketScheduler', - 'void', - [], - is_virtual=True) - ## simple-packet-scheduler.h: static ns3::TypeId ns3::SimplePacketScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UeManager_methods(root_module, cls): - ## ue-manager.h: ns3::UeManager::UeManager(ns3::UeManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeManager const &', 'arg0')]) - ## ue-manager.h: ns3::UeManager::UeManager() [constructor] - cls.add_constructor([]) - ## ue-manager.h: void ns3::UeManager::CreateUeRecord(ns3::Ptr ue, ns3::Ptr enb) [member function] - cls.add_method('CreateUeRecord', - 'void', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue'), param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## ue-manager.h: void ns3::UeManager::DeleteUeRecord(ns3::Ptr ue) [member function] - cls.add_method('DeleteUeRecord', - 'void', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue')]) - ## ue-manager.h: void ns3::UeManager::DeleteUeRecord(ns3::Mac48Address const & macAddress) [member function] - cls.add_method('DeleteUeRecord', - 'void', - [param('ns3::Mac48Address const &', 'macAddress')]) - ## ue-manager.h: uint32_t ns3::UeManager::GetNRegisteredUes() const [member function] - cls.add_method('GetNRegisteredUes', - 'uint32_t', - [], - is_const=True) - ## ue-manager.h: ns3::Ptr ns3::UeManager::GetUeRecord(ns3::Ptr ue) [member function] - cls.add_method('GetUeRecord', - 'ns3::Ptr< ns3::UeRecord >', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue')]) - ## ue-manager.h: ns3::Ptr ns3::UeManager::GetUeRecord(ns3::Mac48Address const macAddress) [member function] - cls.add_method('GetUeRecord', - 'ns3::Ptr< ns3::UeRecord >', - [param('ns3::Mac48Address const', 'macAddress')]) - ## ue-manager.h: std::vector,std::allocator > > * ns3::UeManager::GetUeRecords() [member function] - cls.add_method('GetUeRecords', - 'std::vector< ns3::Ptr< ns3::UeRecord > > *', - []) - ## ue-manager.h: bool ns3::UeManager::IsRegistered(ns3::Ptr ue) const [member function] - cls.add_method('IsRegistered', - 'bool', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue')], - is_const=True) - ## ue-manager.h: bool ns3::UeManager::IsRegistered(ns3::Mac48Address const & macAddress) const [member function] - cls.add_method('IsRegistered', - 'bool', - [param('ns3::Mac48Address const &', 'macAddress')], - is_const=True) - return - -def register_Ns3UeRecord_methods(root_module, cls): - ## ue-record.h: ns3::UeRecord::UeRecord(ns3::UeRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeRecord const &', 'arg0')]) - ## ue-record.h: ns3::UeRecord::UeRecord() [constructor] - cls.add_constructor([]) - ## ue-record.h: ns3::UeRecord::UeRecord(ns3::Ptr ue, ns3::Ptr enb) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'ue'), param('ns3::Ptr< ns3::NetDevice >', 'enb')]) - ## ue-record.h: std::vector > ns3::UeRecord::GetCqiFeedbacks() [member function] - cls.add_method('GetCqiFeedbacks', - 'std::vector< ns3::UeRecord::CqiFeedback >', - []) - ## ue-record.h: ns3::Ptr ns3::UeRecord::GetEnb() [member function] - cls.add_method('GetEnb', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## ue-record.h: ns3::Ptr ns3::UeRecord::GetUe() [member function] - cls.add_method('GetUe', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## ue-record.h: void ns3::UeRecord::SetCqiFeedbacks(std::vector > cqiFeedbacks) [member function] - cls.add_method('SetCqiFeedbacks', - 'void', - [param('std::vector< ns3::UeRecord::CqiFeedback >', 'cqiFeedbacks')]) - ## ue-record.h: void ns3::UeRecord::SetEnb(ns3::Ptr enb) [member function] - cls.add_method('SetEnb', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'enb')]) - ## ue-record.h: void ns3::UeRecord::SetUe(ns3::Ptr ue) [member function] - cls.add_method('SetUe', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'ue')]) - return - -def register_Ns3UeRecordCqiFeedback_methods(root_module, cls): - ## ue-record.h: ns3::UeRecord::CqiFeedback::CqiFeedback() [constructor] - cls.add_constructor([]) - ## ue-record.h: ns3::UeRecord::CqiFeedback::CqiFeedback(ns3::UeRecord::CqiFeedback const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeRecord::CqiFeedback const &', 'arg0')]) - ## ue-record.h: ns3::UeRecord::CqiFeedback::m_cqi [variable] - cls.add_instance_attribute('m_cqi', 'int', is_const=False) - ## ue-record.h: ns3::UeRecord::CqiFeedback::m_subChannelId [variable] - cls.add_instance_attribute('m_subChannelId', 'int', is_const=False) - return - -def register_Ns3AmcModule_methods(root_module, cls): - ## amc-module.h: ns3::AmcModule::AmcModule(ns3::AmcModule const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AmcModule const &', 'arg0')]) - ## amc-module.h: ns3::AmcModule::AmcModule() [constructor] - cls.add_constructor([]) - ## amc-module.h: std::vector > ns3::AmcModule::CreateCqiFeedbacks(std::vector > sinr) [member function] - cls.add_method('CreateCqiFeedbacks', - 'std::vector< int >', - [param('std::vector< double >', 'sinr')]) - ## amc-module.h: int ns3::AmcModule::GetMcsFromCqi(int cqi) [member function] - cls.add_method('GetMcsFromCqi', - 'int', - [param('int', 'cqi')]) - ## amc-module.h: double ns3::AmcModule::GetSpectralEfficiencyFromCqi(int cqi) [member function] - cls.add_method('GetSpectralEfficiencyFromCqi', - 'double', - [param('int', 'cqi')]) - ## amc-module.h: int ns3::AmcModule::GetTbSizeFromMcs(int mcs) [member function] - cls.add_method('GetTbSizeFromMcs', - 'int', - [param('int', 'mcs')]) - ## amc-module.h: static ns3::TypeId ns3::AmcModule::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## amc-module.h: void ns3::AmcModule::Initialize() [member function] - cls.add_method('Initialize', - 'void', - []) - return - -def register_Ns3BearerQosParameters_methods(root_module, cls): - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosParameters(ns3::BearerQosParameters const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BearerQosParameters const &', 'arg0')]) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosParameters() [constructor] - cls.add_constructor([]) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosParameters(int qci, double gbr, double mbr) [constructor] - cls.add_constructor([param('int', 'qci'), param('double', 'gbr'), param('double', 'mbr')]) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosParameters(int qci, bool apec, bool apev, double gbr, double mbr) [constructor] - cls.add_constructor([param('int', 'qci'), param('bool', 'apec'), param('bool', 'apev'), param('double', 'gbr'), param('double', 'mbr')]) - ## bearer-qos-parameters.h: bool ns3::BearerQosParameters::GetArpPreEmptionCapability() const [member function] - cls.add_method('GetArpPreEmptionCapability', - 'bool', - [], - is_const=True) - ## bearer-qos-parameters.h: bool ns3::BearerQosParameters::GetArpPreEmptionVulnerability() const [member function] - cls.add_method('GetArpPreEmptionVulnerability', - 'bool', - [], - is_const=True) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosType ns3::BearerQosParameters::GetBearerQosType() const [member function] - cls.add_method('GetBearerQosType', - 'ns3::BearerQosParameters::BearerQosType', - [], - is_const=True) - ## bearer-qos-parameters.h: double ns3::BearerQosParameters::GetGbr() const [member function] - cls.add_method('GetGbr', - 'double', - [], - is_const=True) - ## bearer-qos-parameters.h: double ns3::BearerQosParameters::GetMaxDelay() const [member function] - cls.add_method('GetMaxDelay', - 'double', - [], - is_const=True) - ## bearer-qos-parameters.h: double ns3::BearerQosParameters::GetMbr() const [member function] - cls.add_method('GetMbr', - 'double', - [], - is_const=True) - ## bearer-qos-parameters.h: int ns3::BearerQosParameters::GetQci() const [member function] - cls.add_method('GetQci', - 'int', - [], - is_const=True) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetArpPreEmptionCapability(bool apec) [member function] - cls.add_method('SetArpPreEmptionCapability', - 'void', - [param('bool', 'apec')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetArpPreEmptionVulnerability(bool apev) [member function] - cls.add_method('SetArpPreEmptionVulnerability', - 'void', - [param('bool', 'apev')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetBearerQosType(ns3::BearerQosParameters::BearerQosType QosType) [member function] - cls.add_method('SetBearerQosType', - 'void', - [param('ns3::BearerQosParameters::BearerQosType', 'QosType')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetGbr(double gbr) [member function] - cls.add_method('SetGbr', - 'void', - [param('double', 'gbr')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetMaxDelay(double targetDelay) [member function] - cls.add_method('SetMaxDelay', - 'void', - [param('double', 'targetDelay')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetMbr(double mbr) [member function] - cls.add_method('SetMbr', - 'void', - [param('double', 'mbr')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetQci(int qci) [member function] - cls.add_method('SetQci', - 'void', - [param('int', 'qci')]) - return - -def register_Ns3ChannelRealization_methods(root_module, cls): - ## channel-realization.h: ns3::ChannelRealization::ChannelRealization(ns3::ChannelRealization const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ChannelRealization const &', 'arg0')]) - ## channel-realization.h: ns3::ChannelRealization::ChannelRealization() [constructor] - cls.add_constructor([]) - ## channel-realization.h: ns3::Ptr ns3::ChannelRealization::GetJakesFadingLossModel() [member function] - cls.add_method('GetJakesFadingLossModel', - 'ns3::Ptr< ns3::JakesFadingLossModel >', - []) - ## channel-realization.h: ns3::Ptr ns3::ChannelRealization::GetPathLossModel() [member function] - cls.add_method('GetPathLossModel', - 'ns3::Ptr< ns3::PathLossModel >', - []) - ## channel-realization.h: ns3::Ptr ns3::ChannelRealization::GetPenetrationLossModel() [member function] - cls.add_method('GetPenetrationLossModel', - 'ns3::Ptr< ns3::PenetrationLossModel >', - []) - ## channel-realization.h: ns3::Ptr ns3::ChannelRealization::GetShadowingLossModel() [member function] - cls.add_method('GetShadowingLossModel', - 'ns3::Ptr< ns3::ShadowingLossModel >', - []) - ## channel-realization.h: static ns3::TypeId ns3::ChannelRealization::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## channel-realization.h: void ns3::ChannelRealization::SetJakesFadingLossModel(ns3::Ptr l) [member function] - cls.add_method('SetJakesFadingLossModel', - 'void', - [param('ns3::Ptr< ns3::JakesFadingLossModel >', 'l')]) - ## channel-realization.h: void ns3::ChannelRealization::SetPathLossModel(ns3::Ptr l) [member function] - cls.add_method('SetPathLossModel', - 'void', - [param('ns3::Ptr< ns3::PathLossModel >', 'l')]) - ## channel-realization.h: void ns3::ChannelRealization::SetPenetrationLossModel(ns3::Ptr l) [member function] - cls.add_method('SetPenetrationLossModel', - 'void', - [param('ns3::Ptr< ns3::PenetrationLossModel >', 'l')]) - ## channel-realization.h: void ns3::ChannelRealization::SetShadowingLossModel(ns3::Ptr l) [member function] - cls.add_method('SetShadowingLossModel', - 'void', - [param('ns3::Ptr< ns3::ShadowingLossModel >', 'l')]) - return - -def register_Ns3DiscreteTimeLossModel_methods(root_module, cls): - ## discrete-time-loss-model.h: ns3::DiscreteTimeLossModel::DiscreteTimeLossModel(ns3::DiscreteTimeLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DiscreteTimeLossModel const &', 'arg0')]) - ## discrete-time-loss-model.h: ns3::DiscreteTimeLossModel::DiscreteTimeLossModel() [constructor] - cls.add_constructor([]) - ## discrete-time-loss-model.h: ns3::Time ns3::DiscreteTimeLossModel::GetLastUpdate() [member function] - cls.add_method('GetLastUpdate', - 'ns3::Time', - []) - ## discrete-time-loss-model.h: double ns3::DiscreteTimeLossModel::GetSamplingPeriod() [member function] - cls.add_method('GetSamplingPeriod', - 'double', - []) - ## discrete-time-loss-model.h: static ns3::TypeId ns3::DiscreteTimeLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## discrete-time-loss-model.h: bool ns3::DiscreteTimeLossModel::NeedForUpdate() [member function] - cls.add_method('NeedForUpdate', - 'bool', - []) - ## discrete-time-loss-model.h: void ns3::DiscreteTimeLossModel::SetLastUpdate() [member function] - cls.add_method('SetLastUpdate', - 'void', - []) - ## discrete-time-loss-model.h: void ns3::DiscreteTimeLossModel::SetSamplingPeriod(double sp) [member function] - cls.add_method('SetSamplingPeriod', - 'void', - [param('double', 'sp')]) - return - -def register_Ns3IdealControlMessage_methods(root_module, cls): - ## ideal-control-messages.h: ns3::IdealControlMessage::IdealControlMessage(ns3::IdealControlMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IdealControlMessage const &', 'arg0')]) - ## ideal-control-messages.h: ns3::IdealControlMessage::IdealControlMessage() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: ns3::Ptr ns3::IdealControlMessage::GetDestinationDevice() [member function] - cls.add_method('GetDestinationDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## ideal-control-messages.h: ns3::IdealControlMessage::MessageType ns3::IdealControlMessage::GetMessageType() [member function] - cls.add_method('GetMessageType', - 'ns3::IdealControlMessage::MessageType', - []) - ## ideal-control-messages.h: ns3::Ptr ns3::IdealControlMessage::GetSourceDevice() [member function] - cls.add_method('GetSourceDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## ideal-control-messages.h: void ns3::IdealControlMessage::SetDestinationDevice(ns3::Ptr dst) [member function] - cls.add_method('SetDestinationDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'dst')]) - ## ideal-control-messages.h: void ns3::IdealControlMessage::SetMessageType(ns3::IdealControlMessage::MessageType type) [member function] - cls.add_method('SetMessageType', - 'void', - [param('ns3::IdealControlMessage::MessageType', 'type')]) - ## ideal-control-messages.h: void ns3::IdealControlMessage::SetSourceDevice(ns3::Ptr src) [member function] - cls.add_method('SetSourceDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'src')]) - return - -def register_Ns3JakesFadingLossModel_methods(root_module, cls): - ## jakes-fading-loss-model.h: ns3::JakesFadingLossModel::JakesFadingLossModel(ns3::JakesFadingLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::JakesFadingLossModel const &', 'arg0')]) - ## jakes-fading-loss-model.h: ns3::JakesFadingLossModel::JakesFadingLossModel() [constructor] - cls.add_constructor([]) - ## jakes-fading-loss-model.h: ns3::Ptr ns3::JakesFadingLossModel::GetPhy() [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::LtePhy >', - []) - ## jakes-fading-loss-model.h: static ns3::TypeId ns3::JakesFadingLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## jakes-fading-loss-model.h: double ns3::JakesFadingLossModel::GetValue(int subChannel) [member function] - cls.add_method('GetValue', - 'double', - [param('int', 'subChannel')]) - ## jakes-fading-loss-model.h: void ns3::JakesFadingLossModel::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## jakes-fading-loss-model.h: void ns3::JakesFadingLossModel::SetValue() [member function] - cls.add_method('SetValue', - 'void', - []) - return - -def register_Ns3LteMacQueue_methods(root_module, cls): - ## lte-mac-queue.h: ns3::LteMacQueue::LteMacQueue(ns3::LteMacQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteMacQueue const &', 'arg0')]) - ## lte-mac-queue.h: ns3::LteMacQueue::LteMacQueue() [constructor] - cls.add_constructor([]) - ## lte-mac-queue.h: ns3::LteMacQueue::LteMacQueue(uint32_t maxSize) [constructor] - cls.add_constructor([param('uint32_t', 'maxSize')]) - ## lte-mac-queue.h: ns3::Ptr ns3::LteMacQueue::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - []) - ## lte-mac-queue.h: ns3::Ptr ns3::LteMacQueue::Dequeue(uint32_t availableByte) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'availableByte')]) - ## lte-mac-queue.h: bool ns3::LteMacQueue::Enqueue(ns3::Ptr packet) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - ## lte-mac-queue.h: uint32_t ns3::LteMacQueue::GetMaxSize() const [member function] - cls.add_method('GetMaxSize', - 'uint32_t', - [], - is_const=True) - ## lte-mac-queue.h: uint32_t ns3::LteMacQueue::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## lte-mac-queue.h: std::deque > const & ns3::LteMacQueue::GetPacketQueue() const [member function] - cls.add_method('GetPacketQueue', - 'std::deque< ns3::LteMacQueue::QueueElement > const &', - [], - is_const=True) - ## lte-mac-queue.h: uint32_t ns3::LteMacQueue::GetQueueLengthWithMACOverhead() [member function] - cls.add_method('GetQueueLengthWithMACOverhead', - 'uint32_t', - []) - ## lte-mac-queue.h: uint32_t ns3::LteMacQueue::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## lte-mac-queue.h: static ns3::TypeId ns3::LteMacQueue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-mac-queue.h: bool ns3::LteMacQueue::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## lte-mac-queue.h: ns3::Ptr ns3::LteMacQueue::Peek() const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## lte-mac-queue.h: void ns3::LteMacQueue::SetMaxSize(uint32_t maxSize) [member function] - cls.add_method('SetMaxSize', - 'void', - [param('uint32_t', 'maxSize')]) - return - -def register_Ns3LtePhy_methods(root_module, cls): - ## lte-phy.h: ns3::LtePhy::LtePhy(ns3::LtePhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LtePhy const &', 'arg0')]) - ## lte-phy.h: ns3::LtePhy::LtePhy() [constructor] - cls.add_constructor([]) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::CreateTxPowerSpectralDensity() [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_pure_virtual=True, is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::DoSetDownlinkSubChannels() [member function] - cls.add_method('DoSetDownlinkSubChannels', - 'void', - [], - is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::DoSetUplinkSubChannels() [member function] - cls.add_method('DoSetUplinkSubChannels', - 'void', - [], - is_virtual=True) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetDownlinkChannel() [member function] - cls.add_method('GetDownlinkChannel', - 'ns3::Ptr< ns3::SpectrumChannel >', - []) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetDownlinkSpectrumPhy() [member function] - cls.add_method('GetDownlinkSpectrumPhy', - 'ns3::Ptr< ns3::LteSpectrumPhy >', - []) - ## lte-phy.h: std::vector > ns3::LtePhy::GetDownlinkSubChannels() [member function] - cls.add_method('GetDownlinkSubChannels', - 'std::vector< int >', - []) - ## lte-phy.h: uint32_t ns3::LtePhy::GetNrFrames() const [member function] - cls.add_method('GetNrFrames', - 'uint32_t', - [], - is_const=True) - ## lte-phy.h: uint32_t ns3::LtePhy::GetNrSubFrames() const [member function] - cls.add_method('GetNrSubFrames', - 'uint32_t', - [], - is_const=True) - ## lte-phy.h: double ns3::LtePhy::GetTti() const [member function] - cls.add_method('GetTti', - 'double', - [], - is_const=True) - ## lte-phy.h: double ns3::LtePhy::GetTxPower() [member function] - cls.add_method('GetTxPower', - 'double', - []) - ## lte-phy.h: static ns3::TypeId ns3::LtePhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetUplinkChannel() [member function] - cls.add_method('GetUplinkChannel', - 'ns3::Ptr< ns3::SpectrumChannel >', - []) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetUplinkSpectrumPhy() [member function] - cls.add_method('GetUplinkSpectrumPhy', - 'ns3::Ptr< ns3::LteSpectrumPhy >', - []) - ## lte-phy.h: std::vector > ns3::LtePhy::GetUplinkSubChannels() [member function] - cls.add_method('GetUplinkSubChannels', - 'std::vector< int >', - []) - ## lte-phy.h: void ns3::LtePhy::ReceiveIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('ReceiveIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_pure_virtual=True, is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::SendIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('SendIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_pure_virtual=True, is_virtual=True) - ## lte-phy.h: bool ns3::LtePhy::SendPacket(ns3::Ptr pb) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb')], - is_pure_virtual=True, is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## lte-phy.h: void ns3::LtePhy::SetDownlinkChannel(ns3::Ptr c) [member function] - cls.add_method('SetDownlinkChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')]) - ## lte-phy.h: void ns3::LtePhy::SetDownlinkSpectrumPhy(ns3::Ptr s) [member function] - cls.add_method('SetDownlinkSpectrumPhy', - 'void', - [param('ns3::Ptr< ns3::LteSpectrumPhy >', 's')]) - ## lte-phy.h: void ns3::LtePhy::SetDownlinkSubChannels(std::vector > mask) [member function] - cls.add_method('SetDownlinkSubChannels', - 'void', - [param('std::vector< int >', 'mask')]) - ## lte-phy.h: void ns3::LtePhy::SetNrFrames(uint32_t nrFrames) [member function] - cls.add_method('SetNrFrames', - 'void', - [param('uint32_t', 'nrFrames')]) - ## lte-phy.h: void ns3::LtePhy::SetNrSubFrames(uint32_t nrSubFrames) [member function] - cls.add_method('SetNrSubFrames', - 'void', - [param('uint32_t', 'nrSubFrames')]) - ## lte-phy.h: void ns3::LtePhy::SetTti(double tti) [member function] - cls.add_method('SetTti', - 'void', - [param('double', 'tti')]) - ## lte-phy.h: void ns3::LtePhy::SetTxPower(double pw) [member function] - cls.add_method('SetTxPower', - 'void', - [param('double', 'pw')]) - ## lte-phy.h: void ns3::LtePhy::SetUplinkChannel(ns3::Ptr c) [member function] - cls.add_method('SetUplinkChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')]) - ## lte-phy.h: void ns3::LtePhy::SetUplinkSpectrumPhy(ns3::Ptr s) [member function] - cls.add_method('SetUplinkSpectrumPhy', - 'void', - [param('ns3::Ptr< ns3::LteSpectrumPhy >', 's')]) - ## lte-phy.h: void ns3::LtePhy::SetUplinkSubChannels(std::vector > mask) [member function] - cls.add_method('SetUplinkSubChannels', - 'void', - [param('std::vector< int >', 'mask')]) - return - -def register_Ns3LtePropagationLossModel_methods(root_module, cls): - ## lte-propagation-loss-model.h: ns3::LtePropagationLossModel::LtePropagationLossModel(ns3::LtePropagationLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LtePropagationLossModel const &', 'arg0')]) - ## lte-propagation-loss-model.h: ns3::LtePropagationLossModel::LtePropagationLossModel() [constructor] - cls.add_constructor([]) - ## lte-propagation-loss-model.h: void ns3::LtePropagationLossModel::CreateChannelRealization(ns3::Ptr enbMobility, ns3::Ptr ueMobility) [member function] - cls.add_method('CreateChannelRealization', - 'void', - [param('ns3::Ptr< ns3::MobilityModel const >', 'enbMobility'), param('ns3::Ptr< ns3::MobilityModel const >', 'ueMobility')]) - ## lte-propagation-loss-model.h: ns3::Ptr ns3::LtePropagationLossModel::GetChannelRealization(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetChannelRealization', - 'ns3::Ptr< ns3::ChannelRealization >', - [param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_const=True) - ## lte-propagation-loss-model.h: static ns3::TypeId ns3::LtePropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-propagation-loss-model.h: ns3::Ptr ns3::LtePropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr txPsd, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'txPsd'), param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3LteSpectrumPhy_methods(root_module, cls): - ## lte-spectrum-phy.h: ns3::LteSpectrumPhy::LteSpectrumPhy(ns3::LteSpectrumPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteSpectrumPhy const &', 'arg0')]) - ## lte-spectrum-phy.h: ns3::LteSpectrumPhy::LteSpectrumPhy() [constructor] - cls.add_constructor([]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::CalcSinrValues(ns3::Ptr rxPsd, ns3::Ptr noise) [member function] - cls.add_method('CalcSinrValues', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::Ptr< ns3::SpectrumValue const >', 'noise')], - is_pure_virtual=True, is_virtual=True) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetChannel() [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::SpectrumChannel >', - []) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetNoisePowerSpectralDensity() [member function] - cls.add_method('GetNoisePowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue const >', - []) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True, is_virtual=True) - ## lte-spectrum-phy.h: ns3::SpectrumType ns3::LteSpectrumPhy::GetSpectrumType() [member function] - cls.add_method('GetSpectrumType', - 'ns3::SpectrumType', - []) - ## lte-spectrum-phy.h: static ns3::TypeId ns3::LteSpectrumPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_virtual=True) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_virtual=True) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetGenericPhyRxEndErrorCallback(ns3::GenericPhyRxEndErrorCallback c) [member function] - cls.add_method('SetGenericPhyRxEndErrorCallback', - 'void', - [param('ns3::GenericPhyRxEndErrorCallback', 'c')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetGenericPhyRxEndOkCallback(ns3::GenericPhyRxEndOkCallback c) [member function] - cls.add_method('SetGenericPhyRxEndOkCallback', - 'void', - [param('ns3::GenericPhyRxEndOkCallback', 'c')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetGenericPhyRxStartCallback(ns3::GenericPhyRxStartCallback c) [member function] - cls.add_method('SetGenericPhyRxStartCallback', - 'void', - [param('ns3::GenericPhyRxStartCallback', 'c')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetGenericPhyTxEndCallback(ns3::GenericPhyTxEndCallback c) [member function] - cls.add_method('SetGenericPhyTxEndCallback', - 'void', - [param('ns3::GenericPhyTxEndCallback', 'c')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_virtual=True) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetNoisePowerSpectralDensity(ns3::Ptr noisePsd) [member function] - cls.add_method('SetNoisePowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'noisePsd')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetState(ns3::LteSpectrumPhy::State newState) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::LteSpectrumPhy::State', 'newState')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetTxPowerSpectralDensity(ns3::Ptr txPsd) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::StartRx(ns3::Ptr pb, ns3::Ptr rxPsd, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_virtual=True) - ## lte-spectrum-phy.h: bool ns3::LteSpectrumPhy::StartTx(ns3::Ptr pb) [member function] - cls.add_method('StartTx', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::EndRx() [member function] - cls.add_method('EndRx', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3MacEntity_methods(root_module, cls): - ## mac-entity.h: ns3::MacEntity::MacEntity(ns3::MacEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacEntity const &', 'arg0')]) - ## mac-entity.h: ns3::MacEntity::MacEntity() [constructor] - cls.add_constructor([]) - ## mac-entity.h: void ns3::MacEntity::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## mac-entity.h: ns3::Ptr ns3::MacEntity::GetAmcModule() const [member function] - cls.add_method('GetAmcModule', - 'ns3::Ptr< ns3::AmcModule >', - [], - is_const=True) - ## mac-entity.h: ns3::Ptr ns3::MacEntity::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## mac-entity.h: static ns3::TypeId ns3::MacEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-entity.h: void ns3::MacEntity::SetAmcModule(ns3::Ptr amcModule) [member function] - cls.add_method('SetAmcModule', - 'void', - [param('ns3::Ptr< ns3::AmcModule >', 'amcModule')]) - ## mac-entity.h: void ns3::MacEntity::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - return - -def register_Ns3PathLossModel_methods(root_module, cls): - ## path-loss-model.h: ns3::PathLossModel::PathLossModel(ns3::PathLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PathLossModel const &', 'arg0')]) - ## path-loss-model.h: ns3::PathLossModel::PathLossModel() [constructor] - cls.add_constructor([]) - ## path-loss-model.h: static ns3::TypeId ns3::PathLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## path-loss-model.h: double ns3::PathLossModel::GetValue(ns3::Ptr a, ns3::Ptr b) [member function] - cls.add_method('GetValue', - 'double', - [param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')]) - ## path-loss-model.h: void ns3::PathLossModel::SetValue(double pl) [member function] - cls.add_method('SetValue', - 'void', - [param('double', 'pl')]) - return - -def register_Ns3PdcchMapIdealControlMessage_methods(root_module, cls): - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::PdcchMapIdealControlMessage(ns3::PdcchMapIdealControlMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PdcchMapIdealControlMessage const &', 'arg0')]) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::PdcchMapIdealControlMessage() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: void ns3::PdcchMapIdealControlMessage::AddNewRecord(ns3::PdcchMapIdealControlMessage::Direction direction, int subChannel, ns3::Ptr ue, double mcs) [member function] - cls.add_method('AddNewRecord', - 'void', - [param('ns3::PdcchMapIdealControlMessage::Direction', 'direction'), param('int', 'subChannel'), param('ns3::Ptr< ns3::LteNetDevice >', 'ue'), param('double', 'mcs')]) - ## ideal-control-messages.h: std::list > * ns3::PdcchMapIdealControlMessage::GetMessage() [member function] - cls.add_method('GetMessage', - 'std::list< ns3::PdcchMapIdealControlMessage::IdealPdcchRecord > *', - []) - return - -def register_Ns3PdcchMapIdealControlMessageIdealPdcchRecord_methods(root_module, cls): - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::IdealPdcchRecord() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::IdealPdcchRecord(ns3::PdcchMapIdealControlMessage::IdealPdcchRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PdcchMapIdealControlMessage::IdealPdcchRecord const &', 'arg0')]) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::m_direction [variable] - cls.add_instance_attribute('m_direction', 'ns3::PdcchMapIdealControlMessage::Direction', is_const=False) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::m_idSubChannel [variable] - cls.add_instance_attribute('m_idSubChannel', 'int', is_const=False) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::m_mcsIndex [variable] - cls.add_instance_attribute('m_mcsIndex', 'double', is_const=False) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::m_ue [variable] - cls.add_instance_attribute('m_ue', 'ns3::Ptr< ns3::LteNetDevice >', is_const=False) - return - -def register_Ns3PenetrationLossModel_methods(root_module, cls): - ## penetration-loss-model.h: ns3::PenetrationLossModel::PenetrationLossModel(ns3::PenetrationLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PenetrationLossModel const &', 'arg0')]) - ## penetration-loss-model.h: ns3::PenetrationLossModel::PenetrationLossModel() [constructor] - cls.add_constructor([]) - ## penetration-loss-model.h: static ns3::TypeId ns3::PenetrationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## penetration-loss-model.h: double ns3::PenetrationLossModel::GetValue() [member function] - cls.add_method('GetValue', - 'double', - []) - ## penetration-loss-model.h: void ns3::PenetrationLossModel::SetValue(double pnl) [member function] - cls.add_method('SetValue', - 'void', - [param('double', 'pnl')]) - return - -def register_Ns3ShadowingLossModel_methods(root_module, cls): - ## shadowing-loss-model.h: ns3::ShadowingLossModel::ShadowingLossModel(ns3::ShadowingLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ShadowingLossModel const &', 'arg0')]) - ## shadowing-loss-model.h: ns3::ShadowingLossModel::ShadowingLossModel() [constructor] - cls.add_constructor([]) - ## shadowing-loss-model.h: ns3::ShadowingLossModel::ShadowingLossModel(double mu, double sigma, double samplingPeriod) [constructor] - cls.add_constructor([param('double', 'mu'), param('double', 'sigma'), param('double', 'samplingPeriod')]) - ## shadowing-loss-model.h: static ns3::TypeId ns3::ShadowingLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## shadowing-loss-model.h: double ns3::ShadowingLossModel::GetValue() [member function] - cls.add_method('GetValue', - 'double', - []) - ## shadowing-loss-model.h: void ns3::ShadowingLossModel::SetValue(double sh) [member function] - cls.add_method('SetValue', - 'void', - [param('double', 'sh')]) - return - -def register_Ns3UeLtePhy_methods(root_module, cls): - ## ue-phy.h: ns3::UeLtePhy::UeLtePhy(ns3::UeLtePhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeLtePhy const &', 'arg0')]) - ## ue-phy.h: ns3::UeLtePhy::UeLtePhy() [constructor] - cls.add_constructor([]) - ## ue-phy.h: ns3::UeLtePhy::UeLtePhy(ns3::Ptr d) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## ue-phy.h: void ns3::UeLtePhy::CreateCqiFeedbacks(std::vector > sinr) [member function] - cls.add_method('CreateCqiFeedbacks', - 'void', - [param('std::vector< double >', 'sinr')]) - ## ue-phy.h: ns3::Ptr ns3::UeLtePhy::CreateTxPowerSpectralDensity() [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_virtual=True) - ## ue-phy.h: void ns3::UeLtePhy::DoSetUplinkSubChannels() [member function] - cls.add_method('DoSetUplinkSubChannels', - 'void', - [], - is_virtual=True) - ## ue-phy.h: std::vector > ns3::UeLtePhy::GetSubChannelsForReception() [member function] - cls.add_method('GetSubChannelsForReception', - 'std::vector< int >', - []) - ## ue-phy.h: std::vector > ns3::UeLtePhy::GetSubChannelsForTransmission() [member function] - cls.add_method('GetSubChannelsForTransmission', - 'std::vector< int >', - []) - ## ue-phy.h: static ns3::TypeId ns3::UeLtePhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ue-phy.h: void ns3::UeLtePhy::ReceiveIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('ReceiveIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_virtual=True) - ## ue-phy.h: void ns3::UeLtePhy::SendIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('SendIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_virtual=True) - ## ue-phy.h: bool ns3::UeLtePhy::SendPacket(ns3::Ptr pb) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb')], - is_virtual=True) - ## ue-phy.h: void ns3::UeLtePhy::SetSubChannelsForReception(std::vector > mask) [member function] - cls.add_method('SetSubChannelsForReception', - 'void', - [param('std::vector< int >', 'mask')]) - ## ue-phy.h: void ns3::UeLtePhy::SetSubChannelsForTransmission(std::vector > mask) [member function] - cls.add_method('SetSubChannelsForTransmission', - 'void', - [param('std::vector< int >', 'mask')]) - return - -def register_Ns3UeLteSpectrumPhy_methods(root_module, cls): - ## ue-lte-spectrum-phy.h: ns3::UeLteSpectrumPhy::UeLteSpectrumPhy(ns3::UeLteSpectrumPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeLteSpectrumPhy const &', 'arg0')]) - ## ue-lte-spectrum-phy.h: ns3::UeLteSpectrumPhy::UeLteSpectrumPhy() [constructor] - cls.add_constructor([]) - ## ue-lte-spectrum-phy.h: void ns3::UeLteSpectrumPhy::CalcSinrValues(ns3::Ptr rxPsd, ns3::Ptr noise) [member function] - cls.add_method('CalcSinrValues', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::Ptr< ns3::SpectrumValue const >', 'noise')], - is_virtual=True) - ## ue-lte-spectrum-phy.h: static ns3::TypeId ns3::UeLteSpectrumPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UeMacEntity_methods(root_module, cls): - ## ue-mac-entity.h: ns3::UeMacEntity::UeMacEntity(ns3::UeMacEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeMacEntity const &', 'arg0')]) - ## ue-mac-entity.h: ns3::UeMacEntity::UeMacEntity() [constructor] - cls.add_constructor([]) - ## ue-mac-entity.h: ns3::Ptr ns3::UeMacEntity::CreateCqiFeedbacks(std::vector > sinr) [member function] - cls.add_method('CreateCqiFeedbacks', - 'ns3::Ptr< ns3::CqiIdealControlMessage >', - [param('std::vector< double >', 'sinr')]) - ## ue-mac-entity.h: static ns3::TypeId ns3::UeMacEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3CqiIdealControlMessage_methods(root_module, cls): - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiIdealControlMessage(ns3::CqiIdealControlMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CqiIdealControlMessage const &', 'arg0')]) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiIdealControlMessage() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: void ns3::CqiIdealControlMessage::AddNewRecord(int subChannel, double cqi) [member function] - cls.add_method('AddNewRecord', - 'void', - [param('int', 'subChannel'), param('double', 'cqi')]) - ## ideal-control-messages.h: std::list > * ns3::CqiIdealControlMessage::GetMessage() [member function] - cls.add_method('GetMessage', - 'std::list< ns3::CqiIdealControlMessage::CqiFeedback > *', - []) - return - -def register_Ns3CqiIdealControlMessageCqiFeedback_methods(root_module, cls): - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback::CqiFeedback() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback::CqiFeedback(ns3::CqiIdealControlMessage::CqiFeedback const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CqiIdealControlMessage::CqiFeedback const &', 'arg0')]) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback::m_cqi [variable] - cls.add_instance_attribute('m_cqi', 'double', is_const=False) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback::m_idSubChannel [variable] - cls.add_instance_attribute('m_idSubChannel', 'int', is_const=False) - return - -def register_Ns3EnbLtePhy_methods(root_module, cls): - ## enb-phy.h: ns3::EnbLtePhy::EnbLtePhy(ns3::EnbLtePhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnbLtePhy const &', 'arg0')]) - ## enb-phy.h: ns3::EnbLtePhy::EnbLtePhy() [constructor] - cls.add_constructor([]) - ## enb-phy.h: ns3::EnbLtePhy::EnbLtePhy(ns3::Ptr d) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## enb-phy.h: void ns3::EnbLtePhy::CalcChannelQualityForUe(std::vector > sinr, ns3::Ptr ue) [member function] - cls.add_method('CalcChannelQualityForUe', - 'void', - [param('std::vector< double >', 'sinr'), param('ns3::Ptr< ns3::LteSpectrumPhy >', 'ue')]) - ## enb-phy.h: ns3::Ptr ns3::EnbLtePhy::CreateTxPowerSpectralDensity() [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_virtual=True) - ## enb-phy.h: void ns3::EnbLtePhy::DoSetDownlinkSubChannels() [member function] - cls.add_method('DoSetDownlinkSubChannels', - 'void', - [], - is_virtual=True) - ## enb-phy.h: void ns3::EnbLtePhy::EndFrame() [member function] - cls.add_method('EndFrame', - 'void', - []) - ## enb-phy.h: void ns3::EnbLtePhy::EndSubFrame() [member function] - cls.add_method('EndSubFrame', - 'void', - []) - ## enb-phy.h: static ns3::TypeId ns3::EnbLtePhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## enb-phy.h: void ns3::EnbLtePhy::ReceiveIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('ReceiveIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_virtual=True) - ## enb-phy.h: void ns3::EnbLtePhy::SendIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('SendIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_virtual=True) - ## enb-phy.h: bool ns3::EnbLtePhy::SendPacket(ns3::Ptr pb) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb')], - is_virtual=True) - ## enb-phy.h: void ns3::EnbLtePhy::StartFrame() [member function] - cls.add_method('StartFrame', - 'void', - []) - ## enb-phy.h: void ns3::EnbLtePhy::StartSubFrame() [member function] - cls.add_method('StartSubFrame', - 'void', - []) - return - -def register_Ns3EnbLteSpectrumPhy_methods(root_module, cls): - ## enb-lte-spectrum-phy.h: ns3::EnbLteSpectrumPhy::EnbLteSpectrumPhy(ns3::EnbLteSpectrumPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnbLteSpectrumPhy const &', 'arg0')]) - ## enb-lte-spectrum-phy.h: ns3::EnbLteSpectrumPhy::EnbLteSpectrumPhy() [constructor] - cls.add_constructor([]) - ## enb-lte-spectrum-phy.h: void ns3::EnbLteSpectrumPhy::CalcSinrValues(ns3::Ptr rxPsd, ns3::Ptr noise) [member function] - cls.add_method('CalcSinrValues', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::Ptr< ns3::SpectrumValue const >', 'noise')], - is_virtual=True) - ## enb-lte-spectrum-phy.h: static ns3::TypeId ns3::EnbLteSpectrumPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3EnbMacEntity_methods(root_module, cls): - ## enb-mac-entity.h: ns3::EnbMacEntity::EnbMacEntity(ns3::EnbMacEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnbMacEntity const &', 'arg0')]) - ## enb-mac-entity.h: ns3::EnbMacEntity::EnbMacEntity() [constructor] - cls.add_constructor([]) - ## enb-mac-entity.h: void ns3::EnbMacEntity::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## enb-mac-entity.h: ns3::Ptr ns3::EnbMacEntity::GetDownlinkPacketScheduler() [member function] - cls.add_method('GetDownlinkPacketScheduler', - 'ns3::Ptr< ns3::PacketScheduler >', - []) - ## enb-mac-entity.h: static ns3::TypeId ns3::EnbMacEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## enb-mac-entity.h: ns3::Ptr ns3::EnbMacEntity::GetUplinkPacketScheduler() [member function] - cls.add_method('GetUplinkPacketScheduler', - 'ns3::Ptr< ns3::PacketScheduler >', - []) - ## enb-mac-entity.h: void ns3::EnbMacEntity::ReceiveCqiIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('ReceiveCqiIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::CqiIdealControlMessage >', 'msg')]) - ## enb-mac-entity.h: void ns3::EnbMacEntity::SendPdcchMapIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('SendPdcchMapIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::PdcchMapIdealControlMessage >', 'msg')]) - ## enb-mac-entity.h: void ns3::EnbMacEntity::SetDownlinkPacketScheduler(ns3::Ptr s) [member function] - cls.add_method('SetDownlinkPacketScheduler', - 'void', - [param('ns3::Ptr< ns3::PacketScheduler >', 's')]) - ## enb-mac-entity.h: void ns3::EnbMacEntity::SetUplinkPacketScheduler(ns3::Ptr s) [member function] - cls.add_method('SetUplinkPacketScheduler', - 'void', - [param('ns3::Ptr< ns3::PacketScheduler >', 's')]) - return - -def register_Ns3LteNetDevice_methods(root_module, cls): - ## lte-net-device.h: static ns3::TypeId ns3::LteNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-net-device.h: ns3::LteNetDevice::LteNetDevice() [constructor] - cls.add_constructor([]) - ## lte-net-device.h: void ns3::LteNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetGenericPhyTxStartCallback(ns3::GenericPhyTxStartCallback c) [member function] - cls.add_method('SetGenericPhyTxStartCallback', - 'void', - [param('ns3::GenericPhyTxStartCallback', 'c')]) - ## lte-net-device.h: void ns3::LteNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::LtePhy >', - [], - is_const=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetRrcEntity(ns3::Ptr rrc) [member function] - cls.add_method('SetRrcEntity', - 'void', - [param('ns3::Ptr< ns3::RrcEntity >', 'rrc')]) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetRrcEntity() [member function] - cls.add_method('GetRrcEntity', - 'ns3::Ptr< ns3::RrcEntity >', - []) - ## lte-net-device.h: void ns3::LteNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## lte-net-device.h: uint32_t ns3::LteNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## lte-net-device.h: uint16_t ns3::LteNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## lte-net-device.h: ns3::Address ns3::LteNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::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')], - is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: ns3::Address ns3::LteNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## lte-net-device.h: ns3::Address ns3::LteNetDevice::GetMulticast(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'addr')], - is_const=True, is_virtual=True) - ## lte-net-device.h: ns3::Address ns3::LteNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::Receive(ns3::Ptr p) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## lte-net-device.h: void ns3::LteNetDevice::ForwardUp(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest')]) - ## lte-net-device.h: void ns3::LteNetDevice::ForwardUp(ns3::Ptr packet) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - ## lte-net-device.h: void ns3::LteNetDevice::SetPacketToSend(ns3::Ptr p) [member function] - cls.add_method('SetPacketToSend', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p')]) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetPacketToSend() [member function] - cls.add_method('GetPacketToSend', - 'ns3::Ptr< ns3::PacketBurst >', - []) - ## lte-net-device.h: void ns3::LteNetDevice::StartTransmission() [member function] - cls.add_method('StartTransmission', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::SendPacket(ns3::Ptr p) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'p')], - is_pure_virtual=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::DoReceive(ns3::Ptr p) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3UeNetDevice_methods(root_module, cls): - ## ue-net-device.h: static ns3::TypeId ns3::UeNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ue-net-device.h: ns3::UeNetDevice::UeNetDevice() [constructor] - cls.add_constructor([]) - ## ue-net-device.h: ns3::UeNetDevice::UeNetDevice(ns3::Ptr node, ns3::Ptr phy) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## ue-net-device.h: ns3::UeNetDevice::UeNetDevice(ns3::Ptr node, ns3::Ptr phy, ns3::Ptr targetEnb) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::LtePhy >', 'phy'), param('ns3::Ptr< ns3::EnbNetDevice >', 'targetEnb')]) - ## ue-net-device.h: void ns3::UeNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## ue-net-device.h: void ns3::UeNetDevice::SetMacEntity(ns3::Ptr m) [member function] - cls.add_method('SetMacEntity', - 'void', - [param('ns3::Ptr< ns3::UeMacEntity >', 'm')]) - ## ue-net-device.h: ns3::Ptr ns3::UeNetDevice::GetMacEntity() [member function] - cls.add_method('GetMacEntity', - 'ns3::Ptr< ns3::UeMacEntity >', - []) - ## ue-net-device.h: void ns3::UeNetDevice::InitUeNetDevice() [member function] - cls.add_method('InitUeNetDevice', - 'void', - []) - ## ue-net-device.h: void ns3::UeNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## ue-net-device.h: void ns3::UeNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## ue-net-device.h: void ns3::UeNetDevice::SetTargetEnb(ns3::Ptr enb) [member function] - cls.add_method('SetTargetEnb', - 'void', - [param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## ue-net-device.h: ns3::Ptr ns3::UeNetDevice::GetTargetEnb() [member function] - cls.add_method('GetTargetEnb', - 'ns3::Ptr< ns3::EnbNetDevice >', - []) - ## ue-net-device.h: void ns3::UeNetDevice::StartTransmission() [member function] - cls.add_method('StartTransmission', - 'void', - [], - is_virtual=True) - ## ue-net-device.h: bool ns3::UeNetDevice::SendPacket(ns3::Ptr p) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'p')], - is_virtual=True) - ## ue-net-device.h: bool ns3::UeNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='private', is_virtual=True) - ## ue-net-device.h: void ns3::UeNetDevice::DoReceive(ns3::Ptr p) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - return - -def register_Ns3EnbNetDevice_methods(root_module, cls): - ## enb-net-device.h: static ns3::TypeId ns3::EnbNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## enb-net-device.h: ns3::EnbNetDevice::EnbNetDevice() [constructor] - cls.add_constructor([]) - ## enb-net-device.h: ns3::EnbNetDevice::EnbNetDevice(ns3::Ptr node, ns3::Ptr phy) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## enb-net-device.h: void ns3::EnbNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::InitEnbNetDevice() [member function] - cls.add_method('InitEnbNetDevice', - 'void', - []) - ## enb-net-device.h: void ns3::EnbNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::SetUeManager(ns3::Ptr m) [member function] - cls.add_method('SetUeManager', - 'void', - [param('ns3::Ptr< ns3::UeManager >', 'm')]) - ## enb-net-device.h: ns3::Ptr ns3::EnbNetDevice::GetUeManager() [member function] - cls.add_method('GetUeManager', - 'ns3::Ptr< ns3::UeManager >', - []) - ## enb-net-device.h: void ns3::EnbNetDevice::SetMacEntity(ns3::Ptr m) [member function] - cls.add_method('SetMacEntity', - 'void', - [param('ns3::Ptr< ns3::EnbMacEntity >', 'm')]) - ## enb-net-device.h: ns3::Ptr ns3::EnbNetDevice::GetMacEntity() [member function] - cls.add_method('GetMacEntity', - 'ns3::Ptr< ns3::EnbMacEntity >', - []) - ## enb-net-device.h: void ns3::EnbNetDevice::StartTransmission() [member function] - cls.add_method('StartTransmission', - 'void', - [], - is_virtual=True) - ## enb-net-device.h: bool ns3::EnbNetDevice::SendPacket(ns3::Ptr p) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'p')], - is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::SendIdealPdcchMessage() [member function] - cls.add_method('SendIdealPdcchMessage', - 'void', - []) - ## enb-net-device.h: bool ns3::EnbNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='private', is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::DoReceive(ns3::Ptr p) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py deleted file mode 100644 index 80d4cf0eb..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_mesh.py +++ /dev/null @@ -1,2526 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## mesh-helper.h: ns3::MeshHelper [class] - module.add_class('MeshHelper') - ## mesh-helper.h: ns3::MeshHelper::ChannelPolicy [enumeration] - module.add_enum('ChannelPolicy', ['SPREAD_CHANNELS', 'ZERO_CHANNEL'], outer_class=root_module['ns3::MeshHelper']) - ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon [class] - module.add_class('MeshWifiBeacon') - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::MeshWifiInterfaceMacPlugin', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::dot11s::DestinationAddressUnit', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::dot11s::IeBeaconTimingUnit', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## mesh-information-element-vector.h: ns3::MeshInformationElementVector [class] - module.add_class('MeshInformationElementVector', parent=root_module['ns3::WifiInformationElementVector']) - ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol [class] - module.add_class('MeshL2RoutingProtocol', parent=root_module['ns3::Object']) - ## mesh-stack-installer.h: ns3::MeshStack [class] - module.add_class('MeshStack', parent=root_module['ns3::Object']) - ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin [class] - module.add_class('MeshWifiInterfaceMacPlugin', parent=root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty, ns3::DefaultDeleter >']) - ## dot11s-installer.h: ns3::Dot11sStack [class] - module.add_class('Dot11sStack', parent=root_module['ns3::MeshStack']) - ## flame-installer.h: ns3::FlameStack [class] - module.add_class('FlameStack', parent=root_module['ns3::MeshStack']) - ## mesh-point-device.h: ns3::MeshPointDevice [class] - module.add_class('MeshPointDevice', parent=root_module['ns3::NetDevice']) - ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac [class] - module.add_class('MeshWifiInterfaceMac', parent=root_module['ns3::RegularWifiMac']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sCongestionControlMode [enumeration] - module.add_enum('dot11sCongestionControlMode', ['CONGESTION_SIGNALING', 'CONGESTION_NULL']) - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sAuthenticationProtocol [enumeration] - module.add_enum('dot11sAuthenticationProtocol', ['AUTH_NULL', 'AUTH_SAE']) - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionProtocol [enumeration] - module.add_enum('dot11sPathSelectionProtocol', ['PROTOCOL_HWMP']) - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sSynchronizationProtocolIdentifier [enumeration] - module.add_enum('dot11sSynchronizationProtocolIdentifier', ['SYNC_NEIGHBOUR_OFFSET', 'SYNC_NULL']) - ## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode [enumeration] - module.add_enum('PmpReasonCode', ['REASON11S_PEERING_CANCELLED', 'REASON11S_MESH_MAX_PEERS', 'REASON11S_MESH_CAPABILITY_POLICY_VIOLATION', 'REASON11S_MESH_CLOSE_RCVD', 'REASON11S_MESH_MAX_RETRIES', 'REASON11S_MESH_CONFIRM_TIMEOUT', 'REASON11S_MESH_INVALID_GTK', 'REASON11S_MESH_INCONSISTENT_PARAMETERS', 'REASON11S_MESH_INVALID_SECURITY_CAPABILITY', 'REASON11S_RESERVED']) - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionMetric [enumeration] - module.add_enum('dot11sPathSelectionMetric', ['METRIC_AIRTIME']) - ## ie-dot11s-preq.h: ns3::dot11s::DestinationAddressUnit [class] - module.add_class('DestinationAddressUnit', parent=root_module['ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter >']) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability [class] - module.add_class('Dot11sMeshCapability') - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol [class] - module.add_class('HwmpProtocol', parent=root_module['ns3::MeshL2RoutingProtocol']) - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination [struct] - module.add_class('FailedDestination', outer_class=root_module['ns3::dot11s::HwmpProtocol']) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable [class] - module.add_class('HwmpRtable', parent=root_module['ns3::Object']) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult [struct] - module.add_class('LookupResult', outer_class=root_module['ns3::dot11s::HwmpRtable']) - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming [class] - module.add_class('IeBeaconTiming', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit [class] - module.add_class('IeBeaconTimingUnit', parent=root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter >']) - ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration [class] - module.add_class('IeConfiguration', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-metric-report.h: ns3::dot11s::IeLinkMetricReport [class] - module.add_class('IeLinkMetricReport', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId [class] - module.add_class('IeMeshId', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker [class] - module.add_class('IeMeshIdChecker', parent=root_module['ns3::AttributeChecker']) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue [class] - module.add_class('IeMeshIdValue', parent=root_module['ns3::AttributeValue']) - ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement [class] - module.add_class('IePeerManagement', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::Subtype [enumeration] - module.add_enum('Subtype', ['PEER_OPEN', 'PEER_CONFIRM', 'PEER_CLOSE'], outer_class=root_module['ns3::dot11s::IePeerManagement']) - ## ie-dot11s-peering-protocol.h: ns3::dot11s::IePeeringProtocol [class] - module.add_class('IePeeringProtocol', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-perr.h: ns3::dot11s::IePerr [class] - module.add_class('IePerr', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-prep.h: ns3::dot11s::IePrep [class] - module.add_class('IePrep', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-preq.h: ns3::dot11s::IePreq [class] - module.add_class('IePreq', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-rann.h: ns3::dot11s::IeRann [class] - module.add_class('IeRann', parent=root_module['ns3::WifiInformationElement']) - ## dot11s-mac-header.h: ns3::dot11s::MeshHeader [class] - module.add_class('MeshHeader', parent=root_module['ns3::Header']) - ## peer-link.h: ns3::dot11s::PeerLink [class] - module.add_class('PeerLink', parent=root_module['ns3::Object']) - ## peer-link.h: ns3::dot11s::PeerLink::PeerState [enumeration] - module.add_enum('PeerState', ['IDLE', 'OPN_SNT', 'CNF_RCVD', 'OPN_RCVD', 'ESTAB', 'HOLDING'], outer_class=root_module['ns3::dot11s::PeerLink']) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart [class] - module.add_class('PeerLinkFrameStart', parent=root_module['ns3::Header']) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields [struct] - module.add_class('PlinkFrameStartFields', outer_class=root_module['ns3::dot11s::PeerLinkFrameStart']) - ## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol [class] - module.add_class('PeerManagementProtocol', parent=root_module['ns3::Object']) - module.add_container('std::vector< ns3::dot11s::HwmpProtocol::FailedDestination >', 'ns3::dot11s::HwmpProtocol::FailedDestination', container_type='vector') - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - ## flame-header.h: ns3::flame::FlameHeader [class] - module.add_class('FlameHeader', parent=root_module['ns3::Header']) - ## flame-protocol.h: ns3::flame::FlameProtocol [class] - module.add_class('FlameProtocol', parent=root_module['ns3::MeshL2RoutingProtocol']) - ## flame-protocol-mac.h: ns3::flame::FlameProtocolMac [class] - module.add_class('FlameProtocolMac', parent=root_module['ns3::MeshWifiInterfaceMacPlugin']) - ## flame-rtable.h: ns3::flame::FlameRtable [class] - module.add_class('FlameRtable', parent=root_module['ns3::Object']) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult [struct] - module.add_class('LookupResult', outer_class=root_module['ns3::flame::FlameRtable']) - ## flame-protocol.h: ns3::flame::FlameTag [class] - module.add_class('FlameTag', parent=root_module['ns3::Tag']) - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3MeshHelper_methods(root_module, root_module['ns3::MeshHelper']) - register_Ns3MeshWifiBeacon_methods(root_module, root_module['ns3::MeshWifiBeacon']) - register_Ns3MeshInformationElementVector_methods(root_module, root_module['ns3::MeshInformationElementVector']) - register_Ns3MeshL2RoutingProtocol_methods(root_module, root_module['ns3::MeshL2RoutingProtocol']) - register_Ns3MeshStack_methods(root_module, root_module['ns3::MeshStack']) - register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, root_module['ns3::MeshWifiInterfaceMacPlugin']) - register_Ns3Dot11sStack_methods(root_module, root_module['ns3::Dot11sStack']) - register_Ns3FlameStack_methods(root_module, root_module['ns3::FlameStack']) - register_Ns3MeshPointDevice_methods(root_module, root_module['ns3::MeshPointDevice']) - register_Ns3MeshWifiInterfaceMac_methods(root_module, root_module['ns3::MeshWifiInterfaceMac']) - register_Ns3Dot11sDestinationAddressUnit_methods(root_module, root_module['ns3::dot11s::DestinationAddressUnit']) - register_Ns3Dot11sDot11sMeshCapability_methods(root_module, root_module['ns3::dot11s::Dot11sMeshCapability']) - register_Ns3Dot11sHwmpProtocol_methods(root_module, root_module['ns3::dot11s::HwmpProtocol']) - register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, root_module['ns3::dot11s::HwmpProtocol::FailedDestination']) - register_Ns3Dot11sHwmpRtable_methods(root_module, root_module['ns3::dot11s::HwmpRtable']) - register_Ns3Dot11sHwmpRtableLookupResult_methods(root_module, root_module['ns3::dot11s::HwmpRtable::LookupResult']) - register_Ns3Dot11sIeBeaconTiming_methods(root_module, root_module['ns3::dot11s::IeBeaconTiming']) - register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, root_module['ns3::dot11s::IeBeaconTimingUnit']) - register_Ns3Dot11sIeConfiguration_methods(root_module, root_module['ns3::dot11s::IeConfiguration']) - register_Ns3Dot11sIeLinkMetricReport_methods(root_module, root_module['ns3::dot11s::IeLinkMetricReport']) - register_Ns3Dot11sIeMeshId_methods(root_module, root_module['ns3::dot11s::IeMeshId']) - register_Ns3Dot11sIeMeshIdChecker_methods(root_module, root_module['ns3::dot11s::IeMeshIdChecker']) - register_Ns3Dot11sIeMeshIdValue_methods(root_module, root_module['ns3::dot11s::IeMeshIdValue']) - register_Ns3Dot11sIePeerManagement_methods(root_module, root_module['ns3::dot11s::IePeerManagement']) - register_Ns3Dot11sIePeeringProtocol_methods(root_module, root_module['ns3::dot11s::IePeeringProtocol']) - register_Ns3Dot11sIePerr_methods(root_module, root_module['ns3::dot11s::IePerr']) - register_Ns3Dot11sIePrep_methods(root_module, root_module['ns3::dot11s::IePrep']) - register_Ns3Dot11sIePreq_methods(root_module, root_module['ns3::dot11s::IePreq']) - register_Ns3Dot11sIeRann_methods(root_module, root_module['ns3::dot11s::IeRann']) - register_Ns3Dot11sMeshHeader_methods(root_module, root_module['ns3::dot11s::MeshHeader']) - register_Ns3Dot11sPeerLink_methods(root_module, root_module['ns3::dot11s::PeerLink']) - register_Ns3Dot11sPeerLinkFrameStart_methods(root_module, root_module['ns3::dot11s::PeerLinkFrameStart']) - register_Ns3Dot11sPeerLinkFrameStartPlinkFrameStartFields_methods(root_module, root_module['ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields']) - register_Ns3Dot11sPeerManagementProtocol_methods(root_module, root_module['ns3::dot11s::PeerManagementProtocol']) - register_Ns3FlameFlameHeader_methods(root_module, root_module['ns3::flame::FlameHeader']) - register_Ns3FlameFlameProtocol_methods(root_module, root_module['ns3::flame::FlameProtocol']) - register_Ns3FlameFlameProtocolMac_methods(root_module, root_module['ns3::flame::FlameProtocolMac']) - register_Ns3FlameFlameRtable_methods(root_module, root_module['ns3::flame::FlameRtable']) - register_Ns3FlameFlameRtableLookupResult_methods(root_module, root_module['ns3::flame::FlameRtable::LookupResult']) - register_Ns3FlameFlameTag_methods(root_module, root_module['ns3::flame::FlameTag']) - return - -def register_Ns3MeshHelper_methods(root_module, cls): - ## mesh-helper.h: ns3::MeshHelper::MeshHelper(ns3::MeshHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshHelper const &', 'arg0')]) - ## mesh-helper.h: ns3::MeshHelper::MeshHelper() [constructor] - cls.add_constructor([]) - ## mesh-helper.h: static ns3::MeshHelper ns3::MeshHelper::Default() [member function] - cls.add_method('Default', - 'ns3::MeshHelper', - [], - is_static=True) - ## mesh-helper.h: ns3::NetDeviceContainer ns3::MeshHelper::Install(ns3::WifiPhyHelper const & phyHelper, ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::WifiPhyHelper const &', 'phyHelper'), param('ns3::NodeContainer', 'c')], - is_const=True) - ## mesh-helper.h: void ns3::MeshHelper::Report(ns3::Ptr const & arg0, std::ostream & arg1) [member function] - cls.add_method('Report', - 'void', - [param('ns3::Ptr< ns3::NetDevice > const &', 'arg0'), param('std::ostream &', 'arg1')]) - ## mesh-helper.h: void ns3::MeshHelper::ResetStats(ns3::Ptr const & arg0) [member function] - cls.add_method('ResetStats', - 'void', - [param('ns3::Ptr< ns3::NetDevice > const &', 'arg0')]) - ## mesh-helper.h: void ns3::MeshHelper::SetMacType(std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetMacType', - 'void', - [param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## mesh-helper.h: void ns3::MeshHelper::SetNumberOfInterfaces(uint32_t nInterfaces) [member function] - cls.add_method('SetNumberOfInterfaces', - 'void', - [param('uint32_t', 'nInterfaces')]) - ## mesh-helper.h: void ns3::MeshHelper::SetRemoteStationManager(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetRemoteStationManager', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## mesh-helper.h: void ns3::MeshHelper::SetSpreadInterfaceChannels(ns3::MeshHelper::ChannelPolicy arg0) [member function] - cls.add_method('SetSpreadInterfaceChannels', - 'void', - [param('ns3::MeshHelper::ChannelPolicy', 'arg0')]) - ## mesh-helper.h: void ns3::MeshHelper::SetStackInstaller(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetStackInstaller', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## mesh-helper.h: void ns3::MeshHelper::SetStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('SetStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')]) - return - -def register_Ns3MeshWifiBeacon_methods(root_module, cls): - ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon::MeshWifiBeacon(ns3::MeshWifiBeacon const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshWifiBeacon const &', 'arg0')]) - ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon::MeshWifiBeacon(ns3::Ssid ssid, ns3::SupportedRates rates, uint64_t us) [constructor] - cls.add_constructor([param('ns3::Ssid', 'ssid'), param('ns3::SupportedRates', 'rates'), param('uint64_t', 'us')]) - ## mesh-wifi-beacon.h: void ns3::MeshWifiBeacon::AddInformationElement(ns3::Ptr ie) [member function] - cls.add_method('AddInformationElement', - 'void', - [param('ns3::Ptr< ns3::WifiInformationElement >', 'ie')]) - ## mesh-wifi-beacon.h: ns3::MgtBeaconHeader ns3::MeshWifiBeacon::BeaconHeader() const [member function] - cls.add_method('BeaconHeader', - 'ns3::MgtBeaconHeader', - [], - is_const=True) - ## mesh-wifi-beacon.h: ns3::WifiMacHeader ns3::MeshWifiBeacon::CreateHeader(ns3::Mac48Address address, ns3::Mac48Address mpAddress) [member function] - cls.add_method('CreateHeader', - 'ns3::WifiMacHeader', - [param('ns3::Mac48Address', 'address'), param('ns3::Mac48Address', 'mpAddress')]) - ## mesh-wifi-beacon.h: ns3::Ptr ns3::MeshWifiBeacon::CreatePacket() [member function] - cls.add_method('CreatePacket', - 'ns3::Ptr< ns3::Packet >', - []) - ## mesh-wifi-beacon.h: ns3::Time ns3::MeshWifiBeacon::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'ns3::Time', - [], - is_const=True) - return - -def register_Ns3MeshInformationElementVector_methods(root_module, cls): - ## mesh-information-element-vector.h: ns3::MeshInformationElementVector::MeshInformationElementVector() [constructor] - cls.add_constructor([]) - ## mesh-information-element-vector.h: ns3::MeshInformationElementVector::MeshInformationElementVector(ns3::MeshInformationElementVector const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshInformationElementVector const &', 'arg0')]) - ## mesh-information-element-vector.h: uint32_t ns3::MeshInformationElementVector::DeserializeSingleIe(ns3::Buffer::Iterator start) [member function] - cls.add_method('DeserializeSingleIe', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - return - -def register_Ns3MeshL2RoutingProtocol_methods(root_module, cls): - ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol::MeshL2RoutingProtocol() [constructor] - cls.add_constructor([]) - ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol::MeshL2RoutingProtocol(ns3::MeshL2RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshL2RoutingProtocol const &', 'arg0')]) - ## mesh-l2-routing-protocol.h: ns3::Ptr ns3::MeshL2RoutingProtocol::GetMeshPoint() const [member function] - cls.add_method('GetMeshPoint', - 'ns3::Ptr< ns3::MeshPointDevice >', - [], - is_const=True) - ## mesh-l2-routing-protocol.h: static ns3::TypeId ns3::MeshL2RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mesh-l2-routing-protocol.h: bool ns3::MeshL2RoutingProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function] - cls.add_method('RemoveRoutingStuff', - 'bool', - [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], - is_pure_virtual=True, is_virtual=True) - ## mesh-l2-routing-protocol.h: bool ns3::MeshL2RoutingProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] - cls.add_method('RequestRoute', - 'bool', - [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], - is_pure_virtual=True, is_virtual=True) - ## mesh-l2-routing-protocol.h: void ns3::MeshL2RoutingProtocol::SetMeshPoint(ns3::Ptr mp) [member function] - cls.add_method('SetMeshPoint', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')]) - return - -def register_Ns3MeshStack_methods(root_module, cls): - ## mesh-stack-installer.h: ns3::MeshStack::MeshStack() [constructor] - cls.add_constructor([]) - ## mesh-stack-installer.h: ns3::MeshStack::MeshStack(ns3::MeshStack const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshStack const &', 'arg0')]) - ## mesh-stack-installer.h: bool ns3::MeshStack::InstallStack(ns3::Ptr mp) [member function] - cls.add_method('InstallStack', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')], - is_pure_virtual=True, is_virtual=True) - ## mesh-stack-installer.h: void ns3::MeshStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function] - cls.add_method('Report', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')], - is_pure_virtual=True, is_virtual=True) - ## mesh-stack-installer.h: void ns3::MeshStack::ResetStats(ns3::Ptr const mp) [member function] - cls.add_method('ResetStats', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, cls): - ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin() [constructor] - cls.add_constructor([]) - ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin(ns3::MeshWifiInterfaceMacPlugin const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshWifiInterfaceMacPlugin const &', 'arg0')]) - ## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::Receive(ns3::Ptr packet, ns3::WifiMacHeader const & header) [member function] - cls.add_method('Receive', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')], - is_pure_virtual=True, is_virtual=True) - ## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::SetParent(ns3::Ptr parent) [member function] - cls.add_method('SetParent', - 'void', - [param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')], - is_pure_virtual=True, is_virtual=True) - ## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function] - cls.add_method('UpdateBeacon', - 'void', - [param('ns3::MeshWifiBeacon &', 'beacon')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::UpdateOutcomingFrame(ns3::Ptr packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function] - cls.add_method('UpdateOutcomingFrame', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Dot11sStack_methods(root_module, cls): - ## dot11s-installer.h: ns3::Dot11sStack::Dot11sStack(ns3::Dot11sStack const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Dot11sStack const &', 'arg0')]) - ## dot11s-installer.h: ns3::Dot11sStack::Dot11sStack() [constructor] - cls.add_constructor([]) - ## dot11s-installer.h: void ns3::Dot11sStack::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## dot11s-installer.h: static ns3::TypeId ns3::Dot11sStack::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dot11s-installer.h: bool ns3::Dot11sStack::InstallStack(ns3::Ptr mp) [member function] - cls.add_method('InstallStack', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')], - is_virtual=True) - ## dot11s-installer.h: void ns3::Dot11sStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function] - cls.add_method('Report', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')], - is_virtual=True) - ## dot11s-installer.h: void ns3::Dot11sStack::ResetStats(ns3::Ptr const mp) [member function] - cls.add_method('ResetStats', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')], - is_virtual=True) - return - -def register_Ns3FlameStack_methods(root_module, cls): - ## flame-installer.h: ns3::FlameStack::FlameStack(ns3::FlameStack const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlameStack const &', 'arg0')]) - ## flame-installer.h: ns3::FlameStack::FlameStack() [constructor] - cls.add_constructor([]) - ## flame-installer.h: void ns3::FlameStack::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## flame-installer.h: static ns3::TypeId ns3::FlameStack::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-installer.h: bool ns3::FlameStack::InstallStack(ns3::Ptr mp) [member function] - cls.add_method('InstallStack', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')], - is_virtual=True) - ## flame-installer.h: void ns3::FlameStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function] - cls.add_method('Report', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')], - is_virtual=True) - ## flame-installer.h: void ns3::FlameStack::ResetStats(ns3::Ptr const mp) [member function] - cls.add_method('ResetStats', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')], - is_virtual=True) - return - -def register_Ns3MeshPointDevice_methods(root_module, cls): - ## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice(ns3::MeshPointDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshPointDevice const &', 'arg0')]) - ## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice() [constructor] - cls.add_constructor([]) - ## mesh-point-device.h: void ns3::MeshPointDevice::AddInterface(ns3::Ptr port) [member function] - cls.add_method('AddInterface', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'port')]) - ## mesh-point-device.h: void ns3::MeshPointDevice::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')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: uint32_t ns3::MeshPointDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetInterface(uint32_t id) const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'id')], - is_const=True) - ## mesh-point-device.h: std::vector, std::allocator > > ns3::MeshPointDevice::GetInterfaces() const [member function] - cls.add_method('GetInterfaces', - 'std::vector< ns3::Ptr< ns3::NetDevice > >', - [], - is_const=True) - ## mesh-point-device.h: uint16_t ns3::MeshPointDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## mesh-point-device.h: uint32_t ns3::MeshPointDevice::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True) - ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::MeshL2RoutingProtocol >', - [], - is_const=True) - ## mesh-point-device.h: static ns3::TypeId ns3::MeshPointDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::Report(std::ostream & os) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## mesh-point-device.h: bool ns3::MeshPointDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetAddress(ns3::Address a) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'a')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetRoutingProtocol(ns3::Ptr protocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::MeshL2RoutingProtocol >', 'protocol')]) - ## mesh-point-device.h: bool ns3::MeshPointDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - return - -def register_Ns3MeshWifiInterfaceMac_methods(root_module, cls): - ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac::MeshWifiInterfaceMac() [constructor] - cls.add_constructor([]) - ## mesh-wifi-interface-mac.h: bool ns3::MeshWifiInterfaceMac::CheckSupportedRates(ns3::SupportedRates rates) const [member function] - cls.add_method('CheckSupportedRates', - 'bool', - [param('ns3::SupportedRates', 'rates')], - is_const=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')], - is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('FinishConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - is_virtual=True) - ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'ns3::Time', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: uint16_t ns3::MeshWifiInterfaceMac::GetFrequencyChannel() const [member function] - cls.add_method('GetFrequencyChannel', - 'uint16_t', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: uint32_t ns3::MeshWifiInterfaceMac::GetLinkMetric(ns3::Mac48Address peerAddress) [member function] - cls.add_method('GetLinkMetric', - 'uint32_t', - [param('ns3::Mac48Address', 'peerAddress')]) - ## mesh-wifi-interface-mac.h: ns3::Mac48Address ns3::MeshWifiInterfaceMac::GetMeshPointAddress() const [member function] - cls.add_method('GetMeshPointAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: ns3::WifiPhyStandard ns3::MeshWifiInterfaceMac::GetPhyStandard() const [member function] - cls.add_method('GetPhyStandard', - 'ns3::WifiPhyStandard', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: ns3::SupportedRates ns3::MeshWifiInterfaceMac::GetSupportedRates() const [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetTbtt() const [member function] - cls.add_method('GetTbtt', - 'ns3::Time', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: static ns3::TypeId ns3::MeshWifiInterfaceMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::InstallPlugin(ns3::Ptr plugin) [member function] - cls.add_method('InstallPlugin', - 'void', - [param('ns3::Ptr< ns3::MeshWifiInterfaceMacPlugin >', 'plugin')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SendManagementFrame(ns3::Ptr frame, ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('SendManagementFrame', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'frame'), param('ns3::WifiMacHeader const &', 'hdr')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetBeaconGeneration(bool enable) [member function] - cls.add_method('SetBeaconGeneration', - 'void', - [param('bool', 'enable')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetBeaconInterval(ns3::Time interval) [member function] - cls.add_method('SetBeaconInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkMetricCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetLinkMetricCallback', - 'void', - [param('ns3::Callback< unsigned int, ns3::Mac48Address, ns3::Ptr< ns3::MeshWifiInterfaceMac >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetMeshPointAddress(ns3::Mac48Address arg0) [member function] - cls.add_method('SetMeshPointAddress', - 'void', - [param('ns3::Mac48Address', 'arg0')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetRandomStartDelay(ns3::Time interval) [member function] - cls.add_method('SetRandomStartDelay', - 'void', - [param('ns3::Time', 'interval')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ShiftTbtt(ns3::Time shift) [member function] - cls.add_method('ShiftTbtt', - 'void', - [param('ns3::Time', 'shift')]) - ## mesh-wifi-interface-mac.h: bool ns3::MeshWifiInterfaceMac::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SwitchFrequencyChannel(uint16_t new_id) [member function] - cls.add_method('SwitchFrequencyChannel', - 'void', - [param('uint16_t', 'new_id')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - return - -def register_Ns3Dot11sDestinationAddressUnit_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## ie-dot11s-preq.h: ns3::dot11s::DestinationAddressUnit::DestinationAddressUnit(ns3::dot11s::DestinationAddressUnit const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::DestinationAddressUnit const &', 'arg0')]) - ## ie-dot11s-preq.h: ns3::dot11s::DestinationAddressUnit::DestinationAddressUnit() [constructor] - cls.add_constructor([]) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::DestinationAddressUnit::GetDestSeqNumber() const [member function] - cls.add_method('GetDestSeqNumber', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: ns3::Mac48Address ns3::dot11s::DestinationAddressUnit::GetDestinationAddress() const [member function] - cls.add_method('GetDestinationAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ie-dot11s-preq.h: bool ns3::dot11s::DestinationAddressUnit::IsDo() [member function] - cls.add_method('IsDo', - 'bool', - []) - ## ie-dot11s-preq.h: bool ns3::dot11s::DestinationAddressUnit::IsRf() [member function] - cls.add_method('IsRf', - 'bool', - []) - ## ie-dot11s-preq.h: bool ns3::dot11s::DestinationAddressUnit::IsUsn() [member function] - cls.add_method('IsUsn', - 'bool', - []) - ## ie-dot11s-preq.h: void ns3::dot11s::DestinationAddressUnit::SetDestSeqNumber(uint32_t dest_seq_number) [member function] - cls.add_method('SetDestSeqNumber', - 'void', - [param('uint32_t', 'dest_seq_number')]) - ## ie-dot11s-preq.h: void ns3::dot11s::DestinationAddressUnit::SetDestinationAddress(ns3::Mac48Address dest_address) [member function] - cls.add_method('SetDestinationAddress', - 'void', - [param('ns3::Mac48Address', 'dest_address')]) - ## ie-dot11s-preq.h: void ns3::dot11s::DestinationAddressUnit::SetFlags(bool doFlag, bool rfFlag, bool usnFlag) [member function] - cls.add_method('SetFlags', - 'void', - [param('bool', 'doFlag'), param('bool', 'rfFlag'), param('bool', 'usnFlag')]) - return - -def register_Ns3Dot11sDot11sMeshCapability_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability(ns3::dot11s::Dot11sMeshCapability const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::Dot11sMeshCapability const &', 'arg0')]) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability() [constructor] - cls.add_constructor([]) - ## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Deserialize(ns3::Buffer::Iterator i) [member function] - cls.add_method('Deserialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')]) - ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::Dot11sMeshCapability::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-configuration.h: uint16_t ns3::dot11s::Dot11sMeshCapability::GetUint16() const [member function] - cls.add_method('GetUint16', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-configuration.h: bool ns3::dot11s::Dot11sMeshCapability::Is(uint16_t cap, uint8_t n) const [member function] - cls.add_method('Is', - 'bool', - [param('uint16_t', 'cap'), param('uint8_t', 'n')], - is_const=True) - ## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Serialize(ns3::Buffer::Iterator i) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCAEnabled [variable] - cls.add_instance_attribute('MCCAEnabled', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCASupported [variable] - cls.add_instance_attribute('MCCASupported', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::TBTTAdjustment [variable] - cls.add_instance_attribute('TBTTAdjustment', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::acceptPeerLinks [variable] - cls.add_instance_attribute('acceptPeerLinks', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::beaconTimingReport [variable] - cls.add_instance_attribute('beaconTimingReport', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::forwarding [variable] - cls.add_instance_attribute('forwarding', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::powerSaveLevel [variable] - cls.add_instance_attribute('powerSaveLevel', 'bool', is_const=False) - return - -def register_Ns3Dot11sHwmpProtocol_methods(root_module, cls): - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::HwmpProtocol() [constructor] - cls.add_constructor([]) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## hwmp-protocol.h: static ns3::TypeId ns3::dot11s::HwmpProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::Install(ns3::Ptr arg0) [member function] - cls.add_method('Install', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::PeerLinkStatus(ns3::Mac48Address meshPontAddress, ns3::Mac48Address peerAddress, uint32_t interface, bool status) [member function] - cls.add_method('PeerLinkStatus', - 'void', - [param('ns3::Mac48Address', 'meshPontAddress'), param('ns3::Mac48Address', 'peerAddress'), param('uint32_t', 'interface'), param('bool', 'status')]) - ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function] - cls.add_method('RemoveRoutingStuff', - 'bool', - [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], - is_virtual=True) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] - cls.add_method('RequestRoute', - 'bool', - [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], - is_virtual=True) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetNeighboursCallback(ns3::Callback >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetNeighboursCallback', - 'void', - [param('ns3::Callback< std::vector< ns3::Mac48Address >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetRoot() [member function] - cls.add_method('SetRoot', - 'void', - []) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::UnsetRoot() [member function] - cls.add_method('UnsetRoot', - 'void', - []) - return - -def register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, cls): - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination() [constructor] - cls.add_constructor([]) - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination(ns3::dot11s::HwmpProtocol::FailedDestination const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::HwmpProtocol::FailedDestination const &', 'arg0')]) - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::destination [variable] - cls.add_instance_attribute('destination', 'ns3::Mac48Address', is_const=False) - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::seqnum [variable] - cls.add_instance_attribute('seqnum', 'uint32_t', is_const=False) - return - -def register_Ns3Dot11sHwmpRtable_methods(root_module, cls): - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::HwmpRtable(ns3::dot11s::HwmpRtable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::HwmpRtable const &', 'arg0')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::HwmpRtable() [constructor] - cls.add_constructor([]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::AddPrecursor(ns3::Mac48Address destination, uint32_t precursorInterface, ns3::Mac48Address precursorAddress, ns3::Time lifetime) [member function] - cls.add_method('AddPrecursor', - 'void', - [param('ns3::Mac48Address', 'destination'), param('uint32_t', 'precursorInterface'), param('ns3::Mac48Address', 'precursorAddress'), param('ns3::Time', 'lifetime')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::AddProactivePath(uint32_t metric, ns3::Mac48Address root, ns3::Mac48Address retransmitter, uint32_t interface, ns3::Time lifetime, uint32_t seqnum) [member function] - cls.add_method('AddProactivePath', - 'void', - [param('uint32_t', 'metric'), param('ns3::Mac48Address', 'root'), param('ns3::Mac48Address', 'retransmitter'), param('uint32_t', 'interface'), param('ns3::Time', 'lifetime'), param('uint32_t', 'seqnum')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::AddReactivePath(ns3::Mac48Address destination, ns3::Mac48Address retransmitter, uint32_t interface, uint32_t metric, ns3::Time lifetime, uint32_t seqnum) [member function] - cls.add_method('AddReactivePath', - 'void', - [param('ns3::Mac48Address', 'destination'), param('ns3::Mac48Address', 'retransmitter'), param('uint32_t', 'interface'), param('uint32_t', 'metric'), param('ns3::Time', 'lifetime'), param('uint32_t', 'seqnum')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::DeleteProactivePath() [member function] - cls.add_method('DeleteProactivePath', - 'void', - []) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::DeleteProactivePath(ns3::Mac48Address root) [member function] - cls.add_method('DeleteProactivePath', - 'void', - [param('ns3::Mac48Address', 'root')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::DeleteReactivePath(ns3::Mac48Address destination) [member function] - cls.add_method('DeleteReactivePath', - 'void', - [param('ns3::Mac48Address', 'destination')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## hwmp-rtable.h: std::vector, std::allocator > > ns3::dot11s::HwmpRtable::GetPrecursors(ns3::Mac48Address destination) [member function] - cls.add_method('GetPrecursors', - 'std::vector< std::pair< unsigned int, ns3::Mac48Address > >', - [param('ns3::Mac48Address', 'destination')]) - ## hwmp-rtable.h: static ns3::TypeId ns3::dot11s::HwmpRtable::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## hwmp-rtable.h: std::vector > ns3::dot11s::HwmpRtable::GetUnreachableDestinations(ns3::Mac48Address peerAddress) [member function] - cls.add_method('GetUnreachableDestinations', - 'std::vector< ns3::dot11s::HwmpProtocol::FailedDestination >', - [param('ns3::Mac48Address', 'peerAddress')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult ns3::dot11s::HwmpRtable::LookupProactive() [member function] - cls.add_method('LookupProactive', - 'ns3::dot11s::HwmpRtable::LookupResult', - []) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult ns3::dot11s::HwmpRtable::LookupProactiveExpired() [member function] - cls.add_method('LookupProactiveExpired', - 'ns3::dot11s::HwmpRtable::LookupResult', - []) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult ns3::dot11s::HwmpRtable::LookupReactive(ns3::Mac48Address destination) [member function] - cls.add_method('LookupReactive', - 'ns3::dot11s::HwmpRtable::LookupResult', - [param('ns3::Mac48Address', 'destination')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult ns3::dot11s::HwmpRtable::LookupReactiveExpired(ns3::Mac48Address destination) [member function] - cls.add_method('LookupReactiveExpired', - 'ns3::dot11s::HwmpRtable::LookupResult', - [param('ns3::Mac48Address', 'destination')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::INTERFACE_ANY [variable] - cls.add_static_attribute('INTERFACE_ANY', 'uint32_t const', is_const=True) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::MAX_METRIC [variable] - cls.add_static_attribute('MAX_METRIC', 'uint32_t const', is_const=True) - return - -def register_Ns3Dot11sHwmpRtableLookupResult_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::LookupResult(ns3::dot11s::HwmpRtable::LookupResult const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::HwmpRtable::LookupResult const &', 'arg0')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::LookupResult(ns3::Mac48Address r=ns3::Mac48Address::GetBroadcast(), uint32_t i=ns3::dot11s::HwmpRtable::INTERFACE_ANY, uint32_t m=ns3::dot11s::HwmpRtable::MAX_METRIC, uint32_t s=0, ns3::Time l=ns3::Seconds( )) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'r', default_value='ns3::Mac48Address::GetBroadcast()'), param('uint32_t', 'i', default_value='ns3::dot11s::HwmpRtable::INTERFACE_ANY'), param('uint32_t', 'm', default_value='ns3::dot11s::HwmpRtable::MAX_METRIC'), param('uint32_t', 's', default_value='0'), param('ns3::Time', 'l', default_value='ns3::Seconds(0)')]) - ## hwmp-rtable.h: bool ns3::dot11s::HwmpRtable::LookupResult::IsValid() const [member function] - cls.add_method('IsValid', - 'bool', - [], - is_const=True) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::ifIndex [variable] - cls.add_instance_attribute('ifIndex', 'uint32_t', is_const=False) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::lifetime [variable] - cls.add_instance_attribute('lifetime', 'ns3::Time', is_const=False) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::metric [variable] - cls.add_instance_attribute('metric', 'uint32_t', is_const=False) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::retransmitter [variable] - cls.add_instance_attribute('retransmitter', 'ns3::Mac48Address', is_const=False) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::seqnum [variable] - cls.add_instance_attribute('seqnum', 'uint32_t', is_const=False) - return - -def register_Ns3Dot11sIeBeaconTiming_methods(root_module, cls): - cls.add_output_stream_operator() - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming(ns3::dot11s::IeBeaconTiming const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeBeaconTiming const &', 'arg0')]) - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming() [constructor] - cls.add_constructor([]) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function] - cls.add_method('AddNeighboursTimingElementUnit', - 'void', - [param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')]) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::ClearTimingElement() [member function] - cls.add_method('ClearTimingElement', - 'void', - []) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::DelNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function] - cls.add_method('DelNeighboursTimingElementUnit', - 'void', - [param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')]) - ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-beacon-timing.h: ns3::WifiInformationElementId ns3::dot11s::IeBeaconTiming::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-beacon-timing.h: std::vector, std::allocator > > ns3::dot11s::IeBeaconTiming::GetNeighboursTimingElementsList() [member function] - cls.add_method('GetNeighboursTimingElementsList', - 'std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', - []) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit(ns3::dot11s::IeBeaconTimingUnit const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeBeaconTimingUnit const &', 'arg0')]) - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit() [constructor] - cls.add_constructor([]) - ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTimingUnit::GetAid() const [member function] - cls.add_method('GetAid', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetLastBeacon() const [member function] - cls.add_method('GetLastBeacon', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetAid(uint8_t aid) [member function] - cls.add_method('SetAid', - 'void', - [param('uint8_t', 'aid')]) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetBeaconInterval(uint16_t beaconInterval) [member function] - cls.add_method('SetBeaconInterval', - 'void', - [param('uint16_t', 'beaconInterval')]) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetLastBeacon(uint16_t lastBeacon) [member function] - cls.add_method('SetLastBeacon', - 'void', - [param('uint16_t', 'lastBeacon')]) - return - -def register_Ns3Dot11sIeConfiguration_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration(ns3::dot11s::IeConfiguration const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeConfiguration const &', 'arg0')]) - ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration() [constructor] - cls.add_constructor([]) - ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-configuration.h: ns3::WifiInformationElementId ns3::dot11s::IeConfiguration::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetNeighborCount() [member function] - cls.add_method('GetNeighborCount', - 'uint8_t', - []) - ## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsAirtime() [member function] - cls.add_method('IsAirtime', - 'bool', - []) - ## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsHWMP() [member function] - cls.add_method('IsHWMP', - 'bool', - []) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability const & ns3::dot11s::IeConfiguration::MeshCapability() [member function] - cls.add_method('MeshCapability', - 'ns3::dot11s::Dot11sMeshCapability const &', - []) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetMetric(ns3::dot11s::dot11sPathSelectionMetric metricId) [member function] - cls.add_method('SetMetric', - 'void', - [param('ns3::dot11s::dot11sPathSelectionMetric', 'metricId')]) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetNeighborCount(uint8_t neighbors) [member function] - cls.add_method('SetNeighborCount', - 'void', - [param('uint8_t', 'neighbors')]) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetRouting(ns3::dot11s::dot11sPathSelectionProtocol routingId) [member function] - cls.add_method('SetRouting', - 'void', - [param('ns3::dot11s::dot11sPathSelectionProtocol', 'routingId')]) - return - -def register_Ns3Dot11sIeLinkMetricReport_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## ie-dot11s-metric-report.h: ns3::dot11s::IeLinkMetricReport::IeLinkMetricReport(ns3::dot11s::IeLinkMetricReport const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeLinkMetricReport const &', 'arg0')]) - ## ie-dot11s-metric-report.h: ns3::dot11s::IeLinkMetricReport::IeLinkMetricReport() [constructor] - cls.add_constructor([]) - ## ie-dot11s-metric-report.h: ns3::dot11s::IeLinkMetricReport::IeLinkMetricReport(uint32_t metric) [constructor] - cls.add_constructor([param('uint32_t', 'metric')]) - ## ie-dot11s-metric-report.h: uint8_t ns3::dot11s::IeLinkMetricReport::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-metric-report.h: ns3::WifiInformationElementId ns3::dot11s::IeLinkMetricReport::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-metric-report.h: uint8_t ns3::dot11s::IeLinkMetricReport::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-metric-report.h: uint32_t ns3::dot11s::IeLinkMetricReport::GetMetric() [member function] - cls.add_method('GetMetric', - 'uint32_t', - []) - ## ie-dot11s-metric-report.h: void ns3::dot11s::IeLinkMetricReport::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-metric-report.h: void ns3::dot11s::IeLinkMetricReport::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-metric-report.h: void ns3::dot11s::IeLinkMetricReport::SetMetric(uint32_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'metric')]) - return - -def register_Ns3Dot11sIeMeshId_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(ns3::dot11s::IeMeshId const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'arg0')]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId() [constructor] - cls.add_constructor([]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(std::string s) [constructor] - cls.add_constructor([param('std::string', 's')]) - ## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-id.h: ns3::WifiInformationElementId ns3::dot11s::IeMeshId::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsEqual(ns3::dot11s::IeMeshId const & o) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::dot11s::IeMeshId const &', 'o')], - is_const=True) - ## ie-dot11s-id.h: char * ns3::dot11s::IeMeshId::PeekString() const [member function] - cls.add_method('PeekString', - 'char *', - [], - is_const=True) - ## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Dot11sIeMeshIdChecker_methods(root_module, cls): - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker() [constructor] - cls.add_constructor([]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker(ns3::dot11s::IeMeshIdChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeMeshIdChecker const &', 'arg0')]) - return - -def register_Ns3Dot11sIeMeshIdValue_methods(root_module, cls): - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue() [constructor] - cls.add_constructor([]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshIdValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeMeshIdValue const &', 'arg0')]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshId const & value) [constructor] - cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'value')]) - ## ie-dot11s-id.h: ns3::Ptr ns3::dot11s::IeMeshIdValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshIdValue::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) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId ns3::dot11s::IeMeshIdValue::Get() const [member function] - cls.add_method('Get', - 'ns3::dot11s::IeMeshId', - [], - is_const=True) - ## ie-dot11s-id.h: std::string ns3::dot11s::IeMeshIdValue::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) - ## ie-dot11s-id.h: void ns3::dot11s::IeMeshIdValue::Set(ns3::dot11s::IeMeshId const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::dot11s::IeMeshId const &', 'value')]) - return - -def register_Ns3Dot11sIePeerManagement_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement(ns3::dot11s::IePeerManagement const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePeerManagement const &', 'arg0')]) - ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement() [constructor] - cls.add_constructor([]) - ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-peer-management.h: ns3::WifiInformationElementId ns3::dot11s::IePeerManagement::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetLocalLinkId() const [member function] - cls.add_method('GetLocalLinkId', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetPeerLinkId() const [member function] - cls.add_method('GetPeerLinkId', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode ns3::dot11s::IePeerManagement::GetReasonCode() const [member function] - cls.add_method('GetReasonCode', - 'ns3::dot11s::PmpReasonCode', - [], - is_const=True) - ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetSubtype() const [member function] - cls.add_method('GetSubtype', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerClose(uint16_t localLinkID, uint16_t peerLinkId, ns3::dot11s::PmpReasonCode reasonCode) [member function] - cls.add_method('SetPeerClose', - 'void', - [param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId'), param('ns3::dot11s::PmpReasonCode', 'reasonCode')]) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerConfirm(uint16_t localLinkID, uint16_t peerLinkId) [member function] - cls.add_method('SetPeerConfirm', - 'void', - [param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId')]) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerOpen(uint16_t localLinkId) [member function] - cls.add_method('SetPeerOpen', - 'void', - [param('uint16_t', 'localLinkId')]) - ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsClose() const [member function] - cls.add_method('SubtypeIsClose', - 'bool', - [], - is_const=True) - ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsConfirm() const [member function] - cls.add_method('SubtypeIsConfirm', - 'bool', - [], - is_const=True) - ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsOpen() const [member function] - cls.add_method('SubtypeIsOpen', - 'bool', - [], - is_const=True) - return - -def register_Ns3Dot11sIePeeringProtocol_methods(root_module, cls): - ## ie-dot11s-peering-protocol.h: ns3::dot11s::IePeeringProtocol::IePeeringProtocol(ns3::dot11s::IePeeringProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePeeringProtocol const &', 'arg0')]) - ## ie-dot11s-peering-protocol.h: ns3::dot11s::IePeeringProtocol::IePeeringProtocol() [constructor] - cls.add_constructor([]) - ## ie-dot11s-peering-protocol.h: uint8_t ns3::dot11s::IePeeringProtocol::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-peering-protocol.h: ns3::WifiInformationElementId ns3::dot11s::IePeeringProtocol::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-peering-protocol.h: uint8_t ns3::dot11s::IePeeringProtocol::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-peering-protocol.h: void ns3::dot11s::IePeeringProtocol::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-peering-protocol.h: void ns3::dot11s::IePeeringProtocol::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Dot11sIePerr_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-perr.h: ns3::dot11s::IePerr::IePerr(ns3::dot11s::IePerr const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePerr const &', 'arg0')]) - ## ie-dot11s-perr.h: ns3::dot11s::IePerr::IePerr() [constructor] - cls.add_constructor([]) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::AddAddressUnit(ns3::dot11s::HwmpProtocol::FailedDestination unit) [member function] - cls.add_method('AddAddressUnit', - 'void', - [param('ns3::dot11s::HwmpProtocol::FailedDestination', 'unit')]) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::DeleteAddressUnit(ns3::Mac48Address address) [member function] - cls.add_method('DeleteAddressUnit', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## ie-dot11s-perr.h: uint8_t ns3::dot11s::IePerr::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-perr.h: ns3::WifiInformationElementId ns3::dot11s::IePerr::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-perr.h: std::vector > ns3::dot11s::IePerr::GetAddressUnitVector() const [member function] - cls.add_method('GetAddressUnitVector', - 'std::vector< ns3::dot11s::HwmpProtocol::FailedDestination >', - [], - is_const=True) - ## ie-dot11s-perr.h: uint8_t ns3::dot11s::IePerr::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-perr.h: uint8_t ns3::dot11s::IePerr::GetNumOfDest() const [member function] - cls.add_method('GetNumOfDest', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-perr.h: bool ns3::dot11s::IePerr::IsFull() const [member function] - cls.add_method('IsFull', - 'bool', - [], - is_const=True) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::ResetPerr() [member function] - cls.add_method('ResetPerr', - 'void', - []) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Dot11sIePrep_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-prep.h: ns3::dot11s::IePrep::IePrep(ns3::dot11s::IePrep const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePrep const &', 'arg0')]) - ## ie-dot11s-prep.h: ns3::dot11s::IePrep::IePrep() [constructor] - cls.add_constructor([]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::DecrementTtl() [member function] - cls.add_method('DecrementTtl', - 'void', - []) - ## ie-dot11s-prep.h: uint8_t ns3::dot11s::IePrep::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-prep.h: ns3::WifiInformationElementId ns3::dot11s::IePrep::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-prep.h: ns3::Mac48Address ns3::dot11s::IePrep::GetDestinationAddress() const [member function] - cls.add_method('GetDestinationAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetDestinationSeqNumber() const [member function] - cls.add_method('GetDestinationSeqNumber', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint8_t ns3::dot11s::IePrep::GetFlags() const [member function] - cls.add_method('GetFlags', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint8_t ns3::dot11s::IePrep::GetHopcount() const [member function] - cls.add_method('GetHopcount', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint8_t ns3::dot11s::IePrep::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetLifetime() const [member function] - cls.add_method('GetLifetime', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: ns3::Mac48Address ns3::dot11s::IePrep::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetOriginatorSeqNumber() const [member function] - cls.add_method('GetOriginatorSeqNumber', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::IncrementMetric(uint32_t metric) [member function] - cls.add_method('IncrementMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetDestinationAddress(ns3::Mac48Address dest_address) [member function] - cls.add_method('SetDestinationAddress', - 'void', - [param('ns3::Mac48Address', 'dest_address')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetDestinationSeqNumber(uint32_t dest_seq_number) [member function] - cls.add_method('SetDestinationSeqNumber', - 'void', - [param('uint32_t', 'dest_seq_number')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetFlags(uint8_t flags) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'flags')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetHopcount(uint8_t hopcount) [member function] - cls.add_method('SetHopcount', - 'void', - [param('uint8_t', 'hopcount')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetLifetime(uint32_t lifetime) [member function] - cls.add_method('SetLifetime', - 'void', - [param('uint32_t', 'lifetime')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetMetric(uint32_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetOriginatorAddress(ns3::Mac48Address originator_address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Mac48Address', 'originator_address')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetOriginatorSeqNumber(uint32_t originator_seq_number) [member function] - cls.add_method('SetOriginatorSeqNumber', - 'void', - [param('uint32_t', 'originator_seq_number')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetTtl(uint8_t ttl) [member function] - cls.add_method('SetTtl', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3Dot11sIePreq_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-preq.h: ns3::dot11s::IePreq::IePreq(ns3::dot11s::IePreq const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePreq const &', 'arg0')]) - ## ie-dot11s-preq.h: ns3::dot11s::IePreq::IePreq() [constructor] - cls.add_constructor([]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::AddDestinationAddressElement(bool doFlag, bool rfFlag, ns3::Mac48Address dest_address, uint32_t dest_seq_number) [member function] - cls.add_method('AddDestinationAddressElement', - 'void', - [param('bool', 'doFlag'), param('bool', 'rfFlag'), param('ns3::Mac48Address', 'dest_address'), param('uint32_t', 'dest_seq_number')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::ClearDestinationAddressElements() [member function] - cls.add_method('ClearDestinationAddressElements', - 'void', - []) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::DecrementTtl() [member function] - cls.add_method('DecrementTtl', - 'void', - []) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::DelDestinationAddressElement(ns3::Mac48Address dest_address) [member function] - cls.add_method('DelDestinationAddressElement', - 'void', - [param('ns3::Mac48Address', 'dest_address')]) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-preq.h: ns3::WifiInformationElementId ns3::dot11s::IePreq::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::GetDestCount() const [member function] - cls.add_method('GetDestCount', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-preq.h: std::vector, std::allocator > > ns3::dot11s::IePreq::GetDestinationList() [member function] - cls.add_method('GetDestinationList', - 'std::vector< ns3::Ptr< ns3::dot11s::DestinationAddressUnit > >', - []) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::IePreq::GetLifetime() const [member function] - cls.add_method('GetLifetime', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::IePreq::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: ns3::Mac48Address ns3::dot11s::IePreq::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::IePreq::GetOriginatorSeqNumber() const [member function] - cls.add_method('GetOriginatorSeqNumber', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::IePreq::GetPreqID() const [member function] - cls.add_method('GetPreqID', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::IncrementMetric(uint32_t metric) [member function] - cls.add_method('IncrementMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-preq.h: bool ns3::dot11s::IePreq::IsFull() const [member function] - cls.add_method('IsFull', - 'bool', - [], - is_const=True) - ## ie-dot11s-preq.h: bool ns3::dot11s::IePreq::IsNeedNotPrep() const [member function] - cls.add_method('IsNeedNotPrep', - 'bool', - [], - is_const=True) - ## ie-dot11s-preq.h: bool ns3::dot11s::IePreq::IsUnicastPreq() const [member function] - cls.add_method('IsUnicastPreq', - 'bool', - [], - is_const=True) - ## ie-dot11s-preq.h: bool ns3::dot11s::IePreq::MayAddAddress(ns3::Mac48Address originator) [member function] - cls.add_method('MayAddAddress', - 'bool', - [param('ns3::Mac48Address', 'originator')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetDestCount(uint8_t dest_count) [member function] - cls.add_method('SetDestCount', - 'void', - [param('uint8_t', 'dest_count')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetHopcount(uint8_t hopcount) [member function] - cls.add_method('SetHopcount', - 'void', - [param('uint8_t', 'hopcount')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetLifetime(uint32_t lifetime) [member function] - cls.add_method('SetLifetime', - 'void', - [param('uint32_t', 'lifetime')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetMetric(uint32_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetNeedNotPrep() [member function] - cls.add_method('SetNeedNotPrep', - 'void', - []) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetOriginatorAddress(ns3::Mac48Address originator_address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Mac48Address', 'originator_address')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetOriginatorSeqNumber(uint32_t originator_seq_number) [member function] - cls.add_method('SetOriginatorSeqNumber', - 'void', - [param('uint32_t', 'originator_seq_number')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetPreqID(uint32_t id) [member function] - cls.add_method('SetPreqID', - 'void', - [param('uint32_t', 'id')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetTTL(uint8_t ttl) [member function] - cls.add_method('SetTTL', - 'void', - [param('uint8_t', 'ttl')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetUnicastPreq() [member function] - cls.add_method('SetUnicastPreq', - 'void', - []) - return - -def register_Ns3Dot11sIeRann_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-rann.h: ns3::dot11s::IeRann::IeRann(ns3::dot11s::IeRann const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeRann const &', 'arg0')]) - ## ie-dot11s-rann.h: ns3::dot11s::IeRann::IeRann() [constructor] - cls.add_constructor([]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::DecrementTtl() [member function] - cls.add_method('DecrementTtl', - 'void', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-rann.h: ns3::WifiInformationElementId ns3::dot11s::IeRann::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-rann.h: uint32_t ns3::dot11s::IeRann::GetDestSeqNumber() [member function] - cls.add_method('GetDestSeqNumber', - 'uint32_t', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::GetFlags() [member function] - cls.add_method('GetFlags', - 'uint8_t', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::GetHopcount() [member function] - cls.add_method('GetHopcount', - 'uint8_t', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-rann.h: uint32_t ns3::dot11s::IeRann::GetMetric() [member function] - cls.add_method('GetMetric', - 'uint32_t', - []) - ## ie-dot11s-rann.h: ns3::Mac48Address ns3::dot11s::IeRann::GetOriginatorAddress() [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Mac48Address', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::GetTtl() [member function] - cls.add_method('GetTtl', - 'uint8_t', - []) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::IncrementMetric(uint32_t metric) [member function] - cls.add_method('IncrementMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetDestSeqNumber(uint32_t dest_seq_number) [member function] - cls.add_method('SetDestSeqNumber', - 'void', - [param('uint32_t', 'dest_seq_number')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetFlags(uint8_t flags) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'flags')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetHopcount(uint8_t hopcount) [member function] - cls.add_method('SetHopcount', - 'void', - [param('uint8_t', 'hopcount')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetMetric(uint32_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetOriginatorAddress(ns3::Mac48Address originator_address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Mac48Address', 'originator_address')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetTTL(uint8_t ttl) [member function] - cls.add_method('SetTTL', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3Dot11sMeshHeader_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## dot11s-mac-header.h: ns3::dot11s::MeshHeader::MeshHeader(ns3::dot11s::MeshHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::MeshHeader const &', 'arg0')]) - ## dot11s-mac-header.h: ns3::dot11s::MeshHeader::MeshHeader() [constructor] - cls.add_constructor([]) - ## dot11s-mac-header.h: uint32_t ns3::dot11s::MeshHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## dot11s-mac-header.h: ns3::Mac48Address ns3::dot11s::MeshHeader::GetAddr4() const [member function] - cls.add_method('GetAddr4', - 'ns3::Mac48Address', - [], - is_const=True) - ## dot11s-mac-header.h: ns3::Mac48Address ns3::dot11s::MeshHeader::GetAddr5() const [member function] - cls.add_method('GetAddr5', - 'ns3::Mac48Address', - [], - is_const=True) - ## dot11s-mac-header.h: ns3::Mac48Address ns3::dot11s::MeshHeader::GetAddr6() const [member function] - cls.add_method('GetAddr6', - 'ns3::Mac48Address', - [], - is_const=True) - ## dot11s-mac-header.h: uint8_t ns3::dot11s::MeshHeader::GetAddressExt() const [member function] - cls.add_method('GetAddressExt', - 'uint8_t', - [], - is_const=True) - ## dot11s-mac-header.h: ns3::TypeId ns3::dot11s::MeshHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## dot11s-mac-header.h: uint32_t ns3::dot11s::MeshHeader::GetMeshSeqno() const [member function] - cls.add_method('GetMeshSeqno', - 'uint32_t', - [], - is_const=True) - ## dot11s-mac-header.h: uint8_t ns3::dot11s::MeshHeader::GetMeshTtl() const [member function] - cls.add_method('GetMeshTtl', - 'uint8_t', - [], - is_const=True) - ## dot11s-mac-header.h: uint32_t ns3::dot11s::MeshHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dot11s-mac-header.h: static ns3::TypeId ns3::dot11s::MeshHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetAddr4(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr4', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetAddr5(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr5', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetAddr6(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr6', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetAddressExt(uint8_t num_of_addresses) [member function] - cls.add_method('SetAddressExt', - 'void', - [param('uint8_t', 'num_of_addresses')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetMeshSeqno(uint32_t seqno) [member function] - cls.add_method('SetMeshSeqno', - 'void', - [param('uint32_t', 'seqno')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetMeshTtl(uint8_t TTL) [member function] - cls.add_method('SetMeshTtl', - 'void', - [param('uint8_t', 'TTL')]) - return - -def register_Ns3Dot11sPeerLink_methods(root_module, cls): - ## peer-link.h: static ns3::TypeId ns3::dot11s::PeerLink::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## peer-link.h: ns3::dot11s::PeerLink::PeerLink() [constructor] - cls.add_constructor([]) - ## peer-link.h: void ns3::dot11s::PeerLink::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconInformation(ns3::Time lastBeacon, ns3::Time BeaconInterval) [member function] - cls.add_method('SetBeaconInformation', - 'void', - [param('ns3::Time', 'lastBeacon'), param('ns3::Time', 'BeaconInterval')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetLinkStatusCallback(ns3::Callback cb) [member function] - cls.add_method('SetLinkStatusCallback', - 'void', - [param('ns3::Callback< void, unsigned int, ns3::Mac48Address, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetPeerAddress(ns3::Mac48Address macaddr) [member function] - cls.add_method('SetPeerAddress', - 'void', - [param('ns3::Mac48Address', 'macaddr')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetPeerMeshPointAddress(ns3::Mac48Address macaddr) [member function] - cls.add_method('SetPeerMeshPointAddress', - 'void', - [param('ns3::Mac48Address', 'macaddr')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetInterface(uint32_t interface) [member function] - cls.add_method('SetInterface', - 'void', - [param('uint32_t', 'interface')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetLocalLinkId(uint16_t id) [member function] - cls.add_method('SetLocalLinkId', - 'void', - [param('uint16_t', 'id')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetLocalAid(uint16_t aid) [member function] - cls.add_method('SetLocalAid', - 'void', - [param('uint16_t', 'aid')]) - ## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetPeerAid() const [member function] - cls.add_method('GetPeerAid', - 'uint16_t', - [], - is_const=True) - ## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconTimingElement(ns3::dot11s::IeBeaconTiming beaconTiming) [member function] - cls.add_method('SetBeaconTimingElement', - 'void', - [param('ns3::dot11s::IeBeaconTiming', 'beaconTiming')]) - ## peer-link.h: ns3::Mac48Address ns3::dot11s::PeerLink::GetPeerAddress() const [member function] - cls.add_method('GetPeerAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetLocalAid() const [member function] - cls.add_method('GetLocalAid', - 'uint16_t', - [], - is_const=True) - ## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetLastBeacon() const [member function] - cls.add_method('GetLastBeacon', - 'ns3::Time', - [], - is_const=True) - ## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'ns3::Time', - [], - is_const=True) - ## peer-link.h: ns3::dot11s::IeBeaconTiming ns3::dot11s::PeerLink::GetBeaconTimingElement() const [member function] - cls.add_method('GetBeaconTimingElement', - 'ns3::dot11s::IeBeaconTiming', - [], - is_const=True) - ## peer-link.h: void ns3::dot11s::PeerLink::MLMECancelPeerLink(ns3::dot11s::PmpReasonCode reason) [member function] - cls.add_method('MLMECancelPeerLink', - 'void', - [param('ns3::dot11s::PmpReasonCode', 'reason')]) - ## peer-link.h: void ns3::dot11s::PeerLink::MLMEActivePeerLinkOpen() [member function] - cls.add_method('MLMEActivePeerLinkOpen', - 'void', - []) - ## peer-link.h: void ns3::dot11s::PeerLink::MLMEPeeringRequestReject() [member function] - cls.add_method('MLMEPeeringRequestReject', - 'void', - []) - ## peer-link.h: void ns3::dot11s::PeerLink::MLMESetSignalStatusCallback(ns3::Callback arg0) [member function] - cls.add_method('MLMESetSignalStatusCallback', - 'void', - [param('ns3::Callback< void, unsigned int, ns3::Mac48Address, ns3::Mac48Address, ns3::dot11s::PeerLink::PeerState, ns3::dot11s::PeerLink::PeerState, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')]) - ## peer-link.h: void ns3::dot11s::PeerLink::TransmissionSuccess() [member function] - cls.add_method('TransmissionSuccess', - 'void', - []) - ## peer-link.h: void ns3::dot11s::PeerLink::TransmissionFailure() [member function] - cls.add_method('TransmissionFailure', - 'void', - []) - ## peer-link.h: void ns3::dot11s::PeerLink::Report(std::ostream & os) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - return - -def register_Ns3Dot11sPeerLinkFrameStart_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PeerLinkFrameStart() [constructor] - cls.add_constructor([]) - ## peer-link-frame.h: uint32_t ns3::dot11s::PeerLinkFrameStart::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields ns3::dot11s::PeerLinkFrameStart::GetFields() const [member function] - cls.add_method('GetFields', - 'ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields', - [], - is_const=True) - ## peer-link-frame.h: ns3::TypeId ns3::dot11s::PeerLinkFrameStart::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## peer-link-frame.h: uint32_t ns3::dot11s::PeerLinkFrameStart::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## peer-link-frame.h: static ns3::TypeId ns3::dot11s::PeerLinkFrameStart::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## peer-link-frame.h: void ns3::dot11s::PeerLinkFrameStart::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## peer-link-frame.h: void ns3::dot11s::PeerLinkFrameStart::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## peer-link-frame.h: void ns3::dot11s::PeerLinkFrameStart::SetPlinkFrameStart(ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields arg0) [member function] - cls.add_method('SetPlinkFrameStart', - 'void', - [param('ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields', 'arg0')]) - ## peer-link-frame.h: void ns3::dot11s::PeerLinkFrameStart::SetPlinkFrameSubtype(uint8_t subtype) [member function] - cls.add_method('SetPlinkFrameSubtype', - 'void', - [param('uint8_t', 'subtype')]) - return - -def register_Ns3Dot11sPeerLinkFrameStartPlinkFrameStartFields_methods(root_module, cls): - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::PlinkFrameStartFields() [constructor] - cls.add_constructor([]) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::PlinkFrameStartFields(ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields const &', 'arg0')]) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::aid [variable] - cls.add_instance_attribute('aid', 'uint16_t', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::capability [variable] - cls.add_instance_attribute('capability', 'uint16_t', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::config [variable] - cls.add_instance_attribute('config', 'ns3::dot11s::IeConfiguration', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::meshId [variable] - cls.add_instance_attribute('meshId', 'ns3::dot11s::IeMeshId', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::protocol [variable] - cls.add_instance_attribute('protocol', 'ns3::dot11s::IePeeringProtocol', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::rates [variable] - cls.add_instance_attribute('rates', 'ns3::SupportedRates', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::reasonCode [variable] - cls.add_instance_attribute('reasonCode', 'uint16_t', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::subtype [variable] - cls.add_instance_attribute('subtype', 'uint8_t', is_const=False) - return - -def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls): - ## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol::PeerManagementProtocol() [constructor] - cls.add_constructor([]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ConfigurationMismatch(uint32_t interface, ns3::Mac48Address peerAddress) [member function] - cls.add_method('ConfigurationMismatch', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::FindPeerLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function] - cls.add_method('FindPeerLink', - 'ns3::Ptr< ns3::dot11s::PeerLink >', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) - ## peer-management-protocol.h: ns3::Mac48Address ns3::dot11s::PeerManagementProtocol::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - []) - ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::GetBeaconCollisionAvoidance() const [member function] - cls.add_method('GetBeaconCollisionAvoidance', - 'bool', - [], - is_const=True) - ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(uint32_t interface) [member function] - cls.add_method('GetBeaconTimingElement', - 'ns3::Ptr< ns3::dot11s::IeBeaconTiming >', - [param('uint32_t', 'interface')]) - ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::GetMeshId() const [member function] - cls.add_method('GetMeshId', - 'ns3::Ptr< ns3::dot11s::IeMeshId >', - [], - is_const=True) - ## peer-management-protocol.h: uint8_t ns3::dot11s::PeerManagementProtocol::GetNumberOfLinks() [member function] - cls.add_method('GetNumberOfLinks', - 'uint8_t', - []) - ## peer-management-protocol.h: std::vector,std::allocator > > ns3::dot11s::PeerManagementProtocol::GetPeerLinks() const [member function] - cls.add_method('GetPeerLinks', - 'std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >', - [], - is_const=True) - ## peer-management-protocol.h: std::vector > ns3::dot11s::PeerManagementProtocol::GetPeers(uint32_t interface) const [member function] - cls.add_method('GetPeers', - 'std::vector< ns3::Mac48Address >', - [param('uint32_t', 'interface')], - is_const=True) - ## peer-management-protocol.h: static ns3::TypeId ns3::dot11s::PeerManagementProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::Install(ns3::Ptr arg0) [member function] - cls.add_method('Install', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) - ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::IsActiveLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function] - cls.add_method('IsActiveLink', - 'bool', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::NotifyBeaconSent(uint32_t interface, ns3::Time beaconInterval) [member function] - cls.add_method('NotifyBeaconSent', - 'void', - [param('uint32_t', 'interface'), param('ns3::Time', 'beaconInterval')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceiveBeacon(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Time beaconInterval, ns3::Ptr beaconTiming) [member function] - cls.add_method('ReceiveBeacon', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Time', 'beaconInterval'), param('ns3::Ptr< ns3::dot11s::IeBeaconTiming >', 'beaconTiming')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceivePeerLinkFrame(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Mac48Address peerMeshPointAddress, uint16_t aid, ns3::dot11s::IePeerManagement peerManagementElement, ns3::dot11s::IeConfiguration meshConfig) [member function] - cls.add_method('ReceivePeerLinkFrame', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Mac48Address', 'peerMeshPointAddress'), param('uint16_t', 'aid'), param('ns3::dot11s::IePeerManagement', 'peerManagementElement'), param('ns3::dot11s::IeConfiguration', 'meshConfig')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetBeaconCollisionAvoidance(bool enable) [member function] - cls.add_method('SetBeaconCollisionAvoidance', - 'void', - [param('bool', 'enable')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetMeshId(std::string s) [member function] - cls.add_method('SetMeshId', - 'void', - [param('std::string', 's')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetPeerLinkStatusCallback(ns3::Callback cb) [member function] - cls.add_method('SetPeerLinkStatusCallback', - 'void', - [param('ns3::Callback< void, ns3::Mac48Address, ns3::Mac48Address, unsigned int, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionFailure(uint32_t interface, ns3::Mac48Address const peerAddress) [member function] - cls.add_method('TransmissionFailure', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionSuccess(uint32_t interface, ns3::Mac48Address const peerAddress) [member function] - cls.add_method('TransmissionSuccess', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')]) - return - -def register_Ns3FlameFlameHeader_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## flame-header.h: ns3::flame::FlameHeader::FlameHeader(ns3::flame::FlameHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::flame::FlameHeader const &', 'arg0')]) - ## flame-header.h: ns3::flame::FlameHeader::FlameHeader() [constructor] - cls.add_constructor([]) - ## flame-header.h: void ns3::flame::FlameHeader::AddCost(uint8_t cost) [member function] - cls.add_method('AddCost', - 'void', - [param('uint8_t', 'cost')]) - ## flame-header.h: uint32_t ns3::flame::FlameHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## flame-header.h: uint8_t ns3::flame::FlameHeader::GetCost() const [member function] - cls.add_method('GetCost', - 'uint8_t', - [], - is_const=True) - ## flame-header.h: ns3::TypeId ns3::flame::FlameHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## flame-header.h: ns3::Mac48Address ns3::flame::FlameHeader::GetOrigDst() const [member function] - cls.add_method('GetOrigDst', - 'ns3::Mac48Address', - [], - is_const=True) - ## flame-header.h: ns3::Mac48Address ns3::flame::FlameHeader::GetOrigSrc() const [member function] - cls.add_method('GetOrigSrc', - 'ns3::Mac48Address', - [], - is_const=True) - ## flame-header.h: uint16_t ns3::flame::FlameHeader::GetProtocol() const [member function] - cls.add_method('GetProtocol', - 'uint16_t', - [], - is_const=True) - ## flame-header.h: uint16_t ns3::flame::FlameHeader::GetSeqno() const [member function] - cls.add_method('GetSeqno', - 'uint16_t', - [], - is_const=True) - ## flame-header.h: uint32_t ns3::flame::FlameHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## flame-header.h: static ns3::TypeId ns3::flame::FlameHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-header.h: void ns3::flame::FlameHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## flame-header.h: void ns3::flame::FlameHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## flame-header.h: void ns3::flame::FlameHeader::SetOrigDst(ns3::Mac48Address dst) [member function] - cls.add_method('SetOrigDst', - 'void', - [param('ns3::Mac48Address', 'dst')]) - ## flame-header.h: void ns3::flame::FlameHeader::SetOrigSrc(ns3::Mac48Address OrigSrc) [member function] - cls.add_method('SetOrigSrc', - 'void', - [param('ns3::Mac48Address', 'OrigSrc')]) - ## flame-header.h: void ns3::flame::FlameHeader::SetProtocol(uint16_t protocol) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint16_t', 'protocol')]) - ## flame-header.h: void ns3::flame::FlameHeader::SetSeqno(uint16_t seqno) [member function] - cls.add_method('SetSeqno', - 'void', - [param('uint16_t', 'seqno')]) - return - -def register_Ns3FlameFlameProtocol_methods(root_module, cls): - ## flame-protocol.h: ns3::flame::FlameProtocol::FlameProtocol() [constructor] - cls.add_constructor([]) - ## flame-protocol.h: void ns3::flame::FlameProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## flame-protocol.h: ns3::Mac48Address ns3::flame::FlameProtocol::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - []) - ## flame-protocol.h: static ns3::TypeId ns3::flame::FlameProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-protocol.h: bool ns3::flame::FlameProtocol::Install(ns3::Ptr arg0) [member function] - cls.add_method('Install', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) - ## flame-protocol.h: bool ns3::flame::FlameProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function] - cls.add_method('RemoveRoutingStuff', - 'bool', - [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], - is_virtual=True) - ## flame-protocol.h: void ns3::flame::FlameProtocol::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## flame-protocol.h: bool ns3::flame::FlameProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] - cls.add_method('RequestRoute', - 'bool', - [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], - is_virtual=True) - ## flame-protocol.h: void ns3::flame::FlameProtocol::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - return - -def register_Ns3FlameFlameProtocolMac_methods(root_module, cls): - ## flame-protocol-mac.h: ns3::flame::FlameProtocolMac::FlameProtocolMac(ns3::flame::FlameProtocolMac const & arg0) [copy constructor] - cls.add_constructor([param('ns3::flame::FlameProtocolMac const &', 'arg0')]) - ## flame-protocol-mac.h: ns3::flame::FlameProtocolMac::FlameProtocolMac(uint32_t arg0, ns3::Ptr arg1) [constructor] - cls.add_constructor([param('uint32_t', 'arg0'), param('ns3::Ptr< ns3::flame::FlameProtocol >', 'arg1')]) - ## flame-protocol-mac.h: uint16_t ns3::flame::FlameProtocolMac::GetChannelId() const [member function] - cls.add_method('GetChannelId', - 'uint16_t', - [], - is_const=True) - ## flame-protocol-mac.h: bool ns3::flame::FlameProtocolMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const & header) [member function] - cls.add_method('Receive', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')], - is_virtual=True) - ## flame-protocol-mac.h: void ns3::flame::FlameProtocolMac::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## flame-protocol-mac.h: void ns3::flame::FlameProtocolMac::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## flame-protocol-mac.h: void ns3::flame::FlameProtocolMac::SetParent(ns3::Ptr parent) [member function] - cls.add_method('SetParent', - 'void', - [param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')], - is_virtual=True) - ## flame-protocol-mac.h: void ns3::flame::FlameProtocolMac::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function] - cls.add_method('UpdateBeacon', - 'void', - [param('ns3::MeshWifiBeacon &', 'beacon')], - is_const=True, is_virtual=True) - ## flame-protocol-mac.h: bool ns3::flame::FlameProtocolMac::UpdateOutcomingFrame(ns3::Ptr packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function] - cls.add_method('UpdateOutcomingFrame', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - return - -def register_Ns3FlameFlameRtable_methods(root_module, cls): - ## flame-rtable.h: ns3::flame::FlameRtable::FlameRtable() [constructor] - cls.add_constructor([]) - ## flame-rtable.h: void ns3::flame::FlameRtable::AddPath(ns3::Mac48Address const destination, ns3::Mac48Address const retransmitter, uint32_t const interface, uint8_t const cost, uint16_t const seqnum) [member function] - cls.add_method('AddPath', - 'void', - [param('ns3::Mac48Address const', 'destination'), param('ns3::Mac48Address const', 'retransmitter'), param('uint32_t const', 'interface'), param('uint8_t const', 'cost'), param('uint16_t const', 'seqnum')]) - ## flame-rtable.h: void ns3::flame::FlameRtable::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## flame-rtable.h: static ns3::TypeId ns3::flame::FlameRtable::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult ns3::flame::FlameRtable::Lookup(ns3::Mac48Address destination) [member function] - cls.add_method('Lookup', - 'ns3::flame::FlameRtable::LookupResult', - [param('ns3::Mac48Address', 'destination')]) - ## flame-rtable.h: ns3::flame::FlameRtable::INTERFACE_ANY [variable] - cls.add_static_attribute('INTERFACE_ANY', 'uint32_t const', is_const=True) - ## flame-rtable.h: ns3::flame::FlameRtable::MAX_COST [variable] - cls.add_static_attribute('MAX_COST', 'uint32_t const', is_const=True) - return - -def register_Ns3FlameFlameRtableLookupResult_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::LookupResult(ns3::flame::FlameRtable::LookupResult const & arg0) [copy constructor] - cls.add_constructor([param('ns3::flame::FlameRtable::LookupResult const &', 'arg0')]) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::LookupResult(ns3::Mac48Address r=ns3::Mac48Address::GetBroadcast(), uint32_t i=ns3::flame::FlameRtable::INTERFACE_ANY, uint8_t c=ns3::flame::FlameRtable::MAX_COST, uint16_t s=0) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'r', default_value='ns3::Mac48Address::GetBroadcast()'), param('uint32_t', 'i', default_value='ns3::flame::FlameRtable::INTERFACE_ANY'), param('uint8_t', 'c', default_value='ns3::flame::FlameRtable::MAX_COST'), param('uint16_t', 's', default_value='0')]) - ## flame-rtable.h: bool ns3::flame::FlameRtable::LookupResult::IsValid() const [member function] - cls.add_method('IsValid', - 'bool', - [], - is_const=True) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::cost [variable] - cls.add_instance_attribute('cost', 'uint8_t', is_const=False) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::ifIndex [variable] - cls.add_instance_attribute('ifIndex', 'uint32_t', is_const=False) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::retransmitter [variable] - cls.add_instance_attribute('retransmitter', 'ns3::Mac48Address', is_const=False) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::seqnum [variable] - cls.add_instance_attribute('seqnum', 'uint16_t', is_const=False) - return - -def register_Ns3FlameFlameTag_methods(root_module, cls): - ## flame-protocol.h: ns3::flame::FlameTag::FlameTag(ns3::flame::FlameTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::flame::FlameTag const &', 'arg0')]) - ## flame-protocol.h: ns3::flame::FlameTag::FlameTag(ns3::Mac48Address a=ns3::Mac48Address()) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'a', default_value='ns3::Mac48Address()')]) - ## flame-protocol.h: void ns3::flame::FlameTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## flame-protocol.h: ns3::TypeId ns3::flame::FlameTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## flame-protocol.h: uint32_t ns3::flame::FlameTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## flame-protocol.h: static ns3::TypeId ns3::flame::FlameTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-protocol.h: void ns3::flame::FlameTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## flame-protocol.h: void ns3::flame::FlameTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## flame-protocol.h: ns3::flame::FlameTag::receiver [variable] - cls.add_instance_attribute('receiver', 'ns3::Mac48Address', is_const=False) - ## flame-protocol.h: ns3::flame::FlameTag::transmitter [variable] - cls.add_instance_attribute('transmitter', 'ns3::Mac48Address', is_const=False) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - ## ie-dot11s-id.h: extern ns3::Ptr ns3::dot11s::MakeIeMeshIdChecker() [free function] - module.add_function('MakeIeMeshIdChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py deleted file mode 100644 index 62ffee68e..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_mobility.py +++ /dev/null @@ -1,1217 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## box.h: ns3::Box [class] - module.add_class('Box') - ## box.h: ns3::Box::Side [enumeration] - module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM', 'UP', 'DOWN'], outer_class=root_module['ns3::Box']) - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper [class] - module.add_class('ConstantVelocityHelper') - ## mobility-helper.h: ns3::MobilityHelper [class] - module.add_class('MobilityHelper') - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class] - module.add_class('Ns2MobilityHelper') - ## rectangle.h: ns3::Rectangle [class] - module.add_class('Rectangle') - ## rectangle.h: ns3::Rectangle::Side [enumeration] - module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM'], outer_class=root_module['ns3::Rectangle']) - ## waypoint.h: ns3::Waypoint [class] - module.add_class('Waypoint') - ## position-allocator.h: ns3::PositionAllocator [class] - module.add_class('PositionAllocator', parent=root_module['ns3::Object']) - ## position-allocator.h: ns3::RandomBoxPositionAllocator [class] - module.add_class('RandomBoxPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## position-allocator.h: ns3::RandomDiscPositionAllocator [class] - module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## position-allocator.h: ns3::RandomRectanglePositionAllocator [class] - module.add_class('RandomRectanglePositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## position-allocator.h: ns3::UniformDiscPositionAllocator [class] - module.add_class('UniformDiscPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## box.h: ns3::BoxChecker [class] - module.add_class('BoxChecker', parent=root_module['ns3::AttributeChecker']) - ## box.h: ns3::BoxValue [class] - module.add_class('BoxValue', parent=root_module['ns3::AttributeValue']) - ## position-allocator.h: ns3::GridPositionAllocator [class] - module.add_class('GridPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## position-allocator.h: ns3::GridPositionAllocator::LayoutType [enumeration] - module.add_enum('LayoutType', ['ROW_FIRST', 'COLUMN_FIRST'], outer_class=root_module['ns3::GridPositionAllocator']) - ## position-allocator.h: ns3::ListPositionAllocator [class] - module.add_class('ListPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## mobility-model.h: ns3::MobilityModel [class] - module.add_class('MobilityModel', parent=root_module['ns3::Object']) - ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel [class] - module.add_class('RandomDirection2dMobilityModel', parent=root_module['ns3::MobilityModel']) - ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel [class] - module.add_class('RandomWalk2dMobilityModel', parent=root_module['ns3::MobilityModel']) - ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::Mode [enumeration] - module.add_enum('Mode', ['MODE_DISTANCE', 'MODE_TIME'], outer_class=root_module['ns3::RandomWalk2dMobilityModel']) - ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel [class] - module.add_class('RandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel']) - ## rectangle.h: ns3::RectangleChecker [class] - module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker']) - ## rectangle.h: ns3::RectangleValue [class] - module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue']) - ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel [class] - module.add_class('SteadyStateRandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel']) - ## waypoint.h: ns3::WaypointChecker [class] - module.add_class('WaypointChecker', parent=root_module['ns3::AttributeChecker']) - ## waypoint-mobility-model.h: ns3::WaypointMobilityModel [class] - module.add_class('WaypointMobilityModel', parent=root_module['ns3::MobilityModel']) - ## waypoint.h: ns3::WaypointValue [class] - module.add_class('WaypointValue', parent=root_module['ns3::AttributeValue']) - ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel [class] - module.add_class('ConstantAccelerationMobilityModel', parent=root_module['ns3::MobilityModel']) - ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel [class] - module.add_class('ConstantPositionMobilityModel', parent=root_module['ns3::MobilityModel']) - ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel [class] - module.add_class('ConstantVelocityMobilityModel', parent=root_module['ns3::MobilityModel']) - ## gauss-markov-mobility-model.h: ns3::GaussMarkovMobilityModel [class] - module.add_class('GaussMarkovMobilityModel', parent=root_module['ns3::MobilityModel']) - ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel [class] - module.add_class('HierarchicalMobilityModel', parent=root_module['ns3::MobilityModel']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Box_methods(root_module, root_module['ns3::Box']) - register_Ns3ConstantVelocityHelper_methods(root_module, root_module['ns3::ConstantVelocityHelper']) - register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper']) - register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper']) - register_Ns3Rectangle_methods(root_module, root_module['ns3::Rectangle']) - register_Ns3Waypoint_methods(root_module, root_module['ns3::Waypoint']) - register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator']) - register_Ns3RandomBoxPositionAllocator_methods(root_module, root_module['ns3::RandomBoxPositionAllocator']) - register_Ns3RandomDiscPositionAllocator_methods(root_module, root_module['ns3::RandomDiscPositionAllocator']) - register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator']) - register_Ns3UniformDiscPositionAllocator_methods(root_module, root_module['ns3::UniformDiscPositionAllocator']) - register_Ns3BoxChecker_methods(root_module, root_module['ns3::BoxChecker']) - register_Ns3BoxValue_methods(root_module, root_module['ns3::BoxValue']) - register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator']) - register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator']) - register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) - register_Ns3RandomDirection2dMobilityModel_methods(root_module, root_module['ns3::RandomDirection2dMobilityModel']) - register_Ns3RandomWalk2dMobilityModel_methods(root_module, root_module['ns3::RandomWalk2dMobilityModel']) - register_Ns3RandomWaypointMobilityModel_methods(root_module, root_module['ns3::RandomWaypointMobilityModel']) - register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker']) - register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue']) - register_Ns3SteadyStateRandomWaypointMobilityModel_methods(root_module, root_module['ns3::SteadyStateRandomWaypointMobilityModel']) - register_Ns3WaypointChecker_methods(root_module, root_module['ns3::WaypointChecker']) - register_Ns3WaypointMobilityModel_methods(root_module, root_module['ns3::WaypointMobilityModel']) - register_Ns3WaypointValue_methods(root_module, root_module['ns3::WaypointValue']) - register_Ns3ConstantAccelerationMobilityModel_methods(root_module, root_module['ns3::ConstantAccelerationMobilityModel']) - register_Ns3ConstantPositionMobilityModel_methods(root_module, root_module['ns3::ConstantPositionMobilityModel']) - register_Ns3ConstantVelocityMobilityModel_methods(root_module, root_module['ns3::ConstantVelocityMobilityModel']) - register_Ns3GaussMarkovMobilityModel_methods(root_module, root_module['ns3::GaussMarkovMobilityModel']) - register_Ns3HierarchicalMobilityModel_methods(root_module, root_module['ns3::HierarchicalMobilityModel']) - return - -def register_Ns3Box_methods(root_module, cls): - cls.add_output_stream_operator() - ## box.h: ns3::Box::Box(ns3::Box const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Box const &', 'arg0')]) - ## box.h: ns3::Box::Box(double _xMin, double _xMax, double _yMin, double _yMax, double _zMin, double _zMax) [constructor] - cls.add_constructor([param('double', '_xMin'), param('double', '_xMax'), param('double', '_yMin'), param('double', '_yMax'), param('double', '_zMin'), param('double', '_zMax')]) - ## box.h: ns3::Box::Box() [constructor] - cls.add_constructor([]) - ## box.h: ns3::Vector ns3::Box::CalculateIntersection(ns3::Vector const & current, ns3::Vector const & speed) const [member function] - cls.add_method('CalculateIntersection', - 'ns3::Vector', - [param('ns3::Vector const &', 'current'), param('ns3::Vector const &', 'speed')], - is_const=True) - ## box.h: ns3::Box::Side ns3::Box::GetClosestSide(ns3::Vector const & position) const [member function] - cls.add_method('GetClosestSide', - 'ns3::Box::Side', - [param('ns3::Vector const &', 'position')], - is_const=True) - ## box.h: bool ns3::Box::IsInside(ns3::Vector const & position) const [member function] - cls.add_method('IsInside', - 'bool', - [param('ns3::Vector const &', 'position')], - is_const=True) - ## box.h: ns3::Box::xMax [variable] - cls.add_instance_attribute('xMax', 'double', is_const=False) - ## box.h: ns3::Box::xMin [variable] - cls.add_instance_attribute('xMin', 'double', is_const=False) - ## box.h: ns3::Box::yMax [variable] - cls.add_instance_attribute('yMax', 'double', is_const=False) - ## box.h: ns3::Box::yMin [variable] - cls.add_instance_attribute('yMin', 'double', is_const=False) - ## box.h: ns3::Box::zMax [variable] - cls.add_instance_attribute('zMax', 'double', is_const=False) - ## box.h: ns3::Box::zMin [variable] - cls.add_instance_attribute('zMin', 'double', is_const=False) - return - -def register_Ns3ConstantVelocityHelper_methods(root_module, cls): - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::ConstantVelocityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVelocityHelper const &', 'arg0')]) - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper() [constructor] - cls.add_constructor([]) - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::Vector const & position) [constructor] - cls.add_constructor([param('ns3::Vector const &', 'position')]) - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::Vector const & position, ns3::Vector const & vel) [constructor] - cls.add_constructor([param('ns3::Vector const &', 'position'), param('ns3::Vector const &', 'vel')]) - ## constant-velocity-helper.h: ns3::Vector ns3::ConstantVelocityHelper::GetCurrentPosition() const [member function] - cls.add_method('GetCurrentPosition', - 'ns3::Vector', - [], - is_const=True) - ## constant-velocity-helper.h: ns3::Vector ns3::ConstantVelocityHelper::GetVelocity() const [member function] - cls.add_method('GetVelocity', - 'ns3::Vector', - [], - is_const=True) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Pause() [member function] - cls.add_method('Pause', - 'void', - []) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::SetPosition(ns3::Vector const & position) [member function] - cls.add_method('SetPosition', - 'void', - [param('ns3::Vector const &', 'position')]) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::SetVelocity(ns3::Vector const & vel) [member function] - cls.add_method('SetVelocity', - 'void', - [param('ns3::Vector const &', 'vel')]) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Unpause() [member function] - cls.add_method('Unpause', - 'void', - []) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Update() const [member function] - cls.add_method('Update', - 'void', - [], - is_const=True) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::UpdateWithBounds(ns3::Rectangle const & rectangle) const [member function] - cls.add_method('UpdateWithBounds', - 'void', - [param('ns3::Rectangle const &', 'rectangle')], - is_const=True) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::UpdateWithBounds(ns3::Box const & bounds) const [member function] - cls.add_method('UpdateWithBounds', - 'void', - [param('ns3::Box const &', 'bounds')], - is_const=True) - return - -def register_Ns3MobilityHelper_methods(root_module, cls): - ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')]) - ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor] - cls.add_constructor([]) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('uint32_t', 'nodeid')], - is_static=True) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], - is_static=True) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::ostream &', 'os')], - is_static=True) - ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function] - cls.add_method('GetMobilityModelType', - 'std::string', - [], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'container')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function] - cls.add_method('InstallAll', - 'void', - []) - ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function] - cls.add_method('PopReferenceMobilityModel', - 'void', - []) - ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr reference) [member function] - cls.add_method('PushReferenceMobilityModel', - 'void', - [param('ns3::Ptr< ns3::Object >', 'reference')]) - ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(std::string referenceName) [member function] - cls.add_method('PushReferenceMobilityModel', - 'void', - [param('std::string', 'referenceName')]) - ## mobility-helper.h: void ns3::MobilityHelper::SetMobilityModel(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetMobilityModel', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue const &', 'v8', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue const &', 'v9', default_value='ns3::EmptyAttributeValue()')]) - ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr allocator) [member function] - cls.add_method('SetPositionAllocator', - 'void', - [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')]) - ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPositionAllocator', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue const &', 'v8', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue const &', 'v9', default_value='ns3::EmptyAttributeValue()')]) - return - -def register_Ns3Ns2MobilityHelper_methods(root_module, cls): - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(ns3::Ns2MobilityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ns2MobilityHelper const &', 'arg0')]) - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor] - cls.add_constructor([param('std::string', 'filename')]) - ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function] - cls.add_method('Install', - 'void', - [], - is_const=True) - return - -def register_Ns3Rectangle_methods(root_module, cls): - cls.add_output_stream_operator() - ## rectangle.h: ns3::Rectangle::Rectangle(ns3::Rectangle const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Rectangle const &', 'arg0')]) - ## rectangle.h: ns3::Rectangle::Rectangle(double _xMin, double _xMax, double _yMin, double _yMax) [constructor] - cls.add_constructor([param('double', '_xMin'), param('double', '_xMax'), param('double', '_yMin'), param('double', '_yMax')]) - ## rectangle.h: ns3::Rectangle::Rectangle() [constructor] - cls.add_constructor([]) - ## rectangle.h: ns3::Vector ns3::Rectangle::CalculateIntersection(ns3::Vector const & current, ns3::Vector const & speed) const [member function] - cls.add_method('CalculateIntersection', - 'ns3::Vector', - [param('ns3::Vector const &', 'current'), param('ns3::Vector const &', 'speed')], - is_const=True) - ## rectangle.h: ns3::Rectangle::Side ns3::Rectangle::GetClosestSide(ns3::Vector const & position) const [member function] - cls.add_method('GetClosestSide', - 'ns3::Rectangle::Side', - [param('ns3::Vector const &', 'position')], - is_const=True) - ## rectangle.h: bool ns3::Rectangle::IsInside(ns3::Vector const & position) const [member function] - cls.add_method('IsInside', - 'bool', - [param('ns3::Vector const &', 'position')], - is_const=True) - ## rectangle.h: ns3::Rectangle::xMax [variable] - cls.add_instance_attribute('xMax', 'double', is_const=False) - ## rectangle.h: ns3::Rectangle::xMin [variable] - cls.add_instance_attribute('xMin', 'double', is_const=False) - ## rectangle.h: ns3::Rectangle::yMax [variable] - cls.add_instance_attribute('yMax', 'double', is_const=False) - ## rectangle.h: ns3::Rectangle::yMin [variable] - cls.add_instance_attribute('yMin', 'double', is_const=False) - return - -def register_Ns3Waypoint_methods(root_module, cls): - cls.add_output_stream_operator() - ## waypoint.h: ns3::Waypoint::Waypoint(ns3::Waypoint const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Waypoint const &', 'arg0')]) - ## waypoint.h: ns3::Waypoint::Waypoint(ns3::Time const & waypointTime, ns3::Vector const & waypointPosition) [constructor] - cls.add_constructor([param('ns3::Time const &', 'waypointTime'), param('ns3::Vector const &', 'waypointPosition')]) - ## waypoint.h: ns3::Waypoint::Waypoint() [constructor] - cls.add_constructor([]) - ## waypoint.h: ns3::Waypoint::position [variable] - cls.add_instance_attribute('position', 'ns3::Vector', is_const=False) - ## waypoint.h: ns3::Waypoint::time [variable] - cls.add_instance_attribute('time', 'ns3::Time', is_const=False) - return - -def register_Ns3PositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::PositionAllocator::PositionAllocator(ns3::PositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::PositionAllocator::PositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::PositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::PositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3RandomBoxPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::RandomBoxPositionAllocator::RandomBoxPositionAllocator(ns3::RandomBoxPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomBoxPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::RandomBoxPositionAllocator::RandomBoxPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::RandomBoxPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::RandomBoxPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::RandomBoxPositionAllocator::SetX(ns3::RandomVariable x) [member function] - cls.add_method('SetX', - 'void', - [param('ns3::RandomVariable', 'x')]) - ## position-allocator.h: void ns3::RandomBoxPositionAllocator::SetY(ns3::RandomVariable y) [member function] - cls.add_method('SetY', - 'void', - [param('ns3::RandomVariable', 'y')]) - ## position-allocator.h: void ns3::RandomBoxPositionAllocator::SetZ(ns3::RandomVariable z) [member function] - cls.add_method('SetZ', - 'void', - [param('ns3::RandomVariable', 'z')]) - return - -def register_Ns3RandomDiscPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator(ns3::RandomDiscPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomDiscPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::RandomDiscPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::RandomDiscPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetRho(ns3::RandomVariable rho) [member function] - cls.add_method('SetRho', - 'void', - [param('ns3::RandomVariable', 'rho')]) - ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetTheta(ns3::RandomVariable theta) [member function] - cls.add_method('SetTheta', - 'void', - [param('ns3::RandomVariable', 'theta')]) - ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetX(double x) [member function] - cls.add_method('SetX', - 'void', - [param('double', 'x')]) - ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetY(double y) [member function] - cls.add_method('SetY', - 'void', - [param('double', 'y')]) - return - -def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator(ns3::RandomRectanglePositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomRectanglePositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::RandomRectanglePositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::RandomRectanglePositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetX(ns3::RandomVariable x) [member function] - cls.add_method('SetX', - 'void', - [param('ns3::RandomVariable', 'x')]) - ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetY(ns3::RandomVariable y) [member function] - cls.add_method('SetY', - 'void', - [param('ns3::RandomVariable', 'y')]) - return - -def register_Ns3UniformDiscPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator(ns3::UniformDiscPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UniformDiscPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::UniformDiscPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::UniformDiscPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetRho(double rho) [member function] - cls.add_method('SetRho', - 'void', - [param('double', 'rho')]) - ## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetX(double x) [member function] - cls.add_method('SetX', - 'void', - [param('double', 'x')]) - ## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetY(double y) [member function] - cls.add_method('SetY', - 'void', - [param('double', 'y')]) - return - -def register_Ns3BoxChecker_methods(root_module, cls): - ## box.h: ns3::BoxChecker::BoxChecker() [constructor] - cls.add_constructor([]) - ## box.h: ns3::BoxChecker::BoxChecker(ns3::BoxChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BoxChecker const &', 'arg0')]) - return - -def register_Ns3BoxValue_methods(root_module, cls): - ## box.h: ns3::BoxValue::BoxValue() [constructor] - cls.add_constructor([]) - ## box.h: ns3::BoxValue::BoxValue(ns3::BoxValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BoxValue const &', 'arg0')]) - ## box.h: ns3::BoxValue::BoxValue(ns3::Box const & value) [constructor] - cls.add_constructor([param('ns3::Box const &', 'value')]) - ## box.h: ns3::Ptr ns3::BoxValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## box.h: bool ns3::BoxValue::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) - ## box.h: ns3::Box ns3::BoxValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Box', - [], - is_const=True) - ## box.h: std::string ns3::BoxValue::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) - ## box.h: void ns3::BoxValue::Set(ns3::Box const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Box const &', 'value')]) - return - -def register_Ns3GridPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator(ns3::GridPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GridPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaX() const [member function] - cls.add_method('GetDeltaX', - 'double', - [], - is_const=True) - ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaY() const [member function] - cls.add_method('GetDeltaY', - 'double', - [], - is_const=True) - ## position-allocator.h: ns3::GridPositionAllocator::LayoutType ns3::GridPositionAllocator::GetLayoutType() const [member function] - cls.add_method('GetLayoutType', - 'ns3::GridPositionAllocator::LayoutType', - [], - is_const=True) - ## position-allocator.h: double ns3::GridPositionAllocator::GetMinX() const [member function] - cls.add_method('GetMinX', - 'double', - [], - is_const=True) - ## position-allocator.h: double ns3::GridPositionAllocator::GetMinY() const [member function] - cls.add_method('GetMinY', - 'double', - [], - is_const=True) - ## position-allocator.h: uint32_t ns3::GridPositionAllocator::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## position-allocator.h: ns3::Vector ns3::GridPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::GridPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaX(double deltaX) [member function] - cls.add_method('SetDeltaX', - 'void', - [param('double', 'deltaX')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaY(double deltaY) [member function] - cls.add_method('SetDeltaY', - 'void', - [param('double', 'deltaY')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetLayoutType(ns3::GridPositionAllocator::LayoutType layoutType) [member function] - cls.add_method('SetLayoutType', - 'void', - [param('ns3::GridPositionAllocator::LayoutType', 'layoutType')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetMinX(double xMin) [member function] - cls.add_method('SetMinX', - 'void', - [param('double', 'xMin')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetMinY(double yMin) [member function] - cls.add_method('SetMinY', - 'void', - [param('double', 'yMin')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetN(uint32_t n) [member function] - cls.add_method('SetN', - 'void', - [param('uint32_t', 'n')]) - return - -def register_Ns3ListPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator(ns3::ListPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ListPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: void ns3::ListPositionAllocator::Add(ns3::Vector v) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Vector', 'v')]) - ## position-allocator.h: ns3::Vector ns3::ListPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::ListPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3MobilityModel_methods(root_module, cls): - ## mobility-model.h: ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) - ## mobility-model.h: ns3::MobilityModel::MobilityModel() [constructor] - cls.add_constructor([]) - ## mobility-model.h: double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] - cls.add_method('GetDistanceFrom', - 'double', - [param('ns3::Ptr< ns3::MobilityModel const >', 'position')], - is_const=True) - ## mobility-model.h: ns3::Vector ns3::MobilityModel::GetPosition() const [member function] - cls.add_method('GetPosition', - 'ns3::Vector', - [], - is_const=True) - ## mobility-model.h: static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mobility-model.h: ns3::Vector ns3::MobilityModel::GetVelocity() const [member function] - cls.add_method('GetVelocity', - 'ns3::Vector', - [], - is_const=True) - ## mobility-model.h: void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function] - cls.add_method('SetPosition', - 'void', - [param('ns3::Vector const &', 'position')]) - ## mobility-model.h: void ns3::MobilityModel::NotifyCourseChange() const [member function] - cls.add_method('NotifyCourseChange', - 'void', - [], - is_const=True, visibility='protected') - ## mobility-model.h: ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## mobility-model.h: ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## mobility-model.h: void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3RandomDirection2dMobilityModel_methods(root_module, cls): - ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel() [constructor] - cls.add_constructor([]) - ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel(ns3::RandomDirection2dMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomDirection2dMobilityModel const &', 'arg0')]) - ## random-direction-2d-mobility-model.h: static ns3::TypeId ns3::RandomDirection2dMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## random-direction-2d-mobility-model.h: ns3::Vector ns3::RandomDirection2dMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-direction-2d-mobility-model.h: ns3::Vector ns3::RandomDirection2dMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - ## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls): - ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel() [constructor] - cls.add_constructor([]) - ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel(ns3::RandomWalk2dMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')]) - ## random-walk-2d-mobility-model.h: static ns3::TypeId ns3::RandomWalk2dMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls): - ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel() [constructor] - cls.add_constructor([]) - ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel(ns3::RandomWaypointMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomWaypointMobilityModel const &', 'arg0')]) - ## random-waypoint-mobility-model.h: static ns3::TypeId ns3::RandomWaypointMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## random-waypoint-mobility-model.h: void ns3::RandomWaypointMobilityModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-waypoint-mobility-model.h: void ns3::RandomWaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3RectangleChecker_methods(root_module, cls): - ## rectangle.h: ns3::RectangleChecker::RectangleChecker() [constructor] - cls.add_constructor([]) - ## rectangle.h: ns3::RectangleChecker::RectangleChecker(ns3::RectangleChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')]) - return - -def register_Ns3RectangleValue_methods(root_module, cls): - ## rectangle.h: ns3::RectangleValue::RectangleValue() [constructor] - cls.add_constructor([]) - ## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::RectangleValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')]) - ## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::Rectangle const & value) [constructor] - cls.add_constructor([param('ns3::Rectangle const &', 'value')]) - ## rectangle.h: ns3::Ptr ns3::RectangleValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## rectangle.h: bool ns3::RectangleValue::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) - ## rectangle.h: ns3::Rectangle ns3::RectangleValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Rectangle', - [], - is_const=True) - ## rectangle.h: std::string ns3::RectangleValue::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) - ## rectangle.h: void ns3::RectangleValue::Set(ns3::Rectangle const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Rectangle const &', 'value')]) - return - -def register_Ns3SteadyStateRandomWaypointMobilityModel_methods(root_module, cls): - ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel(ns3::SteadyStateRandomWaypointMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SteadyStateRandomWaypointMobilityModel const &', 'arg0')]) - ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel() [constructor] - cls.add_constructor([]) - ## steady-state-random-waypoint-mobility-model.h: static ns3::TypeId ns3::SteadyStateRandomWaypointMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## steady-state-random-waypoint-mobility-model.h: void ns3::SteadyStateRandomWaypointMobilityModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## steady-state-random-waypoint-mobility-model.h: ns3::Vector ns3::SteadyStateRandomWaypointMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## steady-state-random-waypoint-mobility-model.h: ns3::Vector ns3::SteadyStateRandomWaypointMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## steady-state-random-waypoint-mobility-model.h: void ns3::SteadyStateRandomWaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3WaypointChecker_methods(root_module, cls): - ## waypoint.h: ns3::WaypointChecker::WaypointChecker() [constructor] - cls.add_constructor([]) - ## waypoint.h: ns3::WaypointChecker::WaypointChecker(ns3::WaypointChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaypointChecker const &', 'arg0')]) - return - -def register_Ns3WaypointMobilityModel_methods(root_module, cls): - ## waypoint-mobility-model.h: ns3::WaypointMobilityModel::WaypointMobilityModel(ns3::WaypointMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaypointMobilityModel const &', 'arg0')]) - ## waypoint-mobility-model.h: ns3::WaypointMobilityModel::WaypointMobilityModel() [constructor] - cls.add_constructor([]) - ## waypoint-mobility-model.h: void ns3::WaypointMobilityModel::AddWaypoint(ns3::Waypoint const & waypoint) [member function] - cls.add_method('AddWaypoint', - 'void', - [param('ns3::Waypoint const &', 'waypoint')]) - ## waypoint-mobility-model.h: void ns3::WaypointMobilityModel::EndMobility() [member function] - cls.add_method('EndMobility', - 'void', - []) - ## waypoint-mobility-model.h: ns3::Waypoint ns3::WaypointMobilityModel::GetNextWaypoint() const [member function] - cls.add_method('GetNextWaypoint', - 'ns3::Waypoint', - [], - is_const=True) - ## waypoint-mobility-model.h: static ns3::TypeId ns3::WaypointMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## waypoint-mobility-model.h: uint32_t ns3::WaypointMobilityModel::WaypointsLeft() const [member function] - cls.add_method('WaypointsLeft', - 'uint32_t', - [], - is_const=True) - ## waypoint-mobility-model.h: void ns3::WaypointMobilityModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## waypoint-mobility-model.h: ns3::Vector ns3::WaypointMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## waypoint-mobility-model.h: ns3::Vector ns3::WaypointMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## waypoint-mobility-model.h: void ns3::WaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3WaypointValue_methods(root_module, cls): - ## waypoint.h: ns3::WaypointValue::WaypointValue() [constructor] - cls.add_constructor([]) - ## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::WaypointValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaypointValue const &', 'arg0')]) - ## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::Waypoint const & value) [constructor] - cls.add_constructor([param('ns3::Waypoint const &', 'value')]) - ## waypoint.h: ns3::Ptr ns3::WaypointValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## waypoint.h: bool ns3::WaypointValue::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) - ## waypoint.h: ns3::Waypoint ns3::WaypointValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Waypoint', - [], - is_const=True) - ## waypoint.h: std::string ns3::WaypointValue::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) - ## waypoint.h: void ns3::WaypointValue::Set(ns3::Waypoint const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Waypoint const &', 'value')]) - return - -def register_Ns3ConstantAccelerationMobilityModel_methods(root_module, cls): - ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel::ConstantAccelerationMobilityModel(ns3::ConstantAccelerationMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantAccelerationMobilityModel const &', 'arg0')]) - ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel::ConstantAccelerationMobilityModel() [constructor] - cls.add_constructor([]) - ## constant-acceleration-mobility-model.h: static ns3::TypeId ns3::ConstantAccelerationMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## constant-acceleration-mobility-model.h: void ns3::ConstantAccelerationMobilityModel::SetVelocityAndAcceleration(ns3::Vector const & velocity, ns3::Vector const & acceleration) [member function] - cls.add_method('SetVelocityAndAcceleration', - 'void', - [param('ns3::Vector const &', 'velocity'), param('ns3::Vector const &', 'acceleration')]) - ## constant-acceleration-mobility-model.h: ns3::Vector ns3::ConstantAccelerationMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-acceleration-mobility-model.h: ns3::Vector ns3::ConstantAccelerationMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-acceleration-mobility-model.h: void ns3::ConstantAccelerationMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3ConstantPositionMobilityModel_methods(root_module, cls): - ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel::ConstantPositionMobilityModel(ns3::ConstantPositionMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantPositionMobilityModel const &', 'arg0')]) - ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel::ConstantPositionMobilityModel() [constructor] - cls.add_constructor([]) - ## constant-position-mobility-model.h: static ns3::TypeId ns3::ConstantPositionMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## constant-position-mobility-model.h: ns3::Vector ns3::ConstantPositionMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-position-mobility-model.h: ns3::Vector ns3::ConstantPositionMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-position-mobility-model.h: void ns3::ConstantPositionMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3ConstantVelocityMobilityModel_methods(root_module, cls): - ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel::ConstantVelocityMobilityModel(ns3::ConstantVelocityMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVelocityMobilityModel const &', 'arg0')]) - ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel::ConstantVelocityMobilityModel() [constructor] - cls.add_constructor([]) - ## constant-velocity-mobility-model.h: static ns3::TypeId ns3::ConstantVelocityMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## constant-velocity-mobility-model.h: void ns3::ConstantVelocityMobilityModel::SetVelocity(ns3::Vector const & speed) [member function] - cls.add_method('SetVelocity', - 'void', - [param('ns3::Vector const &', 'speed')]) - ## constant-velocity-mobility-model.h: ns3::Vector ns3::ConstantVelocityMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-velocity-mobility-model.h: ns3::Vector ns3::ConstantVelocityMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-velocity-mobility-model.h: void ns3::ConstantVelocityMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3GaussMarkovMobilityModel_methods(root_module, cls): - ## gauss-markov-mobility-model.h: ns3::GaussMarkovMobilityModel::GaussMarkovMobilityModel(ns3::GaussMarkovMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GaussMarkovMobilityModel const &', 'arg0')]) - ## gauss-markov-mobility-model.h: ns3::GaussMarkovMobilityModel::GaussMarkovMobilityModel() [constructor] - cls.add_constructor([]) - ## gauss-markov-mobility-model.h: static ns3::TypeId ns3::GaussMarkovMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## gauss-markov-mobility-model.h: void ns3::GaussMarkovMobilityModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## gauss-markov-mobility-model.h: ns3::Vector ns3::GaussMarkovMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## gauss-markov-mobility-model.h: ns3::Vector ns3::GaussMarkovMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## gauss-markov-mobility-model.h: void ns3::GaussMarkovMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3HierarchicalMobilityModel_methods(root_module, cls): - ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel::HierarchicalMobilityModel(ns3::HierarchicalMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HierarchicalMobilityModel const &', 'arg0')]) - ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel::HierarchicalMobilityModel() [constructor] - cls.add_constructor([]) - ## hierarchical-mobility-model.h: ns3::Ptr ns3::HierarchicalMobilityModel::GetChild() const [member function] - cls.add_method('GetChild', - 'ns3::Ptr< ns3::MobilityModel >', - [], - is_const=True) - ## hierarchical-mobility-model.h: ns3::Ptr ns3::HierarchicalMobilityModel::GetParent() const [member function] - cls.add_method('GetParent', - 'ns3::Ptr< ns3::MobilityModel >', - [], - is_const=True) - ## hierarchical-mobility-model.h: static ns3::TypeId ns3::HierarchicalMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::SetChild(ns3::Ptr model) [member function] - cls.add_method('SetChild', - 'void', - [param('ns3::Ptr< ns3::MobilityModel >', 'model')]) - ## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::SetParent(ns3::Ptr model) [member function] - cls.add_method('SetParent', - 'void', - [param('ns3::Ptr< ns3::MobilityModel >', 'model')]) - ## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## box.h: extern ns3::Ptr ns3::MakeBoxChecker() [free function] - module.add_function('MakeBoxChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## rectangle.h: extern ns3::Ptr ns3::MakeRectangleChecker() [free function] - module.add_function('MakeRectangleChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## waypoint.h: extern ns3::Ptr ns3::MakeWaypointChecker() [free function] - module.add_function('MakeWaypointChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_mpi.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_mpi.py deleted file mode 100644 index 588b909ce..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_mpi.py +++ /dev/null @@ -1,388 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## distributed-simulator-impl.h: ns3::LbtsMessage [class] - module.add_class('LbtsMessage') - ## mpi-interface.h: ns3::MpiInterface [class] - module.add_class('MpiInterface') - ## mpi-net-device.h: ns3::MpiNetDevice [class] - module.add_class('MpiNetDevice', allow_subclassing=True) - ## mpi-interface.h: ns3::SentBuffer [class] - module.add_class('SentBuffer') - ## distributed-simulator-impl.h: ns3::DistributedSimulatorImpl [class] - module.add_class('DistributedSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3LbtsMessage_methods(root_module, root_module['ns3::LbtsMessage']) - register_Ns3MpiInterface_methods(root_module, root_module['ns3::MpiInterface']) - register_Ns3MpiNetDevice_methods(root_module, root_module['ns3::MpiNetDevice']) - register_Ns3SentBuffer_methods(root_module, root_module['ns3::SentBuffer']) - register_Ns3DistributedSimulatorImpl_methods(root_module, root_module['ns3::DistributedSimulatorImpl']) - return - -def register_Ns3LbtsMessage_methods(root_module, cls): - ## distributed-simulator-impl.h: ns3::LbtsMessage::LbtsMessage(ns3::LbtsMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LbtsMessage const &', 'arg0')]) - ## distributed-simulator-impl.h: ns3::LbtsMessage::LbtsMessage() [constructor] - cls.add_constructor([]) - ## distributed-simulator-impl.h: ns3::LbtsMessage::LbtsMessage(uint32_t rxc, uint32_t txc, uint32_t id, ns3::Time const & t) [constructor] - cls.add_constructor([param('uint32_t', 'rxc'), param('uint32_t', 'txc'), param('uint32_t', 'id'), param('ns3::Time const &', 't')]) - ## distributed-simulator-impl.h: uint32_t ns3::LbtsMessage::GetMyId() [member function] - cls.add_method('GetMyId', - 'uint32_t', - []) - ## distributed-simulator-impl.h: uint32_t ns3::LbtsMessage::GetRxCount() [member function] - cls.add_method('GetRxCount', - 'uint32_t', - []) - ## distributed-simulator-impl.h: ns3::Time ns3::LbtsMessage::GetSmallestTime() [member function] - cls.add_method('GetSmallestTime', - 'ns3::Time', - []) - ## distributed-simulator-impl.h: uint32_t ns3::LbtsMessage::GetTxCount() [member function] - cls.add_method('GetTxCount', - 'uint32_t', - []) - return - -def register_Ns3MpiInterface_methods(root_module, cls): - ## mpi-interface.h: ns3::MpiInterface::MpiInterface() [constructor] - cls.add_constructor([]) - ## mpi-interface.h: ns3::MpiInterface::MpiInterface(ns3::MpiInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MpiInterface const &', 'arg0')]) - ## mpi-interface.h: static void ns3::MpiInterface::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_static=True) - ## mpi-interface.h: static void ns3::MpiInterface::Enable(int * pargc, char * * * pargv) [member function] - cls.add_method('Enable', - 'void', - [param('int *', 'pargc'), param('char * * *', 'pargv')], - is_static=True) - ## mpi-interface.h: static uint32_t ns3::MpiInterface::GetRxCount() [member function] - cls.add_method('GetRxCount', - 'uint32_t', - [], - is_static=True) - ## mpi-interface.h: static uint32_t ns3::MpiInterface::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_static=True) - ## mpi-interface.h: static uint32_t ns3::MpiInterface::GetSystemId() [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_static=True) - ## mpi-interface.h: static uint32_t ns3::MpiInterface::GetTxCount() [member function] - cls.add_method('GetTxCount', - 'uint32_t', - [], - is_static=True) - ## mpi-interface.h: static bool ns3::MpiInterface::IsEnabled() [member function] - cls.add_method('IsEnabled', - 'bool', - [], - is_static=True) - ## mpi-interface.h: static void ns3::MpiInterface::ReceiveMessages() [member function] - cls.add_method('ReceiveMessages', - 'void', - [], - is_static=True) - ## mpi-interface.h: static void ns3::MpiInterface::SendPacket(ns3::Ptr p, ns3::Time const & rxTime, uint32_t node, uint32_t dev) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Time const &', 'rxTime'), param('uint32_t', 'node'), param('uint32_t', 'dev')], - is_static=True) - ## mpi-interface.h: static void ns3::MpiInterface::TestSendComplete() [member function] - cls.add_method('TestSendComplete', - 'void', - [], - is_static=True) - return - -def register_Ns3MpiNetDevice_methods(root_module, cls): - ## mpi-net-device.h: ns3::MpiNetDevice::MpiNetDevice() [constructor] - cls.add_constructor([]) - ## mpi-net-device.h: ns3::MpiNetDevice::MpiNetDevice(ns3::MpiNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MpiNetDevice const &', 'arg0')]) - ## mpi-net-device.h: void ns3::MpiNetDevice::MpiReceive(ns3::Ptr p) [member function] - cls.add_method('MpiReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## mpi-net-device.h: void ns3::MpiNetDevice::DoMpiReceive(ns3::Ptr p) [member function] - cls.add_method('DoMpiReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3SentBuffer_methods(root_module, cls): - ## mpi-interface.h: ns3::SentBuffer::SentBuffer(ns3::SentBuffer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SentBuffer const &', 'arg0')]) - ## mpi-interface.h: ns3::SentBuffer::SentBuffer() [constructor] - cls.add_constructor([]) - ## mpi-interface.h: uint8_t * ns3::SentBuffer::GetBuffer() [member function] - cls.add_method('GetBuffer', - 'uint8_t *', - []) - ## mpi-interface.h: MPI_Request * ns3::SentBuffer::GetRequest() [member function] - cls.add_method('GetRequest', - 'MPI_Request *', - []) - ## mpi-interface.h: void ns3::SentBuffer::SetBuffer(uint8_t * buffer) [member function] - cls.add_method('SetBuffer', - 'void', - [param('uint8_t *', 'buffer')]) - return - -def register_Ns3DistributedSimulatorImpl_methods(root_module, cls): - ## distributed-simulator-impl.h: ns3::DistributedSimulatorImpl::DistributedSimulatorImpl(ns3::DistributedSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DistributedSimulatorImpl const &', 'arg0')]) - ## distributed-simulator-impl.h: ns3::DistributedSimulatorImpl::DistributedSimulatorImpl() [constructor] - cls.add_constructor([]) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## distributed-simulator-impl.h: uint32_t ns3::DistributedSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: ns3::Time ns3::DistributedSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: ns3::Time ns3::DistributedSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: uint32_t ns3::DistributedSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: static ns3::TypeId ns3::DistributedSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## distributed-simulator-impl.h: bool ns3::DistributedSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: bool ns3::DistributedSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: ns3::Time ns3::DistributedSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: ns3::Time ns3::DistributedSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## distributed-simulator-impl.h: ns3::EventId ns3::DistributedSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## distributed-simulator-impl.h: ns3::EventId ns3::DistributedSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## distributed-simulator-impl.h: ns3::EventId ns3::DistributedSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_netanim.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_netanim.py deleted file mode 100644 index cdb48ddaf..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_netanim.py +++ /dev/null @@ -1,328 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## animation-interface.h: ns3::AnimationInterface [class] - module.add_class('AnimationInterface') - ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper [class] - module.add_class('PointToPointDumbbellHelper') - ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper [class] - module.add_class('PointToPointGridHelper') - ## point-to-point-star-helper.h: ns3::PointToPointStarHelper [class] - module.add_class('PointToPointStarHelper') - ## canvas-location.h: ns3::CanvasLocation [class] - module.add_class('CanvasLocation', parent=root_module['ns3::Object']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface']) - register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper']) - register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper']) - register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper']) - register_Ns3CanvasLocation_methods(root_module, root_module['ns3::CanvasLocation']) - return - -def register_Ns3AnimationInterface_methods(root_module, cls): - ## animation-interface.h: ns3::AnimationInterface::AnimationInterface(ns3::AnimationInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AnimationInterface const &', 'arg0')]) - ## animation-interface.h: ns3::AnimationInterface::AnimationInterface() [constructor] - cls.add_constructor([]) - ## animation-interface.h: bool ns3::AnimationInterface::SetOutputFile(std::string const & fn) [member function] - cls.add_method('SetOutputFile', - 'bool', - [param('std::string const &', 'fn')]) - ## animation-interface.h: bool ns3::AnimationInterface::SetServerPort(uint16_t port) [member function] - cls.add_method('SetServerPort', - 'bool', - [param('uint16_t', 'port')]) - ## animation-interface.h: void ns3::AnimationInterface::StartAnimation() [member function] - cls.add_method('StartAnimation', - 'void', - []) - ## animation-interface.h: void ns3::AnimationInterface::StopAnimation() [member function] - cls.add_method('StopAnimation', - 'void', - []) - return - -def register_Ns3PointToPointDumbbellHelper_methods(root_module, cls): - ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(ns3::PointToPointDumbbellHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointDumbbellHelper const &', 'arg0')]) - ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(uint32_t nLeftLeaf, ns3::PointToPointHelper leftHelper, uint32_t nRightLeaf, ns3::PointToPointHelper rightHelper, ns3::PointToPointHelper bottleneckHelper) [constructor] - cls.add_constructor([param('uint32_t', 'nLeftLeaf'), param('ns3::PointToPointHelper', 'leftHelper'), param('uint32_t', 'nRightLeaf'), param('ns3::PointToPointHelper', 'rightHelper'), param('ns3::PointToPointHelper', 'bottleneckHelper')]) - ## point-to-point-dumbbell-helper.h: void ns3::PointToPointDumbbellHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper leftIp, ns3::Ipv4AddressHelper rightIp, ns3::Ipv4AddressHelper routerIp) [member function] - cls.add_method('AssignIpv4Addresses', - 'void', - [param('ns3::Ipv4AddressHelper', 'leftIp'), param('ns3::Ipv4AddressHelper', 'rightIp'), param('ns3::Ipv4AddressHelper', 'routerIp')]) - ## point-to-point-dumbbell-helper.h: void ns3::PointToPointDumbbellHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function] - cls.add_method('BoundingBox', - 'void', - [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')]) - ## point-to-point-dumbbell-helper.h: ns3::Ptr ns3::PointToPointDumbbellHelper::GetLeft() const [member function] - cls.add_method('GetLeft', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ptr ns3::PointToPointDumbbellHelper::GetLeft(uint32_t i) const [member function] - cls.add_method('GetLeft', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetLeftIpv4Address(uint32_t i) const [member function] - cls.add_method('GetLeftIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ptr ns3::PointToPointDumbbellHelper::GetRight() const [member function] - cls.add_method('GetRight', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ptr ns3::PointToPointDumbbellHelper::GetRight(uint32_t i) const [member function] - cls.add_method('GetRight', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetRightIpv4Address(uint32_t i) const [member function] - cls.add_method('GetRightIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-dumbbell-helper.h: void ns3::PointToPointDumbbellHelper::InstallStack(ns3::InternetStackHelper stack) [member function] - cls.add_method('InstallStack', - 'void', - [param('ns3::InternetStackHelper', 'stack')]) - ## point-to-point-dumbbell-helper.h: uint32_t ns3::PointToPointDumbbellHelper::LeftCount() const [member function] - cls.add_method('LeftCount', - 'uint32_t', - [], - is_const=True) - ## point-to-point-dumbbell-helper.h: uint32_t ns3::PointToPointDumbbellHelper::RightCount() const [member function] - cls.add_method('RightCount', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3PointToPointGridHelper_methods(root_module, cls): - ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper::PointToPointGridHelper(ns3::PointToPointGridHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointGridHelper const &', 'arg0')]) - ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper::PointToPointGridHelper(uint32_t nRows, uint32_t nCols, ns3::PointToPointHelper pointToPoint) [constructor] - cls.add_constructor([param('uint32_t', 'nRows'), param('uint32_t', 'nCols'), param('ns3::PointToPointHelper', 'pointToPoint')]) - ## point-to-point-grid-helper.h: void ns3::PointToPointGridHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper rowIp, ns3::Ipv4AddressHelper colIp) [member function] - cls.add_method('AssignIpv4Addresses', - 'void', - [param('ns3::Ipv4AddressHelper', 'rowIp'), param('ns3::Ipv4AddressHelper', 'colIp')]) - ## point-to-point-grid-helper.h: void ns3::PointToPointGridHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function] - cls.add_method('BoundingBox', - 'void', - [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')]) - ## point-to-point-grid-helper.h: ns3::Ipv4Address ns3::PointToPointGridHelper::GetIpv4Address(uint32_t row, uint32_t col) [member function] - cls.add_method('GetIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'row'), param('uint32_t', 'col')]) - ## point-to-point-grid-helper.h: ns3::Ptr ns3::PointToPointGridHelper::GetNode(uint32_t row, uint32_t col) [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'row'), param('uint32_t', 'col')]) - ## point-to-point-grid-helper.h: void ns3::PointToPointGridHelper::InstallStack(ns3::InternetStackHelper stack) [member function] - cls.add_method('InstallStack', - 'void', - [param('ns3::InternetStackHelper', 'stack')]) - return - -def register_Ns3PointToPointStarHelper_methods(root_module, cls): - ## point-to-point-star-helper.h: ns3::PointToPointStarHelper::PointToPointStarHelper(ns3::PointToPointStarHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointStarHelper const &', 'arg0')]) - ## point-to-point-star-helper.h: ns3::PointToPointStarHelper::PointToPointStarHelper(uint32_t numSpokes, ns3::PointToPointHelper p2pHelper) [constructor] - cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::PointToPointHelper', 'p2pHelper')]) - ## point-to-point-star-helper.h: void ns3::PointToPointStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function] - cls.add_method('AssignIpv4Addresses', - 'void', - [param('ns3::Ipv4AddressHelper', 'address')]) - ## point-to-point-star-helper.h: void ns3::PointToPointStarHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function] - cls.add_method('BoundingBox', - 'void', - [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')]) - ## point-to-point-star-helper.h: ns3::Ptr ns3::PointToPointStarHelper::GetHub() const [member function] - cls.add_method('GetHub', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## point-to-point-star-helper.h: ns3::Ipv4Address ns3::PointToPointStarHelper::GetHubIpv4Address(uint32_t i) const [member function] - cls.add_method('GetHubIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-star-helper.h: ns3::Ipv4Address ns3::PointToPointStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function] - cls.add_method('GetSpokeIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-star-helper.h: ns3::Ptr ns3::PointToPointStarHelper::GetSpokeNode(uint32_t i) const [member function] - cls.add_method('GetSpokeNode', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-star-helper.h: void ns3::PointToPointStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function] - cls.add_method('InstallStack', - 'void', - [param('ns3::InternetStackHelper', 'stack')]) - ## point-to-point-star-helper.h: uint32_t ns3::PointToPointStarHelper::SpokeCount() const [member function] - cls.add_method('SpokeCount', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3CanvasLocation_methods(root_module, cls): - ## canvas-location.h: ns3::CanvasLocation::CanvasLocation(ns3::CanvasLocation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CanvasLocation const &', 'arg0')]) - ## canvas-location.h: ns3::CanvasLocation::CanvasLocation() [constructor] - cls.add_constructor([]) - ## canvas-location.h: ns3::Vector ns3::CanvasLocation::GetLocation() const [member function] - cls.add_method('GetLocation', - 'ns3::Vector', - [], - is_const=True) - ## canvas-location.h: static ns3::TypeId ns3::CanvasLocation::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## canvas-location.h: void ns3::CanvasLocation::SetLocation(ns3::Vector const & location) [member function] - cls.add_method('SetLocation', - 'void', - [param('ns3::Vector const &', 'location')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_network.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_network.py deleted file mode 100644 index 7aea9666f..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_network.py +++ /dev/null @@ -1,6038 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## packetbb.h: ns3::PbbAddressLength [enumeration] - module.add_enum('PbbAddressLength', ['IPV4', 'IPV6']) - ## error-model.h: ns3::ErrorUnit [enumeration] - module.add_enum('ErrorUnit', ['EU_BIT', 'EU_BYTE', 'EU_PKT']) - ## ethernet-header.h: ns3::ethernet_header_t [enumeration] - module.add_enum('ethernet_header_t', ['LENGTH', 'VLAN', 'QINQ']) - ## address.h: ns3::Address [class] - module.add_class('Address') - ## address.h: ns3::Address::MaxSize_e [enumeration] - module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address']) - ## application-container.h: ns3::ApplicationContainer [class] - module.add_class('ApplicationContainer') - ## trace-helper.h: ns3::AsciiTraceHelper [class] - module.add_class('AsciiTraceHelper') - ## trace-helper.h: ns3::AsciiTraceHelperForDevice [class] - module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) - ## buffer.h: ns3::Buffer [class] - module.add_class('Buffer') - ## buffer.h: ns3::Buffer::Iterator [class] - module.add_class('Iterator', outer_class=root_module['ns3::Buffer']) - ## packet.h: ns3::ByteTagIterator [class] - module.add_class('ByteTagIterator') - ## packet.h: ns3::ByteTagIterator::Item [class] - module.add_class('Item', outer_class=root_module['ns3::ByteTagIterator']) - ## byte-tag-list.h: ns3::ByteTagList [class] - module.add_class('ByteTagList') - ## byte-tag-list.h: ns3::ByteTagList::Iterator [class] - module.add_class('Iterator', outer_class=root_module['ns3::ByteTagList']) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item [struct] - module.add_class('Item', outer_class=root_module['ns3::ByteTagList::Iterator']) - ## channel-list.h: ns3::ChannelList [class] - module.add_class('ChannelList') - ## data-rate.h: ns3::DataRate [class] - module.add_class('DataRate') - ## inet6-socket-address.h: ns3::Inet6SocketAddress [class] - module.add_class('Inet6SocketAddress') - ## inet6-socket-address.h: ns3::Inet6SocketAddress [class] - root_module['ns3::Inet6SocketAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## inet-socket-address.h: ns3::InetSocketAddress [class] - module.add_class('InetSocketAddress') - ## inet-socket-address.h: ns3::InetSocketAddress [class] - root_module['ns3::InetSocketAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## ipv4-address.h: ns3::Ipv4Address [class] - module.add_class('Ipv4Address') - ## ipv4-address.h: ns3::Ipv4Address [class] - root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address']) - ## ipv4-address.h: ns3::Ipv4Mask [class] - module.add_class('Ipv4Mask') - ## ipv6-address.h: ns3::Ipv6Address [class] - module.add_class('Ipv6Address') - ## ipv6-address.h: ns3::Ipv6Address [class] - root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address']) - ## ipv6-address.h: ns3::Ipv6Prefix [class] - module.add_class('Ipv6Prefix') - ## mac48-address.h: ns3::Mac48Address [class] - module.add_class('Mac48Address') - ## mac48-address.h: ns3::Mac48Address [class] - root_module['ns3::Mac48Address'].implicitly_converts_to(root_module['ns3::Address']) - ## mac64-address.h: ns3::Mac64Address [class] - module.add_class('Mac64Address') - ## mac64-address.h: ns3::Mac64Address [class] - root_module['ns3::Mac64Address'].implicitly_converts_to(root_module['ns3::Address']) - ## net-device-container.h: ns3::NetDeviceContainer [class] - module.add_class('NetDeviceContainer') - ## node-container.h: ns3::NodeContainer [class] - module.add_class('NodeContainer') - ## node-list.h: ns3::NodeList [class] - module.add_class('NodeList') - ## packet-metadata.h: ns3::PacketMetadata [class] - module.add_class('PacketMetadata') - ## packet-metadata.h: ns3::PacketMetadata::Item [struct] - module.add_class('Item', outer_class=root_module['ns3::PacketMetadata']) - ## packet-metadata.h: ns3::PacketMetadata::Item [enumeration] - module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item']) - ## packet-metadata.h: ns3::PacketMetadata::ItemIterator [class] - module.add_class('ItemIterator', outer_class=root_module['ns3::PacketMetadata']) - ## packet-socket-address.h: ns3::PacketSocketAddress [class] - module.add_class('PacketSocketAddress') - ## packet-socket-address.h: ns3::PacketSocketAddress [class] - root_module['ns3::PacketSocketAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## packet-socket-helper.h: ns3::PacketSocketHelper [class] - module.add_class('PacketSocketHelper') - ## packet.h: ns3::PacketTagIterator [class] - module.add_class('PacketTagIterator') - ## packet.h: ns3::PacketTagIterator::Item [class] - module.add_class('Item', outer_class=root_module['ns3::PacketTagIterator']) - ## packet-tag-list.h: ns3::PacketTagList [class] - module.add_class('PacketTagList') - ## packet-tag-list.h: ns3::PacketTagList::TagData [struct] - module.add_class('TagData', outer_class=root_module['ns3::PacketTagList']) - ## packetbb.h: ns3::PbbAddressTlvBlock [class] - module.add_class('PbbAddressTlvBlock') - ## packetbb.h: ns3::PbbTlvBlock [class] - module.add_class('PbbTlvBlock') - ## pcap-file.h: ns3::PcapFile [class] - module.add_class('PcapFile') - ## trace-helper.h: ns3::PcapHelper [class] - module.add_class('PcapHelper') - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelperForDevice [class] - module.add_class('PcapHelperForDevice', allow_subclassing=True) - ## sequence-number.h: ns3::SequenceNumber [class] - module.add_class('SequenceNumber32') - ## tag.h: ns3::Tag [class] - module.add_class('Tag', parent=root_module['ns3::ObjectBase']) - ## tag-buffer.h: ns3::TagBuffer [class] - module.add_class('TagBuffer') - ## chunk.h: ns3::Chunk [class] - module.add_class('Chunk', parent=root_module['ns3::ObjectBase']) - ## flow-id-tag.h: ns3::FlowIdTag [class] - module.add_class('FlowIdTag', parent=root_module['ns3::Tag']) - ## header.h: ns3::Header [class] - module.add_class('Header', parent=root_module['ns3::Chunk']) - ## llc-snap-header.h: ns3::LlcSnapHeader [class] - module.add_class('LlcSnapHeader', parent=root_module['ns3::Header']) - ## packet-burst.h: ns3::PacketBurst [class] - module.add_class('PacketBurst', parent=root_module['ns3::Object']) - ## pcap-file-wrapper.h: ns3::PcapFileWrapper [class] - module.add_class('PcapFileWrapper', parent=root_module['ns3::Object']) - ## queue.h: ns3::Queue [class] - module.add_class('Queue', parent=root_module['ns3::Object']) - ## radiotap-header.h: ns3::RadiotapHeader [class] - module.add_class('RadiotapHeader', parent=root_module['ns3::Header']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_NONE', 'FRAME_FLAG_CFP', 'FRAME_FLAG_SHORT_PREAMBLE', 'FRAME_FLAG_WEP', 'FRAME_FLAG_FRAGMENTED', 'FRAME_FLAG_FCS_INCLUDED', 'FRAME_FLAG_DATA_PADDING', 'FRAME_FLAG_BAD_FCS', 'FRAME_FLAG_SHORT_GUARD'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_NONE', 'CHANNEL_FLAG_TURBO', 'CHANNEL_FLAG_CCK', 'CHANNEL_FLAG_OFDM', 'CHANNEL_FLAG_SPECTRUM_2GHZ', 'CHANNEL_FLAG_SPECTRUM_5GHZ', 'CHANNEL_FLAG_PASSIVE', 'CHANNEL_FLAG_DYNAMIC', 'CHANNEL_FLAG_GFSK'], outer_class=root_module['ns3::RadiotapHeader']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbAddressBlock', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbMessage', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbPacket', 'ns3::Header', 'ns3::DefaultDeleter'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbTlv', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## socket.h: ns3::Socket [class] - module.add_class('Socket', parent=root_module['ns3::Object']) - ## socket.h: ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket']) - ## socket.h: ns3::Socket::SocketType [enumeration] - module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket']) - ## socket.h: ns3::SocketAddressTag [class] - module.add_class('SocketAddressTag', parent=root_module['ns3::Tag']) - ## socket-factory.h: ns3::SocketFactory [class] - module.add_class('SocketFactory', parent=root_module['ns3::Object']) - ## socket.h: ns3::SocketIpTtlTag [class] - module.add_class('SocketIpTtlTag', parent=root_module['ns3::Tag']) - ## socket.h: ns3::SocketSetDontFragmentTag [class] - module.add_class('SocketSetDontFragmentTag', parent=root_module['ns3::Tag']) - ## trailer.h: ns3::Trailer [class] - module.add_class('Trailer', parent=root_module['ns3::Chunk']) - ## application.h: ns3::Application [class] - module.add_class('Application', parent=root_module['ns3::Object']) - ## channel.h: ns3::Channel [class] - module.add_class('Channel', parent=root_module['ns3::Object']) - ## data-rate.h: ns3::DataRateChecker [class] - module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker']) - ## data-rate.h: ns3::DataRateValue [class] - module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue']) - ## drop-tail-queue.h: ns3::DropTailQueue [class] - module.add_class('DropTailQueue', parent=root_module['ns3::Queue']) - ## drop-tail-queue.h: ns3::DropTailQueue::Mode [enumeration] - module.add_enum('Mode', ['ILLEGAL', 'PACKETS', 'BYTES'], outer_class=root_module['ns3::DropTailQueue']) - ## error-model.h: ns3::ErrorModel [class] - module.add_class('ErrorModel', parent=root_module['ns3::Object']) - ## ethernet-header.h: ns3::EthernetHeader [class] - module.add_class('EthernetHeader', parent=root_module['ns3::Header']) - ## ethernet-trailer.h: ns3::EthernetTrailer [class] - module.add_class('EthernetTrailer', parent=root_module['ns3::Trailer']) - ## ipv4-address.h: ns3::Ipv4AddressChecker [class] - module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv4-address.h: ns3::Ipv4AddressValue [class] - module.add_class('Ipv4AddressValue', parent=root_module['ns3::AttributeValue']) - ## ipv4-address.h: ns3::Ipv4MaskChecker [class] - module.add_class('Ipv4MaskChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv4-address.h: ns3::Ipv4MaskValue [class] - module.add_class('Ipv4MaskValue', parent=root_module['ns3::AttributeValue']) - ## ipv6-address.h: ns3::Ipv6AddressChecker [class] - module.add_class('Ipv6AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv6-address.h: ns3::Ipv6AddressValue [class] - module.add_class('Ipv6AddressValue', parent=root_module['ns3::AttributeValue']) - ## ipv6-address.h: ns3::Ipv6PrefixChecker [class] - module.add_class('Ipv6PrefixChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv6-address.h: ns3::Ipv6PrefixValue [class] - module.add_class('Ipv6PrefixValue', parent=root_module['ns3::AttributeValue']) - ## error-model.h: ns3::ListErrorModel [class] - module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel']) - ## mac48-address.h: ns3::Mac48AddressChecker [class] - module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## mac48-address.h: ns3::Mac48AddressValue [class] - module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue']) - ## net-device.h: ns3::NetDevice [class] - module.add_class('NetDevice', parent=root_module['ns3::Object']) - ## net-device.h: 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']) - ## nix-vector.h: ns3::NixVector [class] - module.add_class('NixVector', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >']) - ## node.h: ns3::Node [class] - module.add_class('Node', parent=root_module['ns3::Object']) - ## output-stream-wrapper.h: ns3::OutputStreamWrapper [class] - module.add_class('OutputStreamWrapper', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >']) - ## packet.h: ns3::Packet [class] - module.add_class('Packet', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) - ## packet-socket.h: ns3::PacketSocket [class] - module.add_class('PacketSocket', parent=root_module['ns3::Socket']) - ## packet-socket-factory.h: ns3::PacketSocketFactory [class] - module.add_class('PacketSocketFactory', parent=root_module['ns3::SocketFactory']) - ## packetbb.h: ns3::PbbAddressBlock [class] - module.add_class('PbbAddressBlock', parent=root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty, ns3::DefaultDeleter >']) - ## packetbb.h: ns3::PbbAddressBlockIpv4 [class] - module.add_class('PbbAddressBlockIpv4', parent=root_module['ns3::PbbAddressBlock']) - ## packetbb.h: ns3::PbbAddressBlockIpv6 [class] - module.add_class('PbbAddressBlockIpv6', parent=root_module['ns3::PbbAddressBlock']) - ## packetbb.h: ns3::PbbMessage [class] - module.add_class('PbbMessage', parent=root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter >']) - ## packetbb.h: ns3::PbbMessageIpv4 [class] - module.add_class('PbbMessageIpv4', parent=root_module['ns3::PbbMessage']) - ## packetbb.h: ns3::PbbMessageIpv6 [class] - module.add_class('PbbMessageIpv6', parent=root_module['ns3::PbbMessage']) - ## packetbb.h: ns3::PbbPacket [class] - module.add_class('PbbPacket', parent=root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header, ns3::DefaultDeleter >']) - ## packetbb.h: ns3::PbbTlv [class] - module.add_class('PbbTlv', parent=root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty, ns3::DefaultDeleter >']) - ## error-model.h: ns3::RateErrorModel [class] - module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel']) - ## error-model.h: ns3::ReceiveListErrorModel [class] - module.add_class('ReceiveListErrorModel', parent=root_module['ns3::ErrorModel']) - ## simple-channel.h: ns3::SimpleChannel [class] - module.add_class('SimpleChannel', parent=root_module['ns3::Channel']) - ## simple-net-device.h: ns3::SimpleNetDevice [class] - module.add_class('SimpleNetDevice', parent=root_module['ns3::NetDevice']) - ## address.h: ns3::AddressChecker [class] - module.add_class('AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## address.h: ns3::AddressValue [class] - module.add_class('AddressValue', parent=root_module['ns3::AttributeValue']) - ## packetbb.h: ns3::PbbAddressTlv [class] - module.add_class('PbbAddressTlv', parent=root_module['ns3::PbbTlv']) - module.add_container('ns3::olsr::MprSet', 'ns3::Ipv4Address', container_type='set') - module.add_container('std::vector< ns3::Ipv4Address >', 'ns3::Ipv4Address', container_type='vector') - module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type='vector') - typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16') - typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*') - typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&') - typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32') - typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*') - typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxEndCallback') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxEndCallback*') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxEndCallback&') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxStartCallback') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxStartCallback*') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxStartCallback&') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxEndErrorCallback') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxEndErrorCallback*') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxEndErrorCallback&') - typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxStartCallback') - typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxStartCallback*') - typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxStartCallback&') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxEndOkCallback') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxEndOkCallback*') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxEndOkCallback&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - module.add_container('std::vector< ns3::Mac48Address >', 'ns3::Mac48Address', container_type='vector') - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) - register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) - register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) - register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) - register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) - register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item']) - register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList']) - register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator']) - register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item']) - register_Ns3ChannelList_methods(root_module, root_module['ns3::ChannelList']) - register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate']) - register_Ns3Inet6SocketAddress_methods(root_module, root_module['ns3::Inet6SocketAddress']) - register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress']) - register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) - register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) - register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address']) - register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix']) - register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address']) - register_Ns3Mac64Address_methods(root_module, root_module['ns3::Mac64Address']) - register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer']) - register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer']) - register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList']) - register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata']) - register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item']) - register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator']) - register_Ns3PacketSocketAddress_methods(root_module, root_module['ns3::PacketSocketAddress']) - register_Ns3PacketSocketHelper_methods(root_module, root_module['ns3::PacketSocketHelper']) - register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator']) - register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item']) - register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList']) - register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData']) - register_Ns3PbbAddressTlvBlock_methods(root_module, root_module['ns3::PbbAddressTlvBlock']) - register_Ns3PbbTlvBlock_methods(root_module, root_module['ns3::PbbTlvBlock']) - register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile']) - register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) - register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) - register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32']) - register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) - register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) - register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) - register_Ns3FlowIdTag_methods(root_module, root_module['ns3::FlowIdTag']) - register_Ns3Header_methods(root_module, root_module['ns3::Header']) - register_Ns3LlcSnapHeader_methods(root_module, root_module['ns3::LlcSnapHeader']) - register_Ns3PacketBurst_methods(root_module, root_module['ns3::PacketBurst']) - register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) - register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) - register_Ns3RadiotapHeader_methods(root_module, root_module['ns3::RadiotapHeader']) - register_Ns3Socket_methods(root_module, root_module['ns3::Socket']) - register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) - register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory']) - register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) - register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag']) - register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) - register_Ns3Application_methods(root_module, root_module['ns3::Application']) - register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) - register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) - register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) - register_Ns3DropTailQueue_methods(root_module, root_module['ns3::DropTailQueue']) - register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel']) - register_Ns3EthernetHeader_methods(root_module, root_module['ns3::EthernetHeader']) - register_Ns3EthernetTrailer_methods(root_module, root_module['ns3::EthernetTrailer']) - register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) - register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) - register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) - register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue']) - register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker']) - register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) - register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) - register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) - register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel']) - 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_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_Ns3PacketSocket_methods(root_module, root_module['ns3::PacketSocket']) - register_Ns3PacketSocketFactory_methods(root_module, root_module['ns3::PacketSocketFactory']) - register_Ns3PbbAddressBlock_methods(root_module, root_module['ns3::PbbAddressBlock']) - register_Ns3PbbAddressBlockIpv4_methods(root_module, root_module['ns3::PbbAddressBlockIpv4']) - register_Ns3PbbAddressBlockIpv6_methods(root_module, root_module['ns3::PbbAddressBlockIpv6']) - register_Ns3PbbMessage_methods(root_module, root_module['ns3::PbbMessage']) - register_Ns3PbbMessageIpv4_methods(root_module, root_module['ns3::PbbMessageIpv4']) - register_Ns3PbbMessageIpv6_methods(root_module, root_module['ns3::PbbMessageIpv6']) - register_Ns3PbbPacket_methods(root_module, root_module['ns3::PbbPacket']) - register_Ns3PbbTlv_methods(root_module, root_module['ns3::PbbTlv']) - register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel']) - register_Ns3ReceiveListErrorModel_methods(root_module, root_module['ns3::ReceiveListErrorModel']) - register_Ns3SimpleChannel_methods(root_module, root_module['ns3::SimpleChannel']) - register_Ns3SimpleNetDevice_methods(root_module, root_module['ns3::SimpleNetDevice']) - register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) - register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) - register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv']) - return - -def register_Ns3Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## address.h: ns3::Address::Address() [constructor] - cls.add_constructor([]) - ## address.h: ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor] - cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')]) - ## address.h: ns3::Address::Address(ns3::Address const & address) [copy constructor] - cls.add_constructor([param('ns3::Address const &', 'address')]) - ## address.h: bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function] - cls.add_method('CheckCompatible', - 'bool', - [param('uint8_t', 'type'), param('uint8_t', 'len')], - is_const=True) - ## address.h: uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function] - cls.add_method('CopyAllFrom', - 'uint32_t', - [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')]) - ## address.h: uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function] - cls.add_method('CopyAllTo', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint8_t', 'len')], - is_const=True) - ## address.h: uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function] - cls.add_method('CopyFrom', - 'uint32_t', - [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')]) - ## address.h: uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function] - cls.add_method('CopyTo', - 'uint32_t', - [param('uint8_t *', 'buffer')], - is_const=True) - ## address.h: void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'buffer')]) - ## address.h: uint8_t ns3::Address::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## address.h: uint32_t ns3::Address::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## address.h: bool ns3::Address::IsInvalid() const [member function] - cls.add_method('IsInvalid', - 'bool', - [], - is_const=True) - ## address.h: bool ns3::Address::IsMatchingType(uint8_t type) const [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('uint8_t', 'type')], - is_const=True) - ## address.h: static uint8_t ns3::Address::Register() [member function] - cls.add_method('Register', - 'uint8_t', - [], - is_static=True) - ## address.h: void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'buffer')], - is_const=True) - return - -def register_Ns3ApplicationContainer_methods(root_module, cls): - ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')]) - ## application-container.h: ns3::ApplicationContainer::ApplicationContainer() [constructor] - cls.add_constructor([]) - ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr application) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')]) - ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor] - cls.add_constructor([param('std::string', 'name')]) - ## application-container.h: void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function] - cls.add_method('Add', - 'void', - [param('ns3::ApplicationContainer', 'other')]) - ## application-container.h: void ns3::ApplicationContainer::Add(ns3::Ptr application) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Application >', 'application')]) - ## application-container.h: void ns3::ApplicationContainer::Add(std::string name) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'name')]) - ## application-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ApplicationContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >', - [], - is_const=True) - ## application-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ApplicationContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >', - [], - is_const=True) - ## application-container.h: ns3::Ptr ns3::ApplicationContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::Application >', - [param('uint32_t', 'i')], - is_const=True) - ## application-container.h: uint32_t ns3::ApplicationContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## application-container.h: void ns3::ApplicationContainer::Start(ns3::Time start) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time', 'start')]) - ## application-container.h: void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time', 'stop')]) - return - -def register_Ns3AsciiTraceHelper_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function] - cls.add_method('CreateFileStream', - 'ns3::Ptr< ns3::OutputStreamWrapper >', - [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')]) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultDequeueSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultDequeueSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultDropSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultDropSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultEnqueueSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultEnqueueSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultReceiveSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultReceiveSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromDevice', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) - ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromInterfacePair', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) - return - -def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd, bool explicitFilename=false) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Buffer_methods(root_module, cls): - ## buffer.h: ns3::Buffer::Buffer() [constructor] - cls.add_constructor([]) - ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor] - cls.add_constructor([param('uint32_t', 'dataSize')]) - ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor] - cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')]) - ## buffer.h: ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor] - cls.add_constructor([param('ns3::Buffer const &', 'o')]) - ## buffer.h: bool ns3::Buffer::AddAtEnd(uint32_t end) [member function] - cls.add_method('AddAtEnd', - 'bool', - [param('uint32_t', 'end')]) - ## buffer.h: void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function] - cls.add_method('AddAtEnd', - 'void', - [param('ns3::Buffer const &', 'o')]) - ## buffer.h: bool ns3::Buffer::AddAtStart(uint32_t start) [member function] - cls.add_method('AddAtStart', - 'bool', - [param('uint32_t', 'start')]) - ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function] - cls.add_method('Begin', - 'ns3::Buffer::Iterator', - [], - is_const=True) - ## buffer.h: void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function] - cls.add_method('CopyData', - 'void', - [param('std::ostream *', 'os'), param('uint32_t', 'size')], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function] - cls.add_method('CopyData', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], - is_const=True) - ## buffer.h: ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function] - cls.add_method('CreateFragment', - 'ns3::Buffer', - [param('uint32_t', 'start'), param('uint32_t', 'length')], - is_const=True) - ## buffer.h: ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function] - cls.add_method('CreateFullCopy', - 'ns3::Buffer', - [], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::End() const [member function] - cls.add_method('End', - 'ns3::Buffer::Iterator', - [], - is_const=True) - ## buffer.h: int32_t ns3::Buffer::GetCurrentEndOffset() const [member function] - cls.add_method('GetCurrentEndOffset', - 'int32_t', - [], - is_const=True) - ## buffer.h: int32_t ns3::Buffer::GetCurrentStartOffset() const [member function] - cls.add_method('GetCurrentStartOffset', - 'int32_t', - [], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## buffer.h: uint8_t const * ns3::Buffer::PeekData() const [member function] - cls.add_method('PeekData', - 'uint8_t const *', - [], - is_const=True) - ## buffer.h: void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function] - cls.add_method('RemoveAtEnd', - 'void', - [param('uint32_t', 'end')]) - ## buffer.h: void ns3::Buffer::RemoveAtStart(uint32_t start) [member function] - cls.add_method('RemoveAtStart', - 'void', - [param('uint32_t', 'start')]) - ## buffer.h: uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] - cls.add_method('Serialize', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], - is_const=True) - return - -def register_Ns3BufferIterator_methods(root_module, cls): - ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')]) - ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor] - cls.add_constructor([]) - ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function] - cls.add_method('CalculateIpChecksum', - 'uint16_t', - [param('uint16_t', 'size')]) - ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function] - cls.add_method('CalculateIpChecksum', - 'uint16_t', - [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')]) - ## buffer.h: uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function] - cls.add_method('GetDistanceFrom', - 'uint32_t', - [param('ns3::Buffer::Iterator const &', 'o')], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## buffer.h: bool ns3::Buffer::Iterator::IsEnd() const [member function] - cls.add_method('IsEnd', - 'bool', - [], - is_const=True) - ## buffer.h: bool ns3::Buffer::Iterator::IsStart() const [member function] - cls.add_method('IsStart', - 'bool', - [], - is_const=True) - ## buffer.h: void ns3::Buffer::Iterator::Next() [member function] - cls.add_method('Next', - 'void', - []) - ## buffer.h: void ns3::Buffer::Iterator::Next(uint32_t delta) [member function] - cls.add_method('Next', - 'void', - [param('uint32_t', 'delta')]) - ## buffer.h: void ns3::Buffer::Iterator::Prev() [member function] - cls.add_method('Prev', - 'void', - []) - ## buffer.h: void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function] - cls.add_method('Prev', - 'void', - [param('uint32_t', 'delta')]) - ## buffer.h: void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function] - cls.add_method('Read', - 'void', - [param('uint8_t *', 'buffer'), param('uint32_t', 'size')]) - ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function] - cls.add_method('ReadLsbtohU16', - 'uint16_t', - []) - ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function] - cls.add_method('ReadLsbtohU32', - 'uint32_t', - []) - ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function] - cls.add_method('ReadLsbtohU64', - 'uint64_t', - []) - ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function] - cls.add_method('ReadNtohU16', - 'uint16_t', - []) - ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function] - cls.add_method('ReadNtohU32', - 'uint32_t', - []) - ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function] - cls.add_method('ReadNtohU64', - 'uint64_t', - []) - ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadU16() [member function] - cls.add_method('ReadU16', - 'uint16_t', - []) - ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadU32() [member function] - cls.add_method('ReadU32', - 'uint32_t', - []) - ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadU64() [member function] - cls.add_method('ReadU64', - 'uint64_t', - []) - ## buffer.h: uint8_t ns3::Buffer::Iterator::ReadU8() [member function] - cls.add_method('ReadU8', - 'uint8_t', - []) - ## buffer.h: void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('Write', - 'void', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## buffer.h: void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function] - cls.add_method('Write', - 'void', - [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function] - cls.add_method('WriteHtolsbU16', - 'void', - [param('uint16_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function] - cls.add_method('WriteHtolsbU32', - 'void', - [param('uint32_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function] - cls.add_method('WriteHtolsbU64', - 'void', - [param('uint64_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function] - cls.add_method('WriteHtonU16', - 'void', - [param('uint16_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function] - cls.add_method('WriteHtonU32', - 'void', - [param('uint32_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function] - cls.add_method('WriteHtonU64', - 'void', - [param('uint64_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function] - cls.add_method('WriteU16', - 'void', - [param('uint16_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function] - cls.add_method('WriteU32', - 'void', - [param('uint32_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function] - cls.add_method('WriteU64', - 'void', - [param('uint64_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function] - cls.add_method('WriteU8', - 'void', - [param('uint8_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function] - cls.add_method('WriteU8', - 'void', - [param('uint8_t', 'data'), param('uint32_t', 'len')]) - return - -def register_Ns3ByteTagIterator_methods(root_module, cls): - ## packet.h: ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')]) - ## packet.h: bool ns3::ByteTagIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## packet.h: ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function] - cls.add_method('Next', - 'ns3::ByteTagIterator::Item', - []) - return - -def register_Ns3ByteTagIteratorItem_methods(root_module, cls): - ## packet.h: ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')]) - ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function] - cls.add_method('GetEnd', - 'uint32_t', - [], - is_const=True) - ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function] - cls.add_method('GetStart', - 'uint32_t', - [], - is_const=True) - ## packet.h: void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function] - cls.add_method('GetTag', - 'void', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet.h: ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_const=True) - return - -def register_Ns3ByteTagList_methods(root_module, cls): - ## byte-tag-list.h: ns3::ByteTagList::ByteTagList() [constructor] - cls.add_constructor([]) - ## byte-tag-list.h: ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor] - cls.add_constructor([param('ns3::ByteTagList const &', 'o')]) - ## byte-tag-list.h: ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function] - cls.add_method('Add', - 'ns3::TagBuffer', - [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')]) - ## byte-tag-list.h: void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function] - cls.add_method('Add', - 'void', - [param('ns3::ByteTagList const &', 'o')]) - ## byte-tag-list.h: void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function] - cls.add_method('AddAtEnd', - 'void', - [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')]) - ## byte-tag-list.h: void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function] - cls.add_method('AddAtStart', - 'void', - [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')]) - ## byte-tag-list.h: ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function] - cls.add_method('Begin', - 'ns3::ByteTagList::Iterator', - [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], - is_const=True) - ## byte-tag-list.h: void ns3::ByteTagList::RemoveAll() [member function] - cls.add_method('RemoveAll', - 'void', - []) - return - -def register_Ns3ByteTagListIterator_methods(root_module, cls): - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')]) - ## byte-tag-list.h: uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function] - cls.add_method('GetOffsetStart', - 'uint32_t', - [], - is_const=True) - ## byte-tag-list.h: bool ns3::ByteTagList::Iterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function] - cls.add_method('Next', - 'ns3::ByteTagList::Iterator::Item', - []) - return - -def register_Ns3ByteTagListIteratorItem_methods(root_module, cls): - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')]) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor] - cls.add_constructor([param('ns3::TagBuffer', 'buf')]) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::buf [variable] - cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::end [variable] - cls.add_instance_attribute('end', 'int32_t', is_const=False) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::size [variable] - cls.add_instance_attribute('size', 'uint32_t', is_const=False) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::start [variable] - cls.add_instance_attribute('start', 'int32_t', is_const=False) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::tid [variable] - cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) - return - -def register_Ns3ChannelList_methods(root_module, cls): - ## channel-list.h: ns3::ChannelList::ChannelList() [constructor] - cls.add_constructor([]) - ## channel-list.h: ns3::ChannelList::ChannelList(ns3::ChannelList const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ChannelList const &', 'arg0')]) - ## channel-list.h: static uint32_t ns3::ChannelList::Add(ns3::Ptr channel) [member function] - cls.add_method('Add', - 'uint32_t', - [param('ns3::Ptr< ns3::Channel >', 'channel')], - is_static=True) - ## channel-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ChannelList::Begin() [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Channel > const, std::vector< ns3::Ptr< ns3::Channel > > >', - [], - is_static=True) - ## channel-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ChannelList::End() [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Channel > const, std::vector< ns3::Ptr< ns3::Channel > > >', - [], - is_static=True) - ## channel-list.h: static ns3::Ptr ns3::ChannelList::GetChannel(uint32_t n) [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [param('uint32_t', 'n')], - is_static=True) - ## channel-list.h: static uint32_t ns3::ChannelList::GetNChannels() [member function] - cls.add_method('GetNChannels', - 'uint32_t', - [], - is_static=True) - return - -def register_Ns3DataRate_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>') - cls.add_binary_comparison_operator('>=') - ## data-rate.h: ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataRate const &', 'arg0')]) - ## data-rate.h: ns3::DataRate::DataRate() [constructor] - cls.add_constructor([]) - ## data-rate.h: ns3::DataRate::DataRate(uint64_t bps) [constructor] - cls.add_constructor([param('uint64_t', 'bps')]) - ## data-rate.h: ns3::DataRate::DataRate(std::string rate) [constructor] - cls.add_constructor([param('std::string', 'rate')]) - ## data-rate.h: double ns3::DataRate::CalculateTxTime(uint32_t bytes) const [member function] - cls.add_method('CalculateTxTime', - 'double', - [param('uint32_t', 'bytes')], - is_const=True) - ## data-rate.h: uint64_t ns3::DataRate::GetBitRate() const [member function] - cls.add_method('GetBitRate', - 'uint64_t', - [], - is_const=True) - return - -def register_Ns3Inet6SocketAddress_methods(root_module, cls): - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Inet6SocketAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Inet6SocketAddress const &', 'arg0')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'ipv6'), param('uint16_t', 'port')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'ipv6')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6, uint16_t port) [constructor] - cls.add_constructor([param('char const *', 'ipv6'), param('uint16_t', 'port')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6) [constructor] - cls.add_constructor([param('char const *', 'ipv6')]) - ## inet6-socket-address.h: static ns3::Inet6SocketAddress ns3::Inet6SocketAddress::ConvertFrom(ns3::Address const & addr) [member function] - cls.add_method('ConvertFrom', - 'ns3::Inet6SocketAddress', - [param('ns3::Address const &', 'addr')], - is_static=True) - ## inet6-socket-address.h: ns3::Ipv6Address ns3::Inet6SocketAddress::GetIpv6() const [member function] - cls.add_method('GetIpv6', - 'ns3::Ipv6Address', - [], - is_const=True) - ## inet6-socket-address.h: uint16_t ns3::Inet6SocketAddress::GetPort() const [member function] - cls.add_method('GetPort', - 'uint16_t', - [], - is_const=True) - ## inet6-socket-address.h: static bool ns3::Inet6SocketAddress::IsMatchingType(ns3::Address const & addr) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'addr')], - is_static=True) - ## inet6-socket-address.h: void ns3::Inet6SocketAddress::SetIpv6(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetIpv6', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## inet6-socket-address.h: void ns3::Inet6SocketAddress::SetPort(uint16_t port) [member function] - cls.add_method('SetPort', - 'void', - [param('uint16_t', 'port')]) - return - -def register_Ns3InetSocketAddress_methods(root_module, cls): - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::InetSocketAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::InetSocketAddress const &', 'arg0')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ipv4'), param('uint16_t', 'port')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ipv4')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4, uint16_t port) [constructor] - cls.add_constructor([param('char const *', 'ipv4'), param('uint16_t', 'port')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4) [constructor] - cls.add_constructor([param('char const *', 'ipv4')]) - ## inet-socket-address.h: static ns3::InetSocketAddress ns3::InetSocketAddress::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::InetSocketAddress', - [param('ns3::Address const &', 'address')], - is_static=True) - ## inet-socket-address.h: ns3::Ipv4Address ns3::InetSocketAddress::GetIpv4() const [member function] - cls.add_method('GetIpv4', - 'ns3::Ipv4Address', - [], - is_const=True) - ## inet-socket-address.h: uint16_t ns3::InetSocketAddress::GetPort() const [member function] - cls.add_method('GetPort', - 'uint16_t', - [], - is_const=True) - ## inet-socket-address.h: static bool ns3::InetSocketAddress::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - ## inet-socket-address.h: void ns3::InetSocketAddress::SetIpv4(ns3::Ipv4Address address) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ipv4Address', 'address')]) - ## inet-socket-address.h: void ns3::InetSocketAddress::SetPort(uint16_t port) [member function] - cls.add_method('SetPort', - 'void', - [param('uint16_t', 'port')]) - return - -def register_Ns3Ipv4Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor] - cls.add_constructor([param('uint32_t', 'address')]) - ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(char const * address) [constructor] - cls.add_constructor([param('char const *', 'address')]) - ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function] - cls.add_method('CombineMask', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const &', 'mask')], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::Ipv4Address', - [param('ns3::Address const &', 'address')], - is_static=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function] - cls.add_method('Deserialize', - 'ns3::Ipv4Address', - [param('uint8_t const *', 'buf')], - is_static=True) - ## ipv4-address.h: uint32_t ns3::Ipv4Address::Get() const [member function] - cls.add_method('Get', - 'uint32_t', - [], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function] - cls.add_method('GetAny', - 'ns3::Ipv4Address', - [], - is_static=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function] - cls.add_method('GetBroadcast', - 'ns3::Ipv4Address', - [], - is_static=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function] - cls.add_method('GetLoopback', - 'ns3::Ipv4Address', - [], - is_static=True) - ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function] - cls.add_method('GetSubnetDirectedBroadcast', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const &', 'mask')], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function] - cls.add_method('GetZero', - 'ns3::Ipv4Address', - [], - is_static=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ipv4Address const &', 'other')], - is_const=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsLocalMulticast() const [member function] - cls.add_method('IsLocalMulticast', - 'bool', - [], - is_const=True) - ## ipv4-address.h: static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function] - cls.add_method('IsSubnetDirectedBroadcast', - 'bool', - [param('ns3::Ipv4Mask const &', 'mask')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Address::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function] - cls.add_method('Serialize', - 'void', - [param('uint8_t *', 'buf')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Address::Set(uint32_t address) [member function] - cls.add_method('Set', - 'void', - [param('uint32_t', 'address')]) - ## ipv4-address.h: void ns3::Ipv4Address::Set(char const * address) [member function] - cls.add_method('Set', - 'void', - [param('char const *', 'address')]) - return - -def register_Ns3Ipv4Mask_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor] - cls.add_constructor([param('uint32_t', 'mask')]) - ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor] - cls.add_constructor([param('char const *', 'mask')]) - ## ipv4-address.h: uint32_t ns3::Ipv4Mask::Get() const [member function] - cls.add_method('Get', - 'uint32_t', - [], - is_const=True) - ## ipv4-address.h: uint32_t ns3::Ipv4Mask::GetInverse() const [member function] - cls.add_method('GetInverse', - 'uint32_t', - [], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function] - cls.add_method('GetLoopback', - 'ns3::Ipv4Mask', - [], - is_static=True) - ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function] - cls.add_method('GetOnes', - 'ns3::Ipv4Mask', - [], - is_static=True) - ## ipv4-address.h: uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint16_t', - [], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function] - cls.add_method('GetZero', - 'ns3::Ipv4Mask', - [], - is_static=True) - ## ipv4-address.h: bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ipv4Mask', 'other')], - is_const=True) - ## ipv4-address.h: bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function] - cls.add_method('IsMatch', - 'bool', - [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Mask::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Mask::Set(uint32_t mask) [member function] - cls.add_method('Set', - 'void', - [param('uint32_t', 'mask')]) - return - -def register_Ns3Ipv6Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(char const * address) [constructor] - cls.add_constructor([param('char const *', 'address')]) - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor] - cls.add_constructor([param('uint8_t *', 'address')]) - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')]) - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor] - cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')]) - ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function] - cls.add_method('CombinePrefix', - 'ns3::Ipv6Address', - [param('ns3::Ipv6Prefix const &', 'prefix')]) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::Ipv6Address', - [param('ns3::Address const &', 'address')], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function] - cls.add_method('Deserialize', - 'ns3::Ipv6Address', - [param('uint8_t const *', 'buf')], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function] - cls.add_method('GetAllHostsMulticast', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function] - cls.add_method('GetAllNodesMulticast', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function] - cls.add_method('GetAllRoutersMulticast', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function] - cls.add_method('GetAny', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function] - cls.add_method('GetBytes', - 'void', - [param('uint8_t *', 'buf')], - is_const=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function] - cls.add_method('GetLoopback', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function] - cls.add_method('GetOnes', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function] - cls.add_method('GetZero', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function] - cls.add_method('IsAllHostsMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function] - cls.add_method('IsAllNodesMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function] - cls.add_method('IsAllRoutersMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsAny() const [member function] - cls.add_method('IsAny', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ipv6Address const &', 'other')], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsLinkLocal() const [member function] - cls.add_method('IsLinkLocal', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsLocalhost() const [member function] - cls.add_method('IsLocalhost', - 'bool', - [], - is_const=True) - ## ipv6-address.h: static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function] - cls.add_method('IsSolicitedMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function] - cls.add_method('MakeAutoconfiguredAddress', - 'ns3::Ipv6Address', - [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function] - cls.add_method('MakeAutoconfiguredLinkLocalAddress', - 'ns3::Ipv6Address', - [param('ns3::Mac48Address', 'mac')], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function] - cls.add_method('MakeSolicitedAddress', - 'ns3::Ipv6Address', - [param('ns3::Ipv6Address', 'addr')], - is_static=True) - ## ipv6-address.h: void ns3::Ipv6Address::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## ipv6-address.h: void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function] - cls.add_method('Serialize', - 'void', - [param('uint8_t *', 'buf')], - is_const=True) - ## ipv6-address.h: void ns3::Ipv6Address::Set(char const * address) [member function] - cls.add_method('Set', - 'void', - [param('char const *', 'address')]) - ## ipv6-address.h: void ns3::Ipv6Address::Set(uint8_t * address) [member function] - cls.add_method('Set', - 'void', - [param('uint8_t *', 'address')]) - return - -def register_Ns3Ipv6Prefix_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor] - cls.add_constructor([param('uint8_t *', 'prefix')]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor] - cls.add_constructor([param('char const *', 'prefix')]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor] - cls.add_constructor([param('uint8_t', 'prefix')]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor] - cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')]) - ## ipv6-address.h: void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function] - cls.add_method('GetBytes', - 'void', - [param('uint8_t *', 'buf')], - is_const=True) - ## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function] - cls.add_method('GetLoopback', - 'ns3::Ipv6Prefix', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function] - cls.add_method('GetOnes', - 'ns3::Ipv6Prefix', - [], - is_static=True) - ## ipv6-address.h: uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint8_t', - [], - is_const=True) - ## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function] - cls.add_method('GetZero', - 'ns3::Ipv6Prefix', - [], - is_static=True) - ## ipv6-address.h: bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ipv6Prefix const &', 'other')], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function] - cls.add_method('IsMatch', - 'bool', - [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')], - is_const=True) - ## ipv6-address.h: void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - return - -def register_Ns3Mac48Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## mac48-address.h: ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')]) - ## mac48-address.h: ns3::Mac48Address::Mac48Address() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48Address::Mac48Address(char const * str) [constructor] - cls.add_constructor([param('char const *', 'str')]) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::Mac48Address', - [], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::Mac48Address', - [param('ns3::Address const &', 'address')], - is_static=True) - ## mac48-address.h: void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function] - cls.add_method('CopyFrom', - 'void', - [param('uint8_t const *', 'buffer')]) - ## mac48-address.h: void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function] - cls.add_method('CopyTo', - 'void', - [param('uint8_t *', 'buffer')], - is_const=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function] - cls.add_method('GetBroadcast', - 'ns3::Mac48Address', - [], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv4Address address) [member function] - cls.add_method('GetMulticast', - 'ns3::Mac48Address', - [param('ns3::Ipv4Address', 'address')], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv6Address address) [member function] - cls.add_method('GetMulticast', - 'ns3::Mac48Address', - [param('ns3::Ipv6Address', 'address')], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast6Prefix() [member function] - cls.add_method('GetMulticast6Prefix', - 'ns3::Mac48Address', - [], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticastPrefix() [member function] - cls.add_method('GetMulticastPrefix', - 'ns3::Mac48Address', - [], - is_static=True) - ## mac48-address.h: bool ns3::Mac48Address::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## mac48-address.h: bool ns3::Mac48Address::IsGroup() const [member function] - cls.add_method('IsGroup', - 'bool', - [], - is_const=True) - ## mac48-address.h: static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - return - -def register_Ns3Mac64Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## mac64-address.h: ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac64Address const &', 'arg0')]) - ## mac64-address.h: ns3::Mac64Address::Mac64Address() [constructor] - cls.add_constructor([]) - ## mac64-address.h: ns3::Mac64Address::Mac64Address(char const * str) [constructor] - cls.add_constructor([param('char const *', 'str')]) - ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::Mac64Address', - [], - is_static=True) - ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::Mac64Address', - [param('ns3::Address const &', 'address')], - is_static=True) - ## mac64-address.h: void ns3::Mac64Address::CopyFrom(uint8_t const * buffer) [member function] - cls.add_method('CopyFrom', - 'void', - [param('uint8_t const *', 'buffer')]) - ## mac64-address.h: void ns3::Mac64Address::CopyTo(uint8_t * buffer) const [member function] - cls.add_method('CopyTo', - 'void', - [param('uint8_t *', 'buffer')], - is_const=True) - ## mac64-address.h: static bool ns3::Mac64Address::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - return - -def register_Ns3NetDeviceContainer_methods(root_module, cls): - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')]) - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer() [constructor] - cls.add_constructor([]) - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr dev) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')]) - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor] - cls.add_constructor([param('std::string', 'devName')]) - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor] - cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')]) - ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function] - cls.add_method('Add', - 'void', - [param('ns3::NetDeviceContainer', 'other')]) - ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::Ptr device) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## net-device-container.h: void ns3::NetDeviceContainer::Add(std::string deviceName) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'deviceName')]) - ## net-device-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NetDeviceContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', - [], - is_const=True) - ## net-device-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NetDeviceContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', - [], - is_const=True) - ## net-device-container.h: ns3::Ptr ns3::NetDeviceContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True) - ## net-device-container.h: uint32_t ns3::NetDeviceContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3NodeContainer_methods(root_module, cls): - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')]) - ## node-container.h: ns3::NodeContainer::NodeContainer() [constructor] - cls.add_constructor([]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::Ptr node) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor] - cls.add_constructor([param('std::string', 'nodeName')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d, ns3::NodeContainer const & e) [constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd'), param('ns3::NodeContainer const &', 'e')]) - ## node-container.h: void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function] - cls.add_method('Add', - 'void', - [param('ns3::NodeContainer', 'other')]) - ## node-container.h: void ns3::NodeContainer::Add(ns3::Ptr node) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## node-container.h: void ns3::NodeContainer::Add(std::string nodeName) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'nodeName')]) - ## node-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', - [], - is_const=True) - ## node-container.h: void ns3::NodeContainer::Create(uint32_t n) [member function] - cls.add_method('Create', - 'void', - [param('uint32_t', 'n')]) - ## node-container.h: void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function] - cls.add_method('Create', - 'void', - [param('uint32_t', 'n'), param('uint32_t', 'systemId')]) - ## node-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', - [], - is_const=True) - ## node-container.h: ns3::Ptr ns3::NodeContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## node-container.h: static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::NodeContainer', - [], - is_static=True) - ## node-container.h: uint32_t ns3::NodeContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3NodeList_methods(root_module, cls): - ## node-list.h: ns3::NodeList::NodeList() [constructor] - cls.add_constructor([]) - ## node-list.h: ns3::NodeList::NodeList(ns3::NodeList const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NodeList const &', 'arg0')]) - ## node-list.h: static uint32_t ns3::NodeList::Add(ns3::Ptr node) [member function] - cls.add_method('Add', - 'uint32_t', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_static=True) - ## node-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeList::Begin() [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', - [], - is_static=True) - ## node-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeList::End() [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', - [], - is_static=True) - ## node-list.h: static uint32_t ns3::NodeList::GetNNodes() [member function] - cls.add_method('GetNNodes', - 'uint32_t', - [], - is_static=True) - ## node-list.h: static ns3::Ptr ns3::NodeList::GetNode(uint32_t n) [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'n')], - is_static=True) - return - -def register_Ns3PacketMetadata_methods(root_module, cls): - ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor] - cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')]) - ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor] - cls.add_constructor([param('ns3::PacketMetadata const &', 'o')]) - ## packet-metadata.h: void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function] - cls.add_method('AddAtEnd', - 'void', - [param('ns3::PacketMetadata const &', 'o')]) - ## packet-metadata.h: void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function] - cls.add_method('AddHeader', - 'void', - [param('ns3::Header const &', 'header'), param('uint32_t', 'size')]) - ## packet-metadata.h: void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function] - cls.add_method('AddPaddingAtEnd', - 'void', - [param('uint32_t', 'end')]) - ## packet-metadata.h: void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function] - cls.add_method('AddTrailer', - 'void', - [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')]) - ## packet-metadata.h: ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function] - cls.add_method('BeginItem', - 'ns3::PacketMetadata::ItemIterator', - [param('ns3::Buffer', 'buffer')], - is_const=True) - ## packet-metadata.h: ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function] - cls.add_method('CreateFragment', - 'ns3::PacketMetadata', - [param('uint32_t', 'start'), param('uint32_t', 'end')], - is_const=True) - ## packet-metadata.h: uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## packet-metadata.h: static void ns3::PacketMetadata::Enable() [member function] - cls.add_method('Enable', - 'void', - [], - is_static=True) - ## packet-metadata.h: static void ns3::PacketMetadata::EnableChecking() [member function] - cls.add_method('EnableChecking', - 'void', - [], - is_static=True) - ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packet-metadata.h: uint64_t ns3::PacketMetadata::GetUid() const [member function] - cls.add_method('GetUid', - 'uint64_t', - [], - is_const=True) - ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function] - cls.add_method('RemoveAtEnd', - 'void', - [param('uint32_t', 'end')]) - ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function] - cls.add_method('RemoveAtStart', - 'void', - [param('uint32_t', 'start')]) - ## packet-metadata.h: void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function] - cls.add_method('RemoveHeader', - 'void', - [param('ns3::Header const &', 'header'), param('uint32_t', 'size')]) - ## packet-metadata.h: void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function] - cls.add_method('RemoveTrailer', - 'void', - [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')]) - ## packet-metadata.h: uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] - cls.add_method('Serialize', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], - is_const=True) - return - -def register_Ns3PacketMetadataItem_methods(root_module, cls): - ## packet-metadata.h: ns3::PacketMetadata::Item::Item() [constructor] - cls.add_constructor([]) - ## packet-metadata.h: ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')]) - ## packet-metadata.h: ns3::PacketMetadata::Item::current [variable] - cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::currentSize [variable] - cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromEnd [variable] - cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromStart [variable] - cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::isFragment [variable] - cls.add_instance_attribute('isFragment', 'bool', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::tid [variable] - cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) - return - -def register_Ns3PacketMetadataItemIterator_methods(root_module, cls): - ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')]) - ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor] - cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')]) - ## packet-metadata.h: bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## packet-metadata.h: ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function] - cls.add_method('Next', - 'ns3::PacketMetadata::Item', - []) - return - -def register_Ns3PacketSocketAddress_methods(root_module, cls): - ## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress(ns3::PacketSocketAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSocketAddress const &', 'arg0')]) - ## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress() [constructor] - cls.add_constructor([]) - ## packet-socket-address.h: static ns3::PacketSocketAddress ns3::PacketSocketAddress::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::PacketSocketAddress', - [param('ns3::Address const &', 'address')], - is_static=True) - ## packet-socket-address.h: ns3::Address ns3::PacketSocketAddress::GetPhysicalAddress() const [member function] - cls.add_method('GetPhysicalAddress', - 'ns3::Address', - [], - is_const=True) - ## packet-socket-address.h: uint16_t ns3::PacketSocketAddress::GetProtocol() const [member function] - cls.add_method('GetProtocol', - 'uint16_t', - [], - is_const=True) - ## packet-socket-address.h: uint32_t ns3::PacketSocketAddress::GetSingleDevice() const [member function] - cls.add_method('GetSingleDevice', - 'uint32_t', - [], - is_const=True) - ## packet-socket-address.h: static bool ns3::PacketSocketAddress::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - ## packet-socket-address.h: bool ns3::PacketSocketAddress::IsSingleDevice() const [member function] - cls.add_method('IsSingleDevice', - 'bool', - [], - is_const=True) - ## packet-socket-address.h: void ns3::PacketSocketAddress::SetAllDevices() [member function] - cls.add_method('SetAllDevices', - 'void', - []) - ## packet-socket-address.h: void ns3::PacketSocketAddress::SetPhysicalAddress(ns3::Address const address) [member function] - cls.add_method('SetPhysicalAddress', - 'void', - [param('ns3::Address const', 'address')]) - ## packet-socket-address.h: void ns3::PacketSocketAddress::SetProtocol(uint16_t protocol) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint16_t', 'protocol')]) - ## packet-socket-address.h: void ns3::PacketSocketAddress::SetSingleDevice(uint32_t device) [member function] - cls.add_method('SetSingleDevice', - 'void', - [param('uint32_t', 'device')]) - return - -def register_Ns3PacketSocketHelper_methods(root_module, cls): - ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper() [constructor] - cls.add_constructor([]) - ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper(ns3::PacketSocketHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSocketHelper const &', 'arg0')]) - ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'c')], - is_const=True) - return - -def register_Ns3PacketTagIterator_methods(root_module, cls): - ## packet.h: ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')]) - ## packet.h: bool ns3::PacketTagIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## packet.h: ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function] - cls.add_method('Next', - 'ns3::PacketTagIterator::Item', - []) - return - -def register_Ns3PacketTagIteratorItem_methods(root_module, cls): - ## packet.h: ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')]) - ## packet.h: void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function] - cls.add_method('GetTag', - 'void', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet.h: ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_const=True) - return - -def register_Ns3PacketTagList_methods(root_module, cls): - ## packet-tag-list.h: ns3::PacketTagList::PacketTagList() [constructor] - cls.add_constructor([]) - ## packet-tag-list.h: ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor] - cls.add_constructor([param('ns3::PacketTagList const &', 'o')]) - ## packet-tag-list.h: void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function] - cls.add_method('Add', - 'void', - [param('ns3::Tag const &', 'tag')], - is_const=True) - ## packet-tag-list.h: ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function] - cls.add_method('Head', - 'ns3::PacketTagList::TagData const *', - [], - is_const=True) - ## packet-tag-list.h: bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function] - cls.add_method('Peek', - 'bool', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet-tag-list.h: bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function] - cls.add_method('Remove', - 'bool', - [param('ns3::Tag &', 'tag')]) - ## packet-tag-list.h: void ns3::PacketTagList::RemoveAll() [member function] - cls.add_method('RemoveAll', - 'void', - []) - return - -def register_Ns3PacketTagListTagData_methods(root_module, cls): - ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData() [constructor] - cls.add_constructor([]) - ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')]) - ## packet-tag-list.h: ns3::PacketTagList::TagData::count [variable] - cls.add_instance_attribute('count', 'uint32_t', is_const=False) - ## packet-tag-list.h: ns3::PacketTagList::TagData::data [variable] - cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False) - ## packet-tag-list.h: ns3::PacketTagList::TagData::next [variable] - cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False) - ## packet-tag-list.h: ns3::PacketTagList::TagData::tid [variable] - cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) - return - -def register_Ns3PbbAddressTlvBlock_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbAddressTlvBlock::PbbAddressTlvBlock(ns3::PbbAddressTlvBlock const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressTlvBlock const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressTlvBlock::PbbAddressTlvBlock() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbAddressTlvBlock::Back() const [member function] - cls.add_method('Back', - 'ns3::Ptr< ns3::PbbAddressTlv >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Begin() [member function] - cls.add_method('Begin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressTlvBlock::Begin() const [member function] - cls.add_method('Begin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: bool ns3::PbbAddressTlvBlock::Empty() const [member function] - cls.add_method('Empty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::End() [member function] - cls.add_method('End', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressTlvBlock::End() const [member function] - cls.add_method('End', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbAddressTlvBlock::Front() const [member function] - cls.add_method('Front', - 'ns3::Ptr< ns3::PbbAddressTlv >', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbAddressTlvBlock::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Insert(std::_List_iterator > position, ns3::Ptr const tlv) [member function] - cls.add_method('Insert', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbAddressTlv > const', 'tlv')]) - ## packetbb.h: void ns3::PbbAddressTlvBlock::PopBack() [member function] - cls.add_method('PopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressTlvBlock::PopFront() [member function] - cls.add_method('PopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlvBlock::PushBack(ns3::Ptr tlv) [member function] - cls.add_method('PushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbAddressTlvBlock::PushFront(ns3::Ptr tlv) [member function] - cls.add_method('PushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: int ns3::PbbAddressTlvBlock::Size() const [member function] - cls.add_method('Size', - 'int', - [], - is_const=True) - return - -def register_Ns3PbbTlvBlock_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbTlvBlock::PbbTlvBlock(ns3::PbbTlvBlock const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbTlvBlock const &', 'arg0')]) - ## packetbb.h: ns3::PbbTlvBlock::PbbTlvBlock() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbTlvBlock::Back() const [member function] - cls.add_method('Back', - 'ns3::Ptr< ns3::PbbTlv >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Begin() [member function] - cls.add_method('Begin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbTlvBlock::Begin() const [member function] - cls.add_method('Begin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbTlvBlock::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## packetbb.h: void ns3::PbbTlvBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: bool ns3::PbbTlvBlock::Empty() const [member function] - cls.add_method('Empty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::End() [member function] - cls.add_method('End', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbTlvBlock::End() const [member function] - cls.add_method('End', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbTlvBlock::Front() const [member function] - cls.add_method('Front', - 'ns3::Ptr< ns3::PbbTlv >', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbTlvBlock::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Insert(std::_List_iterator > position, ns3::Ptr const tlv) [member function] - cls.add_method('Insert', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'tlv')]) - ## packetbb.h: void ns3::PbbTlvBlock::PopBack() [member function] - cls.add_method('PopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbTlvBlock::PopFront() [member function] - cls.add_method('PopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbTlvBlock::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbTlvBlock::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbTlvBlock::PushBack(ns3::Ptr tlv) [member function] - cls.add_method('PushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbTlvBlock::PushFront(ns3::Ptr tlv) [member function] - cls.add_method('PushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbTlvBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: int ns3::PbbTlvBlock::Size() const [member function] - cls.add_method('Size', - 'int', - [], - is_const=True) - return - -def register_Ns3PcapFile_methods(root_module, cls): - ## pcap-file.h: ns3::PcapFile::PcapFile() [constructor] - cls.add_constructor([]) - ## pcap-file.h: void ns3::PcapFile::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## pcap-file.h: void ns3::PcapFile::Close() [member function] - cls.add_method('Close', - 'void', - []) - ## pcap-file.h: static bool ns3::PcapFile::Diff(std::string const & f1, std::string const & f2, uint32_t & sec, uint32_t & usec, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT) [member function] - cls.add_method('Diff', - 'bool', - [param('std::string const &', 'f1'), param('std::string const &', 'f2'), param('uint32_t &', 'sec'), param('uint32_t &', 'usec'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT')], - is_static=True) - ## pcap-file.h: bool ns3::PcapFile::Eof() const [member function] - cls.add_method('Eof', - 'bool', - [], - is_const=True) - ## pcap-file.h: bool ns3::PcapFile::Fail() const [member function] - cls.add_method('Fail', - 'bool', - [], - is_const=True) - ## pcap-file.h: uint32_t ns3::PcapFile::GetDataLinkType() [member function] - cls.add_method('GetDataLinkType', - 'uint32_t', - []) - ## pcap-file.h: uint32_t ns3::PcapFile::GetMagic() [member function] - cls.add_method('GetMagic', - 'uint32_t', - []) - ## pcap-file.h: uint32_t ns3::PcapFile::GetSigFigs() [member function] - cls.add_method('GetSigFigs', - 'uint32_t', - []) - ## pcap-file.h: uint32_t ns3::PcapFile::GetSnapLen() [member function] - cls.add_method('GetSnapLen', - 'uint32_t', - []) - ## pcap-file.h: bool ns3::PcapFile::GetSwapMode() [member function] - cls.add_method('GetSwapMode', - 'bool', - []) - ## pcap-file.h: int32_t ns3::PcapFile::GetTimeZoneOffset() [member function] - cls.add_method('GetTimeZoneOffset', - 'int32_t', - []) - ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMajor() [member function] - cls.add_method('GetVersionMajor', - 'uint16_t', - []) - ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMinor() [member function] - cls.add_method('GetVersionMinor', - 'uint16_t', - []) - ## pcap-file.h: void ns3::PcapFile::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t timeZoneCorrection=ns3::PcapFile::ZONE_DEFAULT, bool swapMode=false) [member function] - cls.add_method('Init', - 'void', - [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'timeZoneCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT'), param('bool', 'swapMode', default_value='false')]) - ## pcap-file.h: void ns3::PcapFile::Open(std::string const & filename, std::_Ios_Openmode mode) [member function] - cls.add_method('Open', - 'void', - [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')]) - ## pcap-file.h: void ns3::PcapFile::Read(uint8_t * const data, uint32_t maxBytes, uint32_t & tsSec, uint32_t & tsUsec, uint32_t & inclLen, uint32_t & origLen, uint32_t & readLen) [member function] - cls.add_method('Read', - 'void', - [param('uint8_t * const', 'data'), param('uint32_t', 'maxBytes'), param('uint32_t &', 'tsSec'), param('uint32_t &', 'tsUsec'), param('uint32_t &', 'inclLen'), param('uint32_t &', 'origLen'), param('uint32_t &', 'readLen')]) - ## pcap-file.h: void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function] - cls.add_method('Write', - 'void', - [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')]) - ## pcap-file.h: void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Ptr p) [member function] - cls.add_method('Write', - 'void', - [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## pcap-file.h: void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Header & header, ns3::Ptr p) [member function] - cls.add_method('Write', - 'void', - [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## pcap-file.h: ns3::PcapFile::SNAPLEN_DEFAULT [variable] - cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True) - ## pcap-file.h: ns3::PcapFile::ZONE_DEFAULT [variable] - cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True) - return - -def register_Ns3PcapHelper_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelper::PcapHelper() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function] - cls.add_method('CreateFile', - 'ns3::Ptr< ns3::PcapFileWrapper >', - [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')]) - ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromDevice', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) - ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromInterfacePair', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) - return - -def register_Ns3PcapHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr nd, bool promiscuous=false, bool explicitFilename=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function] - cls.add_method('EnablePcapAll', - 'void', - [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SequenceNumber32_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right')) - cls.add_inplace_numeric_operator('+=', param('int', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right')) - cls.add_inplace_numeric_operator('-=', param('int', 'right')) - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>') - cls.add_binary_comparison_operator('>=') - ## sequence-number.h: ns3::SequenceNumber::SequenceNumber() [constructor] - cls.add_constructor([]) - ## sequence-number.h: ns3::SequenceNumber::SequenceNumber(unsigned int value) [constructor] - cls.add_constructor([param('unsigned int', 'value')]) - ## sequence-number.h: ns3::SequenceNumber::SequenceNumber(ns3::SequenceNumber const & value) [copy constructor] - cls.add_constructor([param('ns3::SequenceNumber< unsigned int, int > const &', 'value')]) - ## sequence-number.h: unsigned int ns3::SequenceNumber::GetValue() const [member function] - cls.add_method('GetValue', - 'unsigned int', - [], - is_const=True) - return - -def register_Ns3Tag_methods(root_module, cls): - ## tag.h: ns3::Tag::Tag() [constructor] - cls.add_constructor([]) - ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Tag const &', 'arg0')]) - ## tag.h: void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_pure_virtual=True, is_virtual=True) - ## tag.h: uint32_t ns3::Tag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## tag.h: void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3TagBuffer_methods(root_module, cls): - ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')]) - ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor] - cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')]) - ## tag-buffer.h: void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function] - cls.add_method('CopyFrom', - 'void', - [param('ns3::TagBuffer', 'o')]) - ## tag-buffer.h: void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function] - cls.add_method('Read', - 'void', - [param('uint8_t *', 'buffer'), param('uint32_t', 'size')]) - ## tag-buffer.h: double ns3::TagBuffer::ReadDouble() [member function] - cls.add_method('ReadDouble', - 'double', - []) - ## tag-buffer.h: uint16_t ns3::TagBuffer::ReadU16() [member function] - cls.add_method('ReadU16', - 'uint16_t', - []) - ## tag-buffer.h: uint32_t ns3::TagBuffer::ReadU32() [member function] - cls.add_method('ReadU32', - 'uint32_t', - []) - ## tag-buffer.h: uint64_t ns3::TagBuffer::ReadU64() [member function] - cls.add_method('ReadU64', - 'uint64_t', - []) - ## tag-buffer.h: uint8_t ns3::TagBuffer::ReadU8() [member function] - cls.add_method('ReadU8', - 'uint8_t', - []) - ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function] - cls.add_method('TrimAtEnd', - 'void', - [param('uint32_t', 'trim')]) - ## tag-buffer.h: void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('Write', - 'void', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteDouble(double v) [member function] - cls.add_method('WriteDouble', - 'void', - [param('double', 'v')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteU16(uint16_t data) [member function] - cls.add_method('WriteU16', - 'void', - [param('uint16_t', 'data')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteU32(uint32_t data) [member function] - cls.add_method('WriteU32', - 'void', - [param('uint32_t', 'data')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteU64(uint64_t v) [member function] - cls.add_method('WriteU64', - 'void', - [param('uint64_t', 'v')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteU8(uint8_t v) [member function] - cls.add_method('WriteU8', - 'void', - [param('uint8_t', 'v')]) - return - -def register_Ns3Chunk_methods(root_module, cls): - ## chunk.h: ns3::Chunk::Chunk() [constructor] - cls.add_constructor([]) - ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Chunk const &', 'arg0')]) - ## chunk.h: uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_virtual=True) - ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## chunk.h: void ns3::Chunk::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3FlowIdTag_methods(root_module, cls): - ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(ns3::FlowIdTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowIdTag const &', 'arg0')]) - ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag() [constructor] - cls.add_constructor([]) - ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(uint32_t flowId) [constructor] - cls.add_constructor([param('uint32_t', 'flowId')]) - ## flow-id-tag.h: static uint32_t ns3::FlowIdTag::AllocateFlowId() [member function] - cls.add_method('AllocateFlowId', - 'uint32_t', - [], - is_static=True) - ## flow-id-tag.h: void ns3::FlowIdTag::Deserialize(ns3::TagBuffer buf) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'buf')], - is_virtual=True) - ## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetFlowId() const [member function] - cls.add_method('GetFlowId', - 'uint32_t', - [], - is_const=True) - ## flow-id-tag.h: ns3::TypeId ns3::FlowIdTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## flow-id-tag.h: static ns3::TypeId ns3::FlowIdTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flow-id-tag.h: void ns3::FlowIdTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## flow-id-tag.h: void ns3::FlowIdTag::Serialize(ns3::TagBuffer buf) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'buf')], - is_const=True, is_virtual=True) - ## flow-id-tag.h: void ns3::FlowIdTag::SetFlowId(uint32_t flowId) [member function] - cls.add_method('SetFlowId', - 'void', - [param('uint32_t', 'flowId')]) - return - -def register_Ns3Header_methods(root_module, cls): - cls.add_output_stream_operator() - ## header.h: ns3::Header::Header() [constructor] - cls.add_constructor([]) - ## header.h: ns3::Header::Header(ns3::Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Header const &', 'arg0')]) - ## header.h: uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_virtual=True) - ## header.h: uint32_t ns3::Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## header.h: static ns3::TypeId ns3::Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## header.h: void ns3::Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## header.h: void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3LlcSnapHeader_methods(root_module, cls): - ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader(ns3::LlcSnapHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LlcSnapHeader const &', 'arg0')]) - ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader() [constructor] - cls.add_constructor([]) - ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## llc-snap-header.h: ns3::TypeId ns3::LlcSnapHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## llc-snap-header.h: uint16_t ns3::LlcSnapHeader::GetType() [member function] - cls.add_method('GetType', - 'uint16_t', - []) - ## llc-snap-header.h: static ns3::TypeId ns3::LlcSnapHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## llc-snap-header.h: void ns3::LlcSnapHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## llc-snap-header.h: void ns3::LlcSnapHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## llc-snap-header.h: void ns3::LlcSnapHeader::SetType(uint16_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint16_t', 'type')]) - return - -def register_Ns3PacketBurst_methods(root_module, cls): - ## packet-burst.h: ns3::PacketBurst::PacketBurst(ns3::PacketBurst const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketBurst const &', 'arg0')]) - ## packet-burst.h: ns3::PacketBurst::PacketBurst() [constructor] - cls.add_constructor([]) - ## packet-burst.h: void ns3::PacketBurst::AddPacket(ns3::Ptr packet) [member function] - cls.add_method('AddPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - ## packet-burst.h: std::_List_const_iterator > ns3::PacketBurst::Begin() const [member function] - cls.add_method('Begin', - 'std::_List_const_iterator< ns3::Ptr< ns3::Packet > >', - [], - is_const=True) - ## packet-burst.h: ns3::Ptr ns3::PacketBurst::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::PacketBurst >', - [], - is_const=True) - ## packet-burst.h: std::_List_const_iterator > ns3::PacketBurst::End() const [member function] - cls.add_method('End', - 'std::_List_const_iterator< ns3::Ptr< ns3::Packet > >', - [], - is_const=True) - ## packet-burst.h: uint32_t ns3::PacketBurst::GetNPackets() const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [], - is_const=True) - ## packet-burst.h: std::list, std::allocator > > ns3::PacketBurst::GetPackets() const [member function] - cls.add_method('GetPackets', - 'std::list< ns3::Ptr< ns3::Packet > >', - [], - is_const=True) - ## packet-burst.h: uint32_t ns3::PacketBurst::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## packet-burst.h: static ns3::TypeId ns3::PacketBurst::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-burst.h: void ns3::PacketBurst::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3PcapFileWrapper_methods(root_module, cls): - ## pcap-file-wrapper.h: static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## pcap-file-wrapper.h: ns3::PcapFileWrapper::PcapFileWrapper() [constructor] - cls.add_constructor([]) - ## pcap-file-wrapper.h: bool ns3::PcapFileWrapper::Fail() const [member function] - cls.add_method('Fail', - 'bool', - [], - is_const=True) - ## pcap-file-wrapper.h: bool ns3::PcapFileWrapper::Eof() const [member function] - cls.add_method('Eof', - 'bool', - [], - is_const=True) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Open(std::string const & filename, std::_Ios_Openmode mode) [member function] - cls.add_method('Open', - 'void', - [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')]) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Close() [member function] - cls.add_method('Close', - 'void', - []) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Init(uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits::max(), int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function] - cls.add_method('Init', - 'void', - [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits::max()'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')]) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Ptr p) [member function] - cls.add_method('Write', - 'void', - [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Header & header, ns3::Ptr p) [member function] - cls.add_method('Write', - 'void', - [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function] - cls.add_method('Write', - 'void', - [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')]) - ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetMagic() [member function] - cls.add_method('GetMagic', - 'uint32_t', - []) - ## pcap-file-wrapper.h: uint16_t ns3::PcapFileWrapper::GetVersionMajor() [member function] - cls.add_method('GetVersionMajor', - 'uint16_t', - []) - ## pcap-file-wrapper.h: uint16_t ns3::PcapFileWrapper::GetVersionMinor() [member function] - cls.add_method('GetVersionMinor', - 'uint16_t', - []) - ## pcap-file-wrapper.h: int32_t ns3::PcapFileWrapper::GetTimeZoneOffset() [member function] - cls.add_method('GetTimeZoneOffset', - 'int32_t', - []) - ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetSigFigs() [member function] - cls.add_method('GetSigFigs', - 'uint32_t', - []) - ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetSnapLen() [member function] - cls.add_method('GetSnapLen', - 'uint32_t', - []) - ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetDataLinkType() [member function] - cls.add_method('GetDataLinkType', - 'uint32_t', - []) - return - -def register_Ns3Queue_methods(root_module, cls): - ## queue.h: ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Queue const &', 'arg0')]) - ## queue.h: ns3::Queue::Queue() [constructor] - cls.add_constructor([]) - ## queue.h: ns3::Ptr ns3::Queue::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - []) - ## queue.h: void ns3::Queue::DequeueAll() [member function] - cls.add_method('DequeueAll', - 'void', - []) - ## queue.h: bool ns3::Queue::Enqueue(ns3::Ptr p) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## queue.h: uint32_t ns3::Queue::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetNPackets() const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function] - cls.add_method('GetTotalDroppedBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function] - cls.add_method('GetTotalDroppedPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function] - cls.add_method('GetTotalReceivedBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function] - cls.add_method('GetTotalReceivedPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h: static ns3::TypeId ns3::Queue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## queue.h: bool ns3::Queue::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## queue.h: ns3::Ptr ns3::Queue::Peek() const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet const >', - [], - is_const=True) - ## queue.h: void ns3::Queue::ResetStatistics() [member function] - cls.add_method('ResetStatistics', - 'void', - []) - ## queue.h: void ns3::Queue::Drop(ns3::Ptr packet) [member function] - cls.add_method('Drop', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')], - visibility='protected') - ## queue.h: ns3::Ptr ns3::Queue::DoDequeue() [member function] - cls.add_method('DoDequeue', - 'ns3::Ptr< ns3::Packet >', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue.h: bool ns3::Queue::DoEnqueue(ns3::Ptr p) [member function] - cls.add_method('DoEnqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue.h: ns3::Ptr ns3::Queue::DoPeek() const [member function] - cls.add_method('DoPeek', - 'ns3::Ptr< ns3::Packet const >', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RadiotapHeader_methods(root_module, cls): - ## radiotap-header.h: ns3::RadiotapHeader::RadiotapHeader(ns3::RadiotapHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadiotapHeader const &', 'arg0')]) - ## radiotap-header.h: ns3::RadiotapHeader::RadiotapHeader() [constructor] - cls.add_constructor([]) - ## radiotap-header.h: uint32_t ns3::RadiotapHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## radiotap-header.h: uint8_t ns3::RadiotapHeader::GetAntennaNoisePower() const [member function] - cls.add_method('GetAntennaNoisePower', - 'uint8_t', - [], - is_const=True) - ## radiotap-header.h: uint8_t ns3::RadiotapHeader::GetAntennaSignalPower() const [member function] - cls.add_method('GetAntennaSignalPower', - 'uint8_t', - [], - is_const=True) - ## radiotap-header.h: uint16_t ns3::RadiotapHeader::GetChannelFlags() const [member function] - cls.add_method('GetChannelFlags', - 'uint16_t', - [], - is_const=True) - ## radiotap-header.h: uint16_t ns3::RadiotapHeader::GetChannelFrequency() const [member function] - cls.add_method('GetChannelFrequency', - 'uint16_t', - [], - is_const=True) - ## radiotap-header.h: uint8_t ns3::RadiotapHeader::GetFrameFlags() const [member function] - cls.add_method('GetFrameFlags', - 'uint8_t', - [], - is_const=True) - ## radiotap-header.h: ns3::TypeId ns3::RadiotapHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## radiotap-header.h: uint8_t ns3::RadiotapHeader::GetRate() const [member function] - cls.add_method('GetRate', - 'uint8_t', - [], - is_const=True) - ## radiotap-header.h: uint32_t ns3::RadiotapHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## radiotap-header.h: uint64_t ns3::RadiotapHeader::GetTsft() const [member function] - cls.add_method('GetTsft', - 'uint64_t', - [], - is_const=True) - ## radiotap-header.h: static ns3::TypeId ns3::RadiotapHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## radiotap-header.h: void ns3::RadiotapHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## radiotap-header.h: void ns3::RadiotapHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## radiotap-header.h: void ns3::RadiotapHeader::SetAntennaNoisePower(double noise) [member function] - cls.add_method('SetAntennaNoisePower', - 'void', - [param('double', 'noise')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetAntennaSignalPower(double signal) [member function] - cls.add_method('SetAntennaSignalPower', - 'void', - [param('double', 'signal')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetChannelFrequencyAndFlags(uint16_t frequency, uint16_t flags) [member function] - cls.add_method('SetChannelFrequencyAndFlags', - 'void', - [param('uint16_t', 'frequency'), param('uint16_t', 'flags')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetFrameFlags(uint8_t flags) [member function] - cls.add_method('SetFrameFlags', - 'void', - [param('uint8_t', 'flags')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetRate(uint8_t rate) [member function] - cls.add_method('SetRate', - 'void', - [param('uint8_t', 'rate')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetTsft(uint64_t tsft) [member function] - cls.add_method('SetTsft', - 'void', - [param('uint64_t', 'tsft')]) - return - -def register_Ns3Socket_methods(root_module, cls): - ## socket.h: ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Socket const &', 'arg0')]) - ## socket.h: ns3::Socket::Socket() [constructor] - cls.add_constructor([]) - ## socket.h: int ns3::Socket::Bind(ns3::Address const & address) [member function] - cls.add_method('Bind', - 'int', - [param('ns3::Address const &', 'address')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::Bind() [member function] - cls.add_method('Bind', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: void ns3::Socket::BindToNetDevice(ns3::Ptr netdevice) [member function] - cls.add_method('BindToNetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')], - is_virtual=True) - ## socket.h: int ns3::Socket::Close() [member function] - cls.add_method('Close', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::Connect(ns3::Address const & address) [member function] - cls.add_method('Connect', - 'int', - [param('ns3::Address const &', 'address')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: static ns3::Ptr ns3::Socket::CreateSocket(ns3::Ptr node, ns3::TypeId tid) [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], - is_static=True) - ## socket.h: bool ns3::Socket::GetAllowBroadcast() const [member function] - cls.add_method('GetAllowBroadcast', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::GetBoundNetDevice() [member function] - cls.add_method('GetBoundNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## socket.h: ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function] - cls.add_method('GetErrno', - 'ns3::Socket::SocketErrno', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::Socket::GetRxAvailable() const [member function] - cls.add_method('GetRxAvailable', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: int ns3::Socket::GetSockName(ns3::Address & address) const [member function] - cls.add_method('GetSockName', - 'int', - [param('ns3::Address &', 'address')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function] - cls.add_method('GetSocketType', - 'ns3::Socket::SocketType', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::Socket::GetTxAvailable() const [member function] - cls.add_method('GetTxAvailable', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: int ns3::Socket::Listen() [member function] - cls.add_method('Listen', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function] - cls.add_method('Recv', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::Recv() [member function] - cls.add_method('Recv', - 'ns3::Ptr< ns3::Packet >', - []) - ## socket.h: int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function] - cls.add_method('Recv', - 'int', - [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')]) - ## socket.h: ns3::Ptr ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Address &', 'fromAddress')]) - ## socket.h: int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'int', - [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')]) - ## socket.h: int ns3::Socket::Send(ns3::Ptr p, uint32_t flags) [member function] - cls.add_method('Send', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::Send(ns3::Ptr p) [member function] - cls.add_method('Send', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## socket.h: int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function] - cls.add_method('Send', - 'int', - [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')]) - ## socket.h: int ns3::Socket::SendTo(ns3::Ptr p, uint32_t flags, ns3::Address const & toAddress) [member function] - cls.add_method('SendTo', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function] - cls.add_method('SendTo', - 'int', - [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')]) - ## socket.h: void ns3::Socket::SetAcceptCallback(ns3::Callback, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionRequest, ns3::Callback, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> newConnectionCreated) [member function] - cls.add_method('SetAcceptCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::Socket >, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionRequest'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'newConnectionCreated')]) - ## socket.h: bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function] - cls.add_method('SetAllowBroadcast', - 'bool', - [param('bool', 'allowBroadcast')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: void ns3::Socket::SetCloseCallbacks(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> normalClose, ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> errorClose) [member function] - cls.add_method('SetCloseCallbacks', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'normalClose'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'errorClose')]) - ## socket.h: void ns3::Socket::SetConnectCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionSucceeded, ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionFailed) [member function] - cls.add_method('SetConnectCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionSucceeded'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionFailed')]) - ## socket.h: void ns3::Socket::SetDataSentCallback(ns3::Callback, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> dataSent) [member function] - cls.add_method('SetDataSentCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'dataSent')]) - ## socket.h: void ns3::Socket::SetRecvCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arg0) [member function] - cls.add_method('SetRecvCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')]) - ## socket.h: void ns3::Socket::SetRecvPktInfo(bool flag) [member function] - cls.add_method('SetRecvPktInfo', - 'void', - [param('bool', 'flag')]) - ## socket.h: void ns3::Socket::SetSendCallback(ns3::Callback, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> sendCb) [member function] - cls.add_method('SetSendCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'sendCb')]) - ## socket.h: int ns3::Socket::ShutdownRecv() [member function] - cls.add_method('ShutdownRecv', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::ShutdownSend() [member function] - cls.add_method('ShutdownSend', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: void ns3::Socket::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## socket.h: void ns3::Socket::NotifyConnectionFailed() [member function] - cls.add_method('NotifyConnectionFailed', - 'void', - [], - visibility='protected') - ## socket.h: bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function] - cls.add_method('NotifyConnectionRequest', - 'bool', - [param('ns3::Address const &', 'from')], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyConnectionSucceeded() [member function] - cls.add_method('NotifyConnectionSucceeded', - 'void', - [], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyDataRecv() [member function] - cls.add_method('NotifyDataRecv', - 'void', - [], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyDataSent(uint32_t size) [member function] - cls.add_method('NotifyDataSent', - 'void', - [param('uint32_t', 'size')], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyErrorClose() [member function] - cls.add_method('NotifyErrorClose', - 'void', - [], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr socket, ns3::Address const & from) [member function] - cls.add_method('NotifyNewConnectionCreated', - 'void', - [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyNormalClose() [member function] - cls.add_method('NotifyNormalClose', - 'void', - [], - visibility='protected') - ## socket.h: void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function] - cls.add_method('NotifySend', - 'void', - [param('uint32_t', 'spaceAvailable')], - visibility='protected') - return - -def register_Ns3SocketAddressTag_methods(root_module, cls): - ## socket.h: ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')]) - ## socket.h: ns3::SocketAddressTag::SocketAddressTag() [constructor] - cls.add_constructor([]) - ## socket.h: void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## socket.h: ns3::Address ns3::SocketAddressTag::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True) - ## socket.h: ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## socket.h: static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## socket.h: void ns3::SocketAddressTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'addr')]) - return - -def register_Ns3SocketFactory_methods(root_module, cls): - ## socket-factory.h: ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')]) - ## socket-factory.h: ns3::SocketFactory::SocketFactory() [constructor] - cls.add_constructor([]) - ## socket-factory.h: ns3::Ptr ns3::SocketFactory::CreateSocket() [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_pure_virtual=True, is_virtual=True) - ## socket-factory.h: static ns3::TypeId ns3::SocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3SocketIpTtlTag_methods(root_module, cls): - ## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')]) - ## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor] - cls.add_constructor([]) - ## socket.h: void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## socket.h: ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## socket.h: uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint8_t', - [], - is_const=True) - ## socket.h: static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## socket.h: void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function] - cls.add_method('SetTtl', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls): - ## socket.h: ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')]) - ## socket.h: ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor] - cls.add_constructor([]) - ## socket.h: void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## socket.h: void ns3::SocketSetDontFragmentTag::Disable() [member function] - cls.add_method('Disable', - 'void', - []) - ## socket.h: void ns3::SocketSetDontFragmentTag::Enable() [member function] - cls.add_method('Enable', - 'void', - []) - ## socket.h: ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## socket.h: static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## socket.h: bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function] - cls.add_method('IsEnabled', - 'bool', - [], - is_const=True) - ## socket.h: void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Trailer_methods(root_module, cls): - cls.add_output_stream_operator() - ## trailer.h: ns3::Trailer::Trailer() [constructor] - cls.add_constructor([]) - ## trailer.h: ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Trailer const &', 'arg0')]) - ## trailer.h: uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'end')], - is_pure_virtual=True, is_virtual=True) - ## trailer.h: uint32_t ns3::Trailer::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trailer.h: static ns3::TypeId ns3::Trailer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## trailer.h: void ns3::Trailer::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trailer.h: void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3Application_methods(root_module, cls): - ## application.h: ns3::Application::Application(ns3::Application const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Application const &', 'arg0')]) - ## application.h: ns3::Application::Application() [constructor] - cls.add_constructor([]) - ## application.h: ns3::Ptr ns3::Application::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## application.h: static ns3::TypeId ns3::Application::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## application.h: void ns3::Application::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## application.h: void ns3::Application::SetStartTime(ns3::Time start) [member function] - cls.add_method('SetStartTime', - 'void', - [param('ns3::Time', 'start')]) - ## application.h: void ns3::Application::SetStopTime(ns3::Time stop) [member function] - cls.add_method('SetStopTime', - 'void', - [param('ns3::Time', 'stop')]) - ## application.h: void ns3::Application::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## application.h: void ns3::Application::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## application.h: void ns3::Application::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## application.h: void ns3::Application::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Channel_methods(root_module, cls): - ## channel.h: ns3::Channel::Channel(ns3::Channel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Channel const &', 'arg0')]) - ## channel.h: ns3::Channel::Channel() [constructor] - cls.add_constructor([]) - ## channel.h: ns3::Ptr ns3::Channel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## channel.h: uint32_t ns3::Channel::GetId() const [member function] - cls.add_method('GetId', - 'uint32_t', - [], - is_const=True) - ## channel.h: uint32_t ns3::Channel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## channel.h: static ns3::TypeId ns3::Channel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3DataRateChecker_methods(root_module, cls): - ## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor] - cls.add_constructor([]) - ## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')]) - return - -def register_Ns3DataRateValue_methods(root_module, cls): - ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor] - cls.add_constructor([]) - ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')]) - ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor] - cls.add_constructor([param('ns3::DataRate const &', 'value')]) - ## data-rate.h: ns3::Ptr ns3::DataRateValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## data-rate.h: bool ns3::DataRateValue::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) - ## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function] - cls.add_method('Get', - 'ns3::DataRate', - [], - is_const=True) - ## data-rate.h: std::string ns3::DataRateValue::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) - ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::DataRate const &', 'value')]) - return - -def register_Ns3DropTailQueue_methods(root_module, cls): - ## drop-tail-queue.h: ns3::DropTailQueue::DropTailQueue(ns3::DropTailQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DropTailQueue const &', 'arg0')]) - ## drop-tail-queue.h: ns3::DropTailQueue::DropTailQueue() [constructor] - cls.add_constructor([]) - ## drop-tail-queue.h: ns3::DropTailQueue::Mode ns3::DropTailQueue::GetMode() [member function] - cls.add_method('GetMode', - 'ns3::DropTailQueue::Mode', - []) - ## drop-tail-queue.h: static ns3::TypeId ns3::DropTailQueue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## drop-tail-queue.h: void ns3::DropTailQueue::SetMode(ns3::DropTailQueue::Mode mode) [member function] - cls.add_method('SetMode', - 'void', - [param('ns3::DropTailQueue::Mode', 'mode')]) - ## drop-tail-queue.h: ns3::Ptr ns3::DropTailQueue::DoDequeue() [member function] - cls.add_method('DoDequeue', - 'ns3::Ptr< ns3::Packet >', - [], - visibility='private', is_virtual=True) - ## drop-tail-queue.h: bool ns3::DropTailQueue::DoEnqueue(ns3::Ptr p) [member function] - cls.add_method('DoEnqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## drop-tail-queue.h: ns3::Ptr ns3::DropTailQueue::DoPeek() const [member function] - cls.add_method('DoPeek', - 'ns3::Ptr< ns3::Packet const >', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ErrorModel_methods(root_module, cls): - ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')]) - ## error-model.h: ns3::ErrorModel::ErrorModel() [constructor] - cls.add_constructor([]) - ## error-model.h: void ns3::ErrorModel::Disable() [member function] - cls.add_method('Disable', - 'void', - []) - ## error-model.h: void ns3::ErrorModel::Enable() [member function] - cls.add_method('Enable', - 'void', - []) - ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## error-model.h: bool ns3::ErrorModel::IsCorrupt(ns3::Ptr pkt) [member function] - cls.add_method('IsCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt')]) - ## error-model.h: bool ns3::ErrorModel::IsEnabled() const [member function] - cls.add_method('IsEnabled', - 'bool', - [], - is_const=True) - ## error-model.h: void ns3::ErrorModel::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## error-model.h: bool ns3::ErrorModel::DoCorrupt(ns3::Ptr arg0) [member function] - cls.add_method('DoCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'arg0')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## error-model.h: void ns3::ErrorModel::DoReset() [member function] - cls.add_method('DoReset', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3EthernetHeader_methods(root_module, cls): - ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader(ns3::EthernetHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EthernetHeader const &', 'arg0')]) - ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader(bool hasPreamble) [constructor] - cls.add_constructor([param('bool', 'hasPreamble')]) - ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader() [constructor] - cls.add_constructor([]) - ## ethernet-header.h: uint32_t ns3::EthernetHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Mac48Address', - [], - is_const=True) - ## ethernet-header.h: uint32_t ns3::EthernetHeader::GetHeaderSize() const [member function] - cls.add_method('GetHeaderSize', - 'uint32_t', - [], - is_const=True) - ## ethernet-header.h: ns3::TypeId ns3::EthernetHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ethernet-header.h: uint16_t ns3::EthernetHeader::GetLengthType() const [member function] - cls.add_method('GetLengthType', - 'uint16_t', - [], - is_const=True) - ## ethernet-header.h: ns3::ethernet_header_t ns3::EthernetHeader::GetPacketType() const [member function] - cls.add_method('GetPacketType', - 'ns3::ethernet_header_t', - [], - is_const=True) - ## ethernet-header.h: uint64_t ns3::EthernetHeader::GetPreambleSfd() const [member function] - cls.add_method('GetPreambleSfd', - 'uint64_t', - [], - is_const=True) - ## ethernet-header.h: uint32_t ns3::EthernetHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Mac48Address', - [], - is_const=True) - ## ethernet-header.h: static ns3::TypeId ns3::EthernetHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ethernet-header.h: void ns3::EthernetHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ethernet-header.h: void ns3::EthernetHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ethernet-header.h: void ns3::EthernetHeader::SetDestination(ns3::Mac48Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Mac48Address', 'destination')]) - ## ethernet-header.h: void ns3::EthernetHeader::SetLengthType(uint16_t size) [member function] - cls.add_method('SetLengthType', - 'void', - [param('uint16_t', 'size')]) - ## ethernet-header.h: void ns3::EthernetHeader::SetPreambleSfd(uint64_t preambleSfd) [member function] - cls.add_method('SetPreambleSfd', - 'void', - [param('uint64_t', 'preambleSfd')]) - ## ethernet-header.h: void ns3::EthernetHeader::SetSource(ns3::Mac48Address source) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Mac48Address', 'source')]) - return - -def register_Ns3EthernetTrailer_methods(root_module, cls): - ## ethernet-trailer.h: ns3::EthernetTrailer::EthernetTrailer(ns3::EthernetTrailer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EthernetTrailer const &', 'arg0')]) - ## ethernet-trailer.h: ns3::EthernetTrailer::EthernetTrailer() [constructor] - cls.add_constructor([]) - ## ethernet-trailer.h: void ns3::EthernetTrailer::CalcFcs(ns3::Ptr p) [member function] - cls.add_method('CalcFcs', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## ethernet-trailer.h: bool ns3::EthernetTrailer::CheckFcs(ns3::Ptr p) const [member function] - cls.add_method('CheckFcs', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p')], - is_const=True) - ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::Deserialize(ns3::Buffer::Iterator end) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'end')], - is_virtual=True) - ## ethernet-trailer.h: void ns3::EthernetTrailer::EnableFcs(bool enable) [member function] - cls.add_method('EnableFcs', - 'void', - [param('bool', 'enable')]) - ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetFcs() [member function] - cls.add_method('GetFcs', - 'uint32_t', - []) - ## ethernet-trailer.h: ns3::TypeId ns3::EthernetTrailer::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetTrailerSize() const [member function] - cls.add_method('GetTrailerSize', - 'uint32_t', - [], - is_const=True) - ## ethernet-trailer.h: static ns3::TypeId ns3::EthernetTrailer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ethernet-trailer.h: void ns3::EthernetTrailer::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ethernet-trailer.h: void ns3::EthernetTrailer::Serialize(ns3::Buffer::Iterator end) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'end')], - is_const=True, is_virtual=True) - ## ethernet-trailer.h: void ns3::EthernetTrailer::SetFcs(uint32_t fcs) [member function] - cls.add_method('SetFcs', - 'void', - [param('uint32_t', 'fcs')]) - return - -def register_Ns3Ipv4AddressChecker_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')]) - return - -def register_Ns3Ipv4AddressValue_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor] - cls.add_constructor([param('ns3::Ipv4Address const &', 'value')]) - ## ipv4-address.h: ns3::Ptr ns3::Ipv4AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv4-address.h: bool ns3::Ipv4AddressValue::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) - ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-address.h: std::string ns3::Ipv4AddressValue::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) - ## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv4Address const &', 'value')]) - return - -def register_Ns3Ipv4MaskChecker_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')]) - return - -def register_Ns3Ipv4MaskValue_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor] - cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')]) - ## ipv4-address.h: ns3::Ptr ns3::Ipv4MaskValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv4-address.h: bool ns3::Ipv4MaskValue::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) - ## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## ipv4-address.h: std::string ns3::Ipv4MaskValue::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) - ## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv4Mask const &', 'value')]) - return - -def register_Ns3Ipv6AddressChecker_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')]) - return - -def register_Ns3Ipv6AddressValue_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')]) - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor] - cls.add_constructor([param('ns3::Ipv6Address const &', 'value')]) - ## ipv6-address.h: ns3::Ptr ns3::Ipv6AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv6-address.h: bool ns3::Ipv6AddressValue::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) - ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-address.h: std::string ns3::Ipv6AddressValue::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) - ## ipv6-address.h: void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv6Address const &', 'value')]) - return - -def register_Ns3Ipv6PrefixChecker_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')]) - return - -def register_Ns3Ipv6PrefixValue_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')]) - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor] - cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')]) - ## ipv6-address.h: ns3::Ptr ns3::Ipv6PrefixValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv6-address.h: bool ns3::Ipv6PrefixValue::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) - ## ipv6-address.h: ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv6Prefix', - [], - is_const=True) - ## ipv6-address.h: std::string ns3::Ipv6PrefixValue::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) - ## ipv6-address.h: void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv6Prefix const &', 'value')]) - return - -def register_Ns3ListErrorModel_methods(root_module, cls): - ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')]) - ## error-model.h: ns3::ListErrorModel::ListErrorModel() [constructor] - cls.add_constructor([]) - ## error-model.h: std::list > ns3::ListErrorModel::GetList() const [member function] - cls.add_method('GetList', - 'std::list< unsigned int >', - [], - is_const=True) - ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## error-model.h: void ns3::ListErrorModel::SetList(std::list > const & packetlist) [member function] - cls.add_method('SetList', - 'void', - [param('std::list< unsigned int > const &', 'packetlist')]) - ## error-model.h: bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr p) [member function] - cls.add_method('DoCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: void ns3::ListErrorModel::DoReset() [member function] - cls.add_method('DoReset', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Mac48AddressChecker_methods(root_module, cls): - ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')]) - return - -def register_Ns3Mac48AddressValue_methods(root_module, cls): - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')]) - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor] - cls.add_constructor([param('ns3::Mac48Address const &', 'value')]) - ## mac48-address.h: ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## mac48-address.h: bool ns3::Mac48AddressValue::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) - ## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac48-address.h: std::string ns3::Mac48AddressValue::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) - ## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Mac48Address const &', 'value')]) - return - -def register_Ns3NetDevice_methods(root_module, cls): - ## net-device.h: ns3::NetDevice::NetDevice() [constructor] - cls.add_constructor([]) - ## net-device.h: ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NetDevice const &', 'arg0')]) - ## net-device.h: 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')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: ns3::Address ns3::NetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Address ns3::NetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Ptr ns3::NetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: uint32_t ns3::NetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: uint16_t ns3::NetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Ptr ns3::NetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: static ns3::TypeId ns3::NetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## net-device.h: bool ns3::NetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3NixVector_methods(root_module, cls): - cls.add_output_stream_operator() - ## nix-vector.h: ns3::NixVector::NixVector() [constructor] - cls.add_constructor([]) - ## nix-vector.h: ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor] - cls.add_constructor([param('ns3::NixVector const &', 'o')]) - ## nix-vector.h: void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function] - cls.add_method('AddNeighborIndex', - 'void', - [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')]) - ## nix-vector.h: uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function] - cls.add_method('BitCount', - 'uint32_t', - [param('uint32_t', 'numberOfNeighbors')], - is_const=True) - ## nix-vector.h: ns3::Ptr ns3::NixVector::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::NixVector >', - [], - is_const=True) - ## nix-vector.h: uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')]) - ## nix-vector.h: uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function] - cls.add_method('ExtractNeighborIndex', - 'uint32_t', - [param('uint32_t', 'numberOfBits')]) - ## nix-vector.h: uint32_t ns3::NixVector::GetRemainingBits() [member function] - cls.add_method('GetRemainingBits', - 'uint32_t', - []) - ## nix-vector.h: uint32_t ns3::NixVector::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## nix-vector.h: uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function] - cls.add_method('Serialize', - 'uint32_t', - [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], - is_const=True) - return - -def register_Ns3Node_methods(root_module, cls): - ## node.h: ns3::Node::Node(ns3::Node const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Node const &', 'arg0')]) - ## node.h: ns3::Node::Node() [constructor] - cls.add_constructor([]) - ## node.h: ns3::Node::Node(uint32_t systemId) [constructor] - cls.add_constructor([param('uint32_t', 'systemId')]) - ## node.h: uint32_t ns3::Node::AddApplication(ns3::Ptr application) [member function] - cls.add_method('AddApplication', - 'uint32_t', - [param('ns3::Ptr< ns3::Application >', 'application')]) - ## node.h: uint32_t ns3::Node::AddDevice(ns3::Ptr device) [member function] - cls.add_method('AddDevice', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## node.h: static bool ns3::Node::ChecksumEnabled() [member function] - cls.add_method('ChecksumEnabled', - 'bool', - [], - is_static=True) - ## node.h: 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: 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: uint32_t ns3::Node::GetId() const [member function] - cls.add_method('GetId', - 'uint32_t', - [], - is_const=True) - ## node.h: uint32_t ns3::Node::GetNApplications() const [member function] - cls.add_method('GetNApplications', - 'uint32_t', - [], - is_const=True) - ## node.h: uint32_t ns3::Node::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True) - ## node.h: uint32_t ns3::Node::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True) - ## node.h: static ns3::TypeId ns3::Node::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## node.h: 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: 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: void ns3::Node::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## node.h: void ns3::Node::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## node.h: void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) - return - -def register_Ns3OutputStreamWrapper_methods(root_module, cls): - ## output-stream-wrapper.h: ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')]) - ## output-stream-wrapper.h: ns3::OutputStreamWrapper::OutputStreamWrapper(std::string filename, std::_Ios_Openmode filemode) [constructor] - cls.add_constructor([param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode')]) - ## output-stream-wrapper.h: ns3::OutputStreamWrapper::OutputStreamWrapper(std::ostream * os) [constructor] - cls.add_constructor([param('std::ostream *', 'os')]) - ## output-stream-wrapper.h: std::ostream * ns3::OutputStreamWrapper::GetStream() [member function] - cls.add_method('GetStream', - 'std::ostream *', - []) - return - -def register_Ns3Packet_methods(root_module, cls): - cls.add_output_stream_operator() - ## packet.h: ns3::Packet::Packet() [constructor] - cls.add_constructor([]) - ## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor] - cls.add_constructor([param('ns3::Packet const &', 'o')]) - ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor] - cls.add_constructor([param('uint32_t', 'size')]) - ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor] - cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')]) - ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor] - cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr packet) [member function] - cls.add_method('AddAtEnd', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## packet.h: void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function] - cls.add_method('AddByteTag', - 'void', - [param('ns3::Tag const &', 'tag')], - is_const=True) - ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function] - cls.add_method('AddHeader', - 'void', - [param('ns3::Header const &', 'header')]) - ## packet.h: void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function] - cls.add_method('AddPacketTag', - 'void', - [param('ns3::Tag const &', 'tag')], - is_const=True) - ## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function] - cls.add_method('AddPaddingAtEnd', - 'void', - [param('uint32_t', 'size')]) - ## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function] - cls.add_method('AddTrailer', - 'void', - [param('ns3::Trailer const &', 'trailer')]) - ## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function] - cls.add_method('BeginItem', - 'ns3::PacketMetadata::ItemIterator', - [], - is_const=True) - ## packet.h: ns3::Ptr ns3::Packet::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function] - cls.add_method('CopyData', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], - is_const=True) - ## packet.h: void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function] - cls.add_method('CopyData', - 'void', - [param('std::ostream *', 'os'), param('uint32_t', 'size')], - is_const=True) - ## packet.h: ns3::Ptr ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function] - cls.add_method('CreateFragment', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'start'), param('uint32_t', 'length')], - is_const=True) - ## packet.h: static void ns3::Packet::EnableChecking() [member function] - cls.add_method('EnableChecking', - 'void', - [], - is_static=True) - ## packet.h: static void ns3::Packet::EnablePrinting() [member function] - cls.add_method('EnablePrinting', - 'void', - [], - is_static=True) - ## packet.h: bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function] - cls.add_method('FindFirstMatchingByteTag', - 'bool', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet.h: ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function] - cls.add_method('GetByteTagIterator', - 'ns3::ByteTagIterator', - [], - is_const=True) - ## packet.h: ns3::Ptr ns3::Packet::GetNixVector() const [member function] - cls.add_method('GetNixVector', - 'ns3::Ptr< ns3::NixVector >', - [], - is_const=True) - ## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function] - cls.add_method('GetPacketTagIterator', - 'ns3::PacketTagIterator', - [], - is_const=True) - ## packet.h: uint32_t ns3::Packet::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packet.h: uint32_t ns3::Packet::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## packet.h: uint64_t ns3::Packet::GetUid() const [member function] - cls.add_method('GetUid', - 'uint64_t', - [], - is_const=True) - ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function] - cls.add_method('PeekData', - 'uint8_t const *', - [], - deprecated=True, is_const=True) - ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function] - cls.add_method('PeekHeader', - 'uint32_t', - [param('ns3::Header &', 'header')], - is_const=True) - ## packet.h: bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function] - cls.add_method('PeekPacketTag', - 'bool', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function] - cls.add_method('PeekTrailer', - 'uint32_t', - [param('ns3::Trailer &', 'trailer')]) - ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packet.h: void ns3::Packet::PrintByteTags(std::ostream & os) const [member function] - cls.add_method('PrintByteTags', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packet.h: void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function] - cls.add_method('PrintPacketTags', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packet.h: void ns3::Packet::RemoveAllByteTags() [member function] - cls.add_method('RemoveAllByteTags', - 'void', - []) - ## packet.h: void ns3::Packet::RemoveAllPacketTags() [member function] - cls.add_method('RemoveAllPacketTags', - 'void', - []) - ## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function] - cls.add_method('RemoveAtEnd', - 'void', - [param('uint32_t', 'size')]) - ## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function] - cls.add_method('RemoveAtStart', - 'void', - [param('uint32_t', 'size')]) - ## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function] - cls.add_method('RemoveHeader', - 'uint32_t', - [param('ns3::Header &', 'header')]) - ## packet.h: bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function] - cls.add_method('RemovePacketTag', - 'bool', - [param('ns3::Tag &', 'tag')]) - ## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function] - cls.add_method('RemoveTrailer', - 'uint32_t', - [param('ns3::Trailer &', 'trailer')]) - ## packet.h: uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] - cls.add_method('Serialize', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], - is_const=True) - ## packet.h: void ns3::Packet::SetNixVector(ns3::Ptr arg0) [member function] - cls.add_method('SetNixVector', - 'void', - [param('ns3::Ptr< ns3::NixVector >', 'arg0')]) - return - -def register_Ns3PacketSocket_methods(root_module, cls): - ## packet-socket.h: ns3::PacketSocket::PacketSocket(ns3::PacketSocket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSocket const &', 'arg0')]) - ## packet-socket.h: ns3::PacketSocket::PacketSocket() [constructor] - cls.add_constructor([]) - ## packet-socket.h: int ns3::PacketSocket::Bind() [member function] - cls.add_method('Bind', - 'int', - [], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::Bind(ns3::Address const & address) [member function] - cls.add_method('Bind', - 'int', - [param('ns3::Address const &', 'address')], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::Close() [member function] - cls.add_method('Close', - 'int', - [], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::Connect(ns3::Address const & address) [member function] - cls.add_method('Connect', - 'int', - [param('ns3::Address const &', 'address')], - is_virtual=True) - ## packet-socket.h: bool ns3::PacketSocket::GetAllowBroadcast() const [member function] - cls.add_method('GetAllowBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: ns3::Socket::SocketErrno ns3::PacketSocket::GetErrno() const [member function] - cls.add_method('GetErrno', - 'ns3::Socket::SocketErrno', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: ns3::Ptr ns3::PacketSocket::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: uint32_t ns3::PacketSocket::GetRxAvailable() const [member function] - cls.add_method('GetRxAvailable', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::GetSockName(ns3::Address & address) const [member function] - cls.add_method('GetSockName', - 'int', - [param('ns3::Address &', 'address')], - is_const=True, is_virtual=True) - ## packet-socket.h: ns3::Socket::SocketType ns3::PacketSocket::GetSocketType() const [member function] - cls.add_method('GetSocketType', - 'ns3::Socket::SocketType', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: uint32_t ns3::PacketSocket::GetTxAvailable() const [member function] - cls.add_method('GetTxAvailable', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: static ns3::TypeId ns3::PacketSocket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-socket.h: int ns3::PacketSocket::Listen() [member function] - cls.add_method('Listen', - 'int', - [], - is_virtual=True) - ## packet-socket.h: ns3::Ptr ns3::PacketSocket::Recv(uint32_t maxSize, uint32_t flags) [member function] - cls.add_method('Recv', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], - is_virtual=True) - ## packet-socket.h: ns3::Ptr ns3::PacketSocket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::Send(ns3::Ptr p, uint32_t flags) [member function] - cls.add_method('Send', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::SendTo(ns3::Ptr p, uint32_t flags, ns3::Address const & toAddress) [member function] - cls.add_method('SendTo', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], - is_virtual=True) - ## packet-socket.h: bool ns3::PacketSocket::SetAllowBroadcast(bool allowBroadcast) [member function] - cls.add_method('SetAllowBroadcast', - 'bool', - [param('bool', 'allowBroadcast')], - is_virtual=True) - ## packet-socket.h: void ns3::PacketSocket::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## packet-socket.h: int ns3::PacketSocket::ShutdownRecv() [member function] - cls.add_method('ShutdownRecv', - 'int', - [], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::ShutdownSend() [member function] - cls.add_method('ShutdownSend', - 'int', - [], - is_virtual=True) - ## packet-socket.h: void ns3::PacketSocket::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3PacketSocketFactory_methods(root_module, cls): - ## packet-socket-factory.h: ns3::PacketSocketFactory::PacketSocketFactory(ns3::PacketSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSocketFactory const &', 'arg0')]) - ## packet-socket-factory.h: ns3::PacketSocketFactory::PacketSocketFactory() [constructor] - cls.add_constructor([]) - ## packet-socket-factory.h: ns3::Ptr ns3::PacketSocketFactory::CreateSocket() [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_virtual=True) - ## packet-socket-factory.h: static ns3::TypeId ns3::PacketSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3PbbAddressBlock_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock(ns3::PbbAddressBlock const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlock const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressBack() const [member function] - cls.add_method('AddressBack', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressBegin() [member function] - cls.add_method('AddressBegin', - 'std::_List_iterator< ns3::Address >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressBegin() const [member function] - cls.add_method('AddressBegin', - 'std::_List_const_iterator< ns3::Address >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::AddressClear() [member function] - cls.add_method('AddressClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::AddressEmpty() const [member function] - cls.add_method('AddressEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressEnd() [member function] - cls.add_method('AddressEnd', - 'std::_List_iterator< ns3::Address >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressEnd() const [member function] - cls.add_method('AddressEnd', - 'std::_List_const_iterator< ns3::Address >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator position) [member function] - cls.add_method('AddressErase', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'position')]) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator first, std::_List_iterator last) [member function] - cls.add_method('AddressErase', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'first'), param('std::_List_iterator< ns3::Address >', 'last')]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressFront() const [member function] - cls.add_method('AddressFront', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressInsert(std::_List_iterator position, ns3::Address const value) [member function] - cls.add_method('AddressInsert', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'position'), param('ns3::Address const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPopBack() [member function] - cls.add_method('AddressPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPopFront() [member function] - cls.add_method('AddressPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPushBack(ns3::Address address) [member function] - cls.add_method('AddressPushBack', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPushFront(ns3::Address address) [member function] - cls.add_method('AddressPushFront', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: int ns3::PbbAddressBlock::AddressSize() const [member function] - cls.add_method('AddressSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: uint32_t ns3::PbbAddressBlock::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixBack() const [member function] - cls.add_method('PrefixBack', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixBegin() [member function] - cls.add_method('PrefixBegin', - 'std::_List_iterator< unsigned char >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixBegin() const [member function] - cls.add_method('PrefixBegin', - 'std::_List_const_iterator< unsigned char >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixClear() [member function] - cls.add_method('PrefixClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::PrefixEmpty() const [member function] - cls.add_method('PrefixEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixEnd() [member function] - cls.add_method('PrefixEnd', - 'std::_List_iterator< unsigned char >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixEnd() const [member function] - cls.add_method('PrefixEnd', - 'std::_List_const_iterator< unsigned char >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator position) [member function] - cls.add_method('PrefixErase', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'position')]) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator first, std::_List_iterator last) [member function] - cls.add_method('PrefixErase', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'first'), param('std::_List_iterator< unsigned char >', 'last')]) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixFront() const [member function] - cls.add_method('PrefixFront', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixInsert(std::_List_iterator position, uint8_t const value) [member function] - cls.add_method('PrefixInsert', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'position'), param('uint8_t const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopBack() [member function] - cls.add_method('PrefixPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopFront() [member function] - cls.add_method('PrefixPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushBack(uint8_t prefix) [member function] - cls.add_method('PrefixPushBack', - 'void', - [param('uint8_t', 'prefix')]) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushFront(uint8_t prefix) [member function] - cls.add_method('PrefixPushFront', - 'void', - [param('uint8_t', 'prefix')]) - ## packetbb.h: int ns3::PbbAddressBlock::PrefixSize() const [member function] - cls.add_method('PrefixSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbAddressTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbAddressTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > position) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbAddressTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbAddressTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvInsert(std::_List_iterator > position, ns3::Ptr const value) [member function] - cls.add_method('TlvInsert', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPushBack(ns3::Ptr address) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPushFront(ns3::Ptr address) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) - ## packetbb.h: int ns3::PbbAddressBlock::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlock::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlock::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbAddressBlockIpv4_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4(ns3::PbbAddressBlockIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlockIpv4 const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv4::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv4::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv4::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv4::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbAddressBlockIpv6_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6(ns3::PbbAddressBlockIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlockIpv6 const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv6::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv6::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv6::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv6::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessage_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbMessage::PbbMessage(ns3::PbbMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessage const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessage::PbbMessage() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockBack() [member function] - cls.add_method('AddressBlockBack', - 'ns3::Ptr< ns3::PbbAddressBlock >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockBack() const [member function] - cls.add_method('AddressBlockBack', - 'ns3::Ptr< ns3::PbbAddressBlock > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockBegin() [member function] - cls.add_method('AddressBlockBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockBegin() const [member function] - cls.add_method('AddressBlockBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::AddressBlockClear() [member function] - cls.add_method('AddressBlockClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbMessage::AddressBlockEmpty() const [member function] - cls.add_method('AddressBlockEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockEnd() [member function] - cls.add_method('AddressBlockEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockEnd() const [member function] - cls.add_method('AddressBlockEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > position) [member function] - cls.add_method('AddressBlockErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('AddressBlockErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockFront() [member function] - cls.add_method('AddressBlockFront', - 'ns3::Ptr< ns3::PbbAddressBlock >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockFront() const [member function] - cls.add_method('AddressBlockFront', - 'ns3::Ptr< ns3::PbbAddressBlock > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPopBack() [member function] - cls.add_method('AddressBlockPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPopFront() [member function] - cls.add_method('AddressBlockPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPushBack(ns3::Ptr block) [member function] - cls.add_method('AddressBlockPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPushFront(ns3::Ptr block) [member function] - cls.add_method('AddressBlockPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) - ## packetbb.h: int ns3::PbbMessage::AddressBlockSize() const [member function] - cls.add_method('AddressBlockSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: static ns3::Ptr ns3::PbbMessage::DeserializeMessage(ns3::Buffer::Iterator & start) [member function] - cls.add_method('DeserializeMessage', - 'ns3::Ptr< ns3::PbbMessage >', - [param('ns3::Buffer::Iterator &', 'start')], - is_static=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetHopLimit() const [member function] - cls.add_method('GetHopLimit', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: ns3::Address ns3::PbbMessage::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: uint16_t ns3::PbbMessage::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbMessage::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasHopCount() const [member function] - cls.add_method('HasHopCount', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasHopLimit() const [member function] - cls.add_method('HasHopLimit', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasOriginatorAddress() const [member function] - cls.add_method('HasOriginatorAddress', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasSequenceNumber() const [member function] - cls.add_method('HasSequenceNumber', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::SetHopCount(uint8_t hopcount) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'hopcount')]) - ## packetbb.h: void ns3::PbbMessage::SetHopLimit(uint8_t hoplimit) [member function] - cls.add_method('SetHopLimit', - 'void', - [param('uint8_t', 'hoplimit')]) - ## packetbb.h: void ns3::PbbMessage::SetOriginatorAddress(ns3::Address address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: void ns3::PbbMessage::SetSequenceNumber(uint16_t seqnum) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'seqnum')]) - ## packetbb.h: void ns3::PbbMessage::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbMessage::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > position) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::TlvPushBack(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbMessage::TlvPushFront(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: int ns3::PbbMessage::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessage::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessage::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessage::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessage::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessageIpv4_methods(root_module, cls): - ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4(ns3::PbbMessageIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessageIpv4 const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv4::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessageIpv4::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv4::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv4::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv4::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessageIpv6_methods(root_module, cls): - ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6(ns3::PbbMessageIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessageIpv6 const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv6::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessageIpv6::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv6::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv6::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv6::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbPacket_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbPacket::PbbPacket(ns3::PbbPacket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbPacket const &', 'arg0')]) - ## packetbb.h: ns3::PbbPacket::PbbPacket() [constructor] - cls.add_constructor([]) - ## packetbb.h: uint32_t ns3::PbbPacket::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'last')]) - ## packetbb.h: ns3::TypeId ns3::PbbPacket::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## packetbb.h: uint16_t ns3::PbbPacket::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbPacket::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## packetbb.h: static ns3::TypeId ns3::PbbPacket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packetbb.h: uint8_t ns3::PbbPacket::GetVersion() const [member function] - cls.add_method('GetVersion', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbPacket::HasSequenceNumber() const [member function] - cls.add_method('HasSequenceNumber', - 'bool', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageBack() [member function] - cls.add_method('MessageBack', - 'ns3::Ptr< ns3::PbbMessage >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageBack() const [member function] - cls.add_method('MessageBack', - 'ns3::Ptr< ns3::PbbMessage > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageBegin() [member function] - cls.add_method('MessageBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageBegin() const [member function] - cls.add_method('MessageBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::MessageClear() [member function] - cls.add_method('MessageClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbPacket::MessageEmpty() const [member function] - cls.add_method('MessageEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageEnd() [member function] - cls.add_method('MessageEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageEnd() const [member function] - cls.add_method('MessageEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageFront() [member function] - cls.add_method('MessageFront', - 'ns3::Ptr< ns3::PbbMessage >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageFront() const [member function] - cls.add_method('MessageFront', - 'ns3::Ptr< ns3::PbbMessage > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::MessagePopBack() [member function] - cls.add_method('MessagePopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::MessagePopFront() [member function] - cls.add_method('MessagePopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::MessagePushBack(ns3::Ptr message) [member function] - cls.add_method('MessagePushBack', - 'void', - [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) - ## packetbb.h: void ns3::PbbPacket::MessagePushFront(ns3::Ptr message) [member function] - cls.add_method('MessagePushFront', - 'void', - [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) - ## packetbb.h: int ns3::PbbPacket::MessageSize() const [member function] - cls.add_method('MessageSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## packetbb.h: void ns3::PbbPacket::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## packetbb.h: void ns3::PbbPacket::SetSequenceNumber(uint16_t number) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'number')]) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbPacket::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::TlvPushBack(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbPacket::TlvPushFront(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: int ns3::PbbPacket::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - return - -def register_Ns3PbbTlv_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbTlv::PbbTlv(ns3::PbbTlv const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbTlv const &', 'arg0')]) - ## packetbb.h: ns3::PbbTlv::PbbTlv() [constructor] - cls.add_constructor([]) - ## packetbb.h: void ns3::PbbTlv::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: uint32_t ns3::PbbTlv::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetTypeExt() const [member function] - cls.add_method('GetTypeExt', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: ns3::Buffer ns3::PbbTlv::GetValue() const [member function] - cls.add_method('GetValue', - 'ns3::Buffer', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbTlv::HasTypeExt() const [member function] - cls.add_method('HasTypeExt', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbTlv::HasValue() const [member function] - cls.add_method('HasValue', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: void ns3::PbbTlv::SetTypeExt(uint8_t type) [member function] - cls.add_method('SetTypeExt', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: void ns3::PbbTlv::SetValue(ns3::Buffer start) [member function] - cls.add_method('SetValue', - 'void', - [param('ns3::Buffer', 'start')]) - ## packetbb.h: void ns3::PbbTlv::SetValue(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('SetValue', - 'void', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStart() const [member function] - cls.add_method('GetIndexStart', - 'uint8_t', - [], - is_const=True, visibility='protected') - ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStop() const [member function] - cls.add_method('GetIndexStop', - 'uint8_t', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::HasIndexStart() const [member function] - cls.add_method('HasIndexStart', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::HasIndexStop() const [member function] - cls.add_method('HasIndexStop', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::IsMultivalue() const [member function] - cls.add_method('IsMultivalue', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetIndexStart(uint8_t index) [member function] - cls.add_method('SetIndexStart', - 'void', - [param('uint8_t', 'index')], - visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetIndexStop(uint8_t index) [member function] - cls.add_method('SetIndexStop', - 'void', - [param('uint8_t', 'index')], - visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetMultivalue(bool isMultivalue) [member function] - cls.add_method('SetMultivalue', - 'void', - [param('bool', 'isMultivalue')], - visibility='protected') - return - -def register_Ns3RateErrorModel_methods(root_module, cls): - ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')]) - ## error-model.h: ns3::RateErrorModel::RateErrorModel() [constructor] - cls.add_constructor([]) - ## error-model.h: double ns3::RateErrorModel::GetRate() const [member function] - cls.add_method('GetRate', - 'double', - [], - is_const=True) - ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## error-model.h: ns3::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function] - cls.add_method('GetUnit', - 'ns3::ErrorUnit', - [], - is_const=True) - ## error-model.h: void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function] - cls.add_method('SetRandomVariable', - 'void', - [param('ns3::RandomVariable const &', 'ranvar')]) - ## error-model.h: void ns3::RateErrorModel::SetRate(double rate) [member function] - cls.add_method('SetRate', - 'void', - [param('double', 'rate')]) - ## error-model.h: void ns3::RateErrorModel::SetUnit(ns3::ErrorUnit error_unit) [member function] - cls.add_method('SetUnit', - 'void', - [param('ns3::ErrorUnit', 'error_unit')]) - ## error-model.h: bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr p) [member function] - cls.add_method('DoCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr p) [member function] - cls.add_method('DoCorruptBit', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr p) [member function] - cls.add_method('DoCorruptByte', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr p) [member function] - cls.add_method('DoCorruptPkt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: void ns3::RateErrorModel::DoReset() [member function] - cls.add_method('DoReset', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ReceiveListErrorModel_methods(root_module, cls): - ## error-model.h: ns3::ReceiveListErrorModel::ReceiveListErrorModel(ns3::ReceiveListErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ReceiveListErrorModel const &', 'arg0')]) - ## error-model.h: ns3::ReceiveListErrorModel::ReceiveListErrorModel() [constructor] - cls.add_constructor([]) - ## error-model.h: std::list > ns3::ReceiveListErrorModel::GetList() const [member function] - cls.add_method('GetList', - 'std::list< unsigned int >', - [], - is_const=True) - ## error-model.h: static ns3::TypeId ns3::ReceiveListErrorModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## error-model.h: void ns3::ReceiveListErrorModel::SetList(std::list > const & packetlist) [member function] - cls.add_method('SetList', - 'void', - [param('std::list< unsigned int > const &', 'packetlist')]) - ## error-model.h: bool ns3::ReceiveListErrorModel::DoCorrupt(ns3::Ptr p) [member function] - cls.add_method('DoCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: void ns3::ReceiveListErrorModel::DoReset() [member function] - cls.add_method('DoReset', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3SimpleChannel_methods(root_module, cls): - ## simple-channel.h: ns3::SimpleChannel::SimpleChannel(ns3::SimpleChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleChannel const &', 'arg0')]) - ## simple-channel.h: ns3::SimpleChannel::SimpleChannel() [constructor] - cls.add_constructor([]) - ## simple-channel.h: void ns3::SimpleChannel::Add(ns3::Ptr device) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::SimpleNetDevice >', 'device')]) - ## simple-channel.h: ns3::Ptr ns3::SimpleChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## simple-channel.h: uint32_t ns3::SimpleChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## simple-channel.h: static ns3::TypeId ns3::SimpleChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simple-channel.h: void ns3::SimpleChannel::Send(ns3::Ptr p, uint16_t protocol, ns3::Mac48Address to, ns3::Mac48Address from, ns3::Ptr sender) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from'), param('ns3::Ptr< ns3::SimpleNetDevice >', 'sender')]) - return - -def register_Ns3SimpleNetDevice_methods(root_module, cls): - ## simple-net-device.h: ns3::SimpleNetDevice::SimpleNetDevice(ns3::SimpleNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleNetDevice const &', 'arg0')]) - ## simple-net-device.h: ns3::SimpleNetDevice::SimpleNetDevice() [constructor] - cls.add_constructor([]) - ## simple-net-device.h: void ns3::SimpleNetDevice::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')], - is_virtual=True) - ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Ptr ns3::SimpleNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: uint32_t ns3::SimpleNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: uint16_t ns3::SimpleNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Ptr ns3::SimpleNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: static ns3::TypeId ns3::SimpleNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::Receive(ns3::Ptr packet, uint16_t protocol, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')]) - ## simple-net-device.h: bool ns3::SimpleNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SimpleChannel >', 'channel')]) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetReceiveErrorModel(ns3::Ptr em) [member function] - cls.add_method('SetReceiveErrorModel', - 'void', - [param('ns3::Ptr< ns3::ErrorModel >', 'em')]) - ## simple-net-device.h: bool ns3::SimpleNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3AddressChecker_methods(root_module, cls): - ## address.h: ns3::AddressChecker::AddressChecker() [constructor] - cls.add_constructor([]) - ## address.h: ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')]) - return - -def register_Ns3AddressValue_methods(root_module, cls): - ## address.h: ns3::AddressValue::AddressValue() [constructor] - cls.add_constructor([]) - ## address.h: ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AddressValue const &', 'arg0')]) - ## address.h: ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor] - cls.add_constructor([param('ns3::Address const &', 'value')]) - ## address.h: ns3::Ptr ns3::AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## address.h: bool ns3::AddressValue::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) - ## address.h: ns3::Address ns3::AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Address', - [], - is_const=True) - ## address.h: std::string ns3::AddressValue::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) - ## address.h: void ns3::AddressValue::Set(ns3::Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Address const &', 'value')]) - return - -def register_Ns3PbbAddressTlv_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv(ns3::PbbAddressTlv const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressTlv const &', 'arg0')]) - ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStart() const [member function] - cls.add_method('GetIndexStart', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStop() const [member function] - cls.add_method('GetIndexStop', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStart() const [member function] - cls.add_method('HasIndexStart', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStop() const [member function] - cls.add_method('HasIndexStop', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::IsMultivalue() const [member function] - cls.add_method('IsMultivalue', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStart(uint8_t index) [member function] - cls.add_method('SetIndexStart', - 'void', - [param('uint8_t', 'index')]) - ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStop(uint8_t index) [member function] - cls.add_method('SetIndexStop', - 'void', - [param('uint8_t', 'index')]) - ## packetbb.h: void ns3::PbbAddressTlv::SetMultivalue(bool isMultivalue) [member function] - cls.add_method('SetMultivalue', - 'void', - [param('bool', 'isMultivalue')]) - return - -def register_functions(root_module): - module = root_module - ## address.h: extern ns3::Ptr ns3::MakeAddressChecker() [free function] - module.add_function('MakeAddressChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## data-rate.h: extern ns3::Ptr ns3::MakeDataRateChecker() [free function] - module.add_function('MakeDataRateChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## ipv4-address.h: extern ns3::Ptr ns3::MakeIpv4AddressChecker() [free function] - module.add_function('MakeIpv4AddressChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## ipv4-address.h: extern ns3::Ptr ns3::MakeIpv4MaskChecker() [free function] - module.add_function('MakeIpv4MaskChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## ipv6-address.h: extern ns3::Ptr ns3::MakeIpv6AddressChecker() [free function] - module.add_function('MakeIpv6AddressChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## ipv6-address.h: extern ns3::Ptr ns3::MakeIpv6PrefixChecker() [free function] - module.add_function('MakeIpv6PrefixChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## mac48-address.h: extern ns3::Ptr ns3::MakeMac48AddressChecker() [free function] - module.add_function('MakeMac48AddressChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Address & ad, uint32_t len) [free function] - module.add_function('ReadFrom', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Address &', 'ad'), param('uint32_t', 'len')]) - ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Ipv4Address & ad) [free function] - module.add_function('ReadFrom', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Ipv4Address &', 'ad')]) - ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Ipv6Address & ad) [free function] - module.add_function('ReadFrom', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Ipv6Address &', 'ad')]) - ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Mac48Address & ad) [free function] - module.add_function('ReadFrom', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Mac48Address &', 'ad')]) - ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Address const & ad) [free function] - module.add_function('WriteTo', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Address const &', 'ad')]) - ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Ipv4Address ad) [free function] - module.add_function('WriteTo', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Ipv4Address', 'ad')]) - ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Ipv6Address ad) [free function] - module.add_function('WriteTo', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Ipv6Address', 'ad')]) - ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Mac48Address ad) [free function] - module.add_function('WriteTo', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Mac48Address', 'ad')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - ## address-utils.h: extern bool ns3::addressUtils::IsMulticast(ns3::Address const & ad) [free function] - module.add_function('IsMulticast', - 'bool', - [param('ns3::Address const &', 'ad')]) - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py deleted file mode 100644 index db0c43e3c..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_nix_vector_routing.py +++ /dev/null @@ -1,233 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper [class] - module.add_class('Ipv4NixVectorHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting [class] - module.add_class('Ipv4NixVectorRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >', 'ns3::NixMap_t') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >*', 'ns3::NixMap_t*') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >&', 'ns3::NixMap_t&') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::Ipv4Route >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::Ipv4Route > > > >', 'ns3::Ipv4RouteMap_t') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::Ipv4Route >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::Ipv4Route > > > >*', 'ns3::Ipv4RouteMap_t*') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::Ipv4Route >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::Ipv4Route > > > >&', 'ns3::Ipv4RouteMap_t&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Ipv4NixVectorHelper_methods(root_module, root_module['ns3::Ipv4NixVectorHelper']) - register_Ns3Ipv4NixVectorRouting_methods(root_module, root_module['ns3::Ipv4NixVectorRouting']) - return - -def register_Ns3Ipv4NixVectorHelper_methods(root_module, cls): - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper() [constructor] - cls.add_constructor([]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper(ns3::Ipv4NixVectorHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4NixVectorHelper const &', 'arg0')]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper * ns3::Ipv4NixVectorHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4NixVectorHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-nix-vector-helper.h: ns3::Ptr ns3::Ipv4NixVectorHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv4NixVectorRouting_methods(root_module, cls): - ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting::Ipv4NixVectorRouting(ns3::Ipv4NixVectorRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4NixVectorRouting const &', 'arg0')]) - ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting::Ipv4NixVectorRouting() [constructor] - cls.add_constructor([]) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::FlushGlobalNixRoutingCache() [member function] - cls.add_method('FlushGlobalNixRoutingCache', - 'void', - []) - ## ipv4-nix-vector-routing.h: static ns3::TypeId ns3::Ipv4NixVectorRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: bool ns3::Ipv4NixVectorRouting::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: ns3::Ptr ns3::Ipv4NixVectorRouting::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_ns3tcp.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_ns3tcp.py deleted file mode 100644 index a37d20d52..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_ns3tcp.py +++ /dev/null @@ -1,139 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_ns3wifi.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_ns3wifi.py deleted file mode 100644 index a37d20d52..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_ns3wifi.py +++ /dev/null @@ -1,139 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_olsr.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_olsr.py deleted file mode 100644 index a89a7dcd3..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_olsr.py +++ /dev/null @@ -1,1096 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## olsr-helper.h: ns3::OlsrHelper [class] - module.add_class('OlsrHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## olsr-state.h: ns3::OlsrState [class] - module.add_class('OlsrState') - module.add_container('std::vector< ns3::olsr::MprSelectorTuple >', 'ns3::olsr::MprSelectorTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::NeighborTuple >', 'ns3::olsr::NeighborTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::TwoHopNeighborTuple >', 'ns3::olsr::TwoHopNeighborTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::LinkTuple >', 'ns3::olsr::LinkTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::TopologyTuple >', 'ns3::olsr::TopologyTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::IfaceAssocTuple >', 'ns3::olsr::IfaceAssocTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::AssociationTuple >', 'ns3::olsr::AssociationTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::Association >', 'ns3::olsr::Association', container_type='vector') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - ## olsr-repositories.h: ns3::olsr::Association [struct] - module.add_class('Association') - ## olsr-repositories.h: ns3::olsr::AssociationTuple [struct] - module.add_class('AssociationTuple') - ## olsr-repositories.h: ns3::olsr::DuplicateTuple [struct] - module.add_class('DuplicateTuple') - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple [struct] - module.add_class('IfaceAssocTuple') - ## olsr-repositories.h: ns3::olsr::LinkTuple [struct] - module.add_class('LinkTuple') - ## olsr-header.h: ns3::olsr::MessageHeader [class] - module.add_class('MessageHeader', parent=root_module['ns3::Header']) - ## olsr-header.h: ns3::olsr::MessageHeader::MessageType [enumeration] - module.add_enum('MessageType', ['HELLO_MESSAGE', 'TC_MESSAGE', 'MID_MESSAGE', 'HNA_MESSAGE'], outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello [struct] - module.add_class('Hello', outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage [struct] - module.add_class('LinkMessage', outer_class=root_module['ns3::olsr::MessageHeader::Hello']) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna [struct] - module.add_class('Hna', outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association [struct] - module.add_class('Association', outer_class=root_module['ns3::olsr::MessageHeader::Hna']) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid [struct] - module.add_class('Mid', outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc [struct] - module.add_class('Tc', outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple [struct] - module.add_class('MprSelectorTuple') - ## olsr-repositories.h: ns3::olsr::NeighborTuple [struct] - module.add_class('NeighborTuple') - ## olsr-repositories.h: ns3::olsr::NeighborTuple::Status [enumeration] - module.add_enum('Status', ['STATUS_NOT_SYM', 'STATUS_SYM'], outer_class=root_module['ns3::olsr::NeighborTuple']) - ## olsr-header.h: ns3::olsr::PacketHeader [class] - module.add_class('PacketHeader', parent=root_module['ns3::Header']) - ## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol [class] - module.add_class('RoutingProtocol', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry [struct] - module.add_class('RoutingTableEntry') - ## olsr-repositories.h: ns3::olsr::TopologyTuple [struct] - module.add_class('TopologyTuple') - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple [struct] - module.add_class('TwoHopNeighborTuple') - module.add_container('std::vector< ns3::olsr::MessageHeader::Hello::LinkMessage >', 'ns3::olsr::MessageHeader::Hello::LinkMessage', container_type='vector') - module.add_container('std::vector< ns3::olsr::MessageHeader::Hna::Association >', 'ns3::olsr::MessageHeader::Hna::Association', container_type='vector') - module.add_container('std::vector< ns3::olsr::RoutingTableEntry >', 'ns3::olsr::RoutingTableEntry', container_type='vector') - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >', 'ns3::olsr::TopologySet') - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >*', 'ns3::olsr::TopologySet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >&', 'ns3::olsr::TopologySet&') - typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >', 'ns3::olsr::MprSet') - typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >*', 'ns3::olsr::MprSet*') - typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >&', 'ns3::olsr::MprSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >', 'ns3::olsr::MprSelectorSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >*', 'ns3::olsr::MprSelectorSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >&', 'ns3::olsr::MprSelectorSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::Association, std::allocator< ns3::olsr::Association > >', 'ns3::olsr::Associations') - typehandlers.add_type_alias('std::vector< ns3::olsr::Association, std::allocator< ns3::olsr::Association > >*', 'ns3::olsr::Associations*') - typehandlers.add_type_alias('std::vector< ns3::olsr::Association, std::allocator< ns3::olsr::Association > >&', 'ns3::olsr::Associations&') - typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >', 'ns3::olsr::IfaceAssocSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >*', 'ns3::olsr::IfaceAssocSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >&', 'ns3::olsr::IfaceAssocSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >', 'ns3::olsr::TwoHopNeighborSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >*', 'ns3::olsr::TwoHopNeighborSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >&', 'ns3::olsr::TwoHopNeighborSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >', 'ns3::olsr::DuplicateSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >*', 'ns3::olsr::DuplicateSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >&', 'ns3::olsr::DuplicateSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >', 'ns3::olsr::MessageList') - typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >*', 'ns3::olsr::MessageList*') - typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >&', 'ns3::olsr::MessageList&') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >', 'ns3::olsr::AssociationSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >*', 'ns3::olsr::AssociationSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >&', 'ns3::olsr::AssociationSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&') - -def register_methods(root_module): - register_Ns3OlsrHelper_methods(root_module, root_module['ns3::OlsrHelper']) - register_Ns3OlsrState_methods(root_module, root_module['ns3::OlsrState']) - register_Ns3OlsrAssociation_methods(root_module, root_module['ns3::olsr::Association']) - register_Ns3OlsrAssociationTuple_methods(root_module, root_module['ns3::olsr::AssociationTuple']) - register_Ns3OlsrDuplicateTuple_methods(root_module, root_module['ns3::olsr::DuplicateTuple']) - register_Ns3OlsrIfaceAssocTuple_methods(root_module, root_module['ns3::olsr::IfaceAssocTuple']) - register_Ns3OlsrLinkTuple_methods(root_module, root_module['ns3::olsr::LinkTuple']) - register_Ns3OlsrMessageHeader_methods(root_module, root_module['ns3::olsr::MessageHeader']) - register_Ns3OlsrMessageHeaderHello_methods(root_module, root_module['ns3::olsr::MessageHeader::Hello']) - register_Ns3OlsrMessageHeaderHelloLinkMessage_methods(root_module, root_module['ns3::olsr::MessageHeader::Hello::LinkMessage']) - register_Ns3OlsrMessageHeaderHna_methods(root_module, root_module['ns3::olsr::MessageHeader::Hna']) - register_Ns3OlsrMessageHeaderHnaAssociation_methods(root_module, root_module['ns3::olsr::MessageHeader::Hna::Association']) - register_Ns3OlsrMessageHeaderMid_methods(root_module, root_module['ns3::olsr::MessageHeader::Mid']) - register_Ns3OlsrMessageHeaderTc_methods(root_module, root_module['ns3::olsr::MessageHeader::Tc']) - register_Ns3OlsrMprSelectorTuple_methods(root_module, root_module['ns3::olsr::MprSelectorTuple']) - register_Ns3OlsrNeighborTuple_methods(root_module, root_module['ns3::olsr::NeighborTuple']) - register_Ns3OlsrPacketHeader_methods(root_module, root_module['ns3::olsr::PacketHeader']) - register_Ns3OlsrRoutingProtocol_methods(root_module, root_module['ns3::olsr::RoutingProtocol']) - register_Ns3OlsrRoutingTableEntry_methods(root_module, root_module['ns3::olsr::RoutingTableEntry']) - register_Ns3OlsrTopologyTuple_methods(root_module, root_module['ns3::olsr::TopologyTuple']) - register_Ns3OlsrTwoHopNeighborTuple_methods(root_module, root_module['ns3::olsr::TwoHopNeighborTuple']) - return - -def register_Ns3OlsrHelper_methods(root_module, cls): - ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper() [constructor] - cls.add_constructor([]) - ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper(ns3::OlsrHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OlsrHelper const &', 'arg0')]) - ## olsr-helper.h: ns3::OlsrHelper * ns3::OlsrHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::OlsrHelper *', - [], - is_const=True, is_virtual=True) - ## olsr-helper.h: void ns3::OlsrHelper::ExcludeInterface(ns3::Ptr node, uint32_t interface) [member function] - cls.add_method('ExcludeInterface', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node'), param('uint32_t', 'interface')]) - ## olsr-helper.h: ns3::Ptr ns3::OlsrHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## olsr-helper.h: void ns3::OlsrHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3OlsrState_methods(root_module, cls): - ## olsr-state.h: ns3::OlsrState::OlsrState(ns3::OlsrState const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OlsrState const &', 'arg0')]) - ## olsr-state.h: ns3::OlsrState::OlsrState() [constructor] - cls.add_constructor([]) - ## olsr-state.h: void ns3::OlsrState::EraseAssociation(ns3::olsr::Association const & tuple) [member function] - cls.add_method('EraseAssociation', - 'void', - [param('ns3::olsr::Association const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseAssociationTuple(ns3::olsr::AssociationTuple const & tuple) [member function] - cls.add_method('EraseAssociationTuple', - 'void', - [param('ns3::olsr::AssociationTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseDuplicateTuple(ns3::olsr::DuplicateTuple const & tuple) [member function] - cls.add_method('EraseDuplicateTuple', - 'void', - [param('ns3::olsr::DuplicateTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseIfaceAssocTuple(ns3::olsr::IfaceAssocTuple const & tuple) [member function] - cls.add_method('EraseIfaceAssocTuple', - 'void', - [param('ns3::olsr::IfaceAssocTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseLinkTuple(ns3::olsr::LinkTuple const & tuple) [member function] - cls.add_method('EraseLinkTuple', - 'void', - [param('ns3::olsr::LinkTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseMprSelectorTuple(ns3::olsr::MprSelectorTuple const & tuple) [member function] - cls.add_method('EraseMprSelectorTuple', - 'void', - [param('ns3::olsr::MprSelectorTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseMprSelectorTuples(ns3::Ipv4Address const & mainAddr) [member function] - cls.add_method('EraseMprSelectorTuples', - 'void', - [param('ns3::Ipv4Address const &', 'mainAddr')]) - ## olsr-state.h: void ns3::OlsrState::EraseNeighborTuple(ns3::olsr::NeighborTuple const & neighborTuple) [member function] - cls.add_method('EraseNeighborTuple', - 'void', - [param('ns3::olsr::NeighborTuple const &', 'neighborTuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseNeighborTuple(ns3::Ipv4Address const & mainAddr) [member function] - cls.add_method('EraseNeighborTuple', - 'void', - [param('ns3::Ipv4Address const &', 'mainAddr')]) - ## olsr-state.h: void ns3::OlsrState::EraseOlderTopologyTuples(ns3::Ipv4Address const & lastAddr, uint16_t ansn) [member function] - cls.add_method('EraseOlderTopologyTuples', - 'void', - [param('ns3::Ipv4Address const &', 'lastAddr'), param('uint16_t', 'ansn')]) - ## olsr-state.h: void ns3::OlsrState::EraseTopologyTuple(ns3::olsr::TopologyTuple const & tuple) [member function] - cls.add_method('EraseTopologyTuple', - 'void', - [param('ns3::olsr::TopologyTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseTwoHopNeighborTuple(ns3::olsr::TwoHopNeighborTuple const & tuple) [member function] - cls.add_method('EraseTwoHopNeighborTuple', - 'void', - [param('ns3::olsr::TwoHopNeighborTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseTwoHopNeighborTuples(ns3::Ipv4Address const & neighbor) [member function] - cls.add_method('EraseTwoHopNeighborTuples', - 'void', - [param('ns3::Ipv4Address const &', 'neighbor')]) - ## olsr-state.h: void ns3::OlsrState::EraseTwoHopNeighborTuples(ns3::Ipv4Address const & neighbor, ns3::Ipv4Address const & twoHopNeighbor) [member function] - cls.add_method('EraseTwoHopNeighborTuples', - 'void', - [param('ns3::Ipv4Address const &', 'neighbor'), param('ns3::Ipv4Address const &', 'twoHopNeighbor')]) - ## olsr-state.h: ns3::olsr::AssociationTuple * ns3::OlsrState::FindAssociationTuple(ns3::Ipv4Address const & gatewayAddr, ns3::Ipv4Address const & networkAddr, ns3::Ipv4Mask const & netmask) [member function] - cls.add_method('FindAssociationTuple', - 'ns3::olsr::AssociationTuple *', - [param('ns3::Ipv4Address const &', 'gatewayAddr'), param('ns3::Ipv4Address const &', 'networkAddr'), param('ns3::Ipv4Mask const &', 'netmask')]) - ## olsr-state.h: ns3::olsr::DuplicateTuple * ns3::OlsrState::FindDuplicateTuple(ns3::Ipv4Address const & address, uint16_t sequenceNumber) [member function] - cls.add_method('FindDuplicateTuple', - 'ns3::olsr::DuplicateTuple *', - [param('ns3::Ipv4Address const &', 'address'), param('uint16_t', 'sequenceNumber')]) - ## olsr-state.h: ns3::olsr::IfaceAssocTuple * ns3::OlsrState::FindIfaceAssocTuple(ns3::Ipv4Address const & ifaceAddr) [member function] - cls.add_method('FindIfaceAssocTuple', - 'ns3::olsr::IfaceAssocTuple *', - [param('ns3::Ipv4Address const &', 'ifaceAddr')]) - ## olsr-state.h: ns3::olsr::IfaceAssocTuple const * ns3::OlsrState::FindIfaceAssocTuple(ns3::Ipv4Address const & ifaceAddr) const [member function] - cls.add_method('FindIfaceAssocTuple', - 'ns3::olsr::IfaceAssocTuple const *', - [param('ns3::Ipv4Address const &', 'ifaceAddr')], - is_const=True) - ## olsr-state.h: ns3::olsr::LinkTuple * ns3::OlsrState::FindLinkTuple(ns3::Ipv4Address const & ifaceAddr) [member function] - cls.add_method('FindLinkTuple', - 'ns3::olsr::LinkTuple *', - [param('ns3::Ipv4Address const &', 'ifaceAddr')]) - ## olsr-state.h: bool ns3::OlsrState::FindMprAddress(ns3::Ipv4Address const & address) [member function] - cls.add_method('FindMprAddress', - 'bool', - [param('ns3::Ipv4Address const &', 'address')]) - ## olsr-state.h: ns3::olsr::MprSelectorTuple * ns3::OlsrState::FindMprSelectorTuple(ns3::Ipv4Address const & mainAddr) [member function] - cls.add_method('FindMprSelectorTuple', - 'ns3::olsr::MprSelectorTuple *', - [param('ns3::Ipv4Address const &', 'mainAddr')]) - ## olsr-state.h: std::vector > ns3::OlsrState::FindNeighborInterfaces(ns3::Ipv4Address const & neighborMainAddr) const [member function] - cls.add_method('FindNeighborInterfaces', - 'std::vector< ns3::Ipv4Address >', - [param('ns3::Ipv4Address const &', 'neighborMainAddr')], - is_const=True) - ## olsr-state.h: ns3::olsr::NeighborTuple * ns3::OlsrState::FindNeighborTuple(ns3::Ipv4Address const & mainAddr) [member function] - cls.add_method('FindNeighborTuple', - 'ns3::olsr::NeighborTuple *', - [param('ns3::Ipv4Address const &', 'mainAddr')]) - ## olsr-state.h: ns3::olsr::NeighborTuple * ns3::OlsrState::FindNeighborTuple(ns3::Ipv4Address const & mainAddr, uint8_t willingness) [member function] - cls.add_method('FindNeighborTuple', - 'ns3::olsr::NeighborTuple *', - [param('ns3::Ipv4Address const &', 'mainAddr'), param('uint8_t', 'willingness')]) - ## olsr-state.h: ns3::olsr::TopologyTuple * ns3::OlsrState::FindNewerTopologyTuple(ns3::Ipv4Address const & lastAddr, uint16_t ansn) [member function] - cls.add_method('FindNewerTopologyTuple', - 'ns3::olsr::TopologyTuple *', - [param('ns3::Ipv4Address const &', 'lastAddr'), param('uint16_t', 'ansn')]) - ## olsr-state.h: ns3::olsr::LinkTuple * ns3::OlsrState::FindSymLinkTuple(ns3::Ipv4Address const & ifaceAddr, ns3::Time time) [member function] - cls.add_method('FindSymLinkTuple', - 'ns3::olsr::LinkTuple *', - [param('ns3::Ipv4Address const &', 'ifaceAddr'), param('ns3::Time', 'time')]) - ## olsr-state.h: ns3::olsr::NeighborTuple const * ns3::OlsrState::FindSymNeighborTuple(ns3::Ipv4Address const & mainAddr) const [member function] - cls.add_method('FindSymNeighborTuple', - 'ns3::olsr::NeighborTuple const *', - [param('ns3::Ipv4Address const &', 'mainAddr')], - is_const=True) - ## olsr-state.h: ns3::olsr::TopologyTuple * ns3::OlsrState::FindTopologyTuple(ns3::Ipv4Address const & destAddr, ns3::Ipv4Address const & lastAddr) [member function] - cls.add_method('FindTopologyTuple', - 'ns3::olsr::TopologyTuple *', - [param('ns3::Ipv4Address const &', 'destAddr'), param('ns3::Ipv4Address const &', 'lastAddr')]) - ## olsr-state.h: ns3::olsr::TwoHopNeighborTuple * ns3::OlsrState::FindTwoHopNeighborTuple(ns3::Ipv4Address const & neighbor, ns3::Ipv4Address const & twoHopNeighbor) [member function] - cls.add_method('FindTwoHopNeighborTuple', - 'ns3::olsr::TwoHopNeighborTuple *', - [param('ns3::Ipv4Address const &', 'neighbor'), param('ns3::Ipv4Address const &', 'twoHopNeighbor')]) - ## olsr-state.h: ns3::olsr::AssociationSet const & ns3::OlsrState::GetAssociationSet() const [member function] - cls.add_method('GetAssociationSet', - 'ns3::olsr::AssociationSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::Associations const & ns3::OlsrState::GetAssociations() const [member function] - cls.add_method('GetAssociations', - 'ns3::olsr::Associations const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::IfaceAssocSet const & ns3::OlsrState::GetIfaceAssocSet() const [member function] - cls.add_method('GetIfaceAssocSet', - 'ns3::olsr::IfaceAssocSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::IfaceAssocSet & ns3::OlsrState::GetIfaceAssocSetMutable() [member function] - cls.add_method('GetIfaceAssocSetMutable', - 'ns3::olsr::IfaceAssocSet &', - []) - ## olsr-state.h: ns3::olsr::LinkSet const & ns3::OlsrState::GetLinks() const [member function] - cls.add_method('GetLinks', - 'ns3::olsr::LinkSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::MprSelectorSet const & ns3::OlsrState::GetMprSelectors() const [member function] - cls.add_method('GetMprSelectors', - 'ns3::olsr::MprSelectorSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::MprSet ns3::OlsrState::GetMprSet() const [member function] - cls.add_method('GetMprSet', - 'ns3::olsr::MprSet', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::NeighborSet const & ns3::OlsrState::GetNeighbors() const [member function] - cls.add_method('GetNeighbors', - 'ns3::olsr::NeighborSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::NeighborSet & ns3::OlsrState::GetNeighbors() [member function] - cls.add_method('GetNeighbors', - 'ns3::olsr::NeighborSet &', - []) - ## olsr-state.h: ns3::olsr::TopologySet const & ns3::OlsrState::GetTopologySet() const [member function] - cls.add_method('GetTopologySet', - 'ns3::olsr::TopologySet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::TwoHopNeighborSet const & ns3::OlsrState::GetTwoHopNeighbors() const [member function] - cls.add_method('GetTwoHopNeighbors', - 'ns3::olsr::TwoHopNeighborSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::TwoHopNeighborSet & ns3::OlsrState::GetTwoHopNeighbors() [member function] - cls.add_method('GetTwoHopNeighbors', - 'ns3::olsr::TwoHopNeighborSet &', - []) - ## olsr-state.h: void ns3::OlsrState::InsertAssociation(ns3::olsr::Association const & tuple) [member function] - cls.add_method('InsertAssociation', - 'void', - [param('ns3::olsr::Association const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertAssociationTuple(ns3::olsr::AssociationTuple const & tuple) [member function] - cls.add_method('InsertAssociationTuple', - 'void', - [param('ns3::olsr::AssociationTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertDuplicateTuple(ns3::olsr::DuplicateTuple const & tuple) [member function] - cls.add_method('InsertDuplicateTuple', - 'void', - [param('ns3::olsr::DuplicateTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertIfaceAssocTuple(ns3::olsr::IfaceAssocTuple const & tuple) [member function] - cls.add_method('InsertIfaceAssocTuple', - 'void', - [param('ns3::olsr::IfaceAssocTuple const &', 'tuple')]) - ## olsr-state.h: ns3::olsr::LinkTuple & ns3::OlsrState::InsertLinkTuple(ns3::olsr::LinkTuple const & tuple) [member function] - cls.add_method('InsertLinkTuple', - 'ns3::olsr::LinkTuple &', - [param('ns3::olsr::LinkTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertMprSelectorTuple(ns3::olsr::MprSelectorTuple const & tuple) [member function] - cls.add_method('InsertMprSelectorTuple', - 'void', - [param('ns3::olsr::MprSelectorTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertNeighborTuple(ns3::olsr::NeighborTuple const & tuple) [member function] - cls.add_method('InsertNeighborTuple', - 'void', - [param('ns3::olsr::NeighborTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertTopologyTuple(ns3::olsr::TopologyTuple const & tuple) [member function] - cls.add_method('InsertTopologyTuple', - 'void', - [param('ns3::olsr::TopologyTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertTwoHopNeighborTuple(ns3::olsr::TwoHopNeighborTuple const & tuple) [member function] - cls.add_method('InsertTwoHopNeighborTuple', - 'void', - [param('ns3::olsr::TwoHopNeighborTuple const &', 'tuple')]) - ## olsr-state.h: std::string ns3::OlsrState::PrintMprSelectorSet() const [member function] - cls.add_method('PrintMprSelectorSet', - 'std::string', - [], - is_const=True) - ## olsr-state.h: void ns3::OlsrState::SetMprSet(ns3::olsr::MprSet mprSet) [member function] - cls.add_method('SetMprSet', - 'void', - [param('ns3::olsr::MprSet', 'mprSet')]) - return - -def register_Ns3OlsrAssociation_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::Association::Association() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::Association::Association(ns3::olsr::Association const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::Association const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::Association::netmask [variable] - cls.add_instance_attribute('netmask', 'ns3::Ipv4Mask', is_const=False) - ## olsr-repositories.h: ns3::olsr::Association::networkAddr [variable] - cls.add_instance_attribute('networkAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3OlsrAssociationTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::AssociationTuple::AssociationTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::AssociationTuple(ns3::olsr::AssociationTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::AssociationTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::gatewayAddr [variable] - cls.add_instance_attribute('gatewayAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::netmask [variable] - cls.add_instance_attribute('netmask', 'ns3::Ipv4Mask', is_const=False) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::networkAddr [variable] - cls.add_instance_attribute('networkAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3OlsrDuplicateTuple_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::DuplicateTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::DuplicateTuple(ns3::olsr::DuplicateTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::DuplicateTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::address [variable] - cls.add_instance_attribute('address', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::ifaceList [variable] - cls.add_instance_attribute('ifaceList', 'std::vector< ns3::Ipv4Address >', is_const=False) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::retransmitted [variable] - cls.add_instance_attribute('retransmitted', 'bool', is_const=False) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::sequenceNumber [variable] - cls.add_instance_attribute('sequenceNumber', 'uint16_t', is_const=False) - return - -def register_Ns3OlsrIfaceAssocTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::IfaceAssocTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::IfaceAssocTuple(ns3::olsr::IfaceAssocTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::IfaceAssocTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::ifaceAddr [variable] - cls.add_instance_attribute('ifaceAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::mainAddr [variable] - cls.add_instance_attribute('mainAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::time [variable] - cls.add_instance_attribute('time', 'ns3::Time', is_const=False) - return - -def register_Ns3OlsrLinkTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::LinkTuple::LinkTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::LinkTuple::LinkTuple(ns3::olsr::LinkTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::LinkTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::LinkTuple::asymTime [variable] - cls.add_instance_attribute('asymTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::LinkTuple::localIfaceAddr [variable] - cls.add_instance_attribute('localIfaceAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::LinkTuple::neighborIfaceAddr [variable] - cls.add_instance_attribute('neighborIfaceAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::LinkTuple::symTime [variable] - cls.add_instance_attribute('symTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::LinkTuple::time [variable] - cls.add_instance_attribute('time', 'ns3::Time', is_const=False) - return - -def register_Ns3OlsrMessageHeader_methods(root_module, cls): - cls.add_output_stream_operator() - ## olsr-header.h: ns3::olsr::MessageHeader::MessageHeader(ns3::olsr::MessageHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader const &', 'arg0')]) - ## olsr-header.h: ns3::olsr::MessageHeader::MessageHeader() [constructor] - cls.add_constructor([]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello & ns3::olsr::MessageHeader::GetHello() [member function] - cls.add_method('GetHello', - 'ns3::olsr::MessageHeader::Hello &', - []) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello const & ns3::olsr::MessageHeader::GetHello() const [member function] - cls.add_method('GetHello', - 'ns3::olsr::MessageHeader::Hello const &', - [], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna & ns3::olsr::MessageHeader::GetHna() [member function] - cls.add_method('GetHna', - 'ns3::olsr::MessageHeader::Hna &', - []) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna const & ns3::olsr::MessageHeader::GetHna() const [member function] - cls.add_method('GetHna', - 'ns3::olsr::MessageHeader::Hna const &', - [], - is_const=True) - ## olsr-header.h: uint8_t ns3::olsr::MessageHeader::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## olsr-header.h: ns3::TypeId ns3::olsr::MessageHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## olsr-header.h: uint16_t ns3::olsr::MessageHeader::GetMessageSequenceNumber() const [member function] - cls.add_method('GetMessageSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::MessageType ns3::olsr::MessageHeader::GetMessageType() const [member function] - cls.add_method('GetMessageType', - 'ns3::olsr::MessageHeader::MessageType', - [], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid & ns3::olsr::MessageHeader::GetMid() [member function] - cls.add_method('GetMid', - 'ns3::olsr::MessageHeader::Mid &', - []) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid const & ns3::olsr::MessageHeader::GetMid() const [member function] - cls.add_method('GetMid', - 'ns3::olsr::MessageHeader::Mid const &', - [], - is_const=True) - ## olsr-header.h: ns3::Ipv4Address ns3::olsr::MessageHeader::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Ipv4Address', - [], - is_const=True) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc & ns3::olsr::MessageHeader::GetTc() [member function] - cls.add_method('GetTc', - 'ns3::olsr::MessageHeader::Tc &', - []) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc const & ns3::olsr::MessageHeader::GetTc() const [member function] - cls.add_method('GetTc', - 'ns3::olsr::MessageHeader::Tc const &', - [], - is_const=True) - ## olsr-header.h: uint8_t ns3::olsr::MessageHeader::GetTimeToLive() const [member function] - cls.add_method('GetTimeToLive', - 'uint8_t', - [], - is_const=True) - ## olsr-header.h: static ns3::TypeId ns3::olsr::MessageHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## olsr-header.h: ns3::Time ns3::olsr::MessageHeader::GetVTime() const [member function] - cls.add_method('GetVTime', - 'ns3::Time', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetHopCount(uint8_t hopCount) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'hopCount')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetMessageSequenceNumber(uint16_t messageSequenceNumber) [member function] - cls.add_method('SetMessageSequenceNumber', - 'void', - [param('uint16_t', 'messageSequenceNumber')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetMessageType(ns3::olsr::MessageHeader::MessageType messageType) [member function] - cls.add_method('SetMessageType', - 'void', - [param('ns3::olsr::MessageHeader::MessageType', 'messageType')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetOriginatorAddress(ns3::Ipv4Address originatorAddress) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Ipv4Address', 'originatorAddress')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetTimeToLive(uint8_t timeToLive) [member function] - cls.add_method('SetTimeToLive', - 'void', - [param('uint8_t', 'timeToLive')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetVTime(ns3::Time time) [member function] - cls.add_method('SetVTime', - 'void', - [param('ns3::Time', 'time')]) - return - -def register_Ns3OlsrMessageHeaderHello_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::Hello() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::Hello(ns3::olsr::MessageHeader::Hello const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Hello const &', 'arg0')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hello::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')]) - ## olsr-header.h: ns3::Time ns3::olsr::MessageHeader::Hello::GetHTime() const [member function] - cls.add_method('GetHTime', - 'ns3::Time', - [], - is_const=True) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hello::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hello::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hello::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hello::SetHTime(ns3::Time time) [member function] - cls.add_method('SetHTime', - 'void', - [param('ns3::Time', 'time')]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::hTime [variable] - cls.add_instance_attribute('hTime', 'uint8_t', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::linkMessages [variable] - cls.add_instance_attribute('linkMessages', 'std::vector< ns3::olsr::MessageHeader::Hello::LinkMessage >', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::willingness [variable] - cls.add_instance_attribute('willingness', 'uint8_t', is_const=False) - return - -def register_Ns3OlsrMessageHeaderHelloLinkMessage_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::LinkMessage() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::LinkMessage(ns3::olsr::MessageHeader::Hello::LinkMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Hello::LinkMessage const &', 'arg0')]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::linkCode [variable] - cls.add_instance_attribute('linkCode', 'uint8_t', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::neighborInterfaceAddresses [variable] - cls.add_instance_attribute('neighborInterfaceAddresses', 'std::vector< ns3::Ipv4Address >', is_const=False) - return - -def register_Ns3OlsrMessageHeaderHna_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Hna() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Hna(ns3::olsr::MessageHeader::Hna const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Hna const &', 'arg0')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hna::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hna::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hna::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hna::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::associations [variable] - cls.add_instance_attribute('associations', 'std::vector< ns3::olsr::MessageHeader::Hna::Association >', is_const=False) - return - -def register_Ns3OlsrMessageHeaderHnaAssociation_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::Association() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::Association(ns3::olsr::MessageHeader::Hna::Association const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Hna::Association const &', 'arg0')]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::address [variable] - cls.add_instance_attribute('address', 'ns3::Ipv4Address', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::mask [variable] - cls.add_instance_attribute('mask', 'ns3::Ipv4Mask', is_const=False) - return - -def register_Ns3OlsrMessageHeaderMid_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Mid::Mid() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid::Mid(ns3::olsr::MessageHeader::Mid const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Mid const &', 'arg0')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Mid::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Mid::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Mid::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Mid::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid::interfaceAddresses [variable] - cls.add_instance_attribute('interfaceAddresses', 'std::vector< ns3::Ipv4Address >', is_const=False) - return - -def register_Ns3OlsrMessageHeaderTc_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Tc::Tc() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc::Tc(ns3::olsr::MessageHeader::Tc const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Tc const &', 'arg0')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Tc::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Tc::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Tc::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Tc::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc::ansn [variable] - cls.add_instance_attribute('ansn', 'uint16_t', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc::neighborAddresses [variable] - cls.add_instance_attribute('neighborAddresses', 'std::vector< ns3::Ipv4Address >', is_const=False) - return - -def register_Ns3OlsrMprSelectorTuple_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple::MprSelectorTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple::MprSelectorTuple(ns3::olsr::MprSelectorTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MprSelectorTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple::mainAddr [variable] - cls.add_instance_attribute('mainAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3OlsrNeighborTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::NeighborTuple::NeighborTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::NeighborTuple::NeighborTuple(ns3::olsr::NeighborTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::NeighborTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::NeighborTuple::neighborMainAddr [variable] - cls.add_instance_attribute('neighborMainAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::NeighborTuple::status [variable] - cls.add_instance_attribute('status', 'ns3::olsr::NeighborTuple::Status', is_const=False) - ## olsr-repositories.h: ns3::olsr::NeighborTuple::willingness [variable] - cls.add_instance_attribute('willingness', 'uint8_t', is_const=False) - return - -def register_Ns3OlsrPacketHeader_methods(root_module, cls): - cls.add_output_stream_operator() - ## olsr-header.h: ns3::olsr::PacketHeader::PacketHeader(ns3::olsr::PacketHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::PacketHeader const &', 'arg0')]) - ## olsr-header.h: ns3::olsr::PacketHeader::PacketHeader() [constructor] - cls.add_constructor([]) - ## olsr-header.h: uint32_t ns3::olsr::PacketHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## olsr-header.h: ns3::TypeId ns3::olsr::PacketHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## olsr-header.h: uint16_t ns3::olsr::PacketHeader::GetPacketLength() const [member function] - cls.add_method('GetPacketLength', - 'uint16_t', - [], - is_const=True) - ## olsr-header.h: uint16_t ns3::olsr::PacketHeader::GetPacketSequenceNumber() const [member function] - cls.add_method('GetPacketSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## olsr-header.h: uint32_t ns3::olsr::PacketHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## olsr-header.h: static ns3::TypeId ns3::olsr::PacketHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## olsr-header.h: void ns3::olsr::PacketHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## olsr-header.h: void ns3::olsr::PacketHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## olsr-header.h: void ns3::olsr::PacketHeader::SetPacketLength(uint16_t length) [member function] - cls.add_method('SetPacketLength', - 'void', - [param('uint16_t', 'length')]) - ## olsr-header.h: void ns3::olsr::PacketHeader::SetPacketSequenceNumber(uint16_t seqnum) [member function] - cls.add_method('SetPacketSequenceNumber', - 'void', - [param('uint16_t', 'seqnum')]) - return - -def register_Ns3OlsrRoutingProtocol_methods(root_module, cls): - ## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol::RoutingProtocol(ns3::olsr::RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::RoutingProtocol const &', 'arg0')]) - ## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol::RoutingProtocol() [constructor] - cls.add_constructor([]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::AddHostNetworkAssociation(ns3::Ipv4Address networkAddr, ns3::Ipv4Mask netmask) [member function] - cls.add_method('AddHostNetworkAssociation', - 'void', - [param('ns3::Ipv4Address', 'networkAddr'), param('ns3::Ipv4Mask', 'netmask')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::Dump() [member function] - cls.add_method('Dump', - 'void', - []) - ## olsr-routing-protocol.h: std::set, std::allocator > ns3::olsr::RoutingProtocol::GetInterfaceExclusions() const [member function] - cls.add_method('GetInterfaceExclusions', - 'std::set< unsigned int >', - [], - is_const=True) - ## olsr-routing-protocol.h: std::vector > ns3::olsr::RoutingProtocol::GetRoutingTableEntries() const [member function] - cls.add_method('GetRoutingTableEntries', - 'std::vector< ns3::olsr::RoutingTableEntry >', - [], - is_const=True) - ## olsr-routing-protocol.h: static ns3::TypeId ns3::olsr::RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::RemoveHostNetworkAssociation(ns3::Ipv4Address networkAddr, ns3::Ipv4Mask netmask) [member function] - cls.add_method('RemoveHostNetworkAssociation', - 'void', - [param('ns3::Ipv4Address', 'networkAddr'), param('ns3::Ipv4Mask', 'netmask')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetInterfaceExclusions(std::set, std::allocator > exceptions) [member function] - cls.add_method('SetInterfaceExclusions', - 'void', - [param('std::set< unsigned int >', 'exceptions')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetMainInterface(uint32_t interface) [member function] - cls.add_method('SetMainInterface', - 'void', - [param('uint32_t', 'interface')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetRoutingTableAssociation(ns3::Ptr routingTable) [member function] - cls.add_method('SetRoutingTableAssociation', - 'void', - [param('ns3::Ptr< ns3::Ipv4StaticRouting >', 'routingTable')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: bool ns3::olsr::RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: ns3::Ptr ns3::olsr::RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - visibility='private', is_virtual=True) - return - -def register_Ns3OlsrRoutingTableEntry_methods(root_module, cls): - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::RoutingTableEntry(ns3::olsr::RoutingTableEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::RoutingTableEntry const &', 'arg0')]) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::RoutingTableEntry() [constructor] - cls.add_constructor([]) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::destAddr [variable] - cls.add_instance_attribute('destAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::distance [variable] - cls.add_instance_attribute('distance', 'uint32_t', is_const=False) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::interface [variable] - cls.add_instance_attribute('interface', 'uint32_t', is_const=False) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::nextAddr [variable] - cls.add_instance_attribute('nextAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3OlsrTopologyTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::TopologyTuple::TopologyTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::TopologyTuple(ns3::olsr::TopologyTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::TopologyTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::destAddr [variable] - cls.add_instance_attribute('destAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::lastAddr [variable] - cls.add_instance_attribute('lastAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::sequenceNumber [variable] - cls.add_instance_attribute('sequenceNumber', 'uint16_t', is_const=False) - return - -def register_Ns3OlsrTwoHopNeighborTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::TwoHopNeighborTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::TwoHopNeighborTuple(ns3::olsr::TwoHopNeighborTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::TwoHopNeighborTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::neighborMainAddr [variable] - cls.add_instance_attribute('neighborMainAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::twoHopNeighborAddr [variable] - cls.add_instance_attribute('twoHopNeighborAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - ## olsr-header.h: extern double ns3::olsr::EmfToSeconds(uint8_t emf) [free function] - module.add_function('EmfToSeconds', - 'double', - [param('uint8_t', 'emf')]) - ## olsr-header.h: extern uint8_t ns3::olsr::SecondsToEmf(double seconds) [free function] - module.add_function('SecondsToEmf', - 'uint8_t', - [param('double', 'seconds')]) - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_openflow.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_openflow.py deleted file mode 100644 index a37d20d52..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_openflow.py +++ /dev/null @@ -1,139 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_point_to_point.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_point_to_point.py deleted file mode 100644 index 52eeddad9..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_point_to_point.py +++ /dev/null @@ -1,490 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## point-to-point-helper.h: ns3::PointToPointHelper [class] - module.add_class('PointToPointHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## ppp-header.h: ns3::PppHeader [class] - module.add_class('PppHeader', parent=root_module['ns3::Header']) - ## point-to-point-channel.h: ns3::PointToPointChannel [class] - module.add_class('PointToPointChannel', parent=root_module['ns3::Channel']) - ## point-to-point-net-device.h: ns3::PointToPointNetDevice [class] - module.add_class('PointToPointNetDevice', parent=[root_module['ns3::NetDevice'], root_module['ns3::MpiNetDevice']]) - ## point-to-point-remote-channel.h: ns3::PointToPointRemoteChannel [class] - module.add_class('PointToPointRemoteChannel', parent=root_module['ns3::PointToPointChannel']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) - register_Ns3PppHeader_methods(root_module, root_module['ns3::PppHeader']) - register_Ns3PointToPointChannel_methods(root_module, root_module['ns3::PointToPointChannel']) - register_Ns3PointToPointNetDevice_methods(root_module, root_module['ns3::PointToPointNetDevice']) - register_Ns3PointToPointRemoteChannel_methods(root_module, root_module['ns3::PointToPointRemoteChannel']) - return - -def register_Ns3PointToPointHelper_methods(root_module, cls): - ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')]) - ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor] - cls.add_constructor([]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, ns3::Ptr b) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, std::string bName) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr b) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'aNode'), param('std::string', 'bNode')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetChannelAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetQueue', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## point-to-point-helper.h: void ns3::PointToPointHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3PppHeader_methods(root_module, cls): - ## ppp-header.h: ns3::PppHeader::PppHeader(ns3::PppHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PppHeader const &', 'arg0')]) - ## ppp-header.h: ns3::PppHeader::PppHeader() [constructor] - cls.add_constructor([]) - ## ppp-header.h: uint32_t ns3::PppHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ppp-header.h: ns3::TypeId ns3::PppHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ppp-header.h: uint16_t ns3::PppHeader::GetProtocol() [member function] - cls.add_method('GetProtocol', - 'uint16_t', - []) - ## ppp-header.h: uint32_t ns3::PppHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ppp-header.h: static ns3::TypeId ns3::PppHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ppp-header.h: void ns3::PppHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ppp-header.h: void ns3::PppHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ppp-header.h: void ns3::PppHeader::SetProtocol(uint16_t protocol) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint16_t', 'protocol')]) - return - -def register_Ns3PointToPointChannel_methods(root_module, cls): - ## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel(ns3::PointToPointChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointChannel const &', 'arg0')]) - ## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel() [constructor] - cls.add_constructor([]) - ## point-to-point-channel.h: void ns3::PointToPointChannel::Attach(ns3::Ptr device) [member function] - cls.add_method('Attach', - 'void', - [param('ns3::Ptr< ns3::PointToPointNetDevice >', 'device')]) - ## point-to-point-channel.h: ns3::Ptr ns3::PointToPointChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## point-to-point-channel.h: uint32_t ns3::PointToPointChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## point-to-point-channel.h: ns3::Ptr ns3::PointToPointChannel::GetPointToPointDevice(uint32_t i) const [member function] - cls.add_method('GetPointToPointDevice', - 'ns3::Ptr< ns3::PointToPointNetDevice >', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-channel.h: static ns3::TypeId ns3::PointToPointChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## point-to-point-channel.h: bool ns3::PointToPointChannel::TransmitStart(ns3::Ptr p, ns3::Ptr src, ns3::Time txTime) [member function] - cls.add_method('TransmitStart', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::PointToPointNetDevice >', 'src'), param('ns3::Time', 'txTime')], - is_virtual=True) - ## point-to-point-channel.h: ns3::Time ns3::PointToPointChannel::GetDelay() const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [], - is_const=True, visibility='protected') - ## point-to-point-channel.h: ns3::Ptr ns3::PointToPointChannel::GetDestination(uint32_t i) const [member function] - cls.add_method('GetDestination', - 'ns3::Ptr< ns3::PointToPointNetDevice >', - [param('uint32_t', 'i')], - is_const=True, visibility='protected') - ## point-to-point-channel.h: ns3::Ptr ns3::PointToPointChannel::GetSource(uint32_t i) const [member function] - cls.add_method('GetSource', - 'ns3::Ptr< ns3::PointToPointNetDevice >', - [param('uint32_t', 'i')], - is_const=True, visibility='protected') - ## point-to-point-channel.h: bool ns3::PointToPointChannel::IsInitialized() const [member function] - cls.add_method('IsInitialized', - 'bool', - [], - is_const=True, visibility='protected') - return - -def register_Ns3PointToPointNetDevice_methods(root_module, cls): - ## point-to-point-net-device.h: static ns3::TypeId ns3::PointToPointNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## point-to-point-net-device.h: ns3::PointToPointNetDevice::PointToPointNetDevice() [constructor] - cls.add_constructor([]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetDataRate(ns3::DataRate bps) [member function] - cls.add_method('SetDataRate', - 'void', - [param('ns3::DataRate', 'bps')]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetInterframeGap(ns3::Time t) [member function] - cls.add_method('SetInterframeGap', - 'void', - [param('ns3::Time', 't')]) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::Attach(ns3::Ptr ch) [member function] - cls.add_method('Attach', - 'bool', - [param('ns3::Ptr< ns3::PointToPointChannel >', 'ch')]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')]) - ## point-to-point-net-device.h: ns3::Ptr ns3::PointToPointNetDevice::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::Queue >', - [], - is_const=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetReceiveErrorModel(ns3::Ptr em) [member function] - cls.add_method('SetReceiveErrorModel', - 'void', - [param('ns3::Ptr< ns3::ErrorModel >', 'em')]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::Receive(ns3::Ptr p) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## point-to-point-net-device.h: uint32_t ns3::PointToPointNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: ns3::Ptr ns3::PointToPointNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## point-to-point-net-device.h: uint16_t ns3::PointToPointNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::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')], - is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## point-to-point-net-device.h: ns3::Ptr ns3::PointToPointNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::DoMpiReceive(ns3::Ptr p) [member function] - cls.add_method('DoMpiReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='protected', is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3PointToPointRemoteChannel_methods(root_module, cls): - ## point-to-point-remote-channel.h: ns3::PointToPointRemoteChannel::PointToPointRemoteChannel(ns3::PointToPointRemoteChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointRemoteChannel const &', 'arg0')]) - ## point-to-point-remote-channel.h: ns3::PointToPointRemoteChannel::PointToPointRemoteChannel() [constructor] - cls.add_constructor([]) - ## point-to-point-remote-channel.h: static ns3::TypeId ns3::PointToPointRemoteChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## point-to-point-remote-channel.h: bool ns3::PointToPointRemoteChannel::TransmitStart(ns3::Ptr p, ns3::Ptr src, ns3::Time txTime) [member function] - cls.add_method('TransmitStart', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::PointToPointNetDevice >', 'src'), param('ns3::Time', 'txTime')], - is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_propagation.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_propagation.py deleted file mode 100644 index ead70ce6e..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_propagation.py +++ /dev/null @@ -1,606 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## propagation-delay-model.h: ns3::PropagationDelayModel [class] - module.add_class('PropagationDelayModel', parent=root_module['ns3::Object']) - ## propagation-loss-model.h: ns3::PropagationLossModel [class] - module.add_class('PropagationLossModel', parent=root_module['ns3::Object']) - ## propagation-delay-model.h: ns3::RandomPropagationDelayModel [class] - module.add_class('RandomPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) - ## propagation-loss-model.h: ns3::RandomPropagationLossModel [class] - module.add_class('RandomPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::RangePropagationLossModel [class] - module.add_class('RangePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel [class] - module.add_class('ThreeLogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::TwoRayGroundPropagationLossModel [class] - module.add_class('TwoRayGroundPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel [class] - module.add_class('ConstantSpeedPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) - ## cost231-propagation-loss-model.h: ns3::Cost231PropagationLossModel [class] - module.add_class('Cost231PropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## cost231-propagation-loss-model.h: ns3::Cost231PropagationLossModel::Environment [enumeration] - module.add_enum('Environment', ['SubUrban', 'MediumCity', 'Metropolitan'], outer_class=root_module['ns3::Cost231PropagationLossModel']) - ## propagation-loss-model.h: ns3::FixedRssLossModel [class] - module.add_class('FixedRssLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::FriisPropagationLossModel [class] - module.add_class('FriisPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## jakes-propagation-loss-model.h: ns3::JakesPropagationLossModel [class] - module.add_class('JakesPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::LogDistancePropagationLossModel [class] - module.add_class('LogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::MatrixPropagationLossModel [class] - module.add_class('MatrixPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::NakagamiPropagationLossModel [class] - module.add_class('NakagamiPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) - register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) - register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) - register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) - register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) - register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) - register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) - register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) - register_Ns3Cost231PropagationLossModel_methods(root_module, root_module['ns3::Cost231PropagationLossModel']) - register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) - register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) - register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) - register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) - register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) - register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) - return - -def register_Ns3PropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h: ns3::PropagationDelayModel::PropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h: ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h: ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## propagation-delay-model.h: static ns3::TypeId ns3::PropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3PropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::PropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::PropagationLossModel::PropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::PropagationLossModel::SetNext(ns3::Ptr next) [member function] - cls.add_method('SetNext', - 'void', - [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) - ## propagation-loss-model.h: double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('CalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True) - ## propagation-loss-model.h: double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h: ns3::RandomPropagationDelayModel::RandomPropagationDelayModel(ns3::RandomPropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomPropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h: ns3::RandomPropagationDelayModel::RandomPropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h: ns3::Time ns3::RandomPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, is_virtual=True) - ## propagation-delay-model.h: static ns3::TypeId ns3::RandomPropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3RandomPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::RandomPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::RandomPropagationLossModel::RandomPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: double ns3::RandomPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RangePropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::RangePropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::RangePropagationLossModel::RangePropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: double ns3::RangePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel::ThreeLogDistancePropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: double ns3::ThreeLogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::TwoRayGroundPropagationLossModel::TwoRayGroundPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetLambda(double frequency, double speed) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'frequency'), param('double', 'speed')]) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetLambda(double lambda) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'lambda')]) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetSystemLoss(double systemLoss) [member function] - cls.add_method('SetSystemLoss', - 'void', - [param('double', 'systemLoss')]) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetMinDistance(double minDistance) [member function] - cls.add_method('SetMinDistance', - 'void', - [param('double', 'minDistance')]) - ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::GetMinDistance() const [member function] - cls.add_method('GetMinDistance', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::GetLambda() const [member function] - cls.add_method('GetLambda', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::GetSystemLoss() const [member function] - cls.add_method('GetSystemLoss', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetHeightAboveZ(double heightAboveZ) [member function] - cls.add_method('SetHeightAboveZ', - 'void', - [param('double', 'heightAboveZ')]) - ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h: ns3::Time ns3::ConstantSpeedPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, is_virtual=True) - ## propagation-delay-model.h: double ns3::ConstantSpeedPropagationDelayModel::GetSpeed() const [member function] - cls.add_method('GetSpeed', - 'double', - [], - is_const=True) - ## propagation-delay-model.h: static ns3::TypeId ns3::ConstantSpeedPropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-delay-model.h: void ns3::ConstantSpeedPropagationDelayModel::SetSpeed(double speed) [member function] - cls.add_method('SetSpeed', - 'void', - [param('double', 'speed')]) - return - -def register_Ns3Cost231PropagationLossModel_methods(root_module, cls): - ## cost231-propagation-loss-model.h: static ns3::TypeId ns3::Cost231PropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## cost231-propagation-loss-model.h: ns3::Cost231PropagationLossModel::Cost231PropagationLossModel() [constructor] - cls.add_constructor([]) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetLoss(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetLoss', - 'double', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetBSAntennaHeight(double height) [member function] - cls.add_method('SetBSAntennaHeight', - 'void', - [param('double', 'height')]) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetSSAntennaHeight(double height) [member function] - cls.add_method('SetSSAntennaHeight', - 'void', - [param('double', 'height')]) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetEnvironment(ns3::Cost231PropagationLossModel::Environment env) [member function] - cls.add_method('SetEnvironment', - 'void', - [param('ns3::Cost231PropagationLossModel::Environment', 'env')]) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetLambda(double lambda) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'lambda')]) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetMinDistance(double minDistance) [member function] - cls.add_method('SetMinDistance', - 'void', - [param('double', 'minDistance')]) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetBSAntennaHeight() const [member function] - cls.add_method('GetBSAntennaHeight', - 'double', - [], - is_const=True) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetSSAntennaHeight() const [member function] - cls.add_method('GetSSAntennaHeight', - 'double', - [], - is_const=True) - ## cost231-propagation-loss-model.h: ns3::Cost231PropagationLossModel::Environment ns3::Cost231PropagationLossModel::GetEnvironment() const [member function] - cls.add_method('GetEnvironment', - 'ns3::Cost231PropagationLossModel::Environment', - [], - is_const=True) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetMinDistance() const [member function] - cls.add_method('GetMinDistance', - 'double', - [], - is_const=True) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetLambda() const [member function] - cls.add_method('GetLambda', - 'double', - [], - is_const=True) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetLambda(double frequency, double speed) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'frequency'), param('double', 'speed')]) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetShadowing() [member function] - cls.add_method('GetShadowing', - 'double', - []) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetShadowing(double shadowing) [member function] - cls.add_method('SetShadowing', - 'void', - [param('double', 'shadowing')]) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3FixedRssLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::FixedRssLossModel::FixedRssLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::FixedRssLossModel::SetRss(double rss) [member function] - cls.add_method('SetRss', - 'void', - [param('double', 'rss')]) - ## propagation-loss-model.h: double ns3::FixedRssLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3FriisPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::FriisPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::FriisPropagationLossModel::FriisPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetLambda(double frequency, double speed) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'frequency'), param('double', 'speed')]) - ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetLambda(double lambda) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'lambda')]) - ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetSystemLoss(double systemLoss) [member function] - cls.add_method('SetSystemLoss', - 'void', - [param('double', 'systemLoss')]) - ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetMinDistance(double minDistance) [member function] - cls.add_method('SetMinDistance', - 'void', - [param('double', 'minDistance')]) - ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::GetMinDistance() const [member function] - cls.add_method('GetMinDistance', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::GetLambda() const [member function] - cls.add_method('GetLambda', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::GetSystemLoss() const [member function] - cls.add_method('GetSystemLoss', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3JakesPropagationLossModel_methods(root_module, cls): - ## jakes-propagation-loss-model.h: ns3::JakesPropagationLossModel::JakesPropagationLossModel() [constructor] - cls.add_constructor([]) - ## jakes-propagation-loss-model.h: uint8_t ns3::JakesPropagationLossModel::GetNOscillators() const [member function] - cls.add_method('GetNOscillators', - 'uint8_t', - [], - is_const=True) - ## jakes-propagation-loss-model.h: uint8_t ns3::JakesPropagationLossModel::GetNRays() const [member function] - cls.add_method('GetNRays', - 'uint8_t', - [], - is_const=True) - ## jakes-propagation-loss-model.h: static ns3::TypeId ns3::JakesPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## jakes-propagation-loss-model.h: void ns3::JakesPropagationLossModel::SetNOscillators(uint8_t nOscillators) [member function] - cls.add_method('SetNOscillators', - 'void', - [param('uint8_t', 'nOscillators')]) - ## jakes-propagation-loss-model.h: void ns3::JakesPropagationLossModel::SetNRays(uint8_t nRays) [member function] - cls.add_method('SetNRays', - 'void', - [param('uint8_t', 'nRays')]) - ## jakes-propagation-loss-model.h: double ns3::JakesPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::LogDistancePropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::LogDistancePropagationLossModel::LogDistancePropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::LogDistancePropagationLossModel::SetPathLossExponent(double n) [member function] - cls.add_method('SetPathLossExponent', - 'void', - [param('double', 'n')]) - ## propagation-loss-model.h: double ns3::LogDistancePropagationLossModel::GetPathLossExponent() const [member function] - cls.add_method('GetPathLossExponent', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: void ns3::LogDistancePropagationLossModel::SetReference(double referenceDistance, double referenceLoss) [member function] - cls.add_method('SetReference', - 'void', - [param('double', 'referenceDistance'), param('double', 'referenceLoss')]) - ## propagation-loss-model.h: double ns3::LogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3MatrixPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::MatrixPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::MatrixPropagationLossModel::MatrixPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::MatrixPropagationLossModel::SetLoss(ns3::Ptr a, ns3::Ptr b, double loss, bool symmetric=true) [member function] - cls.add_method('SetLoss', - 'void', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('double', 'loss'), param('bool', 'symmetric', default_value='true')]) - ## propagation-loss-model.h: void ns3::MatrixPropagationLossModel::SetDefaultLoss(double arg0) [member function] - cls.add_method('SetDefaultLoss', - 'void', - [param('double', 'arg0')]) - ## propagation-loss-model.h: double ns3::MatrixPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3NakagamiPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::NakagamiPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::NakagamiPropagationLossModel::NakagamiPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: double ns3::NakagamiPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_spectrum.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_spectrum.py deleted file mode 100644 index 0cfb6970d..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_spectrum.py +++ /dev/null @@ -1,1694 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::AdhocAlohaNoackIdealPhyHelper [class] - module.add_class('AdhocAlohaNoackIdealPhyHelper') - ## spectrum-model.h: ns3::BandInfo [struct] - module.add_class('BandInfo') - ## microwave-oven-spectrum-value-helper.h: ns3::MicrowaveOvenSpectrumValueHelper [class] - module.add_class('MicrowaveOvenSpectrumValueHelper') - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo [class] - module.add_class('RxSpectrumModelInfo') - ## spectrum-analyzer-helper.h: ns3::SpectrumAnalyzerHelper [class] - module.add_class('SpectrumAnalyzerHelper') - ## spectrum-helper.h: ns3::SpectrumChannelHelper [class] - module.add_class('SpectrumChannelHelper') - ## spectrum-helper.h: ns3::SpectrumPhyHelper [class] - module.add_class('SpectrumPhyHelper') - ## spectrum-type.h: ns3::SpectrumType [class] - module.add_class('SpectrumType') - ## spectrum-type.h: ns3::SpectrumTypeFactory [class] - module.add_class('SpectrumTypeFactory') - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo [class] - module.add_class('TxSpectrumModelInfo') - ## waveform-generator-helper.h: ns3::WaveformGeneratorHelper [class] - module.add_class('WaveformGeneratorHelper') - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValue5MhzFactory [class] - module.add_class('WifiSpectrumValue5MhzFactory', allow_subclassing=True) - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValueHelper [class] - module.add_class('WifiSpectrumValueHelper', allow_subclassing=True) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::SpectrumConverter', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::SpectrumModel', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::SpectrumValue', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## spectrum-converter.h: ns3::SpectrumConverter [class] - module.add_class('SpectrumConverter', parent=root_module['ns3::SimpleRefCount< ns3::SpectrumConverter, ns3::empty, ns3::DefaultDeleter >']) - ## spectrum-error-model.h: ns3::SpectrumErrorModel [class] - module.add_class('SpectrumErrorModel', parent=root_module['ns3::Object']) - ## spectrum-interference.h: ns3::SpectrumInterference [class] - module.add_class('SpectrumInterference', parent=root_module['ns3::Object']) - ## spectrum-model.h: ns3::SpectrumModel [class] - module.add_class('SpectrumModel', parent=root_module['ns3::SimpleRefCount< ns3::SpectrumModel, ns3::empty, ns3::DefaultDeleter >']) - ## spectrum-phy.h: ns3::SpectrumPhy [class] - module.add_class('SpectrumPhy', parent=root_module['ns3::Object']) - ## spectrum-propagation-loss-model.h: ns3::SpectrumPropagationLossModel [class] - module.add_class('SpectrumPropagationLossModel', parent=root_module['ns3::Object']) - ## spectrum-value.h: ns3::SpectrumValue [class] - module.add_class('SpectrumValue', parent=root_module['ns3::SimpleRefCount< ns3::SpectrumValue, ns3::empty, ns3::DefaultDeleter >']) - ## waveform-generator.h: ns3::WaveformGenerator [class] - module.add_class('WaveformGenerator', parent=root_module['ns3::SpectrumPhy']) - ## aloha-noack-mac-header.h: ns3::AlohaNoackMacHeader [class] - module.add_class('AlohaNoackMacHeader', parent=root_module['ns3::Header']) - ## friis-spectrum-propagation-loss.h: ns3::FriisSpectrumPropagationLossModel [class] - module.add_class('FriisSpectrumPropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) - ## half-duplex-ideal-phy.h: ns3::HalfDuplexIdealPhy [class] - module.add_class('HalfDuplexIdealPhy', parent=root_module['ns3::SpectrumPhy']) - ## half-duplex-ideal-phy.h: ns3::HalfDuplexIdealPhy::State [enumeration] - module.add_enum('State', ['IDLE', 'TX', 'RX'], outer_class=root_module['ns3::HalfDuplexIdealPhy']) - ## non-communicating-net-device.h: ns3::NonCommunicatingNetDevice [class] - module.add_class('NonCommunicatingNetDevice', parent=root_module['ns3::NetDevice']) - ## spectrum-error-model.h: ns3::ShannonSpectrumErrorModel [class] - module.add_class('ShannonSpectrumErrorModel', parent=root_module['ns3::SpectrumErrorModel']) - ## spectrum-analyzer.h: ns3::SpectrumAnalyzer [class] - module.add_class('SpectrumAnalyzer', parent=root_module['ns3::SpectrumPhy']) - ## spectrum-channel.h: ns3::SpectrumChannel [class] - module.add_class('SpectrumChannel', parent=root_module['ns3::Channel']) - ## aloha-noack-net-device.h: ns3::AlohaNoackNetDevice [class] - module.add_class('AlohaNoackNetDevice', parent=root_module['ns3::NetDevice']) - ## aloha-noack-net-device.h: ns3::AlohaNoackNetDevice::State [enumeration] - module.add_enum('State', ['IDLE', 'TX', 'RX'], outer_class=root_module['ns3::AlohaNoackNetDevice']) - ## multi-model-spectrum-channel.h: ns3::MultiModelSpectrumChannel [class] - module.add_class('MultiModelSpectrumChannel', parent=root_module['ns3::SpectrumChannel']) - ## single-model-spectrum-channel.h: ns3::SingleModelSpectrumChannel [class] - module.add_class('SingleModelSpectrumChannel', parent=root_module['ns3::SpectrumChannel']) - module.add_container('ns3::SpectrumConverterMap_t', ('unsigned int', 'ns3::SpectrumConverter'), container_type='map') - module.add_container('ns3::Bands', 'ns3::BandInfo', container_type='vector') - typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values') - typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*') - typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&') - typehandlers.add_type_alias('std::map< unsigned int, ns3::SpectrumConverter, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::SpectrumConverter > > >', 'ns3::SpectrumConverterMap_t') - typehandlers.add_type_alias('std::map< unsigned int, ns3::SpectrumConverter, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::SpectrumConverter > > >*', 'ns3::SpectrumConverterMap_t*') - typehandlers.add_type_alias('std::map< unsigned int, ns3::SpectrumConverter, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::SpectrumConverter > > >&', 'ns3::SpectrumConverterMap_t&') - typehandlers.add_type_alias('std::map< unsigned int, ns3::TxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::TxSpectrumModelInfo > > >', 'ns3::TxSpectrumModelInfoMap_t') - typehandlers.add_type_alias('std::map< unsigned int, ns3::TxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::TxSpectrumModelInfo > > >*', 'ns3::TxSpectrumModelInfoMap_t*') - typehandlers.add_type_alias('std::map< unsigned int, ns3::TxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::TxSpectrumModelInfo > > >&', 'ns3::TxSpectrumModelInfoMap_t&') - typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands') - typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*') - typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&') - typehandlers.add_type_alias('std::map< unsigned int, ns3::RxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::RxSpectrumModelInfo > > >', 'ns3::RxSpectrumModelInfoMap_t') - typehandlers.add_type_alias('std::map< unsigned int, ns3::RxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::RxSpectrumModelInfo > > >*', 'ns3::RxSpectrumModelInfoMap_t*') - typehandlers.add_type_alias('std::map< unsigned int, ns3::RxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::RxSpectrumModelInfo > > >&', 'ns3::RxSpectrumModelInfoMap_t&') - typehandlers.add_type_alias('uint32_t', 'ns3::SpectrumModelUid_t') - typehandlers.add_type_alias('uint32_t*', 'ns3::SpectrumModelUid_t*') - typehandlers.add_type_alias('uint32_t&', 'ns3::SpectrumModelUid_t&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, root_module['ns3::AdhocAlohaNoackIdealPhyHelper']) - register_Ns3BandInfo_methods(root_module, root_module['ns3::BandInfo']) - register_Ns3MicrowaveOvenSpectrumValueHelper_methods(root_module, root_module['ns3::MicrowaveOvenSpectrumValueHelper']) - register_Ns3RxSpectrumModelInfo_methods(root_module, root_module['ns3::RxSpectrumModelInfo']) - register_Ns3SpectrumAnalyzerHelper_methods(root_module, root_module['ns3::SpectrumAnalyzerHelper']) - register_Ns3SpectrumChannelHelper_methods(root_module, root_module['ns3::SpectrumChannelHelper']) - register_Ns3SpectrumPhyHelper_methods(root_module, root_module['ns3::SpectrumPhyHelper']) - register_Ns3SpectrumType_methods(root_module, root_module['ns3::SpectrumType']) - register_Ns3SpectrumTypeFactory_methods(root_module, root_module['ns3::SpectrumTypeFactory']) - register_Ns3TxSpectrumModelInfo_methods(root_module, root_module['ns3::TxSpectrumModelInfo']) - register_Ns3WaveformGeneratorHelper_methods(root_module, root_module['ns3::WaveformGeneratorHelper']) - register_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, root_module['ns3::WifiSpectrumValue5MhzFactory']) - register_Ns3WifiSpectrumValueHelper_methods(root_module, root_module['ns3::WifiSpectrumValueHelper']) - register_Ns3SpectrumConverter_methods(root_module, root_module['ns3::SpectrumConverter']) - register_Ns3SpectrumErrorModel_methods(root_module, root_module['ns3::SpectrumErrorModel']) - register_Ns3SpectrumInterference_methods(root_module, root_module['ns3::SpectrumInterference']) - register_Ns3SpectrumModel_methods(root_module, root_module['ns3::SpectrumModel']) - register_Ns3SpectrumPhy_methods(root_module, root_module['ns3::SpectrumPhy']) - register_Ns3SpectrumPropagationLossModel_methods(root_module, root_module['ns3::SpectrumPropagationLossModel']) - register_Ns3SpectrumValue_methods(root_module, root_module['ns3::SpectrumValue']) - register_Ns3WaveformGenerator_methods(root_module, root_module['ns3::WaveformGenerator']) - register_Ns3AlohaNoackMacHeader_methods(root_module, root_module['ns3::AlohaNoackMacHeader']) - register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, root_module['ns3::FriisSpectrumPropagationLossModel']) - register_Ns3HalfDuplexIdealPhy_methods(root_module, root_module['ns3::HalfDuplexIdealPhy']) - register_Ns3NonCommunicatingNetDevice_methods(root_module, root_module['ns3::NonCommunicatingNetDevice']) - register_Ns3ShannonSpectrumErrorModel_methods(root_module, root_module['ns3::ShannonSpectrumErrorModel']) - register_Ns3SpectrumAnalyzer_methods(root_module, root_module['ns3::SpectrumAnalyzer']) - register_Ns3SpectrumChannel_methods(root_module, root_module['ns3::SpectrumChannel']) - register_Ns3AlohaNoackNetDevice_methods(root_module, root_module['ns3::AlohaNoackNetDevice']) - register_Ns3MultiModelSpectrumChannel_methods(root_module, root_module['ns3::MultiModelSpectrumChannel']) - register_Ns3SingleModelSpectrumChannel_methods(root_module, root_module['ns3::SingleModelSpectrumChannel']) - return - -def register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, cls): - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::AdhocAlohaNoackIdealPhyHelper::AdhocAlohaNoackIdealPhyHelper(ns3::AdhocAlohaNoackIdealPhyHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AdhocAlohaNoackIdealPhyHelper const &', 'arg0')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::AdhocAlohaNoackIdealPhyHelper::AdhocAlohaNoackIdealPhyHelper() [constructor] - cls.add_constructor([]) - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::NetDeviceContainer ns3::AdhocAlohaNoackIdealPhyHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::NetDeviceContainer ns3::AdhocAlohaNoackIdealPhyHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::NetDeviceContainer ns3::AdhocAlohaNoackIdealPhyHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'channel')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetNoisePowerSpectralDensity(ns3::Ptr noisePsd) [member function] - cls.add_method('SetNoisePowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'noisePsd')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetPhyAttribute(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('SetPhyAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetTxPowerSpectralDensity(ns3::Ptr txPsd) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) - return - -def register_Ns3BandInfo_methods(root_module, cls): - ## spectrum-model.h: ns3::BandInfo::BandInfo() [constructor] - cls.add_constructor([]) - ## spectrum-model.h: ns3::BandInfo::BandInfo(ns3::BandInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BandInfo const &', 'arg0')]) - ## spectrum-model.h: ns3::BandInfo::fc [variable] - cls.add_instance_attribute('fc', 'double', is_const=False) - ## spectrum-model.h: ns3::BandInfo::fh [variable] - cls.add_instance_attribute('fh', 'double', is_const=False) - ## spectrum-model.h: ns3::BandInfo::fl [variable] - cls.add_instance_attribute('fl', 'double', is_const=False) - return - -def register_Ns3MicrowaveOvenSpectrumValueHelper_methods(root_module, cls): - ## microwave-oven-spectrum-value-helper.h: ns3::MicrowaveOvenSpectrumValueHelper::MicrowaveOvenSpectrumValueHelper() [constructor] - cls.add_constructor([]) - ## microwave-oven-spectrum-value-helper.h: ns3::MicrowaveOvenSpectrumValueHelper::MicrowaveOvenSpectrumValueHelper(ns3::MicrowaveOvenSpectrumValueHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MicrowaveOvenSpectrumValueHelper const &', 'arg0')]) - ## microwave-oven-spectrum-value-helper.h: static ns3::Ptr ns3::MicrowaveOvenSpectrumValueHelper::CreatePowerSpectralDensityMwo1() [member function] - cls.add_method('CreatePowerSpectralDensityMwo1', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_static=True) - ## microwave-oven-spectrum-value-helper.h: static ns3::Ptr ns3::MicrowaveOvenSpectrumValueHelper::CreatePowerSpectralDensityMwo2() [member function] - cls.add_method('CreatePowerSpectralDensityMwo2', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_static=True) - return - -def register_Ns3RxSpectrumModelInfo_methods(root_module, cls): - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo::RxSpectrumModelInfo(ns3::RxSpectrumModelInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RxSpectrumModelInfo const &', 'arg0')]) - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo::RxSpectrumModelInfo(ns3::Ptr rxSpectrumModel) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SpectrumModel const >', 'rxSpectrumModel')]) - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo::m_rxPhyList [variable] - cls.add_instance_attribute('m_rxPhyList', 'std::list< ns3::Ptr< ns3::SpectrumPhy > >', is_const=False) - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo::m_rxSpectrumModel [variable] - cls.add_instance_attribute('m_rxSpectrumModel', 'ns3::Ptr< ns3::SpectrumModel const >', is_const=False) - return - -def register_Ns3SpectrumAnalyzerHelper_methods(root_module, cls): - ## spectrum-analyzer-helper.h: ns3::SpectrumAnalyzerHelper::SpectrumAnalyzerHelper(ns3::SpectrumAnalyzerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumAnalyzerHelper const &', 'arg0')]) - ## spectrum-analyzer-helper.h: ns3::SpectrumAnalyzerHelper::SpectrumAnalyzerHelper() [constructor] - cls.add_constructor([]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::EnableAsciiAll(std::string prefix) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::string', 'prefix')]) - ## spectrum-analyzer-helper.h: ns3::NetDeviceContainer ns3::SpectrumAnalyzerHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## spectrum-analyzer-helper.h: ns3::NetDeviceContainer ns3::SpectrumAnalyzerHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## spectrum-analyzer-helper.h: ns3::NetDeviceContainer ns3::SpectrumAnalyzerHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'channel')]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetPhyAttribute(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('SetPhyAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetRxSpectrumModel(ns3::Ptr m) [member function] - cls.add_method('SetRxSpectrumModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumModel >', 'm')]) - return - -def register_Ns3SpectrumChannelHelper_methods(root_module, cls): - ## spectrum-helper.h: ns3::SpectrumChannelHelper::SpectrumChannelHelper() [constructor] - cls.add_constructor([]) - ## spectrum-helper.h: ns3::SpectrumChannelHelper::SpectrumChannelHelper(ns3::SpectrumChannelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumChannelHelper const &', 'arg0')]) - ## spectrum-helper.h: void ns3::SpectrumChannelHelper::AddSpectrumPropagationLoss(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('AddSpectrumPropagationLoss', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## spectrum-helper.h: ns3::Ptr ns3::SpectrumChannelHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::SpectrumChannel >', - [], - is_const=True) - ## spectrum-helper.h: static ns3::SpectrumChannelHelper ns3::SpectrumChannelHelper::Default() [member function] - cls.add_method('Default', - 'ns3::SpectrumChannelHelper', - [], - is_static=True) - ## spectrum-helper.h: void ns3::SpectrumChannelHelper::SetChannel(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## spectrum-helper.h: void ns3::SpectrumChannelHelper::SetPropagationDelay(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPropagationDelay', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - return - -def register_Ns3SpectrumPhyHelper_methods(root_module, cls): - ## spectrum-helper.h: ns3::SpectrumPhyHelper::SpectrumPhyHelper() [constructor] - cls.add_constructor([]) - ## spectrum-helper.h: ns3::SpectrumPhyHelper::SpectrumPhyHelper(ns3::SpectrumPhyHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumPhyHelper const &', 'arg0')]) - ## spectrum-helper.h: ns3::Ptr ns3::SpectrumPhyHelper::Create(ns3::Ptr node, ns3::Ptr device) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::SpectrumPhy >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_const=True) - ## spectrum-helper.h: void ns3::SpectrumPhyHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'channel')]) - ## spectrum-helper.h: void ns3::SpectrumPhyHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## spectrum-helper.h: void ns3::SpectrumPhyHelper::SetPhy(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPhy', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## spectrum-helper.h: void ns3::SpectrumPhyHelper::SetPhyAttribute(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('SetPhyAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - return - -def register_Ns3SpectrumType_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## spectrum-type.h: ns3::SpectrumType::SpectrumType(ns3::SpectrumType const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumType const &', 'arg0')]) - ## spectrum-type.h: std::string ns3::SpectrumType::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## spectrum-type.h: uint32_t ns3::SpectrumType::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3SpectrumTypeFactory_methods(root_module, cls): - ## spectrum-type.h: ns3::SpectrumTypeFactory::SpectrumTypeFactory() [constructor] - cls.add_constructor([]) - ## spectrum-type.h: ns3::SpectrumTypeFactory::SpectrumTypeFactory(ns3::SpectrumTypeFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumTypeFactory const &', 'arg0')]) - ## spectrum-type.h: static ns3::SpectrumType ns3::SpectrumTypeFactory::Create(std::string name) [member function] - cls.add_method('Create', - 'ns3::SpectrumType', - [param('std::string', 'name')], - is_static=True) - ## spectrum-type.h: static std::string ns3::SpectrumTypeFactory::GetNameByUid(uint32_t uid) [member function] - cls.add_method('GetNameByUid', - 'std::string', - [param('uint32_t', 'uid')], - is_static=True) - return - -def register_Ns3TxSpectrumModelInfo_methods(root_module, cls): - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo::TxSpectrumModelInfo(ns3::TxSpectrumModelInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TxSpectrumModelInfo const &', 'arg0')]) - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo::TxSpectrumModelInfo(ns3::Ptr txSpectrumModel) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SpectrumModel const >', 'txSpectrumModel')]) - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo::m_spectrumConverterMap [variable] - cls.add_instance_attribute('m_spectrumConverterMap', 'ns3::SpectrumConverterMap_t', is_const=False) - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo::m_txSpectrumModel [variable] - cls.add_instance_attribute('m_txSpectrumModel', 'ns3::Ptr< ns3::SpectrumModel const >', is_const=False) - return - -def register_Ns3WaveformGeneratorHelper_methods(root_module, cls): - ## waveform-generator-helper.h: ns3::WaveformGeneratorHelper::WaveformGeneratorHelper(ns3::WaveformGeneratorHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaveformGeneratorHelper const &', 'arg0')]) - ## waveform-generator-helper.h: ns3::WaveformGeneratorHelper::WaveformGeneratorHelper() [constructor] - cls.add_constructor([]) - ## waveform-generator-helper.h: ns3::NetDeviceContainer ns3::WaveformGeneratorHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## waveform-generator-helper.h: ns3::NetDeviceContainer ns3::WaveformGeneratorHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## waveform-generator-helper.h: ns3::NetDeviceContainer ns3::WaveformGeneratorHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'channel')]) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetPhyAttribute(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('SetPhyAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetTxPowerSpectralDensity(ns3::Ptr txPsd) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) - return - -def register_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, cls): - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValue5MhzFactory::WifiSpectrumValue5MhzFactory() [constructor] - cls.add_constructor([]) - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValue5MhzFactory::WifiSpectrumValue5MhzFactory(ns3::WifiSpectrumValue5MhzFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiSpectrumValue5MhzFactory const &', 'arg0')]) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValue5MhzFactory::CreateConstant(double psd) [member function] - cls.add_method('CreateConstant', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'psd')], - is_virtual=True) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValue5MhzFactory::CreateRfFilter(uint32_t channel) [member function] - cls.add_method('CreateRfFilter', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('uint32_t', 'channel')], - is_virtual=True) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValue5MhzFactory::CreateTxPowerSpectralDensity(double txPower, uint32_t channel) [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'txPower'), param('uint32_t', 'channel')], - is_virtual=True) - return - -def register_Ns3WifiSpectrumValueHelper_methods(root_module, cls): - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValueHelper::WifiSpectrumValueHelper() [constructor] - cls.add_constructor([]) - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValueHelper::WifiSpectrumValueHelper(ns3::WifiSpectrumValueHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiSpectrumValueHelper const &', 'arg0')]) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValueHelper::CreateConstant(double psd) [member function] - cls.add_method('CreateConstant', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'psd')], - is_pure_virtual=True, is_virtual=True) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValueHelper::CreateRfFilter(uint32_t channel) [member function] - cls.add_method('CreateRfFilter', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('uint32_t', 'channel')], - is_pure_virtual=True, is_virtual=True) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValueHelper::CreateTxPowerSpectralDensity(double txPower, uint32_t channel) [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'txPower'), param('uint32_t', 'channel')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SpectrumConverter_methods(root_module, cls): - ## spectrum-converter.h: ns3::SpectrumConverter::SpectrumConverter(ns3::SpectrumConverter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumConverter const &', 'arg0')]) - ## spectrum-converter.h: ns3::SpectrumConverter::SpectrumConverter(ns3::Ptr fromSpectrumModel, ns3::Ptr toSpectrumModel) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SpectrumModel const >', 'fromSpectrumModel'), param('ns3::Ptr< ns3::SpectrumModel const >', 'toSpectrumModel')]) - ## spectrum-converter.h: ns3::SpectrumConverter::SpectrumConverter() [constructor] - cls.add_constructor([]) - ## spectrum-converter.h: ns3::Ptr ns3::SpectrumConverter::Convert(ns3::Ptr vvf) const [member function] - cls.add_method('Convert', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'vvf')], - is_const=True) - return - -def register_Ns3SpectrumErrorModel_methods(root_module, cls): - ## spectrum-error-model.h: ns3::SpectrumErrorModel::SpectrumErrorModel() [constructor] - cls.add_constructor([]) - ## spectrum-error-model.h: ns3::SpectrumErrorModel::SpectrumErrorModel(ns3::SpectrumErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumErrorModel const &', 'arg0')]) - ## spectrum-error-model.h: void ns3::SpectrumErrorModel::EvaluateChunk(ns3::SpectrumValue const & sinr, ns3::Time duration) [member function] - cls.add_method('EvaluateChunk', - 'void', - [param('ns3::SpectrumValue const &', 'sinr'), param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-error-model.h: bool ns3::SpectrumErrorModel::IsRxCorrect() [member function] - cls.add_method('IsRxCorrect', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## spectrum-error-model.h: void ns3::SpectrumErrorModel::StartRx(ns3::Ptr p) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SpectrumInterference_methods(root_module, cls): - ## spectrum-interference.h: ns3::SpectrumInterference::SpectrumInterference(ns3::SpectrumInterference const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumInterference const &', 'arg0')]) - ## spectrum-interference.h: ns3::SpectrumInterference::SpectrumInterference() [constructor] - cls.add_constructor([]) - ## spectrum-interference.h: void ns3::SpectrumInterference::AddSignal(ns3::Ptr spd, ns3::Time const duration) [member function] - cls.add_method('AddSignal', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'spd'), param('ns3::Time const', 'duration')]) - ## spectrum-interference.h: bool ns3::SpectrumInterference::EndRx() [member function] - cls.add_method('EndRx', - 'bool', - []) - ## spectrum-interference.h: void ns3::SpectrumInterference::SetErrorModel(ns3::Ptr e) [member function] - cls.add_method('SetErrorModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumErrorModel >', 'e')]) - ## spectrum-interference.h: void ns3::SpectrumInterference::SetNoisePowerSpectralDensity(ns3::Ptr noisePsd) [member function] - cls.add_method('SetNoisePowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'noisePsd')]) - ## spectrum-interference.h: void ns3::SpectrumInterference::StartRx(ns3::Ptr p, ns3::Ptr rxPsd) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd')]) - ## spectrum-interference.h: void ns3::SpectrumInterference::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3SpectrumModel_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## spectrum-model.h: ns3::SpectrumModel::SpectrumModel(ns3::SpectrumModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumModel const &', 'arg0')]) - ## spectrum-model.h: ns3::SpectrumModel::SpectrumModel(std::vector > centerFreqs) [constructor] - cls.add_constructor([param('std::vector< double >', 'centerFreqs')]) - ## spectrum-model.h: ns3::SpectrumModel::SpectrumModel(ns3::Bands bands) [constructor] - cls.add_constructor([param('ns3::Bands', 'bands')]) - ## spectrum-model.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumModel::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::BandInfo const *, std::vector< ns3::BandInfo > >', - [], - is_const=True) - ## spectrum-model.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumModel::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::BandInfo const *, std::vector< ns3::BandInfo > >', - [], - is_const=True) - ## spectrum-model.h: size_t ns3::SpectrumModel::GetNumBands() const [member function] - cls.add_method('GetNumBands', - 'size_t', - [], - is_const=True) - ## spectrum-model.h: ns3::SpectrumModelUid_t ns3::SpectrumModel::GetUid() const [member function] - cls.add_method('GetUid', - 'ns3::SpectrumModelUid_t', - [], - is_const=True) - return - -def register_Ns3SpectrumPhy_methods(root_module, cls): - ## spectrum-phy.h: ns3::SpectrumPhy::SpectrumPhy() [constructor] - cls.add_constructor([]) - ## spectrum-phy.h: ns3::SpectrumPhy::SpectrumPhy(ns3::SpectrumPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumPhy const &', 'arg0')]) - ## spectrum-phy.h: ns3::Ptr ns3::SpectrumPhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: ns3::Ptr ns3::SpectrumPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: ns3::Ptr ns3::SpectrumPhy::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## spectrum-phy.h: static ns3::TypeId ns3::SpectrumPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## spectrum-phy.h: void ns3::SpectrumPhy::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: void ns3::SpectrumPhy::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: void ns3::SpectrumPhy::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: void ns3::SpectrumPhy::StartRx(ns3::Ptr p, ns3::Ptr rxPsd, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SpectrumPropagationLossModel_methods(root_module, cls): - ## spectrum-propagation-loss-model.h: ns3::SpectrumPropagationLossModel::SpectrumPropagationLossModel(ns3::SpectrumPropagationLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumPropagationLossModel const &', 'arg0')]) - ## spectrum-propagation-loss-model.h: ns3::SpectrumPropagationLossModel::SpectrumPropagationLossModel() [constructor] - cls.add_constructor([]) - ## spectrum-propagation-loss-model.h: ns3::Ptr ns3::SpectrumPropagationLossModel::CalcRxPowerSpectralDensity(ns3::Ptr txPsd, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('CalcRxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'txPsd'), param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_const=True) - ## spectrum-propagation-loss-model.h: static ns3::TypeId ns3::SpectrumPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## spectrum-propagation-loss-model.h: void ns3::SpectrumPropagationLossModel::SetNext(ns3::Ptr next) [member function] - cls.add_method('SetNext', - 'void', - [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'next')]) - ## spectrum-propagation-loss-model.h: void ns3::SpectrumPropagationLossModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## spectrum-propagation-loss-model.h: ns3::Ptr ns3::SpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr txPsd, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'txPsd'), param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3SpectrumValue_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_numeric_operator('*', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('double', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('ns3::SpectrumValue const &', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('double', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('ns3::SpectrumValue const &', 'right')) - cls.add_unary_numeric_operator('-') - cls.add_binary_numeric_operator('-', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('double', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('ns3::SpectrumValue const &', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('double', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('*=', param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('*=', param('double', 'right')) - cls.add_inplace_numeric_operator('+=', param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('+=', param('double', 'right')) - cls.add_inplace_numeric_operator('-=', param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('-=', param('double', 'right')) - cls.add_inplace_numeric_operator('/=', param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('/=', param('double', 'right')) - ## spectrum-value.h: ns3::SpectrumValue::SpectrumValue(ns3::SpectrumValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumValue const &', 'arg0')]) - ## spectrum-value.h: ns3::SpectrumValue::SpectrumValue(ns3::Ptr sm) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SpectrumModel const >', 'sm')]) - ## spectrum-value.h: ns3::SpectrumValue::SpectrumValue() [constructor] - cls.add_constructor([]) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ConstBandsBegin() const [member function] - cls.add_method('ConstBandsBegin', - '__gnu_cxx::__normal_iterator< ns3::BandInfo const *, std::vector< ns3::BandInfo > >', - [], - is_const=True) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ConstBandsEnd() const [member function] - cls.add_method('ConstBandsEnd', - '__gnu_cxx::__normal_iterator< ns3::BandInfo const *, std::vector< ns3::BandInfo > >', - [], - is_const=True) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ConstValuesBegin() const [member function] - cls.add_method('ConstValuesBegin', - '__gnu_cxx::__normal_iterator< double const *, std::vector< double > >', - [], - is_const=True) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ConstValuesEnd() const [member function] - cls.add_method('ConstValuesEnd', - '__gnu_cxx::__normal_iterator< double const *, std::vector< double > >', - [], - is_const=True) - ## spectrum-value.h: ns3::Ptr ns3::SpectrumValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_const=True) - ## spectrum-value.h: ns3::Ptr ns3::SpectrumValue::GetSpectrumModel() const [member function] - cls.add_method('GetSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True) - ## spectrum-value.h: ns3::SpectrumModelUid_t ns3::SpectrumValue::GetSpectrumModelUid() const [member function] - cls.add_method('GetSpectrumModelUid', - 'ns3::SpectrumModelUid_t', - [], - is_const=True) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ValuesBegin() [member function] - cls.add_method('ValuesBegin', - '__gnu_cxx::__normal_iterator< double *, std::vector< double > >', - []) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ValuesEnd() [member function] - cls.add_method('ValuesEnd', - '__gnu_cxx::__normal_iterator< double *, std::vector< double > >', - []) - return - -def register_Ns3WaveformGenerator_methods(root_module, cls): - ## waveform-generator.h: ns3::WaveformGenerator::WaveformGenerator(ns3::WaveformGenerator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaveformGenerator const &', 'arg0')]) - ## waveform-generator.h: ns3::WaveformGenerator::WaveformGenerator() [constructor] - cls.add_constructor([]) - ## waveform-generator.h: ns3::Ptr ns3::WaveformGenerator::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## waveform-generator.h: double ns3::WaveformGenerator::GetDutyCycle() const [member function] - cls.add_method('GetDutyCycle', - 'double', - [], - is_const=True) - ## waveform-generator.h: ns3::Ptr ns3::WaveformGenerator::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## waveform-generator.h: ns3::Time ns3::WaveformGenerator::GetPeriod() const [member function] - cls.add_method('GetPeriod', - 'ns3::Time', - [], - is_const=True) - ## waveform-generator.h: ns3::Ptr ns3::WaveformGenerator::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True, is_virtual=True) - ## waveform-generator.h: ns3::SpectrumType ns3::WaveformGenerator::GetSpectrumType() [member function] - cls.add_method('GetSpectrumType', - 'ns3::SpectrumType', - []) - ## waveform-generator.h: static ns3::TypeId ns3::WaveformGenerator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## waveform-generator.h: void ns3::WaveformGenerator::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::SetDutyCycle(double value) [member function] - cls.add_method('SetDutyCycle', - 'void', - [param('double', 'value')]) - ## waveform-generator.h: void ns3::WaveformGenerator::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::SetPeriod(ns3::Time period) [member function] - cls.add_method('SetPeriod', - 'void', - [param('ns3::Time', 'period')]) - ## waveform-generator.h: void ns3::WaveformGenerator::SetTxPowerSpectralDensity(ns3::Ptr txs) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txs')]) - ## waveform-generator.h: void ns3::WaveformGenerator::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::StartRx(ns3::Ptr p, ns3::Ptr rxPsd, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::GenerateWaveform() [member function] - cls.add_method('GenerateWaveform', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3AlohaNoackMacHeader_methods(root_module, cls): - ## aloha-noack-mac-header.h: ns3::AlohaNoackMacHeader::AlohaNoackMacHeader() [constructor] - cls.add_constructor([]) - ## aloha-noack-mac-header.h: ns3::AlohaNoackMacHeader::AlohaNoackMacHeader(ns3::AlohaNoackMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AlohaNoackMacHeader const &', 'arg0')]) - ## aloha-noack-mac-header.h: uint32_t ns3::AlohaNoackMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aloha-noack-mac-header.h: ns3::Mac48Address ns3::AlohaNoackMacHeader::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Mac48Address', - [], - is_const=True) - ## aloha-noack-mac-header.h: ns3::TypeId ns3::AlohaNoackMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aloha-noack-mac-header.h: uint32_t ns3::AlohaNoackMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aloha-noack-mac-header.h: ns3::Mac48Address ns3::AlohaNoackMacHeader::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Mac48Address', - [], - is_const=True) - ## aloha-noack-mac-header.h: static ns3::TypeId ns3::AlohaNoackMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aloha-noack-mac-header.h: void ns3::AlohaNoackMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aloha-noack-mac-header.h: void ns3::AlohaNoackMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## aloha-noack-mac-header.h: void ns3::AlohaNoackMacHeader::SetDestination(ns3::Mac48Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Mac48Address', 'destination')]) - ## aloha-noack-mac-header.h: void ns3::AlohaNoackMacHeader::SetSource(ns3::Mac48Address source) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Mac48Address', 'source')]) - return - -def register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, cls): - ## friis-spectrum-propagation-loss.h: ns3::FriisSpectrumPropagationLossModel::FriisSpectrumPropagationLossModel(ns3::FriisSpectrumPropagationLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FriisSpectrumPropagationLossModel const &', 'arg0')]) - ## friis-spectrum-propagation-loss.h: ns3::FriisSpectrumPropagationLossModel::FriisSpectrumPropagationLossModel() [constructor] - cls.add_constructor([]) - ## friis-spectrum-propagation-loss.h: double ns3::FriisSpectrumPropagationLossModel::CalculateLoss(double f, double d) const [member function] - cls.add_method('CalculateLoss', - 'double', - [param('double', 'f'), param('double', 'd')], - is_const=True) - ## friis-spectrum-propagation-loss.h: ns3::Ptr ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr txPsd, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'txPsd'), param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_const=True, is_virtual=True) - ## friis-spectrum-propagation-loss.h: static ns3::TypeId ns3::FriisSpectrumPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3HalfDuplexIdealPhy_methods(root_module, cls): - ## half-duplex-ideal-phy.h: ns3::HalfDuplexIdealPhy::HalfDuplexIdealPhy(ns3::HalfDuplexIdealPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HalfDuplexIdealPhy const &', 'arg0')]) - ## half-duplex-ideal-phy.h: ns3::HalfDuplexIdealPhy::HalfDuplexIdealPhy() [constructor] - cls.add_constructor([]) - ## half-duplex-ideal-phy.h: ns3::Ptr ns3::HalfDuplexIdealPhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## half-duplex-ideal-phy.h: ns3::Ptr ns3::HalfDuplexIdealPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## half-duplex-ideal-phy.h: ns3::DataRate ns3::HalfDuplexIdealPhy::GetRate() const [member function] - cls.add_method('GetRate', - 'ns3::DataRate', - [], - is_const=True) - ## half-duplex-ideal-phy.h: ns3::Ptr ns3::HalfDuplexIdealPhy::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True, is_virtual=True) - ## half-duplex-ideal-phy.h: ns3::SpectrumType ns3::HalfDuplexIdealPhy::GetSpectrumType() [member function] - cls.add_method('GetSpectrumType', - 'ns3::SpectrumType', - []) - ## half-duplex-ideal-phy.h: static ns3::TypeId ns3::HalfDuplexIdealPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_virtual=True) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_virtual=True) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetGenericPhyRxEndErrorCallback(ns3::GenericPhyRxEndErrorCallback c) [member function] - cls.add_method('SetGenericPhyRxEndErrorCallback', - 'void', - [param('ns3::GenericPhyRxEndErrorCallback', 'c')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetGenericPhyRxEndOkCallback(ns3::GenericPhyRxEndOkCallback c) [member function] - cls.add_method('SetGenericPhyRxEndOkCallback', - 'void', - [param('ns3::GenericPhyRxEndOkCallback', 'c')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetGenericPhyRxStartCallback(ns3::GenericPhyRxStartCallback c) [member function] - cls.add_method('SetGenericPhyRxStartCallback', - 'void', - [param('ns3::GenericPhyRxStartCallback', 'c')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetGenericPhyTxEndCallback(ns3::GenericPhyTxEndCallback c) [member function] - cls.add_method('SetGenericPhyTxEndCallback', - 'void', - [param('ns3::GenericPhyTxEndCallback', 'c')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_virtual=True) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetNoisePowerSpectralDensity(ns3::Ptr noisePsd) [member function] - cls.add_method('SetNoisePowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'noisePsd')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetRate(ns3::DataRate rate) [member function] - cls.add_method('SetRate', - 'void', - [param('ns3::DataRate', 'rate')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetTxPowerSpectralDensity(ns3::Ptr txPsd) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::StartRx(ns3::Ptr p, ns3::Ptr rxPsd, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_virtual=True) - ## half-duplex-ideal-phy.h: bool ns3::HalfDuplexIdealPhy::StartTx(ns3::Ptr p) [member function] - cls.add_method('StartTx', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3NonCommunicatingNetDevice_methods(root_module, cls): - ## non-communicating-net-device.h: ns3::NonCommunicatingNetDevice::NonCommunicatingNetDevice(ns3::NonCommunicatingNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NonCommunicatingNetDevice const &', 'arg0')]) - ## non-communicating-net-device.h: ns3::NonCommunicatingNetDevice::NonCommunicatingNetDevice() [constructor] - cls.add_constructor([]) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::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')], - is_virtual=True) - ## non-communicating-net-device.h: ns3::Address ns3::NonCommunicatingNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Address ns3::NonCommunicatingNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Ptr ns3::NonCommunicatingNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: uint32_t ns3::NonCommunicatingNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: uint16_t ns3::NonCommunicatingNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Address ns3::NonCommunicatingNetDevice::GetMulticast(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'addr')], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Address ns3::NonCommunicatingNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Ptr ns3::NonCommunicatingNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Ptr ns3::NonCommunicatingNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## non-communicating-net-device.h: static ns3::TypeId ns3::NonCommunicatingNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::Channel >', 'c')]) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::Object >', 'phy')]) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ShannonSpectrumErrorModel_methods(root_module, cls): - ## spectrum-error-model.h: ns3::ShannonSpectrumErrorModel::ShannonSpectrumErrorModel() [constructor] - cls.add_constructor([]) - ## spectrum-error-model.h: ns3::ShannonSpectrumErrorModel::ShannonSpectrumErrorModel(ns3::ShannonSpectrumErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ShannonSpectrumErrorModel const &', 'arg0')]) - ## spectrum-error-model.h: void ns3::ShannonSpectrumErrorModel::EvaluateChunk(ns3::SpectrumValue const & sinr, ns3::Time duration) [member function] - cls.add_method('EvaluateChunk', - 'void', - [param('ns3::SpectrumValue const &', 'sinr'), param('ns3::Time', 'duration')], - is_virtual=True) - ## spectrum-error-model.h: bool ns3::ShannonSpectrumErrorModel::IsRxCorrect() [member function] - cls.add_method('IsRxCorrect', - 'bool', - [], - is_virtual=True) - ## spectrum-error-model.h: void ns3::ShannonSpectrumErrorModel::StartRx(ns3::Ptr p) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')], - is_virtual=True) - ## spectrum-error-model.h: void ns3::ShannonSpectrumErrorModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3SpectrumAnalyzer_methods(root_module, cls): - ## spectrum-analyzer.h: ns3::SpectrumAnalyzer::SpectrumAnalyzer(ns3::SpectrumAnalyzer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumAnalyzer const &', 'arg0')]) - ## spectrum-analyzer.h: ns3::SpectrumAnalyzer::SpectrumAnalyzer() [constructor] - cls.add_constructor([]) - ## spectrum-analyzer.h: ns3::Ptr ns3::SpectrumAnalyzer::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## spectrum-analyzer.h: ns3::Ptr ns3::SpectrumAnalyzer::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## spectrum-analyzer.h: ns3::Ptr ns3::SpectrumAnalyzer::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True, is_virtual=True) - ## spectrum-analyzer.h: static ns3::TypeId ns3::SpectrumAnalyzer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::SetRxSpectrumModel(ns3::Ptr m) [member function] - cls.add_method('SetRxSpectrumModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumModel >', 'm')]) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::StartRx(ns3::Ptr pb, ns3::Ptr rxPowerSpectralDensity, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPowerSpectralDensity'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::GenerateReport() [member function] - cls.add_method('GenerateReport', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3SpectrumChannel_methods(root_module, cls): - ## spectrum-channel.h: ns3::SpectrumChannel::SpectrumChannel() [constructor] - cls.add_constructor([]) - ## spectrum-channel.h: ns3::SpectrumChannel::SpectrumChannel(ns3::SpectrumChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumChannel const &', 'arg0')]) - ## spectrum-channel.h: void ns3::SpectrumChannel::AddRx(ns3::Ptr phy) [member function] - cls.add_method('AddRx', - 'void', - [param('ns3::Ptr< ns3::SpectrumPhy >', 'phy')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-channel.h: void ns3::SpectrumChannel::AddSpectrumPropagationLossModel(ns3::Ptr loss) [member function] - cls.add_method('AddSpectrumPropagationLossModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'loss')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-channel.h: static ns3::TypeId ns3::SpectrumChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## spectrum-channel.h: void ns3::SpectrumChannel::SetPropagationDelayModel(ns3::Ptr delay) [member function] - cls.add_method('SetPropagationDelayModel', - 'void', - [param('ns3::Ptr< ns3::PropagationDelayModel >', 'delay')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-channel.h: void ns3::SpectrumChannel::StartTx(ns3::Ptr p, ns3::Ptr txPsd, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr sender) [member function] - cls.add_method('StartTx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'sender')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3AlohaNoackNetDevice_methods(root_module, cls): - ## aloha-noack-net-device.h: ns3::AlohaNoackNetDevice::AlohaNoackNetDevice(ns3::AlohaNoackNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AlohaNoackNetDevice const &', 'arg0')]) - ## aloha-noack-net-device.h: ns3::AlohaNoackNetDevice::AlohaNoackNetDevice() [constructor] - cls.add_constructor([]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::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')], - is_virtual=True) - ## aloha-noack-net-device.h: ns3::Address ns3::AlohaNoackNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Address ns3::AlohaNoackNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Ptr ns3::AlohaNoackNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: uint32_t ns3::AlohaNoackNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: uint16_t ns3::AlohaNoackNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Address ns3::AlohaNoackNetDevice::GetMulticast(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'addr')], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Address ns3::AlohaNoackNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Ptr ns3::AlohaNoackNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Ptr ns3::AlohaNoackNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## aloha-noack-net-device.h: static ns3::TypeId ns3::AlohaNoackNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::NotifyReceptionEndError() [member function] - cls.add_method('NotifyReceptionEndError', - 'void', - []) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::NotifyReceptionEndOk(ns3::Ptr p) [member function] - cls.add_method('NotifyReceptionEndOk', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::NotifyReceptionStart() [member function] - cls.add_method('NotifyReceptionStart', - 'void', - []) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::NotifyTransmissionEnd(ns3::Ptr arg0) [member function] - cls.add_method('NotifyTransmissionEnd', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'arg0')]) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::Channel >', 'c')]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetGenericPhyTxStartCallback(ns3::GenericPhyTxStartCallback c) [member function] - cls.add_method('SetGenericPhyTxStartCallback', - 'void', - [param('ns3::GenericPhyTxStartCallback', 'c')]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::Object >', 'phy')]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3MultiModelSpectrumChannel_methods(root_module, cls): - ## multi-model-spectrum-channel.h: ns3::MultiModelSpectrumChannel::MultiModelSpectrumChannel(ns3::MultiModelSpectrumChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MultiModelSpectrumChannel const &', 'arg0')]) - ## multi-model-spectrum-channel.h: ns3::MultiModelSpectrumChannel::MultiModelSpectrumChannel() [constructor] - cls.add_constructor([]) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] - cls.add_method('AddRx', - 'void', - [param('ns3::Ptr< ns3::SpectrumPhy >', 'phy')], - is_virtual=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::AddSpectrumPropagationLossModel(ns3::Ptr loss) [member function] - cls.add_method('AddSpectrumPropagationLossModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'loss')], - is_virtual=True) - ## multi-model-spectrum-channel.h: ns3::Ptr ns3::MultiModelSpectrumChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## multi-model-spectrum-channel.h: uint32_t ns3::MultiModelSpectrumChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## multi-model-spectrum-channel.h: ns3::Ptr ns3::MultiModelSpectrumChannel::GetSpectrumPropagationLossModel() [member function] - cls.add_method('GetSpectrumPropagationLossModel', - 'ns3::Ptr< ns3::SpectrumPropagationLossModel >', - [], - is_virtual=True) - ## multi-model-spectrum-channel.h: static ns3::TypeId ns3::MultiModelSpectrumChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::SetPropagationDelayModel(ns3::Ptr delay) [member function] - cls.add_method('SetPropagationDelayModel', - 'void', - [param('ns3::Ptr< ns3::PropagationDelayModel >', 'delay')], - is_virtual=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::StartTx(ns3::Ptr p, ns3::Ptr txPsd, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr sender) [member function] - cls.add_method('StartTx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'sender')], - is_virtual=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::StartRx(ns3::Ptr p, ns3::Ptr rxPowerSpectrum, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr receiver) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'rxPowerSpectrum'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'receiver')], - visibility='private', is_virtual=True) - return - -def register_Ns3SingleModelSpectrumChannel_methods(root_module, cls): - ## single-model-spectrum-channel.h: ns3::SingleModelSpectrumChannel::SingleModelSpectrumChannel(ns3::SingleModelSpectrumChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SingleModelSpectrumChannel const &', 'arg0')]) - ## single-model-spectrum-channel.h: ns3::SingleModelSpectrumChannel::SingleModelSpectrumChannel() [constructor] - cls.add_constructor([]) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] - cls.add_method('AddRx', - 'void', - [param('ns3::Ptr< ns3::SpectrumPhy >', 'phy')], - is_virtual=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::AddSpectrumPropagationLossModel(ns3::Ptr loss) [member function] - cls.add_method('AddSpectrumPropagationLossModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'loss')], - is_virtual=True) - ## single-model-spectrum-channel.h: ns3::Ptr ns3::SingleModelSpectrumChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## single-model-spectrum-channel.h: uint32_t ns3::SingleModelSpectrumChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## single-model-spectrum-channel.h: ns3::Ptr ns3::SingleModelSpectrumChannel::GetSpectrumPropagationLossModel() [member function] - cls.add_method('GetSpectrumPropagationLossModel', - 'ns3::Ptr< ns3::SpectrumPropagationLossModel >', - [], - is_virtual=True) - ## single-model-spectrum-channel.h: static ns3::TypeId ns3::SingleModelSpectrumChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::SetPropagationDelayModel(ns3::Ptr delay) [member function] - cls.add_method('SetPropagationDelayModel', - 'void', - [param('ns3::Ptr< ns3::PropagationDelayModel >', 'delay')], - is_virtual=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::StartTx(ns3::Ptr p, ns3::Ptr txPsd, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr sender) [member function] - cls.add_method('StartTx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'sender')], - is_virtual=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::StartRx(ns3::Ptr p, ns3::Ptr rxPowerSpectrum, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr receiver) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'rxPowerSpectrum'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'receiver')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Log(ns3::SpectrumValue const & arg) [free function] - module.add_function('Log', - 'ns3::SpectrumValue', - [param('ns3::SpectrumValue const &', 'arg')]) - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Log10(ns3::SpectrumValue const & arg) [free function] - module.add_function('Log10', - 'ns3::SpectrumValue', - [param('ns3::SpectrumValue const &', 'arg')]) - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Log2(ns3::SpectrumValue const & arg) [free function] - module.add_function('Log2', - 'ns3::SpectrumValue', - [param('ns3::SpectrumValue const &', 'arg')]) - ## spectrum-value.h: extern double ns3::Norm(ns3::SpectrumValue const & x) [free function] - module.add_function('Norm', - 'double', - [param('ns3::SpectrumValue const &', 'x')]) - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Pow(ns3::SpectrumValue const & base, double exp) [free function] - module.add_function('Pow', - 'ns3::SpectrumValue', - [param('ns3::SpectrumValue const &', 'base'), param('double', 'exp')]) - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Pow(double base, ns3::SpectrumValue const & exp) [free function] - module.add_function('Pow', - 'ns3::SpectrumValue', - [param('double', 'base'), param('ns3::SpectrumValue const &', 'exp')]) - ## spectrum-value.h: extern double ns3::Prod(ns3::SpectrumValue const & x) [free function] - module.add_function('Prod', - 'double', - [param('ns3::SpectrumValue const &', 'x')]) - ## spectrum-value.h: extern double ns3::Sum(ns3::SpectrumValue const & x) [free function] - module.add_function('Sum', - 'double', - [param('ns3::SpectrumValue const &', 'x')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py deleted file mode 100644 index 01bfdf7b9..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_stats.py +++ /dev/null @@ -1,592 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## data-output-interface.h: ns3::DataOutputCallback [class] - module.add_class('DataOutputCallback', allow_subclassing=True) - ## data-calculator.h: ns3::StatisticalSummary [class] - module.add_class('StatisticalSummary', allow_subclassing=True) - ## data-calculator.h: ns3::DataCalculator [class] - module.add_class('DataCalculator', parent=root_module['ns3::Object']) - ## data-collector.h: ns3::DataCollector [class] - module.add_class('DataCollector', parent=root_module['ns3::Object']) - ## data-output-interface.h: ns3::DataOutputInterface [class] - module.add_class('DataOutputInterface', parent=root_module['ns3::Object']) - ## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator [class] - module.add_class('MinMaxAvgTotalCalculator', template_parameters=['unsigned int'], parent=[root_module['ns3::DataCalculator'], root_module['ns3::StatisticalSummary']]) - ## omnet-data-output.h: ns3::OmnetDataOutput [class] - module.add_class('OmnetDataOutput', parent=root_module['ns3::DataOutputInterface']) - ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator [class] - module.add_class('PacketSizeMinMaxAvgTotalCalculator', parent=root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) - ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator [class] - module.add_class('TimeMinMaxAvgTotalCalculator', parent=root_module['ns3::DataCalculator']) - ## basic-data-calculators.h: ns3::CounterCalculator [class] - module.add_class('CounterCalculator', template_parameters=['unsigned int'], parent=root_module['ns3::DataCalculator']) - ## packet-data-calculators.h: ns3::PacketCounterCalculator [class] - module.add_class('PacketCounterCalculator', parent=root_module['ns3::CounterCalculator< unsigned int >']) - typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >', 'ns3::MetadataList') - typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >*', 'ns3::MetadataList*') - typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >&', 'ns3::MetadataList&') - typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >', 'ns3::DataCalculatorList') - typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >*', 'ns3::DataCalculatorList*') - typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >&', 'ns3::DataCalculatorList&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3DataOutputCallback_methods(root_module, root_module['ns3::DataOutputCallback']) - register_Ns3StatisticalSummary_methods(root_module, root_module['ns3::StatisticalSummary']) - register_Ns3DataCalculator_methods(root_module, root_module['ns3::DataCalculator']) - register_Ns3DataCollector_methods(root_module, root_module['ns3::DataCollector']) - register_Ns3DataOutputInterface_methods(root_module, root_module['ns3::DataOutputInterface']) - register_Ns3MinMaxAvgTotalCalculator__Unsigned_int_methods(root_module, root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) - register_Ns3OmnetDataOutput_methods(root_module, root_module['ns3::OmnetDataOutput']) - register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::PacketSizeMinMaxAvgTotalCalculator']) - register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::TimeMinMaxAvgTotalCalculator']) - register_Ns3CounterCalculator__Unsigned_int_methods(root_module, root_module['ns3::CounterCalculator< unsigned int >']) - register_Ns3PacketCounterCalculator_methods(root_module, root_module['ns3::PacketCounterCalculator']) - return - -def register_Ns3DataOutputCallback_methods(root_module, cls): - ## data-output-interface.h: ns3::DataOutputCallback::DataOutputCallback() [constructor] - cls.add_constructor([]) - ## data-output-interface.h: ns3::DataOutputCallback::DataOutputCallback(ns3::DataOutputCallback const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataOutputCallback const &', 'arg0')]) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, int val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('int', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, uint32_t val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('uint32_t', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, double val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('double', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, std::string val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('std::string', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, ns3::Time val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('ns3::Time', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputStatistic(std::string key, std::string variable, ns3::StatisticalSummary const * statSum) [member function] - cls.add_method('OutputStatistic', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('ns3::StatisticalSummary const *', 'statSum')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3StatisticalSummary_methods(root_module, cls): - ## data-calculator.h: ns3::StatisticalSummary::StatisticalSummary() [constructor] - cls.add_constructor([]) - ## data-calculator.h: ns3::StatisticalSummary::StatisticalSummary(ns3::StatisticalSummary const & arg0) [copy constructor] - cls.add_constructor([param('ns3::StatisticalSummary const &', 'arg0')]) - ## data-calculator.h: long int ns3::StatisticalSummary::getCount() const [member function] - cls.add_method('getCount', - 'long int', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getMax() const [member function] - cls.add_method('getMax', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getMean() const [member function] - cls.add_method('getMean', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getMin() const [member function] - cls.add_method('getMin', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getSqrSum() const [member function] - cls.add_method('getSqrSum', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getStddev() const [member function] - cls.add_method('getStddev', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getSum() const [member function] - cls.add_method('getSum', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getVariance() const [member function] - cls.add_method('getVariance', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3DataCalculator_methods(root_module, cls): - ## data-calculator.h: ns3::DataCalculator::DataCalculator(ns3::DataCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataCalculator const &', 'arg0')]) - ## data-calculator.h: ns3::DataCalculator::DataCalculator() [constructor] - cls.add_constructor([]) - ## data-calculator.h: void ns3::DataCalculator::Disable() [member function] - cls.add_method('Disable', - 'void', - []) - ## data-calculator.h: void ns3::DataCalculator::Enable() [member function] - cls.add_method('Enable', - 'void', - []) - ## data-calculator.h: std::string ns3::DataCalculator::GetContext() const [member function] - cls.add_method('GetContext', - 'std::string', - [], - is_const=True) - ## data-calculator.h: bool ns3::DataCalculator::GetEnabled() const [member function] - cls.add_method('GetEnabled', - 'bool', - [], - is_const=True) - ## data-calculator.h: std::string ns3::DataCalculator::GetKey() const [member function] - cls.add_method('GetKey', - 'std::string', - [], - is_const=True) - ## data-calculator.h: void ns3::DataCalculator::Output(ns3::DataOutputCallback & callback) const [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataOutputCallback &', 'callback')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: void ns3::DataCalculator::SetContext(std::string const context) [member function] - cls.add_method('SetContext', - 'void', - [param('std::string const', 'context')]) - ## data-calculator.h: void ns3::DataCalculator::SetKey(std::string const key) [member function] - cls.add_method('SetKey', - 'void', - [param('std::string const', 'key')]) - ## data-calculator.h: void ns3::DataCalculator::Start(ns3::Time const & startTime) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time const &', 'startTime')], - is_virtual=True) - ## data-calculator.h: void ns3::DataCalculator::Stop(ns3::Time const & stopTime) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'stopTime')], - is_virtual=True) - ## data-calculator.h: void ns3::DataCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3DataCollector_methods(root_module, cls): - ## data-collector.h: ns3::DataCollector::DataCollector(ns3::DataCollector const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataCollector const &', 'arg0')]) - ## data-collector.h: ns3::DataCollector::DataCollector() [constructor] - cls.add_constructor([]) - ## data-collector.h: void ns3::DataCollector::AddDataCalculator(ns3::Ptr datac) [member function] - cls.add_method('AddDataCalculator', - 'void', - [param('ns3::Ptr< ns3::DataCalculator >', 'datac')]) - ## data-collector.h: void ns3::DataCollector::AddMetadata(std::string key, std::string value) [member function] - cls.add_method('AddMetadata', - 'void', - [param('std::string', 'key'), param('std::string', 'value')]) - ## data-collector.h: void ns3::DataCollector::AddMetadata(std::string key, double value) [member function] - cls.add_method('AddMetadata', - 'void', - [param('std::string', 'key'), param('double', 'value')]) - ## data-collector.h: void ns3::DataCollector::AddMetadata(std::string key, uint32_t value) [member function] - cls.add_method('AddMetadata', - 'void', - [param('std::string', 'key'), param('uint32_t', 'value')]) - ## data-collector.h: std::_List_iterator > ns3::DataCollector::DataCalculatorBegin() [member function] - cls.add_method('DataCalculatorBegin', - 'std::_List_iterator< ns3::Ptr< ns3::DataCalculator > >', - []) - ## data-collector.h: std::_List_iterator > ns3::DataCollector::DataCalculatorEnd() [member function] - cls.add_method('DataCalculatorEnd', - 'std::_List_iterator< ns3::Ptr< ns3::DataCalculator > >', - []) - ## data-collector.h: void ns3::DataCollector::DescribeRun(std::string experiment, std::string strategy, std::string input, std::string runID, std::string description="") [member function] - cls.add_method('DescribeRun', - 'void', - [param('std::string', 'experiment'), param('std::string', 'strategy'), param('std::string', 'input'), param('std::string', 'runID'), param('std::string', 'description', default_value='""')]) - ## data-collector.h: std::string ns3::DataCollector::GetDescription() const [member function] - cls.add_method('GetDescription', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::string ns3::DataCollector::GetExperimentLabel() const [member function] - cls.add_method('GetExperimentLabel', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::string ns3::DataCollector::GetInputLabel() const [member function] - cls.add_method('GetInputLabel', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::string ns3::DataCollector::GetRunLabel() const [member function] - cls.add_method('GetRunLabel', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::string ns3::DataCollector::GetStrategyLabel() const [member function] - cls.add_method('GetStrategyLabel', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::_List_iterator, std::allocator >, std::basic_string, std::allocator > > > ns3::DataCollector::MetadataBegin() [member function] - cls.add_method('MetadataBegin', - 'std::_List_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > >, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', - []) - ## data-collector.h: std::_List_iterator, std::allocator >, std::basic_string, std::allocator > > > ns3::DataCollector::MetadataEnd() [member function] - cls.add_method('MetadataEnd', - 'std::_List_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > >, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', - []) - ## data-collector.h: void ns3::DataCollector::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3DataOutputInterface_methods(root_module, cls): - ## data-output-interface.h: ns3::DataOutputInterface::DataOutputInterface(ns3::DataOutputInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataOutputInterface const &', 'arg0')]) - ## data-output-interface.h: ns3::DataOutputInterface::DataOutputInterface() [constructor] - cls.add_constructor([]) - ## data-output-interface.h: std::string ns3::DataOutputInterface::GetFilePrefix() const [member function] - cls.add_method('GetFilePrefix', - 'std::string', - [], - is_const=True) - ## data-output-interface.h: void ns3::DataOutputInterface::Output(ns3::DataCollector & dc) [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataCollector &', 'dc')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputInterface::SetFilePrefix(std::string const prefix) [member function] - cls.add_method('SetFilePrefix', - 'void', - [param('std::string const', 'prefix')]) - ## data-output-interface.h: void ns3::DataOutputInterface::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3MinMaxAvgTotalCalculator__Unsigned_int_methods(root_module, cls): - ## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator::MinMaxAvgTotalCalculator(ns3::MinMaxAvgTotalCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MinMaxAvgTotalCalculator< unsigned int > const &', 'arg0')]) - ## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator::MinMaxAvgTotalCalculator() [constructor] - cls.add_constructor([]) - ## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator::Output(ns3::DataOutputCallback & callback) const [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataOutputCallback &', 'callback')], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator::Update(unsigned int const i) [member function] - cls.add_method('Update', - 'void', - [param('unsigned int const', 'i')]) - ## basic-data-calculators.h: long int ns3::MinMaxAvgTotalCalculator::getCount() const [member function] - cls.add_method('getCount', - 'long int', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getMax() const [member function] - cls.add_method('getMax', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getMean() const [member function] - cls.add_method('getMean', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getMin() const [member function] - cls.add_method('getMin', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getSqrSum() const [member function] - cls.add_method('getSqrSum', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getStddev() const [member function] - cls.add_method('getStddev', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getSum() const [member function] - cls.add_method('getSum', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getVariance() const [member function] - cls.add_method('getVariance', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3OmnetDataOutput_methods(root_module, cls): - ## omnet-data-output.h: ns3::OmnetDataOutput::OmnetDataOutput(ns3::OmnetDataOutput const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OmnetDataOutput const &', 'arg0')]) - ## omnet-data-output.h: ns3::OmnetDataOutput::OmnetDataOutput() [constructor] - cls.add_constructor([]) - ## omnet-data-output.h: void ns3::OmnetDataOutput::Output(ns3::DataCollector & dc) [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataCollector &', 'dc')], - is_virtual=True) - ## omnet-data-output.h: void ns3::OmnetDataOutput::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, cls): - ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator::PacketSizeMinMaxAvgTotalCalculator(ns3::PacketSizeMinMaxAvgTotalCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSizeMinMaxAvgTotalCalculator const &', 'arg0')]) - ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator::PacketSizeMinMaxAvgTotalCalculator() [constructor] - cls.add_constructor([]) - ## packet-data-calculators.h: void ns3::PacketSizeMinMaxAvgTotalCalculator::FrameUpdate(std::string path, ns3::Ptr packet, ns3::Mac48Address realto) [member function] - cls.add_method('FrameUpdate', - 'void', - [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'realto')]) - ## packet-data-calculators.h: void ns3::PacketSizeMinMaxAvgTotalCalculator::PacketUpdate(std::string path, ns3::Ptr packet) [member function] - cls.add_method('PacketUpdate', - 'void', - [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## packet-data-calculators.h: void ns3::PacketSizeMinMaxAvgTotalCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, cls): - ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator::TimeMinMaxAvgTotalCalculator(ns3::TimeMinMaxAvgTotalCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeMinMaxAvgTotalCalculator const &', 'arg0')]) - ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator::TimeMinMaxAvgTotalCalculator() [constructor] - cls.add_constructor([]) - ## time-data-calculators.h: void ns3::TimeMinMaxAvgTotalCalculator::Output(ns3::DataOutputCallback & callback) const [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataOutputCallback &', 'callback')], - is_const=True, is_virtual=True) - ## time-data-calculators.h: void ns3::TimeMinMaxAvgTotalCalculator::Update(ns3::Time const i) [member function] - cls.add_method('Update', - 'void', - [param('ns3::Time const', 'i')]) - ## time-data-calculators.h: void ns3::TimeMinMaxAvgTotalCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3CounterCalculator__Unsigned_int_methods(root_module, cls): - ## basic-data-calculators.h: ns3::CounterCalculator::CounterCalculator(ns3::CounterCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CounterCalculator< unsigned int > const &', 'arg0')]) - ## basic-data-calculators.h: ns3::CounterCalculator::CounterCalculator() [constructor] - cls.add_constructor([]) - ## basic-data-calculators.h: unsigned int ns3::CounterCalculator::GetCount() const [member function] - cls.add_method('GetCount', - 'unsigned int', - [], - is_const=True) - ## basic-data-calculators.h: void ns3::CounterCalculator::Output(ns3::DataOutputCallback & callback) const [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataOutputCallback &', 'callback')], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: void ns3::CounterCalculator::Update() [member function] - cls.add_method('Update', - 'void', - []) - ## basic-data-calculators.h: void ns3::CounterCalculator::Update(unsigned int const i) [member function] - cls.add_method('Update', - 'void', - [param('unsigned int const', 'i')]) - ## basic-data-calculators.h: void ns3::CounterCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3PacketCounterCalculator_methods(root_module, cls): - ## packet-data-calculators.h: ns3::PacketCounterCalculator::PacketCounterCalculator(ns3::PacketCounterCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketCounterCalculator const &', 'arg0')]) - ## packet-data-calculators.h: ns3::PacketCounterCalculator::PacketCounterCalculator() [constructor] - cls.add_constructor([]) - ## packet-data-calculators.h: void ns3::PacketCounterCalculator::FrameUpdate(std::string path, ns3::Ptr packet, ns3::Mac48Address realto) [member function] - cls.add_method('FrameUpdate', - 'void', - [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'realto')]) - ## packet-data-calculators.h: void ns3::PacketCounterCalculator::PacketUpdate(std::string path, ns3::Ptr packet) [member function] - cls.add_method('PacketUpdate', - 'void', - [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## packet-data-calculators.h: void ns3::PacketCounterCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## data-calculator.h: bool ns3::isNaN(double x) [free function] - module.add_function('isNaN', - 'bool', - [param('double', 'x')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_tap_bridge.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_tap_bridge.py deleted file mode 100644 index c4b95df40..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_tap_bridge.py +++ /dev/null @@ -1,366 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## tap-bridge-helper.h: ns3::TapBridgeHelper [class] - module.add_class('TapBridgeHelper') - ## tap-bridge.h: ns3::TapBridge [class] - module.add_class('TapBridge', parent=root_module['ns3::NetDevice']) - ## tap-bridge.h: ns3::TapBridge::Mode [enumeration] - module.add_enum('Mode', ['ILLEGAL', 'CONFIGURE_LOCAL', 'USE_LOCAL', 'USE_BRIDGE'], outer_class=root_module['ns3::TapBridge']) - ## tap-bridge.h: ns3::TapBridgeFdReader [class] - module.add_class('TapBridgeFdReader', parent=root_module['ns3::FdReader']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3TapBridgeHelper_methods(root_module, root_module['ns3::TapBridgeHelper']) - register_Ns3TapBridge_methods(root_module, root_module['ns3::TapBridge']) - register_Ns3TapBridgeFdReader_methods(root_module, root_module['ns3::TapBridgeFdReader']) - return - -def register_Ns3TapBridgeHelper_methods(root_module, cls): - ## tap-bridge-helper.h: ns3::TapBridgeHelper::TapBridgeHelper(ns3::TapBridgeHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TapBridgeHelper const &', 'arg0')]) - ## tap-bridge-helper.h: ns3::TapBridgeHelper::TapBridgeHelper() [constructor] - cls.add_constructor([]) - ## tap-bridge-helper.h: ns3::TapBridgeHelper::TapBridgeHelper(ns3::Ipv4Address gateway) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'gateway')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(ns3::Ptr node, ns3::Ptr nd) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(std::string nodeName, ns3::Ptr nd) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('std::string', 'nodeName'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(ns3::Ptr node, std::string ndName) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'ndName')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(std::string nodeName, std::string ndName) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('std::string', 'nodeName'), param('std::string', 'ndName')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(ns3::Ptr node, ns3::Ptr nd, ns3::AttributeValue const & bridgeType) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('ns3::AttributeValue const &', 'bridgeType')]) - ## tap-bridge-helper.h: void ns3::TapBridgeHelper::SetAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - return - -def register_Ns3TapBridge_methods(root_module, cls): - ## tap-bridge.h: ns3::TapBridge::TapBridge(ns3::TapBridge const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TapBridge const &', 'arg0')]) - ## tap-bridge.h: ns3::TapBridge::TapBridge() [constructor] - cls.add_constructor([]) - ## tap-bridge.h: void ns3::TapBridge::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')], - is_virtual=True) - ## tap-bridge.h: ns3::Address ns3::TapBridge::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Ptr ns3::TapBridge::GetBridgedNetDevice() [member function] - cls.add_method('GetBridgedNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## tap-bridge.h: ns3::Address ns3::TapBridge::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Ptr ns3::TapBridge::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: uint32_t ns3::TapBridge::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::TapBridge::Mode ns3::TapBridge::GetMode() [member function] - cls.add_method('GetMode', - 'ns3::TapBridge::Mode', - []) - ## tap-bridge.h: uint16_t ns3::TapBridge::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Address ns3::TapBridge::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Address ns3::TapBridge::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Ptr ns3::TapBridge::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: static ns3::TypeId ns3::TapBridge::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tap-bridge.h: bool ns3::TapBridge::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetBridgedNetDevice(ns3::Ptr bridgedDevice) [member function] - cls.add_method('SetBridgedNetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'bridgedDevice')]) - ## tap-bridge.h: void ns3::TapBridge::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetMode(ns3::TapBridge::Mode mode) [member function] - cls.add_method('SetMode', - 'void', - [param('ns3::TapBridge::Mode', 'mode')]) - ## tap-bridge.h: bool ns3::TapBridge::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::Start(ns3::Time tStart) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time', 'tStart')]) - ## tap-bridge.h: void ns3::TapBridge::Stop(ns3::Time tStop) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time', 'tStop')]) - ## tap-bridge.h: bool ns3::TapBridge::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::DiscardFromBridgedDevice(ns3::Ptr device, ns3::Ptr packet, uint16_t protocol, ns3::Address const & src) [member function] - cls.add_method('DiscardFromBridgedDevice', - 'bool', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'src')], - visibility='protected') - ## tap-bridge.h: void ns3::TapBridge::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::ReceiveFromBridgedDevice(ns3::Ptr device, ns3::Ptr packet, uint16_t protocol, ns3::Address const & src, ns3::Address const & dst, ns3::NetDevice::PacketType packetType) [member function] - cls.add_method('ReceiveFromBridgedDevice', - 'bool', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'src'), param('ns3::Address const &', 'dst'), param('ns3::NetDevice::PacketType', 'packetType')], - visibility='protected') - return - -def register_Ns3TapBridgeFdReader_methods(root_module, cls): - ## tap-bridge.h: ns3::TapBridgeFdReader::TapBridgeFdReader() [constructor] - cls.add_constructor([]) - ## tap-bridge.h: ns3::TapBridgeFdReader::TapBridgeFdReader(ns3::TapBridgeFdReader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TapBridgeFdReader const &', 'arg0')]) - ## tap-bridge.h: ns3::FdReader::Data ns3::TapBridgeFdReader::DoRead() [member function] - cls.add_method('DoRead', - 'ns3::FdReader::Data', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_tools.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_tools.py deleted file mode 100644 index b64995930..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_tools.py +++ /dev/null @@ -1,448 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## average.h: ns3::Average [class] - module.add_class('Average', template_parameters=['double']) - ## delay-jitter-estimation.h: ns3::DelayJitterEstimation [class] - module.add_class('DelayJitterEstimation') - ## event-garbage-collector.h: ns3::EventGarbageCollector [class] - module.add_class('EventGarbageCollector') - ## gnuplot.h: ns3::Gnuplot [class] - module.add_class('Gnuplot') - ## gnuplot.h: ns3::GnuplotCollection [class] - module.add_class('GnuplotCollection') - ## gnuplot.h: ns3::GnuplotDataset [class] - module.add_class('GnuplotDataset') - ## gnuplot.h: ns3::Gnuplot2dDataset [class] - module.add_class('Gnuplot2dDataset', parent=root_module['ns3::GnuplotDataset']) - ## gnuplot.h: ns3::Gnuplot2dDataset::Style [enumeration] - module.add_enum('Style', ['LINES', 'POINTS', 'LINES_POINTS', 'DOTS', 'IMPULSES', 'STEPS', 'FSTEPS', 'HISTEPS'], outer_class=root_module['ns3::Gnuplot2dDataset']) - ## gnuplot.h: ns3::Gnuplot2dDataset::ErrorBars [enumeration] - module.add_enum('ErrorBars', ['NONE', 'X', 'Y', 'XY'], outer_class=root_module['ns3::Gnuplot2dDataset']) - ## gnuplot.h: ns3::Gnuplot2dFunction [class] - module.add_class('Gnuplot2dFunction', parent=root_module['ns3::GnuplotDataset']) - ## gnuplot.h: ns3::Gnuplot3dDataset [class] - module.add_class('Gnuplot3dDataset', parent=root_module['ns3::GnuplotDataset']) - ## gnuplot.h: ns3::Gnuplot3dFunction [class] - module.add_class('Gnuplot3dFunction', parent=root_module['ns3::GnuplotDataset']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Average__Double_methods(root_module, root_module['ns3::Average< double >']) - register_Ns3DelayJitterEstimation_methods(root_module, root_module['ns3::DelayJitterEstimation']) - register_Ns3EventGarbageCollector_methods(root_module, root_module['ns3::EventGarbageCollector']) - register_Ns3Gnuplot_methods(root_module, root_module['ns3::Gnuplot']) - register_Ns3GnuplotCollection_methods(root_module, root_module['ns3::GnuplotCollection']) - register_Ns3GnuplotDataset_methods(root_module, root_module['ns3::GnuplotDataset']) - register_Ns3Gnuplot2dDataset_methods(root_module, root_module['ns3::Gnuplot2dDataset']) - register_Ns3Gnuplot2dFunction_methods(root_module, root_module['ns3::Gnuplot2dFunction']) - register_Ns3Gnuplot3dDataset_methods(root_module, root_module['ns3::Gnuplot3dDataset']) - register_Ns3Gnuplot3dFunction_methods(root_module, root_module['ns3::Gnuplot3dFunction']) - return - -def register_Ns3Average__Double_methods(root_module, cls): - ## average.h: ns3::Average::Average(ns3::Average const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Average< double > const &', 'arg0')]) - ## average.h: ns3::Average::Average() [constructor] - cls.add_constructor([]) - ## average.h: double ns3::Average::Avg() const [member function] - cls.add_method('Avg', - 'double', - [], - is_const=True) - ## average.h: uint32_t ns3::Average::Count() const [member function] - cls.add_method('Count', - 'uint32_t', - [], - is_const=True) - ## average.h: double ns3::Average::Error90() const [member function] - cls.add_method('Error90', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Error95() const [member function] - cls.add_method('Error95', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Error99() const [member function] - cls.add_method('Error99', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Max() const [member function] - cls.add_method('Max', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Mean() const [member function] - cls.add_method('Mean', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Min() const [member function] - cls.add_method('Min', - 'double', - [], - is_const=True) - ## average.h: void ns3::Average::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## average.h: double ns3::Average::Stddev() const [member function] - cls.add_method('Stddev', - 'double', - [], - is_const=True) - ## average.h: void ns3::Average::Update(double const & x) [member function] - cls.add_method('Update', - 'void', - [param('double const &', 'x')]) - ## average.h: double ns3::Average::Var() const [member function] - cls.add_method('Var', - 'double', - [], - is_const=True) - return - -def register_Ns3DelayJitterEstimation_methods(root_module, cls): - ## delay-jitter-estimation.h: ns3::DelayJitterEstimation::DelayJitterEstimation(ns3::DelayJitterEstimation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DelayJitterEstimation const &', 'arg0')]) - ## delay-jitter-estimation.h: ns3::DelayJitterEstimation::DelayJitterEstimation() [constructor] - cls.add_constructor([]) - ## delay-jitter-estimation.h: ns3::Time ns3::DelayJitterEstimation::GetLastDelay() const [member function] - cls.add_method('GetLastDelay', - 'ns3::Time', - [], - is_const=True) - ## delay-jitter-estimation.h: uint64_t ns3::DelayJitterEstimation::GetLastJitter() const [member function] - cls.add_method('GetLastJitter', - 'uint64_t', - [], - is_const=True) - ## delay-jitter-estimation.h: static void ns3::DelayJitterEstimation::PrepareTx(ns3::Ptr packet) [member function] - cls.add_method('PrepareTx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')], - is_static=True) - ## delay-jitter-estimation.h: void ns3::DelayJitterEstimation::RecordRx(ns3::Ptr packet) [member function] - cls.add_method('RecordRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - return - -def register_Ns3EventGarbageCollector_methods(root_module, cls): - ## event-garbage-collector.h: ns3::EventGarbageCollector::EventGarbageCollector(ns3::EventGarbageCollector const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventGarbageCollector const &', 'arg0')]) - ## event-garbage-collector.h: ns3::EventGarbageCollector::EventGarbageCollector() [constructor] - cls.add_constructor([]) - ## event-garbage-collector.h: void ns3::EventGarbageCollector::Track(ns3::EventId event) [member function] - cls.add_method('Track', - 'void', - [param('ns3::EventId', 'event')]) - return - -def register_Ns3Gnuplot_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot::Gnuplot(ns3::Gnuplot const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot::Gnuplot(std::string const & outputFilename="", std::string const & title="") [constructor] - cls.add_constructor([param('std::string const &', 'outputFilename', default_value='""'), param('std::string const &', 'title', default_value='""')]) - ## gnuplot.h: void ns3::Gnuplot::AddDataset(ns3::GnuplotDataset const & dataset) [member function] - cls.add_method('AddDataset', - 'void', - [param('ns3::GnuplotDataset const &', 'dataset')]) - ## gnuplot.h: void ns3::Gnuplot::AppendExtra(std::string const & extra) [member function] - cls.add_method('AppendExtra', - 'void', - [param('std::string const &', 'extra')]) - ## gnuplot.h: static std::string ns3::Gnuplot::DetectTerminal(std::string const & filename) [member function] - cls.add_method('DetectTerminal', - 'std::string', - [param('std::string const &', 'filename')], - is_static=True) - ## gnuplot.h: void ns3::Gnuplot::GenerateOutput(std::ostream & os) const [member function] - cls.add_method('GenerateOutput', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## gnuplot.h: void ns3::Gnuplot::SetExtra(std::string const & extra) [member function] - cls.add_method('SetExtra', - 'void', - [param('std::string const &', 'extra')]) - ## gnuplot.h: void ns3::Gnuplot::SetLegend(std::string const & xLegend, std::string const & yLegend) [member function] - cls.add_method('SetLegend', - 'void', - [param('std::string const &', 'xLegend'), param('std::string const &', 'yLegend')]) - ## gnuplot.h: void ns3::Gnuplot::SetTerminal(std::string const & terminal) [member function] - cls.add_method('SetTerminal', - 'void', - [param('std::string const &', 'terminal')]) - ## gnuplot.h: void ns3::Gnuplot::SetTitle(std::string const & title) [member function] - cls.add_method('SetTitle', - 'void', - [param('std::string const &', 'title')]) - return - -def register_Ns3GnuplotCollection_methods(root_module, cls): - ## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(ns3::GnuplotCollection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GnuplotCollection const &', 'arg0')]) - ## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(std::string const & outputFilename) [constructor] - cls.add_constructor([param('std::string const &', 'outputFilename')]) - ## gnuplot.h: void ns3::GnuplotCollection::AddPlot(ns3::Gnuplot const & plot) [member function] - cls.add_method('AddPlot', - 'void', - [param('ns3::Gnuplot const &', 'plot')]) - ## gnuplot.h: void ns3::GnuplotCollection::GenerateOutput(std::ostream & os) const [member function] - cls.add_method('GenerateOutput', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## gnuplot.h: ns3::Gnuplot & ns3::GnuplotCollection::GetPlot(unsigned int id) [member function] - cls.add_method('GetPlot', - 'ns3::Gnuplot &', - [param('unsigned int', 'id')]) - ## gnuplot.h: void ns3::GnuplotCollection::SetTerminal(std::string const & terminal) [member function] - cls.add_method('SetTerminal', - 'void', - [param('std::string const &', 'terminal')]) - return - -def register_Ns3GnuplotDataset_methods(root_module, cls): - ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset const & original) [copy constructor] - cls.add_constructor([param('ns3::GnuplotDataset const &', 'original')]) - ## gnuplot.h: static void ns3::GnuplotDataset::SetDefaultExtra(std::string const & extra) [member function] - cls.add_method('SetDefaultExtra', - 'void', - [param('std::string const &', 'extra')], - is_static=True) - ## gnuplot.h: void ns3::GnuplotDataset::SetExtra(std::string const & extra) [member function] - cls.add_method('SetExtra', - 'void', - [param('std::string const &', 'extra')]) - ## gnuplot.h: void ns3::GnuplotDataset::SetTitle(std::string const & title) [member function] - cls.add_method('SetTitle', - 'void', - [param('std::string const &', 'title')]) - ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset::Data * data) [constructor] - cls.add_constructor([param('ns3::GnuplotDataset::Data *', 'data')], - visibility='protected') - return - -def register_Ns3Gnuplot2dDataset_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot2dDataset::Gnuplot2dDataset(ns3::Gnuplot2dDataset const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot2dDataset const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot2dDataset::Gnuplot2dDataset(std::string const & title="Untitled") [constructor] - cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y) [member function] - cls.add_method('Add', - 'void', - [param('double', 'x'), param('double', 'y')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y, double errorDelta) [member function] - cls.add_method('Add', - 'void', - [param('double', 'x'), param('double', 'y'), param('double', 'errorDelta')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y, double minY, double maxY) [member function] - cls.add_method('Add', - 'void', - [param('double', 'x'), param('double', 'y'), param('double', 'minY'), param('double', 'maxY')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::AddEmptyLine() [member function] - cls.add_method('AddEmptyLine', - 'void', - []) - ## gnuplot.h: static void ns3::Gnuplot2dDataset::SetDefaultErrorBars(ns3::Gnuplot2dDataset::ErrorBars errorBars) [member function] - cls.add_method('SetDefaultErrorBars', - 'void', - [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')], - is_static=True) - ## gnuplot.h: static void ns3::Gnuplot2dDataset::SetDefaultStyle(ns3::Gnuplot2dDataset::Style style) [member function] - cls.add_method('SetDefaultStyle', - 'void', - [param('ns3::Gnuplot2dDataset::Style', 'style')], - is_static=True) - ## gnuplot.h: void ns3::Gnuplot2dDataset::SetErrorBars(ns3::Gnuplot2dDataset::ErrorBars errorBars) [member function] - cls.add_method('SetErrorBars', - 'void', - [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::SetStyle(ns3::Gnuplot2dDataset::Style style) [member function] - cls.add_method('SetStyle', - 'void', - [param('ns3::Gnuplot2dDataset::Style', 'style')]) - return - -def register_Ns3Gnuplot2dFunction_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot2dFunction::Gnuplot2dFunction(ns3::Gnuplot2dFunction const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot2dFunction const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot2dFunction::Gnuplot2dFunction(std::string const & title="Untitled", std::string const & function="") [constructor] - cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"'), param('std::string const &', 'function', default_value='""')]) - ## gnuplot.h: void ns3::Gnuplot2dFunction::SetFunction(std::string const & function) [member function] - cls.add_method('SetFunction', - 'void', - [param('std::string const &', 'function')]) - return - -def register_Ns3Gnuplot3dDataset_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot3dDataset::Gnuplot3dDataset(ns3::Gnuplot3dDataset const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot3dDataset const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot3dDataset::Gnuplot3dDataset(std::string const & title="Untitled") [constructor] - cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"')]) - ## gnuplot.h: void ns3::Gnuplot3dDataset::Add(double x, double y, double z) [member function] - cls.add_method('Add', - 'void', - [param('double', 'x'), param('double', 'y'), param('double', 'z')]) - ## gnuplot.h: void ns3::Gnuplot3dDataset::AddEmptyLine() [member function] - cls.add_method('AddEmptyLine', - 'void', - []) - ## gnuplot.h: static void ns3::Gnuplot3dDataset::SetDefaultStyle(std::string const & style) [member function] - cls.add_method('SetDefaultStyle', - 'void', - [param('std::string const &', 'style')], - is_static=True) - ## gnuplot.h: void ns3::Gnuplot3dDataset::SetStyle(std::string const & style) [member function] - cls.add_method('SetStyle', - 'void', - [param('std::string const &', 'style')]) - return - -def register_Ns3Gnuplot3dFunction_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot3dFunction::Gnuplot3dFunction(ns3::Gnuplot3dFunction const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot3dFunction const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot3dFunction::Gnuplot3dFunction(std::string const & title="Untitled", std::string const & function="") [constructor] - cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"'), param('std::string const &', 'function', default_value='""')]) - ## gnuplot.h: void ns3::Gnuplot3dFunction::SetFunction(std::string const & function) [member function] - cls.add_method('SetFunction', - 'void', - [param('std::string const &', 'function')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_topology_read.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_topology_read.py deleted file mode 100644 index fb8a02b1b..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_topology_read.py +++ /dev/null @@ -1,316 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## topology-reader-helper.h: ns3::TopologyReaderHelper [class] - module.add_class('TopologyReaderHelper') - ## topology-reader.h: ns3::TopologyReader [class] - module.add_class('TopologyReader', parent=root_module['ns3::Object']) - ## topology-reader.h: ns3::TopologyReader::Link [class] - module.add_class('Link', outer_class=root_module['ns3::TopologyReader']) - ## inet-topology-reader.h: ns3::InetTopologyReader [class] - module.add_class('InetTopologyReader', parent=root_module['ns3::TopologyReader']) - ## orbis-topology-reader.h: ns3::OrbisTopologyReader [class] - module.add_class('OrbisTopologyReader', parent=root_module['ns3::TopologyReader']) - ## rocketfuel-topology-reader.h: ns3::RocketfuelTopologyReader [class] - module.add_class('RocketfuelTopologyReader', parent=root_module['ns3::TopologyReader']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3TopologyReaderHelper_methods(root_module, root_module['ns3::TopologyReaderHelper']) - register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader']) - register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link']) - register_Ns3InetTopologyReader_methods(root_module, root_module['ns3::InetTopologyReader']) - register_Ns3OrbisTopologyReader_methods(root_module, root_module['ns3::OrbisTopologyReader']) - register_Ns3RocketfuelTopologyReader_methods(root_module, root_module['ns3::RocketfuelTopologyReader']) - return - -def register_Ns3TopologyReaderHelper_methods(root_module, cls): - ## topology-reader-helper.h: ns3::TopologyReaderHelper::TopologyReaderHelper(ns3::TopologyReaderHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TopologyReaderHelper const &', 'arg0')]) - ## topology-reader-helper.h: ns3::TopologyReaderHelper::TopologyReaderHelper() [constructor] - cls.add_constructor([]) - ## topology-reader-helper.h: ns3::Ptr ns3::TopologyReaderHelper::GetTopologyReader() [member function] - cls.add_method('GetTopologyReader', - 'ns3::Ptr< ns3::TopologyReader >', - []) - ## topology-reader-helper.h: void ns3::TopologyReaderHelper::SetFileName(std::string const fileName) [member function] - cls.add_method('SetFileName', - 'void', - [param('std::string const', 'fileName')]) - ## topology-reader-helper.h: void ns3::TopologyReaderHelper::SetFileType(std::string const fileType) [member function] - cls.add_method('SetFileType', - 'void', - [param('std::string const', 'fileType')]) - return - -def register_Ns3TopologyReader_methods(root_module, cls): - ## topology-reader.h: ns3::TopologyReader::TopologyReader() [constructor] - cls.add_constructor([]) - ## topology-reader.h: void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function] - cls.add_method('AddLink', - 'void', - [param('ns3::TopologyReader::Link', 'link')]) - ## topology-reader.h: std::string ns3::TopologyReader::GetFileName() const [member function] - cls.add_method('GetFileName', - 'std::string', - [], - is_const=True) - ## topology-reader.h: static ns3::TypeId ns3::TopologyReader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## topology-reader.h: std::_List_const_iterator ns3::TopologyReader::LinksBegin() const [member function] - cls.add_method('LinksBegin', - 'std::_List_const_iterator< ns3::TopologyReader::Link >', - [], - is_const=True) - ## topology-reader.h: bool ns3::TopologyReader::LinksEmpty() const [member function] - cls.add_method('LinksEmpty', - 'bool', - [], - is_const=True) - ## topology-reader.h: std::_List_const_iterator ns3::TopologyReader::LinksEnd() const [member function] - cls.add_method('LinksEnd', - 'std::_List_const_iterator< ns3::TopologyReader::Link >', - [], - is_const=True) - ## topology-reader.h: int ns3::TopologyReader::LinksSize() const [member function] - cls.add_method('LinksSize', - 'int', - [], - is_const=True) - ## topology-reader.h: ns3::NodeContainer ns3::TopologyReader::Read() [member function] - cls.add_method('Read', - 'ns3::NodeContainer', - [], - is_pure_virtual=True, is_virtual=True) - ## topology-reader.h: void ns3::TopologyReader::SetFileName(std::string const fileName) [member function] - cls.add_method('SetFileName', - 'void', - [param('std::string const', 'fileName')]) - return - -def register_Ns3TopologyReaderLink_methods(root_module, cls): - ## topology-reader.h: ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')]) - ## topology-reader.h: ns3::TopologyReader::Link::Link(ns3::Ptr fromPtr, std::string fromName, ns3::Ptr toPtr, std::string toName) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'fromPtr'), param('std::string', 'fromName'), param('ns3::Ptr< ns3::Node >', 'toPtr'), param('std::string', 'toName')]) - ## topology-reader.h: std::_Rb_tree_const_iterator, std::allocator >, std::basic_string, std::allocator > > > ns3::TopologyReader::Link::AttributesBegin() [member function] - cls.add_method('AttributesBegin', - 'std::_Rb_tree_const_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', - []) - ## topology-reader.h: std::_Rb_tree_const_iterator, std::allocator >, std::basic_string, std::allocator > > > ns3::TopologyReader::Link::AttributesEnd() [member function] - cls.add_method('AttributesEnd', - 'std::_Rb_tree_const_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', - []) - ## topology-reader.h: std::string ns3::TopologyReader::Link::GetAttribute(std::string name) [member function] - cls.add_method('GetAttribute', - 'std::string', - [param('std::string', 'name')]) - ## topology-reader.h: bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string name, std::string & value) [member function] - cls.add_method('GetAttributeFailSafe', - 'bool', - [param('std::string', 'name'), param('std::string &', 'value')]) - ## topology-reader.h: ns3::Ptr ns3::TopologyReader::Link::GetFromNode() const [member function] - cls.add_method('GetFromNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## topology-reader.h: std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function] - cls.add_method('GetFromNodeName', - 'std::string', - [], - is_const=True) - ## topology-reader.h: ns3::Ptr ns3::TopologyReader::Link::GetToNode() const [member function] - cls.add_method('GetToNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## topology-reader.h: std::string ns3::TopologyReader::Link::GetToNodeName() const [member function] - cls.add_method('GetToNodeName', - 'std::string', - [], - is_const=True) - ## topology-reader.h: void ns3::TopologyReader::Link::SetAttribute(std::string name, std::string & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('std::string &', 'value')]) - return - -def register_Ns3InetTopologyReader_methods(root_module, cls): - ## inet-topology-reader.h: static ns3::TypeId ns3::InetTopologyReader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## inet-topology-reader.h: ns3::InetTopologyReader::InetTopologyReader() [constructor] - cls.add_constructor([]) - ## inet-topology-reader.h: ns3::NodeContainer ns3::InetTopologyReader::Read() [member function] - cls.add_method('Read', - 'ns3::NodeContainer', - [], - is_virtual=True) - return - -def register_Ns3OrbisTopologyReader_methods(root_module, cls): - ## orbis-topology-reader.h: static ns3::TypeId ns3::OrbisTopologyReader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## orbis-topology-reader.h: ns3::OrbisTopologyReader::OrbisTopologyReader() [constructor] - cls.add_constructor([]) - ## orbis-topology-reader.h: ns3::NodeContainer ns3::OrbisTopologyReader::Read() [member function] - cls.add_method('Read', - 'ns3::NodeContainer', - [], - is_virtual=True) - return - -def register_Ns3RocketfuelTopologyReader_methods(root_module, cls): - ## rocketfuel-topology-reader.h: static ns3::TypeId ns3::RocketfuelTopologyReader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rocketfuel-topology-reader.h: ns3::RocketfuelTopologyReader::RocketfuelTopologyReader() [constructor] - cls.add_constructor([]) - ## rocketfuel-topology-reader.h: ns3::NodeContainer ns3::RocketfuelTopologyReader::Read() [member function] - cls.add_method('Read', - 'ns3::NodeContainer', - [], - is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_uan.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_uan.py deleted file mode 100644 index 319b8c499..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_uan.py +++ /dev/null @@ -1,2912 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## uan-mac-rc.h: ns3::Reservation [class] - module.add_class('Reservation') - ## uan-prop-model.h: ns3::Tap [class] - module.add_class('Tap') - ## uan-address.h: ns3::UanAddress [class] - module.add_class('UanAddress') - ## uan-address.h: ns3::UanAddress [class] - root_module['ns3::UanAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## uan-helper.h: ns3::UanHelper [class] - module.add_class('UanHelper') - ## uan-tx-mode.h: ns3::UanModesList [class] - module.add_class('UanModesList') - ## uan-transducer.h: ns3::UanPacketArrival [class] - module.add_class('UanPacketArrival') - ## uan-prop-model.h: ns3::UanPdp [class] - module.add_class('UanPdp') - ## uan-phy.h: ns3::UanPhyListener [class] - module.add_class('UanPhyListener', allow_subclassing=True) - ## uan-tx-mode.h: ns3::UanTxMode [class] - module.add_class('UanTxMode') - ## uan-tx-mode.h: ns3::UanTxMode::ModulationType [enumeration] - module.add_enum('ModulationType', ['PSK', 'QAM', 'FSK', 'OTHER'], outer_class=root_module['ns3::UanTxMode']) - ## uan-tx-mode.h: ns3::UanTxModeFactory [class] - module.add_class('UanTxModeFactory') - ## acoustic-modem-energy-model-helper.h: ns3::AcousticModemEnergyModelHelper [class] - module.add_class('AcousticModemEnergyModelHelper', parent=root_module['ns3::DeviceEnergyModelHelper']) - ## uan-header-common.h: ns3::UanHeaderCommon [class] - module.add_class('UanHeaderCommon', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcAck [class] - module.add_class('UanHeaderRcAck', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcCts [class] - module.add_class('UanHeaderRcCts', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcCtsGlobal [class] - module.add_class('UanHeaderRcCtsGlobal', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcData [class] - module.add_class('UanHeaderRcData', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcRts [class] - module.add_class('UanHeaderRcRts', parent=root_module['ns3::Header']) - ## uan-mac.h: ns3::UanMac [class] - module.add_class('UanMac', parent=root_module['ns3::Object']) - ## uan-mac-aloha.h: ns3::UanMacAloha [class] - module.add_class('UanMacAloha', parent=root_module['ns3::UanMac']) - ## uan-mac-cw.h: ns3::UanMacCw [class] - module.add_class('UanMacCw', parent=[root_module['ns3::UanMac'], root_module['ns3::UanPhyListener']]) - ## uan-mac-rc.h: ns3::UanMacRc [class] - module.add_class('UanMacRc', parent=root_module['ns3::UanMac']) - ## uan-mac-rc.h: ns3::UanMacRc [enumeration] - module.add_enum('', ['TYPE_DATA', 'TYPE_GWPING', 'TYPE_RTS', 'TYPE_CTS', 'TYPE_ACK'], outer_class=root_module['ns3::UanMacRc']) - ## uan-mac-rc-gw.h: ns3::UanMacRcGw [class] - module.add_class('UanMacRcGw', parent=root_module['ns3::UanMac']) - ## uan-noise-model.h: ns3::UanNoiseModel [class] - module.add_class('UanNoiseModel', parent=root_module['ns3::Object']) - ## uan-noise-model-default.h: ns3::UanNoiseModelDefault [class] - module.add_class('UanNoiseModelDefault', parent=root_module['ns3::UanNoiseModel']) - ## uan-phy.h: ns3::UanPhy [class] - module.add_class('UanPhy', parent=root_module['ns3::Object']) - ## uan-phy.h: ns3::UanPhy::State [enumeration] - module.add_enum('State', ['IDLE', 'CCABUSY', 'RX', 'TX', 'SLEEP'], outer_class=root_module['ns3::UanPhy']) - ## uan-phy.h: ns3::UanPhyCalcSinr [class] - module.add_class('UanPhyCalcSinr', parent=root_module['ns3::Object']) - ## uan-phy-gen.h: ns3::UanPhyCalcSinrDefault [class] - module.add_class('UanPhyCalcSinrDefault', parent=root_module['ns3::UanPhyCalcSinr']) - ## uan-phy-dual.h: ns3::UanPhyCalcSinrDual [class] - module.add_class('UanPhyCalcSinrDual', parent=root_module['ns3::UanPhyCalcSinr']) - ## uan-phy-gen.h: ns3::UanPhyCalcSinrFhFsk [class] - module.add_class('UanPhyCalcSinrFhFsk', parent=root_module['ns3::UanPhyCalcSinr']) - ## uan-phy-dual.h: ns3::UanPhyDual [class] - module.add_class('UanPhyDual', parent=root_module['ns3::UanPhy']) - ## uan-phy-gen.h: ns3::UanPhyGen [class] - module.add_class('UanPhyGen', parent=root_module['ns3::UanPhy']) - ## uan-phy.h: ns3::UanPhyPer [class] - module.add_class('UanPhyPer', parent=root_module['ns3::Object']) - ## uan-phy-gen.h: ns3::UanPhyPerGenDefault [class] - module.add_class('UanPhyPerGenDefault', parent=root_module['ns3::UanPhyPer']) - ## uan-phy-gen.h: ns3::UanPhyPerUmodem [class] - module.add_class('UanPhyPerUmodem', parent=root_module['ns3::UanPhyPer']) - ## uan-prop-model.h: ns3::UanPropModel [class] - module.add_class('UanPropModel', parent=root_module['ns3::Object']) - ## uan-prop-model-ideal.h: ns3::UanPropModelIdeal [class] - module.add_class('UanPropModelIdeal', parent=root_module['ns3::UanPropModel']) - ## uan-prop-model-thorp.h: ns3::UanPropModelThorp [class] - module.add_class('UanPropModelThorp', parent=root_module['ns3::UanPropModel']) - ## uan-transducer.h: ns3::UanTransducer [class] - module.add_class('UanTransducer', parent=root_module['ns3::Object']) - ## uan-transducer.h: ns3::UanTransducer::State [enumeration] - module.add_enum('State', ['TX', 'RX'], outer_class=root_module['ns3::UanTransducer']) - ## uan-transducer-hd.h: ns3::UanTransducerHd [class] - module.add_class('UanTransducerHd', parent=root_module['ns3::UanTransducer']) - ## uan-channel.h: ns3::UanChannel [class] - module.add_class('UanChannel', parent=root_module['ns3::Channel']) - ## uan-tx-mode.h: ns3::UanModesListChecker [class] - module.add_class('UanModesListChecker', parent=root_module['ns3::AttributeChecker']) - ## uan-tx-mode.h: ns3::UanModesListValue [class] - module.add_class('UanModesListValue', parent=root_module['ns3::AttributeValue']) - ## uan-net-device.h: ns3::UanNetDevice [class] - module.add_class('UanNetDevice', parent=root_module['ns3::NetDevice']) - ## acoustic-modem-energy-model.h: ns3::AcousticModemEnergyModel [class] - module.add_class('AcousticModemEnergyModel', parent=root_module['ns3::DeviceEnergyModel']) - module.add_container('std::vector< ns3::Tap >', 'ns3::Tap', container_type='vector') - module.add_container('std::list< ns3::UanPacketArrival >', 'ns3::UanPacketArrival', container_type='list') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Reservation_methods(root_module, root_module['ns3::Reservation']) - register_Ns3Tap_methods(root_module, root_module['ns3::Tap']) - register_Ns3UanAddress_methods(root_module, root_module['ns3::UanAddress']) - register_Ns3UanHelper_methods(root_module, root_module['ns3::UanHelper']) - register_Ns3UanModesList_methods(root_module, root_module['ns3::UanModesList']) - register_Ns3UanPacketArrival_methods(root_module, root_module['ns3::UanPacketArrival']) - register_Ns3UanPdp_methods(root_module, root_module['ns3::UanPdp']) - register_Ns3UanPhyListener_methods(root_module, root_module['ns3::UanPhyListener']) - register_Ns3UanTxMode_methods(root_module, root_module['ns3::UanTxMode']) - register_Ns3UanTxModeFactory_methods(root_module, root_module['ns3::UanTxModeFactory']) - register_Ns3AcousticModemEnergyModelHelper_methods(root_module, root_module['ns3::AcousticModemEnergyModelHelper']) - register_Ns3UanHeaderCommon_methods(root_module, root_module['ns3::UanHeaderCommon']) - register_Ns3UanHeaderRcAck_methods(root_module, root_module['ns3::UanHeaderRcAck']) - register_Ns3UanHeaderRcCts_methods(root_module, root_module['ns3::UanHeaderRcCts']) - register_Ns3UanHeaderRcCtsGlobal_methods(root_module, root_module['ns3::UanHeaderRcCtsGlobal']) - register_Ns3UanHeaderRcData_methods(root_module, root_module['ns3::UanHeaderRcData']) - register_Ns3UanHeaderRcRts_methods(root_module, root_module['ns3::UanHeaderRcRts']) - register_Ns3UanMac_methods(root_module, root_module['ns3::UanMac']) - register_Ns3UanMacAloha_methods(root_module, root_module['ns3::UanMacAloha']) - register_Ns3UanMacCw_methods(root_module, root_module['ns3::UanMacCw']) - register_Ns3UanMacRc_methods(root_module, root_module['ns3::UanMacRc']) - register_Ns3UanMacRcGw_methods(root_module, root_module['ns3::UanMacRcGw']) - register_Ns3UanNoiseModel_methods(root_module, root_module['ns3::UanNoiseModel']) - register_Ns3UanNoiseModelDefault_methods(root_module, root_module['ns3::UanNoiseModelDefault']) - register_Ns3UanPhy_methods(root_module, root_module['ns3::UanPhy']) - register_Ns3UanPhyCalcSinr_methods(root_module, root_module['ns3::UanPhyCalcSinr']) - register_Ns3UanPhyCalcSinrDefault_methods(root_module, root_module['ns3::UanPhyCalcSinrDefault']) - register_Ns3UanPhyCalcSinrDual_methods(root_module, root_module['ns3::UanPhyCalcSinrDual']) - register_Ns3UanPhyCalcSinrFhFsk_methods(root_module, root_module['ns3::UanPhyCalcSinrFhFsk']) - register_Ns3UanPhyDual_methods(root_module, root_module['ns3::UanPhyDual']) - register_Ns3UanPhyGen_methods(root_module, root_module['ns3::UanPhyGen']) - register_Ns3UanPhyPer_methods(root_module, root_module['ns3::UanPhyPer']) - register_Ns3UanPhyPerGenDefault_methods(root_module, root_module['ns3::UanPhyPerGenDefault']) - register_Ns3UanPhyPerUmodem_methods(root_module, root_module['ns3::UanPhyPerUmodem']) - register_Ns3UanPropModel_methods(root_module, root_module['ns3::UanPropModel']) - register_Ns3UanPropModelIdeal_methods(root_module, root_module['ns3::UanPropModelIdeal']) - register_Ns3UanPropModelThorp_methods(root_module, root_module['ns3::UanPropModelThorp']) - register_Ns3UanTransducer_methods(root_module, root_module['ns3::UanTransducer']) - register_Ns3UanTransducerHd_methods(root_module, root_module['ns3::UanTransducerHd']) - register_Ns3UanChannel_methods(root_module, root_module['ns3::UanChannel']) - register_Ns3UanModesListChecker_methods(root_module, root_module['ns3::UanModesListChecker']) - register_Ns3UanModesListValue_methods(root_module, root_module['ns3::UanModesListValue']) - register_Ns3UanNetDevice_methods(root_module, root_module['ns3::UanNetDevice']) - register_Ns3AcousticModemEnergyModel_methods(root_module, root_module['ns3::AcousticModemEnergyModel']) - return - -def register_Ns3Reservation_methods(root_module, cls): - ## uan-mac-rc.h: ns3::Reservation::Reservation(ns3::Reservation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Reservation const &', 'arg0')]) - ## uan-mac-rc.h: ns3::Reservation::Reservation() [constructor] - cls.add_constructor([]) - ## uan-mac-rc.h: ns3::Reservation::Reservation(std::list, ns3::UanAddress>, std::allocator, ns3::UanAddress> > > & list, uint8_t frameNo, uint32_t maxPkts=0) [constructor] - cls.add_constructor([param('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress > > &', 'list'), param('uint8_t', 'frameNo'), param('uint32_t', 'maxPkts', default_value='0')]) - ## uan-mac-rc.h: void ns3::Reservation::AddTimestamp(ns3::Time t) [member function] - cls.add_method('AddTimestamp', - 'void', - [param('ns3::Time', 't')]) - ## uan-mac-rc.h: uint8_t ns3::Reservation::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-mac-rc.h: uint32_t ns3::Reservation::GetLength() const [member function] - cls.add_method('GetLength', - 'uint32_t', - [], - is_const=True) - ## uan-mac-rc.h: uint32_t ns3::Reservation::GetNoFrames() const [member function] - cls.add_method('GetNoFrames', - 'uint32_t', - [], - is_const=True) - ## uan-mac-rc.h: std::list, ns3::UanAddress>, std::allocator, ns3::UanAddress> > > const & ns3::Reservation::GetPktList() const [member function] - cls.add_method('GetPktList', - 'std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress > > const &', - [], - is_const=True) - ## uan-mac-rc.h: uint8_t ns3::Reservation::GetRetryNo() const [member function] - cls.add_method('GetRetryNo', - 'uint8_t', - [], - is_const=True) - ## uan-mac-rc.h: ns3::Time ns3::Reservation::GetTimestamp(uint8_t n) const [member function] - cls.add_method('GetTimestamp', - 'ns3::Time', - [param('uint8_t', 'n')], - is_const=True) - ## uan-mac-rc.h: void ns3::Reservation::IncrementRetry() [member function] - cls.add_method('IncrementRetry', - 'void', - []) - ## uan-mac-rc.h: bool ns3::Reservation::IsTransmitted() const [member function] - cls.add_method('IsTransmitted', - 'bool', - [], - is_const=True) - ## uan-mac-rc.h: void ns3::Reservation::SetFrameNo(uint8_t fn) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'fn')]) - ## uan-mac-rc.h: void ns3::Reservation::SetTransmitted(bool t=true) [member function] - cls.add_method('SetTransmitted', - 'void', - [param('bool', 't', default_value='true')]) - return - -def register_Ns3Tap_methods(root_module, cls): - ## uan-prop-model.h: ns3::Tap::Tap(ns3::Tap const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Tap const &', 'arg0')]) - ## uan-prop-model.h: ns3::Tap::Tap() [constructor] - cls.add_constructor([]) - ## uan-prop-model.h: ns3::Tap::Tap(ns3::Time delay, std::complex amp) [constructor] - cls.add_constructor([param('ns3::Time', 'delay'), param('std::complex< double >', 'amp')]) - ## uan-prop-model.h: std::complex ns3::Tap::GetAmp() const [member function] - cls.add_method('GetAmp', - 'std::complex< double >', - [], - is_const=True) - ## uan-prop-model.h: ns3::Time ns3::Tap::GetDelay() const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [], - is_const=True) - return - -def register_Ns3UanAddress_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## uan-address.h: ns3::UanAddress::UanAddress(ns3::UanAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanAddress const &', 'arg0')]) - ## uan-address.h: ns3::UanAddress::UanAddress() [constructor] - cls.add_constructor([]) - ## uan-address.h: ns3::UanAddress::UanAddress(uint8_t addr) [constructor] - cls.add_constructor([param('uint8_t', 'addr')]) - ## uan-address.h: static ns3::UanAddress ns3::UanAddress::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::UanAddress', - [], - is_static=True) - ## uan-address.h: static ns3::UanAddress ns3::UanAddress::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::UanAddress', - [param('ns3::Address const &', 'address')], - is_static=True) - ## uan-address.h: void ns3::UanAddress::CopyFrom(uint8_t const * pBuffer) [member function] - cls.add_method('CopyFrom', - 'void', - [param('uint8_t const *', 'pBuffer')]) - ## uan-address.h: void ns3::UanAddress::CopyTo(uint8_t * pBuffer) [member function] - cls.add_method('CopyTo', - 'void', - [param('uint8_t *', 'pBuffer')]) - ## uan-address.h: uint8_t ns3::UanAddress::GetAsInt() const [member function] - cls.add_method('GetAsInt', - 'uint8_t', - [], - is_const=True) - ## uan-address.h: static ns3::UanAddress ns3::UanAddress::GetBroadcast() [member function] - cls.add_method('GetBroadcast', - 'ns3::UanAddress', - [], - is_static=True) - ## uan-address.h: static bool ns3::UanAddress::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - return - -def register_Ns3UanHelper_methods(root_module, cls): - ## uan-helper.h: ns3::UanHelper::UanHelper(ns3::UanHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHelper const &', 'arg0')]) - ## uan-helper.h: ns3::UanHelper::UanHelper() [constructor] - cls.add_constructor([]) - ## uan-helper.h: static void ns3::UanHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], - is_static=True) - ## uan-helper.h: static void ns3::UanHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')], - is_static=True) - ## uan-helper.h: static void ns3::UanHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], - is_static=True) - ## uan-helper.h: static void ns3::UanHelper::EnableAsciiAll(std::ostream & os) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::ostream &', 'os')], - is_static=True) - ## uan-helper.h: ns3::NetDeviceContainer ns3::UanHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## uan-helper.h: ns3::NetDeviceContainer ns3::UanHelper::Install(ns3::NodeContainer c, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_const=True) - ## uan-helper.h: ns3::Ptr ns3::UanHelper::Install(ns3::Ptr node, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::UanNetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_const=True) - ## uan-helper.h: void ns3::UanHelper::SetMac(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetMac', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## uan-helper.h: void ns3::UanHelper::SetPhy(std::string phyType, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPhy', - 'void', - [param('std::string', 'phyType'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## uan-helper.h: void ns3::UanHelper::SetTransducer(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetTransducer', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - return - -def register_Ns3UanModesList_methods(root_module, cls): - cls.add_output_stream_operator() - ## uan-tx-mode.h: ns3::UanModesList::UanModesList(ns3::UanModesList const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanModesList const &', 'arg0')]) - ## uan-tx-mode.h: ns3::UanModesList::UanModesList() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: void ns3::UanModesList::AppendMode(ns3::UanTxMode mode) [member function] - cls.add_method('AppendMode', - 'void', - [param('ns3::UanTxMode', 'mode')]) - ## uan-tx-mode.h: void ns3::UanModesList::DeleteMode(uint32_t num) [member function] - cls.add_method('DeleteMode', - 'void', - [param('uint32_t', 'num')]) - ## uan-tx-mode.h: uint32_t ns3::UanModesList::GetNModes() const [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3UanPacketArrival_methods(root_module, cls): - ## uan-transducer.h: ns3::UanPacketArrival::UanPacketArrival(ns3::UanPacketArrival const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPacketArrival const &', 'arg0')]) - ## uan-transducer.h: ns3::UanPacketArrival::UanPacketArrival() [constructor] - cls.add_constructor([]) - ## uan-transducer.h: ns3::UanPacketArrival::UanPacketArrival(ns3::Ptr packet, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp, ns3::Time arrTime) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp'), param('ns3::Time', 'arrTime')]) - ## uan-transducer.h: ns3::Time ns3::UanPacketArrival::GetArrivalTime() const [member function] - cls.add_method('GetArrivalTime', - 'ns3::Time', - [], - is_const=True) - ## uan-transducer.h: ns3::Ptr ns3::UanPacketArrival::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## uan-transducer.h: ns3::UanPdp ns3::UanPacketArrival::GetPdp() const [member function] - cls.add_method('GetPdp', - 'ns3::UanPdp', - [], - is_const=True) - ## uan-transducer.h: double ns3::UanPacketArrival::GetRxPowerDb() const [member function] - cls.add_method('GetRxPowerDb', - 'double', - [], - is_const=True) - ## uan-transducer.h: ns3::UanTxMode const & ns3::UanPacketArrival::GetTxMode() const [member function] - cls.add_method('GetTxMode', - 'ns3::UanTxMode const &', - [], - is_const=True) - return - -def register_Ns3UanPdp_methods(root_module, cls): - cls.add_output_stream_operator() - ## uan-prop-model.h: ns3::UanPdp::UanPdp(ns3::UanPdp const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPdp const &', 'arg0')]) - ## uan-prop-model.h: ns3::UanPdp::UanPdp() [constructor] - cls.add_constructor([]) - ## uan-prop-model.h: ns3::UanPdp::UanPdp(std::vector > taps, ns3::Time resolution) [constructor] - cls.add_constructor([param('std::vector< ns3::Tap >', 'taps'), param('ns3::Time', 'resolution')]) - ## uan-prop-model.h: ns3::UanPdp::UanPdp(std::vector,std::allocator > > arrivals, ns3::Time resolution) [constructor] - cls.add_constructor([param('std::vector< std::complex< double > >', 'arrivals'), param('ns3::Time', 'resolution')]) - ## uan-prop-model.h: ns3::UanPdp::UanPdp(std::vector > arrivals, ns3::Time resolution) [constructor] - cls.add_constructor([param('std::vector< double >', 'arrivals'), param('ns3::Time', 'resolution')]) - ## uan-prop-model.h: static ns3::UanPdp ns3::UanPdp::CreateImpulsePdp() [member function] - cls.add_method('CreateImpulsePdp', - 'ns3::UanPdp', - [], - is_static=True) - ## uan-prop-model.h: __gnu_cxx::__normal_iterator > > ns3::UanPdp::GetBegin() const [member function] - cls.add_method('GetBegin', - '__gnu_cxx::__normal_iterator< ns3::Tap const *, std::vector< ns3::Tap > >', - [], - is_const=True) - ## uan-prop-model.h: __gnu_cxx::__normal_iterator > > ns3::UanPdp::GetEnd() const [member function] - cls.add_method('GetEnd', - '__gnu_cxx::__normal_iterator< ns3::Tap const *, std::vector< ns3::Tap > >', - [], - is_const=True) - ## uan-prop-model.h: uint32_t ns3::UanPdp::GetNTaps() const [member function] - cls.add_method('GetNTaps', - 'uint32_t', - [], - is_const=True) - ## uan-prop-model.h: ns3::Time ns3::UanPdp::GetResolution() const [member function] - cls.add_method('GetResolution', - 'ns3::Time', - [], - is_const=True) - ## uan-prop-model.h: ns3::Tap const & ns3::UanPdp::GetTap(uint32_t i) const [member function] - cls.add_method('GetTap', - 'ns3::Tap const &', - [param('uint32_t', 'i')], - is_const=True) - ## uan-prop-model.h: void ns3::UanPdp::SetNTaps(uint32_t nTaps) [member function] - cls.add_method('SetNTaps', - 'void', - [param('uint32_t', 'nTaps')]) - ## uan-prop-model.h: void ns3::UanPdp::SetResolution(ns3::Time resolution) [member function] - cls.add_method('SetResolution', - 'void', - [param('ns3::Time', 'resolution')]) - ## uan-prop-model.h: void ns3::UanPdp::SetTap(std::complex arrival, uint32_t index) [member function] - cls.add_method('SetTap', - 'void', - [param('std::complex< double >', 'arrival'), param('uint32_t', 'index')]) - ## uan-prop-model.h: std::complex ns3::UanPdp::SumTapsC(ns3::Time begin, ns3::Time end) const [member function] - cls.add_method('SumTapsC', - 'std::complex< double >', - [param('ns3::Time', 'begin'), param('ns3::Time', 'end')], - is_const=True) - ## uan-prop-model.h: std::complex ns3::UanPdp::SumTapsFromMaxC(ns3::Time delay, ns3::Time duration) const [member function] - cls.add_method('SumTapsFromMaxC', - 'std::complex< double >', - [param('ns3::Time', 'delay'), param('ns3::Time', 'duration')], - is_const=True) - ## uan-prop-model.h: double ns3::UanPdp::SumTapsFromMaxNc(ns3::Time delay, ns3::Time duration) const [member function] - cls.add_method('SumTapsFromMaxNc', - 'double', - [param('ns3::Time', 'delay'), param('ns3::Time', 'duration')], - is_const=True) - ## uan-prop-model.h: double ns3::UanPdp::SumTapsNc(ns3::Time begin, ns3::Time end) const [member function] - cls.add_method('SumTapsNc', - 'double', - [param('ns3::Time', 'begin'), param('ns3::Time', 'end')], - is_const=True) - return - -def register_Ns3UanPhyListener_methods(root_module, cls): - ## uan-phy.h: ns3::UanPhyListener::UanPhyListener() [constructor] - cls.add_constructor([]) - ## uan-phy.h: ns3::UanPhyListener::UanPhyListener(ns3::UanPhyListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyListener const &', 'arg0')]) - ## uan-phy.h: void ns3::UanPhyListener::NotifyCcaEnd() [member function] - cls.add_method('NotifyCcaEnd', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyCcaStart() [member function] - cls.add_method('NotifyCcaStart', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyRxEndError() [member function] - cls.add_method('NotifyRxEndError', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyRxEndOk() [member function] - cls.add_method('NotifyRxEndOk', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyRxStart() [member function] - cls.add_method('NotifyRxStart', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyTxStart(ns3::Time duration) [member function] - cls.add_method('NotifyTxStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanTxMode_methods(root_module, cls): - cls.add_output_stream_operator() - ## uan-tx-mode.h: ns3::UanTxMode::UanTxMode(ns3::UanTxMode const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanTxMode const &', 'arg0')]) - ## uan-tx-mode.h: ns3::UanTxMode::UanTxMode() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetBandwidthHz() const [member function] - cls.add_method('GetBandwidthHz', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetCenterFreqHz() const [member function] - cls.add_method('GetCenterFreqHz', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetConstellationSize() const [member function] - cls.add_method('GetConstellationSize', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetDataRateBps() const [member function] - cls.add_method('GetDataRateBps', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: ns3::UanTxMode::ModulationType ns3::UanTxMode::GetModType() const [member function] - cls.add_method('GetModType', - 'ns3::UanTxMode::ModulationType', - [], - is_const=True) - ## uan-tx-mode.h: std::string ns3::UanTxMode::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetPhyRateSps() const [member function] - cls.add_method('GetPhyRateSps', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3UanTxModeFactory_methods(root_module, cls): - ## uan-tx-mode.h: ns3::UanTxModeFactory::UanTxModeFactory(ns3::UanTxModeFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanTxModeFactory const &', 'arg0')]) - ## uan-tx-mode.h: ns3::UanTxModeFactory::UanTxModeFactory() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: static ns3::UanTxMode ns3::UanTxModeFactory::CreateMode(ns3::UanTxMode::ModulationType type, uint32_t dataRateBps, uint32_t phyRateSps, uint32_t cfHz, uint32_t bwHz, uint32_t constSize, std::string name) [member function] - cls.add_method('CreateMode', - 'ns3::UanTxMode', - [param('ns3::UanTxMode::ModulationType', 'type'), param('uint32_t', 'dataRateBps'), param('uint32_t', 'phyRateSps'), param('uint32_t', 'cfHz'), param('uint32_t', 'bwHz'), param('uint32_t', 'constSize'), param('std::string', 'name')], - is_static=True) - ## uan-tx-mode.h: static ns3::UanTxMode ns3::UanTxModeFactory::GetMode(std::string name) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('std::string', 'name')], - is_static=True) - ## uan-tx-mode.h: static ns3::UanTxMode ns3::UanTxModeFactory::GetMode(uint32_t uid) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('uint32_t', 'uid')], - is_static=True) - return - -def register_Ns3AcousticModemEnergyModelHelper_methods(root_module, cls): - ## acoustic-modem-energy-model-helper.h: ns3::AcousticModemEnergyModelHelper::AcousticModemEnergyModelHelper(ns3::AcousticModemEnergyModelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AcousticModemEnergyModelHelper const &', 'arg0')]) - ## acoustic-modem-energy-model-helper.h: ns3::AcousticModemEnergyModelHelper::AcousticModemEnergyModelHelper() [constructor] - cls.add_constructor([]) - ## acoustic-modem-energy-model-helper.h: void ns3::AcousticModemEnergyModelHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_virtual=True) - ## acoustic-modem-energy-model-helper.h: void ns3::AcousticModemEnergyModelHelper::SetDepletionCallback(ns3::Callback callback) [member function] - cls.add_method('SetDepletionCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## acoustic-modem-energy-model-helper.h: ns3::Ptr ns3::AcousticModemEnergyModelHelper::DoInstall(ns3::Ptr device, ns3::Ptr source) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::DeviceEnergyModel >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3UanHeaderCommon_methods(root_module, cls): - ## uan-header-common.h: ns3::UanHeaderCommon::UanHeaderCommon(ns3::UanHeaderCommon const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderCommon const &', 'arg0')]) - ## uan-header-common.h: ns3::UanHeaderCommon::UanHeaderCommon() [constructor] - cls.add_constructor([]) - ## uan-header-common.h: ns3::UanHeaderCommon::UanHeaderCommon(ns3::UanAddress const src, ns3::UanAddress const dest, uint8_t type) [constructor] - cls.add_constructor([param('ns3::UanAddress const', 'src'), param('ns3::UanAddress const', 'dest'), param('uint8_t', 'type')]) - ## uan-header-common.h: uint32_t ns3::UanHeaderCommon::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-common.h: ns3::UanAddress ns3::UanHeaderCommon::GetDest() const [member function] - cls.add_method('GetDest', - 'ns3::UanAddress', - [], - is_const=True) - ## uan-header-common.h: ns3::TypeId ns3::UanHeaderCommon::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-common.h: uint32_t ns3::UanHeaderCommon::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-common.h: ns3::UanAddress ns3::UanHeaderCommon::GetSrc() const [member function] - cls.add_method('GetSrc', - 'ns3::UanAddress', - [], - is_const=True) - ## uan-header-common.h: uint8_t ns3::UanHeaderCommon::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## uan-header-common.h: static ns3::TypeId ns3::UanHeaderCommon::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-common.h: void ns3::UanHeaderCommon::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-common.h: void ns3::UanHeaderCommon::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-common.h: void ns3::UanHeaderCommon::SetDest(ns3::UanAddress dest) [member function] - cls.add_method('SetDest', - 'void', - [param('ns3::UanAddress', 'dest')]) - ## uan-header-common.h: void ns3::UanHeaderCommon::SetSrc(ns3::UanAddress src) [member function] - cls.add_method('SetSrc', - 'void', - [param('ns3::UanAddress', 'src')]) - ## uan-header-common.h: void ns3::UanHeaderCommon::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3UanHeaderRcAck_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcAck::UanHeaderRcAck(ns3::UanHeaderRcAck const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcAck const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcAck::UanHeaderRcAck() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: void ns3::UanHeaderRcAck::AddNackedFrame(uint8_t frame) [member function] - cls.add_method('AddNackedFrame', - 'void', - [param('uint8_t', 'frame')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcAck::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcAck::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcAck::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: std::set, std::allocator > const & ns3::UanHeaderRcAck::GetNackedFrames() const [member function] - cls.add_method('GetNackedFrames', - 'std::set< unsigned char > const &', - [], - is_const=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcAck::GetNoNacks() const [member function] - cls.add_method('GetNoNacks', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcAck::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcAck::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: void ns3::UanHeaderRcAck::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcAck::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcAck::SetFrameNo(uint8_t frameNo) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'frameNo')]) - return - -def register_Ns3UanHeaderRcCts_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcCts::UanHeaderRcCts(ns3::UanHeaderRcCts const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcCts const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcCts::UanHeaderRcCts() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: ns3::UanHeaderRcCts::UanHeaderRcCts(uint8_t frameNo, uint8_t retryNo, ns3::Time rtsTs, ns3::Time delay, ns3::UanAddress addr) [constructor] - cls.add_constructor([param('uint8_t', 'frameNo'), param('uint8_t', 'retryNo'), param('ns3::Time', 'rtsTs'), param('ns3::Time', 'delay'), param('ns3::UanAddress', 'addr')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcCts::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: ns3::UanAddress ns3::UanHeaderRcCts::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::UanAddress', - [], - is_const=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcCts::GetDelayToTx() const [member function] - cls.add_method('GetDelayToTx', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcCts::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcCts::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcCts::GetRetryNo() const [member function] - cls.add_method('GetRetryNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcCts::GetRtsTimeStamp() const [member function] - cls.add_method('GetRtsTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcCts::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcCts::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetDelayToTx(ns3::Time delay) [member function] - cls.add_method('SetDelayToTx', - 'void', - [param('ns3::Time', 'delay')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetFrameNo(uint8_t frameNo) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'frameNo')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetRetryNo(uint8_t no) [member function] - cls.add_method('SetRetryNo', - 'void', - [param('uint8_t', 'no')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetRtsTimeStamp(ns3::Time timeStamp) [member function] - cls.add_method('SetRtsTimeStamp', - 'void', - [param('ns3::Time', 'timeStamp')]) - return - -def register_Ns3UanHeaderRcCtsGlobal_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcCtsGlobal::UanHeaderRcCtsGlobal(ns3::UanHeaderRcCtsGlobal const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcCtsGlobal const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcCtsGlobal::UanHeaderRcCtsGlobal() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: ns3::UanHeaderRcCtsGlobal::UanHeaderRcCtsGlobal(ns3::Time wt, ns3::Time ts, uint16_t rate, uint16_t retryRate) [constructor] - cls.add_constructor([param('ns3::Time', 'wt'), param('ns3::Time', 'ts'), param('uint16_t', 'rate'), param('uint16_t', 'retryRate')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcCtsGlobal::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcCtsGlobal::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: uint16_t ns3::UanHeaderRcCtsGlobal::GetRateNum() const [member function] - cls.add_method('GetRateNum', - 'uint16_t', - [], - is_const=True) - ## uan-header-rc.h: uint16_t ns3::UanHeaderRcCtsGlobal::GetRetryRate() const [member function] - cls.add_method('GetRetryRate', - 'uint16_t', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcCtsGlobal::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcCtsGlobal::GetTxTimeStamp() const [member function] - cls.add_method('GetTxTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcCtsGlobal::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcCtsGlobal::GetWindowTime() const [member function] - cls.add_method('GetWindowTime', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::SetRateNum(uint16_t rate) [member function] - cls.add_method('SetRateNum', - 'void', - [param('uint16_t', 'rate')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::SetRetryRate(uint16_t rate) [member function] - cls.add_method('SetRetryRate', - 'void', - [param('uint16_t', 'rate')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::SetTxTimeStamp(ns3::Time timeStamp) [member function] - cls.add_method('SetTxTimeStamp', - 'void', - [param('ns3::Time', 'timeStamp')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::SetWindowTime(ns3::Time t) [member function] - cls.add_method('SetWindowTime', - 'void', - [param('ns3::Time', 't')]) - return - -def register_Ns3UanHeaderRcData_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcData::UanHeaderRcData(ns3::UanHeaderRcData const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcData const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcData::UanHeaderRcData() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: ns3::UanHeaderRcData::UanHeaderRcData(uint8_t frameNum, ns3::Time propDelay) [constructor] - cls.add_constructor([param('uint8_t', 'frameNum'), param('ns3::Time', 'propDelay')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcData::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcData::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcData::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcData::GetPropDelay() const [member function] - cls.add_method('GetPropDelay', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcData::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcData::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: void ns3::UanHeaderRcData::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcData::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcData::SetFrameNo(uint8_t frameNum) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'frameNum')]) - ## uan-header-rc.h: void ns3::UanHeaderRcData::SetPropDelay(ns3::Time propDelay) [member function] - cls.add_method('SetPropDelay', - 'void', - [param('ns3::Time', 'propDelay')]) - return - -def register_Ns3UanHeaderRcRts_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcRts::UanHeaderRcRts(ns3::UanHeaderRcRts const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcRts const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcRts::UanHeaderRcRts() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: ns3::UanHeaderRcRts::UanHeaderRcRts(uint8_t frameNo, uint8_t retryNo, uint8_t noFrames, uint16_t length, ns3::Time ts) [constructor] - cls.add_constructor([param('uint8_t', 'frameNo'), param('uint8_t', 'retryNo'), param('uint8_t', 'noFrames'), param('uint16_t', 'length'), param('ns3::Time', 'ts')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcRts::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcRts::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcRts::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: uint16_t ns3::UanHeaderRcRts::GetLength() const [member function] - cls.add_method('GetLength', - 'uint16_t', - [], - is_const=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcRts::GetNoFrames() const [member function] - cls.add_method('GetNoFrames', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcRts::GetRetryNo() const [member function] - cls.add_method('GetRetryNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcRts::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcRts::GetTimeStamp() const [member function] - cls.add_method('GetTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcRts::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetFrameNo(uint8_t fno) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'fno')]) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetLength(uint16_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint16_t', 'length')]) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetNoFrames(uint8_t no) [member function] - cls.add_method('SetNoFrames', - 'void', - [param('uint8_t', 'no')]) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetRetryNo(uint8_t no) [member function] - cls.add_method('SetRetryNo', - 'void', - [param('uint8_t', 'no')]) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetTimeStamp(ns3::Time timeStamp) [member function] - cls.add_method('SetTimeStamp', - 'void', - [param('ns3::Time', 'timeStamp')]) - return - -def register_Ns3UanMac_methods(root_module, cls): - ## uan-mac.h: ns3::UanMac::UanMac() [constructor] - cls.add_constructor([]) - ## uan-mac.h: ns3::UanMac::UanMac(ns3::UanMac const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMac const &', 'arg0')]) - ## uan-mac.h: void ns3::UanMac::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: void ns3::UanMac::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: bool ns3::UanMac::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: ns3::Address ns3::UanMac::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: ns3::Address ns3::UanMac::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-mac.h: void ns3::UanMac::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: void ns3::UanMac::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanMacAloha_methods(root_module, cls): - ## uan-mac-aloha.h: ns3::UanMacAloha::UanMacAloha(ns3::UanMacAloha const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMacAloha const &', 'arg0')]) - ## uan-mac-aloha.h: ns3::UanMacAloha::UanMacAloha() [constructor] - cls.add_constructor([]) - ## uan-mac-aloha.h: void ns3::UanMacAloha::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_virtual=True) - ## uan-mac-aloha.h: void ns3::UanMacAloha::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-mac-aloha.h: bool ns3::UanMacAloha::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-mac-aloha.h: ns3::Address ns3::UanMacAloha::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_virtual=True) - ## uan-mac-aloha.h: ns3::Address ns3::UanMacAloha::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-mac-aloha.h: static ns3::TypeId ns3::UanMacAloha::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-mac-aloha.h: void ns3::UanMacAloha::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_virtual=True) - ## uan-mac-aloha.h: void ns3::UanMacAloha::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-mac-aloha.h: void ns3::UanMacAloha::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanMacCw_methods(root_module, cls): - ## uan-mac-cw.h: ns3::UanMacCw::UanMacCw(ns3::UanMacCw const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMacCw const &', 'arg0')]) - ## uan-mac-cw.h: ns3::UanMacCw::UanMacCw() [constructor] - cls.add_constructor([]) - ## uan-mac-cw.h: void ns3::UanMacCw::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: bool ns3::UanMacCw::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-mac-cw.h: ns3::Address ns3::UanMacCw::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_virtual=True) - ## uan-mac-cw.h: ns3::Address ns3::UanMacCw::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-mac-cw.h: uint32_t ns3::UanMacCw::GetCw() [member function] - cls.add_method('GetCw', - 'uint32_t', - [], - is_virtual=True) - ## uan-mac-cw.h: ns3::Time ns3::UanMacCw::GetSlotTime() [member function] - cls.add_method('GetSlotTime', - 'ns3::Time', - [], - is_virtual=True) - ## uan-mac-cw.h: static ns3::TypeId ns3::UanMacCw::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyCcaEnd() [member function] - cls.add_method('NotifyCcaEnd', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyCcaStart() [member function] - cls.add_method('NotifyCcaStart', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyRxEndError() [member function] - cls.add_method('NotifyRxEndError', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyRxEndOk() [member function] - cls.add_method('NotifyRxEndOk', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyRxStart() [member function] - cls.add_method('NotifyRxStart', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyTxStart(ns3::Time duration) [member function] - cls.add_method('NotifyTxStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::SetCw(uint32_t cw) [member function] - cls.add_method('SetCw', - 'void', - [param('uint32_t', 'cw')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::SetSlotTime(ns3::Time duration) [member function] - cls.add_method('SetSlotTime', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanMacRc_methods(root_module, cls): - ## uan-mac-rc.h: ns3::UanMacRc::UanMacRc(ns3::UanMacRc const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMacRc const &', 'arg0')]) - ## uan-mac-rc.h: ns3::UanMacRc::UanMacRc() [constructor] - cls.add_constructor([]) - ## uan-mac-rc.h: void ns3::UanMacRc::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_virtual=True) - ## uan-mac-rc.h: void ns3::UanMacRc::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-mac-rc.h: bool ns3::UanMacRc::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-mac-rc.h: ns3::Address ns3::UanMacRc::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_virtual=True) - ## uan-mac-rc.h: ns3::Address ns3::UanMacRc::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-mac-rc.h: static ns3::TypeId ns3::UanMacRc::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-mac-rc.h: void ns3::UanMacRc::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_virtual=True) - ## uan-mac-rc.h: void ns3::UanMacRc::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-mac-rc.h: void ns3::UanMacRc::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanMacRcGw_methods(root_module, cls): - ## uan-mac-rc-gw.h: ns3::UanMacRcGw::UanMacRcGw(ns3::UanMacRcGw const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMacRcGw const &', 'arg0')]) - ## uan-mac-rc-gw.h: ns3::UanMacRcGw::UanMacRcGw() [constructor] - cls.add_constructor([]) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_virtual=True) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-mac-rc-gw.h: bool ns3::UanMacRcGw::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-mac-rc-gw.h: ns3::Address ns3::UanMacRcGw::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_virtual=True) - ## uan-mac-rc-gw.h: ns3::Address ns3::UanMacRcGw::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-mac-rc-gw.h: static ns3::TypeId ns3::UanMacRcGw::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_virtual=True) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanNoiseModel_methods(root_module, cls): - ## uan-noise-model.h: ns3::UanNoiseModel::UanNoiseModel() [constructor] - cls.add_constructor([]) - ## uan-noise-model.h: ns3::UanNoiseModel::UanNoiseModel(ns3::UanNoiseModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanNoiseModel const &', 'arg0')]) - ## uan-noise-model.h: void ns3::UanNoiseModel::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-noise-model.h: void ns3::UanNoiseModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## uan-noise-model.h: double ns3::UanNoiseModel::GetNoiseDbHz(double fKhz) const [member function] - cls.add_method('GetNoiseDbHz', - 'double', - [param('double', 'fKhz')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3UanNoiseModelDefault_methods(root_module, cls): - ## uan-noise-model-default.h: ns3::UanNoiseModelDefault::UanNoiseModelDefault(ns3::UanNoiseModelDefault const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanNoiseModelDefault const &', 'arg0')]) - ## uan-noise-model-default.h: ns3::UanNoiseModelDefault::UanNoiseModelDefault() [constructor] - cls.add_constructor([]) - ## uan-noise-model-default.h: double ns3::UanNoiseModelDefault::GetNoiseDbHz(double fKhz) const [member function] - cls.add_method('GetNoiseDbHz', - 'double', - [param('double', 'fKhz')], - is_const=True, is_virtual=True) - ## uan-noise-model-default.h: static ns3::TypeId ns3::UanNoiseModelDefault::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhy_methods(root_module, cls): - ## uan-phy.h: ns3::UanPhy::UanPhy() [constructor] - cls.add_constructor([]) - ## uan-phy.h: ns3::UanPhy::UanPhy(ns3::UanPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhy const &', 'arg0')]) - ## uan-phy.h: void ns3::UanPhy::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::EnergyDepletionHandler() [member function] - cls.add_method('EnergyDepletionHandler', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: double ns3::UanPhy::GetCcaThresholdDb() [member function] - cls.add_method('GetCcaThresholdDb', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: ns3::Ptr ns3::UanPhy::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-phy.h: ns3::Ptr ns3::UanPhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::UanNetDevice >', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: ns3::UanTxMode ns3::UanPhy::GetMode(uint32_t n) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('uint32_t', 'n')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: uint32_t ns3::UanPhy::GetNModes() [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: ns3::Ptr ns3::UanPhy::GetPacketRx() const [member function] - cls.add_method('GetPacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-phy.h: double ns3::UanPhy::GetRxGainDb() [member function] - cls.add_method('GetRxGainDb', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: double ns3::UanPhy::GetRxThresholdDb() [member function] - cls.add_method('GetRxThresholdDb', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: ns3::Ptr ns3::UanPhy::GetTransducer() [member function] - cls.add_method('GetTransducer', - 'ns3::Ptr< ns3::UanTransducer >', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: double ns3::UanPhy::GetTxPowerDb() [member function] - cls.add_method('GetTxPowerDb', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateSleep() [member function] - cls.add_method('IsStateSleep', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::NotifyIntChange() [member function] - cls.add_method('NotifyIntChange', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::NotifyTransStartTx(ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('NotifyTransStartTx', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::RegisterListener(ns3::UanPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::UanPhyListener *', 'listener')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SendPacket(ns3::Ptr pkt, uint32_t modeNum) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('uint32_t', 'modeNum')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetCcaThresholdDb(double thresh) [member function] - cls.add_method('SetCcaThresholdDb', - 'void', - [param('double', 'thresh')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::UanNetDevice >', 'device')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetEnergyModelCallback(ns3::Callback callback) [member function] - cls.add_method('SetEnergyModelCallback', - 'void', - [param('ns3::Callback< void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::UanMac >', 'mac')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetReceiveErrorCallback(ns3::Callback, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetReceiveOkCallback(ns3::Callback, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetRxGainDb(double gain) [member function] - cls.add_method('SetRxGainDb', - 'void', - [param('double', 'gain')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetRxThresholdDb(double thresh) [member function] - cls.add_method('SetRxThresholdDb', - 'void', - [param('double', 'thresh')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetTransducer(ns3::Ptr trans) [member function] - cls.add_method('SetTransducer', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'trans')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetTxPowerDb(double txpwr) [member function] - cls.add_method('SetTxPowerDb', - 'void', - [param('double', 'txpwr')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::StartRxPacket(ns3::Ptr pkt, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('StartRxPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanPhyCalcSinr_methods(root_module, cls): - ## uan-phy.h: ns3::UanPhyCalcSinr::UanPhyCalcSinr() [constructor] - cls.add_constructor([]) - ## uan-phy.h: ns3::UanPhyCalcSinr::UanPhyCalcSinr(ns3::UanPhyCalcSinr const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyCalcSinr const &', 'arg0')]) - ## uan-phy.h: double ns3::UanPhyCalcSinr::CalcSinrDb(ns3::Ptr pkt, ns3::Time arrTime, double rxPowerDb, double ambNoiseDb, ns3::UanTxMode mode, ns3::UanPdp pdp, std::list > const & arrivalList) const [member function] - cls.add_method('CalcSinrDb', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Time', 'arrTime'), param('double', 'rxPowerDb'), param('double', 'ambNoiseDb'), param('ns3::UanTxMode', 'mode'), param('ns3::UanPdp', 'pdp'), param('std::list< ns3::UanPacketArrival > const &', 'arrivalList')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyCalcSinr::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-phy.h: double ns3::UanPhyCalcSinr::DbToKp(double db) const [member function] - cls.add_method('DbToKp', - 'double', - [param('double', 'db')], - is_const=True) - ## uan-phy.h: void ns3::UanPhyCalcSinr::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## uan-phy.h: double ns3::UanPhyCalcSinr::KpToDb(double kp) const [member function] - cls.add_method('KpToDb', - 'double', - [param('double', 'kp')], - is_const=True) - return - -def register_Ns3UanPhyCalcSinrDefault_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyCalcSinrDefault::UanPhyCalcSinrDefault(ns3::UanPhyCalcSinrDefault const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyCalcSinrDefault const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyCalcSinrDefault::UanPhyCalcSinrDefault() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: double ns3::UanPhyCalcSinrDefault::CalcSinrDb(ns3::Ptr pkt, ns3::Time arrTime, double rxPowerDb, double ambNoiseDb, ns3::UanTxMode mode, ns3::UanPdp pdp, std::list > const & arrivalList) const [member function] - cls.add_method('CalcSinrDb', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Time', 'arrTime'), param('double', 'rxPowerDb'), param('double', 'ambNoiseDb'), param('ns3::UanTxMode', 'mode'), param('ns3::UanPdp', 'pdp'), param('std::list< ns3::UanPacketArrival > const &', 'arrivalList')], - is_const=True, is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyCalcSinrDefault::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhyCalcSinrDual_methods(root_module, cls): - ## uan-phy-dual.h: ns3::UanPhyCalcSinrDual::UanPhyCalcSinrDual(ns3::UanPhyCalcSinrDual const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyCalcSinrDual const &', 'arg0')]) - ## uan-phy-dual.h: ns3::UanPhyCalcSinrDual::UanPhyCalcSinrDual() [constructor] - cls.add_constructor([]) - ## uan-phy-dual.h: double ns3::UanPhyCalcSinrDual::CalcSinrDb(ns3::Ptr pkt, ns3::Time arrTime, double rxPowerDb, double ambNoiseDb, ns3::UanTxMode mode, ns3::UanPdp pdp, std::list > const & arrivalList) const [member function] - cls.add_method('CalcSinrDb', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Time', 'arrTime'), param('double', 'rxPowerDb'), param('double', 'ambNoiseDb'), param('ns3::UanTxMode', 'mode'), param('ns3::UanPdp', 'pdp'), param('std::list< ns3::UanPacketArrival > const &', 'arrivalList')], - is_const=True, is_virtual=True) - ## uan-phy-dual.h: static ns3::TypeId ns3::UanPhyCalcSinrDual::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhyCalcSinrFhFsk_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyCalcSinrFhFsk::UanPhyCalcSinrFhFsk(ns3::UanPhyCalcSinrFhFsk const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyCalcSinrFhFsk const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyCalcSinrFhFsk::UanPhyCalcSinrFhFsk() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: double ns3::UanPhyCalcSinrFhFsk::CalcSinrDb(ns3::Ptr pkt, ns3::Time arrTime, double rxPowerDb, double ambNoiseDb, ns3::UanTxMode mode, ns3::UanPdp pdp, std::list > const & arrivalList) const [member function] - cls.add_method('CalcSinrDb', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Time', 'arrTime'), param('double', 'rxPowerDb'), param('double', 'ambNoiseDb'), param('ns3::UanTxMode', 'mode'), param('ns3::UanPdp', 'pdp'), param('std::list< ns3::UanPacketArrival > const &', 'arrivalList')], - is_const=True, is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyCalcSinrFhFsk::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhyDual_methods(root_module, cls): - ## uan-phy-dual.h: ns3::UanPhyDual::UanPhyDual(ns3::UanPhyDual const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyDual const &', 'arg0')]) - ## uan-phy-dual.h: ns3::UanPhyDual::UanPhyDual() [constructor] - cls.add_constructor([]) - ## uan-phy-dual.h: void ns3::UanPhyDual::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::EnergyDepletionHandler() [member function] - cls.add_method('EnergyDepletionHandler', - 'void', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetCcaThresholdDb() [member function] - cls.add_method('GetCcaThresholdDb', - 'double', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetCcaThresholdPhy1() const [member function] - cls.add_method('GetCcaThresholdPhy1', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetCcaThresholdPhy2() const [member function] - cls.add_method('GetCcaThresholdPhy2', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_const=True, is_virtual=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::UanNetDevice >', - [], - is_virtual=True) - ## uan-phy-dual.h: ns3::UanTxMode ns3::UanPhyDual::GetMode(uint32_t n) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('uint32_t', 'n')], - is_virtual=True) - ## uan-phy-dual.h: ns3::UanModesList ns3::UanPhyDual::GetModesPhy1() const [member function] - cls.add_method('GetModesPhy1', - 'ns3::UanModesList', - [], - is_const=True) - ## uan-phy-dual.h: ns3::UanModesList ns3::UanPhyDual::GetModesPhy2() const [member function] - cls.add_method('GetModesPhy2', - 'ns3::UanModesList', - [], - is_const=True) - ## uan-phy-dual.h: uint32_t ns3::UanPhyDual::GetNModes() [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_virtual=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPacketRx() const [member function] - cls.add_method('GetPacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True, is_virtual=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPerModelPhy1() const [member function] - cls.add_method('GetPerModelPhy1', - 'ns3::Ptr< ns3::UanPhyPer >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPerModelPhy2() const [member function] - cls.add_method('GetPerModelPhy2', - 'ns3::Ptr< ns3::UanPhyPer >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPhy1PacketRx() const [member function] - cls.add_method('GetPhy1PacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPhy2PacketRx() const [member function] - cls.add_method('GetPhy2PacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetRxGainDb() [member function] - cls.add_method('GetRxGainDb', - 'double', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetRxGainDbPhy1() const [member function] - cls.add_method('GetRxGainDbPhy1', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetRxGainDbPhy2() const [member function] - cls.add_method('GetRxGainDbPhy2', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetRxThresholdDb() [member function] - cls.add_method('GetRxThresholdDb', - 'double', - [], - is_virtual=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetSinrModelPhy1() const [member function] - cls.add_method('GetSinrModelPhy1', - 'ns3::Ptr< ns3::UanPhyCalcSinr >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetSinrModelPhy2() const [member function] - cls.add_method('GetSinrModelPhy2', - 'ns3::Ptr< ns3::UanPhyCalcSinr >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetTransducer() [member function] - cls.add_method('GetTransducer', - 'ns3::Ptr< ns3::UanTransducer >', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetTxPowerDb() [member function] - cls.add_method('GetTxPowerDb', - 'double', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetTxPowerDbPhy1() const [member function] - cls.add_method('GetTxPowerDbPhy1', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetTxPowerDbPhy2() const [member function] - cls.add_method('GetTxPowerDbPhy2', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: static ns3::TypeId ns3::UanPhyDual::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy1Idle() [member function] - cls.add_method('IsPhy1Idle', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy1Rx() [member function] - cls.add_method('IsPhy1Rx', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy1Tx() [member function] - cls.add_method('IsPhy1Tx', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy2Idle() [member function] - cls.add_method('IsPhy2Idle', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy2Rx() [member function] - cls.add_method('IsPhy2Rx', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy2Tx() [member function] - cls.add_method('IsPhy2Tx', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateSleep() [member function] - cls.add_method('IsStateSleep', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::NotifyIntChange() [member function] - cls.add_method('NotifyIntChange', - 'void', - [], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::NotifyTransStartTx(ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('NotifyTransStartTx', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::RegisterListener(ns3::UanPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::UanPhyListener *', 'listener')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SendPacket(ns3::Ptr pkt, uint32_t modeNum) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('uint32_t', 'modeNum')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetCcaThresholdDb(double thresh) [member function] - cls.add_method('SetCcaThresholdDb', - 'void', - [param('double', 'thresh')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetCcaThresholdPhy1(double thresh) [member function] - cls.add_method('SetCcaThresholdPhy1', - 'void', - [param('double', 'thresh')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetCcaThresholdPhy2(double thresh) [member function] - cls.add_method('SetCcaThresholdPhy2', - 'void', - [param('double', 'thresh')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::UanNetDevice >', 'device')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetEnergyModelCallback(ns3::Callback callback) [member function] - cls.add_method('SetEnergyModelCallback', - 'void', - [param('ns3::Callback< void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::UanMac >', 'mac')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetModesPhy1(ns3::UanModesList modes) [member function] - cls.add_method('SetModesPhy1', - 'void', - [param('ns3::UanModesList', 'modes')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetModesPhy2(ns3::UanModesList modes) [member function] - cls.add_method('SetModesPhy2', - 'void', - [param('ns3::UanModesList', 'modes')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetPerModelPhy1(ns3::Ptr per) [member function] - cls.add_method('SetPerModelPhy1', - 'void', - [param('ns3::Ptr< ns3::UanPhyPer >', 'per')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetPerModelPhy2(ns3::Ptr per) [member function] - cls.add_method('SetPerModelPhy2', - 'void', - [param('ns3::Ptr< ns3::UanPhyPer >', 'per')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetReceiveErrorCallback(ns3::Callback, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetReceiveOkCallback(ns3::Callback, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetRxGainDb(double gain) [member function] - cls.add_method('SetRxGainDb', - 'void', - [param('double', 'gain')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetRxGainDbPhy1(double gain) [member function] - cls.add_method('SetRxGainDbPhy1', - 'void', - [param('double', 'gain')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetRxGainDbPhy2(double gain) [member function] - cls.add_method('SetRxGainDbPhy2', - 'void', - [param('double', 'gain')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetRxThresholdDb(double thresh) [member function] - cls.add_method('SetRxThresholdDb', - 'void', - [param('double', 'thresh')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetSinrModelPhy1(ns3::Ptr calcSinr) [member function] - cls.add_method('SetSinrModelPhy1', - 'void', - [param('ns3::Ptr< ns3::UanPhyCalcSinr >', 'calcSinr')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetSinrModelPhy2(ns3::Ptr calcSinr) [member function] - cls.add_method('SetSinrModelPhy2', - 'void', - [param('ns3::Ptr< ns3::UanPhyCalcSinr >', 'calcSinr')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetTransducer(ns3::Ptr trans) [member function] - cls.add_method('SetTransducer', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'trans')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetTxPowerDb(double txpwr) [member function] - cls.add_method('SetTxPowerDb', - 'void', - [param('double', 'txpwr')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetTxPowerDbPhy1(double arg0) [member function] - cls.add_method('SetTxPowerDbPhy1', - 'void', - [param('double', 'arg0')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetTxPowerDbPhy2(double arg0) [member function] - cls.add_method('SetTxPowerDbPhy2', - 'void', - [param('double', 'arg0')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::StartRxPacket(ns3::Ptr pkt, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('StartRxPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanPhyGen_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyGen::UanPhyGen(ns3::UanPhyGen const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyGen const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyGen::UanPhyGen() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: void ns3::UanPhyGen::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::EnergyDepletionHandler() [member function] - cls.add_method('EnergyDepletionHandler', - 'void', - [], - is_virtual=True) - ## uan-phy-gen.h: double ns3::UanPhyGen::GetCcaThresholdDb() [member function] - cls.add_method('GetCcaThresholdDb', - 'double', - [], - is_virtual=True) - ## uan-phy-gen.h: ns3::Ptr ns3::UanPhyGen::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_const=True, is_virtual=True) - ## uan-phy-gen.h: static ns3::UanModesList ns3::UanPhyGen::GetDefaultModes() [member function] - cls.add_method('GetDefaultModes', - 'ns3::UanModesList', - [], - is_static=True) - ## uan-phy-gen.h: ns3::Ptr ns3::UanPhyGen::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::UanNetDevice >', - [], - is_virtual=True) - ## uan-phy-gen.h: ns3::UanTxMode ns3::UanPhyGen::GetMode(uint32_t n) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('uint32_t', 'n')], - is_virtual=True) - ## uan-phy-gen.h: uint32_t ns3::UanPhyGen::GetNModes() [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_virtual=True) - ## uan-phy-gen.h: ns3::Ptr ns3::UanPhyGen::GetPacketRx() const [member function] - cls.add_method('GetPacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True, is_virtual=True) - ## uan-phy-gen.h: double ns3::UanPhyGen::GetRxGainDb() [member function] - cls.add_method('GetRxGainDb', - 'double', - [], - is_virtual=True) - ## uan-phy-gen.h: double ns3::UanPhyGen::GetRxThresholdDb() [member function] - cls.add_method('GetRxThresholdDb', - 'double', - [], - is_virtual=True) - ## uan-phy-gen.h: ns3::Ptr ns3::UanPhyGen::GetTransducer() [member function] - cls.add_method('GetTransducer', - 'ns3::Ptr< ns3::UanTransducer >', - [], - is_virtual=True) - ## uan-phy-gen.h: double ns3::UanPhyGen::GetTxPowerDb() [member function] - cls.add_method('GetTxPowerDb', - 'double', - [], - is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyGen::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateSleep() [member function] - cls.add_method('IsStateSleep', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::NotifyIntChange() [member function] - cls.add_method('NotifyIntChange', - 'void', - [], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::NotifyTransStartTx(ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('NotifyTransStartTx', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::RegisterListener(ns3::UanPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::UanPhyListener *', 'listener')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SendPacket(ns3::Ptr pkt, uint32_t modeNum) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('uint32_t', 'modeNum')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetCcaThresholdDb(double thresh) [member function] - cls.add_method('SetCcaThresholdDb', - 'void', - [param('double', 'thresh')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::UanNetDevice >', 'device')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetEnergyModelCallback(ns3::Callback cb) [member function] - cls.add_method('SetEnergyModelCallback', - 'void', - [param('ns3::Callback< void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::UanMac >', 'mac')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetReceiveErrorCallback(ns3::Callback, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetReceiveOkCallback(ns3::Callback, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetRxGainDb(double gain) [member function] - cls.add_method('SetRxGainDb', - 'void', - [param('double', 'gain')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetRxThresholdDb(double thresh) [member function] - cls.add_method('SetRxThresholdDb', - 'void', - [param('double', 'thresh')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetTransducer(ns3::Ptr trans) [member function] - cls.add_method('SetTransducer', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'trans')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetTxPowerDb(double txpwr) [member function] - cls.add_method('SetTxPowerDb', - 'void', - [param('double', 'txpwr')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::StartRxPacket(ns3::Ptr pkt, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('StartRxPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanPhyPer_methods(root_module, cls): - ## uan-phy.h: ns3::UanPhyPer::UanPhyPer() [constructor] - cls.add_constructor([]) - ## uan-phy.h: ns3::UanPhyPer::UanPhyPer(ns3::UanPhyPer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyPer const &', 'arg0')]) - ## uan-phy.h: double ns3::UanPhyPer::CalcPer(ns3::Ptr pkt, double sinrDb, ns3::UanTxMode mode) [member function] - cls.add_method('CalcPer', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'sinrDb'), param('ns3::UanTxMode', 'mode')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyPer::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-phy.h: void ns3::UanPhyPer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - return - -def register_Ns3UanPhyPerGenDefault_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyPerGenDefault::UanPhyPerGenDefault(ns3::UanPhyPerGenDefault const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyPerGenDefault const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyPerGenDefault::UanPhyPerGenDefault() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: double ns3::UanPhyPerGenDefault::CalcPer(ns3::Ptr pkt, double sinrDb, ns3::UanTxMode mode) [member function] - cls.add_method('CalcPer', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'sinrDb'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyPerGenDefault::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhyPerUmodem_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyPerUmodem::UanPhyPerUmodem(ns3::UanPhyPerUmodem const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyPerUmodem const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyPerUmodem::UanPhyPerUmodem() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: double ns3::UanPhyPerUmodem::CalcPer(ns3::Ptr pkt, double sinrDb, ns3::UanTxMode mode) [member function] - cls.add_method('CalcPer', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'sinrDb'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyPerUmodem::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPropModel_methods(root_module, cls): - ## uan-prop-model.h: ns3::UanPropModel::UanPropModel() [constructor] - cls.add_constructor([]) - ## uan-prop-model.h: ns3::UanPropModel::UanPropModel(ns3::UanPropModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPropModel const &', 'arg0')]) - ## uan-prop-model.h: void ns3::UanPropModel::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-prop-model.h: void ns3::UanPropModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## uan-prop-model.h: ns3::Time ns3::UanPropModel::GetDelay(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_pure_virtual=True, is_virtual=True) - ## uan-prop-model.h: double ns3::UanPropModel::GetPathLossDb(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode txMode) [member function] - cls.add_method('GetPathLossDb', - 'double', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - ## uan-prop-model.h: ns3::UanPdp ns3::UanPropModel::GetPdp(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPdp', - 'ns3::UanPdp', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanPropModelIdeal_methods(root_module, cls): - ## uan-prop-model-ideal.h: ns3::UanPropModelIdeal::UanPropModelIdeal(ns3::UanPropModelIdeal const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPropModelIdeal const &', 'arg0')]) - ## uan-prop-model-ideal.h: ns3::UanPropModelIdeal::UanPropModelIdeal() [constructor] - cls.add_constructor([]) - ## uan-prop-model-ideal.h: ns3::Time ns3::UanPropModelIdeal::GetDelay(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-ideal.h: double ns3::UanPropModelIdeal::GetPathLossDb(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPathLossDb', - 'double', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-ideal.h: ns3::UanPdp ns3::UanPropModelIdeal::GetPdp(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPdp', - 'ns3::UanPdp', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-ideal.h: static ns3::TypeId ns3::UanPropModelIdeal::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPropModelThorp_methods(root_module, cls): - ## uan-prop-model-thorp.h: ns3::UanPropModelThorp::UanPropModelThorp(ns3::UanPropModelThorp const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPropModelThorp const &', 'arg0')]) - ## uan-prop-model-thorp.h: ns3::UanPropModelThorp::UanPropModelThorp() [constructor] - cls.add_constructor([]) - ## uan-prop-model-thorp.h: ns3::Time ns3::UanPropModelThorp::GetDelay(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-thorp.h: double ns3::UanPropModelThorp::GetPathLossDb(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPathLossDb', - 'double', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-thorp.h: ns3::UanPdp ns3::UanPropModelThorp::GetPdp(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPdp', - 'ns3::UanPdp', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-thorp.h: static ns3::TypeId ns3::UanPropModelThorp::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanTransducer_methods(root_module, cls): - ## uan-transducer.h: ns3::UanTransducer::UanTransducer() [constructor] - cls.add_constructor([]) - ## uan-transducer.h: ns3::UanTransducer::UanTransducer(ns3::UanTransducer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanTransducer const &', 'arg0')]) - ## uan-transducer.h: void ns3::UanTransducer::AddPhy(ns3::Ptr phy) [member function] - cls.add_method('AddPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_pure_virtual=True, is_virtual=True) - ## uan-transducer.h: void ns3::UanTransducer::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-transducer.h: std::list > const & ns3::UanTransducer::GetArrivalList() const [member function] - cls.add_method('GetArrivalList', - 'std::list< ns3::UanPacketArrival > const &', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: ns3::Ptr ns3::UanTransducer::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: std::list, std::allocator > > const & ns3::UanTransducer::GetPhyList() const [member function] - cls.add_method('GetPhyList', - 'std::list< ns3::Ptr< ns3::UanPhy > > const &', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: ns3::UanTransducer::State ns3::UanTransducer::GetState() const [member function] - cls.add_method('GetState', - 'ns3::UanTransducer::State', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: bool ns3::UanTransducer::IsRx() const [member function] - cls.add_method('IsRx', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: bool ns3::UanTransducer::IsTx() const [member function] - cls.add_method('IsTx', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: void ns3::UanTransducer::Receive(ns3::Ptr packet, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_pure_virtual=True, is_virtual=True) - ## uan-transducer.h: void ns3::UanTransducer::SetChannel(ns3::Ptr chan) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'chan')], - is_pure_virtual=True, is_virtual=True) - ## uan-transducer.h: void ns3::UanTransducer::Transmit(ns3::Ptr src, ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('Transmit', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'src'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanTransducerHd_methods(root_module, cls): - ## uan-transducer-hd.h: ns3::UanTransducerHd::UanTransducerHd(ns3::UanTransducerHd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanTransducerHd const &', 'arg0')]) - ## uan-transducer-hd.h: ns3::UanTransducerHd::UanTransducerHd() [constructor] - cls.add_constructor([]) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::AddPhy(ns3::Ptr arg0) [member function] - cls.add_method('AddPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'arg0')], - is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-transducer-hd.h: std::list > const & ns3::UanTransducerHd::GetArrivalList() const [member function] - cls.add_method('GetArrivalList', - 'std::list< ns3::UanPacketArrival > const &', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: ns3::Ptr ns3::UanTransducerHd::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: std::list, std::allocator > > const & ns3::UanTransducerHd::GetPhyList() const [member function] - cls.add_method('GetPhyList', - 'std::list< ns3::Ptr< ns3::UanPhy > > const &', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: ns3::UanTransducer::State ns3::UanTransducerHd::GetState() const [member function] - cls.add_method('GetState', - 'ns3::UanTransducer::State', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: static ns3::TypeId ns3::UanTransducerHd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-transducer-hd.h: bool ns3::UanTransducerHd::IsRx() const [member function] - cls.add_method('IsRx', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: bool ns3::UanTransducerHd::IsTx() const [member function] - cls.add_method('IsTx', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::Receive(ns3::Ptr packet, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::SetChannel(ns3::Ptr chan) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'chan')], - is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::Transmit(ns3::Ptr src, ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('Transmit', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'src'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanChannel_methods(root_module, cls): - ## uan-channel.h: ns3::UanChannel::UanChannel(ns3::UanChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanChannel const &', 'arg0')]) - ## uan-channel.h: ns3::UanChannel::UanChannel() [constructor] - cls.add_constructor([]) - ## uan-channel.h: void ns3::UanChannel::AddDevice(ns3::Ptr dev, ns3::Ptr trans) [member function] - cls.add_method('AddDevice', - 'void', - [param('ns3::Ptr< ns3::UanNetDevice >', 'dev'), param('ns3::Ptr< ns3::UanTransducer >', 'trans')]) - ## uan-channel.h: void ns3::UanChannel::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## uan-channel.h: ns3::Ptr ns3::UanChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## uan-channel.h: uint32_t ns3::UanChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-channel.h: double ns3::UanChannel::GetNoiseDbHz(double fKhz) [member function] - cls.add_method('GetNoiseDbHz', - 'double', - [param('double', 'fKhz')]) - ## uan-channel.h: static ns3::TypeId ns3::UanChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-channel.h: void ns3::UanChannel::SetNoiseModel(ns3::Ptr noise) [member function] - cls.add_method('SetNoiseModel', - 'void', - [param('ns3::Ptr< ns3::UanNoiseModel >', 'noise')]) - ## uan-channel.h: void ns3::UanChannel::SetPropagationModel(ns3::Ptr prop) [member function] - cls.add_method('SetPropagationModel', - 'void', - [param('ns3::Ptr< ns3::UanPropModel >', 'prop')]) - ## uan-channel.h: void ns3::UanChannel::TxPacket(ns3::Ptr src, ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txmode) [member function] - cls.add_method('TxPacket', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'src'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txmode')]) - ## uan-channel.h: void ns3::UanChannel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanModesListChecker_methods(root_module, cls): - ## uan-tx-mode.h: ns3::UanModesListChecker::UanModesListChecker() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: ns3::UanModesListChecker::UanModesListChecker(ns3::UanModesListChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanModesListChecker const &', 'arg0')]) - return - -def register_Ns3UanModesListValue_methods(root_module, cls): - ## uan-tx-mode.h: ns3::UanModesListValue::UanModesListValue() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: ns3::UanModesListValue::UanModesListValue(ns3::UanModesListValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanModesListValue const &', 'arg0')]) - ## uan-tx-mode.h: ns3::UanModesListValue::UanModesListValue(ns3::UanModesList const & value) [constructor] - cls.add_constructor([param('ns3::UanModesList const &', 'value')]) - ## uan-tx-mode.h: ns3::Ptr ns3::UanModesListValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## uan-tx-mode.h: bool ns3::UanModesListValue::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) - ## uan-tx-mode.h: ns3::UanModesList ns3::UanModesListValue::Get() const [member function] - cls.add_method('Get', - 'ns3::UanModesList', - [], - is_const=True) - ## uan-tx-mode.h: std::string ns3::UanModesListValue::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) - ## uan-tx-mode.h: void ns3::UanModesListValue::Set(ns3::UanModesList const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::UanModesList const &', 'value')]) - return - -def register_Ns3UanNetDevice_methods(root_module, cls): - ## uan-net-device.h: ns3::UanNetDevice::UanNetDevice(ns3::UanNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanNetDevice const &', 'arg0')]) - ## uan-net-device.h: ns3::UanNetDevice::UanNetDevice() [constructor] - cls.add_constructor([]) - ## uan-net-device.h: void ns3::UanNetDevice::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')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## uan-net-device.h: ns3::Address ns3::UanNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Address ns3::UanNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: uint32_t ns3::UanNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetMac() const [member function] - cls.add_method('GetMac', - 'ns3::Ptr< ns3::UanMac >', - [], - is_const=True) - ## uan-net-device.h: uint16_t ns3::UanNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Address ns3::UanNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Address ns3::UanNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::UanPhy >', - [], - is_const=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetTransducer() const [member function] - cls.add_method('GetTransducer', - 'ns3::Ptr< ns3::UanTransducer >', - [], - is_const=True) - ## uan-net-device.h: static ns3::TypeId ns3::UanNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'channel')]) - ## uan-net-device.h: void ns3::UanNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::UanMac >', 'mac')]) - ## uan-net-device.h: bool ns3::UanNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')]) - ## uan-net-device.h: void ns3::UanNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetTransducer(ns3::Ptr trans) [member function] - cls.add_method('SetTransducer', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'trans')]) - ## uan-net-device.h: bool ns3::UanNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::ForwardUp(ns3::Ptr pkt, ns3::UanAddress const & src) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::UanAddress const &', 'src')], - visibility='private', is_virtual=True) - return - -def register_Ns3AcousticModemEnergyModel_methods(root_module, cls): - ## acoustic-modem-energy-model.h: ns3::AcousticModemEnergyModel::AcousticModemEnergyModel(ns3::AcousticModemEnergyModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AcousticModemEnergyModel const &', 'arg0')]) - ## acoustic-modem-energy-model.h: ns3::AcousticModemEnergyModel::AcousticModemEnergyModel() [constructor] - cls.add_constructor([]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::ChangeState(int newState) [member function] - cls.add_method('ChangeState', - 'void', - [param('int', 'newState')], - is_virtual=True) - ## acoustic-modem-energy-model.h: int ns3::AcousticModemEnergyModel::GetCurrentState() const [member function] - cls.add_method('GetCurrentState', - 'int', - [], - is_const=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetIdlePowerW() const [member function] - cls.add_method('GetIdlePowerW', - 'double', - [], - is_const=True) - ## acoustic-modem-energy-model.h: ns3::Ptr ns3::AcousticModemEnergyModel::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetRxPowerW() const [member function] - cls.add_method('GetRxPowerW', - 'double', - [], - is_const=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetSleepPowerW() const [member function] - cls.add_method('GetSleepPowerW', - 'double', - [], - is_const=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetTotalEnergyConsumption() const [member function] - cls.add_method('GetTotalEnergyConsumption', - 'double', - [], - is_const=True, is_virtual=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetTxPowerW() const [member function] - cls.add_method('GetTxPowerW', - 'double', - [], - is_const=True) - ## acoustic-modem-energy-model.h: static ns3::TypeId ns3::AcousticModemEnergyModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::HandleEnergyDepletion() [member function] - cls.add_method('HandleEnergyDepletion', - 'void', - [], - is_virtual=True) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetEnergyDepletionCallback(ns3::Callback callback) [member function] - cls.add_method('SetEnergyDepletionCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetEnergySource(ns3::Ptr source) [member function] - cls.add_method('SetEnergySource', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_virtual=True) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetIdlePowerW(double idlePowerW) [member function] - cls.add_method('SetIdlePowerW', - 'void', - [param('double', 'idlePowerW')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetRxPowerW(double rxPowerW) [member function] - cls.add_method('SetRxPowerW', - 'void', - [param('double', 'rxPowerW')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetSleepPowerW(double sleepPowerW) [member function] - cls.add_method('SetSleepPowerW', - 'void', - [param('double', 'sleepPowerW')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetTxPowerW(double txPowerW) [member function] - cls.add_method('SetTxPowerW', - 'void', - [param('double', 'txPowerW')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::DoGetCurrentA() const [member function] - cls.add_method('DoGetCurrentA', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## uan-tx-mode.h: extern ns3::Ptr ns3::MakeUanModesListChecker() [free function] - module.add_function('MakeUanModesListChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_virtual_net_device.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_virtual_net_device.py deleted file mode 100644 index b02cf7e2b..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_virtual_net_device.py +++ /dev/null @@ -1,299 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## virtual-net-device.h: ns3::VirtualNetDevice [class] - module.add_class('VirtualNetDevice', parent=root_module['ns3::NetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3VirtualNetDevice_methods(root_module, root_module['ns3::VirtualNetDevice']) - return - -def register_Ns3VirtualNetDevice_methods(root_module, cls): - ## virtual-net-device.h: ns3::VirtualNetDevice::VirtualNetDevice(ns3::VirtualNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::VirtualNetDevice const &', 'arg0')]) - ## virtual-net-device.h: ns3::VirtualNetDevice::VirtualNetDevice() [constructor] - cls.add_constructor([]) - ## virtual-net-device.h: void ns3::VirtualNetDevice::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')], - is_virtual=True) - ## virtual-net-device.h: ns3::Address ns3::VirtualNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Address ns3::VirtualNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Ptr ns3::VirtualNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: uint32_t ns3::VirtualNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: uint16_t ns3::VirtualNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Address ns3::VirtualNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Address ns3::VirtualNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Ptr ns3::VirtualNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: static ns3::TypeId ns3::VirtualNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::Receive(ns3::Ptr packet, uint16_t protocol, ns3::Address const & source, ns3::Address const & destination, ns3::NetDevice::PacketType packetType) [member function] - cls.add_method('Receive', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'destination'), param('ns3::NetDevice::PacketType', 'packetType')]) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetIsPointToPoint(bool isPointToPoint) [member function] - cls.add_method('SetIsPointToPoint', - 'void', - [param('bool', 'isPointToPoint')]) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetNeedsArp(bool needsArp) [member function] - cls.add_method('SetNeedsArp', - 'void', - [param('bool', 'needsArp')]) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetSendCallback(ns3::Callback, ns3::Address const&, ns3::Address const&, unsigned short, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> transmitCb) [member function] - cls.add_method('SetSendCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::Address const &, ns3::Address const &, unsigned short, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'transmitCb')]) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetSupportsSendFrom(bool supportsSendFrom) [member function] - cls.add_method('SetSupportsSendFrom', - 'void', - [param('bool', 'supportsSendFrom')]) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_visualizer.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_visualizer.py deleted file mode 100644 index 12e1ce12e..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_visualizer.py +++ /dev/null @@ -1,357 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## pyviz.h: ns3::PyViz [class] - module.add_class('PyViz') - ## pyviz.h: ns3::PyViz::PacketCaptureMode [enumeration] - module.add_enum('PacketCaptureMode', ['PACKET_CAPTURE_DISABLED', 'PACKET_CAPTURE_FILTER_HEADERS_OR', 'PACKET_CAPTURE_FILTER_HEADERS_AND'], outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::LastPacketsSample [struct] - module.add_class('LastPacketsSample', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics [struct] - module.add_class('NetDeviceStatistics', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::NodeStatistics [struct] - module.add_class('NodeStatistics', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions [struct] - module.add_class('PacketCaptureOptions', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::PacketDropSample [struct] - module.add_class('PacketDropSample', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::PacketSample [struct] - module.add_class('PacketSample', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::RxPacketSample [struct] - module.add_class('RxPacketSample', parent=root_module['ns3::PyViz::PacketSample'], outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::TransmissionSample [struct] - module.add_class('TransmissionSample', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::TxPacketSample [struct] - module.add_class('TxPacketSample', parent=root_module['ns3::PyViz::PacketSample'], outer_class=root_module['ns3::PyViz']) - module.add_container('std::vector< ns3::PyViz::RxPacketSample >', 'ns3::PyViz::RxPacketSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::TxPacketSample >', 'ns3::PyViz::TxPacketSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::PacketSample >', 'ns3::PyViz::PacketSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::TransmissionSample >', 'ns3::PyViz::TransmissionSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::PacketDropSample >', 'ns3::PyViz::PacketDropSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::NetDeviceStatistics >', 'ns3::PyViz::NetDeviceStatistics', container_type='vector') - module.add_container('std::vector< ns3::PyViz::NodeStatistics >', 'ns3::PyViz::NodeStatistics', container_type='vector') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PyViz_methods(root_module, root_module['ns3::PyViz']) - register_Ns3PyVizLastPacketsSample_methods(root_module, root_module['ns3::PyViz::LastPacketsSample']) - register_Ns3PyVizNetDeviceStatistics_methods(root_module, root_module['ns3::PyViz::NetDeviceStatistics']) - register_Ns3PyVizNodeStatistics_methods(root_module, root_module['ns3::PyViz::NodeStatistics']) - register_Ns3PyVizPacketCaptureOptions_methods(root_module, root_module['ns3::PyViz::PacketCaptureOptions']) - register_Ns3PyVizPacketDropSample_methods(root_module, root_module['ns3::PyViz::PacketDropSample']) - register_Ns3PyVizPacketSample_methods(root_module, root_module['ns3::PyViz::PacketSample']) - register_Ns3PyVizRxPacketSample_methods(root_module, root_module['ns3::PyViz::RxPacketSample']) - register_Ns3PyVizTransmissionSample_methods(root_module, root_module['ns3::PyViz::TransmissionSample']) - register_Ns3PyVizTxPacketSample_methods(root_module, root_module['ns3::PyViz::TxPacketSample']) - return - -def register_Ns3PyViz_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::PyViz(ns3::PyViz const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::PyViz() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::LastPacketsSample ns3::PyViz::GetLastPackets(uint32_t nodeId) const [member function] - cls.add_method('GetLastPackets', - 'ns3::PyViz::LastPacketsSample', - [param('uint32_t', 'nodeId')], - is_const=True) - ## pyviz.h: std::vector > ns3::PyViz::GetNodesStatistics() const [member function] - cls.add_method('GetNodesStatistics', - 'std::vector< ns3::PyViz::NodeStatistics >', - [], - is_const=True) - ## pyviz.h: std::vector > ns3::PyViz::GetPacketDropSamples() const [member function] - cls.add_method('GetPacketDropSamples', - 'std::vector< ns3::PyViz::PacketDropSample >', - [], - is_const=True) - ## pyviz.h: std::vector > ns3::PyViz::GetPauseMessages() const [member function] - cls.add_method('GetPauseMessages', - 'std::vector< std::string >', - [], - is_const=True) - ## pyviz.h: std::vector > ns3::PyViz::GetTransmissionSamples() const [member function] - cls.add_method('GetTransmissionSamples', - 'std::vector< ns3::PyViz::TransmissionSample >', - [], - is_const=True) - ## pyviz.h: static void ns3::PyViz::LineClipping(double boundsX1, double boundsY1, double boundsX2, double boundsY2, double & lineX1, double & lineY1, double & lineX2, double & lineY2) [member function] - cls.add_method('LineClipping', - 'void', - [param('double', 'boundsX1'), param('double', 'boundsY1'), param('double', 'boundsX2'), param('double', 'boundsY2'), param('double &', 'lineX1', direction=3), param('double &', 'lineY1', direction=3), param('double &', 'lineX2', direction=3), param('double &', 'lineY2', direction=3)], - is_static=True) - ## pyviz.h: static void ns3::PyViz::Pause(std::string const & message) [member function] - cls.add_method('Pause', - 'void', - [param('std::string const &', 'message')], - is_static=True) - ## pyviz.h: void ns3::PyViz::RegisterCsmaLikeDevice(std::string const & deviceTypeName) [member function] - cls.add_method('RegisterCsmaLikeDevice', - 'void', - [param('std::string const &', 'deviceTypeName')]) - ## pyviz.h: void ns3::PyViz::RegisterDropTracePath(std::string const & tracePath) [member function] - cls.add_method('RegisterDropTracePath', - 'void', - [param('std::string const &', 'tracePath')]) - ## pyviz.h: void ns3::PyViz::RegisterPointToPointLikeDevice(std::string const & deviceTypeName) [member function] - cls.add_method('RegisterPointToPointLikeDevice', - 'void', - [param('std::string const &', 'deviceTypeName')]) - ## pyviz.h: void ns3::PyViz::RegisterWifiLikeDevice(std::string const & deviceTypeName) [member function] - cls.add_method('RegisterWifiLikeDevice', - 'void', - [param('std::string const &', 'deviceTypeName')]) - ## pyviz.h: void ns3::PyViz::SetNodesOfInterest(std::set, std::allocator > nodes) [member function] - cls.add_method('SetNodesOfInterest', - 'void', - [param('std::set< unsigned int >', 'nodes')]) - ## pyviz.h: void ns3::PyViz::SetPacketCaptureOptions(uint32_t nodeId, ns3::PyViz::PacketCaptureOptions options) [member function] - cls.add_method('SetPacketCaptureOptions', - 'void', - [param('uint32_t', 'nodeId'), param('ns3::PyViz::PacketCaptureOptions', 'options')]) - ## pyviz.h: void ns3::PyViz::SimulatorRunUntil(ns3::Time time) [member function] - cls.add_method('SimulatorRunUntil', - 'void', - [param('ns3::Time', 'time')]) - return - -def register_Ns3PyVizLastPacketsSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::LastPacketsSample::LastPacketsSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::LastPacketsSample::LastPacketsSample(ns3::PyViz::LastPacketsSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::LastPacketsSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::LastPacketsSample::lastDroppedPackets [variable] - cls.add_instance_attribute('lastDroppedPackets', 'std::vector< ns3::PyViz::PacketSample >', is_const=False) - ## pyviz.h: ns3::PyViz::LastPacketsSample::lastReceivedPackets [variable] - cls.add_instance_attribute('lastReceivedPackets', 'std::vector< ns3::PyViz::RxPacketSample >', is_const=False) - ## pyviz.h: ns3::PyViz::LastPacketsSample::lastTransmittedPackets [variable] - cls.add_instance_attribute('lastTransmittedPackets', 'std::vector< ns3::PyViz::TxPacketSample >', is_const=False) - return - -def register_Ns3PyVizNetDeviceStatistics_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::NetDeviceStatistics(ns3::PyViz::NetDeviceStatistics const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::NetDeviceStatistics const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::NetDeviceStatistics() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::receivedBytes [variable] - cls.add_instance_attribute('receivedBytes', 'uint64_t', is_const=False) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::receivedPackets [variable] - cls.add_instance_attribute('receivedPackets', 'uint32_t', is_const=False) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::transmittedBytes [variable] - cls.add_instance_attribute('transmittedBytes', 'uint64_t', is_const=False) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::transmittedPackets [variable] - cls.add_instance_attribute('transmittedPackets', 'uint32_t', is_const=False) - return - -def register_Ns3PyVizNodeStatistics_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::NodeStatistics::NodeStatistics() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::NodeStatistics::NodeStatistics(ns3::PyViz::NodeStatistics const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::NodeStatistics const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::NodeStatistics::nodeId [variable] - cls.add_instance_attribute('nodeId', 'uint32_t', is_const=False) - ## pyviz.h: ns3::PyViz::NodeStatistics::statistics [variable] - cls.add_instance_attribute('statistics', 'std::vector< ns3::PyViz::NetDeviceStatistics >', is_const=False) - return - -def register_Ns3PyVizPacketCaptureOptions_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::PacketCaptureOptions() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::PacketCaptureOptions(ns3::PyViz::PacketCaptureOptions const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::PacketCaptureOptions const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::headers [variable] - cls.add_instance_attribute('headers', 'std::set< ns3::TypeId >', is_const=False) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::mode [variable] - cls.add_instance_attribute('mode', 'ns3::PyViz::PacketCaptureMode', is_const=False) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::numLastPackets [variable] - cls.add_instance_attribute('numLastPackets', 'uint32_t', is_const=False) - return - -def register_Ns3PyVizPacketDropSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::PacketDropSample::PacketDropSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::PacketDropSample::PacketDropSample(ns3::PyViz::PacketDropSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::PacketDropSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::PacketDropSample::bytes [variable] - cls.add_instance_attribute('bytes', 'uint32_t', is_const=False) - ## pyviz.h: ns3::PyViz::PacketDropSample::transmitter [variable] - cls.add_instance_attribute('transmitter', 'ns3::Ptr< ns3::Node >', is_const=False) - return - -def register_Ns3PyVizPacketSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::PacketSample::PacketSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::PacketSample::PacketSample(ns3::PyViz::PacketSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::PacketSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::PacketSample::device [variable] - cls.add_instance_attribute('device', 'ns3::Ptr< ns3::NetDevice >', is_const=False) - ## pyviz.h: ns3::PyViz::PacketSample::packet [variable] - cls.add_instance_attribute('packet', 'ns3::Ptr< ns3::Packet >', is_const=False) - ## pyviz.h: ns3::PyViz::PacketSample::time [variable] - cls.add_instance_attribute('time', 'ns3::Time', is_const=False) - return - -def register_Ns3PyVizRxPacketSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::RxPacketSample::RxPacketSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::RxPacketSample::RxPacketSample(ns3::PyViz::RxPacketSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::RxPacketSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::RxPacketSample::from [variable] - cls.add_instance_attribute('from', 'ns3::Mac48Address', is_const=False) - return - -def register_Ns3PyVizTransmissionSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::TransmissionSample::TransmissionSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::TransmissionSample::TransmissionSample(ns3::PyViz::TransmissionSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::TransmissionSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::TransmissionSample::bytes [variable] - cls.add_instance_attribute('bytes', 'uint32_t', is_const=False) - ## pyviz.h: ns3::PyViz::TransmissionSample::channel [variable] - cls.add_instance_attribute('channel', 'ns3::Ptr< ns3::Channel >', is_const=False) - ## pyviz.h: ns3::PyViz::TransmissionSample::receiver [variable] - cls.add_instance_attribute('receiver', 'ns3::Ptr< ns3::Node >', is_const=False) - ## pyviz.h: ns3::PyViz::TransmissionSample::transmitter [variable] - cls.add_instance_attribute('transmitter', 'ns3::Ptr< ns3::Node >', is_const=False) - return - -def register_Ns3PyVizTxPacketSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::TxPacketSample::TxPacketSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::TxPacketSample::TxPacketSample(ns3::PyViz::TxPacketSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::TxPacketSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::TxPacketSample::to [variable] - cls.add_instance_attribute('to', 'ns3::Mac48Address', is_const=False) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_wifi.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_wifi.py deleted file mode 100644 index 23f6fbbb0..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_wifi.py +++ /dev/null @@ -1,6413 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## wifi-mac-header.h: ns3::WifiMacType [enumeration] - module.add_enum('WifiMacType', ['WIFI_MAC_CTL_RTS', 'WIFI_MAC_CTL_CTS', 'WIFI_MAC_CTL_ACK', 'WIFI_MAC_CTL_BACKREQ', 'WIFI_MAC_CTL_BACKRESP', 'WIFI_MAC_MGT_BEACON', 'WIFI_MAC_MGT_ASSOCIATION_REQUEST', 'WIFI_MAC_MGT_ASSOCIATION_RESPONSE', 'WIFI_MAC_MGT_DISASSOCIATION', 'WIFI_MAC_MGT_REASSOCIATION_REQUEST', 'WIFI_MAC_MGT_REASSOCIATION_RESPONSE', 'WIFI_MAC_MGT_PROBE_REQUEST', 'WIFI_MAC_MGT_PROBE_RESPONSE', 'WIFI_MAC_MGT_AUTHENTICATION', 'WIFI_MAC_MGT_DEAUTHENTICATION', 'WIFI_MAC_MGT_ACTION', 'WIFI_MAC_MGT_ACTION_NO_ACK', 'WIFI_MAC_MGT_MULTIHOP_ACTION', 'WIFI_MAC_DATA', 'WIFI_MAC_DATA_CFACK', 'WIFI_MAC_DATA_CFPOLL', 'WIFI_MAC_DATA_CFACK_CFPOLL', 'WIFI_MAC_DATA_NULL', 'WIFI_MAC_DATA_NULL_CFACK', 'WIFI_MAC_DATA_NULL_CFPOLL', 'WIFI_MAC_DATA_NULL_CFACK_CFPOLL', 'WIFI_MAC_QOSDATA', 'WIFI_MAC_QOSDATA_CFACK', 'WIFI_MAC_QOSDATA_CFPOLL', 'WIFI_MAC_QOSDATA_CFACK_CFPOLL', 'WIFI_MAC_QOSDATA_NULL', 'WIFI_MAC_QOSDATA_NULL_CFPOLL', 'WIFI_MAC_QOSDATA_NULL_CFACK_CFPOLL']) - ## wifi-preamble.h: ns3::WifiPreamble [enumeration] - module.add_enum('WifiPreamble', ['WIFI_PREAMBLE_LONG', 'WIFI_PREAMBLE_SHORT']) - ## wifi-mode.h: ns3::WifiModulationClass [enumeration] - module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT']) - ## wifi-phy-standard.h: ns3::WifiPhyStandard [enumeration] - module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH']) - ## qos-utils.h: ns3::AcIndex [enumeration] - module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF']) - ## ctrl-headers.h: ns3::BlockAckType [enumeration] - module.add_enum('BlockAckType', ['BASIC_BLOCK_ACK', 'COMPRESSED_BLOCK_ACK', 'MULTI_TID_BLOCK_ACK']) - ## qos-tag.h: ns3::UserPriority [enumeration] - module.add_enum('UserPriority', ['UP_BK', 'UP_BE', 'UP_EE', 'UP_CL', 'UP_VI', 'UP_VO', 'UP_NC']) - ## wifi-mode.h: ns3::WifiCodeRate [enumeration] - module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2']) - ## edca-txop-n.h: ns3::TypeOfStation [enumeration] - module.add_enum('TypeOfStation', ['STA', 'AP', 'ADHOC_STA', 'MESH']) - ## athstats-helper.h: ns3::AthstatsHelper [class] - module.add_class('AthstatsHelper') - ## block-ack-manager.h: ns3::Bar [struct] - module.add_class('Bar') - ## block-ack-agreement.h: ns3::BlockAckAgreement [class] - module.add_class('BlockAckAgreement') - ## block-ack-cache.h: ns3::BlockAckCache [class] - module.add_class('BlockAckCache') - ## block-ack-manager.h: ns3::BlockAckManager [class] - module.add_class('BlockAckManager') - ## capability-information.h: ns3::CapabilityInformation [class] - module.add_class('CapabilityInformation') - ## dcf-manager.h: ns3::DcfManager [class] - module.add_class('DcfManager') - ## dcf-manager.h: ns3::DcfState [class] - module.add_class('DcfState', allow_subclassing=True) - ## dsss-error-rate-model.h: ns3::DsssErrorRateModel [class] - module.add_class('DsssErrorRateModel') - ## interference-helper.h: ns3::InterferenceHelper [class] - module.add_class('InterferenceHelper') - ## interference-helper.h: ns3::InterferenceHelper::SnrPer [struct] - module.add_class('SnrPer', outer_class=root_module['ns3::InterferenceHelper']) - ## mac-low.h: ns3::MacLowBlockAckEventListener [class] - module.add_class('MacLowBlockAckEventListener', allow_subclassing=True) - ## mac-low.h: ns3::MacLowDcfListener [class] - module.add_class('MacLowDcfListener', allow_subclassing=True) - ## mac-low.h: ns3::MacLowTransmissionListener [class] - module.add_class('MacLowTransmissionListener', allow_subclassing=True) - ## mac-low.h: ns3::MacLowTransmissionParameters [class] - module.add_class('MacLowTransmissionParameters') - ## mac-rx-middle.h: ns3::MacRxMiddle [class] - module.add_class('MacRxMiddle') - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement [class] - module.add_class('OriginatorBlockAckAgreement', parent=root_module['ns3::BlockAckAgreement']) - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement::State [enumeration] - module.add_enum('State', ['PENDING', 'ESTABLISHED', 'INACTIVE', 'UNSUCCESSFUL'], outer_class=root_module['ns3::OriginatorBlockAckAgreement']) - ## minstrel-wifi-manager.h: ns3::RateInfo [struct] - module.add_class('RateInfo') - ## status-code.h: ns3::StatusCode [class] - module.add_class('StatusCode') - ## wifi-helper.h: ns3::WifiHelper [class] - module.add_class('WifiHelper') - ## wifi-helper.h: ns3::WifiMacHelper [class] - module.add_class('WifiMacHelper', allow_subclassing=True) - ## wifi-mode.h: ns3::WifiMode [class] - module.add_class('WifiMode') - ## wifi-mode.h: ns3::WifiModeFactory [class] - module.add_class('WifiModeFactory') - ## wifi-helper.h: ns3::WifiPhyHelper [class] - module.add_class('WifiPhyHelper', allow_subclassing=True) - ## wifi-phy.h: ns3::WifiPhyListener [class] - module.add_class('WifiPhyListener', allow_subclassing=True) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation [struct] - module.add_class('WifiRemoteStation') - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationInfo [class] - module.add_class('WifiRemoteStationInfo') - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState [struct] - module.add_class('WifiRemoteStationState') - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState [enumeration] - module.add_enum('', ['BRAND_NEW', 'DISASSOC', 'WAIT_ASSOC_TX_OK', 'GOT_ASSOC_TX_OK'], outer_class=root_module['ns3::WifiRemoteStationState']) - ## yans-wifi-helper.h: ns3::YansWifiChannelHelper [class] - module.add_class('YansWifiChannelHelper') - ## yans-wifi-helper.h: ns3::YansWifiPhyHelper [class] - module.add_class('YansWifiPhyHelper', parent=[root_module['ns3::WifiPhyHelper'], root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes [enumeration] - module.add_enum('SupportedPcapDataLinkTypes', ['DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::YansWifiPhyHelper']) - ## mgt-headers.h: ns3::MgtAddBaRequestHeader [class] - module.add_class('MgtAddBaRequestHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtAddBaResponseHeader [class] - module.add_class('MgtAddBaResponseHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtAssocRequestHeader [class] - module.add_class('MgtAssocRequestHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtAssocResponseHeader [class] - module.add_class('MgtAssocResponseHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtDelBaHeader [class] - module.add_class('MgtDelBaHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtProbeRequestHeader [class] - module.add_class('MgtProbeRequestHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtProbeResponseHeader [class] - module.add_class('MgtProbeResponseHeader', parent=root_module['ns3::Header']) - ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class] - module.add_class('NqosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) - ## qos-tag.h: ns3::QosTag [class] - module.add_class('QosTag', parent=root_module['ns3::Tag']) - ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper [class] - module.add_class('QosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::InterferenceHelper::Event', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::WifiInformationElement', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## mgt-headers.h: ns3::WifiActionHeader [class] - module.add_class('WifiActionHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::WifiActionHeader::CategoryValue [enumeration] - module.add_enum('CategoryValue', ['BLOCK_ACK', 'MESH_PEERING_MGT', 'MESH_LINK_METRIC', 'MESH_PATH_SELECTION', 'MESH_INTERWORKING', 'MESH_RESOURCE_COORDINATION', 'MESH_PROXY_FORWARDING'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::PeerLinkMgtActionValue [enumeration] - module.add_enum('PeerLinkMgtActionValue', ['PEER_LINK_OPEN', 'PEER_LINK_CONFIRM', 'PEER_LINK_CLOSE'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::LinkMetricActionValue [enumeration] - module.add_enum('LinkMetricActionValue', ['LINK_METRIC_REQUEST', 'LINK_METRIC_REPORT'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::PathSelectionActionValue [enumeration] - module.add_enum('PathSelectionActionValue', ['PATH_SELECTION'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::InterworkActionValue [enumeration] - module.add_enum('InterworkActionValue', ['PORTAL_ANNOUNCEMENT'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::ResourceCoordinationActionValue [enumeration] - module.add_enum('ResourceCoordinationActionValue', ['CONGESTION_CONTROL_NOTIFICATION', 'MDA_SETUP_REQUEST', 'MDA_SETUP_REPLY', 'MDAOP_ADVERTISMENT_REQUEST', 'MDAOP_ADVERTISMENTS', 'MDAOP_SET_TEARDOWN', 'BEACON_TIMING_REQUEST', 'BEACON_TIMING_RESPONSE', 'TBTT_ADJUSTMENT_REQUEST', 'MESH_CHANNEL_SWITCH_ANNOUNCEMENT'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::BlockAckActionValue [enumeration] - module.add_enum('BlockAckActionValue', ['BLOCK_ACK_ADDBA_REQUEST', 'BLOCK_ACK_ADDBA_RESPONSE', 'BLOCK_ACK_DELBA'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue [union] - module.add_class('ActionValue', outer_class=root_module['ns3::WifiActionHeader']) - ## wifi-information-element.h: ns3::WifiInformationElement [class] - module.add_class('WifiInformationElement', parent=root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) - ## wifi-information-element-vector.h: ns3::WifiInformationElementVector [class] - module.add_class('WifiInformationElementVector', parent=root_module['ns3::Header']) - ## wifi-mac.h: ns3::WifiMac [class] - module.add_class('WifiMac', parent=root_module['ns3::Object']) - ## wifi-mac-header.h: ns3::WifiMacHeader [class] - module.add_class('WifiMacHeader', parent=root_module['ns3::Header']) - ## wifi-mac-header.h: ns3::WifiMacHeader::QosAckPolicy [enumeration] - module.add_enum('QosAckPolicy', ['NORMAL_ACK', 'NO_ACK', 'NO_EXPLICIT_ACK', 'BLOCK_ACK'], outer_class=root_module['ns3::WifiMacHeader']) - ## wifi-mac-header.h: ns3::WifiMacHeader::AddressType [enumeration] - module.add_enum('AddressType', ['ADDR1', 'ADDR2', 'ADDR3', 'ADDR4'], outer_class=root_module['ns3::WifiMacHeader']) - ## wifi-phy.h: ns3::WifiPhy [class] - module.add_class('WifiPhy', parent=root_module['ns3::Object']) - ## wifi-phy.h: ns3::WifiPhy::State [enumeration] - module.add_enum('State', ['IDLE', 'CCA_BUSY', 'TX', 'RX', 'SWITCHING'], outer_class=root_module['ns3::WifiPhy']) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationManager [class] - module.add_class('WifiRemoteStationManager', parent=root_module['ns3::Object']) - ## yans-wifi-phy.h: ns3::YansWifiPhy [class] - module.add_class('YansWifiPhy', parent=root_module['ns3::WifiPhy']) - ## aarf-wifi-manager.h: ns3::AarfWifiManager [class] - module.add_class('AarfWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## aarfcd-wifi-manager.h: ns3::AarfcdWifiManager [class] - module.add_class('AarfcdWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## amrr-wifi-manager.h: ns3::AmrrWifiManager [class] - module.add_class('AmrrWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## amsdu-subframe-header.h: ns3::AmsduSubframeHeader [class] - module.add_class('AmsduSubframeHeader', parent=root_module['ns3::Header']) - ## arf-wifi-manager.h: ns3::ArfWifiManager [class] - module.add_class('ArfWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## athstats-helper.h: ns3::AthstatsWifiTraceSink [class] - module.add_class('AthstatsWifiTraceSink', parent=root_module['ns3::Object']) - ## cara-wifi-manager.h: ns3::CaraWifiManager [class] - module.add_class('CaraWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## constant-rate-wifi-manager.h: ns3::ConstantRateWifiManager [class] - module.add_class('ConstantRateWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## ctrl-headers.h: ns3::CtrlBAckRequestHeader [class] - module.add_class('CtrlBAckRequestHeader', parent=root_module['ns3::Header']) - ## ctrl-headers.h: ns3::CtrlBAckResponseHeader [class] - module.add_class('CtrlBAckResponseHeader', parent=root_module['ns3::Header']) - ## dcf.h: ns3::Dcf [class] - module.add_class('Dcf', parent=root_module['ns3::Object']) - ## edca-txop-n.h: ns3::EdcaTxopN [class] - module.add_class('EdcaTxopN', parent=root_module['ns3::Dcf']) - ## error-rate-model.h: ns3::ErrorRateModel [class] - module.add_class('ErrorRateModel', parent=root_module['ns3::Object']) - ## supported-rates.h: ns3::ExtendedSupportedRatesIE [class] - module.add_class('ExtendedSupportedRatesIE', parent=root_module['ns3::WifiInformationElement']) - ## ideal-wifi-manager.h: ns3::IdealWifiManager [class] - module.add_class('IdealWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## mac-low.h: ns3::MacLow [class] - module.add_class('MacLow', parent=root_module['ns3::Object']) - ## mgt-headers.h: ns3::MgtBeaconHeader [class] - module.add_class('MgtBeaconHeader', parent=root_module['ns3::MgtProbeResponseHeader']) - ## minstrel-wifi-manager.h: ns3::MinstrelWifiManager [class] - module.add_class('MinstrelWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## msdu-aggregator.h: ns3::MsduAggregator [class] - module.add_class('MsduAggregator', parent=root_module['ns3::Object']) - ## nist-error-rate-model.h: ns3::NistErrorRateModel [class] - module.add_class('NistErrorRateModel', parent=root_module['ns3::ErrorRateModel']) - ## onoe-wifi-manager.h: ns3::OnoeWifiManager [class] - module.add_class('OnoeWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## regular-wifi-mac.h: ns3::RegularWifiMac [class] - module.add_class('RegularWifiMac', parent=root_module['ns3::WifiMac']) - ## rraa-wifi-manager.h: ns3::RraaWifiManager [class] - module.add_class('RraaWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## ssid.h: ns3::Ssid [class] - module.add_class('Ssid', parent=root_module['ns3::WifiInformationElement']) - ## ssid.h: ns3::SsidChecker [class] - module.add_class('SsidChecker', parent=root_module['ns3::AttributeChecker']) - ## ssid.h: ns3::SsidValue [class] - module.add_class('SsidValue', parent=root_module['ns3::AttributeValue']) - ## sta-wifi-mac.h: ns3::StaWifiMac [class] - module.add_class('StaWifiMac', parent=root_module['ns3::RegularWifiMac']) - ## supported-rates.h: ns3::SupportedRates [class] - module.add_class('SupportedRates', parent=root_module['ns3::WifiInformationElement']) - ## wifi-channel.h: ns3::WifiChannel [class] - module.add_class('WifiChannel', parent=root_module['ns3::Channel']) - ## wifi-mode.h: ns3::WifiModeChecker [class] - module.add_class('WifiModeChecker', parent=root_module['ns3::AttributeChecker']) - ## wifi-mode.h: ns3::WifiModeValue [class] - module.add_class('WifiModeValue', parent=root_module['ns3::AttributeValue']) - ## wifi-net-device.h: ns3::WifiNetDevice [class] - module.add_class('WifiNetDevice', parent=root_module['ns3::NetDevice']) - ## yans-error-rate-model.h: ns3::YansErrorRateModel [class] - module.add_class('YansErrorRateModel', parent=root_module['ns3::ErrorRateModel']) - ## yans-wifi-channel.h: ns3::YansWifiChannel [class] - module.add_class('YansWifiChannel', parent=root_module['ns3::WifiChannel']) - ## adhoc-wifi-mac.h: ns3::AdhocWifiMac [class] - module.add_class('AdhocWifiMac', parent=root_module['ns3::RegularWifiMac']) - ## ap-wifi-mac.h: ns3::ApWifiMac [class] - module.add_class('ApWifiMac', parent=root_module['ns3::RegularWifiMac']) - ## dca-txop.h: ns3::DcaTxop [class] - module.add_class('DcaTxop', parent=root_module['ns3::Dcf']) - module.add_container('ns3::WifiModeList', 'ns3::WifiMode', container_type='vector') - typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >', 'ns3::WifiModeList') - typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >*', 'ns3::WifiModeList*') - typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >&', 'ns3::WifiModeList&') - typehandlers.add_type_alias('uint8_t', 'ns3::WifiInformationElementId') - typehandlers.add_type_alias('uint8_t*', 'ns3::WifiInformationElementId*') - typehandlers.add_type_alias('uint8_t&', 'ns3::WifiInformationElementId&') - typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >', 'ns3::WifiModeListIterator') - typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >*', 'ns3::WifiModeListIterator*') - typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >&', 'ns3::WifiModeListIterator&') - typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >', 'ns3::MinstrelRate') - typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >*', 'ns3::MinstrelRate*') - typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >&', 'ns3::MinstrelRate&') - typehandlers.add_type_alias('std::vector< std::vector< unsigned int, std::allocator< unsigned int > >, std::allocator< std::vector< unsigned int, std::allocator< unsigned int > > > >', 'ns3::SampleRate') - typehandlers.add_type_alias('std::vector< std::vector< unsigned int, std::allocator< unsigned int > >, std::allocator< std::vector< unsigned int, std::allocator< unsigned int > > > >*', 'ns3::SampleRate*') - typehandlers.add_type_alias('std::vector< std::vector< unsigned int, std::allocator< unsigned int > >, std::allocator< std::vector< unsigned int, std::allocator< unsigned int > > > >&', 'ns3::SampleRate&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AthstatsHelper_methods(root_module, root_module['ns3::AthstatsHelper']) - register_Ns3Bar_methods(root_module, root_module['ns3::Bar']) - register_Ns3BlockAckAgreement_methods(root_module, root_module['ns3::BlockAckAgreement']) - register_Ns3BlockAckCache_methods(root_module, root_module['ns3::BlockAckCache']) - register_Ns3BlockAckManager_methods(root_module, root_module['ns3::BlockAckManager']) - register_Ns3CapabilityInformation_methods(root_module, root_module['ns3::CapabilityInformation']) - register_Ns3DcfManager_methods(root_module, root_module['ns3::DcfManager']) - register_Ns3DcfState_methods(root_module, root_module['ns3::DcfState']) - register_Ns3DsssErrorRateModel_methods(root_module, root_module['ns3::DsssErrorRateModel']) - register_Ns3InterferenceHelper_methods(root_module, root_module['ns3::InterferenceHelper']) - register_Ns3InterferenceHelperSnrPer_methods(root_module, root_module['ns3::InterferenceHelper::SnrPer']) - register_Ns3MacLowBlockAckEventListener_methods(root_module, root_module['ns3::MacLowBlockAckEventListener']) - register_Ns3MacLowDcfListener_methods(root_module, root_module['ns3::MacLowDcfListener']) - register_Ns3MacLowTransmissionListener_methods(root_module, root_module['ns3::MacLowTransmissionListener']) - register_Ns3MacLowTransmissionParameters_methods(root_module, root_module['ns3::MacLowTransmissionParameters']) - register_Ns3MacRxMiddle_methods(root_module, root_module['ns3::MacRxMiddle']) - register_Ns3OriginatorBlockAckAgreement_methods(root_module, root_module['ns3::OriginatorBlockAckAgreement']) - register_Ns3RateInfo_methods(root_module, root_module['ns3::RateInfo']) - register_Ns3StatusCode_methods(root_module, root_module['ns3::StatusCode']) - register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) - register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) - register_Ns3WifiMode_methods(root_module, root_module['ns3::WifiMode']) - register_Ns3WifiModeFactory_methods(root_module, root_module['ns3::WifiModeFactory']) - register_Ns3WifiPhyHelper_methods(root_module, root_module['ns3::WifiPhyHelper']) - register_Ns3WifiPhyListener_methods(root_module, root_module['ns3::WifiPhyListener']) - register_Ns3WifiRemoteStation_methods(root_module, root_module['ns3::WifiRemoteStation']) - register_Ns3WifiRemoteStationInfo_methods(root_module, root_module['ns3::WifiRemoteStationInfo']) - register_Ns3WifiRemoteStationState_methods(root_module, root_module['ns3::WifiRemoteStationState']) - register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper']) - register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper']) - register_Ns3MgtAddBaRequestHeader_methods(root_module, root_module['ns3::MgtAddBaRequestHeader']) - register_Ns3MgtAddBaResponseHeader_methods(root_module, root_module['ns3::MgtAddBaResponseHeader']) - register_Ns3MgtAssocRequestHeader_methods(root_module, root_module['ns3::MgtAssocRequestHeader']) - register_Ns3MgtAssocResponseHeader_methods(root_module, root_module['ns3::MgtAssocResponseHeader']) - register_Ns3MgtDelBaHeader_methods(root_module, root_module['ns3::MgtDelBaHeader']) - register_Ns3MgtProbeRequestHeader_methods(root_module, root_module['ns3::MgtProbeRequestHeader']) - register_Ns3MgtProbeResponseHeader_methods(root_module, root_module['ns3::MgtProbeResponseHeader']) - register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper']) - register_Ns3QosTag_methods(root_module, root_module['ns3::QosTag']) - register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) - register_Ns3WifiActionHeader_methods(root_module, root_module['ns3::WifiActionHeader']) - register_Ns3WifiActionHeaderActionValue_methods(root_module, root_module['ns3::WifiActionHeader::ActionValue']) - register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement']) - register_Ns3WifiInformationElementVector_methods(root_module, root_module['ns3::WifiInformationElementVector']) - register_Ns3WifiMac_methods(root_module, root_module['ns3::WifiMac']) - register_Ns3WifiMacHeader_methods(root_module, root_module['ns3::WifiMacHeader']) - register_Ns3WifiPhy_methods(root_module, root_module['ns3::WifiPhy']) - register_Ns3WifiRemoteStationManager_methods(root_module, root_module['ns3::WifiRemoteStationManager']) - register_Ns3YansWifiPhy_methods(root_module, root_module['ns3::YansWifiPhy']) - register_Ns3AarfWifiManager_methods(root_module, root_module['ns3::AarfWifiManager']) - register_Ns3AarfcdWifiManager_methods(root_module, root_module['ns3::AarfcdWifiManager']) - register_Ns3AmrrWifiManager_methods(root_module, root_module['ns3::AmrrWifiManager']) - register_Ns3AmsduSubframeHeader_methods(root_module, root_module['ns3::AmsduSubframeHeader']) - register_Ns3ArfWifiManager_methods(root_module, root_module['ns3::ArfWifiManager']) - register_Ns3AthstatsWifiTraceSink_methods(root_module, root_module['ns3::AthstatsWifiTraceSink']) - register_Ns3CaraWifiManager_methods(root_module, root_module['ns3::CaraWifiManager']) - register_Ns3ConstantRateWifiManager_methods(root_module, root_module['ns3::ConstantRateWifiManager']) - register_Ns3CtrlBAckRequestHeader_methods(root_module, root_module['ns3::CtrlBAckRequestHeader']) - register_Ns3CtrlBAckResponseHeader_methods(root_module, root_module['ns3::CtrlBAckResponseHeader']) - register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf']) - register_Ns3EdcaTxopN_methods(root_module, root_module['ns3::EdcaTxopN']) - register_Ns3ErrorRateModel_methods(root_module, root_module['ns3::ErrorRateModel']) - register_Ns3ExtendedSupportedRatesIE_methods(root_module, root_module['ns3::ExtendedSupportedRatesIE']) - register_Ns3IdealWifiManager_methods(root_module, root_module['ns3::IdealWifiManager']) - register_Ns3MacLow_methods(root_module, root_module['ns3::MacLow']) - register_Ns3MgtBeaconHeader_methods(root_module, root_module['ns3::MgtBeaconHeader']) - register_Ns3MinstrelWifiManager_methods(root_module, root_module['ns3::MinstrelWifiManager']) - register_Ns3MsduAggregator_methods(root_module, root_module['ns3::MsduAggregator']) - register_Ns3NistErrorRateModel_methods(root_module, root_module['ns3::NistErrorRateModel']) - register_Ns3OnoeWifiManager_methods(root_module, root_module['ns3::OnoeWifiManager']) - register_Ns3RegularWifiMac_methods(root_module, root_module['ns3::RegularWifiMac']) - register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager']) - register_Ns3Ssid_methods(root_module, root_module['ns3::Ssid']) - register_Ns3SsidChecker_methods(root_module, root_module['ns3::SsidChecker']) - register_Ns3SsidValue_methods(root_module, root_module['ns3::SsidValue']) - register_Ns3StaWifiMac_methods(root_module, root_module['ns3::StaWifiMac']) - register_Ns3SupportedRates_methods(root_module, root_module['ns3::SupportedRates']) - register_Ns3WifiChannel_methods(root_module, root_module['ns3::WifiChannel']) - register_Ns3WifiModeChecker_methods(root_module, root_module['ns3::WifiModeChecker']) - register_Ns3WifiModeValue_methods(root_module, root_module['ns3::WifiModeValue']) - register_Ns3WifiNetDevice_methods(root_module, root_module['ns3::WifiNetDevice']) - register_Ns3YansErrorRateModel_methods(root_module, root_module['ns3::YansErrorRateModel']) - register_Ns3YansWifiChannel_methods(root_module, root_module['ns3::YansWifiChannel']) - register_Ns3AdhocWifiMac_methods(root_module, root_module['ns3::AdhocWifiMac']) - register_Ns3ApWifiMac_methods(root_module, root_module['ns3::ApWifiMac']) - register_Ns3DcaTxop_methods(root_module, root_module['ns3::DcaTxop']) - return - -def register_Ns3AthstatsHelper_methods(root_module, cls): - ## athstats-helper.h: ns3::AthstatsHelper::AthstatsHelper(ns3::AthstatsHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AthstatsHelper const &', 'arg0')]) - ## athstats-helper.h: ns3::AthstatsHelper::AthstatsHelper() [constructor] - cls.add_constructor([]) - ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAthstats', - 'void', - [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, ns3::Ptr nd) [member function] - cls.add_method('EnableAthstats', - 'void', - [param('std::string', 'filename'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAthstats', - 'void', - [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')]) - ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, ns3::NodeContainer n) [member function] - cls.add_method('EnableAthstats', - 'void', - [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')]) - return - -def register_Ns3Bar_methods(root_module, cls): - ## block-ack-manager.h: ns3::Bar::Bar(ns3::Bar const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Bar const &', 'arg0')]) - ## block-ack-manager.h: ns3::Bar::Bar() [constructor] - cls.add_constructor([]) - ## block-ack-manager.h: ns3::Bar::Bar(ns3::Ptr packet, ns3::Mac48Address recipient, uint8_t tid, bool immediate) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('bool', 'immediate')]) - ## block-ack-manager.h: ns3::Bar::bar [variable] - cls.add_instance_attribute('bar', 'ns3::Ptr< ns3::Packet const >', is_const=False) - ## block-ack-manager.h: ns3::Bar::immediate [variable] - cls.add_instance_attribute('immediate', 'bool', is_const=False) - ## block-ack-manager.h: ns3::Bar::recipient [variable] - cls.add_instance_attribute('recipient', 'ns3::Mac48Address', is_const=False) - ## block-ack-manager.h: ns3::Bar::tid [variable] - cls.add_instance_attribute('tid', 'uint8_t', is_const=False) - return - -def register_Ns3BlockAckAgreement_methods(root_module, cls): - ## block-ack-agreement.h: ns3::BlockAckAgreement::BlockAckAgreement(ns3::BlockAckAgreement const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BlockAckAgreement const &', 'arg0')]) - ## block-ack-agreement.h: ns3::BlockAckAgreement::BlockAckAgreement() [constructor] - cls.add_constructor([]) - ## block-ack-agreement.h: ns3::BlockAckAgreement::BlockAckAgreement(ns3::Mac48Address peer, uint8_t tid) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'peer'), param('uint8_t', 'tid')]) - ## block-ack-agreement.h: uint16_t ns3::BlockAckAgreement::GetBufferSize() const [member function] - cls.add_method('GetBufferSize', - 'uint16_t', - [], - is_const=True) - ## block-ack-agreement.h: ns3::Mac48Address ns3::BlockAckAgreement::GetPeer() const [member function] - cls.add_method('GetPeer', - 'ns3::Mac48Address', - [], - is_const=True) - ## block-ack-agreement.h: uint16_t ns3::BlockAckAgreement::GetStartingSequence() const [member function] - cls.add_method('GetStartingSequence', - 'uint16_t', - [], - is_const=True) - ## block-ack-agreement.h: uint16_t ns3::BlockAckAgreement::GetStartingSequenceControl() const [member function] - cls.add_method('GetStartingSequenceControl', - 'uint16_t', - [], - is_const=True) - ## block-ack-agreement.h: uint8_t ns3::BlockAckAgreement::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## block-ack-agreement.h: uint16_t ns3::BlockAckAgreement::GetTimeout() const [member function] - cls.add_method('GetTimeout', - 'uint16_t', - [], - is_const=True) - ## block-ack-agreement.h: bool ns3::BlockAckAgreement::IsAmsduSupported() const [member function] - cls.add_method('IsAmsduSupported', - 'bool', - [], - is_const=True) - ## block-ack-agreement.h: bool ns3::BlockAckAgreement::IsImmediateBlockAck() const [member function] - cls.add_method('IsImmediateBlockAck', - 'bool', - [], - is_const=True) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetAmsduSupport(bool supported) [member function] - cls.add_method('SetAmsduSupport', - 'void', - [param('bool', 'supported')]) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetBufferSize(uint16_t bufferSize) [member function] - cls.add_method('SetBufferSize', - 'void', - [param('uint16_t', 'bufferSize')]) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetDelayedBlockAck() [member function] - cls.add_method('SetDelayedBlockAck', - 'void', - []) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetImmediateBlockAck() [member function] - cls.add_method('SetImmediateBlockAck', - 'void', - []) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetStartingSequence(uint16_t seq) [member function] - cls.add_method('SetStartingSequence', - 'void', - [param('uint16_t', 'seq')]) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetTimeout(uint16_t timeout) [member function] - cls.add_method('SetTimeout', - 'void', - [param('uint16_t', 'timeout')]) - return - -def register_Ns3BlockAckCache_methods(root_module, cls): - ## block-ack-cache.h: ns3::BlockAckCache::BlockAckCache() [constructor] - cls.add_constructor([]) - ## block-ack-cache.h: ns3::BlockAckCache::BlockAckCache(ns3::BlockAckCache const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BlockAckCache const &', 'arg0')]) - ## block-ack-cache.h: void ns3::BlockAckCache::FillBlockAckBitmap(ns3::CtrlBAckResponseHeader * blockAckHeader) [member function] - cls.add_method('FillBlockAckBitmap', - 'void', - [param('ns3::CtrlBAckResponseHeader *', 'blockAckHeader')]) - ## block-ack-cache.h: void ns3::BlockAckCache::Init(uint16_t winStart, uint16_t winSize) [member function] - cls.add_method('Init', - 'void', - [param('uint16_t', 'winStart'), param('uint16_t', 'winSize')]) - ## block-ack-cache.h: void ns3::BlockAckCache::UpdateWithBlockAckReq(uint16_t startingSeq) [member function] - cls.add_method('UpdateWithBlockAckReq', - 'void', - [param('uint16_t', 'startingSeq')]) - ## block-ack-cache.h: void ns3::BlockAckCache::UpdateWithMpdu(ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('UpdateWithMpdu', - 'void', - [param('ns3::WifiMacHeader const *', 'hdr')]) - return - -def register_Ns3BlockAckManager_methods(root_module, cls): - ## block-ack-manager.h: ns3::BlockAckManager::BlockAckManager() [constructor] - cls.add_constructor([]) - ## block-ack-manager.h: void ns3::BlockAckManager::CreateAgreement(ns3::MgtAddBaRequestHeader const * reqHdr, ns3::Mac48Address recipient) [member function] - cls.add_method('CreateAgreement', - 'void', - [param('ns3::MgtAddBaRequestHeader const *', 'reqHdr'), param('ns3::Mac48Address', 'recipient')]) - ## block-ack-manager.h: void ns3::BlockAckManager::DestroyAgreement(ns3::Mac48Address recipient, uint8_t tid) [member function] - cls.add_method('DestroyAgreement', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) - ## block-ack-manager.h: bool ns3::BlockAckManager::ExistsAgreement(ns3::Mac48Address recipient, uint8_t tid) const [member function] - cls.add_method('ExistsAgreement', - 'bool', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')], - is_const=True) - ## block-ack-manager.h: bool ns3::BlockAckManager::ExistsAgreementInState(ns3::Mac48Address recipient, uint8_t tid, ns3::OriginatorBlockAckAgreement::State state) const [member function] - cls.add_method('ExistsAgreementInState', - 'bool', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('ns3::OriginatorBlockAckAgreement::State', 'state')], - is_const=True) - ## block-ack-manager.h: uint32_t ns3::BlockAckManager::GetNBufferedPackets(ns3::Mac48Address recipient, uint8_t tid) const [member function] - cls.add_method('GetNBufferedPackets', - 'uint32_t', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')], - is_const=True) - ## block-ack-manager.h: uint32_t ns3::BlockAckManager::GetNRetryNeededPackets(ns3::Mac48Address recipient, uint8_t tid) const [member function] - cls.add_method('GetNRetryNeededPackets', - 'uint32_t', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')], - is_const=True) - ## block-ack-manager.h: ns3::Ptr ns3::BlockAckManager::GetNextPacket(ns3::WifiMacHeader & hdr) [member function] - cls.add_method('GetNextPacket', - 'ns3::Ptr< ns3::Packet const >', - [param('ns3::WifiMacHeader &', 'hdr')]) - ## block-ack-manager.h: uint32_t ns3::BlockAckManager::GetNextPacketSize() const [member function] - cls.add_method('GetNextPacketSize', - 'uint32_t', - [], - is_const=True) - ## block-ack-manager.h: uint16_t ns3::BlockAckManager::GetSeqNumOfNextRetryPacket(ns3::Mac48Address recipient, uint8_t tid) const [member function] - cls.add_method('GetSeqNumOfNextRetryPacket', - 'uint16_t', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')], - is_const=True) - ## block-ack-manager.h: bool ns3::BlockAckManager::HasBar(ns3::Bar & bar) [member function] - cls.add_method('HasBar', - 'bool', - [param('ns3::Bar &', 'bar')]) - ## block-ack-manager.h: bool ns3::BlockAckManager::HasOtherFragments(uint16_t sequenceNumber) const [member function] - cls.add_method('HasOtherFragments', - 'bool', - [param('uint16_t', 'sequenceNumber')], - is_const=True) - ## block-ack-manager.h: bool ns3::BlockAckManager::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## block-ack-manager.h: void ns3::BlockAckManager::NotifyAgreementEstablished(ns3::Mac48Address recipient, uint8_t tid, uint16_t startingSeq) [member function] - cls.add_method('NotifyAgreementEstablished', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'startingSeq')]) - ## block-ack-manager.h: void ns3::BlockAckManager::NotifyAgreementUnsuccessful(ns3::Mac48Address recipient, uint8_t tid) [member function] - cls.add_method('NotifyAgreementUnsuccessful', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) - ## block-ack-manager.h: void ns3::BlockAckManager::NotifyGotBlockAck(ns3::CtrlBAckResponseHeader const * blockAck, ns3::Mac48Address recipient) [member function] - cls.add_method('NotifyGotBlockAck', - 'void', - [param('ns3::CtrlBAckResponseHeader const *', 'blockAck'), param('ns3::Mac48Address', 'recipient')]) - ## block-ack-manager.h: void ns3::BlockAckManager::NotifyMpduTransmission(ns3::Mac48Address recipient, uint8_t tid, uint16_t nextSeqNumber) [member function] - cls.add_method('NotifyMpduTransmission', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'nextSeqNumber')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetBlockAckInactivityCallback(ns3::Callback callback) [member function] - cls.add_method('SetBlockAckInactivityCallback', - 'void', - [param('ns3::Callback< void, ns3::Mac48Address, unsigned char, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetBlockAckThreshold(uint8_t nPackets) [member function] - cls.add_method('SetBlockAckThreshold', - 'void', - [param('uint8_t', 'nPackets')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetBlockAckType(ns3::BlockAckType bAckType) [member function] - cls.add_method('SetBlockAckType', - 'void', - [param('ns3::BlockAckType', 'bAckType')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetBlockDestinationCallback(ns3::Callback callback) [member function] - cls.add_method('SetBlockDestinationCallback', - 'void', - [param('ns3::Callback< void, ns3::Mac48Address, unsigned char, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetMaxPacketDelay(ns3::Time maxDelay) [member function] - cls.add_method('SetMaxPacketDelay', - 'void', - [param('ns3::Time', 'maxDelay')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::WifiMacQueue >', 'queue')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetTxMiddle(ns3::MacTxMiddle * txMiddle) [member function] - cls.add_method('SetTxMiddle', - 'void', - [param('ns3::MacTxMiddle *', 'txMiddle')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetUnblockDestinationCallback(ns3::Callback callback) [member function] - cls.add_method('SetUnblockDestinationCallback', - 'void', - [param('ns3::Callback< void, ns3::Mac48Address, unsigned char, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## block-ack-manager.h: void ns3::BlockAckManager::StorePacket(ns3::Ptr packet, ns3::WifiMacHeader const & hdr, ns3::Time tStamp) [member function] - cls.add_method('StorePacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr'), param('ns3::Time', 'tStamp')]) - ## block-ack-manager.h: bool ns3::BlockAckManager::SwitchToBlockAckIfNeeded(ns3::Mac48Address recipient, uint8_t tid, uint16_t startingSeq) [member function] - cls.add_method('SwitchToBlockAckIfNeeded', - 'bool', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'startingSeq')]) - ## block-ack-manager.h: void ns3::BlockAckManager::TearDownBlockAck(ns3::Mac48Address recipient, uint8_t tid) [member function] - cls.add_method('TearDownBlockAck', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) - ## block-ack-manager.h: void ns3::BlockAckManager::UpdateAgreement(ns3::MgtAddBaResponseHeader const * respHdr, ns3::Mac48Address recipient) [member function] - cls.add_method('UpdateAgreement', - 'void', - [param('ns3::MgtAddBaResponseHeader const *', 'respHdr'), param('ns3::Mac48Address', 'recipient')]) - return - -def register_Ns3CapabilityInformation_methods(root_module, cls): - ## capability-information.h: ns3::CapabilityInformation::CapabilityInformation(ns3::CapabilityInformation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CapabilityInformation const &', 'arg0')]) - ## capability-information.h: ns3::CapabilityInformation::CapabilityInformation() [constructor] - cls.add_constructor([]) - ## capability-information.h: ns3::Buffer::Iterator ns3::CapabilityInformation::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## capability-information.h: uint32_t ns3::CapabilityInformation::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## capability-information.h: bool ns3::CapabilityInformation::IsEss() const [member function] - cls.add_method('IsEss', - 'bool', - [], - is_const=True) - ## capability-information.h: bool ns3::CapabilityInformation::IsIbss() const [member function] - cls.add_method('IsIbss', - 'bool', - [], - is_const=True) - ## capability-information.h: ns3::Buffer::Iterator ns3::CapabilityInformation::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## capability-information.h: void ns3::CapabilityInformation::SetEss() [member function] - cls.add_method('SetEss', - 'void', - []) - ## capability-information.h: void ns3::CapabilityInformation::SetIbss() [member function] - cls.add_method('SetIbss', - 'void', - []) - return - -def register_Ns3DcfManager_methods(root_module, cls): - ## dcf-manager.h: ns3::DcfManager::DcfManager(ns3::DcfManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DcfManager const &', 'arg0')]) - ## dcf-manager.h: ns3::DcfManager::DcfManager() [constructor] - cls.add_constructor([]) - ## dcf-manager.h: void ns3::DcfManager::Add(ns3::DcfState * dcf) [member function] - cls.add_method('Add', - 'void', - [param('ns3::DcfState *', 'dcf')]) - ## dcf-manager.h: ns3::Time ns3::DcfManager::GetEifsNoDifs() const [member function] - cls.add_method('GetEifsNoDifs', - 'ns3::Time', - [], - is_const=True) - ## dcf-manager.h: void ns3::DcfManager::NotifyAckTimeoutResetNow() [member function] - cls.add_method('NotifyAckTimeoutResetNow', - 'void', - []) - ## dcf-manager.h: void ns3::DcfManager::NotifyAckTimeoutStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyAckTimeoutStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyCtsTimeoutResetNow() [member function] - cls.add_method('NotifyCtsTimeoutResetNow', - 'void', - []) - ## dcf-manager.h: void ns3::DcfManager::NotifyCtsTimeoutStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyCtsTimeoutStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyMaybeCcaBusyStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyMaybeCcaBusyStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyNavResetNow(ns3::Time duration) [member function] - cls.add_method('NotifyNavResetNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyNavStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyNavStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyRxEndErrorNow() [member function] - cls.add_method('NotifyRxEndErrorNow', - 'void', - []) - ## dcf-manager.h: void ns3::DcfManager::NotifyRxEndOkNow() [member function] - cls.add_method('NotifyRxEndOkNow', - 'void', - []) - ## dcf-manager.h: void ns3::DcfManager::NotifyRxStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyRxStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifySwitchingStartNow(ns3::Time duration) [member function] - cls.add_method('NotifySwitchingStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyTxStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyTxStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::RequestAccess(ns3::DcfState * state) [member function] - cls.add_method('RequestAccess', - 'void', - [param('ns3::DcfState *', 'state')]) - ## dcf-manager.h: void ns3::DcfManager::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function] - cls.add_method('SetEifsNoDifs', - 'void', - [param('ns3::Time', 'eifsNoDifs')]) - ## dcf-manager.h: void ns3::DcfManager::SetSifs(ns3::Time sifs) [member function] - cls.add_method('SetSifs', - 'void', - [param('ns3::Time', 'sifs')]) - ## dcf-manager.h: void ns3::DcfManager::SetSlot(ns3::Time slotTime) [member function] - cls.add_method('SetSlot', - 'void', - [param('ns3::Time', 'slotTime')]) - ## dcf-manager.h: void ns3::DcfManager::SetupLowListener(ns3::Ptr low) [member function] - cls.add_method('SetupLowListener', - 'void', - [param('ns3::Ptr< ns3::MacLow >', 'low')]) - ## dcf-manager.h: void ns3::DcfManager::SetupPhyListener(ns3::Ptr phy) [member function] - cls.add_method('SetupPhyListener', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')]) - return - -def register_Ns3DcfState_methods(root_module, cls): - ## dcf-manager.h: ns3::DcfState::DcfState(ns3::DcfState const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DcfState const &', 'arg0')]) - ## dcf-manager.h: ns3::DcfState::DcfState() [constructor] - cls.add_constructor([]) - ## dcf-manager.h: uint32_t ns3::DcfState::GetAifsn() const [member function] - cls.add_method('GetAifsn', - 'uint32_t', - [], - is_const=True) - ## dcf-manager.h: uint32_t ns3::DcfState::GetCw() const [member function] - cls.add_method('GetCw', - 'uint32_t', - [], - is_const=True) - ## dcf-manager.h: uint32_t ns3::DcfState::GetCwMax() const [member function] - cls.add_method('GetCwMax', - 'uint32_t', - [], - is_const=True) - ## dcf-manager.h: uint32_t ns3::DcfState::GetCwMin() const [member function] - cls.add_method('GetCwMin', - 'uint32_t', - [], - is_const=True) - ## dcf-manager.h: bool ns3::DcfState::IsAccessRequested() const [member function] - cls.add_method('IsAccessRequested', - 'bool', - [], - is_const=True) - ## dcf-manager.h: void ns3::DcfState::ResetCw() [member function] - cls.add_method('ResetCw', - 'void', - []) - ## dcf-manager.h: void ns3::DcfState::SetAifsn(uint32_t aifsn) [member function] - cls.add_method('SetAifsn', - 'void', - [param('uint32_t', 'aifsn')]) - ## dcf-manager.h: void ns3::DcfState::SetCwMax(uint32_t maxCw) [member function] - cls.add_method('SetCwMax', - 'void', - [param('uint32_t', 'maxCw')]) - ## dcf-manager.h: void ns3::DcfState::SetCwMin(uint32_t minCw) [member function] - cls.add_method('SetCwMin', - 'void', - [param('uint32_t', 'minCw')]) - ## dcf-manager.h: void ns3::DcfState::StartBackoffNow(uint32_t nSlots) [member function] - cls.add_method('StartBackoffNow', - 'void', - [param('uint32_t', 'nSlots')]) - ## dcf-manager.h: void ns3::DcfState::UpdateFailedCw() [member function] - cls.add_method('UpdateFailedCw', - 'void', - []) - ## dcf-manager.h: void ns3::DcfState::DoNotifyAccessGranted() [member function] - cls.add_method('DoNotifyAccessGranted', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## dcf-manager.h: void ns3::DcfState::DoNotifyChannelSwitching() [member function] - cls.add_method('DoNotifyChannelSwitching', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## dcf-manager.h: void ns3::DcfState::DoNotifyCollision() [member function] - cls.add_method('DoNotifyCollision', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## dcf-manager.h: void ns3::DcfState::DoNotifyInternalCollision() [member function] - cls.add_method('DoNotifyInternalCollision', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3DsssErrorRateModel_methods(root_module, cls): - ## dsss-error-rate-model.h: ns3::DsssErrorRateModel::DsssErrorRateModel() [constructor] - cls.add_constructor([]) - ## dsss-error-rate-model.h: ns3::DsssErrorRateModel::DsssErrorRateModel(ns3::DsssErrorRateModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsssErrorRateModel const &', 'arg0')]) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::DqpskFunction(double x) [member function] - cls.add_method('DqpskFunction', - 'double', - [param('double', 'x')], - is_static=True) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::GetDsssDbpskSuccessRate(double sinr, uint32_t nbits) [member function] - cls.add_method('GetDsssDbpskSuccessRate', - 'double', - [param('double', 'sinr'), param('uint32_t', 'nbits')], - is_static=True) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::GetDsssDqpskCck11SuccessRate(double sinr, uint32_t nbits) [member function] - cls.add_method('GetDsssDqpskCck11SuccessRate', - 'double', - [param('double', 'sinr'), param('uint32_t', 'nbits')], - is_static=True) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::GetDsssDqpskCck5_5SuccessRate(double sinr, uint32_t nbits) [member function] - cls.add_method('GetDsssDqpskCck5_5SuccessRate', - 'double', - [param('double', 'sinr'), param('uint32_t', 'nbits')], - is_static=True) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::GetDsssDqpskSuccessRate(double sinr, uint32_t nbits) [member function] - cls.add_method('GetDsssDqpskSuccessRate', - 'double', - [param('double', 'sinr'), param('uint32_t', 'nbits')], - is_static=True) - return - -def register_Ns3InterferenceHelper_methods(root_module, cls): - ## interference-helper.h: ns3::InterferenceHelper::InterferenceHelper() [constructor] - cls.add_constructor([]) - ## interference-helper.h: ns3::Ptr ns3::InterferenceHelper::Add(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble, ns3::Time duration, double rxPower) [member function] - cls.add_method('Add', - 'ns3::Ptr< ns3::InterferenceHelper::Event >', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble'), param('ns3::Time', 'duration'), param('double', 'rxPower')]) - ## interference-helper.h: ns3::InterferenceHelper::SnrPer ns3::InterferenceHelper::CalculateSnrPer(ns3::Ptr event) [member function] - cls.add_method('CalculateSnrPer', - 'ns3::InterferenceHelper::SnrPer', - [param('ns3::Ptr< ns3::InterferenceHelper::Event >', 'event')]) - ## interference-helper.h: static ns3::Time ns3::InterferenceHelper::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] - cls.add_method('CalculateTxDuration', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_static=True) - ## interference-helper.h: void ns3::InterferenceHelper::EraseEvents() [member function] - cls.add_method('EraseEvents', - 'void', - []) - ## interference-helper.h: ns3::Time ns3::InterferenceHelper::GetEnergyDuration(double energyW) [member function] - cls.add_method('GetEnergyDuration', - 'ns3::Time', - [param('double', 'energyW')]) - ## interference-helper.h: ns3::Ptr ns3::InterferenceHelper::GetErrorRateModel() const [member function] - cls.add_method('GetErrorRateModel', - 'ns3::Ptr< ns3::ErrorRateModel >', - [], - is_const=True) - ## interference-helper.h: double ns3::InterferenceHelper::GetNoiseFigure() const [member function] - cls.add_method('GetNoiseFigure', - 'double', - [], - is_const=True) - ## interference-helper.h: static uint32_t ns3::InterferenceHelper::GetPayloadDurationMicroSeconds(uint32_t size, ns3::WifiMode payloadMode) [member function] - cls.add_method('GetPayloadDurationMicroSeconds', - 'uint32_t', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode')], - is_static=True) - ## interference-helper.h: static uint32_t ns3::InterferenceHelper::GetPlcpHeaderDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] - cls.add_method('GetPlcpHeaderDurationMicroSeconds', - 'uint32_t', - [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_static=True) - ## interference-helper.h: static ns3::WifiMode ns3::InterferenceHelper::GetPlcpHeaderMode(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] - cls.add_method('GetPlcpHeaderMode', - 'ns3::WifiMode', - [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_static=True) - ## interference-helper.h: static uint32_t ns3::InterferenceHelper::GetPlcpPreambleDurationMicroSeconds(ns3::WifiMode mode, ns3::WifiPreamble preamble) [member function] - cls.add_method('GetPlcpPreambleDurationMicroSeconds', - 'uint32_t', - [param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble')], - is_static=True) - ## interference-helper.h: void ns3::InterferenceHelper::NotifyRxEnd() [member function] - cls.add_method('NotifyRxEnd', - 'void', - []) - ## interference-helper.h: void ns3::InterferenceHelper::NotifyRxStart() [member function] - cls.add_method('NotifyRxStart', - 'void', - []) - ## interference-helper.h: void ns3::InterferenceHelper::SetErrorRateModel(ns3::Ptr rate) [member function] - cls.add_method('SetErrorRateModel', - 'void', - [param('ns3::Ptr< ns3::ErrorRateModel >', 'rate')]) - ## interference-helper.h: void ns3::InterferenceHelper::SetNoiseFigure(double value) [member function] - cls.add_method('SetNoiseFigure', - 'void', - [param('double', 'value')]) - return - -def register_Ns3InterferenceHelperSnrPer_methods(root_module, cls): - ## interference-helper.h: ns3::InterferenceHelper::SnrPer::SnrPer() [constructor] - cls.add_constructor([]) - ## interference-helper.h: ns3::InterferenceHelper::SnrPer::SnrPer(ns3::InterferenceHelper::SnrPer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::InterferenceHelper::SnrPer const &', 'arg0')]) - ## interference-helper.h: ns3::InterferenceHelper::SnrPer::per [variable] - cls.add_instance_attribute('per', 'double', is_const=False) - ## interference-helper.h: ns3::InterferenceHelper::SnrPer::snr [variable] - cls.add_instance_attribute('snr', 'double', is_const=False) - return - -def register_Ns3MacLowBlockAckEventListener_methods(root_module, cls): - ## mac-low.h: ns3::MacLowBlockAckEventListener::MacLowBlockAckEventListener(ns3::MacLowBlockAckEventListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLowBlockAckEventListener const &', 'arg0')]) - ## mac-low.h: ns3::MacLowBlockAckEventListener::MacLowBlockAckEventListener() [constructor] - cls.add_constructor([]) - ## mac-low.h: void ns3::MacLowBlockAckEventListener::BlockAckInactivityTimeout(ns3::Mac48Address originator, uint8_t tid) [member function] - cls.add_method('BlockAckInactivityTimeout', - 'void', - [param('ns3::Mac48Address', 'originator'), param('uint8_t', 'tid')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3MacLowDcfListener_methods(root_module, cls): - ## mac-low.h: ns3::MacLowDcfListener::MacLowDcfListener(ns3::MacLowDcfListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLowDcfListener const &', 'arg0')]) - ## mac-low.h: ns3::MacLowDcfListener::MacLowDcfListener() [constructor] - cls.add_constructor([]) - ## mac-low.h: void ns3::MacLowDcfListener::AckTimeoutReset() [member function] - cls.add_method('AckTimeoutReset', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::AckTimeoutStart(ns3::Time duration) [member function] - cls.add_method('AckTimeoutStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::CtsTimeoutReset() [member function] - cls.add_method('CtsTimeoutReset', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::CtsTimeoutStart(ns3::Time duration) [member function] - cls.add_method('CtsTimeoutStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::NavReset(ns3::Time duration) [member function] - cls.add_method('NavReset', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::NavStart(ns3::Time duration) [member function] - cls.add_method('NavStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3MacLowTransmissionListener_methods(root_module, cls): - ## mac-low.h: ns3::MacLowTransmissionListener::MacLowTransmissionListener(ns3::MacLowTransmissionListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLowTransmissionListener const &', 'arg0')]) - ## mac-low.h: ns3::MacLowTransmissionListener::MacLowTransmissionListener() [constructor] - cls.add_constructor([]) - ## mac-low.h: void ns3::MacLowTransmissionListener::Cancel() [member function] - cls.add_method('Cancel', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::GotAck(double snr, ns3::WifiMode txMode) [member function] - cls.add_method('GotAck', - 'void', - [param('double', 'snr'), param('ns3::WifiMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::GotBlockAck(ns3::CtrlBAckResponseHeader const * blockAck, ns3::Mac48Address source) [member function] - cls.add_method('GotBlockAck', - 'void', - [param('ns3::CtrlBAckResponseHeader const *', 'blockAck'), param('ns3::Mac48Address', 'source')], - is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::GotCts(double snr, ns3::WifiMode txMode) [member function] - cls.add_method('GotCts', - 'void', - [param('double', 'snr'), param('ns3::WifiMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::MissedAck() [member function] - cls.add_method('MissedAck', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::MissedBlockAck() [member function] - cls.add_method('MissedBlockAck', - 'void', - [], - is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::MissedCts() [member function] - cls.add_method('MissedCts', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::StartNext() [member function] - cls.add_method('StartNext', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3MacLowTransmissionParameters_methods(root_module, cls): - cls.add_output_stream_operator() - ## mac-low.h: ns3::MacLowTransmissionParameters::MacLowTransmissionParameters(ns3::MacLowTransmissionParameters const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLowTransmissionParameters const &', 'arg0')]) - ## mac-low.h: ns3::MacLowTransmissionParameters::MacLowTransmissionParameters() [constructor] - cls.add_constructor([]) - ## mac-low.h: void ns3::MacLowTransmissionParameters::DisableAck() [member function] - cls.add_method('DisableAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::DisableNextData() [member function] - cls.add_method('DisableNextData', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::DisableOverrideDurationId() [member function] - cls.add_method('DisableOverrideDurationId', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::DisableRts() [member function] - cls.add_method('DisableRts', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableAck() [member function] - cls.add_method('EnableAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableBasicBlockAck() [member function] - cls.add_method('EnableBasicBlockAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableCompressedBlockAck() [member function] - cls.add_method('EnableCompressedBlockAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableFastAck() [member function] - cls.add_method('EnableFastAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableMultiTidBlockAck() [member function] - cls.add_method('EnableMultiTidBlockAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableNextData(uint32_t size) [member function] - cls.add_method('EnableNextData', - 'void', - [param('uint32_t', 'size')]) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableOverrideDurationId(ns3::Time durationId) [member function] - cls.add_method('EnableOverrideDurationId', - 'void', - [param('ns3::Time', 'durationId')]) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableRts() [member function] - cls.add_method('EnableRts', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableSuperFastAck() [member function] - cls.add_method('EnableSuperFastAck', - 'void', - []) - ## mac-low.h: ns3::Time ns3::MacLowTransmissionParameters::GetDurationId() const [member function] - cls.add_method('GetDurationId', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: uint32_t ns3::MacLowTransmissionParameters::GetNextPacketSize() const [member function] - cls.add_method('GetNextPacketSize', - 'uint32_t', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::HasDurationId() const [member function] - cls.add_method('HasDurationId', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::HasNextPacket() const [member function] - cls.add_method('HasNextPacket', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustSendRts() const [member function] - cls.add_method('MustSendRts', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitAck() const [member function] - cls.add_method('MustWaitAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitBasicBlockAck() const [member function] - cls.add_method('MustWaitBasicBlockAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitCompressedBlockAck() const [member function] - cls.add_method('MustWaitCompressedBlockAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitFastAck() const [member function] - cls.add_method('MustWaitFastAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitMultiTidBlockAck() const [member function] - cls.add_method('MustWaitMultiTidBlockAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitNormalAck() const [member function] - cls.add_method('MustWaitNormalAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitSuperFastAck() const [member function] - cls.add_method('MustWaitSuperFastAck', - 'bool', - [], - is_const=True) - return - -def register_Ns3MacRxMiddle_methods(root_module, cls): - ## mac-rx-middle.h: ns3::MacRxMiddle::MacRxMiddle(ns3::MacRxMiddle const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacRxMiddle const &', 'arg0')]) - ## mac-rx-middle.h: ns3::MacRxMiddle::MacRxMiddle() [constructor] - cls.add_constructor([]) - ## mac-rx-middle.h: void ns3::MacRxMiddle::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')]) - ## mac-rx-middle.h: void ns3::MacRxMiddle::SetForwardCallback(ns3::Callback, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function] - cls.add_method('SetForwardCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::WifiMacHeader const *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - return - -def register_Ns3OriginatorBlockAckAgreement_methods(root_module, cls): - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement::OriginatorBlockAckAgreement(ns3::OriginatorBlockAckAgreement const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OriginatorBlockAckAgreement const &', 'arg0')]) - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement::OriginatorBlockAckAgreement() [constructor] - cls.add_constructor([]) - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement::OriginatorBlockAckAgreement(ns3::Mac48Address recipient, uint8_t tid) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) - ## originator-block-ack-agreement.h: void ns3::OriginatorBlockAckAgreement::CompleteExchange() [member function] - cls.add_method('CompleteExchange', - 'void', - []) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsBlockAckRequestNeeded() const [member function] - cls.add_method('IsBlockAckRequestNeeded', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsEstablished() const [member function] - cls.add_method('IsEstablished', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsInactive() const [member function] - cls.add_method('IsInactive', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsPending() const [member function] - cls.add_method('IsPending', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsUnsuccessful() const [member function] - cls.add_method('IsUnsuccessful', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: void ns3::OriginatorBlockAckAgreement::NotifyMpduTransmission(uint16_t nextSeqNumber) [member function] - cls.add_method('NotifyMpduTransmission', - 'void', - [param('uint16_t', 'nextSeqNumber')]) - ## originator-block-ack-agreement.h: void ns3::OriginatorBlockAckAgreement::SetState(ns3::OriginatorBlockAckAgreement::State state) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::OriginatorBlockAckAgreement::State', 'state')]) - return - -def register_Ns3RateInfo_methods(root_module, cls): - ## minstrel-wifi-manager.h: ns3::RateInfo::RateInfo() [constructor] - cls.add_constructor([]) - ## minstrel-wifi-manager.h: ns3::RateInfo::RateInfo(ns3::RateInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RateInfo const &', 'arg0')]) - ## minstrel-wifi-manager.h: ns3::RateInfo::adjustedRetryCount [variable] - cls.add_instance_attribute('adjustedRetryCount', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::attemptHist [variable] - cls.add_instance_attribute('attemptHist', 'uint64_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::ewmaProb [variable] - cls.add_instance_attribute('ewmaProb', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::numRateAttempt [variable] - cls.add_instance_attribute('numRateAttempt', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::numRateSuccess [variable] - cls.add_instance_attribute('numRateSuccess', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::perfectTxTime [variable] - cls.add_instance_attribute('perfectTxTime', 'ns3::Time', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::prevNumRateAttempt [variable] - cls.add_instance_attribute('prevNumRateAttempt', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::prevNumRateSuccess [variable] - cls.add_instance_attribute('prevNumRateSuccess', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::prob [variable] - cls.add_instance_attribute('prob', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::retryCount [variable] - cls.add_instance_attribute('retryCount', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::successHist [variable] - cls.add_instance_attribute('successHist', 'uint64_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::throughput [variable] - cls.add_instance_attribute('throughput', 'uint32_t', is_const=False) - return - -def register_Ns3StatusCode_methods(root_module, cls): - cls.add_output_stream_operator() - ## status-code.h: ns3::StatusCode::StatusCode(ns3::StatusCode const & arg0) [copy constructor] - cls.add_constructor([param('ns3::StatusCode const &', 'arg0')]) - ## status-code.h: ns3::StatusCode::StatusCode() [constructor] - cls.add_constructor([]) - ## status-code.h: ns3::Buffer::Iterator ns3::StatusCode::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## status-code.h: uint32_t ns3::StatusCode::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## status-code.h: bool ns3::StatusCode::IsSuccess() const [member function] - cls.add_method('IsSuccess', - 'bool', - [], - is_const=True) - ## status-code.h: ns3::Buffer::Iterator ns3::StatusCode::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## status-code.h: void ns3::StatusCode::SetFailure() [member function] - cls.add_method('SetFailure', - 'void', - []) - ## status-code.h: void ns3::StatusCode::SetSuccess() [member function] - cls.add_method('SetSuccess', - 'void', - []) - return - -def register_Ns3WifiHelper_methods(root_module, cls): - ## wifi-helper.h: ns3::WifiHelper::WifiHelper(ns3::WifiHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiHelper const &', 'arg0')]) - ## wifi-helper.h: ns3::WifiHelper::WifiHelper() [constructor] - cls.add_constructor([]) - ## wifi-helper.h: static ns3::WifiHelper ns3::WifiHelper::Default() [member function] - cls.add_method('Default', - 'ns3::WifiHelper', - [], - is_static=True) - ## wifi-helper.h: static void ns3::WifiHelper::EnableLogComponents() [member function] - cls.add_method('EnableLogComponents', - 'void', - [], - is_static=True) - ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::WifiPhyHelper const & phy, ns3::WifiMacHelper const & mac, ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('ns3::NodeContainer', 'c')], - is_const=True) - ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::WifiPhyHelper const & phy, ns3::WifiMacHelper const & mac, ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::WifiPhyHelper const & phy, ns3::WifiMacHelper const & mac, std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('std::string', 'nodeName')], - is_const=True) - ## wifi-helper.h: void ns3::WifiHelper::SetRemoteStationManager(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetRemoteStationManager', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## wifi-helper.h: void ns3::WifiHelper::SetStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('SetStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')]) - return - -def register_Ns3WifiMacHelper_methods(root_module, cls): - ## wifi-helper.h: ns3::WifiMacHelper::WifiMacHelper() [constructor] - cls.add_constructor([]) - ## wifi-helper.h: ns3::WifiMacHelper::WifiMacHelper(ns3::WifiMacHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiMacHelper const &', 'arg0')]) - ## wifi-helper.h: ns3::Ptr ns3::WifiMacHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiMac >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3WifiMode_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## wifi-mode.h: ns3::WifiMode::WifiMode(ns3::WifiMode const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiMode const &', 'arg0')]) - ## wifi-mode.h: ns3::WifiMode::WifiMode() [constructor] - cls.add_constructor([]) - ## wifi-mode.h: ns3::WifiMode::WifiMode(std::string name) [constructor] - cls.add_constructor([param('std::string', 'name')]) - ## wifi-mode.h: uint32_t ns3::WifiMode::GetBandwidth() const [member function] - cls.add_method('GetBandwidth', - 'uint32_t', - [], - is_const=True) - ## wifi-mode.h: ns3::WifiCodeRate ns3::WifiMode::GetCodeRate() const [member function] - cls.add_method('GetCodeRate', - 'ns3::WifiCodeRate', - [], - is_const=True) - ## wifi-mode.h: uint8_t ns3::WifiMode::GetConstellationSize() const [member function] - cls.add_method('GetConstellationSize', - 'uint8_t', - [], - is_const=True) - ## wifi-mode.h: uint32_t ns3::WifiMode::GetDataRate() const [member function] - cls.add_method('GetDataRate', - 'uint32_t', - [], - is_const=True) - ## wifi-mode.h: ns3::WifiModulationClass ns3::WifiMode::GetModulationClass() const [member function] - cls.add_method('GetModulationClass', - 'ns3::WifiModulationClass', - [], - is_const=True) - ## wifi-mode.h: uint32_t ns3::WifiMode::GetPhyRate() const [member function] - cls.add_method('GetPhyRate', - 'uint32_t', - [], - is_const=True) - ## wifi-mode.h: uint32_t ns3::WifiMode::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - ## wifi-mode.h: std::string ns3::WifiMode::GetUniqueName() const [member function] - cls.add_method('GetUniqueName', - 'std::string', - [], - is_const=True) - ## wifi-mode.h: bool ns3::WifiMode::IsMandatory() const [member function] - cls.add_method('IsMandatory', - 'bool', - [], - is_const=True) - return - -def register_Ns3WifiModeFactory_methods(root_module, cls): - ## wifi-mode.h: ns3::WifiModeFactory::WifiModeFactory(ns3::WifiModeFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiModeFactory const &', 'arg0')]) - ## wifi-mode.h: static ns3::WifiMode ns3::WifiModeFactory::CreateWifiMode(std::string uniqueName, ns3::WifiModulationClass modClass, bool isMandatory, uint32_t bandwidth, uint32_t dataRate, ns3::WifiCodeRate codingRate, uint8_t constellationSize) [member function] - cls.add_method('CreateWifiMode', - 'ns3::WifiMode', - [param('std::string', 'uniqueName'), param('ns3::WifiModulationClass', 'modClass'), param('bool', 'isMandatory'), param('uint32_t', 'bandwidth'), param('uint32_t', 'dataRate'), param('ns3::WifiCodeRate', 'codingRate'), param('uint8_t', 'constellationSize')], - is_static=True) - return - -def register_Ns3WifiPhyHelper_methods(root_module, cls): - ## wifi-helper.h: ns3::WifiPhyHelper::WifiPhyHelper() [constructor] - cls.add_constructor([]) - ## wifi-helper.h: ns3::WifiPhyHelper::WifiPhyHelper(ns3::WifiPhyHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiPhyHelper const &', 'arg0')]) - ## wifi-helper.h: ns3::Ptr ns3::WifiPhyHelper::Create(ns3::Ptr node, ns3::Ptr device) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiPhy >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WifiNetDevice >', 'device')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3WifiPhyListener_methods(root_module, cls): - ## wifi-phy.h: ns3::WifiPhyListener::WifiPhyListener() [constructor] - cls.add_constructor([]) - ## wifi-phy.h: ns3::WifiPhyListener::WifiPhyListener(ns3::WifiPhyListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiPhyListener const &', 'arg0')]) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyMaybeCcaBusyStart(ns3::Time duration) [member function] - cls.add_method('NotifyMaybeCcaBusyStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyRxEndError() [member function] - cls.add_method('NotifyRxEndError', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyRxEndOk() [member function] - cls.add_method('NotifyRxEndOk', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyRxStart(ns3::Time duration) [member function] - cls.add_method('NotifyRxStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifySwitchingStart(ns3::Time duration) [member function] - cls.add_method('NotifySwitchingStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyTxStart(ns3::Time duration) [member function] - cls.add_method('NotifyTxStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3WifiRemoteStation_methods(root_module, cls): - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::WifiRemoteStation() [constructor] - cls.add_constructor([]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::WifiRemoteStation(ns3::WifiRemoteStation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRemoteStation const &', 'arg0')]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::m_slrc [variable] - cls.add_instance_attribute('m_slrc', 'uint32_t', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::m_ssrc [variable] - cls.add_instance_attribute('m_ssrc', 'uint32_t', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::m_state [variable] - cls.add_instance_attribute('m_state', 'ns3::WifiRemoteStationState *', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::m_tid [variable] - cls.add_instance_attribute('m_tid', 'uint8_t', is_const=False) - return - -def register_Ns3WifiRemoteStationInfo_methods(root_module, cls): - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationInfo::WifiRemoteStationInfo(ns3::WifiRemoteStationInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRemoteStationInfo const &', 'arg0')]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationInfo::WifiRemoteStationInfo() [constructor] - cls.add_constructor([]) - ## wifi-remote-station-manager.h: double ns3::WifiRemoteStationInfo::GetFrameErrorRate() const [member function] - cls.add_method('GetFrameErrorRate', - 'double', - [], - is_const=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationInfo::NotifyTxFailed() [member function] - cls.add_method('NotifyTxFailed', - 'void', - []) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationInfo::NotifyTxSuccess(uint32_t retryCounter) [member function] - cls.add_method('NotifyTxSuccess', - 'void', - [param('uint32_t', 'retryCounter')]) - return - -def register_Ns3WifiRemoteStationState_methods(root_module, cls): - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::WifiRemoteStationState() [constructor] - cls.add_constructor([]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::WifiRemoteStationState(ns3::WifiRemoteStationState const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRemoteStationState const &', 'arg0')]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::m_address [variable] - cls.add_instance_attribute('m_address', 'ns3::Mac48Address', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::m_info [variable] - cls.add_instance_attribute('m_info', 'ns3::WifiRemoteStationInfo', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::m_operationalRateSet [variable] - cls.add_instance_attribute('m_operationalRateSet', 'ns3::WifiModeList', is_const=False) - return - -def register_Ns3YansWifiChannelHelper_methods(root_module, cls): - ## yans-wifi-helper.h: ns3::YansWifiChannelHelper::YansWifiChannelHelper(ns3::YansWifiChannelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::YansWifiChannelHelper const &', 'arg0')]) - ## yans-wifi-helper.h: ns3::YansWifiChannelHelper::YansWifiChannelHelper() [constructor] - cls.add_constructor([]) - ## yans-wifi-helper.h: void ns3::YansWifiChannelHelper::AddPropagationLoss(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('AddPropagationLoss', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## yans-wifi-helper.h: ns3::Ptr ns3::YansWifiChannelHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::YansWifiChannel >', - [], - is_const=True) - ## yans-wifi-helper.h: static ns3::YansWifiChannelHelper ns3::YansWifiChannelHelper::Default() [member function] - cls.add_method('Default', - 'ns3::YansWifiChannelHelper', - [], - is_static=True) - ## yans-wifi-helper.h: void ns3::YansWifiChannelHelper::SetPropagationDelay(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPropagationDelay', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - return - -def register_Ns3YansWifiPhyHelper_methods(root_module, cls): - ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::YansWifiPhyHelper(ns3::YansWifiPhyHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::YansWifiPhyHelper const &', 'arg0')]) - ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::YansWifiPhyHelper() [constructor] - cls.add_constructor([]) - ## yans-wifi-helper.h: static ns3::YansWifiPhyHelper ns3::YansWifiPhyHelper::Default() [member function] - cls.add_method('Default', - 'ns3::YansWifiPhyHelper', - [], - is_static=True) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::YansWifiChannel >', 'channel')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetErrorRateModel(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetErrorRateModel', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetPcapDataLinkType(ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes dlt) [member function] - cls.add_method('SetPcapDataLinkType', - 'void', - [param('ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes', 'dlt')]) - ## yans-wifi-helper.h: ns3::Ptr ns3::YansWifiPhyHelper::Create(ns3::Ptr node, ns3::Ptr device) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiPhy >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WifiNetDevice >', 'device')], - is_const=True, visibility='private', is_virtual=True) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3MgtAddBaRequestHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtAddBaRequestHeader::MgtAddBaRequestHeader(ns3::MgtAddBaRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtAddBaRequestHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtAddBaRequestHeader::MgtAddBaRequestHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtAddBaRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaRequestHeader::GetBufferSize() const [member function] - cls.add_method('GetBufferSize', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtAddBaRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtAddBaRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaRequestHeader::GetStartingSequence() const [member function] - cls.add_method('GetStartingSequence', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: uint8_t ns3::MgtAddBaRequestHeader::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaRequestHeader::GetTimeout() const [member function] - cls.add_method('GetTimeout', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtAddBaRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: bool ns3::MgtAddBaRequestHeader::IsAmsduSupported() const [member function] - cls.add_method('IsAmsduSupported', - 'bool', - [], - is_const=True) - ## mgt-headers.h: bool ns3::MgtAddBaRequestHeader::IsImmediateBlockAck() const [member function] - cls.add_method('IsImmediateBlockAck', - 'bool', - [], - is_const=True) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetAmsduSupport(bool supported) [member function] - cls.add_method('SetAmsduSupport', - 'void', - [param('bool', 'supported')]) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetBufferSize(uint16_t size) [member function] - cls.add_method('SetBufferSize', - 'void', - [param('uint16_t', 'size')]) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetDelayedBlockAck() [member function] - cls.add_method('SetDelayedBlockAck', - 'void', - []) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetImmediateBlockAck() [member function] - cls.add_method('SetImmediateBlockAck', - 'void', - []) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetStartingSequence(uint16_t seq) [member function] - cls.add_method('SetStartingSequence', - 'void', - [param('uint16_t', 'seq')]) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetTid(uint8_t tid) [member function] - cls.add_method('SetTid', - 'void', - [param('uint8_t', 'tid')]) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetTimeout(uint16_t timeout) [member function] - cls.add_method('SetTimeout', - 'void', - [param('uint16_t', 'timeout')]) - return - -def register_Ns3MgtAddBaResponseHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtAddBaResponseHeader::MgtAddBaResponseHeader(ns3::MgtAddBaResponseHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtAddBaResponseHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtAddBaResponseHeader::MgtAddBaResponseHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtAddBaResponseHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaResponseHeader::GetBufferSize() const [member function] - cls.add_method('GetBufferSize', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtAddBaResponseHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtAddBaResponseHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::StatusCode ns3::MgtAddBaResponseHeader::GetStatusCode() const [member function] - cls.add_method('GetStatusCode', - 'ns3::StatusCode', - [], - is_const=True) - ## mgt-headers.h: uint8_t ns3::MgtAddBaResponseHeader::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaResponseHeader::GetTimeout() const [member function] - cls.add_method('GetTimeout', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtAddBaResponseHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: bool ns3::MgtAddBaResponseHeader::IsAmsduSupported() const [member function] - cls.add_method('IsAmsduSupported', - 'bool', - [], - is_const=True) - ## mgt-headers.h: bool ns3::MgtAddBaResponseHeader::IsImmediateBlockAck() const [member function] - cls.add_method('IsImmediateBlockAck', - 'bool', - [], - is_const=True) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetAmsduSupport(bool supported) [member function] - cls.add_method('SetAmsduSupport', - 'void', - [param('bool', 'supported')]) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetBufferSize(uint16_t size) [member function] - cls.add_method('SetBufferSize', - 'void', - [param('uint16_t', 'size')]) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetDelayedBlockAck() [member function] - cls.add_method('SetDelayedBlockAck', - 'void', - []) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetImmediateBlockAck() [member function] - cls.add_method('SetImmediateBlockAck', - 'void', - []) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetStatusCode(ns3::StatusCode code) [member function] - cls.add_method('SetStatusCode', - 'void', - [param('ns3::StatusCode', 'code')]) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetTid(uint8_t tid) [member function] - cls.add_method('SetTid', - 'void', - [param('uint8_t', 'tid')]) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetTimeout(uint16_t timeout) [member function] - cls.add_method('SetTimeout', - 'void', - [param('uint16_t', 'timeout')]) - return - -def register_Ns3MgtAssocRequestHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtAssocRequestHeader::MgtAssocRequestHeader(ns3::MgtAssocRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtAssocRequestHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtAssocRequestHeader::MgtAssocRequestHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtAssocRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtAssocRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint16_t ns3::MgtAssocRequestHeader::GetListenInterval() const [member function] - cls.add_method('GetListenInterval', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: uint32_t ns3::MgtAssocRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::Ssid ns3::MgtAssocRequestHeader::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_const=True) - ## mgt-headers.h: ns3::SupportedRates ns3::MgtAssocRequestHeader::GetSupportedRates() const [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtAssocRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::SetListenInterval(uint16_t interval) [member function] - cls.add_method('SetListenInterval', - 'void', - [param('uint16_t', 'interval')]) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')]) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::SetSupportedRates(ns3::SupportedRates rates) [member function] - cls.add_method('SetSupportedRates', - 'void', - [param('ns3::SupportedRates', 'rates')]) - return - -def register_Ns3MgtAssocResponseHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtAssocResponseHeader::MgtAssocResponseHeader(ns3::MgtAssocResponseHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtAssocResponseHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtAssocResponseHeader::MgtAssocResponseHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtAssocResponseHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtAssocResponseHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtAssocResponseHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::StatusCode ns3::MgtAssocResponseHeader::GetStatusCode() [member function] - cls.add_method('GetStatusCode', - 'ns3::StatusCode', - []) - ## mgt-headers.h: ns3::SupportedRates ns3::MgtAssocResponseHeader::GetSupportedRates() [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - []) - ## mgt-headers.h: static ns3::TypeId ns3::MgtAssocResponseHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::MgtAssocResponseHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAssocResponseHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAssocResponseHeader::SetStatusCode(ns3::StatusCode code) [member function] - cls.add_method('SetStatusCode', - 'void', - [param('ns3::StatusCode', 'code')]) - ## mgt-headers.h: void ns3::MgtAssocResponseHeader::SetSupportedRates(ns3::SupportedRates rates) [member function] - cls.add_method('SetSupportedRates', - 'void', - [param('ns3::SupportedRates', 'rates')]) - return - -def register_Ns3MgtDelBaHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtDelBaHeader::MgtDelBaHeader(ns3::MgtDelBaHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtDelBaHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtDelBaHeader::MgtDelBaHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtDelBaHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtDelBaHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtDelBaHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint8_t ns3::MgtDelBaHeader::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtDelBaHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: bool ns3::MgtDelBaHeader::IsByOriginator() const [member function] - cls.add_method('IsByOriginator', - 'bool', - [], - is_const=True) - ## mgt-headers.h: void ns3::MgtDelBaHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtDelBaHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtDelBaHeader::SetByOriginator() [member function] - cls.add_method('SetByOriginator', - 'void', - []) - ## mgt-headers.h: void ns3::MgtDelBaHeader::SetByRecipient() [member function] - cls.add_method('SetByRecipient', - 'void', - []) - ## mgt-headers.h: void ns3::MgtDelBaHeader::SetTid(uint8_t arg0) [member function] - cls.add_method('SetTid', - 'void', - [param('uint8_t', 'arg0')]) - return - -def register_Ns3MgtProbeRequestHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtProbeRequestHeader::MgtProbeRequestHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: ns3::MgtProbeRequestHeader::MgtProbeRequestHeader(ns3::MgtProbeRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtProbeRequestHeader const &', 'arg0')]) - ## mgt-headers.h: uint32_t ns3::MgtProbeRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtProbeRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtProbeRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::Ssid ns3::MgtProbeRequestHeader::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_const=True) - ## mgt-headers.h: ns3::SupportedRates ns3::MgtProbeRequestHeader::GetSupportedRates() const [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtProbeRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::MgtProbeRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtProbeRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtProbeRequestHeader::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')]) - ## mgt-headers.h: void ns3::MgtProbeRequestHeader::SetSupportedRates(ns3::SupportedRates rates) [member function] - cls.add_method('SetSupportedRates', - 'void', - [param('ns3::SupportedRates', 'rates')]) - return - -def register_Ns3MgtProbeResponseHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtProbeResponseHeader::MgtProbeResponseHeader(ns3::MgtProbeResponseHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtProbeResponseHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtProbeResponseHeader::MgtProbeResponseHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtProbeResponseHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: uint64_t ns3::MgtProbeResponseHeader::GetBeaconIntervalUs() const [member function] - cls.add_method('GetBeaconIntervalUs', - 'uint64_t', - [], - is_const=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtProbeResponseHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtProbeResponseHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::Ssid ns3::MgtProbeResponseHeader::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_const=True) - ## mgt-headers.h: ns3::SupportedRates ns3::MgtProbeResponseHeader::GetSupportedRates() const [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - [], - is_const=True) - ## mgt-headers.h: uint64_t ns3::MgtProbeResponseHeader::GetTimestamp() [member function] - cls.add_method('GetTimestamp', - 'uint64_t', - []) - ## mgt-headers.h: static ns3::TypeId ns3::MgtProbeResponseHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::SetBeaconIntervalUs(uint64_t us) [member function] - cls.add_method('SetBeaconIntervalUs', - 'void', - [param('uint64_t', 'us')]) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')]) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::SetSupportedRates(ns3::SupportedRates rates) [member function] - cls.add_method('SetSupportedRates', - 'void', - [param('ns3::SupportedRates', 'rates')]) - return - -def register_Ns3NqosWifiMacHelper_methods(root_module, cls): - ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper::NqosWifiMacHelper(ns3::NqosWifiMacHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NqosWifiMacHelper const &', 'arg0')]) - ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper::NqosWifiMacHelper() [constructor] - cls.add_constructor([]) - ## nqos-wifi-mac-helper.h: static ns3::NqosWifiMacHelper ns3::NqosWifiMacHelper::Default() [member function] - cls.add_method('Default', - 'ns3::NqosWifiMacHelper', - [], - is_static=True) - ## nqos-wifi-mac-helper.h: void ns3::NqosWifiMacHelper::SetType(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetType', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## nqos-wifi-mac-helper.h: ns3::Ptr ns3::NqosWifiMacHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiMac >', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3QosTag_methods(root_module, cls): - ## qos-tag.h: ns3::QosTag::QosTag(ns3::QosTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::QosTag const &', 'arg0')]) - ## qos-tag.h: ns3::QosTag::QosTag() [constructor] - cls.add_constructor([]) - ## qos-tag.h: ns3::QosTag::QosTag(uint8_t tid) [constructor] - cls.add_constructor([param('uint8_t', 'tid')]) - ## qos-tag.h: void ns3::QosTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## qos-tag.h: ns3::TypeId ns3::QosTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## qos-tag.h: uint32_t ns3::QosTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## qos-tag.h: uint8_t ns3::QosTag::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## qos-tag.h: static ns3::TypeId ns3::QosTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## qos-tag.h: void ns3::QosTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## qos-tag.h: void ns3::QosTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## qos-tag.h: void ns3::QosTag::SetTid(uint8_t tid) [member function] - cls.add_method('SetTid', - 'void', - [param('uint8_t', 'tid')]) - ## qos-tag.h: void ns3::QosTag::SetUserPriority(ns3::UserPriority up) [member function] - cls.add_method('SetUserPriority', - 'void', - [param('ns3::UserPriority', 'up')]) - return - -def register_Ns3QosWifiMacHelper_methods(root_module, cls): - ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper(ns3::QosWifiMacHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::QosWifiMacHelper const &', 'arg0')]) - ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper() [constructor] - cls.add_constructor([]) - ## qos-wifi-mac-helper.h: static ns3::QosWifiMacHelper ns3::QosWifiMacHelper::Default() [member function] - cls.add_method('Default', - 'ns3::QosWifiMacHelper', - [], - is_static=True) - ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetBlockAckInactivityTimeoutForAc(ns3::AcIndex ac, uint16_t timeout) [member function] - cls.add_method('SetBlockAckInactivityTimeoutForAc', - 'void', - [param('ns3::AcIndex', 'ac'), param('uint16_t', 'timeout')]) - ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetBlockAckThresholdForAc(ns3::AcIndex ac, uint8_t threshold) [member function] - cls.add_method('SetBlockAckThresholdForAc', - 'void', - [param('ns3::AcIndex', 'ac'), param('uint8_t', 'threshold')]) - ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetMsduAggregatorForAc(ns3::AcIndex ac, std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetMsduAggregatorForAc', - 'void', - [param('ns3::AcIndex', 'ac'), param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()')]) - ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetType(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetType', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## qos-wifi-mac-helper.h: ns3::Ptr ns3::QosWifiMacHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiMac >', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiActionHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::WifiActionHeader::WifiActionHeader(ns3::WifiActionHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiActionHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::WifiActionHeader::WifiActionHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::WifiActionHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue ns3::WifiActionHeader::GetAction() [member function] - cls.add_method('GetAction', - 'ns3::WifiActionHeader::ActionValue', - []) - ## mgt-headers.h: ns3::WifiActionHeader::CategoryValue ns3::WifiActionHeader::GetCategory() [member function] - cls.add_method('GetCategory', - 'ns3::WifiActionHeader::CategoryValue', - []) - ## mgt-headers.h: ns3::TypeId ns3::WifiActionHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::WifiActionHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: static ns3::TypeId ns3::WifiActionHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::WifiActionHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::WifiActionHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::WifiActionHeader::SetAction(ns3::WifiActionHeader::CategoryValue type, ns3::WifiActionHeader::ActionValue action) [member function] - cls.add_method('SetAction', - 'void', - [param('ns3::WifiActionHeader::CategoryValue', 'type'), param('ns3::WifiActionHeader::ActionValue', 'action')]) - return - -def register_Ns3WifiActionHeaderActionValue_methods(root_module, cls): - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::ActionValue() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::ActionValue(ns3::WifiActionHeader::ActionValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiActionHeader::ActionValue const &', 'arg0')]) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::blockAck [variable] - cls.add_instance_attribute('blockAck', 'ns3::WifiActionHeader::BlockAckActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::interwork [variable] - cls.add_instance_attribute('interwork', 'ns3::WifiActionHeader::InterworkActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::linkMetrtic [variable] - cls.add_instance_attribute('linkMetrtic', 'ns3::WifiActionHeader::LinkMetricActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::pathSelection [variable] - cls.add_instance_attribute('pathSelection', 'ns3::WifiActionHeader::PathSelectionActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::peerLink [variable] - cls.add_instance_attribute('peerLink', 'ns3::WifiActionHeader::PeerLinkMgtActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::resourceCoordination [variable] - cls.add_instance_attribute('resourceCoordination', 'ns3::WifiActionHeader::ResourceCoordinationActionValue', is_const=False) - return - -def register_Ns3WifiInformationElement_methods(root_module, cls): - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('==') - ## wifi-information-element.h: ns3::WifiInformationElement::WifiInformationElement() [constructor] - cls.add_constructor([]) - ## wifi-information-element.h: ns3::WifiInformationElement::WifiInformationElement(ns3::WifiInformationElement const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiInformationElement const &', 'arg0')]) - ## wifi-information-element.h: ns3::Buffer::Iterator ns3::WifiInformationElement::Deserialize(ns3::Buffer::Iterator i) [member function] - cls.add_method('Deserialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')]) - ## wifi-information-element.h: ns3::Buffer::Iterator ns3::WifiInformationElement::DeserializeIfPresent(ns3::Buffer::Iterator i) [member function] - cls.add_method('DeserializeIfPresent', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')]) - ## wifi-information-element.h: uint8_t ns3::WifiInformationElement::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_pure_virtual=True, is_virtual=True) - ## wifi-information-element.h: ns3::WifiInformationElementId ns3::WifiInformationElement::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-information-element.h: uint8_t ns3::WifiInformationElement::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-information-element.h: uint16_t ns3::WifiInformationElement::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint16_t', - [], - is_const=True) - ## wifi-information-element.h: void ns3::WifiInformationElement::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wifi-information-element.h: ns3::Buffer::Iterator ns3::WifiInformationElement::Serialize(ns3::Buffer::Iterator i) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True) - ## wifi-information-element.h: void ns3::WifiInformationElement::SerializeInformationField(ns3::Buffer::Iterator start) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3WifiInformationElementVector_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector(ns3::WifiInformationElementVector const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiInformationElementVector const &', 'arg0')]) - ## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector() [constructor] - cls.add_constructor([]) - ## wifi-information-element-vector.h: bool ns3::WifiInformationElementVector::AddInformationElement(ns3::Ptr element) [member function] - cls.add_method('AddInformationElement', - 'bool', - [param('ns3::Ptr< ns3::WifiInformationElement >', 'element')]) - ## wifi-information-element-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::WifiInformationElementVector::Begin() [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::WifiInformationElement >, std::vector< ns3::Ptr< ns3::WifiInformationElement > > >', - []) - ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::DeserializeSingleIe(ns3::Buffer::Iterator start) [member function] - cls.add_method('DeserializeSingleIe', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wifi-information-element-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::WifiInformationElementVector::End() [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::WifiInformationElement >, std::vector< ns3::Ptr< ns3::WifiInformationElement > > >', - []) - ## wifi-information-element-vector.h: ns3::Ptr ns3::WifiInformationElementVector::FindFirst(ns3::WifiInformationElementId id) const [member function] - cls.add_method('FindFirst', - 'ns3::Ptr< ns3::WifiInformationElement >', - [param('ns3::WifiInformationElementId', 'id')], - is_const=True) - ## wifi-information-element-vector.h: ns3::TypeId ns3::WifiInformationElementVector::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wifi-information-element-vector.h: static ns3::TypeId ns3::WifiInformationElementVector::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::SetMaxSize(uint16_t size) [member function] - cls.add_method('SetMaxSize', - 'void', - [param('uint16_t', 'size')]) - ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True, visibility='protected') - return - -def register_Ns3WifiMac_methods(root_module, cls): - ## wifi-mac.h: ns3::WifiMac::WifiMac() [constructor] - cls.add_constructor([]) - ## wifi-mac.h: ns3::WifiMac::WifiMac(ns3::WifiMac const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiMac const &', 'arg0')]) - ## wifi-mac.h: void ns3::WifiMac::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('ConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')]) - ## wifi-mac.h: void ns3::WifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetAckTimeout() const [member function] - cls.add_method('GetAckTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Mac48Address ns3::WifiMac::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetBasicBlockAckTimeout() const [member function] - cls.add_method('GetBasicBlockAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Mac48Address ns3::WifiMac::GetBssid() const [member function] - cls.add_method('GetBssid', - 'ns3::Mac48Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetCompressedBlockAckTimeout() const [member function] - cls.add_method('GetCompressedBlockAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetCtsTimeout() const [member function] - cls.add_method('GetCtsTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetEifsNoDifs() const [member function] - cls.add_method('GetEifsNoDifs', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetMaxPropagationDelay() const [member function] - cls.add_method('GetMaxPropagationDelay', - 'ns3::Time', - [], - is_const=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetMsduLifetime() const [member function] - cls.add_method('GetMsduLifetime', - 'ns3::Time', - [], - is_const=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetPifs() const [member function] - cls.add_method('GetPifs', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetSifs() const [member function] - cls.add_method('GetSifs', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetSlot() const [member function] - cls.add_method('GetSlot', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Ssid ns3::WifiMac::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: static ns3::TypeId ns3::WifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-mac.h: void ns3::WifiMac::NotifyPromiscRx(ns3::Ptr packet) [member function] - cls.add_method('NotifyPromiscRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::NotifyRx(ns3::Ptr packet) [member function] - cls.add_method('NotifyRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::NotifyRxDrop(ns3::Ptr packet) [member function] - cls.add_method('NotifyRxDrop', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::NotifyTx(ns3::Ptr packet) [member function] - cls.add_method('NotifyTx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::NotifyTxDrop(ns3::Ptr packet) [member function] - cls.add_method('NotifyTxDrop', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::SetAckTimeout(ns3::Time ackTimeout) [member function] - cls.add_method('SetAckTimeout', - 'void', - [param('ns3::Time', 'ackTimeout')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'address')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetBasicBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetBasicBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')], - is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetCompressedBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetCompressedBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')], - is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetCtsTimeout(ns3::Time ctsTimeout) [member function] - cls.add_method('SetCtsTimeout', - 'void', - [param('ns3::Time', 'ctsTimeout')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function] - cls.add_method('SetEifsNoDifs', - 'void', - [param('ns3::Time', 'eifsNoDifs')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetForwardUpCallback(ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> upCallback) [member function] - cls.add_method('SetForwardUpCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'upCallback')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetLinkDownCallback(ns3::Callback linkDown) [member function] - cls.add_method('SetLinkDownCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkDown')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetMaxPropagationDelay(ns3::Time delay) [member function] - cls.add_method('SetMaxPropagationDelay', - 'void', - [param('ns3::Time', 'delay')]) - ## wifi-mac.h: void ns3::WifiMac::SetPifs(ns3::Time pifs) [member function] - cls.add_method('SetPifs', - 'void', - [param('ns3::Time', 'pifs')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetSifs(ns3::Time sifs) [member function] - cls.add_method('SetSifs', - 'void', - [param('ns3::Time', 'sifs')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetSlot(ns3::Time slotTime) [member function] - cls.add_method('SetSlot', - 'void', - [param('ns3::Time', 'slotTime')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetWifiPhy(ns3::Ptr phy) [member function] - cls.add_method('SetWifiPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetWifiRemoteStationManager(ns3::Ptr stationManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'stationManager')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: bool ns3::WifiMac::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::ConfigureCCHDcf(ns3::Ptr dcf, uint32_t cwmin, uint32_t cwmax, ns3::AcIndex ac) [member function] - cls.add_method('ConfigureCCHDcf', - 'void', - [param('ns3::Ptr< ns3::Dcf >', 'dcf'), param('uint32_t', 'cwmin'), param('uint32_t', 'cwmax'), param('ns3::AcIndex', 'ac')], - visibility='protected') - ## wifi-mac.h: void ns3::WifiMac::ConfigureDcf(ns3::Ptr dcf, uint32_t cwmin, uint32_t cwmax, ns3::AcIndex ac) [member function] - cls.add_method('ConfigureDcf', - 'void', - [param('ns3::Ptr< ns3::Dcf >', 'dcf'), param('uint32_t', 'cwmin'), param('uint32_t', 'cwmax'), param('ns3::AcIndex', 'ac')], - visibility='protected') - ## wifi-mac.h: void ns3::WifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('FinishConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiMacHeader_methods(root_module, cls): - ## wifi-mac-header.h: ns3::WifiMacHeader::WifiMacHeader(ns3::WifiMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiMacHeader const &', 'arg0')]) - ## wifi-mac-header.h: ns3::WifiMacHeader::WifiMacHeader() [constructor] - cls.add_constructor([]) - ## wifi-mac-header.h: uint32_t ns3::WifiMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wifi-mac-header.h: ns3::Mac48Address ns3::WifiMacHeader::GetAddr1() const [member function] - cls.add_method('GetAddr1', - 'ns3::Mac48Address', - [], - is_const=True) - ## wifi-mac-header.h: ns3::Mac48Address ns3::WifiMacHeader::GetAddr2() const [member function] - cls.add_method('GetAddr2', - 'ns3::Mac48Address', - [], - is_const=True) - ## wifi-mac-header.h: ns3::Mac48Address ns3::WifiMacHeader::GetAddr3() const [member function] - cls.add_method('GetAddr3', - 'ns3::Mac48Address', - [], - is_const=True) - ## wifi-mac-header.h: ns3::Mac48Address ns3::WifiMacHeader::GetAddr4() const [member function] - cls.add_method('GetAddr4', - 'ns3::Mac48Address', - [], - is_const=True) - ## wifi-mac-header.h: ns3::Time ns3::WifiMacHeader::GetDuration() const [member function] - cls.add_method('GetDuration', - 'ns3::Time', - [], - is_const=True) - ## wifi-mac-header.h: uint16_t ns3::WifiMacHeader::GetFragmentNumber() const [member function] - cls.add_method('GetFragmentNumber', - 'uint16_t', - [], - is_const=True) - ## wifi-mac-header.h: ns3::TypeId ns3::WifiMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wifi-mac-header.h: ns3::WifiMacHeader::QosAckPolicy ns3::WifiMacHeader::GetQosAckPolicy() const [member function] - cls.add_method('GetQosAckPolicy', - 'ns3::WifiMacHeader::QosAckPolicy', - [], - is_const=True) - ## wifi-mac-header.h: uint8_t ns3::WifiMacHeader::GetQosTid() const [member function] - cls.add_method('GetQosTid', - 'uint8_t', - [], - is_const=True) - ## wifi-mac-header.h: uint8_t ns3::WifiMacHeader::GetQosTxopLimit() const [member function] - cls.add_method('GetQosTxopLimit', - 'uint8_t', - [], - is_const=True) - ## wifi-mac-header.h: uint16_t ns3::WifiMacHeader::GetRawDuration() const [member function] - cls.add_method('GetRawDuration', - 'uint16_t', - [], - is_const=True) - ## wifi-mac-header.h: uint16_t ns3::WifiMacHeader::GetSequenceControl() const [member function] - cls.add_method('GetSequenceControl', - 'uint16_t', - [], - is_const=True) - ## wifi-mac-header.h: uint16_t ns3::WifiMacHeader::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## wifi-mac-header.h: uint32_t ns3::WifiMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wifi-mac-header.h: uint32_t ns3::WifiMacHeader::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## wifi-mac-header.h: ns3::WifiMacType ns3::WifiMacHeader::GetType() const [member function] - cls.add_method('GetType', - 'ns3::WifiMacType', - [], - is_const=True) - ## wifi-mac-header.h: static ns3::TypeId ns3::WifiMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-mac-header.h: char const * ns3::WifiMacHeader::GetTypeString() const [member function] - cls.add_method('GetTypeString', - 'char const *', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAck() const [member function] - cls.add_method('IsAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAction() const [member function] - cls.add_method('IsAction', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAssocReq() const [member function] - cls.add_method('IsAssocReq', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAssocResp() const [member function] - cls.add_method('IsAssocResp', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAuthentication() const [member function] - cls.add_method('IsAuthentication', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsBeacon() const [member function] - cls.add_method('IsBeacon', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsBlockAck() const [member function] - cls.add_method('IsBlockAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsBlockAckReq() const [member function] - cls.add_method('IsBlockAckReq', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsCfpoll() const [member function] - cls.add_method('IsCfpoll', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsCtl() const [member function] - cls.add_method('IsCtl', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsCts() const [member function] - cls.add_method('IsCts', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsData() const [member function] - cls.add_method('IsData', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsDeauthentication() const [member function] - cls.add_method('IsDeauthentication', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsDisassociation() const [member function] - cls.add_method('IsDisassociation', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsFromDs() const [member function] - cls.add_method('IsFromDs', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsMgt() const [member function] - cls.add_method('IsMgt', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsMoreFragments() const [member function] - cls.add_method('IsMoreFragments', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsMultihopAction() const [member function] - cls.add_method('IsMultihopAction', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsProbeReq() const [member function] - cls.add_method('IsProbeReq', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsProbeResp() const [member function] - cls.add_method('IsProbeResp', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosAck() const [member function] - cls.add_method('IsQosAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosAmsdu() const [member function] - cls.add_method('IsQosAmsdu', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosBlockAck() const [member function] - cls.add_method('IsQosBlockAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosData() const [member function] - cls.add_method('IsQosData', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosEosp() const [member function] - cls.add_method('IsQosEosp', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosNoAck() const [member function] - cls.add_method('IsQosNoAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsReassocReq() const [member function] - cls.add_method('IsReassocReq', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsReassocResp() const [member function] - cls.add_method('IsReassocResp', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsRetry() const [member function] - cls.add_method('IsRetry', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsRts() const [member function] - cls.add_method('IsRts', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsToDs() const [member function] - cls.add_method('IsToDs', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: void ns3::WifiMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wifi-mac-header.h: void ns3::WifiMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAction() [member function] - cls.add_method('SetAction', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAddr1(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr1', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAddr2(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr2', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAddr3(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr3', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAddr4(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr4', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAssocReq() [member function] - cls.add_method('SetAssocReq', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAssocResp() [member function] - cls.add_method('SetAssocResp', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetBeacon() [member function] - cls.add_method('SetBeacon', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetBlockAck() [member function] - cls.add_method('SetBlockAck', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetBlockAckReq() [member function] - cls.add_method('SetBlockAckReq', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDsFrom() [member function] - cls.add_method('SetDsFrom', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDsNotFrom() [member function] - cls.add_method('SetDsNotFrom', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDsNotTo() [member function] - cls.add_method('SetDsNotTo', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDsTo() [member function] - cls.add_method('SetDsTo', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDuration(ns3::Time duration) [member function] - cls.add_method('SetDuration', - 'void', - [param('ns3::Time', 'duration')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetFragmentNumber(uint8_t frag) [member function] - cls.add_method('SetFragmentNumber', - 'void', - [param('uint8_t', 'frag')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetId(uint16_t id) [member function] - cls.add_method('SetId', - 'void', - [param('uint16_t', 'id')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetMoreFragments() [member function] - cls.add_method('SetMoreFragments', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetMultihopAction() [member function] - cls.add_method('SetMultihopAction', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetNoMoreFragments() [member function] - cls.add_method('SetNoMoreFragments', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetNoRetry() [member function] - cls.add_method('SetNoRetry', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetProbeReq() [member function] - cls.add_method('SetProbeReq', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetProbeResp() [member function] - cls.add_method('SetProbeResp', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosAckPolicy(ns3::WifiMacHeader::QosAckPolicy arg0) [member function] - cls.add_method('SetQosAckPolicy', - 'void', - [param('ns3::WifiMacHeader::QosAckPolicy', 'arg0')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosAmsdu() [member function] - cls.add_method('SetQosAmsdu', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosBlockAck() [member function] - cls.add_method('SetQosBlockAck', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosEosp() [member function] - cls.add_method('SetQosEosp', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosNoAck() [member function] - cls.add_method('SetQosNoAck', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosNoAmsdu() [member function] - cls.add_method('SetQosNoAmsdu', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosNoEosp() [member function] - cls.add_method('SetQosNoEosp', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosNormalAck() [member function] - cls.add_method('SetQosNormalAck', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosTid(uint8_t tid) [member function] - cls.add_method('SetQosTid', - 'void', - [param('uint8_t', 'tid')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosTxopLimit(uint8_t txop) [member function] - cls.add_method('SetQosTxopLimit', - 'void', - [param('uint8_t', 'txop')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetRawDuration(uint16_t duration) [member function] - cls.add_method('SetRawDuration', - 'void', - [param('uint16_t', 'duration')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetRetry() [member function] - cls.add_method('SetRetry', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetSequenceNumber(uint16_t seq) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'seq')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetType(ns3::WifiMacType type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::WifiMacType', 'type')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetTypeData() [member function] - cls.add_method('SetTypeData', - 'void', - []) - return - -def register_Ns3WifiPhy_methods(root_module, cls): - ## wifi-phy.h: ns3::WifiPhy::WifiPhy(ns3::WifiPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiPhy const &', 'arg0')]) - ## wifi-phy.h: ns3::WifiPhy::WifiPhy() [constructor] - cls.add_constructor([]) - ## wifi-phy.h: double ns3::WifiPhy::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function] - cls.add_method('CalculateSnr', - 'double', - [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) const [member function] - cls.add_method('CalculateTxDuration', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('ConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: ns3::Ptr ns3::WifiPhy::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::WifiChannel >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: uint16_t ns3::WifiPhy::GetChannelNumber() const [member function] - cls.add_method('GetChannelNumber', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: ns3::Time ns3::WifiPhy::GetDelayUntilIdle() [member function] - cls.add_method('GetDelayUntilIdle', - 'ns3::Time', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetDsssRate11Mbps() [member function] - cls.add_method('GetDsssRate11Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetDsssRate1Mbps() [member function] - cls.add_method('GetDsssRate1Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetDsssRate2Mbps() [member function] - cls.add_method('GetDsssRate2Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetDsssRate5_5Mbps() [member function] - cls.add_method('GetDsssRate5_5Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate12Mbps() [member function] - cls.add_method('GetErpOfdmRate12Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate18Mbps() [member function] - cls.add_method('GetErpOfdmRate18Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate24Mbps() [member function] - cls.add_method('GetErpOfdmRate24Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate36Mbps() [member function] - cls.add_method('GetErpOfdmRate36Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate48Mbps() [member function] - cls.add_method('GetErpOfdmRate48Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate54Mbps() [member function] - cls.add_method('GetErpOfdmRate54Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate6Mbps() [member function] - cls.add_method('GetErpOfdmRate6Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate9Mbps() [member function] - cls.add_method('GetErpOfdmRate9Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: ns3::Time ns3::WifiPhy::GetLastRxStartTime() const [member function] - cls.add_method('GetLastRxStartTime', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: ns3::WifiMode ns3::WifiPhy::GetMode(uint32_t mode) const [member function] - cls.add_method('GetMode', - 'ns3::WifiMode', - [param('uint32_t', 'mode')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: uint32_t ns3::WifiPhy::GetNModes() const [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: uint32_t ns3::WifiPhy::GetNTxPower() const [member function] - cls.add_method('GetNTxPower', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate12Mbps() [member function] - cls.add_method('GetOfdmRate12Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate12MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate12MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate12MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate12MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate13_5MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate13_5MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate18Mbps() [member function] - cls.add_method('GetOfdmRate18Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate18MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate18MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate1_5MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate1_5MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate24Mbps() [member function] - cls.add_method('GetOfdmRate24Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate24MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate24MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate27MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate27MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate2_25MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate2_25MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate36Mbps() [member function] - cls.add_method('GetOfdmRate36Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate3MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate3MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate3MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate3MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate48Mbps() [member function] - cls.add_method('GetOfdmRate48Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate4_5MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate4_5MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate4_5MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate4_5MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate54Mbps() [member function] - cls.add_method('GetOfdmRate54Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate6Mbps() [member function] - cls.add_method('GetOfdmRate6Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate6MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate6MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate6MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate6MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate9Mbps() [member function] - cls.add_method('GetOfdmRate9Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate9MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate9MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate9MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate9MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: ns3::Time ns3::WifiPhy::GetStateDuration() [member function] - cls.add_method('GetStateDuration', - 'ns3::Time', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: double ns3::WifiPhy::GetTxPowerEnd() const [member function] - cls.add_method('GetTxPowerEnd', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: double ns3::WifiPhy::GetTxPowerStart() const [member function] - cls.add_method('GetTxPowerStart', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: static ns3::TypeId ns3::WifiPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateSwitching() [member function] - cls.add_method('IsStateSwitching', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::NotifyPromiscSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] - cls.add_method('NotifyPromiscSniffRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('double', 'signalDbm'), param('double', 'noiseDbm')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyPromiscSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] - cls.add_method('NotifyPromiscSniffTx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyRxBegin(ns3::Ptr packet) [member function] - cls.add_method('NotifyRxBegin', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyRxDrop(ns3::Ptr packet) [member function] - cls.add_method('NotifyRxDrop', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyRxEnd(ns3::Ptr packet) [member function] - cls.add_method('NotifyRxEnd', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyTxBegin(ns3::Ptr packet) [member function] - cls.add_method('NotifyTxBegin', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyTxDrop(ns3::Ptr packet) [member function] - cls.add_method('NotifyTxDrop', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyTxEnd(ns3::Ptr packet) [member function] - cls.add_method('NotifyTxEnd', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::WifiPhyListener *', 'listener')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::SendPacket(ns3::Ptr packet, ns3::WifiMode mode, ns3::WifiPreamble preamble, uint8_t txPowerLevel) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble'), param('uint8_t', 'txPowerLevel')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::SetChannelNumber(uint16_t id) [member function] - cls.add_method('SetChannelNumber', - 'void', - [param('uint16_t', 'id')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback,double,ns3::WifiMode,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::WifiMode, ns3::WifiPreamble, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3WifiRemoteStationManager_methods(root_module, cls): - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationManager::WifiRemoteStationManager(ns3::WifiRemoteStationManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRemoteStationManager const &', 'arg0')]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationManager::WifiRemoteStationManager() [constructor] - cls.add_constructor([]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::AddBasicMode(ns3::WifiMode mode) [member function] - cls.add_method('AddBasicMode', - 'void', - [param('ns3::WifiMode', 'mode')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::AddSupportedMode(ns3::Mac48Address address, ns3::WifiMode mode) [member function] - cls.add_method('AddSupportedMode', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'mode')]) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetAckMode(ns3::Mac48Address address, ns3::WifiMode dataMode) [member function] - cls.add_method('GetAckMode', - 'ns3::WifiMode', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'dataMode')]) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetBasicMode(uint32_t i) const [member function] - cls.add_method('GetBasicMode', - 'ns3::WifiMode', - [param('uint32_t', 'i')], - is_const=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetCtsMode(ns3::Mac48Address address, ns3::WifiMode rtsMode) [member function] - cls.add_method('GetCtsMode', - 'ns3::WifiMode', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'rtsMode')]) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetDataMode(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fullPacketSize) [member function] - cls.add_method('GetDataMode', - 'ns3::WifiMode', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fullPacketSize')]) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetDefaultMode() const [member function] - cls.add_method('GetDefaultMode', - 'ns3::WifiMode', - [], - is_const=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetFragmentOffset(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fragmentNumber) [member function] - cls.add_method('GetFragmentOffset', - 'uint32_t', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fragmentNumber')]) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetFragmentSize(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fragmentNumber) [member function] - cls.add_method('GetFragmentSize', - 'uint32_t', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fragmentNumber')]) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetFragmentationThreshold() const [member function] - cls.add_method('GetFragmentationThreshold', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationInfo ns3::WifiRemoteStationManager::GetInfo(ns3::Mac48Address address) [member function] - cls.add_method('GetInfo', - 'ns3::WifiRemoteStationInfo', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetMaxSlrc() const [member function] - cls.add_method('GetMaxSlrc', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetMaxSsrc() const [member function] - cls.add_method('GetMaxSsrc', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetNBasicModes() const [member function] - cls.add_method('GetNBasicModes', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetNonUnicastMode() const [member function] - cls.add_method('GetNonUnicastMode', - 'ns3::WifiMode', - [], - is_const=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetRtsCtsThreshold() const [member function] - cls.add_method('GetRtsCtsThreshold', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetRtsMode(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('GetRtsMode', - 'ns3::WifiMode', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: static ns3::TypeId ns3::WifiRemoteStationManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsAssociated(ns3::Mac48Address address) const [member function] - cls.add_method('IsAssociated', - 'bool', - [param('ns3::Mac48Address', 'address')], - is_const=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsBrandNew(ns3::Mac48Address address) const [member function] - cls.add_method('IsBrandNew', - 'bool', - [param('ns3::Mac48Address', 'address')], - is_const=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsLastFragment(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fragmentNumber) [member function] - cls.add_method('IsLastFragment', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fragmentNumber')]) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsWaitAssocTxOk(ns3::Mac48Address address) const [member function] - cls.add_method('IsWaitAssocTxOk', - 'bool', - [param('ns3::Mac48Address', 'address')], - is_const=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::NeedDataRetransmission(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('NeedDataRetransmission', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::NeedFragmentation(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('NeedFragmentation', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::NeedRts(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('NeedRts', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::NeedRtsRetransmission(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('NeedRtsRetransmission', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::PrepareForQueue(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fullPacketSize) [member function] - cls.add_method('PrepareForQueue', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fullPacketSize')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::RecordDisassociated(ns3::Mac48Address address) [member function] - cls.add_method('RecordDisassociated', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::RecordGotAssocTxFailed(ns3::Mac48Address address) [member function] - cls.add_method('RecordGotAssocTxFailed', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::RecordGotAssocTxOk(ns3::Mac48Address address) [member function] - cls.add_method('RecordGotAssocTxOk', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::RecordWaitAssocTxOk(ns3::Mac48Address address) [member function] - cls.add_method('RecordWaitAssocTxOk', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportDataFailed(ns3::Mac48Address address, ns3::WifiMacHeader const * header) [member function] - cls.add_method('ReportDataFailed', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportDataOk(ns3::Mac48Address address, ns3::WifiMacHeader const * header, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('ReportDataOk', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportFinalDataFailed(ns3::Mac48Address address, ns3::WifiMacHeader const * header) [member function] - cls.add_method('ReportFinalDataFailed', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportFinalRtsFailed(ns3::Mac48Address address, ns3::WifiMacHeader const * header) [member function] - cls.add_method('ReportFinalRtsFailed', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportRtsFailed(ns3::Mac48Address address, ns3::WifiMacHeader const * header) [member function] - cls.add_method('ReportRtsFailed', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportRtsOk(ns3::Mac48Address address, ns3::WifiMacHeader const * header, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('ReportRtsOk', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportRxOk(ns3::Mac48Address address, ns3::WifiMacHeader const * header, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('ReportRxOk', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::Reset(ns3::Mac48Address address) [member function] - cls.add_method('Reset', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetFragmentationThreshold(uint32_t threshold) [member function] - cls.add_method('SetFragmentationThreshold', - 'void', - [param('uint32_t', 'threshold')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetMaxSlrc(uint32_t maxSlrc) [member function] - cls.add_method('SetMaxSlrc', - 'void', - [param('uint32_t', 'maxSlrc')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetMaxSsrc(uint32_t maxSsrc) [member function] - cls.add_method('SetMaxSsrc', - 'void', - [param('uint32_t', 'maxSsrc')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetRtsCtsThreshold(uint32_t threshold) [member function] - cls.add_method('SetRtsCtsThreshold', - 'void', - [param('uint32_t', 'threshold')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetupPhy(ns3::Ptr phy) [member function] - cls.add_method('SetupPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetNSupported(ns3::WifiRemoteStation const * station) const [member function] - cls.add_method('GetNSupported', - 'uint32_t', - [param('ns3::WifiRemoteStation const *', 'station')], - is_const=True, visibility='protected') - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetSupported(ns3::WifiRemoteStation const * station, uint32_t i) const [member function] - cls.add_method('GetSupported', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation const *', 'station'), param('uint32_t', 'i')], - is_const=True, visibility='protected') - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation * ns3::WifiRemoteStationManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::DoNeedDataRetransmission(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedDataRetransmission', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::DoNeedFragmentation(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedFragmentation', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::DoNeedRts(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRts', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::DoNeedRtsRetransmission(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRtsRetransmission', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3YansWifiPhy_methods(root_module, cls): - ## yans-wifi-phy.h: static ns3::TypeId ns3::YansWifiPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## yans-wifi-phy.h: ns3::YansWifiPhy::YansWifiPhy() [constructor] - cls.add_constructor([]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::YansWifiChannel >', 'channel')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetChannelNumber(uint16_t id) [member function] - cls.add_method('SetChannelNumber', - 'void', - [param('uint16_t', 'id')], - is_virtual=True) - ## yans-wifi-phy.h: uint16_t ns3::YansWifiPhy::GetChannelNumber() const [member function] - cls.add_method('GetChannelNumber', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetChannelFrequencyMhz() const [member function] - cls.add_method('GetChannelFrequencyMhz', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::StartReceivePacket(ns3::Ptr packet, double rxPowerDbm, ns3::WifiMode mode, ns3::WifiPreamble preamble) [member function] - cls.add_method('StartReceivePacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDbm'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxNoiseFigure(double noiseFigureDb) [member function] - cls.add_method('SetRxNoiseFigure', - 'void', - [param('double', 'noiseFigureDb')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxPowerStart(double start) [member function] - cls.add_method('SetTxPowerStart', - 'void', - [param('double', 'start')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxPowerEnd(double end) [member function] - cls.add_method('SetTxPowerEnd', - 'void', - [param('double', 'end')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetNTxPower(uint32_t n) [member function] - cls.add_method('SetNTxPower', - 'void', - [param('uint32_t', 'n')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxGain(double gain) [member function] - cls.add_method('SetTxGain', - 'void', - [param('double', 'gain')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxGain(double gain) [member function] - cls.add_method('SetRxGain', - 'void', - [param('double', 'gain')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetEdThreshold(double threshold) [member function] - cls.add_method('SetEdThreshold', - 'void', - [param('double', 'threshold')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetCcaMode1Threshold(double threshold) [member function] - cls.add_method('SetCcaMode1Threshold', - 'void', - [param('double', 'threshold')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetErrorRateModel(ns3::Ptr rate) [member function] - cls.add_method('SetErrorRateModel', - 'void', - [param('ns3::Ptr< ns3::ErrorRateModel >', 'rate')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'device')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetMobility(ns3::Ptr mobility) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'mobility')]) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxNoiseFigure() const [member function] - cls.add_method('GetRxNoiseFigure', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxGain() const [member function] - cls.add_method('GetTxGain', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxGain() const [member function] - cls.add_method('GetRxGain', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetEdThreshold() const [member function] - cls.add_method('GetEdThreshold', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetCcaMode1Threshold() const [member function] - cls.add_method('GetCcaMode1Threshold', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: ns3::Ptr ns3::YansWifiPhy::GetErrorRateModel() const [member function] - cls.add_method('GetErrorRateModel', - 'ns3::Ptr< ns3::ErrorRateModel >', - [], - is_const=True) - ## yans-wifi-phy.h: ns3::Ptr ns3::YansWifiPhy::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## yans-wifi-phy.h: ns3::Ptr ns3::YansWifiPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - []) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxPowerStart() const [member function] - cls.add_method('GetTxPowerStart', - 'double', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxPowerEnd() const [member function] - cls.add_method('GetTxPowerEnd', - 'double', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: uint32_t ns3::YansWifiPhy::GetNTxPower() const [member function] - cls.add_method('GetNTxPower', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetReceiveOkCallback(ns3::Callback,double,ns3::WifiMode,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::WifiMode, ns3::WifiPreamble, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetReceiveErrorCallback(ns3::Callback,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SendPacket(ns3::Ptr packet, ns3::WifiMode mode, ns3::WifiPreamble preamble, uint8_t txPowerLevel) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble'), param('uint8_t', 'txPowerLevel')], - is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::WifiPhyListener *', 'listener')], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateSwitching() [member function] - cls.add_method('IsStateSwitching', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetStateDuration() [member function] - cls.add_method('GetStateDuration', - 'ns3::Time', - [], - is_virtual=True) - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetDelayUntilIdle() [member function] - cls.add_method('GetDelayUntilIdle', - 'ns3::Time', - [], - is_virtual=True) - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetLastRxStartTime() const [member function] - cls.add_method('GetLastRxStartTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) const [member function] - cls.add_method('CalculateTxDuration', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: uint32_t ns3::YansWifiPhy::GetNModes() const [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: ns3::WifiMode ns3::YansWifiPhy::GetMode(uint32_t mode) const [member function] - cls.add_method('GetMode', - 'ns3::WifiMode', - [param('uint32_t', 'mode')], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function] - cls.add_method('CalculateSnr', - 'double', - [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: ns3::Ptr ns3::YansWifiPhy::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::WifiChannel >', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('ConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3AarfWifiManager_methods(root_module, cls): - ## aarf-wifi-manager.h: ns3::AarfWifiManager::AarfWifiManager(ns3::AarfWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AarfWifiManager const &', 'arg0')]) - ## aarf-wifi-manager.h: ns3::AarfWifiManager::AarfWifiManager() [constructor] - cls.add_constructor([]) - ## aarf-wifi-manager.h: static ns3::TypeId ns3::AarfWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aarf-wifi-manager.h: ns3::WifiRemoteStation * ns3::AarfWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: ns3::WifiMode ns3::AarfWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: ns3::WifiMode ns3::AarfWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: bool ns3::AarfWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3AarfcdWifiManager_methods(root_module, cls): - ## aarfcd-wifi-manager.h: ns3::AarfcdWifiManager::AarfcdWifiManager(ns3::AarfcdWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AarfcdWifiManager const &', 'arg0')]) - ## aarfcd-wifi-manager.h: ns3::AarfcdWifiManager::AarfcdWifiManager() [constructor] - cls.add_constructor([]) - ## aarfcd-wifi-manager.h: static ns3::TypeId ns3::AarfcdWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aarfcd-wifi-manager.h: ns3::WifiRemoteStation * ns3::AarfcdWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: ns3::WifiMode ns3::AarfcdWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: ns3::WifiMode ns3::AarfcdWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: bool ns3::AarfcdWifiManager::DoNeedRts(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRts', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: bool ns3::AarfcdWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3AmrrWifiManager_methods(root_module, cls): - ## amrr-wifi-manager.h: ns3::AmrrWifiManager::AmrrWifiManager(ns3::AmrrWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AmrrWifiManager const &', 'arg0')]) - ## amrr-wifi-manager.h: ns3::AmrrWifiManager::AmrrWifiManager() [constructor] - cls.add_constructor([]) - ## amrr-wifi-manager.h: static ns3::TypeId ns3::AmrrWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## amrr-wifi-manager.h: ns3::WifiRemoteStation * ns3::AmrrWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: ns3::WifiMode ns3::AmrrWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: ns3::WifiMode ns3::AmrrWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: bool ns3::AmrrWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3AmsduSubframeHeader_methods(root_module, cls): - ## amsdu-subframe-header.h: ns3::AmsduSubframeHeader::AmsduSubframeHeader(ns3::AmsduSubframeHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AmsduSubframeHeader const &', 'arg0')]) - ## amsdu-subframe-header.h: ns3::AmsduSubframeHeader::AmsduSubframeHeader() [constructor] - cls.add_constructor([]) - ## amsdu-subframe-header.h: uint32_t ns3::AmsduSubframeHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## amsdu-subframe-header.h: ns3::Mac48Address ns3::AmsduSubframeHeader::GetDestinationAddr() const [member function] - cls.add_method('GetDestinationAddr', - 'ns3::Mac48Address', - [], - is_const=True) - ## amsdu-subframe-header.h: ns3::TypeId ns3::AmsduSubframeHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## amsdu-subframe-header.h: uint16_t ns3::AmsduSubframeHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint16_t', - [], - is_const=True) - ## amsdu-subframe-header.h: uint32_t ns3::AmsduSubframeHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## amsdu-subframe-header.h: ns3::Mac48Address ns3::AmsduSubframeHeader::GetSourceAddr() const [member function] - cls.add_method('GetSourceAddr', - 'ns3::Mac48Address', - [], - is_const=True) - ## amsdu-subframe-header.h: static ns3::TypeId ns3::AmsduSubframeHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::SetDestinationAddr(ns3::Mac48Address to) [member function] - cls.add_method('SetDestinationAddr', - 'void', - [param('ns3::Mac48Address', 'to')]) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::SetLength(uint16_t arg0) [member function] - cls.add_method('SetLength', - 'void', - [param('uint16_t', 'arg0')]) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::SetSourceAddr(ns3::Mac48Address to) [member function] - cls.add_method('SetSourceAddr', - 'void', - [param('ns3::Mac48Address', 'to')]) - return - -def register_Ns3ArfWifiManager_methods(root_module, cls): - ## arf-wifi-manager.h: ns3::ArfWifiManager::ArfWifiManager(ns3::ArfWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ArfWifiManager const &', 'arg0')]) - ## arf-wifi-manager.h: ns3::ArfWifiManager::ArfWifiManager() [constructor] - cls.add_constructor([]) - ## arf-wifi-manager.h: static ns3::TypeId ns3::ArfWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## arf-wifi-manager.h: ns3::WifiRemoteStation * ns3::ArfWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## arf-wifi-manager.h: ns3::WifiMode ns3::ArfWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: ns3::WifiMode ns3::ArfWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: bool ns3::ArfWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3AthstatsWifiTraceSink_methods(root_module, cls): - ## athstats-helper.h: ns3::AthstatsWifiTraceSink::AthstatsWifiTraceSink(ns3::AthstatsWifiTraceSink const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AthstatsWifiTraceSink const &', 'arg0')]) - ## athstats-helper.h: ns3::AthstatsWifiTraceSink::AthstatsWifiTraceSink() [constructor] - cls.add_constructor([]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::DevRxTrace(std::string context, ns3::Ptr p) [member function] - cls.add_method('DevRxTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::DevTxTrace(std::string context, ns3::Ptr p) [member function] - cls.add_method('DevTxTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## athstats-helper.h: static ns3::TypeId ns3::AthstatsWifiTraceSink::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::Open(std::string const & name) [member function] - cls.add_method('Open', - 'void', - [param('std::string const &', 'name')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyRxErrorTrace(std::string context, ns3::Ptr packet, double snr) [member function] - cls.add_method('PhyRxErrorTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'snr')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyRxOkTrace(std::string context, ns3::Ptr packet, double snr, ns3::WifiMode mode, ns3::WifiPreamble preamble) [member function] - cls.add_method('PhyRxOkTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'snr'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyStateTrace(std::string context, ns3::Time start, ns3::Time duration, ns3::WifiPhy::State state) [member function] - cls.add_method('PhyStateTrace', - 'void', - [param('std::string', 'context'), param('ns3::Time', 'start'), param('ns3::Time', 'duration'), param('ns3::WifiPhy::State', 'state')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyTxTrace(std::string context, ns3::Ptr packet, ns3::WifiMode mode, ns3::WifiPreamble preamble, uint8_t txPower) [member function] - cls.add_method('PhyTxTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble'), param('uint8_t', 'txPower')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxDataFailedTrace(std::string context, ns3::Mac48Address address) [member function] - cls.add_method('TxDataFailedTrace', - 'void', - [param('std::string', 'context'), param('ns3::Mac48Address', 'address')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxFinalDataFailedTrace(std::string context, ns3::Mac48Address address) [member function] - cls.add_method('TxFinalDataFailedTrace', - 'void', - [param('std::string', 'context'), param('ns3::Mac48Address', 'address')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxFinalRtsFailedTrace(std::string context, ns3::Mac48Address address) [member function] - cls.add_method('TxFinalRtsFailedTrace', - 'void', - [param('std::string', 'context'), param('ns3::Mac48Address', 'address')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxRtsFailedTrace(std::string context, ns3::Mac48Address address) [member function] - cls.add_method('TxRtsFailedTrace', - 'void', - [param('std::string', 'context'), param('ns3::Mac48Address', 'address')]) - return - -def register_Ns3CaraWifiManager_methods(root_module, cls): - ## cara-wifi-manager.h: ns3::CaraWifiManager::CaraWifiManager(ns3::CaraWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CaraWifiManager const &', 'arg0')]) - ## cara-wifi-manager.h: ns3::CaraWifiManager::CaraWifiManager() [constructor] - cls.add_constructor([]) - ## cara-wifi-manager.h: static ns3::TypeId ns3::CaraWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## cara-wifi-manager.h: ns3::WifiRemoteStation * ns3::CaraWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## cara-wifi-manager.h: ns3::WifiMode ns3::CaraWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: ns3::WifiMode ns3::CaraWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: bool ns3::CaraWifiManager::DoNeedRts(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRts', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: bool ns3::CaraWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ConstantRateWifiManager_methods(root_module, cls): - ## constant-rate-wifi-manager.h: ns3::ConstantRateWifiManager::ConstantRateWifiManager(ns3::ConstantRateWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantRateWifiManager const &', 'arg0')]) - ## constant-rate-wifi-manager.h: ns3::ConstantRateWifiManager::ConstantRateWifiManager() [constructor] - cls.add_constructor([]) - ## constant-rate-wifi-manager.h: static ns3::TypeId ns3::ConstantRateWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## constant-rate-wifi-manager.h: ns3::WifiRemoteStation * ns3::ConstantRateWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: ns3::WifiMode ns3::ConstantRateWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: ns3::WifiMode ns3::ConstantRateWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: bool ns3::ConstantRateWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3CtrlBAckRequestHeader_methods(root_module, cls): - ## ctrl-headers.h: ns3::CtrlBAckRequestHeader::CtrlBAckRequestHeader(ns3::CtrlBAckRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CtrlBAckRequestHeader const &', 'arg0')]) - ## ctrl-headers.h: ns3::CtrlBAckRequestHeader::CtrlBAckRequestHeader() [constructor] - cls.add_constructor([]) - ## ctrl-headers.h: uint32_t ns3::CtrlBAckRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ctrl-headers.h: ns3::TypeId ns3::CtrlBAckRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ctrl-headers.h: uint32_t ns3::CtrlBAckRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ctrl-headers.h: uint16_t ns3::CtrlBAckRequestHeader::GetStartingSequence() const [member function] - cls.add_method('GetStartingSequence', - 'uint16_t', - [], - is_const=True) - ## ctrl-headers.h: uint16_t ns3::CtrlBAckRequestHeader::GetStartingSequenceControl() const [member function] - cls.add_method('GetStartingSequenceControl', - 'uint16_t', - [], - is_const=True) - ## ctrl-headers.h: uint8_t ns3::CtrlBAckRequestHeader::GetTidInfo() const [member function] - cls.add_method('GetTidInfo', - 'uint8_t', - [], - is_const=True) - ## ctrl-headers.h: static ns3::TypeId ns3::CtrlBAckRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ctrl-headers.h: bool ns3::CtrlBAckRequestHeader::IsBasic() const [member function] - cls.add_method('IsBasic', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckRequestHeader::IsCompressed() const [member function] - cls.add_method('IsCompressed', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckRequestHeader::IsMultiTid() const [member function] - cls.add_method('IsMultiTid', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckRequestHeader::MustSendHtImmediateAck() const [member function] - cls.add_method('MustSendHtImmediateAck', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::SetHtImmediateAck(bool immediateAck) [member function] - cls.add_method('SetHtImmediateAck', - 'void', - [param('bool', 'immediateAck')]) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::SetStartingSequence(uint16_t seq) [member function] - cls.add_method('SetStartingSequence', - 'void', - [param('uint16_t', 'seq')]) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::SetTidInfo(uint8_t tid) [member function] - cls.add_method('SetTidInfo', - 'void', - [param('uint8_t', 'tid')]) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::SetType(ns3::BlockAckType type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::BlockAckType', 'type')]) - return - -def register_Ns3CtrlBAckResponseHeader_methods(root_module, cls): - ## ctrl-headers.h: ns3::CtrlBAckResponseHeader::CtrlBAckResponseHeader(ns3::CtrlBAckResponseHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CtrlBAckResponseHeader const &', 'arg0')]) - ## ctrl-headers.h: ns3::CtrlBAckResponseHeader::CtrlBAckResponseHeader() [constructor] - cls.add_constructor([]) - ## ctrl-headers.h: uint32_t ns3::CtrlBAckResponseHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ctrl-headers.h: uint16_t const * ns3::CtrlBAckResponseHeader::GetBitmap() const [member function] - cls.add_method('GetBitmap', - 'uint16_t const *', - [], - is_const=True) - ## ctrl-headers.h: uint64_t ns3::CtrlBAckResponseHeader::GetCompressedBitmap() const [member function] - cls.add_method('GetCompressedBitmap', - 'uint64_t', - [], - is_const=True) - ## ctrl-headers.h: ns3::TypeId ns3::CtrlBAckResponseHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ctrl-headers.h: uint32_t ns3::CtrlBAckResponseHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ctrl-headers.h: uint16_t ns3::CtrlBAckResponseHeader::GetStartingSequence() const [member function] - cls.add_method('GetStartingSequence', - 'uint16_t', - [], - is_const=True) - ## ctrl-headers.h: uint16_t ns3::CtrlBAckResponseHeader::GetStartingSequenceControl() const [member function] - cls.add_method('GetStartingSequenceControl', - 'uint16_t', - [], - is_const=True) - ## ctrl-headers.h: uint8_t ns3::CtrlBAckResponseHeader::GetTidInfo() const [member function] - cls.add_method('GetTidInfo', - 'uint8_t', - [], - is_const=True) - ## ctrl-headers.h: static ns3::TypeId ns3::CtrlBAckResponseHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsBasic() const [member function] - cls.add_method('IsBasic', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsCompressed() const [member function] - cls.add_method('IsCompressed', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsFragmentReceived(uint16_t seq, uint8_t frag) const [member function] - cls.add_method('IsFragmentReceived', - 'bool', - [param('uint16_t', 'seq'), param('uint8_t', 'frag')], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsMultiTid() const [member function] - cls.add_method('IsMultiTid', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsPacketReceived(uint16_t seq) const [member function] - cls.add_method('IsPacketReceived', - 'bool', - [param('uint16_t', 'seq')], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::MustSendHtImmediateAck() const [member function] - cls.add_method('MustSendHtImmediateAck', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::ResetBitmap() [member function] - cls.add_method('ResetBitmap', - 'void', - []) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetHtImmediateAck(bool immeadiateAck) [member function] - cls.add_method('SetHtImmediateAck', - 'void', - [param('bool', 'immeadiateAck')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetReceivedFragment(uint16_t seq, uint8_t frag) [member function] - cls.add_method('SetReceivedFragment', - 'void', - [param('uint16_t', 'seq'), param('uint8_t', 'frag')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetReceivedPacket(uint16_t seq) [member function] - cls.add_method('SetReceivedPacket', - 'void', - [param('uint16_t', 'seq')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetStartingSequence(uint16_t seq) [member function] - cls.add_method('SetStartingSequence', - 'void', - [param('uint16_t', 'seq')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetStartingSequenceControl(uint16_t seqControl) [member function] - cls.add_method('SetStartingSequenceControl', - 'void', - [param('uint16_t', 'seqControl')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetTidInfo(uint8_t tid) [member function] - cls.add_method('SetTidInfo', - 'void', - [param('uint8_t', 'tid')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetType(ns3::BlockAckType type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::BlockAckType', 'type')]) - return - -def register_Ns3Dcf_methods(root_module, cls): - ## dcf.h: ns3::Dcf::Dcf() [constructor] - cls.add_constructor([]) - ## dcf.h: ns3::Dcf::Dcf(ns3::Dcf const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Dcf const &', 'arg0')]) - ## dcf.h: uint32_t ns3::Dcf::GetAifsn() const [member function] - cls.add_method('GetAifsn', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## dcf.h: uint32_t ns3::Dcf::GetMaxCw() const [member function] - cls.add_method('GetMaxCw', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## dcf.h: uint32_t ns3::Dcf::GetMinCw() const [member function] - cls.add_method('GetMinCw', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## dcf.h: static ns3::TypeId ns3::Dcf::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dcf.h: void ns3::Dcf::SetAifsn(uint32_t aifsn) [member function] - cls.add_method('SetAifsn', - 'void', - [param('uint32_t', 'aifsn')], - is_pure_virtual=True, is_virtual=True) - ## dcf.h: void ns3::Dcf::SetMaxCw(uint32_t maxCw) [member function] - cls.add_method('SetMaxCw', - 'void', - [param('uint32_t', 'maxCw')], - is_pure_virtual=True, is_virtual=True) - ## dcf.h: void ns3::Dcf::SetMinCw(uint32_t minCw) [member function] - cls.add_method('SetMinCw', - 'void', - [param('uint32_t', 'minCw')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3EdcaTxopN_methods(root_module, cls): - ## edca-txop-n.h: static ns3::TypeId ns3::EdcaTxopN::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## edca-txop-n.h: ns3::EdcaTxopN::EdcaTxopN() [constructor] - cls.add_constructor([]) - ## edca-txop-n.h: void ns3::EdcaTxopN::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetLow(ns3::Ptr low) [member function] - cls.add_method('SetLow', - 'void', - [param('ns3::Ptr< ns3::MacLow >', 'low')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetTxMiddle(ns3::MacTxMiddle * txMiddle) [member function] - cls.add_method('SetTxMiddle', - 'void', - [param('ns3::MacTxMiddle *', 'txMiddle')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetManager(ns3::DcfManager * manager) [member function] - cls.add_method('SetManager', - 'void', - [param('ns3::DcfManager *', 'manager')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetTxOkCallback(ns3::Callback callback) [member function] - cls.add_method('SetTxOkCallback', - 'void', - [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetTxFailedCallback(ns3::Callback callback) [member function] - cls.add_method('SetTxFailedCallback', - 'void', - [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetWifiRemoteStationManager(ns3::Ptr remoteManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'remoteManager')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetTypeOfStation(ns3::TypeOfStation type) [member function] - cls.add_method('SetTypeOfStation', - 'void', - [param('ns3::TypeOfStation', 'type')]) - ## edca-txop-n.h: ns3::TypeOfStation ns3::EdcaTxopN::GetTypeOfStation() const [member function] - cls.add_method('GetTypeOfStation', - 'ns3::TypeOfStation', - [], - is_const=True) - ## edca-txop-n.h: ns3::Ptr ns3::EdcaTxopN::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::WifiMacQueue >', - [], - is_const=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetMinCw(uint32_t minCw) [member function] - cls.add_method('SetMinCw', - 'void', - [param('uint32_t', 'minCw')], - is_virtual=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetMaxCw(uint32_t maxCw) [member function] - cls.add_method('SetMaxCw', - 'void', - [param('uint32_t', 'maxCw')], - is_virtual=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetAifsn(uint32_t aifsn) [member function] - cls.add_method('SetAifsn', - 'void', - [param('uint32_t', 'aifsn')], - is_virtual=True) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetMinCw() const [member function] - cls.add_method('GetMinCw', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetMaxCw() const [member function] - cls.add_method('GetMaxCw', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetAifsn() const [member function] - cls.add_method('GetAifsn', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## edca-txop-n.h: ns3::Ptr ns3::EdcaTxopN::Low() [member function] - cls.add_method('Low', - 'ns3::Ptr< ns3::MacLow >', - []) - ## edca-txop-n.h: ns3::Ptr ns3::EdcaTxopN::GetMsduAggregator() const [member function] - cls.add_method('GetMsduAggregator', - 'ns3::Ptr< ns3::MsduAggregator >', - [], - is_const=True) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedsAccess() const [member function] - cls.add_method('NeedsAccess', - 'bool', - [], - is_const=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::NotifyAccessGranted() [member function] - cls.add_method('NotifyAccessGranted', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::NotifyInternalCollision() [member function] - cls.add_method('NotifyInternalCollision', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::NotifyCollision() [member function] - cls.add_method('NotifyCollision', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::NotifyChannelSwitching() [member function] - cls.add_method('NotifyChannelSwitching', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotCts(double snr, ns3::WifiMode txMode) [member function] - cls.add_method('GotCts', - 'void', - [param('double', 'snr'), param('ns3::WifiMode', 'txMode')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::MissedCts() [member function] - cls.add_method('MissedCts', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotAck(double snr, ns3::WifiMode txMode) [member function] - cls.add_method('GotAck', - 'void', - [param('double', 'snr'), param('ns3::WifiMode', 'txMode')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotBlockAck(ns3::CtrlBAckResponseHeader const * blockAck, ns3::Mac48Address recipient) [member function] - cls.add_method('GotBlockAck', - 'void', - [param('ns3::CtrlBAckResponseHeader const *', 'blockAck'), param('ns3::Mac48Address', 'recipient')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::MissedBlockAck() [member function] - cls.add_method('MissedBlockAck', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotAddBaResponse(ns3::MgtAddBaResponseHeader const * respHdr, ns3::Mac48Address recipient) [member function] - cls.add_method('GotAddBaResponse', - 'void', - [param('ns3::MgtAddBaResponseHeader const *', 'respHdr'), param('ns3::Mac48Address', 'recipient')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotDelBaFrame(ns3::MgtDelBaHeader const * delBaHdr, ns3::Mac48Address recipient) [member function] - cls.add_method('GotDelBaFrame', - 'void', - [param('ns3::MgtDelBaHeader const *', 'delBaHdr'), param('ns3::Mac48Address', 'recipient')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::MissedAck() [member function] - cls.add_method('MissedAck', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::StartNext() [member function] - cls.add_method('StartNext', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::RestartAccessIfNeeded() [member function] - cls.add_method('RestartAccessIfNeeded', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::StartAccessIfNeeded() [member function] - cls.add_method('StartAccessIfNeeded', - 'void', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedRts() [member function] - cls.add_method('NeedRts', - 'bool', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedRtsRetransmission() [member function] - cls.add_method('NeedRtsRetransmission', - 'bool', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedDataRetransmission() [member function] - cls.add_method('NeedDataRetransmission', - 'bool', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedFragmentation() const [member function] - cls.add_method('NeedFragmentation', - 'bool', - [], - is_const=True) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetNextFragmentSize() [member function] - cls.add_method('GetNextFragmentSize', - 'uint32_t', - []) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetFragmentSize() [member function] - cls.add_method('GetFragmentSize', - 'uint32_t', - []) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetFragmentOffset() [member function] - cls.add_method('GetFragmentOffset', - 'uint32_t', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::IsLastFragment() const [member function] - cls.add_method('IsLastFragment', - 'bool', - [], - is_const=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::NextFragment() [member function] - cls.add_method('NextFragment', - 'void', - []) - ## edca-txop-n.h: ns3::Ptr ns3::EdcaTxopN::GetFragmentPacket(ns3::WifiMacHeader * hdr) [member function] - cls.add_method('GetFragmentPacket', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::WifiMacHeader *', 'hdr')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetAccessCategory(ns3::AcIndex ac) [member function] - cls.add_method('SetAccessCategory', - 'void', - [param('ns3::AcIndex', 'ac')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::Queue(ns3::Ptr packet, ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('Queue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetMsduAggregator(ns3::Ptr aggr) [member function] - cls.add_method('SetMsduAggregator', - 'void', - [param('ns3::Ptr< ns3::MsduAggregator >', 'aggr')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::PushFront(ns3::Ptr packet, ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('PushFront', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::CompleteConfig() [member function] - cls.add_method('CompleteConfig', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetBlockAckThreshold(uint8_t threshold) [member function] - cls.add_method('SetBlockAckThreshold', - 'void', - [param('uint8_t', 'threshold')]) - ## edca-txop-n.h: uint8_t ns3::EdcaTxopN::GetBlockAckThreshold() const [member function] - cls.add_method('GetBlockAckThreshold', - 'uint8_t', - [], - is_const=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetBlockAckInactivityTimeout(uint16_t timeout) [member function] - cls.add_method('SetBlockAckInactivityTimeout', - 'void', - [param('uint16_t', 'timeout')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SendDelbaFrame(ns3::Mac48Address addr, uint8_t tid, bool byOriginator) [member function] - cls.add_method('SendDelbaFrame', - 'void', - [param('ns3::Mac48Address', 'addr'), param('uint8_t', 'tid'), param('bool', 'byOriginator')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ErrorRateModel_methods(root_module, cls): - ## error-rate-model.h: ns3::ErrorRateModel::ErrorRateModel() [constructor] - cls.add_constructor([]) - ## error-rate-model.h: ns3::ErrorRateModel::ErrorRateModel(ns3::ErrorRateModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErrorRateModel const &', 'arg0')]) - ## error-rate-model.h: double ns3::ErrorRateModel::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function] - cls.add_method('CalculateSnr', - 'double', - [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], - is_const=True) - ## error-rate-model.h: double ns3::ErrorRateModel::GetChunkSuccessRate(ns3::WifiMode mode, double snr, uint32_t nbits) const [member function] - cls.add_method('GetChunkSuccessRate', - 'double', - [param('ns3::WifiMode', 'mode'), param('double', 'snr'), param('uint32_t', 'nbits')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## error-rate-model.h: static ns3::TypeId ns3::ErrorRateModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3ExtendedSupportedRatesIE_methods(root_module, cls): - ## supported-rates.h: ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE(ns3::ExtendedSupportedRatesIE const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ExtendedSupportedRatesIE const &', 'arg0')]) - ## supported-rates.h: ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE() [constructor] - cls.add_constructor([]) - ## supported-rates.h: ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE(ns3::SupportedRates * rates) [constructor] - cls.add_constructor([param('ns3::SupportedRates *', 'rates')]) - ## supported-rates.h: uint8_t ns3::ExtendedSupportedRatesIE::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## supported-rates.h: ns3::WifiInformationElementId ns3::ExtendedSupportedRatesIE::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## supported-rates.h: uint8_t ns3::ExtendedSupportedRatesIE::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## supported-rates.h: uint16_t ns3::ExtendedSupportedRatesIE::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint16_t', - [], - is_const=True) - ## supported-rates.h: ns3::Buffer::Iterator ns3::ExtendedSupportedRatesIE::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## supported-rates.h: void ns3::ExtendedSupportedRatesIE::SerializeInformationField(ns3::Buffer::Iterator start) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3IdealWifiManager_methods(root_module, cls): - ## ideal-wifi-manager.h: ns3::IdealWifiManager::IdealWifiManager(ns3::IdealWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IdealWifiManager const &', 'arg0')]) - ## ideal-wifi-manager.h: ns3::IdealWifiManager::IdealWifiManager() [constructor] - cls.add_constructor([]) - ## ideal-wifi-manager.h: static ns3::TypeId ns3::IdealWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::SetupPhy(ns3::Ptr phy) [member function] - cls.add_method('SetupPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_virtual=True) - ## ideal-wifi-manager.h: ns3::WifiRemoteStation * ns3::IdealWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: ns3::WifiMode ns3::IdealWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: ns3::WifiMode ns3::IdealWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: bool ns3::IdealWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3MacLow_methods(root_module, cls): - ## mac-low.h: ns3::MacLow::MacLow(ns3::MacLow const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLow const &', 'arg0')]) - ## mac-low.h: ns3::MacLow::MacLow() [constructor] - cls.add_constructor([]) - ## mac-low.h: ns3::Time ns3::MacLow::CalculateTransmissionTime(ns3::Ptr packet, ns3::WifiMacHeader const * hdr, ns3::MacLowTransmissionParameters const & parameters) const [member function] - cls.add_method('CalculateTransmissionTime', - 'ns3::Time', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr'), param('ns3::MacLowTransmissionParameters const &', 'parameters')], - is_const=True) - ## mac-low.h: void ns3::MacLow::CreateBlockAckAgreement(ns3::MgtAddBaResponseHeader const * respHdr, ns3::Mac48Address originator, uint16_t startingSeq) [member function] - cls.add_method('CreateBlockAckAgreement', - 'void', - [param('ns3::MgtAddBaResponseHeader const *', 'respHdr'), param('ns3::Mac48Address', 'originator'), param('uint16_t', 'startingSeq')]) - ## mac-low.h: void ns3::MacLow::DestroyBlockAckAgreement(ns3::Mac48Address originator, uint8_t tid) [member function] - cls.add_method('DestroyBlockAckAgreement', - 'void', - [param('ns3::Mac48Address', 'originator'), param('uint8_t', 'tid')]) - ## mac-low.h: ns3::Time ns3::MacLow::GetAckTimeout() const [member function] - cls.add_method('GetAckTimeout', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Mac48Address ns3::MacLow::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetBasicBlockAckTimeout() const [member function] - cls.add_method('GetBasicBlockAckTimeout', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Mac48Address ns3::MacLow::GetBssid() const [member function] - cls.add_method('GetBssid', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetCompressedBlockAckTimeout() const [member function] - cls.add_method('GetCompressedBlockAckTimeout', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetCtsTimeout() const [member function] - cls.add_method('GetCtsTimeout', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetPifs() const [member function] - cls.add_method('GetPifs', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetSifs() const [member function] - cls.add_method('GetSifs', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetSlotTime() const [member function] - cls.add_method('GetSlotTime', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: void ns3::MacLow::NotifySwitchingStartNow(ns3::Time duration) [member function] - cls.add_method('NotifySwitchingStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## mac-low.h: void ns3::MacLow::ReceiveError(ns3::Ptr packet, double rxSnr) [member function] - cls.add_method('ReceiveError', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'rxSnr')]) - ## mac-low.h: void ns3::MacLow::ReceiveOk(ns3::Ptr packet, double rxSnr, ns3::WifiMode txMode, ns3::WifiPreamble preamble) [member function] - cls.add_method('ReceiveOk', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode'), param('ns3::WifiPreamble', 'preamble')]) - ## mac-low.h: void ns3::MacLow::RegisterBlockAckListenerForAc(ns3::AcIndex ac, ns3::MacLowBlockAckEventListener * listener) [member function] - cls.add_method('RegisterBlockAckListenerForAc', - 'void', - [param('ns3::AcIndex', 'ac'), param('ns3::MacLowBlockAckEventListener *', 'listener')]) - ## mac-low.h: void ns3::MacLow::RegisterDcfListener(ns3::MacLowDcfListener * listener) [member function] - cls.add_method('RegisterDcfListener', - 'void', - [param('ns3::MacLowDcfListener *', 'listener')]) - ## mac-low.h: void ns3::MacLow::SetAckTimeout(ns3::Time ackTimeout) [member function] - cls.add_method('SetAckTimeout', - 'void', - [param('ns3::Time', 'ackTimeout')]) - ## mac-low.h: void ns3::MacLow::SetAddress(ns3::Mac48Address ad) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'ad')]) - ## mac-low.h: void ns3::MacLow::SetBasicBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetBasicBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')]) - ## mac-low.h: void ns3::MacLow::SetBssid(ns3::Mac48Address ad) [member function] - cls.add_method('SetBssid', - 'void', - [param('ns3::Mac48Address', 'ad')]) - ## mac-low.h: void ns3::MacLow::SetCompressedBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetCompressedBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')]) - ## mac-low.h: void ns3::MacLow::SetCtsTimeout(ns3::Time ctsTimeout) [member function] - cls.add_method('SetCtsTimeout', - 'void', - [param('ns3::Time', 'ctsTimeout')]) - ## mac-low.h: void ns3::MacLow::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')]) - ## mac-low.h: void ns3::MacLow::SetPifs(ns3::Time pifs) [member function] - cls.add_method('SetPifs', - 'void', - [param('ns3::Time', 'pifs')]) - ## mac-low.h: void ns3::MacLow::SetRxCallback(ns3::Callback, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function] - cls.add_method('SetRxCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::WifiMacHeader const *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## mac-low.h: void ns3::MacLow::SetSifs(ns3::Time sifs) [member function] - cls.add_method('SetSifs', - 'void', - [param('ns3::Time', 'sifs')]) - ## mac-low.h: void ns3::MacLow::SetSlotTime(ns3::Time slotTime) [member function] - cls.add_method('SetSlotTime', - 'void', - [param('ns3::Time', 'slotTime')]) - ## mac-low.h: void ns3::MacLow::SetWifiRemoteStationManager(ns3::Ptr manager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'manager')]) - ## mac-low.h: void ns3::MacLow::StartTransmission(ns3::Ptr packet, ns3::WifiMacHeader const * hdr, ns3::MacLowTransmissionParameters parameters, ns3::MacLowTransmissionListener * listener) [member function] - cls.add_method('StartTransmission', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr'), param('ns3::MacLowTransmissionParameters', 'parameters'), param('ns3::MacLowTransmissionListener *', 'listener')]) - ## mac-low.h: void ns3::MacLow::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3MgtBeaconHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtBeaconHeader::MgtBeaconHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: ns3::MgtBeaconHeader::MgtBeaconHeader(ns3::MgtBeaconHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtBeaconHeader const &', 'arg0')]) - return - -def register_Ns3MinstrelWifiManager_methods(root_module, cls): - ## minstrel-wifi-manager.h: ns3::MinstrelWifiManager::MinstrelWifiManager(ns3::MinstrelWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MinstrelWifiManager const &', 'arg0')]) - ## minstrel-wifi-manager.h: ns3::MinstrelWifiManager::MinstrelWifiManager() [constructor] - cls.add_constructor([]) - ## minstrel-wifi-manager.h: static ns3::TypeId ns3::MinstrelWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::SetupPhy(ns3::Ptr phy) [member function] - cls.add_method('SetupPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_virtual=True) - ## minstrel-wifi-manager.h: ns3::WifiRemoteStation * ns3::MinstrelWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: ns3::WifiMode ns3::MinstrelWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: ns3::WifiMode ns3::MinstrelWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: bool ns3::MinstrelWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3MsduAggregator_methods(root_module, cls): - ## msdu-aggregator.h: ns3::MsduAggregator::MsduAggregator() [constructor] - cls.add_constructor([]) - ## msdu-aggregator.h: ns3::MsduAggregator::MsduAggregator(ns3::MsduAggregator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MsduAggregator const &', 'arg0')]) - ## msdu-aggregator.h: bool ns3::MsduAggregator::Aggregate(ns3::Ptr packet, ns3::Ptr aggregatedPacket, ns3::Mac48Address src, ns3::Mac48Address dest) [member function] - cls.add_method('Aggregate', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Ptr< ns3::Packet >', 'aggregatedPacket'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dest')], - is_pure_virtual=True, is_virtual=True) - ## msdu-aggregator.h: static std::list, ns3::AmsduSubframeHeader>, std::allocator, ns3::AmsduSubframeHeader> > > ns3::MsduAggregator::Deaggregate(ns3::Ptr aggregatedPacket) [member function] - cls.add_method('Deaggregate', - 'std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader > >', - [param('ns3::Ptr< ns3::Packet >', 'aggregatedPacket')], - is_static=True) - ## msdu-aggregator.h: static ns3::TypeId ns3::MsduAggregator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3NistErrorRateModel_methods(root_module, cls): - ## nist-error-rate-model.h: ns3::NistErrorRateModel::NistErrorRateModel(ns3::NistErrorRateModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NistErrorRateModel const &', 'arg0')]) - ## nist-error-rate-model.h: ns3::NistErrorRateModel::NistErrorRateModel() [constructor] - cls.add_constructor([]) - ## nist-error-rate-model.h: double ns3::NistErrorRateModel::GetChunkSuccessRate(ns3::WifiMode mode, double snr, uint32_t nbits) const [member function] - cls.add_method('GetChunkSuccessRate', - 'double', - [param('ns3::WifiMode', 'mode'), param('double', 'snr'), param('uint32_t', 'nbits')], - is_const=True, is_virtual=True) - ## nist-error-rate-model.h: static ns3::TypeId ns3::NistErrorRateModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3OnoeWifiManager_methods(root_module, cls): - ## onoe-wifi-manager.h: ns3::OnoeWifiManager::OnoeWifiManager(ns3::OnoeWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnoeWifiManager const &', 'arg0')]) - ## onoe-wifi-manager.h: ns3::OnoeWifiManager::OnoeWifiManager() [constructor] - cls.add_constructor([]) - ## onoe-wifi-manager.h: static ns3::TypeId ns3::OnoeWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## onoe-wifi-manager.h: ns3::WifiRemoteStation * ns3::OnoeWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: ns3::WifiMode ns3::OnoeWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: ns3::WifiMode ns3::OnoeWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: bool ns3::OnoeWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RegularWifiMac_methods(root_module, cls): - ## regular-wifi-mac.h: static ns3::TypeId ns3::RegularWifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## regular-wifi-mac.h: ns3::RegularWifiMac::RegularWifiMac() [constructor] - cls.add_constructor([]) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetSlot(ns3::Time slotTime) [member function] - cls.add_method('SetSlot', - 'void', - [param('ns3::Time', 'slotTime')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetSifs(ns3::Time sifs) [member function] - cls.add_method('SetSifs', - 'void', - [param('ns3::Time', 'sifs')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function] - cls.add_method('SetEifsNoDifs', - 'void', - [param('ns3::Time', 'eifsNoDifs')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetPifs(ns3::Time pifs) [member function] - cls.add_method('SetPifs', - 'void', - [param('ns3::Time', 'pifs')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetCtsTimeout(ns3::Time ctsTimeout) [member function] - cls.add_method('SetCtsTimeout', - 'void', - [param('ns3::Time', 'ctsTimeout')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetAckTimeout(ns3::Time ackTimeout) [member function] - cls.add_method('SetAckTimeout', - 'void', - [param('ns3::Time', 'ackTimeout')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetPifs() const [member function] - cls.add_method('GetPifs', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetSifs() const [member function] - cls.add_method('GetSifs', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetSlot() const [member function] - cls.add_method('GetSlot', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetEifsNoDifs() const [member function] - cls.add_method('GetEifsNoDifs', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetCtsTimeout() const [member function] - cls.add_method('GetCtsTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetAckTimeout() const [member function] - cls.add_method('GetAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Mac48Address ns3::RegularWifiMac::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Ssid ns3::RegularWifiMac::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'address')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetBssid(ns3::Mac48Address bssid) [member function] - cls.add_method('SetBssid', - 'void', - [param('ns3::Mac48Address', 'bssid')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Mac48Address ns3::RegularWifiMac::GetBssid() const [member function] - cls.add_method('GetBssid', - 'ns3::Mac48Address', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')], - is_virtual=True) - ## regular-wifi-mac.h: bool ns3::RegularWifiMac::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_pure_virtual=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetWifiPhy(ns3::Ptr phy) [member function] - cls.add_method('SetWifiPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Ptr ns3::RegularWifiMac::GetWifiPhy() const [member function] - cls.add_method('GetWifiPhy', - 'ns3::Ptr< ns3::WifiPhy >', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetWifiRemoteStationManager(ns3::Ptr stationManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'stationManager')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Ptr ns3::RegularWifiMac::GetWifiRemoteStationManager() const [member function] - cls.add_method('GetWifiRemoteStationManager', - 'ns3::Ptr< ns3::WifiRemoteStationManager >', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetForwardUpCallback(ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> upCallback) [member function] - cls.add_method('SetForwardUpCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'upCallback')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetLinkDownCallback(ns3::Callback linkDown) [member function] - cls.add_method('SetLinkDownCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkDown')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetBasicBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetBasicBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetBasicBlockAckTimeout() const [member function] - cls.add_method('GetBasicBlockAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetCompressedBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetCompressedBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetCompressedBlockAckTimeout() const [member function] - cls.add_method('GetCompressedBlockAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('FinishConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetTypeOfStation(ns3::TypeOfStation type) [member function] - cls.add_method('SetTypeOfStation', - 'void', - [param('ns3::TypeOfStation', 'type')], - visibility='protected') - ## regular-wifi-mac.h: void ns3::RegularWifiMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::TxOk(ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('TxOk', - 'void', - [param('ns3::WifiMacHeader const &', 'hdr')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::TxFailed(ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('TxFailed', - 'void', - [param('ns3::WifiMacHeader const &', 'hdr')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::ForwardUp(ns3::Ptr packet, ns3::Mac48Address from, ns3::Mac48Address to) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')], - visibility='protected') - ## regular-wifi-mac.h: void ns3::RegularWifiMac::DeaggregateAmsduAndForward(ns3::Ptr aggregatedPacket, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('DeaggregateAmsduAndForward', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'aggregatedPacket'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SendAddBaResponse(ns3::MgtAddBaRequestHeader const * reqHdr, ns3::Mac48Address originator) [member function] - cls.add_method('SendAddBaResponse', - 'void', - [param('ns3::MgtAddBaRequestHeader const *', 'reqHdr'), param('ns3::Mac48Address', 'originator')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetQosSupported(bool enable) [member function] - cls.add_method('SetQosSupported', - 'void', - [param('bool', 'enable')], - visibility='protected') - ## regular-wifi-mac.h: bool ns3::RegularWifiMac::GetQosSupported() const [member function] - cls.add_method('GetQosSupported', - 'bool', - [], - is_const=True, visibility='protected') - return - -def register_Ns3RraaWifiManager_methods(root_module, cls): - ## rraa-wifi-manager.h: ns3::RraaWifiManager::RraaWifiManager(ns3::RraaWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RraaWifiManager const &', 'arg0')]) - ## rraa-wifi-manager.h: ns3::RraaWifiManager::RraaWifiManager() [constructor] - cls.add_constructor([]) - ## rraa-wifi-manager.h: static ns3::TypeId ns3::RraaWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rraa-wifi-manager.h: ns3::WifiRemoteStation * ns3::RraaWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: ns3::WifiMode ns3::RraaWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: ns3::WifiMode ns3::RraaWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: bool ns3::RraaWifiManager::DoNeedRts(ns3::WifiRemoteStation * st, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRts', - 'bool', - [param('ns3::WifiRemoteStation *', 'st'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: bool ns3::RraaWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ssid_methods(root_module, cls): - cls.add_output_stream_operator() - ## ssid.h: ns3::Ssid::Ssid(ns3::Ssid const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ssid const &', 'arg0')]) - ## ssid.h: ns3::Ssid::Ssid() [constructor] - cls.add_constructor([]) - ## ssid.h: ns3::Ssid::Ssid(std::string s) [constructor] - cls.add_constructor([param('std::string', 's')]) - ## ssid.h: ns3::Ssid::Ssid(char const * ssid, uint8_t length) [constructor] - cls.add_constructor([param('char const *', 'ssid'), param('uint8_t', 'length')]) - ## ssid.h: uint8_t ns3::Ssid::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ssid.h: ns3::WifiInformationElementId ns3::Ssid::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ssid.h: uint8_t ns3::Ssid::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ssid.h: bool ns3::Ssid::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## ssid.h: bool ns3::Ssid::IsEqual(ns3::Ssid const & o) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ssid const &', 'o')], - is_const=True) - ## ssid.h: char * ns3::Ssid::PeekString() const [member function] - cls.add_method('PeekString', - 'char *', - [], - is_const=True) - ## ssid.h: void ns3::Ssid::SerializeInformationField(ns3::Buffer::Iterator start) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3SsidChecker_methods(root_module, cls): - ## ssid.h: ns3::SsidChecker::SsidChecker() [constructor] - cls.add_constructor([]) - ## ssid.h: ns3::SsidChecker::SsidChecker(ns3::SsidChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SsidChecker const &', 'arg0')]) - return - -def register_Ns3SsidValue_methods(root_module, cls): - ## ssid.h: ns3::SsidValue::SsidValue() [constructor] - cls.add_constructor([]) - ## ssid.h: ns3::SsidValue::SsidValue(ns3::SsidValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SsidValue const &', 'arg0')]) - ## ssid.h: ns3::SsidValue::SsidValue(ns3::Ssid const & value) [constructor] - cls.add_constructor([param('ns3::Ssid const &', 'value')]) - ## ssid.h: ns3::Ptr ns3::SsidValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ssid.h: bool ns3::SsidValue::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) - ## ssid.h: ns3::Ssid ns3::SsidValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ssid', - [], - is_const=True) - ## ssid.h: std::string ns3::SsidValue::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) - ## ssid.h: void ns3::SsidValue::Set(ns3::Ssid const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ssid const &', 'value')]) - return - -def register_Ns3StaWifiMac_methods(root_module, cls): - ## sta-wifi-mac.h: static ns3::TypeId ns3::StaWifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## sta-wifi-mac.h: ns3::StaWifiMac::StaWifiMac() [constructor] - cls.add_constructor([]) - ## sta-wifi-mac.h: void ns3::StaWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - ## sta-wifi-mac.h: void ns3::StaWifiMac::SetMaxMissedBeacons(uint32_t missed) [member function] - cls.add_method('SetMaxMissedBeacons', - 'void', - [param('uint32_t', 'missed')]) - ## sta-wifi-mac.h: void ns3::StaWifiMac::SetProbeRequestTimeout(ns3::Time timeout) [member function] - cls.add_method('SetProbeRequestTimeout', - 'void', - [param('ns3::Time', 'timeout')]) - ## sta-wifi-mac.h: void ns3::StaWifiMac::SetAssocRequestTimeout(ns3::Time timeout) [member function] - cls.add_method('SetAssocRequestTimeout', - 'void', - [param('ns3::Time', 'timeout')]) - ## sta-wifi-mac.h: void ns3::StaWifiMac::StartActiveAssociation() [member function] - cls.add_method('StartActiveAssociation', - 'void', - []) - ## sta-wifi-mac.h: void ns3::StaWifiMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - return - -def register_Ns3SupportedRates_methods(root_module, cls): - cls.add_output_stream_operator() - ## supported-rates.h: ns3::SupportedRates::SupportedRates(ns3::SupportedRates const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SupportedRates const &', 'arg0')]) - ## supported-rates.h: ns3::SupportedRates::SupportedRates() [constructor] - cls.add_constructor([]) - ## supported-rates.h: void ns3::SupportedRates::AddSupportedRate(uint32_t bs) [member function] - cls.add_method('AddSupportedRate', - 'void', - [param('uint32_t', 'bs')]) - ## supported-rates.h: uint8_t ns3::SupportedRates::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## supported-rates.h: ns3::WifiInformationElementId ns3::SupportedRates::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## supported-rates.h: uint8_t ns3::SupportedRates::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## supported-rates.h: uint8_t ns3::SupportedRates::GetNRates() const [member function] - cls.add_method('GetNRates', - 'uint8_t', - [], - is_const=True) - ## supported-rates.h: uint32_t ns3::SupportedRates::GetRate(uint8_t i) const [member function] - cls.add_method('GetRate', - 'uint32_t', - [param('uint8_t', 'i')], - is_const=True) - ## supported-rates.h: bool ns3::SupportedRates::IsBasicRate(uint32_t bs) const [member function] - cls.add_method('IsBasicRate', - 'bool', - [param('uint32_t', 'bs')], - is_const=True) - ## supported-rates.h: bool ns3::SupportedRates::IsSupportedRate(uint32_t bs) const [member function] - cls.add_method('IsSupportedRate', - 'bool', - [param('uint32_t', 'bs')], - is_const=True) - ## supported-rates.h: void ns3::SupportedRates::SerializeInformationField(ns3::Buffer::Iterator start) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## supported-rates.h: void ns3::SupportedRates::SetBasicRate(uint32_t bs) [member function] - cls.add_method('SetBasicRate', - 'void', - [param('uint32_t', 'bs')]) - ## supported-rates.h: ns3::SupportedRates::extended [variable] - cls.add_instance_attribute('extended', 'ns3::ExtendedSupportedRatesIE', is_const=False) - return - -def register_Ns3WifiChannel_methods(root_module, cls): - ## wifi-channel.h: ns3::WifiChannel::WifiChannel() [constructor] - cls.add_constructor([]) - ## wifi-channel.h: ns3::WifiChannel::WifiChannel(ns3::WifiChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiChannel const &', 'arg0')]) - ## wifi-channel.h: static ns3::TypeId ns3::WifiChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3WifiModeChecker_methods(root_module, cls): - ## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker() [constructor] - cls.add_constructor([]) - ## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker(ns3::WifiModeChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiModeChecker const &', 'arg0')]) - return - -def register_Ns3WifiModeValue_methods(root_module, cls): - ## wifi-mode.h: ns3::WifiModeValue::WifiModeValue() [constructor] - cls.add_constructor([]) - ## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiModeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiModeValue const &', 'arg0')]) - ## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiMode const & value) [constructor] - cls.add_constructor([param('ns3::WifiMode const &', 'value')]) - ## wifi-mode.h: ns3::Ptr ns3::WifiModeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## wifi-mode.h: bool ns3::WifiModeValue::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) - ## wifi-mode.h: ns3::WifiMode ns3::WifiModeValue::Get() const [member function] - cls.add_method('Get', - 'ns3::WifiMode', - [], - is_const=True) - ## wifi-mode.h: std::string ns3::WifiModeValue::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) - ## wifi-mode.h: void ns3::WifiModeValue::Set(ns3::WifiMode const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::WifiMode const &', 'value')]) - return - -def register_Ns3WifiNetDevice_methods(root_module, cls): - ## wifi-net-device.h: ns3::WifiNetDevice::WifiNetDevice(ns3::WifiNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiNetDevice const &', 'arg0')]) - ## wifi-net-device.h: ns3::WifiNetDevice::WifiNetDevice() [constructor] - cls.add_constructor([]) - ## wifi-net-device.h: void ns3::WifiNetDevice::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')], - is_virtual=True) - ## wifi-net-device.h: ns3::Address ns3::WifiNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Address ns3::WifiNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: uint32_t ns3::WifiNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetMac() const [member function] - cls.add_method('GetMac', - 'ns3::Ptr< ns3::WifiMac >', - [], - is_const=True) - ## wifi-net-device.h: uint16_t ns3::WifiNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Address ns3::WifiNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Address ns3::WifiNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::WifiPhy >', - [], - is_const=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetRemoteStationManager() const [member function] - cls.add_method('GetRemoteStationManager', - 'ns3::Ptr< ns3::WifiRemoteStationManager >', - [], - is_const=True) - ## wifi-net-device.h: static ns3::TypeId ns3::WifiNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::WifiMac >', 'mac')]) - ## wifi-net-device.h: bool ns3::WifiNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')]) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetRemoteStationManager(ns3::Ptr manager) [member function] - cls.add_method('SetRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'manager')]) - ## wifi-net-device.h: bool ns3::WifiNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3YansErrorRateModel_methods(root_module, cls): - ## yans-error-rate-model.h: ns3::YansErrorRateModel::YansErrorRateModel(ns3::YansErrorRateModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::YansErrorRateModel const &', 'arg0')]) - ## yans-error-rate-model.h: ns3::YansErrorRateModel::YansErrorRateModel() [constructor] - cls.add_constructor([]) - ## yans-error-rate-model.h: double ns3::YansErrorRateModel::GetChunkSuccessRate(ns3::WifiMode mode, double snr, uint32_t nbits) const [member function] - cls.add_method('GetChunkSuccessRate', - 'double', - [param('ns3::WifiMode', 'mode'), param('double', 'snr'), param('uint32_t', 'nbits')], - is_const=True, is_virtual=True) - ## yans-error-rate-model.h: static ns3::TypeId ns3::YansErrorRateModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3YansWifiChannel_methods(root_module, cls): - ## yans-wifi-channel.h: static ns3::TypeId ns3::YansWifiChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## yans-wifi-channel.h: ns3::YansWifiChannel::YansWifiChannel() [constructor] - cls.add_constructor([]) - ## yans-wifi-channel.h: uint32_t ns3::YansWifiChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## yans-wifi-channel.h: ns3::Ptr ns3::YansWifiChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## yans-wifi-channel.h: void ns3::YansWifiChannel::Add(ns3::Ptr phy) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::YansWifiPhy >', 'phy')]) - ## yans-wifi-channel.h: void ns3::YansWifiChannel::SetPropagationLossModel(ns3::Ptr loss) [member function] - cls.add_method('SetPropagationLossModel', - 'void', - [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')]) - ## yans-wifi-channel.h: void ns3::YansWifiChannel::SetPropagationDelayModel(ns3::Ptr delay) [member function] - cls.add_method('SetPropagationDelayModel', - 'void', - [param('ns3::Ptr< ns3::PropagationDelayModel >', 'delay')]) - ## yans-wifi-channel.h: void ns3::YansWifiChannel::Send(ns3::Ptr sender, ns3::Ptr packet, double txPowerDbm, ns3::WifiMode wifiMode, ns3::WifiPreamble preamble) const [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::YansWifiPhy >', 'sender'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'txPowerDbm'), param('ns3::WifiMode', 'wifiMode'), param('ns3::WifiPreamble', 'preamble')], - is_const=True) - return - -def register_Ns3AdhocWifiMac_methods(root_module, cls): - ## adhoc-wifi-mac.h: static ns3::TypeId ns3::AdhocWifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## adhoc-wifi-mac.h: ns3::AdhocWifiMac::AdhocWifiMac() [constructor] - cls.add_constructor([]) - ## adhoc-wifi-mac.h: void ns3::AdhocWifiMac::SetAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'address')], - is_virtual=True) - ## adhoc-wifi-mac.h: void ns3::AdhocWifiMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_virtual=True) - ## adhoc-wifi-mac.h: void ns3::AdhocWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - ## adhoc-wifi-mac.h: void ns3::AdhocWifiMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - return - -def register_Ns3ApWifiMac_methods(root_module, cls): - ## ap-wifi-mac.h: static ns3::TypeId ns3::ApWifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ap-wifi-mac.h: ns3::ApWifiMac::ApWifiMac() [constructor] - cls.add_constructor([]) - ## ap-wifi-mac.h: void ns3::ApWifiMac::SetWifiRemoteStationManager(ns3::Ptr stationManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'stationManager')], - is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')], - is_virtual=True) - ## ap-wifi-mac.h: bool ns3::ApWifiMac::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::SetAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'address')], - is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::SetBeaconInterval(ns3::Time interval) [member function] - cls.add_method('SetBeaconInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## ap-wifi-mac.h: ns3::Time ns3::ApWifiMac::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'ns3::Time', - [], - is_const=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::StartBeaconing() [member function] - cls.add_method('StartBeaconing', - 'void', - []) - ## ap-wifi-mac.h: void ns3::ApWifiMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::TxOk(ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('TxOk', - 'void', - [param('ns3::WifiMacHeader const &', 'hdr')], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::TxFailed(ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('TxFailed', - 'void', - [param('ns3::WifiMacHeader const &', 'hdr')], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::DeaggregateAmsduAndForward(ns3::Ptr aggregatedPacket, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('DeaggregateAmsduAndForward', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'aggregatedPacket'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3DcaTxop_methods(root_module, cls): - ## dca-txop.h: static ns3::TypeId ns3::DcaTxop::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dca-txop.h: ns3::DcaTxop::DcaTxop() [constructor] - cls.add_constructor([]) - ## dca-txop.h: void ns3::DcaTxop::SetLow(ns3::Ptr low) [member function] - cls.add_method('SetLow', - 'void', - [param('ns3::Ptr< ns3::MacLow >', 'low')]) - ## dca-txop.h: void ns3::DcaTxop::SetManager(ns3::DcfManager * manager) [member function] - cls.add_method('SetManager', - 'void', - [param('ns3::DcfManager *', 'manager')]) - ## dca-txop.h: void ns3::DcaTxop::SetWifiRemoteStationManager(ns3::Ptr remoteManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'remoteManager')]) - ## dca-txop.h: void ns3::DcaTxop::SetTxOkCallback(ns3::Callback callback) [member function] - cls.add_method('SetTxOkCallback', - 'void', - [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## dca-txop.h: void ns3::DcaTxop::SetTxFailedCallback(ns3::Callback callback) [member function] - cls.add_method('SetTxFailedCallback', - 'void', - [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## dca-txop.h: ns3::Ptr ns3::DcaTxop::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::WifiMacQueue >', - [], - is_const=True) - ## dca-txop.h: void ns3::DcaTxop::SetMinCw(uint32_t minCw) [member function] - cls.add_method('SetMinCw', - 'void', - [param('uint32_t', 'minCw')], - is_virtual=True) - ## dca-txop.h: void ns3::DcaTxop::SetMaxCw(uint32_t maxCw) [member function] - cls.add_method('SetMaxCw', - 'void', - [param('uint32_t', 'maxCw')], - is_virtual=True) - ## dca-txop.h: void ns3::DcaTxop::SetAifsn(uint32_t aifsn) [member function] - cls.add_method('SetAifsn', - 'void', - [param('uint32_t', 'aifsn')], - is_virtual=True) - ## dca-txop.h: uint32_t ns3::DcaTxop::GetMinCw() const [member function] - cls.add_method('GetMinCw', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dca-txop.h: uint32_t ns3::DcaTxop::GetMaxCw() const [member function] - cls.add_method('GetMaxCw', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dca-txop.h: uint32_t ns3::DcaTxop::GetAifsn() const [member function] - cls.add_method('GetAifsn', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dca-txop.h: void ns3::DcaTxop::Queue(ns3::Ptr packet, ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('Queue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr')]) - ## dca-txop.h: void ns3::DcaTxop::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - ## dca-txop.h: void ns3::DcaTxop::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## ssid.h: extern ns3::Ptr ns3::MakeSsidChecker() [free function] - module.add_function('MakeSsidChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## wifi-mode.h: extern ns3::Ptr ns3::MakeWifiModeChecker() [free function] - module.add_function('MakeWifiModeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## qos-utils.h: extern uint8_t ns3::QosUtilsGetTidForPacket(ns3::Ptr packet) [free function] - module.add_function('QosUtilsGetTidForPacket', - 'uint8_t', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## qos-utils.h: extern bool ns3::QosUtilsIsOldPacket(uint16_t startingSeq, uint16_t seqNumber) [free function] - module.add_function('QosUtilsIsOldPacket', - 'bool', - [param('uint16_t', 'startingSeq'), param('uint16_t', 'seqNumber')]) - ## qos-utils.h: extern uint32_t ns3::QosUtilsMapSeqControlToUniqueInteger(uint16_t seqControl, uint16_t endSequence) [free function] - module.add_function('QosUtilsMapSeqControlToUniqueInteger', - 'uint32_t', - [param('uint16_t', 'seqControl'), param('uint16_t', 'endSequence')]) - ## qos-utils.h: extern ns3::AcIndex ns3::QosUtilsMapTidToAc(uint8_t tid) [free function] - module.add_function('QosUtilsMapTidToAc', - 'ns3::AcIndex', - [param('uint8_t', 'tid')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3_module_wimax.py b/bindings/python/apidefs/gcc-ILP32/ns3_module_wimax.py deleted file mode 100644 index 9cfd4dd10..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3_module_wimax.py +++ /dev/null @@ -1,6728 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## ul-job.h: ns3::ReqType [enumeration] - module.add_enum('ReqType', ['DATA', 'UNICAST_POLLING']) - ## cid.h: ns3::Cid [class] - module.add_class('Cid') - ## cid.h: ns3::Cid::Type [enumeration] - module.add_enum('Type', ['BROADCAST', 'INITIAL_RANGING', 'BASIC', 'PRIMARY', 'TRANSPORT', 'MULTICAST', 'PADDING'], outer_class=root_module['ns3::Cid']) - ## cid-factory.h: ns3::CidFactory [class] - module.add_class('CidFactory') - ## cs-parameters.h: ns3::CsParameters [class] - module.add_class('CsParameters') - ## cs-parameters.h: ns3::CsParameters::Action [enumeration] - module.add_enum('Action', ['ADD', 'REPLACE', 'DELETE'], outer_class=root_module['ns3::CsParameters']) - ## dl-mac-messages.h: ns3::DcdChannelEncodings [class] - module.add_class('DcdChannelEncodings', allow_subclassing=True) - ## ofdm-downlink-frame-prefix.h: ns3::DlFramePrefixIe [class] - module.add_class('DlFramePrefixIe') - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord [class] - module.add_class('IpcsClassifierRecord') - ## dl-mac-messages.h: ns3::OfdmDcdChannelEncodings [class] - module.add_class('OfdmDcdChannelEncodings', parent=root_module['ns3::DcdChannelEncodings']) - ## dl-mac-messages.h: ns3::OfdmDlBurstProfile [class] - module.add_class('OfdmDlBurstProfile') - ## dl-mac-messages.h: ns3::OfdmDlBurstProfile::Diuc [enumeration] - module.add_enum('Diuc', ['DIUC_STC_ZONE', 'DIUC_BURST_PROFILE_1', 'DIUC_BURST_PROFILE_2', 'DIUC_BURST_PROFILE_3', 'DIUC_BURST_PROFILE_4', 'DIUC_BURST_PROFILE_5', 'DIUC_BURST_PROFILE_6', 'DIUC_BURST_PROFILE_7', 'DIUC_BURST_PROFILE_8', 'DIUC_BURST_PROFILE_9', 'DIUC_BURST_PROFILE_10', 'DIUC_BURST_PROFILE_11', 'DIUC_GAP', 'DIUC_END_OF_MAP'], outer_class=root_module['ns3::OfdmDlBurstProfile']) - ## dl-mac-messages.h: ns3::OfdmDlMapIe [class] - module.add_class('OfdmDlMapIe') - ## ul-mac-messages.h: ns3::OfdmUlBurstProfile [class] - module.add_class('OfdmUlBurstProfile') - ## ul-mac-messages.h: ns3::OfdmUlBurstProfile::Uiuc [enumeration] - module.add_enum('Uiuc', ['UIUC_INITIAL_RANGING', 'UIUC_REQ_REGION_FULL', 'UIUC_REQ_REGION_FOCUSED', 'UIUC_FOCUSED_CONTENTION_IE', 'UIUC_BURST_PROFILE_5', 'UIUC_BURST_PROFILE_6', 'UIUC_BURST_PROFILE_7', 'UIUC_BURST_PROFILE_8', 'UIUC_BURST_PROFILE_9', 'UIUC_BURST_PROFILE_10', 'UIUC_BURST_PROFILE_11', 'UIUC_BURST_PROFILE_12', 'UIUC_SUBCH_NETWORK_ENTRY', 'UIUC_END_OF_MAP'], outer_class=root_module['ns3::OfdmUlBurstProfile']) - ## ul-mac-messages.h: ns3::OfdmUlMapIe [class] - module.add_class('OfdmUlMapIe') - ## snr-to-block-error-rate-manager.h: ns3::SNRToBlockErrorRateManager [class] - module.add_class('SNRToBlockErrorRateManager') - ## snr-to-block-error-rate-record.h: ns3::SNRToBlockErrorRateRecord [class] - module.add_class('SNRToBlockErrorRateRecord') - ## ss-record.h: ns3::SSRecord [class] - module.add_class('SSRecord') - ## send-params.h: ns3::SendParams [class] - module.add_class('SendParams') - ## service-flow.h: ns3::ServiceFlow [class] - module.add_class('ServiceFlow') - ## service-flow.h: ns3::ServiceFlow::Direction [enumeration] - module.add_enum('Direction', ['SF_DIRECTION_DOWN', 'SF_DIRECTION_UP'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow.h: ns3::ServiceFlow::Type [enumeration] - module.add_enum('Type', ['SF_TYPE_PROVISIONED', 'SF_TYPE_ADMITTED', 'SF_TYPE_ACTIVE'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow.h: ns3::ServiceFlow::SchedulingType [enumeration] - module.add_enum('SchedulingType', ['SF_TYPE_NONE', 'SF_TYPE_UNDEF', 'SF_TYPE_BE', 'SF_TYPE_NRTPS', 'SF_TYPE_RTPS', 'SF_TYPE_UGS', 'SF_TYPE_ALL'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow.h: ns3::ServiceFlow::CsSpecification [enumeration] - module.add_enum('CsSpecification', ['ATM', 'IPV4', 'IPV6', 'ETHERNET', 'VLAN', 'IPV4_OVER_ETHERNET', 'IPV6_OVER_ETHERNET', 'IPV4_OVER_VLAN', 'IPV6_OVER_VLAN'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow.h: ns3::ServiceFlow::ModulationType [enumeration] - module.add_enum('ModulationType', ['MODULATION_TYPE_BPSK_12', 'MODULATION_TYPE_QPSK_12', 'MODULATION_TYPE_QPSK_34', 'MODULATION_TYPE_QAM16_12', 'MODULATION_TYPE_QAM16_34', 'MODULATION_TYPE_QAM64_23', 'MODULATION_TYPE_QAM64_34'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow-record.h: ns3::ServiceFlowRecord [class] - module.add_class('ServiceFlowRecord') - ## wimax-tlv.h: ns3::TlvValue [class] - module.add_class('TlvValue', allow_subclassing=True) - ## wimax-tlv.h: ns3::TosTlvValue [class] - module.add_class('TosTlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::U16TlvValue [class] - module.add_class('U16TlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::U32TlvValue [class] - module.add_class('U32TlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::U8TlvValue [class] - module.add_class('U8TlvValue', parent=root_module['ns3::TlvValue']) - ## ul-mac-messages.h: ns3::UcdChannelEncodings [class] - module.add_class('UcdChannelEncodings', allow_subclassing=True) - ## wimax-tlv.h: ns3::VectorTlvValue [class] - module.add_class('VectorTlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-helper.h: ns3::WimaxHelper [class] - module.add_class('WimaxHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## wimax-helper.h: ns3::WimaxHelper::NetDeviceType [enumeration] - module.add_enum('NetDeviceType', ['DEVICE_TYPE_SUBSCRIBER_STATION', 'DEVICE_TYPE_BASE_STATION'], outer_class=root_module['ns3::WimaxHelper']) - ## wimax-helper.h: ns3::WimaxHelper::PhyType [enumeration] - module.add_enum('PhyType', ['SIMPLE_PHY_TYPE_OFDM'], outer_class=root_module['ns3::WimaxHelper']) - ## wimax-helper.h: ns3::WimaxHelper::SchedulerType [enumeration] - module.add_enum('SchedulerType', ['SCHED_TYPE_SIMPLE', 'SCHED_TYPE_RTPS', 'SCHED_TYPE_MBQOS'], outer_class=root_module['ns3::WimaxHelper']) - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam [class] - module.add_class('simpleOfdmSendParam') - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue [class] - module.add_class('ClassificationRuleVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue::ClassificationRuleTlvType [enumeration] - module.add_enum('ClassificationRuleTlvType', ['Priority', 'ToS', 'Protocol', 'IP_src', 'IP_dst', 'Port_src', 'Port_dst', 'Index'], outer_class=root_module['ns3::ClassificationRuleVectorTlvValue']) - ## wimax-tlv.h: ns3::CsParamVectorTlvValue [class] - module.add_class('CsParamVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) - ## wimax-tlv.h: ns3::CsParamVectorTlvValue::Type [enumeration] - module.add_enum('Type', ['Classifier_DSC_Action', 'Packet_Classification_Rule'], outer_class=root_module['ns3::CsParamVectorTlvValue']) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue [class] - module.add_class('Ipv4AddressTlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr [struct] - module.add_class('ipv4Addr', outer_class=root_module['ns3::Ipv4AddressTlvValue']) - ## wimax-mac-header.h: ns3::MacHeaderType [class] - module.add_class('MacHeaderType', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::MacHeaderType::HeaderType [enumeration] - module.add_enum('HeaderType', ['HEADER_TYPE_GENERIC', 'HEADER_TYPE_BANDWIDTH'], outer_class=root_module['ns3::MacHeaderType']) - ## mac-messages.h: ns3::ManagementMessageType [class] - module.add_class('ManagementMessageType', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::ManagementMessageType::MessageType [enumeration] - module.add_enum('MessageType', ['MESSAGE_TYPE_UCD', 'MESSAGE_TYPE_DCD', 'MESSAGE_TYPE_DL_MAP', 'MESSAGE_TYPE_UL_MAP', 'MESSAGE_TYPE_RNG_REQ', 'MESSAGE_TYPE_RNG_RSP', 'MESSAGE_TYPE_REG_REQ', 'MESSAGE_TYPE_REG_RSP', 'MESSAGE_TYPE_DSA_REQ', 'MESSAGE_TYPE_DSA_RSP', 'MESSAGE_TYPE_DSA_ACK'], outer_class=root_module['ns3::ManagementMessageType']) - ## ofdm-downlink-frame-prefix.h: ns3::OfdmDownlinkFramePrefix [class] - module.add_class('OfdmDownlinkFramePrefix', parent=root_module['ns3::Header']) - ## send-params.h: ns3::OfdmSendParams [class] - module.add_class('OfdmSendParams', parent=root_module['ns3::SendParams']) - ## ul-mac-messages.h: ns3::OfdmUcdChannelEncodings [class] - module.add_class('OfdmUcdChannelEncodings', parent=root_module['ns3::UcdChannelEncodings']) - ## wimax-tlv.h: ns3::PortRangeTlvValue [class] - module.add_class('PortRangeTlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange [struct] - module.add_class('PortRange', outer_class=root_module['ns3::PortRangeTlvValue']) - ## ul-job.h: ns3::PriorityUlJob [class] - module.add_class('PriorityUlJob', parent=root_module['ns3::Object']) - ## wimax-tlv.h: ns3::ProtocolTlvValue [class] - module.add_class('ProtocolTlvValue', parent=root_module['ns3::TlvValue']) - ## mac-messages.h: ns3::RngReq [class] - module.add_class('RngReq', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::RngRsp [class] - module.add_class('RngRsp', parent=root_module['ns3::Header']) - ## ss-manager.h: ns3::SSManager [class] - module.add_class('SSManager', parent=root_module['ns3::Object']) - ## service-flow-manager.h: ns3::ServiceFlowManager [class] - module.add_class('ServiceFlowManager', parent=root_module['ns3::Object']) - ## service-flow-manager.h: ns3::ServiceFlowManager::ConfirmationCode [enumeration] - module.add_enum('ConfirmationCode', ['CONFIRMATION_CODE_SUCCESS', 'CONFIRMATION_CODE_REJECT'], outer_class=root_module['ns3::ServiceFlowManager']) - ## wimax-tlv.h: ns3::SfVectorTlvValue [class] - module.add_class('SfVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) - ## wimax-tlv.h: ns3::SfVectorTlvValue::Type [enumeration] - module.add_enum('Type', ['SFID', 'CID', 'Service_Class_Name', 'reserved1', 'QoS_Parameter_Set_Type', 'Traffic_Priority', 'Maximum_Sustained_Traffic_Rate', 'Maximum_Traffic_Burst', 'Minimum_Reserved_Traffic_Rate', 'Minimum_Tolerable_Traffic_Rate', 'Service_Flow_Scheduling_Type', 'Request_Transmission_Policy', 'Tolerated_Jitter', 'Maximum_Latency', 'Fixed_length_versus_Variable_length_SDU_Indicator', 'SDU_Size', 'Target_SAID', 'ARQ_Enable', 'ARQ_WINDOW_SIZE', 'ARQ_RETRY_TIMEOUT_Transmitter_Delay', 'ARQ_RETRY_TIMEOUT_Receiver_Delay', 'ARQ_BLOCK_LIFETIME', 'ARQ_SYNC_LOSS', 'ARQ_DELIVER_IN_ORDER', 'ARQ_PURGE_TIMEOUT', 'ARQ_BLOCK_SIZE', 'reserved2', 'CS_Specification', 'IPV4_CS_Parameters'], outer_class=root_module['ns3::SfVectorTlvValue']) - ## ss-service-flow-manager.h: ns3::SsServiceFlowManager [class] - module.add_class('SsServiceFlowManager', parent=root_module['ns3::ServiceFlowManager']) - ## ss-service-flow-manager.h: ns3::SsServiceFlowManager::ConfirmationCode [enumeration] - module.add_enum('ConfirmationCode', ['CONFIRMATION_CODE_SUCCESS', 'CONFIRMATION_CODE_REJECT'], outer_class=root_module['ns3::SsServiceFlowManager']) - ## wimax-tlv.h: ns3::Tlv [class] - module.add_class('Tlv', parent=root_module['ns3::Header']) - ## wimax-tlv.h: ns3::Tlv::CommonTypes [enumeration] - module.add_enum('CommonTypes', ['HMAC_TUPLE', 'MAC_VERSION_ENCODING', 'CURRENT_TRANSMIT_POWER', 'DOWNLINK_SERVICE_FLOW', 'UPLINK_SERVICE_FLOW', 'VENDOR_ID_EMCODING', 'VENDOR_SPECIFIC_INFORMATION'], outer_class=root_module['ns3::Tlv']) - ## ul-mac-messages.h: ns3::Ucd [class] - module.add_class('Ucd', parent=root_module['ns3::Header']) - ## ul-job.h: ns3::UlJob [class] - module.add_class('UlJob', parent=root_module['ns3::Object']) - ## ul-job.h: ns3::UlJob::JobPriority [enumeration] - module.add_enum('JobPriority', ['LOW', 'INTERMEDIATE', 'HIGH'], outer_class=root_module['ns3::UlJob']) - ## ul-mac-messages.h: ns3::UlMap [class] - module.add_class('UlMap', parent=root_module['ns3::Header']) - ## bs-uplink-scheduler.h: ns3::UplinkScheduler [class] - module.add_class('UplinkScheduler', parent=root_module['ns3::Object']) - ## bs-uplink-scheduler-mbqos.h: ns3::UplinkSchedulerMBQoS [class] - module.add_class('UplinkSchedulerMBQoS', parent=root_module['ns3::UplinkScheduler']) - ## bs-uplink-scheduler-rtps.h: ns3::UplinkSchedulerRtps [class] - module.add_class('UplinkSchedulerRtps', parent=root_module['ns3::UplinkScheduler']) - ## bs-uplink-scheduler-simple.h: ns3::UplinkSchedulerSimple [class] - module.add_class('UplinkSchedulerSimple', parent=root_module['ns3::UplinkScheduler']) - ## wimax-connection.h: ns3::WimaxConnection [class] - module.add_class('WimaxConnection', parent=root_module['ns3::Object']) - ## wimax-mac-queue.h: ns3::WimaxMacQueue [class] - module.add_class('WimaxMacQueue', parent=root_module['ns3::Object']) - ## wimax-mac-to-mac-header.h: ns3::WimaxMacToMacHeader [class] - module.add_class('WimaxMacToMacHeader', parent=root_module['ns3::Header']) - ## wimax-phy.h: ns3::WimaxPhy [class] - module.add_class('WimaxPhy', parent=root_module['ns3::Object']) - ## wimax-phy.h: ns3::WimaxPhy::ModulationType [enumeration] - module.add_enum('ModulationType', ['MODULATION_TYPE_BPSK_12', 'MODULATION_TYPE_QPSK_12', 'MODULATION_TYPE_QPSK_34', 'MODULATION_TYPE_QAM16_12', 'MODULATION_TYPE_QAM16_34', 'MODULATION_TYPE_QAM64_23', 'MODULATION_TYPE_QAM64_34'], outer_class=root_module['ns3::WimaxPhy']) - ## wimax-phy.h: ns3::WimaxPhy::PhyState [enumeration] - module.add_enum('PhyState', ['PHY_STATE_IDLE', 'PHY_STATE_SCANNING', 'PHY_STATE_TX', 'PHY_STATE_RX'], outer_class=root_module['ns3::WimaxPhy']) - ## wimax-phy.h: ns3::WimaxPhy::PhyType [enumeration] - module.add_enum('PhyType', ['SimpleWimaxPhy', 'simpleOfdmWimaxPhy'], outer_class=root_module['ns3::WimaxPhy']) - ## bs-scheduler.h: ns3::BSScheduler [class] - module.add_class('BSScheduler', parent=root_module['ns3::Object']) - ## bs-scheduler-rtps.h: ns3::BSSchedulerRtps [class] - module.add_class('BSSchedulerRtps', parent=root_module['ns3::BSScheduler']) - ## bs-scheduler-simple.h: ns3::BSSchedulerSimple [class] - module.add_class('BSSchedulerSimple', parent=root_module['ns3::BSScheduler']) - ## wimax-mac-header.h: ns3::BandwidthRequestHeader [class] - module.add_class('BandwidthRequestHeader', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::BandwidthRequestHeader::HeaderType [enumeration] - module.add_enum('HeaderType', ['HEADER_TYPE_INCREMENTAL', 'HEADER_TYPE_AGGREGATE'], outer_class=root_module['ns3::BandwidthRequestHeader']) - ## bs-service-flow-manager.h: ns3::BsServiceFlowManager [class] - module.add_class('BsServiceFlowManager', parent=root_module['ns3::ServiceFlowManager']) - ## bs-service-flow-manager.h: ns3::BsServiceFlowManager::ConfirmationCode [enumeration] - module.add_enum('ConfirmationCode', ['CONFIRMATION_CODE_SUCCESS', 'CONFIRMATION_CODE_REJECT'], outer_class=root_module['ns3::BsServiceFlowManager']) - ## connection-manager.h: ns3::ConnectionManager [class] - module.add_class('ConnectionManager', parent=root_module['ns3::Object']) - ## dl-mac-messages.h: ns3::Dcd [class] - module.add_class('Dcd', parent=root_module['ns3::Header']) - ## dl-mac-messages.h: ns3::DlMap [class] - module.add_class('DlMap', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::DsaAck [class] - module.add_class('DsaAck', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::DsaReq [class] - module.add_class('DsaReq', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::DsaRsp [class] - module.add_class('DsaRsp', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::FragmentationSubheader [class] - module.add_class('FragmentationSubheader', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::GenericMacHeader [class] - module.add_class('GenericMacHeader', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::GrantManagementSubheader [class] - module.add_class('GrantManagementSubheader', parent=root_module['ns3::Header']) - ## ipcs-classifier.h: ns3::IpcsClassifier [class] - module.add_class('IpcsClassifier', parent=root_module['ns3::Object']) - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy [class] - module.add_class('SimpleOfdmWimaxPhy', parent=root_module['ns3::WimaxPhy']) - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy::FrameDurationCode [enumeration] - module.add_enum('FrameDurationCode', ['FRAME_DURATION_2_POINT_5_MS', 'FRAME_DURATION_4_MS', 'FRAME_DURATION_5_MS', 'FRAME_DURATION_8_MS', 'FRAME_DURATION_10_MS', 'FRAME_DURATION_12_POINT_5_MS', 'FRAME_DURATION_20_MS'], outer_class=root_module['ns3::SimpleOfdmWimaxPhy']) - ## wimax-channel.h: ns3::WimaxChannel [class] - module.add_class('WimaxChannel', parent=root_module['ns3::Channel']) - ## wimax-net-device.h: ns3::WimaxNetDevice [class] - module.add_class('WimaxNetDevice', parent=root_module['ns3::NetDevice']) - ## wimax-net-device.h: ns3::WimaxNetDevice::Direction [enumeration] - module.add_enum('Direction', ['DIRECTION_DOWNLINK', 'DIRECTION_UPLINK'], outer_class=root_module['ns3::WimaxNetDevice']) - ## wimax-net-device.h: ns3::WimaxNetDevice::RangingStatus [enumeration] - module.add_enum('RangingStatus', ['RANGING_STATUS_EXPIRED', 'RANGING_STATUS_CONTINUE', 'RANGING_STATUS_ABORT', 'RANGING_STATUS_SUCCESS'], outer_class=root_module['ns3::WimaxNetDevice']) - ## bs-net-device.h: ns3::BaseStationNetDevice [class] - module.add_class('BaseStationNetDevice', parent=root_module['ns3::WimaxNetDevice']) - ## bs-net-device.h: ns3::BaseStationNetDevice::State [enumeration] - module.add_enum('State', ['BS_STATE_DL_SUB_FRAME', 'BS_STATE_UL_SUB_FRAME', 'BS_STATE_TTG', 'BS_STATE_RTG'], outer_class=root_module['ns3::BaseStationNetDevice']) - ## bs-net-device.h: ns3::BaseStationNetDevice::MacPreamble [enumeration] - module.add_enum('MacPreamble', ['SHORT_PREAMBLE', 'LONG_PREAMBLE'], outer_class=root_module['ns3::BaseStationNetDevice']) - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel [class] - module.add_class('SimpleOfdmWimaxChannel', parent=root_module['ns3::WimaxChannel']) - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel::PropModel [enumeration] - module.add_enum('PropModel', ['RANDOM_PROPAGATION', 'FRIIS_PROPAGATION', 'LOG_DISTANCE_PROPAGATION', 'COST231_PROPAGATION'], outer_class=root_module['ns3::SimpleOfdmWimaxChannel']) - ## ss-net-device.h: ns3::SubscriberStationNetDevice [class] - module.add_class('SubscriberStationNetDevice', parent=root_module['ns3::WimaxNetDevice']) - ## ss-net-device.h: ns3::SubscriberStationNetDevice::State [enumeration] - module.add_enum('State', ['SS_STATE_IDLE', 'SS_STATE_SCANNING', 'SS_STATE_SYNCHRONIZING', 'SS_STATE_ACQUIRING_PARAMETERS', 'SS_STATE_WAITING_REG_RANG_INTRVL', 'SS_STATE_WAITING_INV_RANG_INTRVL', 'SS_STATE_WAITING_RNG_RSP', 'SS_STATE_ADJUSTING_PARAMETERS', 'SS_STATE_REGISTERED', 'SS_STATE_TRANSMITTING', 'SS_STATE_STOPPED'], outer_class=root_module['ns3::SubscriberStationNetDevice']) - ## ss-net-device.h: ns3::SubscriberStationNetDevice::EventType [enumeration] - module.add_enum('EventType', ['EVENT_NONE', 'EVENT_WAIT_FOR_RNG_RSP', 'EVENT_DL_MAP_SYNC_TIMEOUT', 'EVENT_LOST_DL_MAP', 'EVENT_LOST_UL_MAP', 'EVENT_DCD_WAIT_TIMEOUT', 'EVENT_UCD_WAIT_TIMEOUT', 'EVENT_RANG_OPP_WAIT_TIMEOUT'], outer_class=root_module['ns3::SubscriberStationNetDevice']) - module.add_container('std::vector< ns3::DlFramePrefixIe >', 'ns3::DlFramePrefixIe', container_type='vector') - module.add_container('std::vector< ns3::OfdmUlBurstProfile >', 'ns3::OfdmUlBurstProfile', container_type='vector') - module.add_container('std::list< ns3::OfdmUlMapIe >', 'ns3::OfdmUlMapIe', container_type='list') - module.add_container('std::deque< ns3::WimaxMacQueue::QueueElement >', 'ns3::WimaxMacQueue::QueueElement', container_type='dequeue') - module.add_container('std::vector< ns3::OfdmDlBurstProfile >', 'ns3::OfdmDlBurstProfile', container_type='vector') - module.add_container('std::list< ns3::OfdmDlMapIe >', 'ns3::OfdmDlMapIe', container_type='list') - typehandlers.add_type_alias('std::vector< bool, std::allocator< bool > >', 'ns3::bvec') - typehandlers.add_type_alias('std::vector< bool, std::allocator< bool > >*', 'ns3::bvec*') - typehandlers.add_type_alias('std::vector< bool, std::allocator< bool > >&', 'ns3::bvec&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Cid_methods(root_module, root_module['ns3::Cid']) - register_Ns3CidFactory_methods(root_module, root_module['ns3::CidFactory']) - register_Ns3CsParameters_methods(root_module, root_module['ns3::CsParameters']) - register_Ns3DcdChannelEncodings_methods(root_module, root_module['ns3::DcdChannelEncodings']) - register_Ns3DlFramePrefixIe_methods(root_module, root_module['ns3::DlFramePrefixIe']) - register_Ns3IpcsClassifierRecord_methods(root_module, root_module['ns3::IpcsClassifierRecord']) - register_Ns3OfdmDcdChannelEncodings_methods(root_module, root_module['ns3::OfdmDcdChannelEncodings']) - register_Ns3OfdmDlBurstProfile_methods(root_module, root_module['ns3::OfdmDlBurstProfile']) - register_Ns3OfdmDlMapIe_methods(root_module, root_module['ns3::OfdmDlMapIe']) - register_Ns3OfdmUlBurstProfile_methods(root_module, root_module['ns3::OfdmUlBurstProfile']) - register_Ns3OfdmUlMapIe_methods(root_module, root_module['ns3::OfdmUlMapIe']) - register_Ns3SNRToBlockErrorRateManager_methods(root_module, root_module['ns3::SNRToBlockErrorRateManager']) - register_Ns3SNRToBlockErrorRateRecord_methods(root_module, root_module['ns3::SNRToBlockErrorRateRecord']) - register_Ns3SSRecord_methods(root_module, root_module['ns3::SSRecord']) - register_Ns3SendParams_methods(root_module, root_module['ns3::SendParams']) - register_Ns3ServiceFlow_methods(root_module, root_module['ns3::ServiceFlow']) - register_Ns3ServiceFlowRecord_methods(root_module, root_module['ns3::ServiceFlowRecord']) - register_Ns3TlvValue_methods(root_module, root_module['ns3::TlvValue']) - register_Ns3TosTlvValue_methods(root_module, root_module['ns3::TosTlvValue']) - register_Ns3U16TlvValue_methods(root_module, root_module['ns3::U16TlvValue']) - register_Ns3U32TlvValue_methods(root_module, root_module['ns3::U32TlvValue']) - register_Ns3U8TlvValue_methods(root_module, root_module['ns3::U8TlvValue']) - register_Ns3UcdChannelEncodings_methods(root_module, root_module['ns3::UcdChannelEncodings']) - register_Ns3VectorTlvValue_methods(root_module, root_module['ns3::VectorTlvValue']) - register_Ns3WimaxHelper_methods(root_module, root_module['ns3::WimaxHelper']) - register_Ns3SimpleOfdmSendParam_methods(root_module, root_module['ns3::simpleOfdmSendParam']) - register_Ns3ClassificationRuleVectorTlvValue_methods(root_module, root_module['ns3::ClassificationRuleVectorTlvValue']) - register_Ns3CsParamVectorTlvValue_methods(root_module, root_module['ns3::CsParamVectorTlvValue']) - register_Ns3Ipv4AddressTlvValue_methods(root_module, root_module['ns3::Ipv4AddressTlvValue']) - register_Ns3Ipv4AddressTlvValueIpv4Addr_methods(root_module, root_module['ns3::Ipv4AddressTlvValue::ipv4Addr']) - register_Ns3MacHeaderType_methods(root_module, root_module['ns3::MacHeaderType']) - register_Ns3ManagementMessageType_methods(root_module, root_module['ns3::ManagementMessageType']) - register_Ns3OfdmDownlinkFramePrefix_methods(root_module, root_module['ns3::OfdmDownlinkFramePrefix']) - register_Ns3OfdmSendParams_methods(root_module, root_module['ns3::OfdmSendParams']) - register_Ns3OfdmUcdChannelEncodings_methods(root_module, root_module['ns3::OfdmUcdChannelEncodings']) - register_Ns3PortRangeTlvValue_methods(root_module, root_module['ns3::PortRangeTlvValue']) - register_Ns3PortRangeTlvValuePortRange_methods(root_module, root_module['ns3::PortRangeTlvValue::PortRange']) - register_Ns3PriorityUlJob_methods(root_module, root_module['ns3::PriorityUlJob']) - register_Ns3ProtocolTlvValue_methods(root_module, root_module['ns3::ProtocolTlvValue']) - register_Ns3RngReq_methods(root_module, root_module['ns3::RngReq']) - register_Ns3RngRsp_methods(root_module, root_module['ns3::RngRsp']) - register_Ns3SSManager_methods(root_module, root_module['ns3::SSManager']) - register_Ns3ServiceFlowManager_methods(root_module, root_module['ns3::ServiceFlowManager']) - register_Ns3SfVectorTlvValue_methods(root_module, root_module['ns3::SfVectorTlvValue']) - register_Ns3SsServiceFlowManager_methods(root_module, root_module['ns3::SsServiceFlowManager']) - register_Ns3Tlv_methods(root_module, root_module['ns3::Tlv']) - register_Ns3Ucd_methods(root_module, root_module['ns3::Ucd']) - register_Ns3UlJob_methods(root_module, root_module['ns3::UlJob']) - register_Ns3UlMap_methods(root_module, root_module['ns3::UlMap']) - register_Ns3UplinkScheduler_methods(root_module, root_module['ns3::UplinkScheduler']) - register_Ns3UplinkSchedulerMBQoS_methods(root_module, root_module['ns3::UplinkSchedulerMBQoS']) - register_Ns3UplinkSchedulerRtps_methods(root_module, root_module['ns3::UplinkSchedulerRtps']) - register_Ns3UplinkSchedulerSimple_methods(root_module, root_module['ns3::UplinkSchedulerSimple']) - register_Ns3WimaxConnection_methods(root_module, root_module['ns3::WimaxConnection']) - register_Ns3WimaxMacQueue_methods(root_module, root_module['ns3::WimaxMacQueue']) - register_Ns3WimaxMacToMacHeader_methods(root_module, root_module['ns3::WimaxMacToMacHeader']) - register_Ns3WimaxPhy_methods(root_module, root_module['ns3::WimaxPhy']) - register_Ns3BSScheduler_methods(root_module, root_module['ns3::BSScheduler']) - register_Ns3BSSchedulerRtps_methods(root_module, root_module['ns3::BSSchedulerRtps']) - register_Ns3BSSchedulerSimple_methods(root_module, root_module['ns3::BSSchedulerSimple']) - register_Ns3BandwidthRequestHeader_methods(root_module, root_module['ns3::BandwidthRequestHeader']) - register_Ns3BsServiceFlowManager_methods(root_module, root_module['ns3::BsServiceFlowManager']) - register_Ns3ConnectionManager_methods(root_module, root_module['ns3::ConnectionManager']) - register_Ns3Dcd_methods(root_module, root_module['ns3::Dcd']) - register_Ns3DlMap_methods(root_module, root_module['ns3::DlMap']) - register_Ns3DsaAck_methods(root_module, root_module['ns3::DsaAck']) - register_Ns3DsaReq_methods(root_module, root_module['ns3::DsaReq']) - register_Ns3DsaRsp_methods(root_module, root_module['ns3::DsaRsp']) - register_Ns3FragmentationSubheader_methods(root_module, root_module['ns3::FragmentationSubheader']) - register_Ns3GenericMacHeader_methods(root_module, root_module['ns3::GenericMacHeader']) - register_Ns3GrantManagementSubheader_methods(root_module, root_module['ns3::GrantManagementSubheader']) - register_Ns3IpcsClassifier_methods(root_module, root_module['ns3::IpcsClassifier']) - register_Ns3SimpleOfdmWimaxPhy_methods(root_module, root_module['ns3::SimpleOfdmWimaxPhy']) - register_Ns3WimaxChannel_methods(root_module, root_module['ns3::WimaxChannel']) - register_Ns3WimaxNetDevice_methods(root_module, root_module['ns3::WimaxNetDevice']) - register_Ns3BaseStationNetDevice_methods(root_module, root_module['ns3::BaseStationNetDevice']) - register_Ns3SimpleOfdmWimaxChannel_methods(root_module, root_module['ns3::SimpleOfdmWimaxChannel']) - register_Ns3SubscriberStationNetDevice_methods(root_module, root_module['ns3::SubscriberStationNetDevice']) - return - -def register_Ns3Cid_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## cid.h: ns3::Cid::Cid(ns3::Cid const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Cid const &', 'arg0')]) - ## cid.h: ns3::Cid::Cid() [constructor] - cls.add_constructor([]) - ## cid.h: ns3::Cid::Cid(uint16_t cid) [constructor] - cls.add_constructor([param('uint16_t', 'cid')]) - ## cid.h: static ns3::Cid ns3::Cid::Broadcast() [member function] - cls.add_method('Broadcast', - 'ns3::Cid', - [], - is_static=True) - ## cid.h: uint16_t ns3::Cid::GetIdentifier() const [member function] - cls.add_method('GetIdentifier', - 'uint16_t', - [], - is_const=True) - ## cid.h: static ns3::Cid ns3::Cid::InitialRanging() [member function] - cls.add_method('InitialRanging', - 'ns3::Cid', - [], - is_static=True) - ## cid.h: bool ns3::Cid::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## cid.h: bool ns3::Cid::IsInitialRanging() const [member function] - cls.add_method('IsInitialRanging', - 'bool', - [], - is_const=True) - ## cid.h: bool ns3::Cid::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True) - ## cid.h: bool ns3::Cid::IsPadding() const [member function] - cls.add_method('IsPadding', - 'bool', - [], - is_const=True) - ## cid.h: static ns3::Cid ns3::Cid::Padding() [member function] - cls.add_method('Padding', - 'ns3::Cid', - [], - is_static=True) - return - -def register_Ns3CidFactory_methods(root_module, cls): - ## cid-factory.h: ns3::CidFactory::CidFactory(ns3::CidFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CidFactory const &', 'arg0')]) - ## cid-factory.h: ns3::CidFactory::CidFactory() [constructor] - cls.add_constructor([]) - ## cid-factory.h: ns3::Cid ns3::CidFactory::Allocate(ns3::Cid::Type type) [member function] - cls.add_method('Allocate', - 'ns3::Cid', - [param('ns3::Cid::Type', 'type')]) - ## cid-factory.h: ns3::Cid ns3::CidFactory::AllocateBasic() [member function] - cls.add_method('AllocateBasic', - 'ns3::Cid', - []) - ## cid-factory.h: ns3::Cid ns3::CidFactory::AllocateMulticast() [member function] - cls.add_method('AllocateMulticast', - 'ns3::Cid', - []) - ## cid-factory.h: ns3::Cid ns3::CidFactory::AllocatePrimary() [member function] - cls.add_method('AllocatePrimary', - 'ns3::Cid', - []) - ## cid-factory.h: ns3::Cid ns3::CidFactory::AllocateTransportOrSecondary() [member function] - cls.add_method('AllocateTransportOrSecondary', - 'ns3::Cid', - []) - ## cid-factory.h: void ns3::CidFactory::FreeCid(ns3::Cid cid) [member function] - cls.add_method('FreeCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## cid-factory.h: bool ns3::CidFactory::IsBasic(ns3::Cid cid) const [member function] - cls.add_method('IsBasic', - 'bool', - [param('ns3::Cid', 'cid')], - is_const=True) - ## cid-factory.h: bool ns3::CidFactory::IsPrimary(ns3::Cid cid) const [member function] - cls.add_method('IsPrimary', - 'bool', - [param('ns3::Cid', 'cid')], - is_const=True) - ## cid-factory.h: bool ns3::CidFactory::IsTransport(ns3::Cid cid) const [member function] - cls.add_method('IsTransport', - 'bool', - [param('ns3::Cid', 'cid')], - is_const=True) - return - -def register_Ns3CsParameters_methods(root_module, cls): - ## cs-parameters.h: ns3::CsParameters::CsParameters(ns3::CsParameters const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsParameters const &', 'arg0')]) - ## cs-parameters.h: ns3::CsParameters::CsParameters() [constructor] - cls.add_constructor([]) - ## cs-parameters.h: ns3::CsParameters::CsParameters(ns3::Tlv tlv) [constructor] - cls.add_constructor([param('ns3::Tlv', 'tlv')]) - ## cs-parameters.h: ns3::CsParameters::CsParameters(ns3::CsParameters::Action classifierDscAction, ns3::IpcsClassifierRecord classifier) [constructor] - cls.add_constructor([param('ns3::CsParameters::Action', 'classifierDscAction'), param('ns3::IpcsClassifierRecord', 'classifier')]) - ## cs-parameters.h: ns3::CsParameters::Action ns3::CsParameters::GetClassifierDscAction() const [member function] - cls.add_method('GetClassifierDscAction', - 'ns3::CsParameters::Action', - [], - is_const=True) - ## cs-parameters.h: ns3::IpcsClassifierRecord ns3::CsParameters::GetPacketClassifierRule() const [member function] - cls.add_method('GetPacketClassifierRule', - 'ns3::IpcsClassifierRecord', - [], - is_const=True) - ## cs-parameters.h: void ns3::CsParameters::SetClassifierDscAction(ns3::CsParameters::Action action) [member function] - cls.add_method('SetClassifierDscAction', - 'void', - [param('ns3::CsParameters::Action', 'action')]) - ## cs-parameters.h: void ns3::CsParameters::SetPacketClassifierRule(ns3::IpcsClassifierRecord packetClassifierRule) [member function] - cls.add_method('SetPacketClassifierRule', - 'void', - [param('ns3::IpcsClassifierRecord', 'packetClassifierRule')]) - ## cs-parameters.h: ns3::Tlv ns3::CsParameters::ToTlv() const [member function] - cls.add_method('ToTlv', - 'ns3::Tlv', - [], - is_const=True) - return - -def register_Ns3DcdChannelEncodings_methods(root_module, cls): - ## dl-mac-messages.h: ns3::DcdChannelEncodings::DcdChannelEncodings(ns3::DcdChannelEncodings const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DcdChannelEncodings const &', 'arg0')]) - ## dl-mac-messages.h: ns3::DcdChannelEncodings::DcdChannelEncodings() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: uint16_t ns3::DcdChannelEncodings::GetBsEirp() const [member function] - cls.add_method('GetBsEirp', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::DcdChannelEncodings::GetEirxPIrMax() const [member function] - cls.add_method('GetEirxPIrMax', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint32_t ns3::DcdChannelEncodings::GetFrequency() const [member function] - cls.add_method('GetFrequency', - 'uint32_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::DcdChannelEncodings::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::DcdChannelEncodings::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## dl-mac-messages.h: void ns3::DcdChannelEncodings::SetBsEirp(uint16_t bs_eirp) [member function] - cls.add_method('SetBsEirp', - 'void', - [param('uint16_t', 'bs_eirp')]) - ## dl-mac-messages.h: void ns3::DcdChannelEncodings::SetEirxPIrMax(uint16_t rss_ir_max) [member function] - cls.add_method('SetEirxPIrMax', - 'void', - [param('uint16_t', 'rss_ir_max')]) - ## dl-mac-messages.h: void ns3::DcdChannelEncodings::SetFrequency(uint32_t frequency) [member function] - cls.add_method('SetFrequency', - 'void', - [param('uint32_t', 'frequency')]) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::DcdChannelEncodings::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::DcdChannelEncodings::DoRead(ns3::Buffer::Iterator start) [member function] - cls.add_method('DoRead', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::DcdChannelEncodings::DoWrite(ns3::Buffer::Iterator start) const [member function] - cls.add_method('DoWrite', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3DlFramePrefixIe_methods(root_module, cls): - ## ofdm-downlink-frame-prefix.h: ns3::DlFramePrefixIe::DlFramePrefixIe(ns3::DlFramePrefixIe const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DlFramePrefixIe const &', 'arg0')]) - ## ofdm-downlink-frame-prefix.h: ns3::DlFramePrefixIe::DlFramePrefixIe() [constructor] - cls.add_constructor([]) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::DlFramePrefixIe::GetDiuc() const [member function] - cls.add_method('GetDiuc', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint16_t ns3::DlFramePrefixIe::GetLength() const [member function] - cls.add_method('GetLength', - 'uint16_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::DlFramePrefixIe::GetPreamblePresent() const [member function] - cls.add_method('GetPreamblePresent', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::DlFramePrefixIe::GetRateId() const [member function] - cls.add_method('GetRateId', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint16_t ns3::DlFramePrefixIe::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint16_t ns3::DlFramePrefixIe::GetStartTime() const [member function] - cls.add_method('GetStartTime', - 'uint16_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: ns3::Buffer::Iterator ns3::DlFramePrefixIe::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetDiuc(uint8_t diuc) [member function] - cls.add_method('SetDiuc', - 'void', - [param('uint8_t', 'diuc')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetLength(uint16_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint16_t', 'length')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetPreamblePresent(uint8_t preamblePresent) [member function] - cls.add_method('SetPreamblePresent', - 'void', - [param('uint8_t', 'preamblePresent')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetRateId(uint8_t rateId) [member function] - cls.add_method('SetRateId', - 'void', - [param('uint8_t', 'rateId')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetStartTime(uint16_t startTime) [member function] - cls.add_method('SetStartTime', - 'void', - [param('uint16_t', 'startTime')]) - ## ofdm-downlink-frame-prefix.h: ns3::Buffer::Iterator ns3::DlFramePrefixIe::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3IpcsClassifierRecord_methods(root_module, cls): - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord::IpcsClassifierRecord(ns3::IpcsClassifierRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IpcsClassifierRecord const &', 'arg0')]) - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord::IpcsClassifierRecord() [constructor] - cls.add_constructor([]) - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord::IpcsClassifierRecord(ns3::Ipv4Address srcAddress, ns3::Ipv4Mask srcMask, ns3::Ipv4Address dstAddress, ns3::Ipv4Mask dstMask, uint16_t srcPortLow, uint16_t srcPortHigh, uint16_t dstPortLow, uint16_t dstPortHigh, uint8_t protocol, uint8_t priority) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'srcAddress'), param('ns3::Ipv4Mask', 'srcMask'), param('ns3::Ipv4Address', 'dstAddress'), param('ns3::Ipv4Mask', 'dstMask'), param('uint16_t', 'srcPortLow'), param('uint16_t', 'srcPortHigh'), param('uint16_t', 'dstPortLow'), param('uint16_t', 'dstPortHigh'), param('uint8_t', 'protocol'), param('uint8_t', 'priority')]) - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord::IpcsClassifierRecord(ns3::Tlv tlv) [constructor] - cls.add_constructor([param('ns3::Tlv', 'tlv')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddDstAddr(ns3::Ipv4Address dstAddress, ns3::Ipv4Mask dstMask) [member function] - cls.add_method('AddDstAddr', - 'void', - [param('ns3::Ipv4Address', 'dstAddress'), param('ns3::Ipv4Mask', 'dstMask')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddDstPortRange(uint16_t dstPortLow, uint16_t dstPortHigh) [member function] - cls.add_method('AddDstPortRange', - 'void', - [param('uint16_t', 'dstPortLow'), param('uint16_t', 'dstPortHigh')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddProtocol(uint8_t proto) [member function] - cls.add_method('AddProtocol', - 'void', - [param('uint8_t', 'proto')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddSrcAddr(ns3::Ipv4Address srcAddress, ns3::Ipv4Mask srcMask) [member function] - cls.add_method('AddSrcAddr', - 'void', - [param('ns3::Ipv4Address', 'srcAddress'), param('ns3::Ipv4Mask', 'srcMask')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddSrcPortRange(uint16_t srcPortLow, uint16_t srcPortHigh) [member function] - cls.add_method('AddSrcPortRange', - 'void', - [param('uint16_t', 'srcPortLow'), param('uint16_t', 'srcPortHigh')]) - ## ipcs-classifier-record.h: bool ns3::IpcsClassifierRecord::CheckMatch(ns3::Ipv4Address srcAddress, ns3::Ipv4Address dstAddress, uint16_t srcPort, uint16_t dstPort, uint8_t proto) const [member function] - cls.add_method('CheckMatch', - 'bool', - [param('ns3::Ipv4Address', 'srcAddress'), param('ns3::Ipv4Address', 'dstAddress'), param('uint16_t', 'srcPort'), param('uint16_t', 'dstPort'), param('uint8_t', 'proto')], - is_const=True) - ## ipcs-classifier-record.h: uint16_t ns3::IpcsClassifierRecord::GetCid() const [member function] - cls.add_method('GetCid', - 'uint16_t', - [], - is_const=True) - ## ipcs-classifier-record.h: uint16_t ns3::IpcsClassifierRecord::GetIndex() const [member function] - cls.add_method('GetIndex', - 'uint16_t', - [], - is_const=True) - ## ipcs-classifier-record.h: uint8_t ns3::IpcsClassifierRecord::GetPriority() const [member function] - cls.add_method('GetPriority', - 'uint8_t', - [], - is_const=True) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::SetCid(uint16_t cid) [member function] - cls.add_method('SetCid', - 'void', - [param('uint16_t', 'cid')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::SetIndex(uint16_t index) [member function] - cls.add_method('SetIndex', - 'void', - [param('uint16_t', 'index')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::SetPriority(uint8_t prio) [member function] - cls.add_method('SetPriority', - 'void', - [param('uint8_t', 'prio')]) - ## ipcs-classifier-record.h: ns3::Tlv ns3::IpcsClassifierRecord::ToTlv() const [member function] - cls.add_method('ToTlv', - 'ns3::Tlv', - [], - is_const=True) - return - -def register_Ns3OfdmDcdChannelEncodings_methods(root_module, cls): - ## dl-mac-messages.h: ns3::OfdmDcdChannelEncodings::OfdmDcdChannelEncodings(ns3::OfdmDcdChannelEncodings const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmDcdChannelEncodings const &', 'arg0')]) - ## dl-mac-messages.h: ns3::OfdmDcdChannelEncodings::OfdmDcdChannelEncodings() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: ns3::Mac48Address ns3::OfdmDcdChannelEncodings::GetBaseStationId() const [member function] - cls.add_method('GetBaseStationId', - 'ns3::Mac48Address', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDcdChannelEncodings::GetChannelNr() const [member function] - cls.add_method('GetChannelNr', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDcdChannelEncodings::GetFrameDurationCode() const [member function] - cls.add_method('GetFrameDurationCode', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint32_t ns3::OfdmDcdChannelEncodings::GetFrameNumber() const [member function] - cls.add_method('GetFrameNumber', - 'uint32_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDcdChannelEncodings::GetRtg() const [member function] - cls.add_method('GetRtg', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::OfdmDcdChannelEncodings::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDcdChannelEncodings::GetTtg() const [member function] - cls.add_method('GetTtg', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetBaseStationId(ns3::Mac48Address baseStationId) [member function] - cls.add_method('SetBaseStationId', - 'void', - [param('ns3::Mac48Address', 'baseStationId')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetChannelNr(uint8_t channelNr) [member function] - cls.add_method('SetChannelNr', - 'void', - [param('uint8_t', 'channelNr')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetFrameDurationCode(uint8_t frameDurationCode) [member function] - cls.add_method('SetFrameDurationCode', - 'void', - [param('uint8_t', 'frameDurationCode')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetFrameNumber(uint32_t frameNumber) [member function] - cls.add_method('SetFrameNumber', - 'void', - [param('uint32_t', 'frameNumber')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetRtg(uint8_t rtg) [member function] - cls.add_method('SetRtg', - 'void', - [param('uint8_t', 'rtg')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetTtg(uint8_t ttg) [member function] - cls.add_method('SetTtg', - 'void', - [param('uint8_t', 'ttg')]) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDcdChannelEncodings::DoRead(ns3::Buffer::Iterator start) [member function] - cls.add_method('DoRead', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - visibility='private', is_virtual=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDcdChannelEncodings::DoWrite(ns3::Buffer::Iterator start) const [member function] - cls.add_method('DoWrite', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3OfdmDlBurstProfile_methods(root_module, cls): - ## dl-mac-messages.h: ns3::OfdmDlBurstProfile::OfdmDlBurstProfile(ns3::OfdmDlBurstProfile const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmDlBurstProfile const &', 'arg0')]) - ## dl-mac-messages.h: ns3::OfdmDlBurstProfile::OfdmDlBurstProfile() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlBurstProfile::GetDiuc() const [member function] - cls.add_method('GetDiuc', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlBurstProfile::GetFecCodeType() const [member function] - cls.add_method('GetFecCodeType', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlBurstProfile::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::OfdmDlBurstProfile::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlBurstProfile::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDlBurstProfile::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## dl-mac-messages.h: void ns3::OfdmDlBurstProfile::SetDiuc(uint8_t diuc) [member function] - cls.add_method('SetDiuc', - 'void', - [param('uint8_t', 'diuc')]) - ## dl-mac-messages.h: void ns3::OfdmDlBurstProfile::SetFecCodeType(uint8_t fecCodeType) [member function] - cls.add_method('SetFecCodeType', - 'void', - [param('uint8_t', 'fecCodeType')]) - ## dl-mac-messages.h: void ns3::OfdmDlBurstProfile::SetLength(uint8_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'length')]) - ## dl-mac-messages.h: void ns3::OfdmDlBurstProfile::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDlBurstProfile::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3OfdmDlMapIe_methods(root_module, cls): - ## dl-mac-messages.h: ns3::OfdmDlMapIe::OfdmDlMapIe(ns3::OfdmDlMapIe const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmDlMapIe const &', 'arg0')]) - ## dl-mac-messages.h: ns3::OfdmDlMapIe::OfdmDlMapIe() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: ns3::Cid ns3::OfdmDlMapIe::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlMapIe::GetDiuc() const [member function] - cls.add_method('GetDiuc', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlMapIe::GetPreamblePresent() const [member function] - cls.add_method('GetPreamblePresent', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::OfdmDlMapIe::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::OfdmDlMapIe::GetStartTime() const [member function] - cls.add_method('GetStartTime', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDlMapIe::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## dl-mac-messages.h: void ns3::OfdmDlMapIe::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## dl-mac-messages.h: void ns3::OfdmDlMapIe::SetDiuc(uint8_t diuc) [member function] - cls.add_method('SetDiuc', - 'void', - [param('uint8_t', 'diuc')]) - ## dl-mac-messages.h: void ns3::OfdmDlMapIe::SetPreamblePresent(uint8_t preamblePresent) [member function] - cls.add_method('SetPreamblePresent', - 'void', - [param('uint8_t', 'preamblePresent')]) - ## dl-mac-messages.h: void ns3::OfdmDlMapIe::SetStartTime(uint16_t startTime) [member function] - cls.add_method('SetStartTime', - 'void', - [param('uint16_t', 'startTime')]) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDlMapIe::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3OfdmUlBurstProfile_methods(root_module, cls): - ## ul-mac-messages.h: ns3::OfdmUlBurstProfile::OfdmUlBurstProfile(ns3::OfdmUlBurstProfile const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmUlBurstProfile const &', 'arg0')]) - ## ul-mac-messages.h: ns3::OfdmUlBurstProfile::OfdmUlBurstProfile() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlBurstProfile::GetFecCodeType() const [member function] - cls.add_method('GetFecCodeType', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlBurstProfile::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUlBurstProfile::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlBurstProfile::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlBurstProfile::GetUiuc() const [member function] - cls.add_method('GetUiuc', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUlBurstProfile::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## ul-mac-messages.h: void ns3::OfdmUlBurstProfile::SetFecCodeType(uint8_t fecCodeType) [member function] - cls.add_method('SetFecCodeType', - 'void', - [param('uint8_t', 'fecCodeType')]) - ## ul-mac-messages.h: void ns3::OfdmUlBurstProfile::SetLength(uint8_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'length')]) - ## ul-mac-messages.h: void ns3::OfdmUlBurstProfile::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## ul-mac-messages.h: void ns3::OfdmUlBurstProfile::SetUiuc(uint8_t uiuc) [member function] - cls.add_method('SetUiuc', - 'void', - [param('uint8_t', 'uiuc')]) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUlBurstProfile::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3OfdmUlMapIe_methods(root_module, cls): - ## ul-mac-messages.h: ns3::OfdmUlMapIe::OfdmUlMapIe(ns3::OfdmUlMapIe const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmUlMapIe const &', 'arg0')]) - ## ul-mac-messages.h: ns3::OfdmUlMapIe::OfdmUlMapIe() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: ns3::Cid ns3::OfdmUlMapIe::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUlMapIe::GetDuration() const [member function] - cls.add_method('GetDuration', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlMapIe::GetMidambleRepetitionInterval() const [member function] - cls.add_method('GetMidambleRepetitionInterval', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUlMapIe::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUlMapIe::GetStartTime() const [member function] - cls.add_method('GetStartTime', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlMapIe::GetSubchannelIndex() const [member function] - cls.add_method('GetSubchannelIndex', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlMapIe::GetUiuc() const [member function] - cls.add_method('GetUiuc', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUlMapIe::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetDuration(uint16_t duration) [member function] - cls.add_method('SetDuration', - 'void', - [param('uint16_t', 'duration')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetMidambleRepetitionInterval(uint8_t midambleRepetitionInterval) [member function] - cls.add_method('SetMidambleRepetitionInterval', - 'void', - [param('uint8_t', 'midambleRepetitionInterval')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetStartTime(uint16_t startTime) [member function] - cls.add_method('SetStartTime', - 'void', - [param('uint16_t', 'startTime')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetSubchannelIndex(uint8_t subchannelIndex) [member function] - cls.add_method('SetSubchannelIndex', - 'void', - [param('uint8_t', 'subchannelIndex')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetUiuc(uint8_t uiuc) [member function] - cls.add_method('SetUiuc', - 'void', - [param('uint8_t', 'uiuc')]) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUlMapIe::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3SNRToBlockErrorRateManager_methods(root_module, cls): - ## snr-to-block-error-rate-manager.h: ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager(ns3::SNRToBlockErrorRateManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SNRToBlockErrorRateManager const &', 'arg0')]) - ## snr-to-block-error-rate-manager.h: ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager() [constructor] - cls.add_constructor([]) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::ActivateLoss(bool loss) [member function] - cls.add_method('ActivateLoss', - 'void', - [param('bool', 'loss')]) - ## snr-to-block-error-rate-manager.h: double ns3::SNRToBlockErrorRateManager::GetBlockErrorRate(double SNR, uint8_t modulation) [member function] - cls.add_method('GetBlockErrorRate', - 'double', - [param('double', 'SNR'), param('uint8_t', 'modulation')]) - ## snr-to-block-error-rate-manager.h: ns3::SNRToBlockErrorRateRecord * ns3::SNRToBlockErrorRateManager::GetSNRToBlockErrorRateRecord(double SNR, uint8_t modulation) [member function] - cls.add_method('GetSNRToBlockErrorRateRecord', - 'ns3::SNRToBlockErrorRateRecord *', - [param('double', 'SNR'), param('uint8_t', 'modulation')]) - ## snr-to-block-error-rate-manager.h: std::string ns3::SNRToBlockErrorRateManager::GetTraceFilePath() [member function] - cls.add_method('GetTraceFilePath', - 'std::string', - []) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::LoadDefaultTraces() [member function] - cls.add_method('LoadDefaultTraces', - 'void', - []) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::LoadTraces() [member function] - cls.add_method('LoadTraces', - 'void', - []) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::ReLoadTraces() [member function] - cls.add_method('ReLoadTraces', - 'void', - []) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::SetTraceFilePath(char * traceFilePath) [member function] - cls.add_method('SetTraceFilePath', - 'void', - [param('char *', 'traceFilePath')]) - return - -def register_Ns3SNRToBlockErrorRateRecord_methods(root_module, cls): - ## snr-to-block-error-rate-record.h: ns3::SNRToBlockErrorRateRecord::SNRToBlockErrorRateRecord(ns3::SNRToBlockErrorRateRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SNRToBlockErrorRateRecord const &', 'arg0')]) - ## snr-to-block-error-rate-record.h: ns3::SNRToBlockErrorRateRecord::SNRToBlockErrorRateRecord(double snrValue, double bitErrorRate, double BlockErrorRate, double sigma2, double I1, double I2) [constructor] - cls.add_constructor([param('double', 'snrValue'), param('double', 'bitErrorRate'), param('double', 'BlockErrorRate'), param('double', 'sigma2'), param('double', 'I1'), param('double', 'I2')]) - ## snr-to-block-error-rate-record.h: ns3::SNRToBlockErrorRateRecord * ns3::SNRToBlockErrorRateRecord::Copy() [member function] - cls.add_method('Copy', - 'ns3::SNRToBlockErrorRateRecord *', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetBitErrorRate() [member function] - cls.add_method('GetBitErrorRate', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetBlockErrorRate() [member function] - cls.add_method('GetBlockErrorRate', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetI1() [member function] - cls.add_method('GetI1', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetI2() [member function] - cls.add_method('GetI2', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetSNRValue() [member function] - cls.add_method('GetSNRValue', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetSigma2() [member function] - cls.add_method('GetSigma2', - 'double', - []) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetBitErrorRate(double arg0) [member function] - cls.add_method('SetBitErrorRate', - 'void', - [param('double', 'arg0')]) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetBlockErrorRate(double arg0) [member function] - cls.add_method('SetBlockErrorRate', - 'void', - [param('double', 'arg0')]) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetI1(double arg0) [member function] - cls.add_method('SetI1', - 'void', - [param('double', 'arg0')]) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetI2(double arg0) [member function] - cls.add_method('SetI2', - 'void', - [param('double', 'arg0')]) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetSNRValue(double arg0) [member function] - cls.add_method('SetSNRValue', - 'void', - [param('double', 'arg0')]) - return - -def register_Ns3SSRecord_methods(root_module, cls): - ## ss-record.h: ns3::SSRecord::SSRecord(ns3::SSRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SSRecord const &', 'arg0')]) - ## ss-record.h: ns3::SSRecord::SSRecord() [constructor] - cls.add_constructor([]) - ## ss-record.h: ns3::SSRecord::SSRecord(ns3::Mac48Address macAddress) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'macAddress')]) - ## ss-record.h: ns3::SSRecord::SSRecord(ns3::Mac48Address macAddress, ns3::Ipv4Address IPaddress) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'macAddress'), param('ns3::Ipv4Address', 'IPaddress')]) - ## ss-record.h: void ns3::SSRecord::AddServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## ss-record.h: void ns3::SSRecord::DisablePollForRanging() [member function] - cls.add_method('DisablePollForRanging', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::EnablePollForRanging() [member function] - cls.add_method('EnablePollForRanging', - 'void', - []) - ## ss-record.h: bool ns3::SSRecord::GetAreServiceFlowsAllocated() const [member function] - cls.add_method('GetAreServiceFlowsAllocated', - 'bool', - [], - is_const=True) - ## ss-record.h: ns3::Cid ns3::SSRecord::GetBasicCid() const [member function] - cls.add_method('GetBasicCid', - 'ns3::Cid', - [], - is_const=True) - ## ss-record.h: ns3::DsaRsp ns3::SSRecord::GetDsaRsp() const [member function] - cls.add_method('GetDsaRsp', - 'ns3::DsaRsp', - [], - is_const=True) - ## ss-record.h: uint8_t ns3::SSRecord::GetDsaRspRetries() const [member function] - cls.add_method('GetDsaRspRetries', - 'uint8_t', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetHasServiceFlowBe() const [member function] - cls.add_method('GetHasServiceFlowBe', - 'bool', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetHasServiceFlowNrtps() const [member function] - cls.add_method('GetHasServiceFlowNrtps', - 'bool', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetHasServiceFlowRtps() const [member function] - cls.add_method('GetHasServiceFlowRtps', - 'bool', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetHasServiceFlowUgs() const [member function] - cls.add_method('GetHasServiceFlowUgs', - 'bool', - [], - is_const=True) - ## ss-record.h: ns3::Ipv4Address ns3::SSRecord::GetIPAddress() [member function] - cls.add_method('GetIPAddress', - 'ns3::Ipv4Address', - []) - ## ss-record.h: uint8_t ns3::SSRecord::GetInvitedRangRetries() const [member function] - cls.add_method('GetInvitedRangRetries', - 'uint8_t', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetIsBroadcastSS() [member function] - cls.add_method('GetIsBroadcastSS', - 'bool', - []) - ## ss-record.h: ns3::Mac48Address ns3::SSRecord::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ss-record.h: ns3::WimaxPhy::ModulationType ns3::SSRecord::GetModulationType() const [member function] - cls.add_method('GetModulationType', - 'ns3::WimaxPhy::ModulationType', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetPollForRanging() const [member function] - cls.add_method('GetPollForRanging', - 'bool', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetPollMeBit() const [member function] - cls.add_method('GetPollMeBit', - 'bool', - [], - is_const=True) - ## ss-record.h: ns3::Cid ns3::SSRecord::GetPrimaryCid() const [member function] - cls.add_method('GetPrimaryCid', - 'ns3::Cid', - [], - is_const=True) - ## ss-record.h: uint8_t ns3::SSRecord::GetRangingCorrectionRetries() const [member function] - cls.add_method('GetRangingCorrectionRetries', - 'uint8_t', - [], - is_const=True) - ## ss-record.h: ns3::WimaxNetDevice::RangingStatus ns3::SSRecord::GetRangingStatus() const [member function] - cls.add_method('GetRangingStatus', - 'ns3::WimaxNetDevice::RangingStatus', - [], - is_const=True) - ## ss-record.h: std::vector > ns3::SSRecord::GetServiceFlows(ns3::ServiceFlow::SchedulingType schedulingType) const [member function] - cls.add_method('GetServiceFlows', - 'std::vector< ns3::ServiceFlow * >', - [param('ns3::ServiceFlow::SchedulingType', 'schedulingType')], - is_const=True) - ## ss-record.h: uint16_t ns3::SSRecord::GetSfTransactionId() const [member function] - cls.add_method('GetSfTransactionId', - 'uint16_t', - [], - is_const=True) - ## ss-record.h: void ns3::SSRecord::IncrementDsaRspRetries() [member function] - cls.add_method('IncrementDsaRspRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::IncrementInvitedRangingRetries() [member function] - cls.add_method('IncrementInvitedRangingRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::IncrementRangingCorrectionRetries() [member function] - cls.add_method('IncrementRangingCorrectionRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::ResetInvitedRangingRetries() [member function] - cls.add_method('ResetInvitedRangingRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::ResetRangingCorrectionRetries() [member function] - cls.add_method('ResetRangingCorrectionRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::SetAreServiceFlowsAllocated(bool val) [member function] - cls.add_method('SetAreServiceFlowsAllocated', - 'void', - [param('bool', 'val')]) - ## ss-record.h: void ns3::SSRecord::SetBasicCid(ns3::Cid basicCid) [member function] - cls.add_method('SetBasicCid', - 'void', - [param('ns3::Cid', 'basicCid')]) - ## ss-record.h: void ns3::SSRecord::SetDsaRsp(ns3::DsaRsp dsaRsp) [member function] - cls.add_method('SetDsaRsp', - 'void', - [param('ns3::DsaRsp', 'dsaRsp')]) - ## ss-record.h: void ns3::SSRecord::SetDsaRspRetries(uint8_t dsaRspRetries) [member function] - cls.add_method('SetDsaRspRetries', - 'void', - [param('uint8_t', 'dsaRspRetries')]) - ## ss-record.h: void ns3::SSRecord::SetIPAddress(ns3::Ipv4Address IPaddress) [member function] - cls.add_method('SetIPAddress', - 'void', - [param('ns3::Ipv4Address', 'IPaddress')]) - ## ss-record.h: void ns3::SSRecord::SetIsBroadcastSS(bool arg0) [member function] - cls.add_method('SetIsBroadcastSS', - 'void', - [param('bool', 'arg0')]) - ## ss-record.h: void ns3::SSRecord::SetMacAddress(ns3::Mac48Address macAddress) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Mac48Address', 'macAddress')]) - ## ss-record.h: void ns3::SSRecord::SetModulationType(ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('SetModulationType', - 'void', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## ss-record.h: void ns3::SSRecord::SetPollMeBit(bool pollMeBit) [member function] - cls.add_method('SetPollMeBit', - 'void', - [param('bool', 'pollMeBit')]) - ## ss-record.h: void ns3::SSRecord::SetPrimaryCid(ns3::Cid primaryCid) [member function] - cls.add_method('SetPrimaryCid', - 'void', - [param('ns3::Cid', 'primaryCid')]) - ## ss-record.h: void ns3::SSRecord::SetRangingStatus(ns3::WimaxNetDevice::RangingStatus rangingStatus) [member function] - cls.add_method('SetRangingStatus', - 'void', - [param('ns3::WimaxNetDevice::RangingStatus', 'rangingStatus')]) - ## ss-record.h: void ns3::SSRecord::SetSfTransactionId(uint16_t sfTransactionId) [member function] - cls.add_method('SetSfTransactionId', - 'void', - [param('uint16_t', 'sfTransactionId')]) - return - -def register_Ns3SendParams_methods(root_module, cls): - ## send-params.h: ns3::SendParams::SendParams(ns3::SendParams const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SendParams const &', 'arg0')]) - ## send-params.h: ns3::SendParams::SendParams() [constructor] - cls.add_constructor([]) - return - -def register_Ns3ServiceFlow_methods(root_module, cls): - ## service-flow.h: ns3::ServiceFlow::ServiceFlow(ns3::Tlv tlv) [constructor] - cls.add_constructor([param('ns3::Tlv', 'tlv')]) - ## service-flow.h: ns3::ServiceFlow::ServiceFlow(ns3::ServiceFlow::Direction direction) [constructor] - cls.add_constructor([param('ns3::ServiceFlow::Direction', 'direction')]) - ## service-flow.h: ns3::ServiceFlow::ServiceFlow() [constructor] - cls.add_constructor([]) - ## service-flow.h: ns3::ServiceFlow::ServiceFlow(ns3::ServiceFlow const & sf) [copy constructor] - cls.add_constructor([param('ns3::ServiceFlow const &', 'sf')]) - ## service-flow.h: ns3::ServiceFlow::ServiceFlow(uint32_t sfid, ns3::ServiceFlow::Direction direction, ns3::Ptr connection) [constructor] - cls.add_constructor([param('uint32_t', 'sfid'), param('ns3::ServiceFlow::Direction', 'direction'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection')]) - ## service-flow.h: bool ns3::ServiceFlow::CheckClassifierMatch(ns3::Ipv4Address srcAddress, ns3::Ipv4Address dstAddress, uint16_t srcPort, uint16_t dstPort, uint8_t proto) const [member function] - cls.add_method('CheckClassifierMatch', - 'bool', - [param('ns3::Ipv4Address', 'srcAddress'), param('ns3::Ipv4Address', 'dstAddress'), param('uint16_t', 'srcPort'), param('uint16_t', 'dstPort'), param('uint8_t', 'proto')], - is_const=True) - ## service-flow.h: void ns3::ServiceFlow::CleanUpQueue() [member function] - cls.add_method('CleanUpQueue', - 'void', - []) - ## service-flow.h: void ns3::ServiceFlow::CopyParametersFrom(ns3::ServiceFlow sf) [member function] - cls.add_method('CopyParametersFrom', - 'void', - [param('ns3::ServiceFlow', 'sf')]) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqBlockLifeTime() const [member function] - cls.add_method('GetArqBlockLifeTime', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqBlockSize() const [member function] - cls.add_method('GetArqBlockSize', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetArqDeliverInOrder() const [member function] - cls.add_method('GetArqDeliverInOrder', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetArqEnable() const [member function] - cls.add_method('GetArqEnable', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqPurgeTimeout() const [member function] - cls.add_method('GetArqPurgeTimeout', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqRetryTimeoutRx() const [member function] - cls.add_method('GetArqRetryTimeoutRx', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqRetryTimeoutTx() const [member function] - cls.add_method('GetArqRetryTimeoutTx', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqSyncLoss() const [member function] - cls.add_method('GetArqSyncLoss', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqWindowSize() const [member function] - cls.add_method('GetArqWindowSize', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetCid() const [member function] - cls.add_method('GetCid', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: ns3::Ptr ns3::ServiceFlow::GetConnection() const [member function] - cls.add_method('GetConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## service-flow.h: ns3::CsParameters ns3::ServiceFlow::GetConvergenceSublayerParam() const [member function] - cls.add_method('GetConvergenceSublayerParam', - 'ns3::CsParameters', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::CsSpecification ns3::ServiceFlow::GetCsSpecification() const [member function] - cls.add_method('GetCsSpecification', - 'ns3::ServiceFlow::CsSpecification', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::Direction ns3::ServiceFlow::GetDirection() const [member function] - cls.add_method('GetDirection', - 'ns3::ServiceFlow::Direction', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetFixedversusVariableSduIndicator() const [member function] - cls.add_method('GetFixedversusVariableSduIndicator', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: bool ns3::ServiceFlow::GetIsEnabled() const [member function] - cls.add_method('GetIsEnabled', - 'bool', - [], - is_const=True) - ## service-flow.h: bool ns3::ServiceFlow::GetIsMulticast() const [member function] - cls.add_method('GetIsMulticast', - 'bool', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMaxSustainedTrafficRate() const [member function] - cls.add_method('GetMaxSustainedTrafficRate', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMaxTrafficBurst() const [member function] - cls.add_method('GetMaxTrafficBurst', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMaximumLatency() const [member function] - cls.add_method('GetMaximumLatency', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMinReservedTrafficRate() const [member function] - cls.add_method('GetMinReservedTrafficRate', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMinTolerableTrafficRate() const [member function] - cls.add_method('GetMinTolerableTrafficRate', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: ns3::WimaxPhy::ModulationType ns3::ServiceFlow::GetModulation() const [member function] - cls.add_method('GetModulation', - 'ns3::WimaxPhy::ModulationType', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetQosParamSetType() const [member function] - cls.add_method('GetQosParamSetType', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: ns3::Ptr ns3::ServiceFlow::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::WimaxMacQueue >', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlowRecord * ns3::ServiceFlow::GetRecord() const [member function] - cls.add_method('GetRecord', - 'ns3::ServiceFlowRecord *', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetRequestTransmissionPolicy() const [member function] - cls.add_method('GetRequestTransmissionPolicy', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::SchedulingType ns3::ServiceFlow::GetSchedulingType() const [member function] - cls.add_method('GetSchedulingType', - 'ns3::ServiceFlow::SchedulingType', - [], - is_const=True) - ## service-flow.h: char * ns3::ServiceFlow::GetSchedulingTypeStr() const [member function] - cls.add_method('GetSchedulingTypeStr', - 'char *', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetSduSize() const [member function] - cls.add_method('GetSduSize', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: std::string ns3::ServiceFlow::GetServiceClassName() const [member function] - cls.add_method('GetServiceClassName', - 'std::string', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::SchedulingType ns3::ServiceFlow::GetServiceSchedulingType() const [member function] - cls.add_method('GetServiceSchedulingType', - 'ns3::ServiceFlow::SchedulingType', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetSfid() const [member function] - cls.add_method('GetSfid', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetTargetSAID() const [member function] - cls.add_method('GetTargetSAID', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetToleratedJitter() const [member function] - cls.add_method('GetToleratedJitter', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetTrafficPriority() const [member function] - cls.add_method('GetTrafficPriority', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::Type ns3::ServiceFlow::GetType() const [member function] - cls.add_method('GetType', - 'ns3::ServiceFlow::Type', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetUnsolicitedGrantInterval() const [member function] - cls.add_method('GetUnsolicitedGrantInterval', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetUnsolicitedPollingInterval() const [member function] - cls.add_method('GetUnsolicitedPollingInterval', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: bool ns3::ServiceFlow::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## service-flow.h: bool ns3::ServiceFlow::HasPackets(ns3::MacHeaderType::HeaderType packetType) const [member function] - cls.add_method('HasPackets', - 'bool', - [param('ns3::MacHeaderType::HeaderType', 'packetType')], - is_const=True) - ## service-flow.h: void ns3::ServiceFlow::InitValues() [member function] - cls.add_method('InitValues', - 'void', - []) - ## service-flow.h: void ns3::ServiceFlow::PrintQoSParameters() const [member function] - cls.add_method('PrintQoSParameters', - 'void', - [], - is_const=True) - ## service-flow.h: void ns3::ServiceFlow::SetArqBlockLifeTime(uint16_t arg0) [member function] - cls.add_method('SetArqBlockLifeTime', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqBlockSize(uint16_t arg0) [member function] - cls.add_method('SetArqBlockSize', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqDeliverInOrder(uint8_t arg0) [member function] - cls.add_method('SetArqDeliverInOrder', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqEnable(uint8_t arg0) [member function] - cls.add_method('SetArqEnable', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqPurgeTimeout(uint16_t arg0) [member function] - cls.add_method('SetArqPurgeTimeout', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqRetryTimeoutRx(uint16_t arg0) [member function] - cls.add_method('SetArqRetryTimeoutRx', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqRetryTimeoutTx(uint16_t arg0) [member function] - cls.add_method('SetArqRetryTimeoutTx', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqSyncLoss(uint16_t arg0) [member function] - cls.add_method('SetArqSyncLoss', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqWindowSize(uint16_t arg0) [member function] - cls.add_method('SetArqWindowSize', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetConnection(ns3::Ptr connection) [member function] - cls.add_method('SetConnection', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection >', 'connection')]) - ## service-flow.h: void ns3::ServiceFlow::SetConvergenceSublayerParam(ns3::CsParameters arg0) [member function] - cls.add_method('SetConvergenceSublayerParam', - 'void', - [param('ns3::CsParameters', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetCsSpecification(ns3::ServiceFlow::CsSpecification arg0) [member function] - cls.add_method('SetCsSpecification', - 'void', - [param('ns3::ServiceFlow::CsSpecification', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetDirection(ns3::ServiceFlow::Direction direction) [member function] - cls.add_method('SetDirection', - 'void', - [param('ns3::ServiceFlow::Direction', 'direction')]) - ## service-flow.h: void ns3::ServiceFlow::SetFixedversusVariableSduIndicator(uint8_t arg0) [member function] - cls.add_method('SetFixedversusVariableSduIndicator', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetIsEnabled(bool isEnabled) [member function] - cls.add_method('SetIsEnabled', - 'void', - [param('bool', 'isEnabled')]) - ## service-flow.h: void ns3::ServiceFlow::SetIsMulticast(bool isMulticast) [member function] - cls.add_method('SetIsMulticast', - 'void', - [param('bool', 'isMulticast')]) - ## service-flow.h: void ns3::ServiceFlow::SetMaxSustainedTrafficRate(uint32_t arg0) [member function] - cls.add_method('SetMaxSustainedTrafficRate', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetMaxTrafficBurst(uint32_t arg0) [member function] - cls.add_method('SetMaxTrafficBurst', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetMaximumLatency(uint32_t arg0) [member function] - cls.add_method('SetMaximumLatency', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetMinReservedTrafficRate(uint32_t arg0) [member function] - cls.add_method('SetMinReservedTrafficRate', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetMinTolerableTrafficRate(uint32_t arg0) [member function] - cls.add_method('SetMinTolerableTrafficRate', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetModulation(ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('SetModulation', - 'void', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## service-flow.h: void ns3::ServiceFlow::SetQosParamSetType(uint8_t arg0) [member function] - cls.add_method('SetQosParamSetType', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetRecord(ns3::ServiceFlowRecord * record) [member function] - cls.add_method('SetRecord', - 'void', - [param('ns3::ServiceFlowRecord *', 'record')]) - ## service-flow.h: void ns3::ServiceFlow::SetRequestTransmissionPolicy(uint32_t arg0) [member function] - cls.add_method('SetRequestTransmissionPolicy', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetSduSize(uint8_t arg0) [member function] - cls.add_method('SetSduSize', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetServiceClassName(std::string arg0) [member function] - cls.add_method('SetServiceClassName', - 'void', - [param('std::string', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetServiceSchedulingType(ns3::ServiceFlow::SchedulingType arg0) [member function] - cls.add_method('SetServiceSchedulingType', - 'void', - [param('ns3::ServiceFlow::SchedulingType', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetSfid(uint32_t arg0) [member function] - cls.add_method('SetSfid', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetTargetSAID(uint16_t arg0) [member function] - cls.add_method('SetTargetSAID', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetToleratedJitter(uint32_t arg0) [member function] - cls.add_method('SetToleratedJitter', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetTrafficPriority(uint8_t arg0) [member function] - cls.add_method('SetTrafficPriority', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetType(ns3::ServiceFlow::Type type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::ServiceFlow::Type', 'type')]) - ## service-flow.h: void ns3::ServiceFlow::SetUnsolicitedGrantInterval(uint16_t arg0) [member function] - cls.add_method('SetUnsolicitedGrantInterval', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetUnsolicitedPollingInterval(uint16_t arg0) [member function] - cls.add_method('SetUnsolicitedPollingInterval', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: ns3::Tlv ns3::ServiceFlow::ToTlv() const [member function] - cls.add_method('ToTlv', - 'ns3::Tlv', - [], - is_const=True) - return - -def register_Ns3ServiceFlowRecord_methods(root_module, cls): - ## service-flow-record.h: ns3::ServiceFlowRecord::ServiceFlowRecord(ns3::ServiceFlowRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ServiceFlowRecord const &', 'arg0')]) - ## service-flow-record.h: ns3::ServiceFlowRecord::ServiceFlowRecord() [constructor] - cls.add_constructor([]) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBacklogged() const [member function] - cls.add_method('GetBacklogged', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBackloggedTemp() const [member function] - cls.add_method('GetBackloggedTemp', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBwSinceLastExpiry() [member function] - cls.add_method('GetBwSinceLastExpiry', - 'uint32_t', - []) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBytesRcvd() const [member function] - cls.add_method('GetBytesRcvd', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBytesSent() const [member function] - cls.add_method('GetBytesSent', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: ns3::Time ns3::ServiceFlowRecord::GetDlTimeStamp() const [member function] - cls.add_method('GetDlTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetGrantSize() const [member function] - cls.add_method('GetGrantSize', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: ns3::Time ns3::ServiceFlowRecord::GetGrantTimeStamp() const [member function] - cls.add_method('GetGrantTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetGrantedBandwidth() [member function] - cls.add_method('GetGrantedBandwidth', - 'uint32_t', - []) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetGrantedBandwidthTemp() [member function] - cls.add_method('GetGrantedBandwidthTemp', - 'uint32_t', - []) - ## service-flow-record.h: ns3::Time ns3::ServiceFlowRecord::GetLastGrantTime() const [member function] - cls.add_method('GetLastGrantTime', - 'ns3::Time', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetPktsRcvd() const [member function] - cls.add_method('GetPktsRcvd', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetPktsSent() const [member function] - cls.add_method('GetPktsSent', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetRequestedBandwidth() [member function] - cls.add_method('GetRequestedBandwidth', - 'uint32_t', - []) - ## service-flow-record.h: void ns3::ServiceFlowRecord::IncreaseBacklogged(uint32_t backlogged) [member function] - cls.add_method('IncreaseBacklogged', - 'void', - [param('uint32_t', 'backlogged')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::IncreaseBackloggedTemp(uint32_t backloggedTemp) [member function] - cls.add_method('IncreaseBackloggedTemp', - 'void', - [param('uint32_t', 'backloggedTemp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBacklogged(uint32_t backlogged) [member function] - cls.add_method('SetBacklogged', - 'void', - [param('uint32_t', 'backlogged')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBackloggedTemp(uint32_t backloggedTemp) [member function] - cls.add_method('SetBackloggedTemp', - 'void', - [param('uint32_t', 'backloggedTemp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBwSinceLastExpiry(uint32_t bwSinceLastExpiry) [member function] - cls.add_method('SetBwSinceLastExpiry', - 'void', - [param('uint32_t', 'bwSinceLastExpiry')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBytesRcvd(uint32_t bytesRcvd) [member function] - cls.add_method('SetBytesRcvd', - 'void', - [param('uint32_t', 'bytesRcvd')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBytesSent(uint32_t bytesSent) [member function] - cls.add_method('SetBytesSent', - 'void', - [param('uint32_t', 'bytesSent')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetDlTimeStamp(ns3::Time dlTimeStamp) [member function] - cls.add_method('SetDlTimeStamp', - 'void', - [param('ns3::Time', 'dlTimeStamp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetGrantSize(uint32_t grantSize) [member function] - cls.add_method('SetGrantSize', - 'void', - [param('uint32_t', 'grantSize')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetGrantTimeStamp(ns3::Time grantTimeStamp) [member function] - cls.add_method('SetGrantTimeStamp', - 'void', - [param('ns3::Time', 'grantTimeStamp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetGrantedBandwidth(uint32_t grantedBandwidth) [member function] - cls.add_method('SetGrantedBandwidth', - 'void', - [param('uint32_t', 'grantedBandwidth')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetGrantedBandwidthTemp(uint32_t grantedBandwidthTemp) [member function] - cls.add_method('SetGrantedBandwidthTemp', - 'void', - [param('uint32_t', 'grantedBandwidthTemp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetLastGrantTime(ns3::Time grantTime) [member function] - cls.add_method('SetLastGrantTime', - 'void', - [param('ns3::Time', 'grantTime')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetPktsRcvd(uint32_t pktsRcvd) [member function] - cls.add_method('SetPktsRcvd', - 'void', - [param('uint32_t', 'pktsRcvd')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetPktsSent(uint32_t pktsSent) [member function] - cls.add_method('SetPktsSent', - 'void', - [param('uint32_t', 'pktsSent')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetRequestedBandwidth(uint32_t requestedBandwidth) [member function] - cls.add_method('SetRequestedBandwidth', - 'void', - [param('uint32_t', 'requestedBandwidth')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateBwSinceLastExpiry(uint32_t bwSinceLastExpiry) [member function] - cls.add_method('UpdateBwSinceLastExpiry', - 'void', - [param('uint32_t', 'bwSinceLastExpiry')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateBytesRcvd(uint32_t bytesRcvd) [member function] - cls.add_method('UpdateBytesRcvd', - 'void', - [param('uint32_t', 'bytesRcvd')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateBytesSent(uint32_t bytesSent) [member function] - cls.add_method('UpdateBytesSent', - 'void', - [param('uint32_t', 'bytesSent')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateGrantedBandwidth(uint32_t grantedBandwidth) [member function] - cls.add_method('UpdateGrantedBandwidth', - 'void', - [param('uint32_t', 'grantedBandwidth')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateGrantedBandwidthTemp(uint32_t grantedBandwidthTemp) [member function] - cls.add_method('UpdateGrantedBandwidthTemp', - 'void', - [param('uint32_t', 'grantedBandwidthTemp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdatePktsRcvd(uint32_t pktsRcvd) [member function] - cls.add_method('UpdatePktsRcvd', - 'void', - [param('uint32_t', 'pktsRcvd')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdatePktsSent(uint32_t pktsSent) [member function] - cls.add_method('UpdatePktsSent', - 'void', - [param('uint32_t', 'pktsSent')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateRequestedBandwidth(uint32_t requestedBandwidth) [member function] - cls.add_method('UpdateRequestedBandwidth', - 'void', - [param('uint32_t', 'requestedBandwidth')]) - return - -def register_Ns3TlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::TlvValue::TlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::TlvValue::TlvValue(ns3::TlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::TlvValue * ns3::TlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::TlvValue *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::TlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLen) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLen')], - is_pure_virtual=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::TlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::TlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3TosTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::TosTlvValue::TosTlvValue(ns3::TosTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TosTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::TosTlvValue::TosTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::TosTlvValue::TosTlvValue(uint8_t arg0, uint8_t arg1, uint8_t arg2) [constructor] - cls.add_constructor([param('uint8_t', 'arg0'), param('uint8_t', 'arg1'), param('uint8_t', 'arg2')]) - ## wimax-tlv.h: ns3::TosTlvValue * ns3::TosTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::TosTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::TosTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - ## wimax-tlv.h: uint8_t ns3::TosTlvValue::GetHigh() const [member function] - cls.add_method('GetHigh', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: uint8_t ns3::TosTlvValue::GetLow() const [member function] - cls.add_method('GetLow', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: uint8_t ns3::TosTlvValue::GetMask() const [member function] - cls.add_method('GetMask', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::TosTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::TosTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3U16TlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::U16TlvValue::U16TlvValue(ns3::U16TlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::U16TlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::U16TlvValue::U16TlvValue(uint16_t value) [constructor] - cls.add_constructor([param('uint16_t', 'value')]) - ## wimax-tlv.h: ns3::U16TlvValue::U16TlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::U16TlvValue * ns3::U16TlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::U16TlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U16TlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLen) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLen')], - is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U16TlvValue::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')]) - ## wimax-tlv.h: uint32_t ns3::U16TlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint16_t ns3::U16TlvValue::GetValue() const [member function] - cls.add_method('GetValue', - 'uint16_t', - [], - is_const=True) - ## wimax-tlv.h: void ns3::U16TlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3U32TlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::U32TlvValue::U32TlvValue(ns3::U32TlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::U32TlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::U32TlvValue::U32TlvValue(uint32_t value) [constructor] - cls.add_constructor([param('uint32_t', 'value')]) - ## wimax-tlv.h: ns3::U32TlvValue::U32TlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::U32TlvValue * ns3::U32TlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::U32TlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U32TlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLen) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLen')], - is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U32TlvValue::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')]) - ## wimax-tlv.h: uint32_t ns3::U32TlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U32TlvValue::GetValue() const [member function] - cls.add_method('GetValue', - 'uint32_t', - [], - is_const=True) - ## wimax-tlv.h: void ns3::U32TlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3U8TlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::U8TlvValue::U8TlvValue(ns3::U8TlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::U8TlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::U8TlvValue::U8TlvValue(uint8_t value) [constructor] - cls.add_constructor([param('uint8_t', 'value')]) - ## wimax-tlv.h: ns3::U8TlvValue::U8TlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::U8TlvValue * ns3::U8TlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::U8TlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U8TlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLen) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLen')], - is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U8TlvValue::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')]) - ## wimax-tlv.h: uint32_t ns3::U8TlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint8_t ns3::U8TlvValue::GetValue() const [member function] - cls.add_method('GetValue', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: void ns3::U8TlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3UcdChannelEncodings_methods(root_module, cls): - ## ul-mac-messages.h: ns3::UcdChannelEncodings::UcdChannelEncodings(ns3::UcdChannelEncodings const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UcdChannelEncodings const &', 'arg0')]) - ## ul-mac-messages.h: ns3::UcdChannelEncodings::UcdChannelEncodings() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: uint16_t ns3::UcdChannelEncodings::GetBwReqOppSize() const [member function] - cls.add_method('GetBwReqOppSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint32_t ns3::UcdChannelEncodings::GetFrequency() const [member function] - cls.add_method('GetFrequency', - 'uint32_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::UcdChannelEncodings::GetRangReqOppSize() const [member function] - cls.add_method('GetRangReqOppSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::UcdChannelEncodings::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::UcdChannelEncodings::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## ul-mac-messages.h: void ns3::UcdChannelEncodings::SetBwReqOppSize(uint16_t bwReqOppSize) [member function] - cls.add_method('SetBwReqOppSize', - 'void', - [param('uint16_t', 'bwReqOppSize')]) - ## ul-mac-messages.h: void ns3::UcdChannelEncodings::SetFrequency(uint32_t frequency) [member function] - cls.add_method('SetFrequency', - 'void', - [param('uint32_t', 'frequency')]) - ## ul-mac-messages.h: void ns3::UcdChannelEncodings::SetRangReqOppSize(uint16_t rangReqOppSize) [member function] - cls.add_method('SetRangReqOppSize', - 'void', - [param('uint16_t', 'rangReqOppSize')]) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::UcdChannelEncodings::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::UcdChannelEncodings::DoRead(ns3::Buffer::Iterator start) [member function] - cls.add_method('DoRead', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::UcdChannelEncodings::DoWrite(ns3::Buffer::Iterator start) const [member function] - cls.add_method('DoWrite', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3VectorTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::VectorTlvValue::VectorTlvValue(ns3::VectorTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::VectorTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::VectorTlvValue::VectorTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: void ns3::VectorTlvValue::Add(ns3::Tlv const & val) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Tlv const &', 'val')]) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::VectorTlvValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Tlv * const *, std::vector< ns3::Tlv * > >', - [], - is_const=True) - ## wimax-tlv.h: ns3::VectorTlvValue * ns3::VectorTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::VectorTlvValue *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::VectorTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_pure_virtual=True, is_virtual=True) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::VectorTlvValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Tlv * const *, std::vector< ns3::Tlv * > >', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::VectorTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::VectorTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3WimaxHelper_methods(root_module, cls): - ## wimax-helper.h: ns3::WimaxHelper::WimaxHelper(ns3::WimaxHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxHelper const &', 'arg0')]) - ## wimax-helper.h: ns3::WimaxHelper::WimaxHelper() [constructor] - cls.add_constructor([]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreateBSScheduler(ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('CreateBSScheduler', - 'ns3::Ptr< ns3::BSScheduler >', - [param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreatePhy(ns3::WimaxHelper::PhyType phyType) [member function] - cls.add_method('CreatePhy', - 'ns3::Ptr< ns3::WimaxPhy >', - [param('ns3::WimaxHelper::PhyType', 'phyType')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreatePhy(ns3::WimaxHelper::PhyType phyType, char * SNRTraceFilePath, bool activateLoss) [member function] - cls.add_method('CreatePhy', - 'ns3::Ptr< ns3::WimaxPhy >', - [param('ns3::WimaxHelper::PhyType', 'phyType'), param('char *', 'SNRTraceFilePath'), param('bool', 'activateLoss')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreatePhyWithoutChannel(ns3::WimaxHelper::PhyType phyType) [member function] - cls.add_method('CreatePhyWithoutChannel', - 'ns3::Ptr< ns3::WimaxPhy >', - [param('ns3::WimaxHelper::PhyType', 'phyType')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreatePhyWithoutChannel(ns3::WimaxHelper::PhyType phyType, char * SNRTraceFilePath, bool activateLoss) [member function] - cls.add_method('CreatePhyWithoutChannel', - 'ns3::Ptr< ns3::WimaxPhy >', - [param('ns3::WimaxHelper::PhyType', 'phyType'), param('char *', 'SNRTraceFilePath'), param('bool', 'activateLoss')]) - ## wimax-helper.h: ns3::ServiceFlow ns3::WimaxHelper::CreateServiceFlow(ns3::ServiceFlow::Direction direction, ns3::ServiceFlow::SchedulingType schedulinType, ns3::IpcsClassifierRecord classifier) [member function] - cls.add_method('CreateServiceFlow', - 'ns3::ServiceFlow', - [param('ns3::ServiceFlow::Direction', 'direction'), param('ns3::ServiceFlow::SchedulingType', 'schedulinType'), param('ns3::IpcsClassifierRecord', 'classifier')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreateUplinkScheduler(ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('CreateUplinkScheduler', - 'ns3::Ptr< ns3::UplinkScheduler >', - [param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: static void ns3::WimaxHelper::EnableAsciiForConnection(ns3::Ptr oss, uint32_t nodeid, uint32_t deviceid, char * netdevice, char * connection) [member function] - cls.add_method('EnableAsciiForConnection', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'oss'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('char *', 'netdevice'), param('char *', 'connection')], - is_static=True) - ## wimax-helper.h: static void ns3::WimaxHelper::EnableLogComponents() [member function] - cls.add_method('EnableLogComponents', - 'void', - [], - is_static=True) - ## wimax-helper.h: ns3::NetDeviceContainer ns3::WimaxHelper::Install(ns3::NodeContainer c, ns3::WimaxHelper::NetDeviceType type, ns3::WimaxHelper::PhyType phyType, ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::WimaxHelper::NetDeviceType', 'type'), param('ns3::WimaxHelper::PhyType', 'phyType'), param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: ns3::NetDeviceContainer ns3::WimaxHelper::Install(ns3::NodeContainer c, ns3::WimaxHelper::NetDeviceType deviceType, ns3::WimaxHelper::PhyType phyType, ns3::Ptr channel, ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::WimaxHelper::NetDeviceType', 'deviceType'), param('ns3::WimaxHelper::PhyType', 'phyType'), param('ns3::Ptr< ns3::WimaxChannel >', 'channel'), param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: ns3::NetDeviceContainer ns3::WimaxHelper::Install(ns3::NodeContainer c, ns3::WimaxHelper::NetDeviceType deviceType, ns3::WimaxHelper::PhyType phyType, ns3::WimaxHelper::SchedulerType schedulerType, double frameDuration) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::WimaxHelper::NetDeviceType', 'deviceType'), param('ns3::WimaxHelper::PhyType', 'phyType'), param('ns3::WimaxHelper::SchedulerType', 'schedulerType'), param('double', 'frameDuration')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::Install(ns3::Ptr node, ns3::WimaxHelper::NetDeviceType deviceType, ns3::WimaxHelper::PhyType phyType, ns3::Ptr channel, ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::WimaxNetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::WimaxHelper::NetDeviceType', 'deviceType'), param('ns3::WimaxHelper::PhyType', 'phyType'), param('ns3::Ptr< ns3::WimaxChannel >', 'channel'), param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: void ns3::WimaxHelper::SetPropagationLossModel(ns3::SimpleOfdmWimaxChannel::PropModel propagationModel) [member function] - cls.add_method('SetPropagationLossModel', - 'void', - [param('ns3::SimpleOfdmWimaxChannel::PropModel', 'propagationModel')]) - ## wimax-helper.h: void ns3::WimaxHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## wimax-helper.h: void ns3::WimaxHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool explicitFilename, bool promiscuous) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename'), param('bool', 'promiscuous')], - visibility='private', is_virtual=True) - return - -def register_Ns3SimpleOfdmSendParam_methods(root_module, cls): - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam::simpleOfdmSendParam(ns3::simpleOfdmSendParam const & arg0) [copy constructor] - cls.add_constructor([param('ns3::simpleOfdmSendParam const &', 'arg0')]) - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam::simpleOfdmSendParam() [constructor] - cls.add_constructor([]) - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam::simpleOfdmSendParam(ns3::bvec const & fecBlock, uint32_t burstSize, bool isFirstBlock, uint64_t Frequency, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPowerDbm) [constructor] - cls.add_constructor([param('ns3::bvec const &', 'fecBlock'), param('uint32_t', 'burstSize'), param('bool', 'isFirstBlock'), param('uint64_t', 'Frequency'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction'), param('double', 'rxPowerDbm')]) - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam::simpleOfdmSendParam(uint32_t burstSize, bool isFirstBlock, uint64_t Frequency, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPowerDbm, ns3::Ptr burst) [constructor] - cls.add_constructor([param('uint32_t', 'burstSize'), param('bool', 'isFirstBlock'), param('uint64_t', 'Frequency'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction'), param('double', 'rxPowerDbm'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-send-param.h: ns3::Ptr ns3::simpleOfdmSendParam::GetBurst() [member function] - cls.add_method('GetBurst', - 'ns3::Ptr< ns3::PacketBurst >', - []) - ## simple-ofdm-send-param.h: uint32_t ns3::simpleOfdmSendParam::GetBurstSize() [member function] - cls.add_method('GetBurstSize', - 'uint32_t', - []) - ## simple-ofdm-send-param.h: uint8_t ns3::simpleOfdmSendParam::GetDirection() [member function] - cls.add_method('GetDirection', - 'uint8_t', - []) - ## simple-ofdm-send-param.h: ns3::bvec ns3::simpleOfdmSendParam::GetFecBlock() [member function] - cls.add_method('GetFecBlock', - 'ns3::bvec', - []) - ## simple-ofdm-send-param.h: uint64_t ns3::simpleOfdmSendParam::GetFrequency() [member function] - cls.add_method('GetFrequency', - 'uint64_t', - []) - ## simple-ofdm-send-param.h: bool ns3::simpleOfdmSendParam::GetIsFirstBlock() [member function] - cls.add_method('GetIsFirstBlock', - 'bool', - []) - ## simple-ofdm-send-param.h: ns3::WimaxPhy::ModulationType ns3::simpleOfdmSendParam::GetModulationType() [member function] - cls.add_method('GetModulationType', - 'ns3::WimaxPhy::ModulationType', - []) - ## simple-ofdm-send-param.h: double ns3::simpleOfdmSendParam::GetRxPowerDbm() [member function] - cls.add_method('GetRxPowerDbm', - 'double', - []) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetBurstSize(uint32_t burstSize) [member function] - cls.add_method('SetBurstSize', - 'void', - [param('uint32_t', 'burstSize')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetDirection(uint8_t direction) [member function] - cls.add_method('SetDirection', - 'void', - [param('uint8_t', 'direction')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetFecBlock(ns3::bvec const & fecBlock) [member function] - cls.add_method('SetFecBlock', - 'void', - [param('ns3::bvec const &', 'fecBlock')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetFrequency(uint64_t Frequency) [member function] - cls.add_method('SetFrequency', - 'void', - [param('uint64_t', 'Frequency')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetIsFirstBlock(bool isFirstBlock) [member function] - cls.add_method('SetIsFirstBlock', - 'void', - [param('bool', 'isFirstBlock')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetModulationType(ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('SetModulationType', - 'void', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetRxPowerDbm(double rxPowerDbm) [member function] - cls.add_method('SetRxPowerDbm', - 'void', - [param('double', 'rxPowerDbm')]) - return - -def register_Ns3ClassificationRuleVectorTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue::ClassificationRuleVectorTlvValue(ns3::ClassificationRuleVectorTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ClassificationRuleVectorTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue::ClassificationRuleVectorTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue * ns3::ClassificationRuleVectorTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::ClassificationRuleVectorTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::ClassificationRuleVectorTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - return - -def register_Ns3CsParamVectorTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::CsParamVectorTlvValue::CsParamVectorTlvValue(ns3::CsParamVectorTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsParamVectorTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::CsParamVectorTlvValue::CsParamVectorTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::CsParamVectorTlvValue * ns3::CsParamVectorTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::CsParamVectorTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::CsParamVectorTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - return - -def register_Ns3Ipv4AddressTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::Ipv4AddressTlvValue(ns3::Ipv4AddressTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::Ipv4AddressTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: void ns3::Ipv4AddressTlvValue::Add(ns3::Ipv4Address address, ns3::Ipv4Mask Mask) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'Mask')]) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::Ipv4AddressTlvValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ipv4AddressTlvValue::ipv4Addr const *, std::vector< ns3::Ipv4AddressTlvValue::ipv4Addr > >', - [], - is_const=True) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue * ns3::Ipv4AddressTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4AddressTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::Ipv4AddressTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::Ipv4AddressTlvValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ipv4AddressTlvValue::ipv4Addr const *, std::vector< ns3::Ipv4AddressTlvValue::ipv4Addr > >', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::Ipv4AddressTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::Ipv4AddressTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv4AddressTlvValueIpv4Addr_methods(root_module, cls): - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr::ipv4Addr() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr::ipv4Addr(ns3::Ipv4AddressTlvValue::ipv4Addr const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressTlvValue::ipv4Addr const &', 'arg0')]) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr::Address [variable] - cls.add_instance_attribute('Address', 'ns3::Ipv4Address', is_const=False) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr::Mask [variable] - cls.add_instance_attribute('Mask', 'ns3::Ipv4Mask', is_const=False) - return - -def register_Ns3MacHeaderType_methods(root_module, cls): - ## wimax-mac-header.h: ns3::MacHeaderType::MacHeaderType(ns3::MacHeaderType const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacHeaderType const &', 'arg0')]) - ## wimax-mac-header.h: ns3::MacHeaderType::MacHeaderType() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: ns3::MacHeaderType::MacHeaderType(uint8_t type) [constructor] - cls.add_constructor([param('uint8_t', 'type')]) - ## wimax-mac-header.h: uint32_t ns3::MacHeaderType::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: ns3::TypeId ns3::MacHeaderType::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: std::string ns3::MacHeaderType::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::MacHeaderType::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::MacHeaderType::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::MacHeaderType::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::MacHeaderType::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::MacHeaderType::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::MacHeaderType::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3ManagementMessageType_methods(root_module, cls): - ## mac-messages.h: ns3::ManagementMessageType::ManagementMessageType(ns3::ManagementMessageType const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ManagementMessageType const &', 'arg0')]) - ## mac-messages.h: ns3::ManagementMessageType::ManagementMessageType() [constructor] - cls.add_constructor([]) - ## mac-messages.h: ns3::ManagementMessageType::ManagementMessageType(uint8_t type) [constructor] - cls.add_constructor([param('uint8_t', 'type')]) - ## mac-messages.h: uint32_t ns3::ManagementMessageType::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: ns3::TypeId ns3::ManagementMessageType::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: std::string ns3::ManagementMessageType::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::ManagementMessageType::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: uint8_t ns3::ManagementMessageType::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::ManagementMessageType::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::ManagementMessageType::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::ManagementMessageType::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::ManagementMessageType::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3OfdmDownlinkFramePrefix_methods(root_module, cls): - ## ofdm-downlink-frame-prefix.h: ns3::OfdmDownlinkFramePrefix::OfdmDownlinkFramePrefix(ns3::OfdmDownlinkFramePrefix const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmDownlinkFramePrefix const &', 'arg0')]) - ## ofdm-downlink-frame-prefix.h: ns3::OfdmDownlinkFramePrefix::OfdmDownlinkFramePrefix() [constructor] - cls.add_constructor([]) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::AddDlFramePrefixElement(ns3::DlFramePrefixIe dlFramePrefixElement) [member function] - cls.add_method('AddDlFramePrefixElement', - 'void', - [param('ns3::DlFramePrefixIe', 'dlFramePrefixElement')]) - ## ofdm-downlink-frame-prefix.h: uint32_t ns3::OfdmDownlinkFramePrefix::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ofdm-downlink-frame-prefix.h: ns3::Mac48Address ns3::OfdmDownlinkFramePrefix::GetBaseStationId() const [member function] - cls.add_method('GetBaseStationId', - 'ns3::Mac48Address', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::OfdmDownlinkFramePrefix::GetConfigurationChangeCount() const [member function] - cls.add_method('GetConfigurationChangeCount', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: std::vector > ns3::OfdmDownlinkFramePrefix::GetDlFramePrefixElements() const [member function] - cls.add_method('GetDlFramePrefixElements', - 'std::vector< ns3::DlFramePrefixIe >', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint32_t ns3::OfdmDownlinkFramePrefix::GetFrameNumber() const [member function] - cls.add_method('GetFrameNumber', - 'uint32_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::OfdmDownlinkFramePrefix::GetHcs() const [member function] - cls.add_method('GetHcs', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: std::string ns3::OfdmDownlinkFramePrefix::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint32_t ns3::OfdmDownlinkFramePrefix::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::SetBaseStationId(ns3::Mac48Address baseStationId) [member function] - cls.add_method('SetBaseStationId', - 'void', - [param('ns3::Mac48Address', 'baseStationId')]) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::SetConfigurationChangeCount(uint8_t configurationChangeCount) [member function] - cls.add_method('SetConfigurationChangeCount', - 'void', - [param('uint8_t', 'configurationChangeCount')]) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::SetFrameNumber(uint32_t frameNumber) [member function] - cls.add_method('SetFrameNumber', - 'void', - [param('uint32_t', 'frameNumber')]) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::SetHcs(uint8_t hcs) [member function] - cls.add_method('SetHcs', - 'void', - [param('uint8_t', 'hcs')]) - return - -def register_Ns3OfdmSendParams_methods(root_module, cls): - ## send-params.h: ns3::OfdmSendParams::OfdmSendParams(ns3::OfdmSendParams const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmSendParams const &', 'arg0')]) - ## send-params.h: ns3::OfdmSendParams::OfdmSendParams(ns3::Ptr burst, uint8_t modulationType, uint8_t direction) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::PacketBurst >', 'burst'), param('uint8_t', 'modulationType'), param('uint8_t', 'direction')]) - ## send-params.h: ns3::Ptr ns3::OfdmSendParams::GetBurst() const [member function] - cls.add_method('GetBurst', - 'ns3::Ptr< ns3::PacketBurst >', - [], - is_const=True) - ## send-params.h: uint8_t ns3::OfdmSendParams::GetDirection() const [member function] - cls.add_method('GetDirection', - 'uint8_t', - [], - is_const=True) - ## send-params.h: uint8_t ns3::OfdmSendParams::GetModulationType() const [member function] - cls.add_method('GetModulationType', - 'uint8_t', - [], - is_const=True) - return - -def register_Ns3OfdmUcdChannelEncodings_methods(root_module, cls): - ## ul-mac-messages.h: ns3::OfdmUcdChannelEncodings::OfdmUcdChannelEncodings(ns3::OfdmUcdChannelEncodings const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmUcdChannelEncodings const &', 'arg0')]) - ## ul-mac-messages.h: ns3::OfdmUcdChannelEncodings::OfdmUcdChannelEncodings() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: uint8_t ns3::OfdmUcdChannelEncodings::GetSbchnlFocContCodes() const [member function] - cls.add_method('GetSbchnlFocContCodes', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUcdChannelEncodings::GetSbchnlReqRegionFullParams() const [member function] - cls.add_method('GetSbchnlReqRegionFullParams', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUcdChannelEncodings::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: void ns3::OfdmUcdChannelEncodings::SetSbchnlFocContCodes(uint8_t sbchnlFocContCodes) [member function] - cls.add_method('SetSbchnlFocContCodes', - 'void', - [param('uint8_t', 'sbchnlFocContCodes')]) - ## ul-mac-messages.h: void ns3::OfdmUcdChannelEncodings::SetSbchnlReqRegionFullParams(uint8_t sbchnlReqRegionFullParams) [member function] - cls.add_method('SetSbchnlReqRegionFullParams', - 'void', - [param('uint8_t', 'sbchnlReqRegionFullParams')]) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUcdChannelEncodings::DoRead(ns3::Buffer::Iterator start) [member function] - cls.add_method('DoRead', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - visibility='private', is_virtual=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUcdChannelEncodings::DoWrite(ns3::Buffer::Iterator start) const [member function] - cls.add_method('DoWrite', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3PortRangeTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRangeTlvValue(ns3::PortRangeTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PortRangeTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRangeTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: void ns3::PortRangeTlvValue::Add(uint16_t portLow, uint16_t portHigh) [member function] - cls.add_method('Add', - 'void', - [param('uint16_t', 'portLow'), param('uint16_t', 'portHigh')]) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::PortRangeTlvValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::PortRangeTlvValue::PortRange const *, std::vector< ns3::PortRangeTlvValue::PortRange > >', - [], - is_const=True) - ## wimax-tlv.h: ns3::PortRangeTlvValue * ns3::PortRangeTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::PortRangeTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::PortRangeTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::PortRangeTlvValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::PortRangeTlvValue::PortRange const *, std::vector< ns3::PortRangeTlvValue::PortRange > >', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::PortRangeTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::PortRangeTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3PortRangeTlvValuePortRange_methods(root_module, cls): - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange::PortRange() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange::PortRange(ns3::PortRangeTlvValue::PortRange const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PortRangeTlvValue::PortRange const &', 'arg0')]) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange::PortHigh [variable] - cls.add_instance_attribute('PortHigh', 'uint16_t', is_const=False) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange::PortLow [variable] - cls.add_instance_attribute('PortLow', 'uint16_t', is_const=False) - return - -def register_Ns3PriorityUlJob_methods(root_module, cls): - ## ul-job.h: ns3::PriorityUlJob::PriorityUlJob(ns3::PriorityUlJob const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PriorityUlJob const &', 'arg0')]) - ## ul-job.h: ns3::PriorityUlJob::PriorityUlJob() [constructor] - cls.add_constructor([]) - ## ul-job.h: int ns3::PriorityUlJob::GetPriority() [member function] - cls.add_method('GetPriority', - 'int', - []) - ## ul-job.h: ns3::Ptr ns3::PriorityUlJob::GetUlJob() [member function] - cls.add_method('GetUlJob', - 'ns3::Ptr< ns3::UlJob >', - []) - ## ul-job.h: void ns3::PriorityUlJob::SetPriority(int priority) [member function] - cls.add_method('SetPriority', - 'void', - [param('int', 'priority')]) - ## ul-job.h: void ns3::PriorityUlJob::SetUlJob(ns3::Ptr job) [member function] - cls.add_method('SetUlJob', - 'void', - [param('ns3::Ptr< ns3::UlJob >', 'job')]) - return - -def register_Ns3ProtocolTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::ProtocolTlvValue::ProtocolTlvValue(ns3::ProtocolTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ProtocolTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::ProtocolTlvValue::ProtocolTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: void ns3::ProtocolTlvValue::Add(uint8_t protiocol) [member function] - cls.add_method('Add', - 'void', - [param('uint8_t', 'protiocol')]) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::ProtocolTlvValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< unsigned char const *, std::vector< unsigned char > >', - [], - is_const=True) - ## wimax-tlv.h: ns3::ProtocolTlvValue * ns3::ProtocolTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::ProtocolTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::ProtocolTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::ProtocolTlvValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< unsigned char const *, std::vector< unsigned char > >', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::ProtocolTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::ProtocolTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3RngReq_methods(root_module, cls): - ## mac-messages.h: ns3::RngReq::RngReq(ns3::RngReq const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RngReq const &', 'arg0')]) - ## mac-messages.h: ns3::RngReq::RngReq() [constructor] - cls.add_constructor([]) - ## mac-messages.h: uint32_t ns3::RngReq::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: ns3::TypeId ns3::RngReq::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: ns3::Mac48Address ns3::RngReq::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac-messages.h: std::string ns3::RngReq::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngReq::GetRangingAnomalies() const [member function] - cls.add_method('GetRangingAnomalies', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngReq::GetReqDlBurstProfile() const [member function] - cls.add_method('GetReqDlBurstProfile', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngReq::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: static ns3::TypeId ns3::RngReq::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::RngReq::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::RngReq::PrintDebug() const [member function] - cls.add_method('PrintDebug', - 'void', - [], - is_const=True) - ## mac-messages.h: void ns3::RngReq::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::RngReq::SetMacAddress(ns3::Mac48Address macAddress) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Mac48Address', 'macAddress')]) - ## mac-messages.h: void ns3::RngReq::SetRangingAnomalies(uint8_t rangingAnomalies) [member function] - cls.add_method('SetRangingAnomalies', - 'void', - [param('uint8_t', 'rangingAnomalies')]) - ## mac-messages.h: void ns3::RngReq::SetReqDlBurstProfile(uint8_t reqDlBurstProfile) [member function] - cls.add_method('SetReqDlBurstProfile', - 'void', - [param('uint8_t', 'reqDlBurstProfile')]) - return - -def register_Ns3RngRsp_methods(root_module, cls): - ## mac-messages.h: ns3::RngRsp::RngRsp(ns3::RngRsp const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RngRsp const &', 'arg0')]) - ## mac-messages.h: ns3::RngRsp::RngRsp() [constructor] - cls.add_constructor([]) - ## mac-messages.h: uint32_t ns3::RngRsp::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetAasBdcastPermission() const [member function] - cls.add_method('GetAasBdcastPermission', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: ns3::Cid ns3::RngRsp::GetBasicCid() const [member function] - cls.add_method('GetBasicCid', - 'ns3::Cid', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetDlFreqOverride() const [member function] - cls.add_method('GetDlFreqOverride', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint16_t ns3::RngRsp::GetDlOperBurstProfile() const [member function] - cls.add_method('GetDlOperBurstProfile', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetFrameNumber() const [member function] - cls.add_method('GetFrameNumber', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetInitRangOppNumber() const [member function] - cls.add_method('GetInitRangOppNumber', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: ns3::TypeId ns3::RngRsp::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: ns3::Mac48Address ns3::RngRsp::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac-messages.h: std::string ns3::RngRsp::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetOffsetFreqAdjust() const [member function] - cls.add_method('GetOffsetFreqAdjust', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetPowerLevelAdjust() const [member function] - cls.add_method('GetPowerLevelAdjust', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: ns3::Cid ns3::RngRsp::GetPrimaryCid() const [member function] - cls.add_method('GetPrimaryCid', - 'ns3::Cid', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetRangStatus() const [member function] - cls.add_method('GetRangStatus', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetRangSubchnl() const [member function] - cls.add_method('GetRangSubchnl', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetTimingAdjust() const [member function] - cls.add_method('GetTimingAdjust', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::RngRsp::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetUlChnlIdOverride() const [member function] - cls.add_method('GetUlChnlIdOverride', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: void ns3::RngRsp::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::RngRsp::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::RngRsp::SetAasBdcastPermission(uint8_t aasBdcastPermission) [member function] - cls.add_method('SetAasBdcastPermission', - 'void', - [param('uint8_t', 'aasBdcastPermission')]) - ## mac-messages.h: void ns3::RngRsp::SetBasicCid(ns3::Cid basicCid) [member function] - cls.add_method('SetBasicCid', - 'void', - [param('ns3::Cid', 'basicCid')]) - ## mac-messages.h: void ns3::RngRsp::SetDlFreqOverride(uint32_t dlFreqOverride) [member function] - cls.add_method('SetDlFreqOverride', - 'void', - [param('uint32_t', 'dlFreqOverride')]) - ## mac-messages.h: void ns3::RngRsp::SetDlOperBurstProfile(uint16_t dlOperBurstProfile) [member function] - cls.add_method('SetDlOperBurstProfile', - 'void', - [param('uint16_t', 'dlOperBurstProfile')]) - ## mac-messages.h: void ns3::RngRsp::SetFrameNumber(uint32_t frameNumber) [member function] - cls.add_method('SetFrameNumber', - 'void', - [param('uint32_t', 'frameNumber')]) - ## mac-messages.h: void ns3::RngRsp::SetInitRangOppNumber(uint8_t initRangOppNumber) [member function] - cls.add_method('SetInitRangOppNumber', - 'void', - [param('uint8_t', 'initRangOppNumber')]) - ## mac-messages.h: void ns3::RngRsp::SetMacAddress(ns3::Mac48Address macAddress) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Mac48Address', 'macAddress')]) - ## mac-messages.h: void ns3::RngRsp::SetOffsetFreqAdjust(uint32_t offsetFreqAdjust) [member function] - cls.add_method('SetOffsetFreqAdjust', - 'void', - [param('uint32_t', 'offsetFreqAdjust')]) - ## mac-messages.h: void ns3::RngRsp::SetPowerLevelAdjust(uint8_t powerLevelAdjust) [member function] - cls.add_method('SetPowerLevelAdjust', - 'void', - [param('uint8_t', 'powerLevelAdjust')]) - ## mac-messages.h: void ns3::RngRsp::SetPrimaryCid(ns3::Cid primaryCid) [member function] - cls.add_method('SetPrimaryCid', - 'void', - [param('ns3::Cid', 'primaryCid')]) - ## mac-messages.h: void ns3::RngRsp::SetRangStatus(uint8_t rangStatus) [member function] - cls.add_method('SetRangStatus', - 'void', - [param('uint8_t', 'rangStatus')]) - ## mac-messages.h: void ns3::RngRsp::SetRangSubchnl(uint8_t rangSubchnl) [member function] - cls.add_method('SetRangSubchnl', - 'void', - [param('uint8_t', 'rangSubchnl')]) - ## mac-messages.h: void ns3::RngRsp::SetTimingAdjust(uint32_t timingAdjust) [member function] - cls.add_method('SetTimingAdjust', - 'void', - [param('uint32_t', 'timingAdjust')]) - ## mac-messages.h: void ns3::RngRsp::SetUlChnlIdOverride(uint8_t ulChnlIdOverride) [member function] - cls.add_method('SetUlChnlIdOverride', - 'void', - [param('uint8_t', 'ulChnlIdOverride')]) - return - -def register_Ns3SSManager_methods(root_module, cls): - ## ss-manager.h: ns3::SSManager::SSManager(ns3::SSManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SSManager const &', 'arg0')]) - ## ss-manager.h: ns3::SSManager::SSManager() [constructor] - cls.add_constructor([]) - ## ss-manager.h: ns3::SSRecord * ns3::SSManager::CreateSSRecord(ns3::Mac48Address const & macAddress) [member function] - cls.add_method('CreateSSRecord', - 'ns3::SSRecord *', - [param('ns3::Mac48Address const &', 'macAddress')]) - ## ss-manager.h: void ns3::SSManager::DeleteSSRecord(ns3::Cid cid) [member function] - cls.add_method('DeleteSSRecord', - 'void', - [param('ns3::Cid', 'cid')]) - ## ss-manager.h: ns3::Mac48Address ns3::SSManager::GetMacAddress(ns3::Cid cid) const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [param('ns3::Cid', 'cid')], - is_const=True) - ## ss-manager.h: uint32_t ns3::SSManager::GetNRegisteredSSs() const [member function] - cls.add_method('GetNRegisteredSSs', - 'uint32_t', - [], - is_const=True) - ## ss-manager.h: uint32_t ns3::SSManager::GetNSSs() const [member function] - cls.add_method('GetNSSs', - 'uint32_t', - [], - is_const=True) - ## ss-manager.h: ns3::SSRecord * ns3::SSManager::GetSSRecord(ns3::Mac48Address const & macAddress) const [member function] - cls.add_method('GetSSRecord', - 'ns3::SSRecord *', - [param('ns3::Mac48Address const &', 'macAddress')], - is_const=True) - ## ss-manager.h: ns3::SSRecord * ns3::SSManager::GetSSRecord(ns3::Cid cid) const [member function] - cls.add_method('GetSSRecord', - 'ns3::SSRecord *', - [param('ns3::Cid', 'cid')], - is_const=True) - ## ss-manager.h: std::vector > * ns3::SSManager::GetSSRecords() const [member function] - cls.add_method('GetSSRecords', - 'std::vector< ns3::SSRecord * > *', - [], - is_const=True) - ## ss-manager.h: bool ns3::SSManager::IsInRecord(ns3::Mac48Address const & macAddress) const [member function] - cls.add_method('IsInRecord', - 'bool', - [param('ns3::Mac48Address const &', 'macAddress')], - is_const=True) - ## ss-manager.h: bool ns3::SSManager::IsRegistered(ns3::Mac48Address const & macAddress) const [member function] - cls.add_method('IsRegistered', - 'bool', - [param('ns3::Mac48Address const &', 'macAddress')], - is_const=True) - return - -def register_Ns3ServiceFlowManager_methods(root_module, cls): - ## service-flow-manager.h: ns3::ServiceFlowManager::ServiceFlowManager(ns3::ServiceFlowManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ServiceFlowManager const &', 'arg0')]) - ## service-flow-manager.h: ns3::ServiceFlowManager::ServiceFlowManager() [constructor] - cls.add_constructor([]) - ## service-flow-manager.h: void ns3::ServiceFlowManager::AddServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## service-flow-manager.h: bool ns3::ServiceFlowManager::AreServiceFlowsAllocated() [member function] - cls.add_method('AreServiceFlowsAllocated', - 'bool', - []) - ## service-flow-manager.h: bool ns3::ServiceFlowManager::AreServiceFlowsAllocated(std::vector > * serviceFlows) [member function] - cls.add_method('AreServiceFlowsAllocated', - 'bool', - [param('std::vector< ns3::ServiceFlow * > *', 'serviceFlows')]) - ## service-flow-manager.h: bool ns3::ServiceFlowManager::AreServiceFlowsAllocated(std::vector > serviceFlows) [member function] - cls.add_method('AreServiceFlowsAllocated', - 'bool', - [param('std::vector< ns3::ServiceFlow * >', 'serviceFlows')]) - ## service-flow-manager.h: ns3::ServiceFlow * ns3::ServiceFlowManager::DoClassify(ns3::Ipv4Address SrcAddress, ns3::Ipv4Address DstAddress, uint16_t SrcPort, uint16_t DstPort, uint8_t Proto, ns3::ServiceFlow::Direction dir) const [member function] - cls.add_method('DoClassify', - 'ns3::ServiceFlow *', - [param('ns3::Ipv4Address', 'SrcAddress'), param('ns3::Ipv4Address', 'DstAddress'), param('uint16_t', 'SrcPort'), param('uint16_t', 'DstPort'), param('uint8_t', 'Proto'), param('ns3::ServiceFlow::Direction', 'dir')], - is_const=True) - ## service-flow-manager.h: void ns3::ServiceFlowManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## service-flow-manager.h: ns3::ServiceFlow * ns3::ServiceFlowManager::GetNextServiceFlowToAllocate() [member function] - cls.add_method('GetNextServiceFlowToAllocate', - 'ns3::ServiceFlow *', - []) - ## service-flow-manager.h: uint32_t ns3::ServiceFlowManager::GetNrServiceFlows() const [member function] - cls.add_method('GetNrServiceFlows', - 'uint32_t', - [], - is_const=True) - ## service-flow-manager.h: ns3::ServiceFlow * ns3::ServiceFlowManager::GetServiceFlow(uint32_t sfid) const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [param('uint32_t', 'sfid')], - is_const=True) - ## service-flow-manager.h: ns3::ServiceFlow * ns3::ServiceFlowManager::GetServiceFlow(ns3::Cid cid) const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [param('ns3::Cid', 'cid')], - is_const=True) - ## service-flow-manager.h: std::vector > ns3::ServiceFlowManager::GetServiceFlows(ns3::ServiceFlow::SchedulingType schedulingType) const [member function] - cls.add_method('GetServiceFlows', - 'std::vector< ns3::ServiceFlow * >', - [param('ns3::ServiceFlow::SchedulingType', 'schedulingType')], - is_const=True) - return - -def register_Ns3SfVectorTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::SfVectorTlvValue::SfVectorTlvValue(ns3::SfVectorTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SfVectorTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::SfVectorTlvValue::SfVectorTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::SfVectorTlvValue * ns3::SfVectorTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::SfVectorTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::SfVectorTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - return - -def register_Ns3SsServiceFlowManager_methods(root_module, cls): - ## ss-service-flow-manager.h: ns3::SsServiceFlowManager::SsServiceFlowManager(ns3::SsServiceFlowManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SsServiceFlowManager const &', 'arg0')]) - ## ss-service-flow-manager.h: ns3::SsServiceFlowManager::SsServiceFlowManager(ns3::Ptr device) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SubscriberStationNetDevice >', 'device')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::AddServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::AddServiceFlow(ns3::ServiceFlow serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'serviceFlow')]) - ## ss-service-flow-manager.h: ns3::Ptr ns3::SsServiceFlowManager::CreateDsaAck() [member function] - cls.add_method('CreateDsaAck', - 'ns3::Ptr< ns3::Packet >', - []) - ## ss-service-flow-manager.h: ns3::DsaReq ns3::SsServiceFlowManager::CreateDsaReq(ns3::ServiceFlow const * serviceFlow) [member function] - cls.add_method('CreateDsaReq', - 'ns3::DsaReq', - [param('ns3::ServiceFlow const *', 'serviceFlow')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## ss-service-flow-manager.h: ns3::EventId ns3::SsServiceFlowManager::GetDsaAckTimeoutEvent() const [member function] - cls.add_method('GetDsaAckTimeoutEvent', - 'ns3::EventId', - [], - is_const=True) - ## ss-service-flow-manager.h: ns3::EventId ns3::SsServiceFlowManager::GetDsaRspTimeoutEvent() const [member function] - cls.add_method('GetDsaRspTimeoutEvent', - 'ns3::EventId', - [], - is_const=True) - ## ss-service-flow-manager.h: uint8_t ns3::SsServiceFlowManager::GetMaxDsaReqRetries() const [member function] - cls.add_method('GetMaxDsaReqRetries', - 'uint8_t', - [], - is_const=True) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::InitiateServiceFlows() [member function] - cls.add_method('InitiateServiceFlows', - 'void', - []) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::ProcessDsaRsp(ns3::DsaRsp const & dsaRsp) [member function] - cls.add_method('ProcessDsaRsp', - 'void', - [param('ns3::DsaRsp const &', 'dsaRsp')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::ScheduleDsaReq(ns3::ServiceFlow const * serviceFlow) [member function] - cls.add_method('ScheduleDsaReq', - 'void', - [param('ns3::ServiceFlow const *', 'serviceFlow')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::SetMaxDsaReqRetries(uint8_t maxDsaReqRetries) [member function] - cls.add_method('SetMaxDsaReqRetries', - 'void', - [param('uint8_t', 'maxDsaReqRetries')]) - return - -def register_Ns3Tlv_methods(root_module, cls): - ## wimax-tlv.h: ns3::Tlv::Tlv(uint8_t type, uint64_t length, ns3::TlvValue const & value) [constructor] - cls.add_constructor([param('uint8_t', 'type'), param('uint64_t', 'length'), param('ns3::TlvValue const &', 'value')]) - ## wimax-tlv.h: ns3::Tlv::Tlv() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::Tlv::Tlv(ns3::Tlv const & tlv) [copy constructor] - cls.add_constructor([param('ns3::Tlv const &', 'tlv')]) - ## wimax-tlv.h: ns3::Tlv * ns3::Tlv::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Tlv *', - [], - is_const=True) - ## wimax-tlv.h: ns3::TlvValue * ns3::Tlv::CopyValue() const [member function] - cls.add_method('CopyValue', - 'ns3::TlvValue *', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::Tlv::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-tlv.h: ns3::TypeId ns3::Tlv::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint64_t ns3::Tlv::GetLength() const [member function] - cls.add_method('GetLength', - 'uint64_t', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::Tlv::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint8_t ns3::Tlv::GetSizeOfLen() const [member function] - cls.add_method('GetSizeOfLen', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: uint8_t ns3::Tlv::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: ns3::TlvValue * ns3::Tlv::PeekValue() [member function] - cls.add_method('PeekValue', - 'ns3::TlvValue *', - []) - ## wimax-tlv.h: void ns3::Tlv::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::Tlv::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ucd_methods(root_module, cls): - ## ul-mac-messages.h: ns3::Ucd::Ucd(ns3::Ucd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ucd const &', 'arg0')]) - ## ul-mac-messages.h: ns3::Ucd::Ucd() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: void ns3::Ucd::AddUlBurstProfile(ns3::OfdmUlBurstProfile ulBurstProfile) [member function] - cls.add_method('AddUlBurstProfile', - 'void', - [param('ns3::OfdmUlBurstProfile', 'ulBurstProfile')]) - ## ul-mac-messages.h: uint32_t ns3::Ucd::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ul-mac-messages.h: ns3::OfdmUcdChannelEncodings ns3::Ucd::GetChannelEncodings() const [member function] - cls.add_method('GetChannelEncodings', - 'ns3::OfdmUcdChannelEncodings', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetConfigurationChangeCount() const [member function] - cls.add_method('GetConfigurationChangeCount', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::TypeId ns3::Ucd::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: std::string ns3::Ucd::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetNrUlBurstProfiles() const [member function] - cls.add_method('GetNrUlBurstProfiles', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetRangingBackoffEnd() const [member function] - cls.add_method('GetRangingBackoffEnd', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetRangingBackoffStart() const [member function] - cls.add_method('GetRangingBackoffStart', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetRequestBackoffEnd() const [member function] - cls.add_method('GetRequestBackoffEnd', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetRequestBackoffStart() const [member function] - cls.add_method('GetRequestBackoffStart', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint32_t ns3::Ucd::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: static ns3::TypeId ns3::Ucd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ul-mac-messages.h: std::vector > ns3::Ucd::GetUlBurstProfiles() const [member function] - cls.add_method('GetUlBurstProfiles', - 'std::vector< ns3::OfdmUlBurstProfile >', - [], - is_const=True) - ## ul-mac-messages.h: void ns3::Ucd::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: void ns3::Ucd::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: void ns3::Ucd::SetChannelEncodings(ns3::OfdmUcdChannelEncodings channelEncodings) [member function] - cls.add_method('SetChannelEncodings', - 'void', - [param('ns3::OfdmUcdChannelEncodings', 'channelEncodings')]) - ## ul-mac-messages.h: void ns3::Ucd::SetConfigurationChangeCount(uint8_t ucdCount) [member function] - cls.add_method('SetConfigurationChangeCount', - 'void', - [param('uint8_t', 'ucdCount')]) - ## ul-mac-messages.h: void ns3::Ucd::SetNrUlBurstProfiles(uint8_t nrUlBurstProfiles) [member function] - cls.add_method('SetNrUlBurstProfiles', - 'void', - [param('uint8_t', 'nrUlBurstProfiles')]) - ## ul-mac-messages.h: void ns3::Ucd::SetRangingBackoffEnd(uint8_t rangingBackoffEnd) [member function] - cls.add_method('SetRangingBackoffEnd', - 'void', - [param('uint8_t', 'rangingBackoffEnd')]) - ## ul-mac-messages.h: void ns3::Ucd::SetRangingBackoffStart(uint8_t rangingBackoffStart) [member function] - cls.add_method('SetRangingBackoffStart', - 'void', - [param('uint8_t', 'rangingBackoffStart')]) - ## ul-mac-messages.h: void ns3::Ucd::SetRequestBackoffEnd(uint8_t requestBackoffEnd) [member function] - cls.add_method('SetRequestBackoffEnd', - 'void', - [param('uint8_t', 'requestBackoffEnd')]) - ## ul-mac-messages.h: void ns3::Ucd::SetRequestBackoffStart(uint8_t requestBackoffStart) [member function] - cls.add_method('SetRequestBackoffStart', - 'void', - [param('uint8_t', 'requestBackoffStart')]) - return - -def register_Ns3UlJob_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## ul-job.h: ns3::UlJob::UlJob(ns3::UlJob const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UlJob const &', 'arg0')]) - ## ul-job.h: ns3::UlJob::UlJob() [constructor] - cls.add_constructor([]) - ## ul-job.h: ns3::Time ns3::UlJob::GetDeadline() [member function] - cls.add_method('GetDeadline', - 'ns3::Time', - []) - ## ul-job.h: ns3::Time ns3::UlJob::GetPeriod() [member function] - cls.add_method('GetPeriod', - 'ns3::Time', - []) - ## ul-job.h: ns3::Time ns3::UlJob::GetReleaseTime() [member function] - cls.add_method('GetReleaseTime', - 'ns3::Time', - []) - ## ul-job.h: ns3::ServiceFlow::SchedulingType ns3::UlJob::GetSchedulingType() [member function] - cls.add_method('GetSchedulingType', - 'ns3::ServiceFlow::SchedulingType', - []) - ## ul-job.h: ns3::ServiceFlow * ns3::UlJob::GetServiceFlow() [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - []) - ## ul-job.h: uint32_t ns3::UlJob::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - []) - ## ul-job.h: ns3::SSRecord * ns3::UlJob::GetSsRecord() [member function] - cls.add_method('GetSsRecord', - 'ns3::SSRecord *', - []) - ## ul-job.h: ns3::ReqType ns3::UlJob::GetType() [member function] - cls.add_method('GetType', - 'ns3::ReqType', - []) - ## ul-job.h: void ns3::UlJob::SetDeadline(ns3::Time deadline) [member function] - cls.add_method('SetDeadline', - 'void', - [param('ns3::Time', 'deadline')]) - ## ul-job.h: void ns3::UlJob::SetPeriod(ns3::Time period) [member function] - cls.add_method('SetPeriod', - 'void', - [param('ns3::Time', 'period')]) - ## ul-job.h: void ns3::UlJob::SetReleaseTime(ns3::Time releaseTime) [member function] - cls.add_method('SetReleaseTime', - 'void', - [param('ns3::Time', 'releaseTime')]) - ## ul-job.h: void ns3::UlJob::SetSchedulingType(ns3::ServiceFlow::SchedulingType schedulingType) [member function] - cls.add_method('SetSchedulingType', - 'void', - [param('ns3::ServiceFlow::SchedulingType', 'schedulingType')]) - ## ul-job.h: void ns3::UlJob::SetServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## ul-job.h: void ns3::UlJob::SetSize(uint32_t size) [member function] - cls.add_method('SetSize', - 'void', - [param('uint32_t', 'size')]) - ## ul-job.h: void ns3::UlJob::SetSsRecord(ns3::SSRecord * ssRecord) [member function] - cls.add_method('SetSsRecord', - 'void', - [param('ns3::SSRecord *', 'ssRecord')]) - ## ul-job.h: void ns3::UlJob::SetType(ns3::ReqType type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::ReqType', 'type')]) - return - -def register_Ns3UlMap_methods(root_module, cls): - ## ul-mac-messages.h: ns3::UlMap::UlMap(ns3::UlMap const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UlMap const &', 'arg0')]) - ## ul-mac-messages.h: ns3::UlMap::UlMap() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: void ns3::UlMap::AddUlMapElement(ns3::OfdmUlMapIe ulMapElement) [member function] - cls.add_method('AddUlMapElement', - 'void', - [param('ns3::OfdmUlMapIe', 'ulMapElement')]) - ## ul-mac-messages.h: uint32_t ns3::UlMap::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ul-mac-messages.h: uint32_t ns3::UlMap::GetAllocationStartTime() const [member function] - cls.add_method('GetAllocationStartTime', - 'uint32_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::TypeId ns3::UlMap::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: std::string ns3::UlMap::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## ul-mac-messages.h: uint32_t ns3::UlMap::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: static ns3::TypeId ns3::UlMap::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ul-mac-messages.h: uint8_t ns3::UlMap::GetUcdCount() const [member function] - cls.add_method('GetUcdCount', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: std::list > ns3::UlMap::GetUlMapElements() const [member function] - cls.add_method('GetUlMapElements', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True) - ## ul-mac-messages.h: void ns3::UlMap::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: void ns3::UlMap::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: void ns3::UlMap::SetAllocationStartTime(uint32_t allocationStartTime) [member function] - cls.add_method('SetAllocationStartTime', - 'void', - [param('uint32_t', 'allocationStartTime')]) - ## ul-mac-messages.h: void ns3::UlMap::SetUcdCount(uint8_t ucdCount) [member function] - cls.add_method('SetUcdCount', - 'void', - [param('uint8_t', 'ucdCount')]) - return - -def register_Ns3UplinkScheduler_methods(root_module, cls): - ## bs-uplink-scheduler.h: ns3::UplinkScheduler::UplinkScheduler(ns3::UplinkScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UplinkScheduler const &', 'arg0')]) - ## bs-uplink-scheduler.h: ns3::UplinkScheduler::UplinkScheduler() [constructor] - cls.add_constructor([]) - ## bs-uplink-scheduler.h: ns3::UplinkScheduler::UplinkScheduler(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::AddUplinkAllocation(ns3::OfdmUlMapIe & ulMapIe, uint32_t const & allocationSize, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AddUplinkAllocation', - 'void', - [param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('uint32_t const &', 'allocationSize'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::AllocateInitialRangingInterval(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AllocateInitialRangingInterval', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: uint32_t ns3::UplinkScheduler::CalculateAllocationStartTime() [member function] - cls.add_method('CalculateAllocationStartTime', - 'uint32_t', - [], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: ns3::Ptr ns3::UplinkScheduler::GetBs() [member function] - cls.add_method('GetBs', - 'ns3::Ptr< ns3::BaseStationNetDevice >', - [], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::GetChannelDescriptorsToUpdate(bool & arg0, bool & arg1, bool & arg2, bool & arg3) [member function] - cls.add_method('GetChannelDescriptorsToUpdate', - 'void', - [param('bool &', 'arg0'), param('bool &', 'arg1'), param('bool &', 'arg2'), param('bool &', 'arg3')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: ns3::Time ns3::UplinkScheduler::GetDcdTimeStamp() const [member function] - cls.add_method('GetDcdTimeStamp', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: bool ns3::UplinkScheduler::GetIsInvIrIntrvlAllocated() const [member function] - cls.add_method('GetIsInvIrIntrvlAllocated', - 'bool', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: bool ns3::UplinkScheduler::GetIsIrIntrvlAllocated() const [member function] - cls.add_method('GetIsIrIntrvlAllocated', - 'bool', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: uint8_t ns3::UplinkScheduler::GetNrIrOppsAllocated() const [member function] - cls.add_method('GetNrIrOppsAllocated', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: ns3::Time ns3::UplinkScheduler::GetTimeStampIrInterval() [member function] - cls.add_method('GetTimeStampIrInterval', - 'ns3::Time', - [], - is_virtual=True) - ## bs-uplink-scheduler.h: static ns3::TypeId ns3::UplinkScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-uplink-scheduler.h: ns3::Time ns3::UplinkScheduler::GetUcdTimeStamp() const [member function] - cls.add_method('GetUcdTimeStamp', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: std::list > ns3::UplinkScheduler::GetUplinkAllocations() const [member function] - cls.add_method('GetUplinkAllocations', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::InitOnce() [member function] - cls.add_method('InitOnce', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::OnSetRequestedBandwidth(ns3::ServiceFlowRecord * sfr) [member function] - cls.add_method('OnSetRequestedBandwidth', - 'void', - [param('ns3::ServiceFlowRecord *', 'sfr')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::ProcessBandwidthRequest(ns3::BandwidthRequestHeader const & bwRequestHdr) [member function] - cls.add_method('ProcessBandwidthRequest', - 'void', - [param('ns3::BandwidthRequestHeader const &', 'bwRequestHdr')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::ServiceBandwidthRequests(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: bool ns3::UplinkScheduler::ServiceBandwidthRequests(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::ServiceUnsolicitedGrants(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceUnsolicitedGrants', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetBs(ns3::Ptr bs) [member function] - cls.add_method('SetBs', - 'void', - [param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetDcdTimeStamp(ns3::Time dcdTimeStamp) [member function] - cls.add_method('SetDcdTimeStamp', - 'void', - [param('ns3::Time', 'dcdTimeStamp')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetIsInvIrIntrvlAllocated(bool isInvIrIntrvlAllocated) [member function] - cls.add_method('SetIsInvIrIntrvlAllocated', - 'void', - [param('bool', 'isInvIrIntrvlAllocated')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetIsIrIntrvlAllocated(bool isIrIntrvlAllocated) [member function] - cls.add_method('SetIsIrIntrvlAllocated', - 'void', - [param('bool', 'isIrIntrvlAllocated')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetNrIrOppsAllocated(uint8_t nrIrOppsAllocated) [member function] - cls.add_method('SetNrIrOppsAllocated', - 'void', - [param('uint8_t', 'nrIrOppsAllocated')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetTimeStampIrInterval(ns3::Time timeStampIrInterval) [member function] - cls.add_method('SetTimeStampIrInterval', - 'void', - [param('ns3::Time', 'timeStampIrInterval')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetUcdTimeStamp(ns3::Time ucdTimeStamp) [member function] - cls.add_method('SetUcdTimeStamp', - 'void', - [param('ns3::Time', 'ucdTimeStamp')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetupServiceFlow(ns3::SSRecord * ssRecord, ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetupServiceFlow', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow *', 'serviceFlow')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UplinkSchedulerMBQoS_methods(root_module, cls): - ## bs-uplink-scheduler-mbqos.h: ns3::UplinkSchedulerMBQoS::UplinkSchedulerMBQoS(ns3::UplinkSchedulerMBQoS const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UplinkSchedulerMBQoS const &', 'arg0')]) - ## bs-uplink-scheduler-mbqos.h: ns3::UplinkSchedulerMBQoS::UplinkSchedulerMBQoS() [constructor] - cls.add_constructor([]) - ## bs-uplink-scheduler-mbqos.h: ns3::UplinkSchedulerMBQoS::UplinkSchedulerMBQoS(ns3::Time time) [constructor] - cls.add_constructor([param('ns3::Time', 'time')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::AddUplinkAllocation(ns3::OfdmUlMapIe & ulMapIe, uint32_t const & allocationSize, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AddUplinkAllocation', - 'void', - [param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('uint32_t const &', 'allocationSize'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AllocateInitialRangingInterval', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: uint32_t ns3::UplinkSchedulerMBQoS::CalculateAllocationStartTime() [member function] - cls.add_method('CalculateAllocationStartTime', - 'uint32_t', - [], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::CheckDeadline(uint32_t & availableSymbols) [member function] - cls.add_method('CheckDeadline', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::CheckMinimumBandwidth(uint32_t & availableSymbols) [member function] - cls.add_method('CheckMinimumBandwidth', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-uplink-scheduler-mbqos.h: uint32_t ns3::UplinkSchedulerMBQoS::CountSymbolsJobs(ns3::Ptr job) [member function] - cls.add_method('CountSymbolsJobs', - 'uint32_t', - [param('ns3::Ptr< ns3::UlJob >', 'job')]) - ## bs-uplink-scheduler-mbqos.h: uint32_t ns3::UplinkSchedulerMBQoS::CountSymbolsQueue(std::list, std::allocator > > jobs) [member function] - cls.add_method('CountSymbolsQueue', - 'uint32_t', - [param('std::list< ns3::Ptr< ns3::UlJob > >', 'jobs')]) - ## bs-uplink-scheduler-mbqos.h: ns3::Ptr ns3::UplinkSchedulerMBQoS::CreateUlJob(ns3::SSRecord * ssRecord, ns3::ServiceFlow::SchedulingType schedType, ns3::ReqType reqType) [member function] - cls.add_method('CreateUlJob', - 'ns3::Ptr< ns3::UlJob >', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedType'), param('ns3::ReqType', 'reqType')]) - ## bs-uplink-scheduler-mbqos.h: ns3::Ptr ns3::UplinkSchedulerMBQoS::DequeueJob(ns3::UlJob::JobPriority priority) [member function] - cls.add_method('DequeueJob', - 'ns3::Ptr< ns3::UlJob >', - [param('ns3::UlJob::JobPriority', 'priority')]) - ## bs-uplink-scheduler-mbqos.h: ns3::Time ns3::UplinkSchedulerMBQoS::DetermineDeadline(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('DetermineDeadline', - 'ns3::Time', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::EnqueueJob(ns3::UlJob::JobPriority priority, ns3::Ptr job) [member function] - cls.add_method('EnqueueJob', - 'void', - [param('ns3::UlJob::JobPriority', 'priority'), param('ns3::Ptr< ns3::UlJob >', 'job')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::GetChannelDescriptorsToUpdate(bool & arg0, bool & arg1, bool & arg2, bool & arg3) [member function] - cls.add_method('GetChannelDescriptorsToUpdate', - 'void', - [param('bool &', 'arg0'), param('bool &', 'arg1'), param('bool &', 'arg2'), param('bool &', 'arg3')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: uint32_t ns3::UplinkSchedulerMBQoS::GetPendingSize(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('GetPendingSize', - 'uint32_t', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## bs-uplink-scheduler-mbqos.h: static ns3::TypeId ns3::UplinkSchedulerMBQoS::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-uplink-scheduler-mbqos.h: std::list > ns3::UplinkSchedulerMBQoS::GetUplinkAllocations() const [member function] - cls.add_method('GetUplinkAllocations', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::InitOnce() [member function] - cls.add_method('InitOnce', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::OnSetRequestedBandwidth(ns3::ServiceFlowRecord * sfr) [member function] - cls.add_method('OnSetRequestedBandwidth', - 'void', - [param('ns3::ServiceFlowRecord *', 'sfr')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::ProcessBandwidthRequest(ns3::BandwidthRequestHeader const & bwRequestHdr) [member function] - cls.add_method('ProcessBandwidthRequest', - 'void', - [param('ns3::BandwidthRequestHeader const &', 'bwRequestHdr')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequests(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: bool ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequests(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: bool ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequestsBytes(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols, uint32_t allocationSizeBytes) [member function] - cls.add_method('ServiceBandwidthRequestsBytes', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols'), param('uint32_t', 'allocationSizeBytes')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceUnsolicitedGrants', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::SetupServiceFlow(ns3::SSRecord * ssRecord, ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetupServiceFlow', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow *', 'serviceFlow')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::UplinkSchedWindowTimer() [member function] - cls.add_method('UplinkSchedWindowTimer', - 'void', - []) - return - -def register_Ns3UplinkSchedulerRtps_methods(root_module, cls): - ## bs-uplink-scheduler-rtps.h: ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(ns3::UplinkSchedulerRtps const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UplinkSchedulerRtps const &', 'arg0')]) - ## bs-uplink-scheduler-rtps.h: ns3::UplinkSchedulerRtps::UplinkSchedulerRtps() [constructor] - cls.add_constructor([]) - ## bs-uplink-scheduler-rtps.h: ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::AddUplinkAllocation(ns3::OfdmUlMapIe & ulMapIe, uint32_t const & allocationSize, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AddUplinkAllocation', - 'void', - [param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('uint32_t const &', 'allocationSize'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AllocateInitialRangingInterval', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: uint32_t ns3::UplinkSchedulerRtps::CalculateAllocationStartTime() [member function] - cls.add_method('CalculateAllocationStartTime', - 'uint32_t', - [], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::GetChannelDescriptorsToUpdate(bool & arg0, bool & arg1, bool & arg2, bool & arg3) [member function] - cls.add_method('GetChannelDescriptorsToUpdate', - 'void', - [param('bool &', 'arg0'), param('bool &', 'arg1'), param('bool &', 'arg2'), param('bool &', 'arg3')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: static ns3::TypeId ns3::UplinkSchedulerRtps::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-uplink-scheduler-rtps.h: std::list > ns3::UplinkSchedulerRtps::GetUplinkAllocations() const [member function] - cls.add_method('GetUplinkAllocations', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::InitOnce() [member function] - cls.add_method('InitOnce', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::OnSetRequestedBandwidth(ns3::ServiceFlowRecord * sfr) [member function] - cls.add_method('OnSetRequestedBandwidth', - 'void', - [param('ns3::ServiceFlowRecord *', 'sfr')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::ProcessBandwidthRequest(ns3::BandwidthRequestHeader const & bwRequestHdr) [member function] - cls.add_method('ProcessBandwidthRequest', - 'void', - [param('ns3::BandwidthRequestHeader const &', 'bwRequestHdr')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::ServiceBandwidthRequests(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: bool ns3::UplinkSchedulerRtps::ServiceBandwidthRequests(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceUnsolicitedGrants', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::SetupServiceFlow(ns3::SSRecord * ssRecord, ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetupServiceFlow', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow *', 'serviceFlow')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::ULSchedulerRTPSConnection(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ULSchedulerRTPSConnection', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')]) - return - -def register_Ns3UplinkSchedulerSimple_methods(root_module, cls): - ## bs-uplink-scheduler-simple.h: ns3::UplinkSchedulerSimple::UplinkSchedulerSimple(ns3::UplinkSchedulerSimple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UplinkSchedulerSimple const &', 'arg0')]) - ## bs-uplink-scheduler-simple.h: ns3::UplinkSchedulerSimple::UplinkSchedulerSimple() [constructor] - cls.add_constructor([]) - ## bs-uplink-scheduler-simple.h: ns3::UplinkSchedulerSimple::UplinkSchedulerSimple(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::AddUplinkAllocation(ns3::OfdmUlMapIe & ulMapIe, uint32_t const & allocationSize, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AddUplinkAllocation', - 'void', - [param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('uint32_t const &', 'allocationSize'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AllocateInitialRangingInterval', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: uint32_t ns3::UplinkSchedulerSimple::CalculateAllocationStartTime() [member function] - cls.add_method('CalculateAllocationStartTime', - 'uint32_t', - [], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::GetChannelDescriptorsToUpdate(bool & arg0, bool & arg1, bool & arg2, bool & arg3) [member function] - cls.add_method('GetChannelDescriptorsToUpdate', - 'void', - [param('bool &', 'arg0'), param('bool &', 'arg1'), param('bool &', 'arg2'), param('bool &', 'arg3')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: static ns3::TypeId ns3::UplinkSchedulerSimple::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-uplink-scheduler-simple.h: std::list > ns3::UplinkSchedulerSimple::GetUplinkAllocations() const [member function] - cls.add_method('GetUplinkAllocations', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::InitOnce() [member function] - cls.add_method('InitOnce', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::OnSetRequestedBandwidth(ns3::ServiceFlowRecord * sfr) [member function] - cls.add_method('OnSetRequestedBandwidth', - 'void', - [param('ns3::ServiceFlowRecord *', 'sfr')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::ProcessBandwidthRequest(ns3::BandwidthRequestHeader const & bwRequestHdr) [member function] - cls.add_method('ProcessBandwidthRequest', - 'void', - [param('ns3::BandwidthRequestHeader const &', 'bwRequestHdr')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::ServiceBandwidthRequests(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: bool ns3::UplinkSchedulerSimple::ServiceBandwidthRequests(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceUnsolicitedGrants', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::SetupServiceFlow(ns3::SSRecord * ssRecord, ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetupServiceFlow', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow *', 'serviceFlow')], - is_virtual=True) - return - -def register_Ns3WimaxConnection_methods(root_module, cls): - ## wimax-connection.h: ns3::WimaxConnection::WimaxConnection(ns3::WimaxConnection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxConnection const &', 'arg0')]) - ## wimax-connection.h: ns3::WimaxConnection::WimaxConnection(ns3::Cid cid, ns3::Cid::Type type) [constructor] - cls.add_constructor([param('ns3::Cid', 'cid'), param('ns3::Cid::Type', 'type')]) - ## wimax-connection.h: void ns3::WimaxConnection::ClearFragmentsQueue() [member function] - cls.add_method('ClearFragmentsQueue', - 'void', - []) - ## wimax-connection.h: ns3::Ptr ns3::WimaxConnection::Dequeue(ns3::MacHeaderType::HeaderType packetType=::ns3::MacHeaderType::HEADER_TYPE_GENERIC) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType', default_value='::ns3::MacHeaderType::HEADER_TYPE_GENERIC')]) - ## wimax-connection.h: ns3::Ptr ns3::WimaxConnection::Dequeue(ns3::MacHeaderType::HeaderType packetType, uint32_t availableByte) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType'), param('uint32_t', 'availableByte')]) - ## wimax-connection.h: bool ns3::WimaxConnection::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::GenericMacHeader const & hdr) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::GenericMacHeader const &', 'hdr')]) - ## wimax-connection.h: void ns3::WimaxConnection::FragmentEnqueue(ns3::Ptr fragment) [member function] - cls.add_method('FragmentEnqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'fragment')]) - ## wimax-connection.h: ns3::Cid ns3::WimaxConnection::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## wimax-connection.h: std::list, std::allocator > > const ns3::WimaxConnection::GetFragmentsQueue() const [member function] - cls.add_method('GetFragmentsQueue', - 'std::list< ns3::Ptr< ns3::Packet const > > const', - [], - is_const=True) - ## wimax-connection.h: ns3::Ptr ns3::WimaxConnection::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::WimaxMacQueue >', - [], - is_const=True) - ## wimax-connection.h: uint8_t ns3::WimaxConnection::GetSchedulingType() const [member function] - cls.add_method('GetSchedulingType', - 'uint8_t', - [], - is_const=True) - ## wimax-connection.h: ns3::ServiceFlow * ns3::WimaxConnection::GetServiceFlow() const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [], - is_const=True) - ## wimax-connection.h: ns3::Cid::Type ns3::WimaxConnection::GetType() const [member function] - cls.add_method('GetType', - 'ns3::Cid::Type', - [], - is_const=True) - ## wimax-connection.h: static ns3::TypeId ns3::WimaxConnection::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-connection.h: std::string ns3::WimaxConnection::GetTypeStr() const [member function] - cls.add_method('GetTypeStr', - 'std::string', - [], - is_const=True) - ## wimax-connection.h: bool ns3::WimaxConnection::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## wimax-connection.h: bool ns3::WimaxConnection::HasPackets(ns3::MacHeaderType::HeaderType packetType) const [member function] - cls.add_method('HasPackets', - 'bool', - [param('ns3::MacHeaderType::HeaderType', 'packetType')], - is_const=True) - ## wimax-connection.h: void ns3::WimaxConnection::SetServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## wimax-connection.h: void ns3::WimaxConnection::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3WimaxMacQueue_methods(root_module, cls): - ## wimax-mac-queue.h: ns3::WimaxMacQueue::WimaxMacQueue(ns3::WimaxMacQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxMacQueue const &', 'arg0')]) - ## wimax-mac-queue.h: ns3::WimaxMacQueue::WimaxMacQueue() [constructor] - cls.add_constructor([]) - ## wimax-mac-queue.h: ns3::WimaxMacQueue::WimaxMacQueue(uint32_t maxSize) [constructor] - cls.add_constructor([param('uint32_t', 'maxSize')]) - ## wimax-mac-queue.h: bool ns3::WimaxMacQueue::CheckForFragmentation(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('CheckForFragmentation', - 'bool', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Dequeue(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Dequeue(ns3::MacHeaderType::HeaderType packetType, uint32_t availableByte) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType'), param('uint32_t', 'availableByte')]) - ## wimax-mac-queue.h: bool ns3::WimaxMacQueue::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::GenericMacHeader const & hdr) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::GenericMacHeader const &', 'hdr')]) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetFirstPacketHdrSize(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('GetFirstPacketHdrSize', - 'uint32_t', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetFirstPacketPayloadSize(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('GetFirstPacketPayloadSize', - 'uint32_t', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetFirstPacketRequiredByte(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('GetFirstPacketRequiredByte', - 'uint32_t', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetMaxSize() const [member function] - cls.add_method('GetMaxSize', - 'uint32_t', - [], - is_const=True) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## wimax-mac-queue.h: std::deque > const & ns3::WimaxMacQueue::GetPacketQueue() const [member function] - cls.add_method('GetPacketQueue', - 'std::deque< ns3::WimaxMacQueue::QueueElement > const &', - [], - is_const=True) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetQueueLengthWithMACOverhead() [member function] - cls.add_method('GetQueueLengthWithMACOverhead', - 'uint32_t', - []) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## wimax-mac-queue.h: static ns3::TypeId ns3::WimaxMacQueue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-queue.h: bool ns3::WimaxMacQueue::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## wimax-mac-queue.h: bool ns3::WimaxMacQueue::IsEmpty(ns3::MacHeaderType::HeaderType packetType) const [member function] - cls.add_method('IsEmpty', - 'bool', - [param('ns3::MacHeaderType::HeaderType', 'packetType')], - is_const=True) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Peek(ns3::GenericMacHeader & hdr) const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::GenericMacHeader &', 'hdr')], - is_const=True) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Peek(ns3::GenericMacHeader & hdr, ns3::Time & timeStamp) const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::GenericMacHeader &', 'hdr'), param('ns3::Time &', 'timeStamp')], - is_const=True) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Peek(ns3::MacHeaderType::HeaderType packetType) const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType')], - is_const=True) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Peek(ns3::MacHeaderType::HeaderType packetType, ns3::Time & timeStamp) const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType'), param('ns3::Time &', 'timeStamp')], - is_const=True) - ## wimax-mac-queue.h: void ns3::WimaxMacQueue::SetFragmentNumber(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('SetFragmentNumber', - 'void', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: void ns3::WimaxMacQueue::SetFragmentOffset(ns3::MacHeaderType::HeaderType packetType, uint32_t offset) [member function] - cls.add_method('SetFragmentOffset', - 'void', - [param('ns3::MacHeaderType::HeaderType', 'packetType'), param('uint32_t', 'offset')]) - ## wimax-mac-queue.h: void ns3::WimaxMacQueue::SetFragmentation(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('SetFragmentation', - 'void', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: void ns3::WimaxMacQueue::SetMaxSize(uint32_t maxSize) [member function] - cls.add_method('SetMaxSize', - 'void', - [param('uint32_t', 'maxSize')]) - return - -def register_Ns3WimaxMacToMacHeader_methods(root_module, cls): - ## wimax-mac-to-mac-header.h: ns3::WimaxMacToMacHeader::WimaxMacToMacHeader(ns3::WimaxMacToMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxMacToMacHeader const &', 'arg0')]) - ## wimax-mac-to-mac-header.h: ns3::WimaxMacToMacHeader::WimaxMacToMacHeader() [constructor] - cls.add_constructor([]) - ## wimax-mac-to-mac-header.h: ns3::WimaxMacToMacHeader::WimaxMacToMacHeader(uint32_t len) [constructor] - cls.add_constructor([param('uint32_t', 'len')]) - ## wimax-mac-to-mac-header.h: uint32_t ns3::WimaxMacToMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-to-mac-header.h: ns3::TypeId ns3::WimaxMacToMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-to-mac-header.h: uint32_t ns3::WimaxMacToMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-to-mac-header.h: uint8_t ns3::WimaxMacToMacHeader::GetSizeOfLen() const [member function] - cls.add_method('GetSizeOfLen', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-to-mac-header.h: static ns3::TypeId ns3::WimaxMacToMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-to-mac-header.h: void ns3::WimaxMacToMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-to-mac-header.h: void ns3::WimaxMacToMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3WimaxPhy_methods(root_module, cls): - ## wimax-phy.h: ns3::WimaxPhy::WimaxPhy(ns3::WimaxPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxPhy const &', 'arg0')]) - ## wimax-phy.h: ns3::WimaxPhy::WimaxPhy() [constructor] - cls.add_constructor([]) - ## wimax-phy.h: void ns3::WimaxPhy::Attach(ns3::Ptr channel) [member function] - cls.add_method('Attach', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'channel')]) - ## wimax-phy.h: void ns3::WimaxPhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## wimax-phy.h: ns3::Ptr ns3::WimaxPhy::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::WimaxChannel >', - [], - is_const=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::GetChannelBandwidth() const [member function] - cls.add_method('GetChannelBandwidth', - 'uint32_t', - [], - is_const=True) - ## wimax-phy.h: ns3::EventId ns3::WimaxPhy::GetChnlSrchTimeoutEvent() const [member function] - cls.add_method('GetChnlSrchTimeoutEvent', - 'ns3::EventId', - [], - is_const=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::GetDataRate(ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('GetDataRate', - 'uint32_t', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True) - ## wimax-phy.h: ns3::Ptr ns3::WimaxPhy::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetFrameDuration() const [member function] - cls.add_method('GetFrameDuration', - 'ns3::Time', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetFrameDuration(uint8_t frameDurationCode) const [member function] - cls.add_method('GetFrameDuration', - 'ns3::Time', - [param('uint8_t', 'frameDurationCode')], - is_const=True) - ## wimax-phy.h: uint8_t ns3::WimaxPhy::GetFrameDurationCode() const [member function] - cls.add_method('GetFrameDurationCode', - 'uint8_t', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetFrameDurationSec() const [member function] - cls.add_method('GetFrameDurationSec', - 'ns3::Time', - [], - is_const=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::GetFrequency() const [member function] - cls.add_method('GetFrequency', - 'uint32_t', - [], - is_const=True) - ## wimax-phy.h: double ns3::WimaxPhy::GetGValue() const [member function] - cls.add_method('GetGValue', - 'double', - [], - is_const=True) - ## wimax-phy.h: ns3::Ptr ns3::WimaxPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetNfft() const [member function] - cls.add_method('GetNfft', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetNrBytes(uint32_t symbols, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('GetNrBytes', - 'uint64_t', - [param('uint32_t', 'symbols'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True) - ## wimax-phy.h: uint8_t ns3::WimaxPhy::GetNrCarriers() const [member function] - cls.add_method('GetNrCarriers', - 'uint8_t', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetNrSymbols(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('GetNrSymbols', - 'uint64_t', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True) - ## wimax-phy.h: ns3::WimaxPhy::PhyType ns3::WimaxPhy::GetPhyType() const [member function] - cls.add_method('GetPhyType', - 'ns3::WimaxPhy::PhyType', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetPsDuration() const [member function] - cls.add_method('GetPsDuration', - 'ns3::Time', - [], - is_const=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetPsPerFrame() const [member function] - cls.add_method('GetPsPerFrame', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetPsPerSymbol() const [member function] - cls.add_method('GetPsPerSymbol', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::WimaxPhy::GetReceiveCallback() const [member function] - cls.add_method('GetReceiveCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::PacketBurst const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetRtg() const [member function] - cls.add_method('GetRtg', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetRxFrequency() const [member function] - cls.add_method('GetRxFrequency', - 'uint64_t', - [], - is_const=True) - ## wimax-phy.h: double ns3::WimaxPhy::GetSamplingFactor() const [member function] - cls.add_method('GetSamplingFactor', - 'double', - [], - is_const=True) - ## wimax-phy.h: double ns3::WimaxPhy::GetSamplingFrequency() const [member function] - cls.add_method('GetSamplingFrequency', - 'double', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetScanningFrequency() const [member function] - cls.add_method('GetScanningFrequency', - 'uint64_t', - [], - is_const=True) - ## wimax-phy.h: ns3::WimaxPhy::PhyState ns3::WimaxPhy::GetState() const [member function] - cls.add_method('GetState', - 'ns3::WimaxPhy::PhyState', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetSymbolDuration() const [member function] - cls.add_method('GetSymbolDuration', - 'ns3::Time', - [], - is_const=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::GetSymbolsPerFrame() const [member function] - cls.add_method('GetSymbolsPerFrame', - 'uint32_t', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetTransmissionTime(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('GetTransmissionTime', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetTtg() const [member function] - cls.add_method('GetTtg', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetTxFrequency() const [member function] - cls.add_method('GetTxFrequency', - 'uint64_t', - [], - is_const=True) - ## wimax-phy.h: static ns3::TypeId ns3::WimaxPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-phy.h: bool ns3::WimaxPhy::IsDuplex() const [member function] - cls.add_method('IsDuplex', - 'bool', - [], - is_const=True) - ## wimax-phy.h: void ns3::WimaxPhy::Send(ns3::SendParams * params) [member function] - cls.add_method('Send', - 'void', - [param('ns3::SendParams *', 'params')], - is_pure_virtual=True, is_virtual=True) - ## wimax-phy.h: void ns3::WimaxPhy::SetChannelBandwidth(uint32_t channelBandwidth) [member function] - cls.add_method('SetChannelBandwidth', - 'void', - [param('uint32_t', 'channelBandwidth')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetDataRates() [member function] - cls.add_method('SetDataRates', - 'void', - []) - ## wimax-phy.h: void ns3::WimaxPhy::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::WimaxNetDevice >', 'device')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetDuplex(uint64_t rxFrequency, uint64_t txFrequency) [member function] - cls.add_method('SetDuplex', - 'void', - [param('uint64_t', 'rxFrequency'), param('uint64_t', 'txFrequency')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetFrameDuration(ns3::Time frameDuration) [member function] - cls.add_method('SetFrameDuration', - 'void', - [param('ns3::Time', 'frameDuration')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetFrequency(uint32_t frequency) [member function] - cls.add_method('SetFrequency', - 'void', - [param('uint32_t', 'frequency')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetMobility(ns3::Ptr mobility) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'mobility')], - is_virtual=True) - ## wimax-phy.h: void ns3::WimaxPhy::SetNrCarriers(uint8_t nrCarriers) [member function] - cls.add_method('SetNrCarriers', - 'void', - [param('uint8_t', 'nrCarriers')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetPhyParameters() [member function] - cls.add_method('SetPhyParameters', - 'void', - []) - ## wimax-phy.h: void ns3::WimaxPhy::SetPsDuration(ns3::Time psDuration) [member function] - cls.add_method('SetPsDuration', - 'void', - [param('ns3::Time', 'psDuration')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetPsPerFrame(uint16_t psPerFrame) [member function] - cls.add_method('SetPsPerFrame', - 'void', - [param('uint16_t', 'psPerFrame')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetPsPerSymbol(uint16_t psPerSymbol) [member function] - cls.add_method('SetPsPerSymbol', - 'void', - [param('uint16_t', 'psPerSymbol')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetReceiveCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::PacketBurst const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetScanningCallback() const [member function] - cls.add_method('SetScanningCallback', - 'void', - [], - is_const=True) - ## wimax-phy.h: void ns3::WimaxPhy::SetSimplex(uint64_t frequency) [member function] - cls.add_method('SetSimplex', - 'void', - [param('uint64_t', 'frequency')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetState(ns3::WimaxPhy::PhyState state) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::WimaxPhy::PhyState', 'state')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetSymbolDuration(ns3::Time symbolDuration) [member function] - cls.add_method('SetSymbolDuration', - 'void', - [param('ns3::Time', 'symbolDuration')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetSymbolsPerFrame(uint32_t symbolsPerFrame) [member function] - cls.add_method('SetSymbolsPerFrame', - 'void', - [param('uint32_t', 'symbolsPerFrame')]) - ## wimax-phy.h: void ns3::WimaxPhy::StartScanning(uint64_t frequency, ns3::Time timeout, ns3::Callback callback) [member function] - cls.add_method('StartScanning', - 'void', - [param('uint64_t', 'frequency'), param('ns3::Time', 'timeout'), param('ns3::Callback< void, bool, unsigned long long, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## wimax-phy.h: void ns3::WimaxPhy::DoAttach(ns3::Ptr channel) [member function] - cls.add_method('DoAttach', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'channel')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::DoGetDataRate(ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetDataRate', - 'uint32_t', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::DoGetFrameDuration(uint8_t frameDurationCode) const [member function] - cls.add_method('DoGetFrameDuration', - 'ns3::Time', - [param('uint8_t', 'frameDurationCode')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint8_t ns3::WimaxPhy::DoGetFrameDurationCode() const [member function] - cls.add_method('DoGetFrameDurationCode', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: double ns3::WimaxPhy::DoGetGValue() const [member function] - cls.add_method('DoGetGValue', - 'double', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::DoGetNfft() const [member function] - cls.add_method('DoGetNfft', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::DoGetNrBytes(uint32_t symbols, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetNrBytes', - 'uint64_t', - [param('uint32_t', 'symbols'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::DoGetNrSymbols(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetNrSymbols', - 'uint64_t', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::DoGetRtg() const [member function] - cls.add_method('DoGetRtg', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: double ns3::WimaxPhy::DoGetSamplingFactor() const [member function] - cls.add_method('DoGetSamplingFactor', - 'double', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: double ns3::WimaxPhy::DoGetSamplingFrequency() const [member function] - cls.add_method('DoGetSamplingFrequency', - 'double', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::DoGetTransmissionTime(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetTransmissionTime', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::DoGetTtg() const [member function] - cls.add_method('DoGetTtg', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: void ns3::WimaxPhy::DoSetDataRates() [member function] - cls.add_method('DoSetDataRates', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-phy.h: void ns3::WimaxPhy::DoSetPhyParameters() [member function] - cls.add_method('DoSetPhyParameters', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3BSScheduler_methods(root_module, cls): - ## bs-scheduler.h: ns3::BSScheduler::BSScheduler(ns3::BSScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BSScheduler const &', 'arg0')]) - ## bs-scheduler.h: ns3::BSScheduler::BSScheduler() [constructor] - cls.add_constructor([]) - ## bs-scheduler.h: ns3::BSScheduler::BSScheduler(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-scheduler.h: void ns3::BSScheduler::AddDownlinkBurst(ns3::Ptr connection, uint8_t diuc, ns3::WimaxPhy::ModulationType modulationType, ns3::Ptr burst) [member function] - cls.add_method('AddDownlinkBurst', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection const >', 'connection'), param('uint8_t', 'diuc'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')], - is_pure_virtual=True, is_virtual=True) - ## bs-scheduler.h: bool ns3::BSScheduler::CheckForFragmentation(ns3::Ptr connection, int availableSymbols, ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('CheckForFragmentation', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection >', 'connection'), param('int', 'availableSymbols'), param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## bs-scheduler.h: ns3::Ptr ns3::BSScheduler::CreateUgsBurst(ns3::ServiceFlow * serviceFlow, ns3::WimaxPhy::ModulationType modulationType, uint32_t availableSymbols) [member function] - cls.add_method('CreateUgsBurst', - 'ns3::Ptr< ns3::PacketBurst >', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint32_t', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-scheduler.h: ns3::Ptr ns3::BSScheduler::GetBs() [member function] - cls.add_method('GetBs', - 'ns3::Ptr< ns3::BaseStationNetDevice >', - [], - is_virtual=True) - ## bs-scheduler.h: std::list >,std::allocator > > > * ns3::BSScheduler::GetDownlinkBursts() const [member function] - cls.add_method('GetDownlinkBursts', - 'std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > > *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## bs-scheduler.h: static ns3::TypeId ns3::BSScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-scheduler.h: void ns3::BSScheduler::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## bs-scheduler.h: bool ns3::BSScheduler::SelectConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')], - is_pure_virtual=True, is_virtual=True) - ## bs-scheduler.h: void ns3::BSScheduler::SetBs(ns3::Ptr bs) [member function] - cls.add_method('SetBs', - 'void', - [param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')], - is_virtual=True) - return - -def register_Ns3BSSchedulerRtps_methods(root_module, cls): - ## bs-scheduler-rtps.h: ns3::BSSchedulerRtps::BSSchedulerRtps(ns3::BSSchedulerRtps const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BSSchedulerRtps const &', 'arg0')]) - ## bs-scheduler-rtps.h: ns3::BSSchedulerRtps::BSSchedulerRtps() [constructor] - cls.add_constructor([]) - ## bs-scheduler-rtps.h: ns3::BSSchedulerRtps::BSSchedulerRtps(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::AddDownlinkBurst(ns3::Ptr connection, uint8_t diuc, ns3::WimaxPhy::ModulationType modulationType, ns3::Ptr burst) [member function] - cls.add_method('AddDownlinkBurst', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection const >', 'connection'), param('uint8_t', 'diuc'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')], - is_virtual=True) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerBEConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerBEConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerBasicConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerBasicConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerBroadcastConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerBroadcastConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerInitialRangingConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerInitialRangingConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerNRTPSConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerNRTPSConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerPrimaryConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerPrimaryConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerRTPSConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerRTPSConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerUGSConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerUGSConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: ns3::Ptr ns3::BSSchedulerRtps::CreateUgsBurst(ns3::ServiceFlow * serviceFlow, ns3::WimaxPhy::ModulationType modulationType, uint32_t availableSymbols) [member function] - cls.add_method('CreateUgsBurst', - 'ns3::Ptr< ns3::PacketBurst >', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint32_t', 'availableSymbols')], - is_virtual=True) - ## bs-scheduler-rtps.h: std::list >,std::allocator > > > * ns3::BSSchedulerRtps::GetDownlinkBursts() const [member function] - cls.add_method('GetDownlinkBursts', - 'std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > > *', - [], - is_const=True, is_virtual=True) - ## bs-scheduler-rtps.h: static ns3::TypeId ns3::BSSchedulerRtps::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectBEConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectBEConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')], - is_virtual=True) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectIRandBCConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectIRandBCConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectMenagementConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectMenagementConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectNRTPSConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectNRTPSConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectRTPSConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectRTPSConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectUGSConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectUGSConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - return - -def register_Ns3BSSchedulerSimple_methods(root_module, cls): - ## bs-scheduler-simple.h: ns3::BSSchedulerSimple::BSSchedulerSimple(ns3::BSSchedulerSimple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BSSchedulerSimple const &', 'arg0')]) - ## bs-scheduler-simple.h: ns3::BSSchedulerSimple::BSSchedulerSimple() [constructor] - cls.add_constructor([]) - ## bs-scheduler-simple.h: ns3::BSSchedulerSimple::BSSchedulerSimple(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-scheduler-simple.h: void ns3::BSSchedulerSimple::AddDownlinkBurst(ns3::Ptr connection, uint8_t diuc, ns3::WimaxPhy::ModulationType modulationType, ns3::Ptr burst) [member function] - cls.add_method('AddDownlinkBurst', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection const >', 'connection'), param('uint8_t', 'diuc'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')], - is_virtual=True) - ## bs-scheduler-simple.h: ns3::Ptr ns3::BSSchedulerSimple::CreateUgsBurst(ns3::ServiceFlow * serviceFlow, ns3::WimaxPhy::ModulationType modulationType, uint32_t availableSymbols) [member function] - cls.add_method('CreateUgsBurst', - 'ns3::Ptr< ns3::PacketBurst >', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint32_t', 'availableSymbols')], - is_virtual=True) - ## bs-scheduler-simple.h: std::list >,std::allocator > > > * ns3::BSSchedulerSimple::GetDownlinkBursts() const [member function] - cls.add_method('GetDownlinkBursts', - 'std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > > *', - [], - is_const=True, is_virtual=True) - ## bs-scheduler-simple.h: static ns3::TypeId ns3::BSSchedulerSimple::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-scheduler-simple.h: void ns3::BSSchedulerSimple::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-scheduler-simple.h: bool ns3::BSSchedulerSimple::SelectConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')], - is_virtual=True) - return - -def register_Ns3BandwidthRequestHeader_methods(root_module, cls): - ## wimax-mac-header.h: ns3::BandwidthRequestHeader::BandwidthRequestHeader(ns3::BandwidthRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BandwidthRequestHeader const &', 'arg0')]) - ## wimax-mac-header.h: ns3::BandwidthRequestHeader::BandwidthRequestHeader() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: uint32_t ns3::BandwidthRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: uint32_t ns3::BandwidthRequestHeader::GetBr() const [member function] - cls.add_method('GetBr', - 'uint32_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::Cid ns3::BandwidthRequestHeader::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::BandwidthRequestHeader::GetEc() const [member function] - cls.add_method('GetEc', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::BandwidthRequestHeader::GetHcs() const [member function] - cls.add_method('GetHcs', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::BandwidthRequestHeader::GetHt() const [member function] - cls.add_method('GetHt', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::TypeId ns3::BandwidthRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: std::string ns3::BandwidthRequestHeader::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::BandwidthRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::BandwidthRequestHeader::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::BandwidthRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetBr(uint32_t br) [member function] - cls.add_method('SetBr', - 'void', - [param('uint32_t', 'br')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetEc(uint8_t ec) [member function] - cls.add_method('SetEc', - 'void', - [param('uint8_t', 'ec')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetHcs(uint8_t hcs) [member function] - cls.add_method('SetHcs', - 'void', - [param('uint8_t', 'hcs')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetHt(uint8_t HT) [member function] - cls.add_method('SetHt', - 'void', - [param('uint8_t', 'HT')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## wimax-mac-header.h: bool ns3::BandwidthRequestHeader::check_hcs() const [member function] - cls.add_method('check_hcs', - 'bool', - [], - is_const=True) - return - -def register_Ns3BsServiceFlowManager_methods(root_module, cls): - ## bs-service-flow-manager.h: ns3::BsServiceFlowManager::BsServiceFlowManager(ns3::BsServiceFlowManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BsServiceFlowManager const &', 'arg0')]) - ## bs-service-flow-manager.h: ns3::BsServiceFlowManager::BsServiceFlowManager(ns3::Ptr device) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'device')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::AddMulticastServiceFlow(ns3::ServiceFlow sf, ns3::WimaxPhy::ModulationType modulation) [member function] - cls.add_method('AddMulticastServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'sf'), param('ns3::WimaxPhy::ModulationType', 'modulation')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::AddServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::AllocateServiceFlows(ns3::DsaReq const & dsaReq, ns3::Cid cid) [member function] - cls.add_method('AllocateServiceFlows', - 'void', - [param('ns3::DsaReq const &', 'dsaReq'), param('ns3::Cid', 'cid')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## bs-service-flow-manager.h: ns3::EventId ns3::BsServiceFlowManager::GetDsaAckTimeoutEvent() const [member function] - cls.add_method('GetDsaAckTimeoutEvent', - 'ns3::EventId', - [], - is_const=True) - ## bs-service-flow-manager.h: ns3::ServiceFlow * ns3::BsServiceFlowManager::GetServiceFlow(uint32_t sfid) const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [param('uint32_t', 'sfid')], - is_const=True) - ## bs-service-flow-manager.h: ns3::ServiceFlow * ns3::BsServiceFlowManager::GetServiceFlow(ns3::Cid cid) const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [param('ns3::Cid', 'cid')], - is_const=True) - ## bs-service-flow-manager.h: std::vector > ns3::BsServiceFlowManager::GetServiceFlows(ns3::ServiceFlow::SchedulingType schedulingType) const [member function] - cls.add_method('GetServiceFlows', - 'std::vector< ns3::ServiceFlow * >', - [param('ns3::ServiceFlow::SchedulingType', 'schedulingType')], - is_const=True) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::ProcessDsaAck(ns3::DsaAck const & dsaAck, ns3::Cid cid) [member function] - cls.add_method('ProcessDsaAck', - 'void', - [param('ns3::DsaAck const &', 'dsaAck'), param('ns3::Cid', 'cid')]) - ## bs-service-flow-manager.h: ns3::ServiceFlow * ns3::BsServiceFlowManager::ProcessDsaReq(ns3::DsaReq const & dsaReq, ns3::Cid cid) [member function] - cls.add_method('ProcessDsaReq', - 'ns3::ServiceFlow *', - [param('ns3::DsaReq const &', 'dsaReq'), param('ns3::Cid', 'cid')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::SetMaxDsaRspRetries(uint8_t maxDsaRspRetries) [member function] - cls.add_method('SetMaxDsaRspRetries', - 'void', - [param('uint8_t', 'maxDsaRspRetries')]) - return - -def register_Ns3ConnectionManager_methods(root_module, cls): - ## connection-manager.h: ns3::ConnectionManager::ConnectionManager(ns3::ConnectionManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConnectionManager const &', 'arg0')]) - ## connection-manager.h: ns3::ConnectionManager::ConnectionManager() [constructor] - cls.add_constructor([]) - ## connection-manager.h: void ns3::ConnectionManager::AddConnection(ns3::Ptr connection, ns3::Cid::Type type) [member function] - cls.add_method('AddConnection', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection >', 'connection'), param('ns3::Cid::Type', 'type')]) - ## connection-manager.h: void ns3::ConnectionManager::AllocateManagementConnections(ns3::SSRecord * ssRecord, ns3::RngRsp * rngrsp) [member function] - cls.add_method('AllocateManagementConnections', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::RngRsp *', 'rngrsp')]) - ## connection-manager.h: ns3::Ptr ns3::ConnectionManager::CreateConnection(ns3::Cid::Type type) [member function] - cls.add_method('CreateConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [param('ns3::Cid::Type', 'type')]) - ## connection-manager.h: void ns3::ConnectionManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## connection-manager.h: ns3::Ptr ns3::ConnectionManager::GetConnection(ns3::Cid cid) [member function] - cls.add_method('GetConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [param('ns3::Cid', 'cid')]) - ## connection-manager.h: std::vector, std::allocator > > ns3::ConnectionManager::GetConnections(ns3::Cid::Type type) const [member function] - cls.add_method('GetConnections', - 'std::vector< ns3::Ptr< ns3::WimaxConnection > >', - [param('ns3::Cid::Type', 'type')], - is_const=True) - ## connection-manager.h: uint32_t ns3::ConnectionManager::GetNPackets(ns3::Cid::Type type, ns3::ServiceFlow::SchedulingType schedulingType) const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [param('ns3::Cid::Type', 'type'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType')], - is_const=True) - ## connection-manager.h: bool ns3::ConnectionManager::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## connection-manager.h: void ns3::ConnectionManager::SetCidFactory(ns3::CidFactory * cidFactory) [member function] - cls.add_method('SetCidFactory', - 'void', - [param('ns3::CidFactory *', 'cidFactory')]) - return - -def register_Ns3Dcd_methods(root_module, cls): - ## dl-mac-messages.h: ns3::Dcd::Dcd(ns3::Dcd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Dcd const &', 'arg0')]) - ## dl-mac-messages.h: ns3::Dcd::Dcd() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: void ns3::Dcd::AddDlBurstProfile(ns3::OfdmDlBurstProfile dlBurstProfile) [member function] - cls.add_method('AddDlBurstProfile', - 'void', - [param('ns3::OfdmDlBurstProfile', 'dlBurstProfile')]) - ## dl-mac-messages.h: uint32_t ns3::Dcd::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## dl-mac-messages.h: ns3::OfdmDcdChannelEncodings ns3::Dcd::GetChannelEncodings() const [member function] - cls.add_method('GetChannelEncodings', - 'ns3::OfdmDcdChannelEncodings', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::Dcd::GetConfigurationChangeCount() const [member function] - cls.add_method('GetConfigurationChangeCount', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: std::vector > ns3::Dcd::GetDlBurstProfiles() const [member function] - cls.add_method('GetDlBurstProfiles', - 'std::vector< ns3::OfdmDlBurstProfile >', - [], - is_const=True) - ## dl-mac-messages.h: ns3::TypeId ns3::Dcd::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: std::string ns3::Dcd::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::Dcd::GetNrDlBurstProfiles() const [member function] - cls.add_method('GetNrDlBurstProfiles', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint32_t ns3::Dcd::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: static ns3::TypeId ns3::Dcd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dl-mac-messages.h: void ns3::Dcd::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: void ns3::Dcd::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: void ns3::Dcd::SetChannelEncodings(ns3::OfdmDcdChannelEncodings channelEncodings) [member function] - cls.add_method('SetChannelEncodings', - 'void', - [param('ns3::OfdmDcdChannelEncodings', 'channelEncodings')]) - ## dl-mac-messages.h: void ns3::Dcd::SetConfigurationChangeCount(uint8_t configurationChangeCount) [member function] - cls.add_method('SetConfigurationChangeCount', - 'void', - [param('uint8_t', 'configurationChangeCount')]) - ## dl-mac-messages.h: void ns3::Dcd::SetNrDlBurstProfiles(uint8_t nrDlBurstProfiles) [member function] - cls.add_method('SetNrDlBurstProfiles', - 'void', - [param('uint8_t', 'nrDlBurstProfiles')]) - return - -def register_Ns3DlMap_methods(root_module, cls): - ## dl-mac-messages.h: ns3::DlMap::DlMap(ns3::DlMap const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DlMap const &', 'arg0')]) - ## dl-mac-messages.h: ns3::DlMap::DlMap() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: void ns3::DlMap::AddDlMapElement(ns3::OfdmDlMapIe dlMapElement) [member function] - cls.add_method('AddDlMapElement', - 'void', - [param('ns3::OfdmDlMapIe', 'dlMapElement')]) - ## dl-mac-messages.h: uint32_t ns3::DlMap::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## dl-mac-messages.h: ns3::Mac48Address ns3::DlMap::GetBaseStationId() const [member function] - cls.add_method('GetBaseStationId', - 'ns3::Mac48Address', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::DlMap::GetDcdCount() const [member function] - cls.add_method('GetDcdCount', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: std::list > ns3::DlMap::GetDlMapElements() const [member function] - cls.add_method('GetDlMapElements', - 'std::list< ns3::OfdmDlMapIe >', - [], - is_const=True) - ## dl-mac-messages.h: ns3::TypeId ns3::DlMap::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: std::string ns3::DlMap::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## dl-mac-messages.h: uint32_t ns3::DlMap::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: static ns3::TypeId ns3::DlMap::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dl-mac-messages.h: void ns3::DlMap::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: void ns3::DlMap::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: void ns3::DlMap::SetBaseStationId(ns3::Mac48Address baseStationID) [member function] - cls.add_method('SetBaseStationId', - 'void', - [param('ns3::Mac48Address', 'baseStationID')]) - ## dl-mac-messages.h: void ns3::DlMap::SetDcdCount(uint8_t dcdCount) [member function] - cls.add_method('SetDcdCount', - 'void', - [param('uint8_t', 'dcdCount')]) - return - -def register_Ns3DsaAck_methods(root_module, cls): - ## mac-messages.h: ns3::DsaAck::DsaAck(ns3::DsaAck const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsaAck const &', 'arg0')]) - ## mac-messages.h: ns3::DsaAck::DsaAck() [constructor] - cls.add_constructor([]) - ## mac-messages.h: uint32_t ns3::DsaAck::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: uint16_t ns3::DsaAck::GetConfirmationCode() const [member function] - cls.add_method('GetConfirmationCode', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: ns3::TypeId ns3::DsaAck::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: std::string ns3::DsaAck::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaAck::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: uint16_t ns3::DsaAck::GetTransactionId() const [member function] - cls.add_method('GetTransactionId', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::DsaAck::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::DsaAck::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaAck::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaAck::SetConfirmationCode(uint16_t confirmationCode) [member function] - cls.add_method('SetConfirmationCode', - 'void', - [param('uint16_t', 'confirmationCode')]) - ## mac-messages.h: void ns3::DsaAck::SetTransactionId(uint16_t transactionId) [member function] - cls.add_method('SetTransactionId', - 'void', - [param('uint16_t', 'transactionId')]) - return - -def register_Ns3DsaReq_methods(root_module, cls): - ## mac-messages.h: ns3::DsaReq::DsaReq(ns3::DsaReq const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsaReq const &', 'arg0')]) - ## mac-messages.h: ns3::DsaReq::DsaReq() [constructor] - cls.add_constructor([]) - ## mac-messages.h: ns3::DsaReq::DsaReq(ns3::ServiceFlow sf) [constructor] - cls.add_constructor([param('ns3::ServiceFlow', 'sf')]) - ## mac-messages.h: uint32_t ns3::DsaReq::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: ns3::Cid ns3::DsaReq::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## mac-messages.h: ns3::TypeId ns3::DsaReq::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: std::string ns3::DsaReq::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaReq::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: ns3::ServiceFlow ns3::DsaReq::GetServiceFlow() const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaReq::GetSfid() const [member function] - cls.add_method('GetSfid', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint16_t ns3::DsaReq::GetTransactionId() const [member function] - cls.add_method('GetTransactionId', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::DsaReq::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::DsaReq::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaReq::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaReq::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## mac-messages.h: void ns3::DsaReq::SetServiceFlow(ns3::ServiceFlow sf) [member function] - cls.add_method('SetServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'sf')]) - ## mac-messages.h: void ns3::DsaReq::SetSfid(uint32_t sfid) [member function] - cls.add_method('SetSfid', - 'void', - [param('uint32_t', 'sfid')]) - ## mac-messages.h: void ns3::DsaReq::SetTransactionId(uint16_t transactionId) [member function] - cls.add_method('SetTransactionId', - 'void', - [param('uint16_t', 'transactionId')]) - return - -def register_Ns3DsaRsp_methods(root_module, cls): - ## mac-messages.h: ns3::DsaRsp::DsaRsp(ns3::DsaRsp const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsaRsp const &', 'arg0')]) - ## mac-messages.h: ns3::DsaRsp::DsaRsp() [constructor] - cls.add_constructor([]) - ## mac-messages.h: uint32_t ns3::DsaRsp::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: ns3::Cid ns3::DsaRsp::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## mac-messages.h: uint16_t ns3::DsaRsp::GetConfirmationCode() const [member function] - cls.add_method('GetConfirmationCode', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: ns3::TypeId ns3::DsaRsp::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: std::string ns3::DsaRsp::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaRsp::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: ns3::ServiceFlow ns3::DsaRsp::GetServiceFlow() const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaRsp::GetSfid() const [member function] - cls.add_method('GetSfid', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint16_t ns3::DsaRsp::GetTransactionId() const [member function] - cls.add_method('GetTransactionId', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::DsaRsp::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::DsaRsp::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaRsp::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaRsp::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## mac-messages.h: void ns3::DsaRsp::SetConfirmationCode(uint16_t confirmationCode) [member function] - cls.add_method('SetConfirmationCode', - 'void', - [param('uint16_t', 'confirmationCode')]) - ## mac-messages.h: void ns3::DsaRsp::SetServiceFlow(ns3::ServiceFlow sf) [member function] - cls.add_method('SetServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'sf')]) - ## mac-messages.h: void ns3::DsaRsp::SetSfid(uint32_t sfid) [member function] - cls.add_method('SetSfid', - 'void', - [param('uint32_t', 'sfid')]) - ## mac-messages.h: void ns3::DsaRsp::SetTransactionId(uint16_t transactionId) [member function] - cls.add_method('SetTransactionId', - 'void', - [param('uint16_t', 'transactionId')]) - return - -def register_Ns3FragmentationSubheader_methods(root_module, cls): - ## wimax-mac-header.h: ns3::FragmentationSubheader::FragmentationSubheader(ns3::FragmentationSubheader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FragmentationSubheader const &', 'arg0')]) - ## wimax-mac-header.h: ns3::FragmentationSubheader::FragmentationSubheader() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: uint32_t ns3::FragmentationSubheader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::FragmentationSubheader::GetFc() const [member function] - cls.add_method('GetFc', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::FragmentationSubheader::GetFsn() const [member function] - cls.add_method('GetFsn', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::TypeId ns3::FragmentationSubheader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: std::string ns3::FragmentationSubheader::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::FragmentationSubheader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::FragmentationSubheader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::FragmentationSubheader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::FragmentationSubheader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::FragmentationSubheader::SetFc(uint8_t fc) [member function] - cls.add_method('SetFc', - 'void', - [param('uint8_t', 'fc')]) - ## wimax-mac-header.h: void ns3::FragmentationSubheader::SetFsn(uint8_t fsn) [member function] - cls.add_method('SetFsn', - 'void', - [param('uint8_t', 'fsn')]) - return - -def register_Ns3GenericMacHeader_methods(root_module, cls): - ## wimax-mac-header.h: ns3::GenericMacHeader::GenericMacHeader(ns3::GenericMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GenericMacHeader const &', 'arg0')]) - ## wimax-mac-header.h: ns3::GenericMacHeader::GenericMacHeader() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: uint32_t ns3::GenericMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetCi() const [member function] - cls.add_method('GetCi', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::Cid ns3::GenericMacHeader::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetEc() const [member function] - cls.add_method('GetEc', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetEks() const [member function] - cls.add_method('GetEks', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetHcs() const [member function] - cls.add_method('GetHcs', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetHt() const [member function] - cls.add_method('GetHt', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::TypeId ns3::GenericMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint16_t ns3::GenericMacHeader::GetLen() const [member function] - cls.add_method('GetLen', - 'uint16_t', - [], - is_const=True) - ## wimax-mac-header.h: std::string ns3::GenericMacHeader::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::GenericMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::GenericMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::GenericMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::GenericMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetCi(uint8_t ci) [member function] - cls.add_method('SetCi', - 'void', - [param('uint8_t', 'ci')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetEc(uint8_t ec) [member function] - cls.add_method('SetEc', - 'void', - [param('uint8_t', 'ec')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetEks(uint8_t eks) [member function] - cls.add_method('SetEks', - 'void', - [param('uint8_t', 'eks')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetHcs(uint8_t hcs) [member function] - cls.add_method('SetHcs', - 'void', - [param('uint8_t', 'hcs')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetHt(uint8_t HT) [member function] - cls.add_method('SetHt', - 'void', - [param('uint8_t', 'HT')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetLen(uint16_t len) [member function] - cls.add_method('SetLen', - 'void', - [param('uint16_t', 'len')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## wimax-mac-header.h: bool ns3::GenericMacHeader::check_hcs() const [member function] - cls.add_method('check_hcs', - 'bool', - [], - is_const=True) - return - -def register_Ns3GrantManagementSubheader_methods(root_module, cls): - ## wimax-mac-header.h: ns3::GrantManagementSubheader::GrantManagementSubheader(ns3::GrantManagementSubheader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GrantManagementSubheader const &', 'arg0')]) - ## wimax-mac-header.h: ns3::GrantManagementSubheader::GrantManagementSubheader() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: uint32_t ns3::GrantManagementSubheader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: ns3::TypeId ns3::GrantManagementSubheader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: std::string ns3::GrantManagementSubheader::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint16_t ns3::GrantManagementSubheader::GetPbr() const [member function] - cls.add_method('GetPbr', - 'uint16_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GrantManagementSubheader::GetPm() const [member function] - cls.add_method('GetPm', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::GrantManagementSubheader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::GrantManagementSubheader::GetSi() const [member function] - cls.add_method('GetSi', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::GrantManagementSubheader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::SetPbr(uint16_t pbr) [member function] - cls.add_method('SetPbr', - 'void', - [param('uint16_t', 'pbr')]) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::SetPm(uint8_t pm) [member function] - cls.add_method('SetPm', - 'void', - [param('uint8_t', 'pm')]) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::SetSi(uint8_t si) [member function] - cls.add_method('SetSi', - 'void', - [param('uint8_t', 'si')]) - return - -def register_Ns3IpcsClassifier_methods(root_module, cls): - ## ipcs-classifier.h: ns3::IpcsClassifier::IpcsClassifier(ns3::IpcsClassifier const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IpcsClassifier const &', 'arg0')]) - ## ipcs-classifier.h: ns3::IpcsClassifier::IpcsClassifier() [constructor] - cls.add_constructor([]) - ## ipcs-classifier.h: ns3::ServiceFlow * ns3::IpcsClassifier::Classify(ns3::Ptr packet, ns3::Ptr sfm, ns3::ServiceFlow::Direction dir) [member function] - cls.add_method('Classify', - 'ns3::ServiceFlow *', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Ptr< ns3::ServiceFlowManager >', 'sfm'), param('ns3::ServiceFlow::Direction', 'dir')]) - return - -def register_Ns3SimpleOfdmWimaxPhy_methods(root_module, cls): - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy(ns3::SimpleOfdmWimaxPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleOfdmWimaxPhy const &', 'arg0')]) - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy() [constructor] - cls.add_constructor([]) - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy(char * tracesPath) [constructor] - cls.add_constructor([param('char *', 'tracesPath')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::ActivateLoss(bool loss) [member function] - cls.add_method('ActivateLoss', - 'void', - [param('bool', 'loss')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::DoAttach(ns3::Ptr channel) [member function] - cls.add_method('DoAttach', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'channel')], - is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint32_t ns3::SimpleOfdmWimaxPhy::GetBandwidth() const [member function] - cls.add_method('GetBandwidth', - 'uint32_t', - [], - is_const=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::GetNoiseFigure() const [member function] - cls.add_method('GetNoiseFigure', - 'double', - [], - is_const=True) - ## simple-ofdm-wimax-phy.h: ns3::WimaxPhy::PhyType ns3::SimpleOfdmWimaxPhy::GetPhyType() const [member function] - cls.add_method('GetPhyType', - 'ns3::WimaxPhy::PhyType', - [], - is_const=True, is_virtual=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::GetTxPower() const [member function] - cls.add_method('GetTxPower', - 'double', - [], - is_const=True) - ## simple-ofdm-wimax-phy.h: static ns3::TypeId ns3::SimpleOfdmWimaxPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyRxBegin(ns3::Ptr burst) [member function] - cls.add_method('NotifyRxBegin', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyRxDrop(ns3::Ptr burst) [member function] - cls.add_method('NotifyRxDrop', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyRxEnd(ns3::Ptr burst) [member function] - cls.add_method('NotifyRxEnd', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyTxBegin(ns3::Ptr burst) [member function] - cls.add_method('NotifyTxBegin', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyTxDrop(ns3::Ptr burst) [member function] - cls.add_method('NotifyTxDrop', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyTxEnd(ns3::Ptr burst) [member function] - cls.add_method('NotifyTxEnd', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::Send(ns3::Ptr burst, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::Send(ns3::SendParams * params) [member function] - cls.add_method('Send', - 'void', - [param('ns3::SendParams *', 'params')], - is_virtual=True) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetBandwidth(uint32_t BW) [member function] - cls.add_method('SetBandwidth', - 'void', - [param('uint32_t', 'BW')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetNoiseFigure(double nf) [member function] - cls.add_method('SetNoiseFigure', - 'void', - [param('double', 'nf')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetReceiveCallback(ns3::Callback,ns3::Ptr,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::PacketBurst >, ns3::Ptr< ns3::WimaxConnection >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetSNRToBlockErrorRateTracesPath(char * tracesPath) [member function] - cls.add_method('SetSNRToBlockErrorRateTracesPath', - 'void', - [param('char *', 'tracesPath')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetTxPower(double txPower) [member function] - cls.add_method('SetTxPower', - 'void', - [param('double', 'txPower')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::StartReceive(uint32_t burstSize, bool isFirstBlock, uint64_t frequency, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPower, ns3::Ptr burst) [member function] - cls.add_method('StartReceive', - 'void', - [param('uint32_t', 'burstSize'), param('bool', 'isFirstBlock'), param('uint64_t', 'frequency'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction'), param('double', 'rxPower'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint32_t ns3::SimpleOfdmWimaxPhy::DoGetDataRate(ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetDataRate', - 'uint32_t', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: ns3::Time ns3::SimpleOfdmWimaxPhy::DoGetFrameDuration(uint8_t frameDurationCode) const [member function] - cls.add_method('DoGetFrameDuration', - 'ns3::Time', - [param('uint8_t', 'frameDurationCode')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint8_t ns3::SimpleOfdmWimaxPhy::DoGetFrameDurationCode() const [member function] - cls.add_method('DoGetFrameDurationCode', - 'uint8_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::DoGetGValue() const [member function] - cls.add_method('DoGetGValue', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint16_t ns3::SimpleOfdmWimaxPhy::DoGetNfft() const [member function] - cls.add_method('DoGetNfft', - 'uint16_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint64_t ns3::SimpleOfdmWimaxPhy::DoGetNrBytes(uint32_t symbols, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetNrBytes', - 'uint64_t', - [param('uint32_t', 'symbols'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint64_t ns3::SimpleOfdmWimaxPhy::DoGetNrSymbols(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetNrSymbols', - 'uint64_t', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint16_t ns3::SimpleOfdmWimaxPhy::DoGetRtg() const [member function] - cls.add_method('DoGetRtg', - 'uint16_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::DoGetSamplingFactor() const [member function] - cls.add_method('DoGetSamplingFactor', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::DoGetSamplingFrequency() const [member function] - cls.add_method('DoGetSamplingFrequency', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: ns3::Time ns3::SimpleOfdmWimaxPhy::DoGetTransmissionTime(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetTransmissionTime', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint16_t ns3::SimpleOfdmWimaxPhy::DoGetTtg() const [member function] - cls.add_method('DoGetTtg', - 'uint16_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::DoSetDataRates() [member function] - cls.add_method('DoSetDataRates', - 'void', - [], - visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::DoSetPhyParameters() [member function] - cls.add_method('DoSetPhyParameters', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3WimaxChannel_methods(root_module, cls): - ## wimax-channel.h: ns3::WimaxChannel::WimaxChannel(ns3::WimaxChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxChannel const &', 'arg0')]) - ## wimax-channel.h: ns3::WimaxChannel::WimaxChannel() [constructor] - cls.add_constructor([]) - ## wimax-channel.h: void ns3::WimaxChannel::Attach(ns3::Ptr phy) [member function] - cls.add_method('Attach', - 'void', - [param('ns3::Ptr< ns3::WimaxPhy >', 'phy')]) - ## wimax-channel.h: ns3::Ptr ns3::WimaxChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## wimax-channel.h: uint32_t ns3::WimaxChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-channel.h: void ns3::WimaxChannel::DoAttach(ns3::Ptr phy) [member function] - cls.add_method('DoAttach', - 'void', - [param('ns3::Ptr< ns3::WimaxPhy >', 'phy')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-channel.h: ns3::Ptr ns3::WimaxChannel::DoGetDevice(uint32_t i) const [member function] - cls.add_method('DoGetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-channel.h: uint32_t ns3::WimaxChannel::DoGetNDevices() const [member function] - cls.add_method('DoGetNDevices', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WimaxNetDevice_methods(root_module, cls): - ## wimax-net-device.h: ns3::WimaxNetDevice::m_direction [variable] - cls.add_static_attribute('m_direction', 'uint8_t', is_const=False) - ## wimax-net-device.h: ns3::WimaxNetDevice::m_frameStartTime [variable] - cls.add_static_attribute('m_frameStartTime', 'ns3::Time', is_const=False) - ## wimax-net-device.h: ns3::WimaxNetDevice::m_traceRx [variable] - cls.add_instance_attribute('m_traceRx', 'ns3::TracedCallback< ns3::Ptr< ns3::Packet const >, ns3::Mac48Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) - ## wimax-net-device.h: ns3::WimaxNetDevice::m_traceTx [variable] - cls.add_instance_attribute('m_traceTx', 'ns3::TracedCallback< ns3::Ptr< ns3::Packet const >, ns3::Mac48Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) - ## wimax-net-device.h: static ns3::TypeId ns3::WimaxNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-net-device.h: ns3::WimaxNetDevice::WimaxNetDevice() [constructor] - cls.add_constructor([]) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetTtg(uint16_t ttg) [member function] - cls.add_method('SetTtg', - 'void', - [param('uint16_t', 'ttg')]) - ## wimax-net-device.h: uint16_t ns3::WimaxNetDevice::GetTtg() const [member function] - cls.add_method('GetTtg', - 'uint16_t', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetRtg(uint16_t rtg) [member function] - cls.add_method('SetRtg', - 'void', - [param('uint16_t', 'rtg')]) - ## wimax-net-device.h: uint16_t ns3::WimaxNetDevice::GetRtg() const [member function] - cls.add_method('GetRtg', - 'uint16_t', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::Attach(ns3::Ptr channel) [member function] - cls.add_method('Attach', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'channel')]) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::WimaxPhy >', 'phy')]) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::WimaxPhy >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetChannel(ns3::Ptr wimaxChannel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'wimaxChannel')]) - ## wimax-net-device.h: uint64_t ns3::WimaxNetDevice::GetChannel(uint8_t index) const [member function] - cls.add_method('GetChannel', - 'uint64_t', - [param('uint8_t', 'index')], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetNrFrames(uint32_t nrFrames) [member function] - cls.add_method('SetNrFrames', - 'void', - [param('uint32_t', 'nrFrames')]) - ## wimax-net-device.h: uint32_t ns3::WimaxNetDevice::GetNrFrames() const [member function] - cls.add_method('GetNrFrames', - 'uint32_t', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetMacAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wimax-net-device.h: ns3::Mac48Address ns3::WimaxNetDevice::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetState(uint8_t state) [member function] - cls.add_method('SetState', - 'void', - [param('uint8_t', 'state')]) - ## wimax-net-device.h: uint8_t ns3::WimaxNetDevice::GetState() const [member function] - cls.add_method('GetState', - 'uint8_t', - [], - is_const=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetInitialRangingConnection() const [member function] - cls.add_method('GetInitialRangingConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetBroadcastConnection() const [member function] - cls.add_method('GetBroadcastConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetCurrentDcd(ns3::Dcd dcd) [member function] - cls.add_method('SetCurrentDcd', - 'void', - [param('ns3::Dcd', 'dcd')]) - ## wimax-net-device.h: ns3::Dcd ns3::WimaxNetDevice::GetCurrentDcd() const [member function] - cls.add_method('GetCurrentDcd', - 'ns3::Dcd', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetCurrentUcd(ns3::Ucd ucd) [member function] - cls.add_method('SetCurrentUcd', - 'void', - [param('ns3::Ucd', 'ucd')]) - ## wimax-net-device.h: ns3::Ucd ns3::WimaxNetDevice::GetCurrentUcd() const [member function] - cls.add_method('GetCurrentUcd', - 'ns3::Ucd', - [], - is_const=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetConnectionManager() const [member function] - cls.add_method('GetConnectionManager', - 'ns3::Ptr< ns3::ConnectionManager >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetConnectionManager(ns3::Ptr connectionManager) [member function] - cls.add_method('SetConnectionManager', - 'void', - [param('ns3::Ptr< ns3::ConnectionManager >', 'connectionManager')], - is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetBurstProfileManager() const [member function] - cls.add_method('GetBurstProfileManager', - 'ns3::Ptr< ns3::BurstProfileManager >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetBurstProfileManager(ns3::Ptr burstProfileManager) [member function] - cls.add_method('SetBurstProfileManager', - 'void', - [param('ns3::Ptr< ns3::BurstProfileManager >', 'burstProfileManager')]) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetBandwidthManager() const [member function] - cls.add_method('GetBandwidthManager', - 'ns3::Ptr< ns3::BandwidthManager >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetBandwidthManager(ns3::Ptr bandwidthManager) [member function] - cls.add_method('SetBandwidthManager', - 'void', - [param('ns3::Ptr< ns3::BandwidthManager >', 'bandwidthManager')]) - ## wimax-net-device.h: void ns3::WimaxNetDevice::CreateDefaultConnections() [member function] - cls.add_method('CreateDefaultConnections', - 'void', - []) - ## wimax-net-device.h: void ns3::WimaxNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetReceiveCallback() [member function] - cls.add_method('SetReceiveCallback', - 'void', - []) - ## wimax-net-device.h: void ns3::WimaxNetDevice::ForwardUp(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest')]) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::Ptr connection) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection')], - is_pure_virtual=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::ForwardDown(ns3::Ptr burst, ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('ForwardDown', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst'), param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetName(std::string const name) [member function] - cls.add_method('SetName', - 'void', - [param('std::string const', 'name')], - is_virtual=True) - ## wimax-net-device.h: std::string ns3::WimaxNetDevice::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## wimax-net-device.h: uint32_t ns3::WimaxNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetPhyChannel() const [member function] - cls.add_method('GetPhyChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## wimax-net-device.h: uint16_t ns3::WimaxNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetLinkChangeCallback(ns3::Callback callback) [member function] - cls.add_method('SetLinkChangeCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetMulticast() const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::MakeMulticastAddress(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('MakeMulticastAddress', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::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')], - is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## wimax-net-device.h: ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> ns3::WimaxNetDevice::GetPromiscReceiveCallback() [member function] - cls.add_method('GetPromiscReceiveCallback', - 'ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', - []) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsPromisc() [member function] - cls.add_method('IsPromisc', - 'bool', - []) - ## wimax-net-device.h: void ns3::WimaxNetDevice::NotifyPromiscTrace(ns3::Ptr p) [member function] - cls.add_method('NotifyPromiscTrace', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::DoReceive(ns3::Ptr packet) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::DoGetChannel() const [member function] - cls.add_method('DoGetChannel', - 'ns3::Ptr< ns3::WimaxChannel >', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3BaseStationNetDevice_methods(root_module, cls): - ## bs-net-device.h: static ns3::TypeId ns3::BaseStationNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-net-device.h: ns3::BaseStationNetDevice::BaseStationNetDevice() [constructor] - cls.add_constructor([]) - ## bs-net-device.h: ns3::BaseStationNetDevice::BaseStationNetDevice(ns3::Ptr node, ns3::Ptr phy) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WimaxPhy >', 'phy')]) - ## bs-net-device.h: ns3::BaseStationNetDevice::BaseStationNetDevice(ns3::Ptr node, ns3::Ptr phy, ns3::Ptr uplinkScheduler, ns3::Ptr bsScheduler) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WimaxPhy >', 'phy'), param('ns3::Ptr< ns3::UplinkScheduler >', 'uplinkScheduler'), param('ns3::Ptr< ns3::BSScheduler >', 'bsScheduler')]) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetInitialRangingInterval(ns3::Time initialRangInterval) [member function] - cls.add_method('SetInitialRangingInterval', - 'void', - [param('ns3::Time', 'initialRangInterval')]) - ## bs-net-device.h: void ns3::BaseStationNetDevice::InitBaseStationNetDevice() [member function] - cls.add_method('InitBaseStationNetDevice', - 'void', - []) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetInitialRangingInterval() const [member function] - cls.add_method('GetInitialRangingInterval', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetDcdInterval(ns3::Time dcdInterval) [member function] - cls.add_method('SetDcdInterval', - 'void', - [param('ns3::Time', 'dcdInterval')]) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetDcdInterval() const [member function] - cls.add_method('GetDcdInterval', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetUcdInterval(ns3::Time ucdInterval) [member function] - cls.add_method('SetUcdInterval', - 'void', - [param('ns3::Time', 'ucdInterval')]) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetUcdInterval() const [member function] - cls.add_method('GetUcdInterval', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetIntervalT8(ns3::Time interval) [member function] - cls.add_method('SetIntervalT8', - 'void', - [param('ns3::Time', 'interval')]) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetIntervalT8() const [member function] - cls.add_method('GetIntervalT8', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetMaxRangingCorrectionRetries(uint8_t maxRangCorrectionRetries) [member function] - cls.add_method('SetMaxRangingCorrectionRetries', - 'void', - [param('uint8_t', 'maxRangCorrectionRetries')]) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetMaxRangingCorrectionRetries() const [member function] - cls.add_method('GetMaxRangingCorrectionRetries', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetMaxInvitedRangRetries(uint8_t maxInvitedRangRetries) [member function] - cls.add_method('SetMaxInvitedRangRetries', - 'void', - [param('uint8_t', 'maxInvitedRangRetries')]) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetMaxInvitedRangRetries() const [member function] - cls.add_method('GetMaxInvitedRangRetries', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetRangReqOppSize(uint8_t rangReqOppSize) [member function] - cls.add_method('SetRangReqOppSize', - 'void', - [param('uint8_t', 'rangReqOppSize')]) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetRangReqOppSize() const [member function] - cls.add_method('GetRangReqOppSize', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetBwReqOppSize(uint8_t bwReqOppSize) [member function] - cls.add_method('SetBwReqOppSize', - 'void', - [param('uint8_t', 'bwReqOppSize')]) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetBwReqOppSize() const [member function] - cls.add_method('GetBwReqOppSize', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetNrDlSymbols(uint32_t dlSymbols) [member function] - cls.add_method('SetNrDlSymbols', - 'void', - [param('uint32_t', 'dlSymbols')]) - ## bs-net-device.h: uint32_t ns3::BaseStationNetDevice::GetNrDlSymbols() const [member function] - cls.add_method('GetNrDlSymbols', - 'uint32_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetNrUlSymbols(uint32_t ulSymbols) [member function] - cls.add_method('SetNrUlSymbols', - 'void', - [param('uint32_t', 'ulSymbols')]) - ## bs-net-device.h: uint32_t ns3::BaseStationNetDevice::GetNrUlSymbols() const [member function] - cls.add_method('GetNrUlSymbols', - 'uint32_t', - [], - is_const=True) - ## bs-net-device.h: uint32_t ns3::BaseStationNetDevice::GetNrDcdSent() const [member function] - cls.add_method('GetNrDcdSent', - 'uint32_t', - [], - is_const=True) - ## bs-net-device.h: uint32_t ns3::BaseStationNetDevice::GetNrUcdSent() const [member function] - cls.add_method('GetNrUcdSent', - 'uint32_t', - [], - is_const=True) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetDlSubframeStartTime() const [member function] - cls.add_method('GetDlSubframeStartTime', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetUlSubframeStartTime() const [member function] - cls.add_method('GetUlSubframeStartTime', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetRangingOppNumber() const [member function] - cls.add_method('GetRangingOppNumber', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetSSManager() const [member function] - cls.add_method('GetSSManager', - 'ns3::Ptr< ns3::SSManager >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetSSManager(ns3::Ptr ssManager) [member function] - cls.add_method('SetSSManager', - 'void', - [param('ns3::Ptr< ns3::SSManager >', 'ssManager')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetUplinkScheduler() const [member function] - cls.add_method('GetUplinkScheduler', - 'ns3::Ptr< ns3::UplinkScheduler >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetUplinkScheduler(ns3::Ptr ulScheduler) [member function] - cls.add_method('SetUplinkScheduler', - 'void', - [param('ns3::Ptr< ns3::UplinkScheduler >', 'ulScheduler')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetLinkManager() const [member function] - cls.add_method('GetLinkManager', - 'ns3::Ptr< ns3::BSLinkManager >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetBSScheduler(ns3::Ptr bsSchedule) [member function] - cls.add_method('SetBSScheduler', - 'void', - [param('ns3::Ptr< ns3::BSScheduler >', 'bsSchedule')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetBSScheduler() const [member function] - cls.add_method('GetBSScheduler', - 'ns3::Ptr< ns3::BSScheduler >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetLinkManager(ns3::Ptr linkManager) [member function] - cls.add_method('SetLinkManager', - 'void', - [param('ns3::Ptr< ns3::BSLinkManager >', 'linkManager')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetBsClassifier() const [member function] - cls.add_method('GetBsClassifier', - 'ns3::Ptr< ns3::IpcsClassifier >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetBsClassifier(ns3::Ptr classifier) [member function] - cls.add_method('SetBsClassifier', - 'void', - [param('ns3::Ptr< ns3::IpcsClassifier >', 'classifier')]) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetPsDuration() const [member function] - cls.add_method('GetPsDuration', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetSymbolDuration() const [member function] - cls.add_method('GetSymbolDuration', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## bs-net-device.h: bool ns3::BaseStationNetDevice::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::Ptr connection) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection')], - is_virtual=True) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetConnection(ns3::Cid cid) [member function] - cls.add_method('GetConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [param('ns3::Cid', 'cid')]) - ## bs-net-device.h: void ns3::BaseStationNetDevice::MarkUplinkAllocations() [member function] - cls.add_method('MarkUplinkAllocations', - 'void', - []) - ## bs-net-device.h: void ns3::BaseStationNetDevice::MarkRangingOppStart(ns3::Time rangingOppStartTime) [member function] - cls.add_method('MarkRangingOppStart', - 'void', - [param('ns3::Time', 'rangingOppStartTime')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetServiceFlowManager() const [member function] - cls.add_method('GetServiceFlowManager', - 'ns3::Ptr< ns3::BsServiceFlowManager >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetServiceFlowManager(ns3::Ptr arg0) [member function] - cls.add_method('SetServiceFlowManager', - 'void', - [param('ns3::Ptr< ns3::BsServiceFlowManager >', 'arg0')]) - ## bs-net-device.h: void ns3::BaseStationNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## bs-net-device.h: bool ns3::BaseStationNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='private', is_virtual=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::DoReceive(ns3::Ptr packet) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')], - visibility='private', is_virtual=True) - return - -def register_Ns3SimpleOfdmWimaxChannel_methods(root_module, cls): - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel::SimpleOfdmWimaxChannel(ns3::SimpleOfdmWimaxChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleOfdmWimaxChannel const &', 'arg0')]) - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel::SimpleOfdmWimaxChannel() [constructor] - cls.add_constructor([]) - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel::SimpleOfdmWimaxChannel(ns3::SimpleOfdmWimaxChannel::PropModel propModel) [constructor] - cls.add_constructor([param('ns3::SimpleOfdmWimaxChannel::PropModel', 'propModel')]) - ## simple-ofdm-wimax-channel.h: void ns3::SimpleOfdmWimaxChannel::Send(ns3::Time BlockTime, uint32_t burstSize, ns3::Ptr phy, bool isFirstBlock, bool isLastBlock, uint64_t frequency, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction, double txPowerDbm, ns3::Ptr burst) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Time', 'BlockTime'), param('uint32_t', 'burstSize'), param('ns3::Ptr< ns3::WimaxPhy >', 'phy'), param('bool', 'isFirstBlock'), param('bool', 'isLastBlock'), param('uint64_t', 'frequency'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction'), param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-channel.h: void ns3::SimpleOfdmWimaxChannel::SetPropagationModel(ns3::SimpleOfdmWimaxChannel::PropModel propModel) [member function] - cls.add_method('SetPropagationModel', - 'void', - [param('ns3::SimpleOfdmWimaxChannel::PropModel', 'propModel')]) - ## simple-ofdm-wimax-channel.h: void ns3::SimpleOfdmWimaxChannel::DoAttach(ns3::Ptr phy) [member function] - cls.add_method('DoAttach', - 'void', - [param('ns3::Ptr< ns3::WimaxPhy >', 'phy')], - visibility='private', is_virtual=True) - ## simple-ofdm-wimax-channel.h: ns3::Ptr ns3::SimpleOfdmWimaxChannel::DoGetDevice(uint32_t i) const [member function] - cls.add_method('DoGetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-channel.h: uint32_t ns3::SimpleOfdmWimaxChannel::DoGetNDevices() const [member function] - cls.add_method('DoGetNDevices', - 'uint32_t', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3SubscriberStationNetDevice_methods(root_module, cls): - ## ss-net-device.h: ns3::SubscriberStationNetDevice::m_linkManager [variable] - cls.add_instance_attribute('m_linkManager', 'ns3::Ptr< ns3::SSLinkManager >', is_const=False) - ## ss-net-device.h: static ns3::TypeId ns3::SubscriberStationNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ss-net-device.h: ns3::SubscriberStationNetDevice::SubscriberStationNetDevice() [constructor] - cls.add_constructor([]) - ## ss-net-device.h: ns3::SubscriberStationNetDevice::SubscriberStationNetDevice(ns3::Ptr arg0, ns3::Ptr arg1) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'arg0'), param('ns3::Ptr< ns3::WimaxPhy >', 'arg1')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::InitSubscriberStationNetDevice() [member function] - cls.add_method('InitSubscriberStationNetDevice', - 'void', - []) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetLostDlMapInterval(ns3::Time lostDlMapInterval) [member function] - cls.add_method('SetLostDlMapInterval', - 'void', - [param('ns3::Time', 'lostDlMapInterval')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetLostDlMapInterval() const [member function] - cls.add_method('GetLostDlMapInterval', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetLostUlMapInterval(ns3::Time lostUlMapInterval) [member function] - cls.add_method('SetLostUlMapInterval', - 'void', - [param('ns3::Time', 'lostUlMapInterval')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetLostUlMapInterval() const [member function] - cls.add_method('GetLostUlMapInterval', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetMaxDcdInterval(ns3::Time maxDcdInterval) [member function] - cls.add_method('SetMaxDcdInterval', - 'void', - [param('ns3::Time', 'maxDcdInterval')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetMaxDcdInterval() const [member function] - cls.add_method('GetMaxDcdInterval', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetMaxUcdInterval(ns3::Time maxUcdInterval) [member function] - cls.add_method('SetMaxUcdInterval', - 'void', - [param('ns3::Time', 'maxUcdInterval')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetMaxUcdInterval() const [member function] - cls.add_method('GetMaxUcdInterval', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT1(ns3::Time interval1) [member function] - cls.add_method('SetIntervalT1', - 'void', - [param('ns3::Time', 'interval1')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT1() const [member function] - cls.add_method('GetIntervalT1', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT2(ns3::Time interval2) [member function] - cls.add_method('SetIntervalT2', - 'void', - [param('ns3::Time', 'interval2')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT2() const [member function] - cls.add_method('GetIntervalT2', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT3(ns3::Time interval3) [member function] - cls.add_method('SetIntervalT3', - 'void', - [param('ns3::Time', 'interval3')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT3() const [member function] - cls.add_method('GetIntervalT3', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT7(ns3::Time interval7) [member function] - cls.add_method('SetIntervalT7', - 'void', - [param('ns3::Time', 'interval7')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT7() const [member function] - cls.add_method('GetIntervalT7', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT12(ns3::Time interval12) [member function] - cls.add_method('SetIntervalT12', - 'void', - [param('ns3::Time', 'interval12')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT12() const [member function] - cls.add_method('GetIntervalT12', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT20(ns3::Time interval20) [member function] - cls.add_method('SetIntervalT20', - 'void', - [param('ns3::Time', 'interval20')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT20() const [member function] - cls.add_method('GetIntervalT20', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT21(ns3::Time interval21) [member function] - cls.add_method('SetIntervalT21', - 'void', - [param('ns3::Time', 'interval21')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT21() const [member function] - cls.add_method('GetIntervalT21', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetMaxContentionRangingRetries(uint8_t maxContentionRangingRetries) [member function] - cls.add_method('SetMaxContentionRangingRetries', - 'void', - [param('uint8_t', 'maxContentionRangingRetries')]) - ## ss-net-device.h: uint8_t ns3::SubscriberStationNetDevice::GetMaxContentionRangingRetries() const [member function] - cls.add_method('GetMaxContentionRangingRetries', - 'uint8_t', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetBasicConnection(ns3::Ptr basicConnection) [member function] - cls.add_method('SetBasicConnection', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection >', 'basicConnection')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetBasicConnection() const [member function] - cls.add_method('GetBasicConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetPrimaryConnection(ns3::Ptr primaryConnection) [member function] - cls.add_method('SetPrimaryConnection', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection >', 'primaryConnection')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetPrimaryConnection() const [member function] - cls.add_method('GetPrimaryConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## ss-net-device.h: ns3::Cid ns3::SubscriberStationNetDevice::GetBasicCid() const [member function] - cls.add_method('GetBasicCid', - 'ns3::Cid', - [], - is_const=True) - ## ss-net-device.h: ns3::Cid ns3::SubscriberStationNetDevice::GetPrimaryCid() const [member function] - cls.add_method('GetPrimaryCid', - 'ns3::Cid', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetModulationType(ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('SetModulationType', - 'void', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## ss-net-device.h: ns3::WimaxPhy::ModulationType ns3::SubscriberStationNetDevice::GetModulationType() const [member function] - cls.add_method('GetModulationType', - 'ns3::WimaxPhy::ModulationType', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetAreManagementConnectionsAllocated(bool areManagementConnectionsAllocated) [member function] - cls.add_method('SetAreManagementConnectionsAllocated', - 'void', - [param('bool', 'areManagementConnectionsAllocated')]) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::GetAreManagementConnectionsAllocated() const [member function] - cls.add_method('GetAreManagementConnectionsAllocated', - 'bool', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetAreServiceFlowsAllocated(bool areServiceFlowsAllocated) [member function] - cls.add_method('SetAreServiceFlowsAllocated', - 'void', - [param('bool', 'areServiceFlowsAllocated')]) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::GetAreServiceFlowsAllocated() const [member function] - cls.add_method('GetAreServiceFlowsAllocated', - 'bool', - [], - is_const=True) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetScheduler() const [member function] - cls.add_method('GetScheduler', - 'ns3::Ptr< ns3::SSScheduler >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetScheduler(ns3::Ptr ssScheduler) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::Ptr< ns3::SSScheduler >', 'ssScheduler')]) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::HasServiceFlows() const [member function] - cls.add_method('HasServiceFlows', - 'bool', - [], - is_const=True) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::Ptr connection) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection')], - is_virtual=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SendBurst(uint8_t uiuc, uint16_t nrSymbols, ns3::Ptr connection, ns3::MacHeaderType::HeaderType packetType=::ns3::MacHeaderType::HEADER_TYPE_GENERIC) [member function] - cls.add_method('SendBurst', - 'void', - [param('uint8_t', 'uiuc'), param('uint16_t', 'nrSymbols'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection'), param('ns3::MacHeaderType::HeaderType', 'packetType', default_value='::ns3::MacHeaderType::HEADER_TYPE_GENERIC')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::AddServiceFlow(ns3::ServiceFlow * sf) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'sf')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::AddServiceFlow(ns3::ServiceFlow sf) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'sf')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetTimer(ns3::EventId eventId, ns3::EventId & event) [member function] - cls.add_method('SetTimer', - 'void', - [param('ns3::EventId', 'eventId'), param('ns3::EventId &', 'event')]) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::IsRegistered() const [member function] - cls.add_method('IsRegistered', - 'bool', - [], - is_const=True) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetTimeToAllocation(ns3::Time defferTime) [member function] - cls.add_method('GetTimeToAllocation', - 'ns3::Time', - [param('ns3::Time', 'defferTime')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetIpcsClassifier() const [member function] - cls.add_method('GetIpcsClassifier', - 'ns3::Ptr< ns3::IpcsClassifier >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIpcsPacketClassifier(ns3::Ptr arg0) [member function] - cls.add_method('SetIpcsPacketClassifier', - 'void', - [param('ns3::Ptr< ns3::IpcsClassifier >', 'arg0')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetLinkManager() const [member function] - cls.add_method('GetLinkManager', - 'ns3::Ptr< ns3::SSLinkManager >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetLinkManager(ns3::Ptr arg0) [member function] - cls.add_method('SetLinkManager', - 'void', - [param('ns3::Ptr< ns3::SSLinkManager >', 'arg0')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetServiceFlowManager() const [member function] - cls.add_method('GetServiceFlowManager', - 'ns3::Ptr< ns3::SsServiceFlowManager >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetServiceFlowManager(ns3::Ptr arg0) [member function] - cls.add_method('SetServiceFlowManager', - 'void', - [param('ns3::Ptr< ns3::SsServiceFlowManager >', 'arg0')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='private', is_virtual=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::DoReceive(ns3::Ptr packet) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## crc8.h: extern uint8_t ns3::CRC8Calculate(uint8_t const * data, int length) [free function] - module.add_function('CRC8Calculate', - 'uint8_t', - [param('uint8_t const *', 'data'), param('int', 'length')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py b/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py deleted file mode 100644 index 1f40d69a2..000000000 --- a/bindings/python/apidefs/gcc-ILP32/ns3modulegen_generated.py +++ /dev/null @@ -1,1378 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - - -import pybindgen.settings -import warnings - -class ErrorHandler(pybindgen.settings.ErrorHandler): - def handle_error(self, wrapper, exception, traceback_): - warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) - return True -pybindgen.settings.error_handler = ErrorHandler() - - -import sys -import ns3_module_core -import ns3_module_network -import ns3_module_bridge -import ns3_module_config_store -import ns3_module_emu -import ns3_module_mobility -import ns3_module_mpi -import ns3_module_stats -import ns3_module_tools -import ns3_module_topology_read -import ns3_module_propagation -import ns3_module_internet -import ns3_module_point_to_point -import ns3_module_wifi -import ns3_module_applications -import ns3_module_click -import ns3_module_flow_monitor -import ns3_module_nix_vector_routing -import ns3_module_openflow -import ns3_module_tap_bridge -import ns3_module_virtual_net_device -import ns3_module_netanim -import ns3_module_energy -import ns3_module_visualizer -import ns3_module_mesh -import ns3_module_ns3wifi -import ns3_module_spectrum -import ns3_module_csma -import ns3_module_uan -import ns3_module_aodv -import ns3_module_dsdv -import ns3_module_wimax -import ns3_module_ns3tcp -import ns3_module_olsr -import ns3_module_lte - -def module_init(): - root_module = Module('ns3', cpp_namespace='::ns3') - return root_module - -def register_types(module): - root_module = module.get_root() - - root_module.begin_section('ns3_module_core') - ns3_module_core.register_types(module) - - try: - import ns3_module_core__local - except ImportError: - pass - else: - ns3_module_core__local.register_types(module) - - root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_network') - ns3_module_network.register_types(module) - - try: - import ns3_module_network__local - except ImportError: - pass - else: - ns3_module_network__local.register_types(module) - - root_module.end_section('ns3_module_network') - root_module.begin_section('ns3_module_bridge') - ns3_module_bridge.register_types(module) - - try: - import ns3_module_bridge__local - except ImportError: - pass - else: - ns3_module_bridge__local.register_types(module) - - root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_config_store') - ns3_module_config_store.register_types(module) - - try: - import ns3_module_config_store__local - except ImportError: - pass - else: - ns3_module_config_store__local.register_types(module) - - root_module.end_section('ns3_module_config_store') - root_module.begin_section('ns3_module_emu') - ns3_module_emu.register_types(module) - - try: - import ns3_module_emu__local - except ImportError: - pass - else: - ns3_module_emu__local.register_types(module) - - root_module.end_section('ns3_module_emu') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_types(module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_types(module) - - root_module.end_section('ns3_module_mobility') - root_module.begin_section('ns3_module_mpi') - ns3_module_mpi.register_types(module) - - try: - import ns3_module_mpi__local - except ImportError: - pass - else: - ns3_module_mpi__local.register_types(module) - - root_module.end_section('ns3_module_mpi') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_types(module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_types(module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_tools') - ns3_module_tools.register_types(module) - - try: - import ns3_module_tools__local - except ImportError: - pass - else: - ns3_module_tools__local.register_types(module) - - root_module.end_section('ns3_module_tools') - root_module.begin_section('ns3_module_topology_read') - ns3_module_topology_read.register_types(module) - - try: - import ns3_module_topology_read__local - except ImportError: - pass - else: - ns3_module_topology_read__local.register_types(module) - - root_module.end_section('ns3_module_topology_read') - root_module.begin_section('ns3_module_propagation') - ns3_module_propagation.register_types(module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_types(module) - - root_module.end_section('ns3_module_propagation') - root_module.begin_section('ns3_module_internet') - ns3_module_internet.register_types(module) - - try: - import ns3_module_internet__local - except ImportError: - pass - else: - ns3_module_internet__local.register_types(module) - - root_module.end_section('ns3_module_internet') - root_module.begin_section('ns3_module_point_to_point') - ns3_module_point_to_point.register_types(module) - - try: - import ns3_module_point_to_point__local - except ImportError: - pass - else: - ns3_module_point_to_point__local.register_types(module) - - root_module.end_section('ns3_module_point_to_point') - root_module.begin_section('ns3_module_wifi') - ns3_module_wifi.register_types(module) - - try: - import ns3_module_wifi__local - except ImportError: - pass - else: - ns3_module_wifi__local.register_types(module) - - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_applications') - ns3_module_applications.register_types(module) - - try: - import ns3_module_applications__local - except ImportError: - pass - else: - ns3_module_applications__local.register_types(module) - - root_module.end_section('ns3_module_applications') - root_module.begin_section('ns3_module_click') - ns3_module_click.register_types(module) - - try: - import ns3_module_click__local - except ImportError: - pass - else: - ns3_module_click__local.register_types(module) - - root_module.end_section('ns3_module_click') - root_module.begin_section('ns3_module_flow_monitor') - ns3_module_flow_monitor.register_types(module) - - try: - import ns3_module_flow_monitor__local - except ImportError: - pass - else: - ns3_module_flow_monitor__local.register_types(module) - - root_module.end_section('ns3_module_flow_monitor') - root_module.begin_section('ns3_module_nix_vector_routing') - ns3_module_nix_vector_routing.register_types(module) - - try: - import ns3_module_nix_vector_routing__local - except ImportError: - pass - else: - ns3_module_nix_vector_routing__local.register_types(module) - - root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_openflow') - ns3_module_openflow.register_types(module) - - try: - import ns3_module_openflow__local - except ImportError: - pass - else: - ns3_module_openflow__local.register_types(module) - - root_module.end_section('ns3_module_openflow') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_types(module) - - try: - import ns3_module_tap_bridge__local - except ImportError: - pass - else: - ns3_module_tap_bridge__local.register_types(module) - - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_types(module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_types(module) - - root_module.end_section('ns3_module_virtual_net_device') - root_module.begin_section('ns3_module_netanim') - ns3_module_netanim.register_types(module) - - try: - import ns3_module_netanim__local - except ImportError: - pass - else: - ns3_module_netanim__local.register_types(module) - - root_module.end_section('ns3_module_netanim') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_types(module) - - try: - import ns3_module_energy__local - except ImportError: - pass - else: - ns3_module_energy__local.register_types(module) - - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_types(module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_types(module) - - root_module.end_section('ns3_module_visualizer') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_types(module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_types(module) - - root_module.end_section('ns3_module_mesh') - root_module.begin_section('ns3_module_ns3wifi') - ns3_module_ns3wifi.register_types(module) - - try: - import ns3_module_ns3wifi__local - except ImportError: - pass - else: - ns3_module_ns3wifi__local.register_types(module) - - root_module.end_section('ns3_module_ns3wifi') - root_module.begin_section('ns3_module_spectrum') - ns3_module_spectrum.register_types(module) - - try: - import ns3_module_spectrum__local - except ImportError: - pass - else: - ns3_module_spectrum__local.register_types(module) - - root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_csma') - ns3_module_csma.register_types(module) - - try: - import ns3_module_csma__local - except ImportError: - pass - else: - ns3_module_csma__local.register_types(module) - - root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_uan') - ns3_module_uan.register_types(module) - - try: - import ns3_module_uan__local - except ImportError: - pass - else: - ns3_module_uan__local.register_types(module) - - root_module.end_section('ns3_module_uan') - root_module.begin_section('ns3_module_aodv') - ns3_module_aodv.register_types(module) - - try: - import ns3_module_aodv__local - except ImportError: - pass - else: - ns3_module_aodv__local.register_types(module) - - root_module.end_section('ns3_module_aodv') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_types(module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_types(module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_types(module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_types(module) - - root_module.end_section('ns3_module_wimax') - root_module.begin_section('ns3_module_ns3tcp') - ns3_module_ns3tcp.register_types(module) - - try: - import ns3_module_ns3tcp__local - except ImportError: - pass - else: - ns3_module_ns3tcp__local.register_types(module) - - root_module.end_section('ns3_module_ns3tcp') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_types(module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_types(module) - - root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_lte') - ns3_module_lte.register_types(module) - - try: - import ns3_module_lte__local - except ImportError: - pass - else: - ns3_module_lte__local.register_types(module) - - root_module.end_section('ns3_module_lte') - module.add_container('std::vector< unsigned int >', 'unsigned int', container_type='vector') - module.add_container('std::vector< bool >', 'bool', container_type='vector') - module.add_container('std::vector< int >', 'int', container_type='vector') - module.add_container('std::vector< std::string >', 'std::string', container_type='vector') - module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set') - module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress >', container_type='list') - module.add_container('std::vector< ns3::ServiceFlow * >', 'ns3::ServiceFlow *', container_type='vector') - module.add_container('std::vector< std::complex< double > >', 'std::complex< double >', container_type='vector') - module.add_container('std::vector< double >', 'double', container_type='vector') - module.add_container('ns3::bvec', 'bool', container_type='vector') - module.add_container('std::vector< ns3::SSRecord * >', 'ns3::SSRecord *', container_type='vector') - module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map') - module.add_container('std::set< unsigned char >', 'unsigned char', container_type='set') - module.add_container('std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > >', 'std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > >', container_type='list') - module.add_container('std::vector< unsigned long long >', 'long long unsigned int', container_type='vector') - module.add_container('std::vector< std::vector< double > >', 'std::vector< double >', container_type='vector') - module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list') - module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader >', container_type='list') - module.add_container('std::vector< std::pair< ns3::Ptr< ns3::UanNetDevice >, ns3::Ptr< ns3::UanTransducer > > >', 'std::pair< ns3::Ptr< ns3::UanNetDevice >, ns3::Ptr< ns3::UanTransducer > >', container_type='vector') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - module.add_container('std::map< ns3::Ipv4Address, unsigned int >', ('ns3::Ipv4Address', 'unsigned int'), container_type='map') - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - module.add_container('std::vector< std::pair< unsigned int, ns3::Mac48Address > >', 'std::pair< unsigned int, ns3::Mac48Address >', container_type='vector') - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - root_module.begin_section('ns3_module_core') - ns3_module_core.register_methods(root_module) - - try: - import ns3_module_core__local - except ImportError: - pass - else: - ns3_module_core__local.register_methods(root_module) - - root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_network') - ns3_module_network.register_methods(root_module) - - try: - import ns3_module_network__local - except ImportError: - pass - else: - ns3_module_network__local.register_methods(root_module) - - root_module.end_section('ns3_module_network') - root_module.begin_section('ns3_module_bridge') - ns3_module_bridge.register_methods(root_module) - - try: - import ns3_module_bridge__local - except ImportError: - pass - else: - ns3_module_bridge__local.register_methods(root_module) - - root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_config_store') - ns3_module_config_store.register_methods(root_module) - - try: - import ns3_module_config_store__local - except ImportError: - pass - else: - ns3_module_config_store__local.register_methods(root_module) - - root_module.end_section('ns3_module_config_store') - root_module.begin_section('ns3_module_emu') - ns3_module_emu.register_methods(root_module) - - try: - import ns3_module_emu__local - except ImportError: - pass - else: - ns3_module_emu__local.register_methods(root_module) - - root_module.end_section('ns3_module_emu') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_methods(root_module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_methods(root_module) - - root_module.end_section('ns3_module_mobility') - root_module.begin_section('ns3_module_mpi') - ns3_module_mpi.register_methods(root_module) - - try: - import ns3_module_mpi__local - except ImportError: - pass - else: - ns3_module_mpi__local.register_methods(root_module) - - root_module.end_section('ns3_module_mpi') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_methods(root_module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_methods(root_module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_tools') - ns3_module_tools.register_methods(root_module) - - try: - import ns3_module_tools__local - except ImportError: - pass - else: - ns3_module_tools__local.register_methods(root_module) - - root_module.end_section('ns3_module_tools') - root_module.begin_section('ns3_module_topology_read') - ns3_module_topology_read.register_methods(root_module) - - try: - import ns3_module_topology_read__local - except ImportError: - pass - else: - ns3_module_topology_read__local.register_methods(root_module) - - root_module.end_section('ns3_module_topology_read') - root_module.begin_section('ns3_module_propagation') - ns3_module_propagation.register_methods(root_module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_methods(root_module) - - root_module.end_section('ns3_module_propagation') - root_module.begin_section('ns3_module_internet') - ns3_module_internet.register_methods(root_module) - - try: - import ns3_module_internet__local - except ImportError: - pass - else: - ns3_module_internet__local.register_methods(root_module) - - root_module.end_section('ns3_module_internet') - root_module.begin_section('ns3_module_point_to_point') - ns3_module_point_to_point.register_methods(root_module) - - try: - import ns3_module_point_to_point__local - except ImportError: - pass - else: - ns3_module_point_to_point__local.register_methods(root_module) - - root_module.end_section('ns3_module_point_to_point') - root_module.begin_section('ns3_module_wifi') - ns3_module_wifi.register_methods(root_module) - - try: - import ns3_module_wifi__local - except ImportError: - pass - else: - ns3_module_wifi__local.register_methods(root_module) - - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_applications') - ns3_module_applications.register_methods(root_module) - - try: - import ns3_module_applications__local - except ImportError: - pass - else: - ns3_module_applications__local.register_methods(root_module) - - root_module.end_section('ns3_module_applications') - root_module.begin_section('ns3_module_click') - ns3_module_click.register_methods(root_module) - - try: - import ns3_module_click__local - except ImportError: - pass - else: - ns3_module_click__local.register_methods(root_module) - - root_module.end_section('ns3_module_click') - root_module.begin_section('ns3_module_flow_monitor') - ns3_module_flow_monitor.register_methods(root_module) - - try: - import ns3_module_flow_monitor__local - except ImportError: - pass - else: - ns3_module_flow_monitor__local.register_methods(root_module) - - root_module.end_section('ns3_module_flow_monitor') - root_module.begin_section('ns3_module_nix_vector_routing') - ns3_module_nix_vector_routing.register_methods(root_module) - - try: - import ns3_module_nix_vector_routing__local - except ImportError: - pass - else: - ns3_module_nix_vector_routing__local.register_methods(root_module) - - root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_openflow') - ns3_module_openflow.register_methods(root_module) - - try: - import ns3_module_openflow__local - except ImportError: - pass - else: - ns3_module_openflow__local.register_methods(root_module) - - root_module.end_section('ns3_module_openflow') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_methods(root_module) - - try: - import ns3_module_tap_bridge__local - except ImportError: - pass - else: - ns3_module_tap_bridge__local.register_methods(root_module) - - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_methods(root_module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_methods(root_module) - - root_module.end_section('ns3_module_virtual_net_device') - root_module.begin_section('ns3_module_netanim') - ns3_module_netanim.register_methods(root_module) - - try: - import ns3_module_netanim__local - except ImportError: - pass - else: - ns3_module_netanim__local.register_methods(root_module) - - root_module.end_section('ns3_module_netanim') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_methods(root_module) - - try: - import ns3_module_energy__local - except ImportError: - pass - else: - ns3_module_energy__local.register_methods(root_module) - - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_methods(root_module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_methods(root_module) - - root_module.end_section('ns3_module_visualizer') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_methods(root_module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_methods(root_module) - - root_module.end_section('ns3_module_mesh') - root_module.begin_section('ns3_module_ns3wifi') - ns3_module_ns3wifi.register_methods(root_module) - - try: - import ns3_module_ns3wifi__local - except ImportError: - pass - else: - ns3_module_ns3wifi__local.register_methods(root_module) - - root_module.end_section('ns3_module_ns3wifi') - root_module.begin_section('ns3_module_spectrum') - ns3_module_spectrum.register_methods(root_module) - - try: - import ns3_module_spectrum__local - except ImportError: - pass - else: - ns3_module_spectrum__local.register_methods(root_module) - - root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_csma') - ns3_module_csma.register_methods(root_module) - - try: - import ns3_module_csma__local - except ImportError: - pass - else: - ns3_module_csma__local.register_methods(root_module) - - root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_uan') - ns3_module_uan.register_methods(root_module) - - try: - import ns3_module_uan__local - except ImportError: - pass - else: - ns3_module_uan__local.register_methods(root_module) - - root_module.end_section('ns3_module_uan') - root_module.begin_section('ns3_module_aodv') - ns3_module_aodv.register_methods(root_module) - - try: - import ns3_module_aodv__local - except ImportError: - pass - else: - ns3_module_aodv__local.register_methods(root_module) - - root_module.end_section('ns3_module_aodv') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_methods(root_module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_methods(root_module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_methods(root_module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_methods(root_module) - - root_module.end_section('ns3_module_wimax') - root_module.begin_section('ns3_module_ns3tcp') - ns3_module_ns3tcp.register_methods(root_module) - - try: - import ns3_module_ns3tcp__local - except ImportError: - pass - else: - ns3_module_ns3tcp__local.register_methods(root_module) - - root_module.end_section('ns3_module_ns3tcp') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_methods(root_module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_methods(root_module) - - root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_lte') - ns3_module_lte.register_methods(root_module) - - try: - import ns3_module_lte__local - except ImportError: - pass - else: - ns3_module_lte__local.register_methods(root_module) - - root_module.end_section('ns3_module_lte') - return - -def register_functions(root_module): - module = root_module - root_module.begin_section('ns3_module_core') - ns3_module_core.register_functions(root_module) - - try: - import ns3_module_core__local - except ImportError: - pass - else: - ns3_module_core__local.register_functions(root_module) - - root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_network') - ns3_module_network.register_functions(root_module) - - try: - import ns3_module_network__local - except ImportError: - pass - else: - ns3_module_network__local.register_functions(root_module) - - root_module.end_section('ns3_module_network') - root_module.begin_section('ns3_module_bridge') - ns3_module_bridge.register_functions(root_module) - - try: - import ns3_module_bridge__local - except ImportError: - pass - else: - ns3_module_bridge__local.register_functions(root_module) - - root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_config_store') - ns3_module_config_store.register_functions(root_module) - - try: - import ns3_module_config_store__local - except ImportError: - pass - else: - ns3_module_config_store__local.register_functions(root_module) - - root_module.end_section('ns3_module_config_store') - root_module.begin_section('ns3_module_emu') - ns3_module_emu.register_functions(root_module) - - try: - import ns3_module_emu__local - except ImportError: - pass - else: - ns3_module_emu__local.register_functions(root_module) - - root_module.end_section('ns3_module_emu') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_functions(root_module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_functions(root_module) - - root_module.end_section('ns3_module_mobility') - root_module.begin_section('ns3_module_mpi') - ns3_module_mpi.register_functions(root_module) - - try: - import ns3_module_mpi__local - except ImportError: - pass - else: - ns3_module_mpi__local.register_functions(root_module) - - root_module.end_section('ns3_module_mpi') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_functions(root_module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_functions(root_module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_tools') - ns3_module_tools.register_functions(root_module) - - try: - import ns3_module_tools__local - except ImportError: - pass - else: - ns3_module_tools__local.register_functions(root_module) - - root_module.end_section('ns3_module_tools') - root_module.begin_section('ns3_module_topology_read') - ns3_module_topology_read.register_functions(root_module) - - try: - import ns3_module_topology_read__local - except ImportError: - pass - else: - ns3_module_topology_read__local.register_functions(root_module) - - root_module.end_section('ns3_module_topology_read') - root_module.begin_section('ns3_module_propagation') - ns3_module_propagation.register_functions(root_module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_functions(root_module) - - root_module.end_section('ns3_module_propagation') - root_module.begin_section('ns3_module_internet') - ns3_module_internet.register_functions(root_module) - - try: - import ns3_module_internet__local - except ImportError: - pass - else: - ns3_module_internet__local.register_functions(root_module) - - root_module.end_section('ns3_module_internet') - root_module.begin_section('ns3_module_point_to_point') - ns3_module_point_to_point.register_functions(root_module) - - try: - import ns3_module_point_to_point__local - except ImportError: - pass - else: - ns3_module_point_to_point__local.register_functions(root_module) - - root_module.end_section('ns3_module_point_to_point') - root_module.begin_section('ns3_module_wifi') - ns3_module_wifi.register_functions(root_module) - - try: - import ns3_module_wifi__local - except ImportError: - pass - else: - ns3_module_wifi__local.register_functions(root_module) - - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_applications') - ns3_module_applications.register_functions(root_module) - - try: - import ns3_module_applications__local - except ImportError: - pass - else: - ns3_module_applications__local.register_functions(root_module) - - root_module.end_section('ns3_module_applications') - root_module.begin_section('ns3_module_click') - ns3_module_click.register_functions(root_module) - - try: - import ns3_module_click__local - except ImportError: - pass - else: - ns3_module_click__local.register_functions(root_module) - - root_module.end_section('ns3_module_click') - root_module.begin_section('ns3_module_flow_monitor') - ns3_module_flow_monitor.register_functions(root_module) - - try: - import ns3_module_flow_monitor__local - except ImportError: - pass - else: - ns3_module_flow_monitor__local.register_functions(root_module) - - root_module.end_section('ns3_module_flow_monitor') - root_module.begin_section('ns3_module_nix_vector_routing') - ns3_module_nix_vector_routing.register_functions(root_module) - - try: - import ns3_module_nix_vector_routing__local - except ImportError: - pass - else: - ns3_module_nix_vector_routing__local.register_functions(root_module) - - root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_openflow') - ns3_module_openflow.register_functions(root_module) - - try: - import ns3_module_openflow__local - except ImportError: - pass - else: - ns3_module_openflow__local.register_functions(root_module) - - root_module.end_section('ns3_module_openflow') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_functions(root_module) - - try: - import ns3_module_tap_bridge__local - except ImportError: - pass - else: - ns3_module_tap_bridge__local.register_functions(root_module) - - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_functions(root_module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_functions(root_module) - - root_module.end_section('ns3_module_virtual_net_device') - root_module.begin_section('ns3_module_netanim') - ns3_module_netanim.register_functions(root_module) - - try: - import ns3_module_netanim__local - except ImportError: - pass - else: - ns3_module_netanim__local.register_functions(root_module) - - root_module.end_section('ns3_module_netanim') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_functions(root_module) - - try: - import ns3_module_energy__local - except ImportError: - pass - else: - ns3_module_energy__local.register_functions(root_module) - - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_functions(root_module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_functions(root_module) - - root_module.end_section('ns3_module_visualizer') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_functions(root_module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_functions(root_module) - - root_module.end_section('ns3_module_mesh') - root_module.begin_section('ns3_module_ns3wifi') - ns3_module_ns3wifi.register_functions(root_module) - - try: - import ns3_module_ns3wifi__local - except ImportError: - pass - else: - ns3_module_ns3wifi__local.register_functions(root_module) - - root_module.end_section('ns3_module_ns3wifi') - root_module.begin_section('ns3_module_spectrum') - ns3_module_spectrum.register_functions(root_module) - - try: - import ns3_module_spectrum__local - except ImportError: - pass - else: - ns3_module_spectrum__local.register_functions(root_module) - - root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_csma') - ns3_module_csma.register_functions(root_module) - - try: - import ns3_module_csma__local - except ImportError: - pass - else: - ns3_module_csma__local.register_functions(root_module) - - root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_uan') - ns3_module_uan.register_functions(root_module) - - try: - import ns3_module_uan__local - except ImportError: - pass - else: - ns3_module_uan__local.register_functions(root_module) - - root_module.end_section('ns3_module_uan') - root_module.begin_section('ns3_module_aodv') - ns3_module_aodv.register_functions(root_module) - - try: - import ns3_module_aodv__local - except ImportError: - pass - else: - ns3_module_aodv__local.register_functions(root_module) - - root_module.end_section('ns3_module_aodv') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_functions(root_module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_functions(root_module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_functions(root_module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_functions(root_module) - - root_module.end_section('ns3_module_wimax') - root_module.begin_section('ns3_module_ns3tcp') - ns3_module_ns3tcp.register_functions(root_module) - - try: - import ns3_module_ns3tcp__local - except ImportError: - pass - else: - ns3_module_ns3tcp__local.register_functions(root_module) - - root_module.end_section('ns3_module_ns3tcp') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_functions(root_module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_functions(root_module) - - root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_lte') - ns3_module_lte.register_functions(root_module) - - try: - import ns3_module_lte__local - except ImportError: - pass - else: - ns3_module_lte__local.register_functions(root_module) - - root_module.end_section('ns3_module_lte') - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - -def main(): - out = FileCodeSink(sys.stdout) - root_module = module_init() - register_types(root_module) - register_methods(root_module) - register_functions(root_module) - root_module.generate(out) - -if __name__ == '__main__': - main() - diff --git a/bindings/python/apidefs/gcc-LP64/callbacks_list.py b/bindings/python/apidefs/gcc-LP64/callbacks_list.py deleted file mode 100644 index 3013d6402..000000000 --- a/bindings/python/apidefs/gcc-LP64/callbacks_list.py +++ /dev/null @@ -1,39 +0,0 @@ -callback_classes = [ - ['void', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::Address const&', 'unsigned short', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'double', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'double', 'ns3::UanTxMode', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::UanAddress const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'unsigned char*', 'long', '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::Mac48Address', 'ns3::Mac48Address', 'unsigned int', 'bool', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'unsigned int', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::dot11s::PeerLink::PeerState', 'ns3::dot11s::PeerLink::PeerState', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::WifiMacHeader const*', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ipv4Address', 'unsigned char', 'unsigned char', 'unsigned char', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ipv4Header', 'unsigned short', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ipv4Address', 'ns3::Ipv4Address', 'unsigned char', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['std::vector >', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'bool', 'ns3::Ptr', 'ns3::Mac48Address', 'ns3::Mac48Address', 'unsigned short', 'unsigned int', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['unsigned int', 'ns3::Mac48Address', 'ns3::Ptr', '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::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'std::string', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'bool', 'unsigned long', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ipv4Header const&', 'ns3::Socket::SocketErrno', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ipv4Header const&', '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::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'], - ['bool', 'ns3::Ptr', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::WifiMacHeader const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Ipv4Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['bool', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Ptr', 'ns3::Mac48Address', 'ns3::Mac48Address', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Mac48Address', 'unsigned char', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty', 'ns3::empty'], - ['void', 'ns3::Mac48Address', 'unsigned char', 'bool', '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'], -] diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py b/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py deleted file mode 100644 index 70ffe1159..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_aodv.py +++ /dev/null @@ -1,1145 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## aodv-helper.h: ns3::AodvHelper [class] - module.add_class('AodvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - ## aodv-packet.h: ns3::aodv::MessageType [enumeration] - module.add_enum('MessageType', ['AODVTYPE_RREQ', 'AODVTYPE_RREP', 'AODVTYPE_RERR', 'AODVTYPE_RREP_ACK']) - ## aodv-rtable.h: ns3::aodv::RouteFlags [enumeration] - module.add_enum('RouteFlags', ['VALID', 'INVALID', 'IN_SEARCH']) - ## aodv-dpd.h: ns3::aodv::DuplicatePacketDetection [class] - module.add_class('DuplicatePacketDetection') - ## aodv-id-cache.h: ns3::aodv::IdCache [class] - module.add_class('IdCache') - ## aodv-neighbor.h: ns3::aodv::Neighbors [class] - module.add_class('Neighbors') - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor [struct] - module.add_class('Neighbor', outer_class=root_module['ns3::aodv::Neighbors']) - ## aodv-rqueue.h: ns3::aodv::QueueEntry [class] - module.add_class('QueueEntry') - ## aodv-rqueue.h: ns3::aodv::RequestQueue [class] - module.add_class('RequestQueue') - ## aodv-packet.h: ns3::aodv::RerrHeader [class] - module.add_class('RerrHeader', parent=root_module['ns3::Header']) - ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol [class] - module.add_class('RoutingProtocol', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## aodv-rtable.h: ns3::aodv::RoutingTable [class] - module.add_class('RoutingTable') - ## aodv-rtable.h: ns3::aodv::RoutingTableEntry [class] - module.add_class('RoutingTableEntry') - ## aodv-packet.h: ns3::aodv::RrepAckHeader [class] - module.add_class('RrepAckHeader', parent=root_module['ns3::Header']) - ## aodv-packet.h: ns3::aodv::RrepHeader [class] - module.add_class('RrepHeader', parent=root_module['ns3::Header']) - ## aodv-packet.h: ns3::aodv::RreqHeader [class] - module.add_class('RreqHeader', parent=root_module['ns3::Header']) - ## aodv-packet.h: ns3::aodv::TypeHeader [class] - module.add_class('TypeHeader', parent=root_module['ns3::Header']) - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) - register_Ns3AodvDuplicatePacketDetection_methods(root_module, root_module['ns3::aodv::DuplicatePacketDetection']) - register_Ns3AodvIdCache_methods(root_module, root_module['ns3::aodv::IdCache']) - register_Ns3AodvNeighbors_methods(root_module, root_module['ns3::aodv::Neighbors']) - register_Ns3AodvNeighborsNeighbor_methods(root_module, root_module['ns3::aodv::Neighbors::Neighbor']) - register_Ns3AodvQueueEntry_methods(root_module, root_module['ns3::aodv::QueueEntry']) - register_Ns3AodvRequestQueue_methods(root_module, root_module['ns3::aodv::RequestQueue']) - register_Ns3AodvRerrHeader_methods(root_module, root_module['ns3::aodv::RerrHeader']) - register_Ns3AodvRoutingProtocol_methods(root_module, root_module['ns3::aodv::RoutingProtocol']) - register_Ns3AodvRoutingTable_methods(root_module, root_module['ns3::aodv::RoutingTable']) - register_Ns3AodvRoutingTableEntry_methods(root_module, root_module['ns3::aodv::RoutingTableEntry']) - register_Ns3AodvRrepAckHeader_methods(root_module, root_module['ns3::aodv::RrepAckHeader']) - register_Ns3AodvRrepHeader_methods(root_module, root_module['ns3::aodv::RrepHeader']) - register_Ns3AodvRreqHeader_methods(root_module, root_module['ns3::aodv::RreqHeader']) - register_Ns3AodvTypeHeader_methods(root_module, root_module['ns3::aodv::TypeHeader']) - return - -def register_Ns3AodvHelper_methods(root_module, cls): - ## aodv-helper.h: ns3::AodvHelper::AodvHelper(ns3::AodvHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AodvHelper const &', 'arg0')]) - ## aodv-helper.h: ns3::AodvHelper::AodvHelper() [constructor] - cls.add_constructor([]) - ## aodv-helper.h: ns3::AodvHelper * ns3::AodvHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::AodvHelper *', - [], - is_const=True, is_virtual=True) - ## aodv-helper.h: ns3::Ptr ns3::AodvHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## aodv-helper.h: void ns3::AodvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3AodvDuplicatePacketDetection_methods(root_module, cls): - ## aodv-dpd.h: ns3::aodv::DuplicatePacketDetection::DuplicatePacketDetection(ns3::aodv::DuplicatePacketDetection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::DuplicatePacketDetection const &', 'arg0')]) - ## aodv-dpd.h: ns3::aodv::DuplicatePacketDetection::DuplicatePacketDetection(ns3::Time lifetime) [constructor] - cls.add_constructor([param('ns3::Time', 'lifetime')]) - ## aodv-dpd.h: ns3::Time ns3::aodv::DuplicatePacketDetection::GetLifetime() const [member function] - cls.add_method('GetLifetime', - 'ns3::Time', - [], - is_const=True) - ## aodv-dpd.h: bool ns3::aodv::DuplicatePacketDetection::IsDuplicate(ns3::Ptr p, ns3::Ipv4Header const & header) [member function] - cls.add_method('IsDuplicate', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header')]) - ## aodv-dpd.h: void ns3::aodv::DuplicatePacketDetection::SetLifetime(ns3::Time lifetime) [member function] - cls.add_method('SetLifetime', - 'void', - [param('ns3::Time', 'lifetime')]) - return - -def register_Ns3AodvIdCache_methods(root_module, cls): - ## aodv-id-cache.h: ns3::aodv::IdCache::IdCache(ns3::aodv::IdCache const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::IdCache const &', 'arg0')]) - ## aodv-id-cache.h: ns3::aodv::IdCache::IdCache(ns3::Time lifetime) [constructor] - cls.add_constructor([param('ns3::Time', 'lifetime')]) - ## aodv-id-cache.h: ns3::Time ns3::aodv::IdCache::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-id-cache.h: uint32_t ns3::aodv::IdCache::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - []) - ## aodv-id-cache.h: bool ns3::aodv::IdCache::IsDuplicate(ns3::Ipv4Address addr, uint32_t id) [member function] - cls.add_method('IsDuplicate', - 'bool', - [param('ns3::Ipv4Address', 'addr'), param('uint32_t', 'id')]) - ## aodv-id-cache.h: void ns3::aodv::IdCache::Purge() [member function] - cls.add_method('Purge', - 'void', - []) - ## aodv-id-cache.h: void ns3::aodv::IdCache::SetLifetime(ns3::Time lifetime) [member function] - cls.add_method('SetLifetime', - 'void', - [param('ns3::Time', 'lifetime')]) - return - -def register_Ns3AodvNeighbors_methods(root_module, cls): - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbors(ns3::aodv::Neighbors const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::Neighbors const &', 'arg0')]) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbors(ns3::Time delay) [constructor] - cls.add_constructor([param('ns3::Time', 'delay')]) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::AddArpCache(ns3::Ptr arg0) [member function] - cls.add_method('AddArpCache', - 'void', - [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::DelArpCache(ns3::Ptr arg0) [member function] - cls.add_method('DelArpCache', - 'void', - [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) - ## aodv-neighbor.h: ns3::Callback ns3::aodv::Neighbors::GetCallback() const [member function] - cls.add_method('GetCallback', - 'ns3::Callback< void, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## aodv-neighbor.h: ns3::Time ns3::aodv::Neighbors::GetExpireTime(ns3::Ipv4Address addr) [member function] - cls.add_method('GetExpireTime', - 'ns3::Time', - [param('ns3::Ipv4Address', 'addr')]) - ## aodv-neighbor.h: ns3::Callback ns3::aodv::Neighbors::GetTxErrorCallback() const [member function] - cls.add_method('GetTxErrorCallback', - 'ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## aodv-neighbor.h: bool ns3::aodv::Neighbors::IsNeighbor(ns3::Ipv4Address addr) [member function] - cls.add_method('IsNeighbor', - 'bool', - [param('ns3::Ipv4Address', 'addr')]) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::Purge() [member function] - cls.add_method('Purge', - 'void', - []) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::ScheduleTimer() [member function] - cls.add_method('ScheduleTimer', - 'void', - []) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::SetCallback(ns3::Callback cb) [member function] - cls.add_method('SetCallback', - 'void', - [param('ns3::Callback< void, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## aodv-neighbor.h: void ns3::aodv::Neighbors::Update(ns3::Ipv4Address addr, ns3::Time expire) [member function] - cls.add_method('Update', - 'void', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Time', 'expire')]) - return - -def register_Ns3AodvNeighborsNeighbor_methods(root_module, cls): - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::Neighbor(ns3::aodv::Neighbors::Neighbor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::Neighbors::Neighbor const &', 'arg0')]) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::Neighbor(ns3::Ipv4Address ip, ns3::Mac48Address mac, ns3::Time t) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('ns3::Mac48Address', 'mac'), param('ns3::Time', 't')]) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::close [variable] - cls.add_instance_attribute('close', 'bool', is_const=False) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_expireTime [variable] - cls.add_instance_attribute('m_expireTime', 'ns3::Time', is_const=False) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_hardwareAddress [variable] - cls.add_instance_attribute('m_hardwareAddress', 'ns3::Mac48Address', is_const=False) - ## aodv-neighbor.h: ns3::aodv::Neighbors::Neighbor::m_neighborAddress [variable] - cls.add_instance_attribute('m_neighborAddress', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3AodvQueueEntry_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## aodv-rqueue.h: ns3::aodv::QueueEntry::QueueEntry(ns3::aodv::QueueEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::QueueEntry const &', 'arg0')]) - ## aodv-rqueue.h: ns3::aodv::QueueEntry::QueueEntry(ns3::Ptr pa=0, ns3::Ipv4Header const & h=ns3::Ipv4Header(), ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb=ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb=ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Time exp=ns3::Simulator::Now( )) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet const >', 'pa', default_value='0'), param('ns3::Ipv4Header const &', 'h', default_value='ns3::Ipv4Header()'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb', default_value='ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb', default_value='ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), param('ns3::Time', 'exp', default_value='ns3::Simulator::Now( )')]) - ## aodv-rqueue.h: ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::aodv::QueueEntry::GetErrorCallback() const [member function] - cls.add_method('GetErrorCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Time ns3::aodv::QueueEntry::GetExpireTime() const [member function] - cls.add_method('GetExpireTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Ipv4Header ns3::aodv::QueueEntry::GetIpv4Header() const [member function] - cls.add_method('GetIpv4Header', - 'ns3::Ipv4Header', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Ptr ns3::aodv::QueueEntry::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet const >', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::aodv::QueueEntry::GetUnicastForwardCallback() const [member function] - cls.add_method('GetUnicastForwardCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetErrorCallback(ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('SetErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')]) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetExpireTime(ns3::Time exp) [member function] - cls.add_method('SetExpireTime', - 'void', - [param('ns3::Time', 'exp')]) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetIpv4Header(ns3::Ipv4Header h) [member function] - cls.add_method('SetIpv4Header', - 'void', - [param('ns3::Ipv4Header', 'h')]) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## aodv-rqueue.h: void ns3::aodv::QueueEntry::SetUnicastForwardCallback(ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb) [member function] - cls.add_method('SetUnicastForwardCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb')]) - return - -def register_Ns3AodvRequestQueue_methods(root_module, cls): - ## aodv-rqueue.h: ns3::aodv::RequestQueue::RequestQueue(ns3::aodv::RequestQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RequestQueue const &', 'arg0')]) - ## aodv-rqueue.h: ns3::aodv::RequestQueue::RequestQueue(uint32_t maxLen, ns3::Time routeToQueueTimeout) [constructor] - cls.add_constructor([param('uint32_t', 'maxLen'), param('ns3::Time', 'routeToQueueTimeout')]) - ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Dequeue(ns3::Ipv4Address dst, ns3::aodv::QueueEntry & entry) [member function] - cls.add_method('Dequeue', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::QueueEntry &', 'entry')]) - ## aodv-rqueue.h: void ns3::aodv::RequestQueue::DropPacketWithDst(ns3::Ipv4Address dst) [member function] - cls.add_method('DropPacketWithDst', - 'void', - [param('ns3::Ipv4Address', 'dst')]) - ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Enqueue(ns3::aodv::QueueEntry & entry) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::aodv::QueueEntry &', 'entry')]) - ## aodv-rqueue.h: bool ns3::aodv::RequestQueue::Find(ns3::Ipv4Address dst) [member function] - cls.add_method('Find', - 'bool', - [param('ns3::Ipv4Address', 'dst')]) - ## aodv-rqueue.h: uint32_t ns3::aodv::RequestQueue::GetMaxQueueLen() const [member function] - cls.add_method('GetMaxQueueLen', - 'uint32_t', - [], - is_const=True) - ## aodv-rqueue.h: ns3::Time ns3::aodv::RequestQueue::GetQueueTimeout() const [member function] - cls.add_method('GetQueueTimeout', - 'ns3::Time', - [], - is_const=True) - ## aodv-rqueue.h: uint32_t ns3::aodv::RequestQueue::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - []) - ## aodv-rqueue.h: void ns3::aodv::RequestQueue::SetMaxQueueLen(uint32_t len) [member function] - cls.add_method('SetMaxQueueLen', - 'void', - [param('uint32_t', 'len')]) - ## aodv-rqueue.h: void ns3::aodv::RequestQueue::SetQueueTimeout(ns3::Time t) [member function] - cls.add_method('SetQueueTimeout', - 'void', - [param('ns3::Time', 't')]) - return - -def register_Ns3AodvRerrHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::RerrHeader::RerrHeader(ns3::aodv::RerrHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RerrHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::RerrHeader::RerrHeader() [constructor] - cls.add_constructor([]) - ## aodv-packet.h: bool ns3::aodv::RerrHeader::AddUnDestination(ns3::Ipv4Address dst, uint32_t seqNo) [member function] - cls.add_method('AddUnDestination', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('uint32_t', 'seqNo')]) - ## aodv-packet.h: void ns3::aodv::RerrHeader::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## aodv-packet.h: uint32_t ns3::aodv::RerrHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: uint8_t ns3::aodv::RerrHeader::GetDestCount() const [member function] - cls.add_method('GetDestCount', - 'uint8_t', - [], - is_const=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::RerrHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: bool ns3::aodv::RerrHeader::GetNoDelete() const [member function] - cls.add_method('GetNoDelete', - 'bool', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RerrHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::RerrHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: void ns3::aodv::RerrHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: bool ns3::aodv::RerrHeader::RemoveUnDestination(std::pair & un) [member function] - cls.add_method('RemoveUnDestination', - 'bool', - [param('std::pair< ns3::Ipv4Address, unsigned int > &', 'un')]) - ## aodv-packet.h: void ns3::aodv::RerrHeader::Serialize(ns3::Buffer::Iterator i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RerrHeader::SetNoDelete(bool f) [member function] - cls.add_method('SetNoDelete', - 'void', - [param('bool', 'f')]) - return - -def register_Ns3AodvRoutingProtocol_methods(root_module, cls): - ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::RoutingProtocol(ns3::aodv::RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RoutingProtocol const &', 'arg0')]) - ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::RoutingProtocol() [constructor] - cls.add_constructor([]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetBroadcastEnable() const [member function] - cls.add_method('GetBroadcastEnable', - 'bool', - [], - is_const=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetDesinationOnlyFlag() const [member function] - cls.add_method('GetDesinationOnlyFlag', - 'bool', - [], - is_const=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetGratuitousReplyFlag() const [member function] - cls.add_method('GetGratuitousReplyFlag', - 'bool', - [], - is_const=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::GetHelloEnable() const [member function] - cls.add_method('GetHelloEnable', - 'bool', - [], - is_const=True) - ## aodv-routing-protocol.h: uint32_t ns3::aodv::RoutingProtocol::GetMaxQueueLen() const [member function] - cls.add_method('GetMaxQueueLen', - 'uint32_t', - [], - is_const=True) - ## aodv-routing-protocol.h: ns3::Time ns3::aodv::RoutingProtocol::GetMaxQueueTime() const [member function] - cls.add_method('GetMaxQueueTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-routing-protocol.h: static ns3::TypeId ns3::aodv::RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## aodv-routing-protocol.h: bool ns3::aodv::RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## aodv-routing-protocol.h: ns3::Ptr ns3::aodv::RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetBroadcastEnable(bool f) [member function] - cls.add_method('SetBroadcastEnable', - 'void', - [param('bool', 'f')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetDesinationOnlyFlag(bool f) [member function] - cls.add_method('SetDesinationOnlyFlag', - 'void', - [param('bool', 'f')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetGratuitousReplyFlag(bool f) [member function] - cls.add_method('SetGratuitousReplyFlag', - 'void', - [param('bool', 'f')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetHelloEnable(bool f) [member function] - cls.add_method('SetHelloEnable', - 'void', - [param('bool', 'f')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetMaxQueueLen(uint32_t len) [member function] - cls.add_method('SetMaxQueueLen', - 'void', - [param('uint32_t', 'len')]) - ## aodv-routing-protocol.h: void ns3::aodv::RoutingProtocol::SetMaxQueueTime(ns3::Time t) [member function] - cls.add_method('SetMaxQueueTime', - 'void', - [param('ns3::Time', 't')]) - ## aodv-routing-protocol.h: ns3::aodv::RoutingProtocol::AODV_PORT [variable] - cls.add_static_attribute('AODV_PORT', 'uint32_t const', is_const=True) - return - -def register_Ns3AodvRoutingTable_methods(root_module, cls): - ## aodv-rtable.h: ns3::aodv::RoutingTable::RoutingTable(ns3::aodv::RoutingTable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RoutingTable const &', 'arg0')]) - ## aodv-rtable.h: ns3::aodv::RoutingTable::RoutingTable(ns3::Time t) [constructor] - cls.add_constructor([param('ns3::Time', 't')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::AddRoute(ns3::aodv::RoutingTableEntry & r) [member function] - cls.add_method('AddRoute', - 'bool', - [param('ns3::aodv::RoutingTableEntry &', 'r')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::DeleteAllRoutesFromInterface(ns3::Ipv4InterfaceAddress iface) [member function] - cls.add_method('DeleteAllRoutesFromInterface', - 'void', - [param('ns3::Ipv4InterfaceAddress', 'iface')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::DeleteRoute(ns3::Ipv4Address dst) [member function] - cls.add_method('DeleteRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst')]) - ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTable::GetBadLinkLifetime() const [member function] - cls.add_method('GetBadLinkLifetime', - 'ns3::Time', - [], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::GetListOfDestinationWithNextHop(ns3::Ipv4Address nextHop, std::map, std::allocator > > & unreachable) [member function] - cls.add_method('GetListOfDestinationWithNextHop', - 'void', - [param('ns3::Ipv4Address', 'nextHop'), param('std::map< ns3::Ipv4Address, unsigned int > &', 'unreachable')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::InvalidateRoutesWithDst(std::map, std::allocator > > const & unreachable) [member function] - cls.add_method('InvalidateRoutesWithDst', - 'void', - [param('std::map< ns3::Ipv4Address, unsigned int > const &', 'unreachable')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::LookupRoute(ns3::Ipv4Address dst, ns3::aodv::RoutingTableEntry & rt) [member function] - cls.add_method('LookupRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RoutingTableEntry &', 'rt')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::LookupValidRoute(ns3::Ipv4Address dst, ns3::aodv::RoutingTableEntry & rt) [member function] - cls.add_method('LookupValidRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RoutingTableEntry &', 'rt')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::MarkLinkAsUnidirectional(ns3::Ipv4Address neighbor, ns3::Time blacklistTimeout) [member function] - cls.add_method('MarkLinkAsUnidirectional', - 'bool', - [param('ns3::Ipv4Address', 'neighbor'), param('ns3::Time', 'blacklistTimeout')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::Print(ns3::Ptr stream) const [member function] - cls.add_method('Print', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::Purge() [member function] - cls.add_method('Purge', - 'void', - []) - ## aodv-rtable.h: void ns3::aodv::RoutingTable::SetBadLinkLifetime(ns3::Time t) [member function] - cls.add_method('SetBadLinkLifetime', - 'void', - [param('ns3::Time', 't')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::SetEntryState(ns3::Ipv4Address dst, ns3::aodv::RouteFlags state) [member function] - cls.add_method('SetEntryState', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::aodv::RouteFlags', 'state')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTable::Update(ns3::aodv::RoutingTableEntry & rt) [member function] - cls.add_method('Update', - 'bool', - [param('ns3::aodv::RoutingTableEntry &', 'rt')]) - return - -def register_Ns3AodvRoutingTableEntry_methods(root_module, cls): - ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::RoutingTableEntry(ns3::aodv::RoutingTableEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RoutingTableEntry const &', 'arg0')]) - ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::RoutingTableEntry(ns3::Ptr dev=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), bool vSeqNo=false, uint32_t m_seqNo=0, ns3::Ipv4InterfaceAddress iface=ns3::Ipv4InterfaceAddress(), uint16_t hops=0, ns3::Ipv4Address nextHop=ns3::Ipv4Address(), ns3::Time lifetime=ns3::Simulator::Now( )) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('bool', 'vSeqNo', default_value='false'), param('uint32_t', 'm_seqNo', default_value='0'), param('ns3::Ipv4InterfaceAddress', 'iface', default_value='ns3::Ipv4InterfaceAddress()'), param('uint16_t', 'hops', default_value='0'), param('ns3::Ipv4Address', 'nextHop', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::Simulator::Now( )')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::DeleteAllPrecursors() [member function] - cls.add_method('DeleteAllPrecursors', - 'void', - []) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::DeletePrecursor(ns3::Ipv4Address id) [member function] - cls.add_method('DeletePrecursor', - 'bool', - [param('ns3::Ipv4Address', 'id')]) - ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTableEntry::GetBlacklistTimeout() const [member function] - cls.add_method('GetBlacklistTimeout', - 'ns3::Time', - [], - is_const=True) - ## aodv-rtable.h: ns3::Ipv4Address ns3::aodv::RoutingTableEntry::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-rtable.h: ns3::aodv::RouteFlags ns3::aodv::RoutingTableEntry::GetFlag() const [member function] - cls.add_method('GetFlag', - 'ns3::aodv::RouteFlags', - [], - is_const=True) - ## aodv-rtable.h: uint16_t ns3::aodv::RoutingTableEntry::GetHop() const [member function] - cls.add_method('GetHop', - 'uint16_t', - [], - is_const=True) - ## aodv-rtable.h: ns3::Ipv4InterfaceAddress ns3::aodv::RoutingTableEntry::GetInterface() const [member function] - cls.add_method('GetInterface', - 'ns3::Ipv4InterfaceAddress', - [], - is_const=True) - ## aodv-rtable.h: ns3::Time ns3::aodv::RoutingTableEntry::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-rtable.h: ns3::Ipv4Address ns3::aodv::RoutingTableEntry::GetNextHop() const [member function] - cls.add_method('GetNextHop', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-rtable.h: ns3::Ptr ns3::aodv::RoutingTableEntry::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::GetPrecursors(std::vector > & prec) const [member function] - cls.add_method('GetPrecursors', - 'void', - [param('std::vector< ns3::Ipv4Address > &', 'prec')], - is_const=True) - ## aodv-rtable.h: ns3::Ptr ns3::aodv::RoutingTableEntry::GetRoute() const [member function] - cls.add_method('GetRoute', - 'ns3::Ptr< ns3::Ipv4Route >', - [], - is_const=True) - ## aodv-rtable.h: uint8_t ns3::aodv::RoutingTableEntry::GetRreqCnt() const [member function] - cls.add_method('GetRreqCnt', - 'uint8_t', - [], - is_const=True) - ## aodv-rtable.h: uint32_t ns3::aodv::RoutingTableEntry::GetSeqNo() const [member function] - cls.add_method('GetSeqNo', - 'uint32_t', - [], - is_const=True) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::GetValidSeqNo() const [member function] - cls.add_method('GetValidSeqNo', - 'bool', - [], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::IncrementRreqCnt() [member function] - cls.add_method('IncrementRreqCnt', - 'void', - []) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::InsertPrecursor(ns3::Ipv4Address id) [member function] - cls.add_method('InsertPrecursor', - 'bool', - [param('ns3::Ipv4Address', 'id')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::Invalidate(ns3::Time badLinkLifetime) [member function] - cls.add_method('Invalidate', - 'void', - [param('ns3::Time', 'badLinkLifetime')]) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::IsPrecursorListEmpty() const [member function] - cls.add_method('IsPrecursorListEmpty', - 'bool', - [], - is_const=True) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::IsUnidirectional() const [member function] - cls.add_method('IsUnidirectional', - 'bool', - [], - is_const=True) - ## aodv-rtable.h: bool ns3::aodv::RoutingTableEntry::LookupPrecursor(ns3::Ipv4Address id) [member function] - cls.add_method('LookupPrecursor', - 'bool', - [param('ns3::Ipv4Address', 'id')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::Print(ns3::Ptr stream) const [member function] - cls.add_method('Print', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetBalcklistTimeout(ns3::Time t) [member function] - cls.add_method('SetBalcklistTimeout', - 'void', - [param('ns3::Time', 't')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetFlag(ns3::aodv::RouteFlags flag) [member function] - cls.add_method('SetFlag', - 'void', - [param('ns3::aodv::RouteFlags', 'flag')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetHop(uint16_t hop) [member function] - cls.add_method('SetHop', - 'void', - [param('uint16_t', 'hop')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetInterface(ns3::Ipv4InterfaceAddress iface) [member function] - cls.add_method('SetInterface', - 'void', - [param('ns3::Ipv4InterfaceAddress', 'iface')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetLifeTime(ns3::Time lt) [member function] - cls.add_method('SetLifeTime', - 'void', - [param('ns3::Time', 'lt')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetNextHop(ns3::Ipv4Address nextHop) [member function] - cls.add_method('SetNextHop', - 'void', - [param('ns3::Ipv4Address', 'nextHop')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetOutputDevice(ns3::Ptr dev) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'dev')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetRoute(ns3::Ptr r) [member function] - cls.add_method('SetRoute', - 'void', - [param('ns3::Ptr< ns3::Ipv4Route >', 'r')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetRreqCnt(uint8_t n) [member function] - cls.add_method('SetRreqCnt', - 'void', - [param('uint8_t', 'n')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetSeqNo(uint32_t sn) [member function] - cls.add_method('SetSeqNo', - 'void', - [param('uint32_t', 'sn')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetUnidirectional(bool u) [member function] - cls.add_method('SetUnidirectional', - 'void', - [param('bool', 'u')]) - ## aodv-rtable.h: void ns3::aodv::RoutingTableEntry::SetValidSeqNo(bool s) [member function] - cls.add_method('SetValidSeqNo', - 'void', - [param('bool', 's')]) - ## aodv-rtable.h: ns3::aodv::RoutingTableEntry::m_ackTimer [variable] - cls.add_instance_attribute('m_ackTimer', 'ns3::Timer', is_const=False) - return - -def register_Ns3AodvRrepAckHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::RrepAckHeader::RrepAckHeader(ns3::aodv::RrepAckHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RrepAckHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::RrepAckHeader::RrepAckHeader() [constructor] - cls.add_constructor([]) - ## aodv-packet.h: uint32_t ns3::aodv::RrepAckHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::RrepAckHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: uint32_t ns3::aodv::RrepAckHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::RrepAckHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: void ns3::aodv::RrepAckHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RrepAckHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3AodvRrepHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::RrepHeader::RrepHeader(ns3::aodv::RrepHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RrepHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::RrepHeader::RrepHeader(uint8_t prefixSize=0, uint8_t hopCount=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t dstSeqNo=0, ns3::Ipv4Address origin=ns3::Ipv4Address(), ns3::Time lifetime=ns3::MilliSeconds( )) [constructor] - cls.add_constructor([param('uint8_t', 'prefixSize', default_value='0'), param('uint8_t', 'hopCount', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'dstSeqNo', default_value='0'), param('ns3::Ipv4Address', 'origin', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::MilliSeconds(0)')]) - ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: bool ns3::aodv::RrepHeader::GetAckRequired() const [member function] - cls.add_method('GetAckRequired', - 'bool', - [], - is_const=True) - ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RrepHeader::GetDst() const [member function] - cls.add_method('GetDst', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::GetDstSeqno() const [member function] - cls.add_method('GetDstSeqno', - 'uint32_t', - [], - is_const=True) - ## aodv-packet.h: uint8_t ns3::aodv::RrepHeader::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::RrepHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: ns3::Time ns3::aodv::RrepHeader::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'ns3::Time', - [], - is_const=True) - ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RrepHeader::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-packet.h: uint8_t ns3::aodv::RrepHeader::GetPrefixSize() const [member function] - cls.add_method('GetPrefixSize', - 'uint8_t', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RrepHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::RrepHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: void ns3::aodv::RrepHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RrepHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetAckRequired(bool f) [member function] - cls.add_method('SetAckRequired', - 'void', - [param('bool', 'f')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetDst(ns3::Ipv4Address a) [member function] - cls.add_method('SetDst', - 'void', - [param('ns3::Ipv4Address', 'a')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetDstSeqno(uint32_t s) [member function] - cls.add_method('SetDstSeqno', - 'void', - [param('uint32_t', 's')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetHello(ns3::Ipv4Address src, uint32_t srcSeqNo, ns3::Time lifetime) [member function] - cls.add_method('SetHello', - 'void', - [param('ns3::Ipv4Address', 'src'), param('uint32_t', 'srcSeqNo'), param('ns3::Time', 'lifetime')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetHopCount(uint8_t count) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'count')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetLifeTime(ns3::Time t) [member function] - cls.add_method('SetLifeTime', - 'void', - [param('ns3::Time', 't')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetOrigin(ns3::Ipv4Address a) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv4Address', 'a')]) - ## aodv-packet.h: void ns3::aodv::RrepHeader::SetPrefixSize(uint8_t sz) [member function] - cls.add_method('SetPrefixSize', - 'void', - [param('uint8_t', 'sz')]) - return - -def register_Ns3AodvRreqHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::RreqHeader::RreqHeader(ns3::aodv::RreqHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::RreqHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::RreqHeader::RreqHeader(uint8_t flags=0, uint8_t reserved=0, uint8_t hopCount=0, uint32_t requestID=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t dstSeqNo=0, ns3::Ipv4Address origin=ns3::Ipv4Address(), uint32_t originSeqNo=0) [constructor] - cls.add_constructor([param('uint8_t', 'flags', default_value='0'), param('uint8_t', 'reserved', default_value='0'), param('uint8_t', 'hopCount', default_value='0'), param('uint32_t', 'requestID', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'dstSeqNo', default_value='0'), param('ns3::Ipv4Address', 'origin', default_value='ns3::Ipv4Address()'), param('uint32_t', 'originSeqNo', default_value='0')]) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetDestinationOnly() const [member function] - cls.add_method('GetDestinationOnly', - 'bool', - [], - is_const=True) - ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RreqHeader::GetDst() const [member function] - cls.add_method('GetDst', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetDstSeqno() const [member function] - cls.add_method('GetDstSeqno', - 'uint32_t', - [], - is_const=True) - ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetGratiousRrep() const [member function] - cls.add_method('GetGratiousRrep', - 'bool', - [], - is_const=True) - ## aodv-packet.h: uint8_t ns3::aodv::RreqHeader::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetId() const [member function] - cls.add_method('GetId', - 'uint32_t', - [], - is_const=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::RreqHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: ns3::Ipv4Address ns3::aodv::RreqHeader::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetOriginSeqno() const [member function] - cls.add_method('GetOriginSeqno', - 'uint32_t', - [], - is_const=True) - ## aodv-packet.h: uint32_t ns3::aodv::RreqHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::RreqHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: bool ns3::aodv::RreqHeader::GetUnknownSeqno() const [member function] - cls.add_method('GetUnknownSeqno', - 'bool', - [], - is_const=True) - ## aodv-packet.h: void ns3::aodv::RreqHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RreqHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDestinationOnly(bool f) [member function] - cls.add_method('SetDestinationOnly', - 'void', - [param('bool', 'f')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDst(ns3::Ipv4Address a) [member function] - cls.add_method('SetDst', - 'void', - [param('ns3::Ipv4Address', 'a')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetDstSeqno(uint32_t s) [member function] - cls.add_method('SetDstSeqno', - 'void', - [param('uint32_t', 's')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetGratiousRrep(bool f) [member function] - cls.add_method('SetGratiousRrep', - 'void', - [param('bool', 'f')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetHopCount(uint8_t count) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'count')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetId(uint32_t id) [member function] - cls.add_method('SetId', - 'void', - [param('uint32_t', 'id')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetOrigin(ns3::Ipv4Address a) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv4Address', 'a')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetOriginSeqno(uint32_t s) [member function] - cls.add_method('SetOriginSeqno', - 'void', - [param('uint32_t', 's')]) - ## aodv-packet.h: void ns3::aodv::RreqHeader::SetUnknownSeqno(bool f) [member function] - cls.add_method('SetUnknownSeqno', - 'void', - [param('bool', 'f')]) - return - -def register_Ns3AodvTypeHeader_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## aodv-packet.h: ns3::aodv::TypeHeader::TypeHeader(ns3::aodv::TypeHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::aodv::TypeHeader const &', 'arg0')]) - ## aodv-packet.h: ns3::aodv::TypeHeader::TypeHeader(ns3::aodv::MessageType t) [constructor] - cls.add_constructor([param('ns3::aodv::MessageType', 't')]) - ## aodv-packet.h: uint32_t ns3::aodv::TypeHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aodv-packet.h: ns3::aodv::MessageType ns3::aodv::TypeHeader::Get() const [member function] - cls.add_method('Get', - 'ns3::aodv::MessageType', - [], - is_const=True) - ## aodv-packet.h: ns3::TypeId ns3::aodv::TypeHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: uint32_t ns3::aodv::TypeHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aodv-packet.h: static ns3::TypeId ns3::aodv::TypeHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aodv-packet.h: bool ns3::aodv::TypeHeader::IsValid() const [member function] - cls.add_method('IsValid', - 'bool', - [], - is_const=True) - ## aodv-packet.h: void ns3::aodv::TypeHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aodv-packet.h: void ns3::aodv::TypeHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_applications.py b/bindings/python/apidefs/gcc-LP64/ns3_module_applications.py deleted file mode 100644 index 66b562b46..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_applications.py +++ /dev/null @@ -1,1230 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## bulk-send-helper.h: ns3::BulkSendHelper [class] - module.add_class('BulkSendHelper') - ## on-off-helper.h: ns3::OnOffHelper [class] - module.add_class('OnOffHelper') - ## packet-loss-counter.h: ns3::PacketLossCounter [class] - module.add_class('PacketLossCounter') - ## packet-sink-helper.h: ns3::PacketSinkHelper [class] - module.add_class('PacketSinkHelper') - ## ping6-helper.h: ns3::Ping6Helper [class] - module.add_class('Ping6Helper') - ## udp-client-server-helper.h: ns3::UdpClientHelper [class] - module.add_class('UdpClientHelper') - ## udp-echo-helper.h: ns3::UdpEchoClientHelper [class] - module.add_class('UdpEchoClientHelper') - ## udp-echo-helper.h: ns3::UdpEchoServerHelper [class] - module.add_class('UdpEchoServerHelper') - ## udp-client-server-helper.h: ns3::UdpServerHelper [class] - module.add_class('UdpServerHelper') - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper [class] - module.add_class('UdpTraceClientHelper') - ## v4ping-helper.h: ns3::V4PingHelper [class] - module.add_class('V4PingHelper') - ## seq-ts-header.h: ns3::SeqTsHeader [class] - module.add_class('SeqTsHeader', parent=root_module['ns3::Header']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdInterface', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdPrefix', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## bulk-send-application.h: ns3::BulkSendApplication [class] - module.add_class('BulkSendApplication', parent=root_module['ns3::Application']) - ## onoff-application.h: ns3::OnOffApplication [class] - module.add_class('OnOffApplication', parent=root_module['ns3::Application']) - ## packet-sink.h: ns3::PacketSink [class] - module.add_class('PacketSink', parent=root_module['ns3::Application']) - ## ping6.h: ns3::Ping6 [class] - module.add_class('Ping6', parent=root_module['ns3::Application']) - ## radvd.h: ns3::Radvd [class] - module.add_class('Radvd', parent=root_module['ns3::Application']) - ## radvd-interface.h: ns3::RadvdInterface [class] - module.add_class('RadvdInterface', parent=root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) - ## radvd-prefix.h: ns3::RadvdPrefix [class] - module.add_class('RadvdPrefix', parent=root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter >']) - ## udp-client.h: ns3::UdpClient [class] - module.add_class('UdpClient', parent=root_module['ns3::Application']) - ## udp-echo-client.h: ns3::UdpEchoClient [class] - module.add_class('UdpEchoClient', parent=root_module['ns3::Application']) - ## udp-echo-server.h: ns3::UdpEchoServer [class] - module.add_class('UdpEchoServer', parent=root_module['ns3::Application']) - ## udp-server.h: ns3::UdpServer [class] - module.add_class('UdpServer', parent=root_module['ns3::Application']) - ## udp-trace-client.h: ns3::UdpTraceClient [class] - module.add_class('UdpTraceClient', parent=root_module['ns3::Application']) - ## v4ping.h: ns3::V4Ping [class] - module.add_class('V4Ping', parent=root_module['ns3::Application']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3BulkSendHelper_methods(root_module, root_module['ns3::BulkSendHelper']) - register_Ns3OnOffHelper_methods(root_module, root_module['ns3::OnOffHelper']) - register_Ns3PacketLossCounter_methods(root_module, root_module['ns3::PacketLossCounter']) - register_Ns3PacketSinkHelper_methods(root_module, root_module['ns3::PacketSinkHelper']) - register_Ns3Ping6Helper_methods(root_module, root_module['ns3::Ping6Helper']) - register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) - register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) - register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) - register_Ns3UdpServerHelper_methods(root_module, root_module['ns3::UdpServerHelper']) - register_Ns3UdpTraceClientHelper_methods(root_module, root_module['ns3::UdpTraceClientHelper']) - register_Ns3V4PingHelper_methods(root_module, root_module['ns3::V4PingHelper']) - register_Ns3SeqTsHeader_methods(root_module, root_module['ns3::SeqTsHeader']) - register_Ns3BulkSendApplication_methods(root_module, root_module['ns3::BulkSendApplication']) - register_Ns3OnOffApplication_methods(root_module, root_module['ns3::OnOffApplication']) - register_Ns3PacketSink_methods(root_module, root_module['ns3::PacketSink']) - register_Ns3Ping6_methods(root_module, root_module['ns3::Ping6']) - register_Ns3Radvd_methods(root_module, root_module['ns3::Radvd']) - register_Ns3RadvdInterface_methods(root_module, root_module['ns3::RadvdInterface']) - register_Ns3RadvdPrefix_methods(root_module, root_module['ns3::RadvdPrefix']) - register_Ns3UdpClient_methods(root_module, root_module['ns3::UdpClient']) - register_Ns3UdpEchoClient_methods(root_module, root_module['ns3::UdpEchoClient']) - register_Ns3UdpEchoServer_methods(root_module, root_module['ns3::UdpEchoServer']) - register_Ns3UdpServer_methods(root_module, root_module['ns3::UdpServer']) - register_Ns3UdpTraceClient_methods(root_module, root_module['ns3::UdpTraceClient']) - register_Ns3V4Ping_methods(root_module, root_module['ns3::V4Ping']) - return - -def register_Ns3BulkSendHelper_methods(root_module, cls): - ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(ns3::BulkSendHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BulkSendHelper const &', 'arg0')]) - ## bulk-send-helper.h: ns3::BulkSendHelper::BulkSendHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## bulk-send-helper.h: ns3::ApplicationContainer ns3::BulkSendHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## bulk-send-helper.h: void ns3::BulkSendHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3OnOffHelper_methods(root_module, cls): - ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(ns3::OnOffHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnOffHelper const &', 'arg0')]) - ## on-off-helper.h: ns3::OnOffHelper::OnOffHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## on-off-helper.h: ns3::ApplicationContainer ns3::OnOffHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## on-off-helper.h: void ns3::OnOffHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3PacketLossCounter_methods(root_module, cls): - ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(ns3::PacketLossCounter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketLossCounter const &', 'arg0')]) - ## packet-loss-counter.h: ns3::PacketLossCounter::PacketLossCounter(uint8_t bitmapSize) [constructor] - cls.add_constructor([param('uint8_t', 'bitmapSize')]) - ## packet-loss-counter.h: uint16_t ns3::PacketLossCounter::GetBitMapSize() const [member function] - cls.add_method('GetBitMapSize', - 'uint16_t', - [], - is_const=True) - ## packet-loss-counter.h: uint32_t ns3::PacketLossCounter::GetLost() const [member function] - cls.add_method('GetLost', - 'uint32_t', - [], - is_const=True) - ## packet-loss-counter.h: void ns3::PacketLossCounter::NotifyReceived(uint32_t seq) [member function] - cls.add_method('NotifyReceived', - 'void', - [param('uint32_t', 'seq')]) - ## packet-loss-counter.h: void ns3::PacketLossCounter::SetBitMapSize(uint16_t size) [member function] - cls.add_method('SetBitMapSize', - 'void', - [param('uint16_t', 'size')]) - return - -def register_Ns3PacketSinkHelper_methods(root_module, cls): - ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(ns3::PacketSinkHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSinkHelper const &', 'arg0')]) - ## packet-sink-helper.h: ns3::PacketSinkHelper::PacketSinkHelper(std::string protocol, ns3::Address address) [constructor] - cls.add_constructor([param('std::string', 'protocol'), param('ns3::Address', 'address')]) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## packet-sink-helper.h: ns3::ApplicationContainer ns3::PacketSinkHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## packet-sink-helper.h: void ns3::PacketSinkHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3Ping6Helper_methods(root_module, cls): - ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper(ns3::Ping6Helper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ping6Helper const &', 'arg0')]) - ## ping6-helper.h: ns3::Ping6Helper::Ping6Helper() [constructor] - cls.add_constructor([]) - ## ping6-helper.h: ns3::ApplicationContainer ns3::Ping6Helper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetIfIndex(uint32_t ifIndex) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t', 'ifIndex')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetLocal(ns3::Ipv6Address ip) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv6Address', 'ip')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetRemote(ns3::Ipv6Address ip) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv6Address', 'ip')]) - ## ping6-helper.h: void ns3::Ping6Helper::SetRoutersAddress(std::vector > routers) [member function] - cls.add_method('SetRoutersAddress', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routers')]) - return - -def register_Ns3UdpClientHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::UdpClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpClientHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpClientHelper::UdpClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpClientHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpEchoClientHelper_methods(root_module, cls): - ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::UdpEchoClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoClientHelper const &', 'arg0')]) - ## udp-echo-helper.h: ns3::UdpEchoClientHelper::UdpEchoClientHelper(ns3::Ipv4Address ip, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoClientHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, std::string fill) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('std::string', 'fill')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t fill, uint32_t dataLength) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t', 'fill'), param('uint32_t', 'dataLength')]) - ## udp-echo-helper.h: void ns3::UdpEchoClientHelper::SetFill(ns3::Ptr app, uint8_t * fill, uint32_t fillLength, uint32_t dataLength) [member function] - cls.add_method('SetFill', - 'void', - [param('ns3::Ptr< ns3::Application >', 'app'), param('uint8_t *', 'fill'), param('uint32_t', 'fillLength'), param('uint32_t', 'dataLength')]) - return - -def register_Ns3UdpEchoServerHelper_methods(root_module, cls): - ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(ns3::UdpEchoServerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoServerHelper const &', 'arg0')]) - ## udp-echo-helper.h: ns3::UdpEchoServerHelper::UdpEchoServerHelper(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## udp-echo-helper.h: ns3::ApplicationContainer ns3::UdpEchoServerHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## udp-echo-helper.h: void ns3::UdpEchoServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpServerHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(ns3::UdpServerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpServerHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpServerHelper::UdpServerHelper(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## udp-client-server-helper.h: ns3::Ptr ns3::UdpServerHelper::GetServer() [member function] - cls.add_method('GetServer', - 'ns3::Ptr< ns3::UdpServer >', - []) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpServerHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpServerHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3UdpTraceClientHelper_methods(root_module, cls): - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::UdpTraceClientHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpTraceClientHelper const &', 'arg0')]) - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper() [constructor] - cls.add_constructor([]) - ## udp-client-server-helper.h: ns3::UdpTraceClientHelper::UdpTraceClientHelper(ns3::Ipv4Address ip, uint16_t port, std::string filename) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('std::string', 'filename')]) - ## udp-client-server-helper.h: ns3::ApplicationContainer ns3::UdpTraceClientHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'c')]) - ## udp-client-server-helper.h: void ns3::UdpTraceClientHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3V4PingHelper_methods(root_module, cls): - ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::V4PingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::V4PingHelper const &', 'arg0')]) - ## v4ping-helper.h: ns3::V4PingHelper::V4PingHelper(ns3::Ipv4Address remote) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'remote')]) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::NodeContainer nodes) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::NodeContainer', 'nodes')], - is_const=True) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## v4ping-helper.h: ns3::ApplicationContainer ns3::V4PingHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::ApplicationContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## v4ping-helper.h: void ns3::V4PingHelper::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3SeqTsHeader_methods(root_module, cls): - ## seq-ts-header.h: ns3::SeqTsHeader::SeqTsHeader(ns3::SeqTsHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SeqTsHeader const &', 'arg0')]) - ## seq-ts-header.h: ns3::SeqTsHeader::SeqTsHeader() [constructor] - cls.add_constructor([]) - ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::GetSeq() const [member function] - cls.add_method('GetSeq', - 'uint32_t', - [], - is_const=True) - ## seq-ts-header.h: ns3::Time ns3::SeqTsHeader::GetTs() const [member function] - cls.add_method('GetTs', - 'ns3::Time', - [], - is_const=True) - ## seq-ts-header.h: static ns3::TypeId ns3::SeqTsHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## seq-ts-header.h: void ns3::SeqTsHeader::SetSeq(uint32_t seq) [member function] - cls.add_method('SetSeq', - 'void', - [param('uint32_t', 'seq')]) - ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - visibility='private', is_virtual=True) - ## seq-ts-header.h: ns3::TypeId ns3::SeqTsHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, visibility='private', is_virtual=True) - ## seq-ts-header.h: uint32_t ns3::SeqTsHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## seq-ts-header.h: void ns3::SeqTsHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='private', is_virtual=True) - ## seq-ts-header.h: void ns3::SeqTsHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3BulkSendApplication_methods(root_module, cls): - ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication(ns3::BulkSendApplication const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BulkSendApplication const &', 'arg0')]) - ## bulk-send-application.h: ns3::BulkSendApplication::BulkSendApplication() [constructor] - cls.add_constructor([]) - ## bulk-send-application.h: ns3::Ptr ns3::BulkSendApplication::GetSocket() const [member function] - cls.add_method('GetSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## bulk-send-application.h: static ns3::TypeId ns3::BulkSendApplication::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## bulk-send-application.h: void ns3::BulkSendApplication::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## bulk-send-application.h: void ns3::BulkSendApplication::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3OnOffApplication_methods(root_module, cls): - ## onoff-application.h: ns3::OnOffApplication::OnOffApplication(ns3::OnOffApplication const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnOffApplication const &', 'arg0')]) - ## onoff-application.h: ns3::OnOffApplication::OnOffApplication() [constructor] - cls.add_constructor([]) - ## onoff-application.h: ns3::Ptr ns3::OnOffApplication::GetSocket() const [member function] - cls.add_method('GetSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## onoff-application.h: static ns3::TypeId ns3::OnOffApplication::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## onoff-application.h: void ns3::OnOffApplication::SetMaxBytes(uint32_t maxBytes) [member function] - cls.add_method('SetMaxBytes', - 'void', - [param('uint32_t', 'maxBytes')]) - ## onoff-application.h: void ns3::OnOffApplication::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## onoff-application.h: void ns3::OnOffApplication::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## onoff-application.h: void ns3::OnOffApplication::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3PacketSink_methods(root_module, cls): - ## packet-sink.h: ns3::PacketSink::PacketSink(ns3::PacketSink const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSink const &', 'arg0')]) - ## packet-sink.h: ns3::PacketSink::PacketSink() [constructor] - cls.add_constructor([]) - ## packet-sink.h: std::list, std::allocator > > ns3::PacketSink::GetAcceptedSockets() const [member function] - cls.add_method('GetAcceptedSockets', - 'std::list< ns3::Ptr< ns3::Socket > >', - [], - is_const=True) - ## packet-sink.h: ns3::Ptr ns3::PacketSink::GetListeningSocket() const [member function] - cls.add_method('GetListeningSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_const=True) - ## packet-sink.h: uint32_t ns3::PacketSink::GetTotalRx() const [member function] - cls.add_method('GetTotalRx', - 'uint32_t', - [], - is_const=True) - ## packet-sink.h: static ns3::TypeId ns3::PacketSink::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-sink.h: void ns3::PacketSink::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## packet-sink.h: void ns3::PacketSink::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## packet-sink.h: void ns3::PacketSink::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Ping6_methods(root_module, cls): - ## ping6.h: ns3::Ping6::Ping6(ns3::Ping6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ping6 const &', 'arg0')]) - ## ping6.h: ns3::Ping6::Ping6() [constructor] - cls.add_constructor([]) - ## ping6.h: static ns3::TypeId ns3::Ping6::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ping6.h: void ns3::Ping6::SetIfIndex(uint32_t ifIndex) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t', 'ifIndex')]) - ## ping6.h: void ns3::Ping6::SetLocal(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## ping6.h: void ns3::Ping6::SetRemote(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## ping6.h: void ns3::Ping6::SetRouters(std::vector > routers) [member function] - cls.add_method('SetRouters', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routers')]) - ## ping6.h: void ns3::Ping6::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ping6.h: void ns3::Ping6::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## ping6.h: void ns3::Ping6::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Radvd_methods(root_module, cls): - ## radvd.h: ns3::Radvd::Radvd(ns3::Radvd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Radvd const &', 'arg0')]) - ## radvd.h: ns3::Radvd::Radvd() [constructor] - cls.add_constructor([]) - ## radvd.h: void ns3::Radvd::AddConfiguration(ns3::Ptr routerInterface) [member function] - cls.add_method('AddConfiguration', - 'void', - [param('ns3::Ptr< ns3::RadvdInterface >', 'routerInterface')]) - ## radvd.h: static ns3::TypeId ns3::Radvd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## radvd.h: ns3::Radvd::MAX_RA_DELAY_TIME [variable] - cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True) - ## radvd.h: void ns3::Radvd::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## radvd.h: void ns3::Radvd::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## radvd.h: void ns3::Radvd::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RadvdInterface_methods(root_module, cls): - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(ns3::RadvdInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadvdInterface const &', 'arg0')]) - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface) [constructor] - cls.add_constructor([param('uint32_t', 'interface')]) - ## radvd-interface.h: ns3::RadvdInterface::RadvdInterface(uint32_t interface, uint32_t maxRtrAdvInterval, uint32_t minRtrAdvInterval) [constructor] - cls.add_constructor([param('uint32_t', 'interface'), param('uint32_t', 'maxRtrAdvInterval'), param('uint32_t', 'minRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::AddPrefix(ns3::Ptr routerPrefix) [member function] - cls.add_method('AddPrefix', - 'void', - [param('ns3::Ptr< ns3::RadvdPrefix >', 'routerPrefix')]) - ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetCurHopLimit() const [member function] - cls.add_method('GetCurHopLimit', - 'uint8_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetDefaultLifeTime() const [member function] - cls.add_method('GetDefaultLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint8_t ns3::RadvdInterface::GetDefaultPreference() const [member function] - cls.add_method('GetDefaultPreference', - 'uint8_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentLifeTime() const [member function] - cls.add_method('GetHomeAgentLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetHomeAgentPreference() const [member function] - cls.add_method('GetHomeAgentPreference', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetInterface() const [member function] - cls.add_method('GetInterface', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetLinkMtu() const [member function] - cls.add_method('GetLinkMtu', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMaxRtrAdvInterval() const [member function] - cls.add_method('GetMaxRtrAdvInterval', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinDelayBetweenRAs() const [member function] - cls.add_method('GetMinDelayBetweenRAs', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetMinRtrAdvInterval() const [member function] - cls.add_method('GetMinRtrAdvInterval', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: std::list, std::allocator > > ns3::RadvdInterface::GetPrefixes() const [member function] - cls.add_method('GetPrefixes', - 'std::list< ns3::Ptr< ns3::RadvdPrefix > >', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetReachableTime() const [member function] - cls.add_method('GetReachableTime', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: uint32_t ns3::RadvdInterface::GetRetransTimer() const [member function] - cls.add_method('GetRetransTimer', - 'uint32_t', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentFlag() const [member function] - cls.add_method('IsHomeAgentFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsHomeAgentInfo() const [member function] - cls.add_method('IsHomeAgentInfo', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsIntervalOpt() const [member function] - cls.add_method('IsIntervalOpt', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsManagedFlag() const [member function] - cls.add_method('IsManagedFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsMobRtrSupportFlag() const [member function] - cls.add_method('IsMobRtrSupportFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsOtherConfigFlag() const [member function] - cls.add_method('IsOtherConfigFlag', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsSendAdvert() const [member function] - cls.add_method('IsSendAdvert', - 'bool', - [], - is_const=True) - ## radvd-interface.h: bool ns3::RadvdInterface::IsSourceLLAddress() const [member function] - cls.add_method('IsSourceLLAddress', - 'bool', - [], - is_const=True) - ## radvd-interface.h: void ns3::RadvdInterface::SetCurHopLimit(uint8_t curHopLimit) [member function] - cls.add_method('SetCurHopLimit', - 'void', - [param('uint8_t', 'curHopLimit')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultLifeTime(uint32_t defaultLifeTime) [member function] - cls.add_method('SetDefaultLifeTime', - 'void', - [param('uint32_t', 'defaultLifeTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetDefaultPreference(uint8_t defaultPreference) [member function] - cls.add_method('SetDefaultPreference', - 'void', - [param('uint8_t', 'defaultPreference')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentFlag(bool homeAgentFlag) [member function] - cls.add_method('SetHomeAgentFlag', - 'void', - [param('bool', 'homeAgentFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentInfo(bool homeAgentFlag) [member function] - cls.add_method('SetHomeAgentInfo', - 'void', - [param('bool', 'homeAgentFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentLifeTime(uint32_t homeAgentLifeTime) [member function] - cls.add_method('SetHomeAgentLifeTime', - 'void', - [param('uint32_t', 'homeAgentLifeTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetHomeAgentPreference(uint32_t homeAgentPreference) [member function] - cls.add_method('SetHomeAgentPreference', - 'void', - [param('uint32_t', 'homeAgentPreference')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetIntervalOpt(bool intervalOpt) [member function] - cls.add_method('SetIntervalOpt', - 'void', - [param('bool', 'intervalOpt')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetLinkMtu(uint32_t linkMtu) [member function] - cls.add_method('SetLinkMtu', - 'void', - [param('uint32_t', 'linkMtu')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetManagedFlag(bool managedFlag) [member function] - cls.add_method('SetManagedFlag', - 'void', - [param('bool', 'managedFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMaxRtrAdvInterval(uint32_t maxRtrAdvInterval) [member function] - cls.add_method('SetMaxRtrAdvInterval', - 'void', - [param('uint32_t', 'maxRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMinDelayBetweenRAs(uint32_t minDelayBetweenRAs) [member function] - cls.add_method('SetMinDelayBetweenRAs', - 'void', - [param('uint32_t', 'minDelayBetweenRAs')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMinRtrAdvInterval(uint32_t minRtrAdvInterval) [member function] - cls.add_method('SetMinRtrAdvInterval', - 'void', - [param('uint32_t', 'minRtrAdvInterval')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetMobRtrSupportFlag(bool mobRtrSupportFlag) [member function] - cls.add_method('SetMobRtrSupportFlag', - 'void', - [param('bool', 'mobRtrSupportFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetOtherConfigFlag(bool otherConfigFlag) [member function] - cls.add_method('SetOtherConfigFlag', - 'void', - [param('bool', 'otherConfigFlag')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetReachableTime(uint32_t reachableTime) [member function] - cls.add_method('SetReachableTime', - 'void', - [param('uint32_t', 'reachableTime')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetRetransTimer(uint32_t retransTimer) [member function] - cls.add_method('SetRetransTimer', - 'void', - [param('uint32_t', 'retransTimer')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetSendAdvert(bool sendAdvert) [member function] - cls.add_method('SetSendAdvert', - 'void', - [param('bool', 'sendAdvert')]) - ## radvd-interface.h: void ns3::RadvdInterface::SetSourceLLAddress(bool sourceLLAddress) [member function] - cls.add_method('SetSourceLLAddress', - 'void', - [param('bool', 'sourceLLAddress')]) - return - -def register_Ns3RadvdPrefix_methods(root_module, cls): - ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::RadvdPrefix const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadvdPrefix const &', 'arg0')]) - ## radvd-prefix.h: ns3::RadvdPrefix::RadvdPrefix(ns3::Ipv6Address network, uint8_t prefixLength, uint32_t preferredLifeTime=604800, uint32_t validLifeTime=2592000, bool onLinkFlag=true, bool autonomousFlag=true, bool routerAddrFlag=false) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('uint8_t', 'prefixLength'), param('uint32_t', 'preferredLifeTime', default_value='604800'), param('uint32_t', 'validLifeTime', default_value='2592000'), param('bool', 'onLinkFlag', default_value='true'), param('bool', 'autonomousFlag', default_value='true'), param('bool', 'routerAddrFlag', default_value='false')]) - ## radvd-prefix.h: ns3::Ipv6Address ns3::RadvdPrefix::GetNetwork() const [member function] - cls.add_method('GetNetwork', - 'ns3::Ipv6Address', - [], - is_const=True) - ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetPreferredLifeTime() const [member function] - cls.add_method('GetPreferredLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-prefix.h: uint8_t ns3::RadvdPrefix::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint8_t', - [], - is_const=True) - ## radvd-prefix.h: uint32_t ns3::RadvdPrefix::GetValidLifeTime() const [member function] - cls.add_method('GetValidLifeTime', - 'uint32_t', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsAutonomousFlag() const [member function] - cls.add_method('IsAutonomousFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsOnLinkFlag() const [member function] - cls.add_method('IsOnLinkFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: bool ns3::RadvdPrefix::IsRouterAddrFlag() const [member function] - cls.add_method('IsRouterAddrFlag', - 'bool', - [], - is_const=True) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetAutonomousFlag(bool autonomousFlag) [member function] - cls.add_method('SetAutonomousFlag', - 'void', - [param('bool', 'autonomousFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetNetwork(ns3::Ipv6Address network) [member function] - cls.add_method('SetNetwork', - 'void', - [param('ns3::Ipv6Address', 'network')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetOnLinkFlag(bool onLinkFlag) [member function] - cls.add_method('SetOnLinkFlag', - 'void', - [param('bool', 'onLinkFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetPreferredLifeTime(uint32_t preferredLifeTime) [member function] - cls.add_method('SetPreferredLifeTime', - 'void', - [param('uint32_t', 'preferredLifeTime')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetPrefixLength(uint8_t prefixLength) [member function] - cls.add_method('SetPrefixLength', - 'void', - [param('uint8_t', 'prefixLength')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetRouterAddrFlag(bool routerAddrFlag) [member function] - cls.add_method('SetRouterAddrFlag', - 'void', - [param('bool', 'routerAddrFlag')]) - ## radvd-prefix.h: void ns3::RadvdPrefix::SetValidLifeTime(uint32_t validLifeTime) [member function] - cls.add_method('SetValidLifeTime', - 'void', - [param('uint32_t', 'validLifeTime')]) - return - -def register_Ns3UdpClient_methods(root_module, cls): - ## udp-client.h: ns3::UdpClient::UdpClient(ns3::UdpClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpClient const &', 'arg0')]) - ## udp-client.h: ns3::UdpClient::UdpClient() [constructor] - cls.add_constructor([]) - ## udp-client.h: static ns3::TypeId ns3::UdpClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-client.h: void ns3::UdpClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-client.h: void ns3::UdpClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-client.h: void ns3::UdpClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-client.h: void ns3::UdpClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpEchoClient_methods(root_module, cls): - ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient(ns3::UdpEchoClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoClient const &', 'arg0')]) - ## udp-echo-client.h: ns3::UdpEchoClient::UdpEchoClient() [constructor] - cls.add_constructor([]) - ## udp-echo-client.h: uint32_t ns3::UdpEchoClient::GetDataSize() const [member function] - cls.add_method('GetDataSize', - 'uint32_t', - [], - is_const=True) - ## udp-echo-client.h: static ns3::TypeId ns3::UdpEchoClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetDataSize(uint32_t dataSize) [member function] - cls.add_method('SetDataSize', - 'void', - [param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(std::string fill) [member function] - cls.add_method('SetFill', - 'void', - [param('std::string', 'fill')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t fill, uint32_t dataSize) [member function] - cls.add_method('SetFill', - 'void', - [param('uint8_t', 'fill'), param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetFill(uint8_t * fill, uint32_t fillSize, uint32_t dataSize) [member function] - cls.add_method('SetFill', - 'void', - [param('uint8_t *', 'fill'), param('uint32_t', 'fillSize'), param('uint32_t', 'dataSize')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-echo-client.h: void ns3::UdpEchoClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-echo-client.h: void ns3::UdpEchoClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpEchoServer_methods(root_module, cls): - ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer(ns3::UdpEchoServer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpEchoServer const &', 'arg0')]) - ## udp-echo-server.h: ns3::UdpEchoServer::UdpEchoServer() [constructor] - cls.add_constructor([]) - ## udp-echo-server.h: static ns3::TypeId ns3::UdpEchoServer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-echo-server.h: void ns3::UdpEchoServer::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpServer_methods(root_module, cls): - ## udp-server.h: ns3::UdpServer::UdpServer(ns3::UdpServer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpServer const &', 'arg0')]) - ## udp-server.h: ns3::UdpServer::UdpServer() [constructor] - cls.add_constructor([]) - ## udp-server.h: uint32_t ns3::UdpServer::GetLost() const [member function] - cls.add_method('GetLost', - 'uint32_t', - [], - is_const=True) - ## udp-server.h: uint16_t ns3::UdpServer::GetPacketWindowSize() const [member function] - cls.add_method('GetPacketWindowSize', - 'uint16_t', - [], - is_const=True) - ## udp-server.h: uint32_t ns3::UdpServer::GetReceived() const [member function] - cls.add_method('GetReceived', - 'uint32_t', - [], - is_const=True) - ## udp-server.h: static ns3::TypeId ns3::UdpServer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-server.h: void ns3::UdpServer::SetPacketWindowSize(uint16_t size) [member function] - cls.add_method('SetPacketWindowSize', - 'void', - [param('uint16_t', 'size')]) - ## udp-server.h: void ns3::UdpServer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-server.h: void ns3::UdpServer::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-server.h: void ns3::UdpServer::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3UdpTraceClient_methods(root_module, cls): - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::UdpTraceClient const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpTraceClient const &', 'arg0')]) - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient() [constructor] - cls.add_constructor([]) - ## udp-trace-client.h: ns3::UdpTraceClient::UdpTraceClient(ns3::Ipv4Address ip, uint16_t port, char * traceFile) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port'), param('char *', 'traceFile')]) - ## udp-trace-client.h: uint16_t ns3::UdpTraceClient::GetMaxPacketSize() [member function] - cls.add_method('GetMaxPacketSize', - 'uint16_t', - []) - ## udp-trace-client.h: static ns3::TypeId ns3::UdpTraceClient::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetMaxPacketSize(uint16_t maxPacketSize) [member function] - cls.add_method('SetMaxPacketSize', - 'void', - [param('uint16_t', 'maxPacketSize')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetRemote(ns3::Ipv4Address ip, uint16_t port) [member function] - cls.add_method('SetRemote', - 'void', - [param('ns3::Ipv4Address', 'ip'), param('uint16_t', 'port')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::SetTraceFile(std::string filename) [member function] - cls.add_method('SetTraceFile', - 'void', - [param('std::string', 'filename')]) - ## udp-trace-client.h: void ns3::UdpTraceClient::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## udp-trace-client.h: void ns3::UdpTraceClient::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3V4Ping_methods(root_module, cls): - ## v4ping.h: ns3::V4Ping::V4Ping(ns3::V4Ping const & arg0) [copy constructor] - cls.add_constructor([param('ns3::V4Ping const &', 'arg0')]) - ## v4ping.h: ns3::V4Ping::V4Ping() [constructor] - cls.add_constructor([]) - ## v4ping.h: static ns3::TypeId ns3::V4Ping::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## v4ping.h: void ns3::V4Ping::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## v4ping.h: void ns3::V4Ping::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## v4ping.h: void ns3::V4Ping::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_bridge.py b/bindings/python/apidefs/gcc-LP64/ns3_module_bridge.py deleted file mode 100644 index 35dab5c81..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_bridge.py +++ /dev/null @@ -1,365 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## bridge-helper.h: ns3::BridgeHelper [class] - module.add_class('BridgeHelper') - ## bridge-channel.h: ns3::BridgeChannel [class] - module.add_class('BridgeChannel', parent=root_module['ns3::Channel']) - ## bridge-net-device.h: ns3::BridgeNetDevice [class] - module.add_class('BridgeNetDevice', parent=root_module['ns3::NetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper']) - register_Ns3BridgeChannel_methods(root_module, root_module['ns3::BridgeChannel']) - register_Ns3BridgeNetDevice_methods(root_module, root_module['ns3::BridgeNetDevice']) - return - -def register_Ns3BridgeHelper_methods(root_module, cls): - ## bridge-helper.h: ns3::BridgeHelper::BridgeHelper(ns3::BridgeHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BridgeHelper const &', 'arg0')]) - ## bridge-helper.h: ns3::BridgeHelper::BridgeHelper() [constructor] - cls.add_constructor([]) - ## bridge-helper.h: ns3::NetDeviceContainer ns3::BridgeHelper::Install(ns3::Ptr node, ns3::NetDeviceContainer c) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::NetDeviceContainer', 'c')]) - ## bridge-helper.h: ns3::NetDeviceContainer ns3::BridgeHelper::Install(std::string nodeName, ns3::NetDeviceContainer c) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName'), param('ns3::NetDeviceContainer', 'c')]) - ## bridge-helper.h: void ns3::BridgeHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - return - -def register_Ns3BridgeChannel_methods(root_module, cls): - ## bridge-channel.h: static ns3::TypeId ns3::BridgeChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bridge-channel.h: ns3::BridgeChannel::BridgeChannel() [constructor] - cls.add_constructor([]) - ## bridge-channel.h: void ns3::BridgeChannel::AddChannel(ns3::Ptr bridgedChannel) [member function] - cls.add_method('AddChannel', - 'void', - [param('ns3::Ptr< ns3::Channel >', 'bridgedChannel')]) - ## bridge-channel.h: uint32_t ns3::BridgeChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## bridge-channel.h: ns3::Ptr ns3::BridgeChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3BridgeNetDevice_methods(root_module, cls): - ## bridge-net-device.h: ns3::BridgeNetDevice::BridgeNetDevice() [constructor] - cls.add_constructor([]) - ## bridge-net-device.h: void ns3::BridgeNetDevice::AddBridgePort(ns3::Ptr bridgePort) [member function] - cls.add_method('AddBridgePort', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'bridgePort')]) - ## bridge-net-device.h: void ns3::BridgeNetDevice::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')], - is_virtual=True) - ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetBridgePort(uint32_t n) const [member function] - cls.add_method('GetBridgePort', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'n')], - is_const=True) - ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: uint32_t ns3::BridgeNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: uint16_t ns3::BridgeNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## bridge-net-device.h: ns3::Address ns3::BridgeNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## bridge-net-device.h: uint32_t ns3::BridgeNetDevice::GetNBridgePorts() const [member function] - cls.add_method('GetNBridgePorts', - 'uint32_t', - [], - is_const=True) - ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: static ns3::TypeId ns3::BridgeNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## bridge-net-device.h: bool ns3::BridgeNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## bridge-net-device.h: void ns3::BridgeNetDevice::ForwardBroadcast(ns3::Ptr incomingPort, ns3::Ptr packet, uint16_t protocol, ns3::Mac48Address src, ns3::Mac48Address dst) [member function] - cls.add_method('ForwardBroadcast', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'incomingPort'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')], - visibility='protected') - ## bridge-net-device.h: void ns3::BridgeNetDevice::ForwardUnicast(ns3::Ptr incomingPort, ns3::Ptr packet, uint16_t protocol, ns3::Mac48Address src, ns3::Mac48Address dst) [member function] - cls.add_method('ForwardUnicast', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'incomingPort'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dst')], - visibility='protected') - ## bridge-net-device.h: ns3::Ptr ns3::BridgeNetDevice::GetLearnedState(ns3::Mac48Address source) [member function] - cls.add_method('GetLearnedState', - 'ns3::Ptr< ns3::NetDevice >', - [param('ns3::Mac48Address', 'source')], - visibility='protected') - ## bridge-net-device.h: void ns3::BridgeNetDevice::Learn(ns3::Mac48Address source, ns3::Ptr port) [member function] - cls.add_method('Learn', - 'void', - [param('ns3::Mac48Address', 'source'), param('ns3::Ptr< ns3::NetDevice >', 'port')], - visibility='protected') - ## bridge-net-device.h: void ns3::BridgeNetDevice::ReceiveFromDevice(ns3::Ptr device, ns3::Ptr packet, uint16_t protocol, ns3::Address const & source, ns3::Address const & destination, ns3::NetDevice::PacketType packetType) [member function] - cls.add_method('ReceiveFromDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'destination'), param('ns3::NetDevice::PacketType', 'packetType')], - visibility='protected') - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_click.py b/bindings/python/apidefs/gcc-LP64/ns3_module_click.py deleted file mode 100644 index 1ec689daf..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_click.py +++ /dev/null @@ -1,159 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## ipv4-l3-click-protocol.h: ns3::Ipv4L3ClickProtocol [class] - module.add_class('Ipv4L3ClickProtocol', parent=root_module['ns3::Ipv4']) - ## ipv4-click-routing.h: ns3::Ipv4ClickRouting [class] - module.add_class('Ipv4ClickRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Ipv4L3ClickProtocol_methods(root_module, root_module['ns3::Ipv4L3ClickProtocol']) - register_Ns3Ipv4ClickRouting_methods(root_module, root_module['ns3::Ipv4ClickRouting']) - return - -def register_Ns3Ipv4L3ClickProtocol_methods(root_module, cls): - ## ipv4-l3-click-protocol.h: ns3::Ipv4L3ClickProtocol::Ipv4L3ClickProtocol() [constructor] - cls.add_constructor([]) - ## ipv4-l3-click-protocol.h: ns3::Ipv4L3ClickProtocol::Ipv4L3ClickProtocol(ns3::Ipv4L3ClickProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4L3ClickProtocol const &', 'arg0')]) - return - -def register_Ns3Ipv4ClickRouting_methods(root_module, cls): - ## ipv4-click-routing.h: ns3::Ipv4ClickRouting::Ipv4ClickRouting() [constructor] - cls.add_constructor([]) - ## ipv4-click-routing.h: ns3::Ipv4ClickRouting::Ipv4ClickRouting(ns3::Ipv4ClickRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4ClickRouting const &', 'arg0')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_config_store.py b/bindings/python/apidefs/gcc-LP64/ns3_module_config_store.py deleted file mode 100644 index 662be9021..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_config_store.py +++ /dev/null @@ -1,261 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## file-config.h: ns3::FileConfig [class] - module.add_class('FileConfig', allow_subclassing=True) - ## gtk-config-store.h: ns3::GtkConfigStore [class] - module.add_class('GtkConfigStore') - ## file-config.h: ns3::NoneFileConfig [class] - module.add_class('NoneFileConfig', parent=root_module['ns3::FileConfig']) - ## config-store.h: ns3::ConfigStore [class] - module.add_class('ConfigStore', parent=root_module['ns3::ObjectBase']) - ## config-store.h: ns3::ConfigStore::Mode [enumeration] - module.add_enum('Mode', ['LOAD', 'SAVE', 'NONE'], outer_class=root_module['ns3::ConfigStore']) - ## config-store.h: ns3::ConfigStore::FileFormat [enumeration] - module.add_enum('FileFormat', ['XML', 'RAW_TEXT'], outer_class=root_module['ns3::ConfigStore']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3FileConfig_methods(root_module, root_module['ns3::FileConfig']) - register_Ns3GtkConfigStore_methods(root_module, root_module['ns3::GtkConfigStore']) - register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig']) - register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore']) - return - -def register_Ns3FileConfig_methods(root_module, cls): - ## file-config.h: ns3::FileConfig::FileConfig() [constructor] - cls.add_constructor([]) - ## file-config.h: ns3::FileConfig::FileConfig(ns3::FileConfig const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FileConfig const &', 'arg0')]) - ## file-config.h: void ns3::FileConfig::Attributes() [member function] - cls.add_method('Attributes', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## file-config.h: void ns3::FileConfig::Default() [member function] - cls.add_method('Default', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## file-config.h: void ns3::FileConfig::Global() [member function] - cls.add_method('Global', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## file-config.h: void ns3::FileConfig::SetFilename(std::string filename) [member function] - cls.add_method('SetFilename', - 'void', - [param('std::string', 'filename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3GtkConfigStore_methods(root_module, cls): - ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore(ns3::GtkConfigStore const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GtkConfigStore const &', 'arg0')]) - ## gtk-config-store.h: ns3::GtkConfigStore::GtkConfigStore() [constructor] - cls.add_constructor([]) - ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureAttributes() [member function] - cls.add_method('ConfigureAttributes', - 'void', - []) - ## gtk-config-store.h: void ns3::GtkConfigStore::ConfigureDefaults() [member function] - cls.add_method('ConfigureDefaults', - 'void', - []) - return - -def register_Ns3NoneFileConfig_methods(root_module, cls): - ## file-config.h: ns3::NoneFileConfig::NoneFileConfig(ns3::NoneFileConfig const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NoneFileConfig const &', 'arg0')]) - ## file-config.h: ns3::NoneFileConfig::NoneFileConfig() [constructor] - cls.add_constructor([]) - ## file-config.h: void ns3::NoneFileConfig::Attributes() [member function] - cls.add_method('Attributes', - 'void', - [], - is_virtual=True) - ## file-config.h: void ns3::NoneFileConfig::Default() [member function] - cls.add_method('Default', - 'void', - [], - is_virtual=True) - ## file-config.h: void ns3::NoneFileConfig::Global() [member function] - cls.add_method('Global', - 'void', - [], - is_virtual=True) - ## file-config.h: void ns3::NoneFileConfig::SetFilename(std::string filename) [member function] - cls.add_method('SetFilename', - 'void', - [param('std::string', 'filename')], - is_virtual=True) - return - -def register_Ns3ConfigStore_methods(root_module, cls): - ## config-store.h: ns3::ConfigStore::ConfigStore(ns3::ConfigStore const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConfigStore const &', 'arg0')]) - ## config-store.h: ns3::ConfigStore::ConfigStore() [constructor] - cls.add_constructor([]) - ## config-store.h: void ns3::ConfigStore::ConfigureAttributes() [member function] - cls.add_method('ConfigureAttributes', - 'void', - []) - ## config-store.h: void ns3::ConfigStore::ConfigureDefaults() [member function] - cls.add_method('ConfigureDefaults', - 'void', - []) - ## config-store.h: ns3::TypeId ns3::ConfigStore::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## config-store.h: static ns3::TypeId ns3::ConfigStore::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## config-store.h: void ns3::ConfigStore::SetFileFormat(ns3::ConfigStore::FileFormat format) [member function] - cls.add_method('SetFileFormat', - 'void', - [param('ns3::ConfigStore::FileFormat', 'format')]) - ## config-store.h: void ns3::ConfigStore::SetFilename(std::string filename) [member function] - cls.add_method('SetFilename', - 'void', - [param('std::string', 'filename')]) - ## config-store.h: void ns3::ConfigStore::SetMode(ns3::ConfigStore::Mode mode) [member function] - cls.add_method('SetMode', - 'void', - [param('ns3::ConfigStore::Mode', 'mode')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py b/bindings/python/apidefs/gcc-LP64/ns3_module_core.py deleted file mode 100644 index c0dca22ff..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_core.py +++ /dev/null @@ -1,4774 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## log.h: ns3::LogLevel [enumeration] - module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME', 'LOG_PREFIX_NODE']) - ## attribute-list.h: ns3::AttributeList [class] - module.add_class('AttributeList') - ## callback.h: ns3::CallbackBase [class] - module.add_class('CallbackBase') - ## command-line.h: ns3::CommandLine [class] - module.add_class('CommandLine', allow_subclassing=True) - ## system-mutex.h: ns3::CriticalSection [class] - module.add_class('CriticalSection') - ## event-id.h: ns3::EventId [class] - module.add_class('EventId') - ## global-value.h: ns3::GlobalValue [class] - module.add_class('GlobalValue') - ## int-to-type.h: ns3::IntToType<0> [struct] - module.add_class('IntToType', template_parameters=['0']) - ## int-to-type.h: ns3::IntToType<0>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 0 >']) - ## int-to-type.h: ns3::IntToType<1> [struct] - module.add_class('IntToType', template_parameters=['1']) - ## int-to-type.h: ns3::IntToType<1>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 1 >']) - ## int-to-type.h: ns3::IntToType<2> [struct] - module.add_class('IntToType', template_parameters=['2']) - ## int-to-type.h: ns3::IntToType<2>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 2 >']) - ## int-to-type.h: ns3::IntToType<3> [struct] - module.add_class('IntToType', template_parameters=['3']) - ## int-to-type.h: ns3::IntToType<3>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 3 >']) - ## int-to-type.h: ns3::IntToType<4> [struct] - module.add_class('IntToType', template_parameters=['4']) - ## int-to-type.h: ns3::IntToType<4>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 4 >']) - ## int-to-type.h: ns3::IntToType<5> [struct] - module.add_class('IntToType', template_parameters=['5']) - ## int-to-type.h: ns3::IntToType<5>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 5 >']) - ## int-to-type.h: ns3::IntToType<6> [struct] - module.add_class('IntToType', template_parameters=['6']) - ## int-to-type.h: ns3::IntToType<6>::v_e [enumeration] - module.add_enum('v_e', ['value'], outer_class=root_module['ns3::IntToType< 6 >']) - ## log.h: ns3::LogComponent [class] - module.add_class('LogComponent') - ## names.h: ns3::Names [class] - module.add_class('Names') - ## object-base.h: ns3::ObjectBase [class] - module.add_class('ObjectBase', allow_subclassing=True) - ## object.h: ns3::ObjectDeleter [struct] - module.add_class('ObjectDeleter') - ## object-factory.h: ns3::ObjectFactory [class] - module.add_class('ObjectFactory') - ## random-variable.h: ns3::RandomVariable [class] - module.add_class('RandomVariable') - ## rng-stream.h: ns3::RngStream [class] - module.add_class('RngStream') - ## random-variable.h: ns3::SeedManager [class] - module.add_class('SeedManager') - ## random-variable.h: ns3::SequentialVariable [class] - module.add_class('SequentialVariable', parent=root_module['ns3::RandomVariable']) - ## simple-ref-count.h: ns3::SimpleRefCount [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simulator.h: ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True) - ## system-condition.h: ns3::SystemCondition [class] - module.add_class('SystemCondition') - ## system-mutex.h: ns3::SystemMutex [class] - module.add_class('SystemMutex') - ## system-wall-clock-ms.h: ns3::SystemWallClockMs [class] - module.add_class('SystemWallClockMs') - ## timer.h: ns3::Timer [class] - module.add_class('Timer') - ## timer.h: ns3::Timer::DestroyPolicy [enumeration] - module.add_enum('DestroyPolicy', ['CANCEL_ON_DESTROY', 'REMOVE_ON_DESTROY', 'CHECK_ON_DESTROY'], outer_class=root_module['ns3::Timer']) - ## timer.h: ns3::Timer::State [enumeration] - module.add_enum('State', ['RUNNING', 'EXPIRED', 'SUSPENDED'], outer_class=root_module['ns3::Timer']) - ## timer-impl.h: ns3::TimerImpl [class] - module.add_class('TimerImpl', allow_subclassing=True) - ## traced-value.h: ns3::TracedValue [class] - module.add_class('TracedValue', template_parameters=['double']) - ## random-variable.h: ns3::TriangularVariable [class] - module.add_class('TriangularVariable', parent=root_module['ns3::RandomVariable']) - ## type-id.h: ns3::TypeId [class] - module.add_class('TypeId') - ## type-id.h: ns3::TypeId::AttributeFlag [enumeration] - module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId']) - ## type-id.h: ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', outer_class=root_module['ns3::TypeId']) - ## random-variable.h: ns3::UniformVariable [class] - module.add_class('UniformVariable', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h: ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList') - ## vector.h: ns3::Vector2D [class] - module.add_class('Vector2D') - ## vector.h: ns3::Vector3D [class] - module.add_class('Vector3D') - ## watchdog.h: ns3::Watchdog [class] - module.add_class('Watchdog') - ## random-variable.h: ns3::WeibullVariable [class] - module.add_class('WeibullVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::ZetaVariable [class] - module.add_class('ZetaVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::ZipfVariable [class] - module.add_class('ZipfVariable', parent=root_module['ns3::RandomVariable']) - ## empty.h: ns3::empty [class] - module.add_class('empty') - ## int64x64-double.h: ns3::int64x64_t [class] - module.add_class('int64x64_t') - ## random-variable.h: ns3::ConstantVariable [class] - module.add_class('ConstantVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::DeterministicVariable [class] - module.add_class('DeterministicVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::EmpiricalVariable [class] - module.add_class('EmpiricalVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::ErlangVariable [class] - module.add_class('ErlangVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::ExponentialVariable [class] - module.add_class('ExponentialVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::GammaVariable [class] - module.add_class('GammaVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::IntEmpiricalVariable [class] - module.add_class('IntEmpiricalVariable', parent=root_module['ns3::EmpiricalVariable']) - ## random-variable.h: ns3::LogNormalVariable [class] - module.add_class('LogNormalVariable', parent=root_module['ns3::RandomVariable']) - ## random-variable.h: ns3::NormalVariable [class] - module.add_class('NormalVariable', parent=root_module['ns3::RandomVariable']) - ## object.h: ns3::Object [class] - module.add_class('Object', parent=root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) - ## object.h: ns3::Object::AggregateIterator [class] - module.add_class('AggregateIterator', outer_class=root_module['ns3::Object']) - ## random-variable.h: ns3::ParetoVariable [class] - module.add_class('ParetoVariable', parent=root_module['ns3::RandomVariable']) - ## scheduler.h: ns3::Scheduler [class] - module.add_class('Scheduler', parent=root_module['ns3::Object']) - ## scheduler.h: ns3::Scheduler::Event [struct] - module.add_class('Event', outer_class=root_module['ns3::Scheduler']) - ## scheduler.h: ns3::Scheduler::EventKey [struct] - module.add_class('EventKey', outer_class=root_module['ns3::Scheduler']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AttributeChecker', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::AttributeValue', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::CallbackImplBase', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::EventImpl', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FdReader', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RefCountBase', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::SystemThread', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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')) - ## simulator-impl.h: ns3::SimulatorImpl [class] - module.add_class('SimulatorImpl', parent=root_module['ns3::Object']) - ## synchronizer.h: ns3::Synchronizer [class] - module.add_class('Synchronizer', parent=root_module['ns3::Object']) - ## system-thread.h: ns3::SystemThread [class] - module.add_class('SystemThread', parent=root_module['ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter >']) - ## nstime.h: ns3::Time [class] - module.add_class('Time') - ## nstime.h: ns3::Time::Unit [enumeration] - module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time']) - ## nstime.h: ns3::Time [class] - root_module['ns3::Time'].implicitly_converts_to(root_module['ns3::int64x64_t']) - ## trace-source-accessor.h: ns3::TraceSourceAccessor [class] - module.add_class('TraceSourceAccessor', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) - ## traced-value.h: ns3::TracedValue [class] - module.add_class('TracedValue', template_parameters=['ns3::Time']) - ## traced-value.h: ns3::TracedValue [class] - root_module['ns3::TracedValue< ns3::Time >'].implicitly_converts_to(root_module['ns3::Time']) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer [class] - module.add_class('WallClockSynchronizer', parent=root_module['ns3::Synchronizer']) - ## attribute.h: ns3::AttributeAccessor [class] - module.add_class('AttributeAccessor', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) - ## attribute.h: ns3::AttributeChecker [class] - module.add_class('AttributeChecker', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter >']) - ## attribute.h: ns3::AttributeValue [class] - module.add_class('AttributeValue', allow_subclassing=False, automatic_type_narrowing=True, parent=root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) - ## boolean.h: ns3::BooleanChecker [class] - module.add_class('BooleanChecker', parent=root_module['ns3::AttributeChecker']) - ## boolean.h: ns3::BooleanValue [class] - module.add_class('BooleanValue', parent=root_module['ns3::AttributeValue']) - ## calendar-scheduler.h: ns3::CalendarScheduler [class] - module.add_class('CalendarScheduler', parent=root_module['ns3::Scheduler']) - ## callback.h: ns3::CallbackChecker [class] - module.add_class('CallbackChecker', parent=root_module['ns3::AttributeChecker']) - ## callback.h: ns3::CallbackImplBase [class] - module.add_class('CallbackImplBase', parent=root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) - ## callback.h: ns3::CallbackValue [class] - module.add_class('CallbackValue', parent=root_module['ns3::AttributeValue']) - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl [class] - module.add_class('DefaultSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - ## double.h: ns3::DoubleValue [class] - module.add_class('DoubleValue', parent=root_module['ns3::AttributeValue']) - ## attribute.h: ns3::EmptyAttributeValue [class] - module.add_class('EmptyAttributeValue', parent=root_module['ns3::AttributeValue']) - ## enum.h: ns3::EnumChecker [class] - module.add_class('EnumChecker', parent=root_module['ns3::AttributeChecker']) - ## enum.h: ns3::EnumValue [class] - module.add_class('EnumValue', parent=root_module['ns3::AttributeValue']) - ## event-impl.h: ns3::EventImpl [class] - module.add_class('EventImpl', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) - ## unix-fd-reader.h: ns3::FdReader [class] - module.add_class('FdReader', parent=root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >']) - ## heap-scheduler.h: ns3::HeapScheduler [class] - module.add_class('HeapScheduler', parent=root_module['ns3::Scheduler']) - ## integer.h: ns3::IntegerValue [class] - module.add_class('IntegerValue', parent=root_module['ns3::AttributeValue']) - ## list-scheduler.h: ns3::ListScheduler [class] - module.add_class('ListScheduler', parent=root_module['ns3::Scheduler']) - ## map-scheduler.h: ns3::MapScheduler [class] - module.add_class('MapScheduler', parent=root_module['ns3::Scheduler']) - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler [class] - module.add_class('Ns2CalendarScheduler', parent=root_module['ns3::Scheduler']) - ## object-factory.h: ns3::ObjectFactoryChecker [class] - module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker']) - ## object-factory.h: ns3::ObjectFactoryValue [class] - module.add_class('ObjectFactoryValue', parent=root_module['ns3::AttributeValue']) - ## object-vector.h: ns3::ObjectVectorAccessor [class] - module.add_class('ObjectVectorAccessor', parent=root_module['ns3::AttributeAccessor']) - ## object-vector.h: ns3::ObjectVectorChecker [class] - module.add_class('ObjectVectorChecker', parent=root_module['ns3::AttributeChecker']) - ## object-vector.h: ns3::ObjectVectorValue [class] - module.add_class('ObjectVectorValue', parent=root_module['ns3::AttributeValue']) - ## pointer.h: ns3::PointerChecker [class] - module.add_class('PointerChecker', parent=root_module['ns3::AttributeChecker']) - ## pointer.h: ns3::PointerValue [class] - module.add_class('PointerValue', parent=root_module['ns3::AttributeValue']) - ## random-variable.h: ns3::RandomVariableChecker [class] - module.add_class('RandomVariableChecker', parent=root_module['ns3::AttributeChecker']) - ## random-variable.h: ns3::RandomVariableValue [class] - module.add_class('RandomVariableValue', parent=root_module['ns3::AttributeValue']) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl [class] - module.add_class('RealtimeSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode [enumeration] - module.add_enum('SynchronizationMode', ['SYNC_BEST_EFFORT', 'SYNC_HARD_LIMIT'], outer_class=root_module['ns3::RealtimeSimulatorImpl']) - ## ref-count-base.h: ns3::RefCountBase [class] - module.add_class('RefCountBase', parent=root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty, ns3::DefaultDeleter >']) - ## string.h: ns3::StringChecker [class] - module.add_class('StringChecker', parent=root_module['ns3::AttributeChecker']) - ## string.h: ns3::StringValue [class] - module.add_class('StringValue', parent=root_module['ns3::AttributeValue']) - ## nstime.h: ns3::TimeChecker [class] - module.add_class('TimeChecker', parent=root_module['ns3::AttributeChecker']) - ## nstime.h: ns3::TimeValue [class] - module.add_class('TimeValue', parent=root_module['ns3::AttributeValue']) - ## type-id.h: ns3::TypeIdChecker [class] - module.add_class('TypeIdChecker', parent=root_module['ns3::AttributeChecker']) - ## type-id.h: ns3::TypeIdValue [class] - module.add_class('TypeIdValue', parent=root_module['ns3::AttributeValue']) - ## uinteger.h: ns3::UintegerValue [class] - module.add_class('UintegerValue', parent=root_module['ns3::AttributeValue']) - ## vector.h: ns3::Vector2DChecker [class] - module.add_class('Vector2DChecker', parent=root_module['ns3::AttributeChecker']) - ## vector.h: ns3::Vector2DValue [class] - module.add_class('Vector2DValue', parent=root_module['ns3::AttributeValue']) - ## vector.h: ns3::Vector3DChecker [class] - module.add_class('Vector3DChecker', parent=root_module['ns3::AttributeChecker']) - ## vector.h: ns3::Vector3DValue [class] - module.add_class('Vector3DValue', parent=root_module['ns3::AttributeValue']) - module.add_container('std::set< ns3::TypeId >', 'ns3::TypeId', container_type='set') - module.add_container('std::list< ns3::Ptr< ns3::SpectrumPhy > >', 'ns3::Ptr< ns3::SpectrumPhy >', container_type='list') - module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list') - module.add_container('std::vector< ns3::Ptr< ns3::RadioBearerInstance > >', 'ns3::Ptr< ns3::RadioBearerInstance >', container_type='vector') - module.add_container('std::list< ns3::Ptr< ns3::UanPhy > >', 'ns3::Ptr< ns3::UanPhy >', container_type='list') - module.add_container('std::vector< ns3::Ptr< ns3::UeRecord > >', 'ns3::Ptr< ns3::UeRecord >', container_type='vector') - module.add_container('std::list< ns3::Ptr< ns3::UlJob > >', 'ns3::Ptr< ns3::UlJob >', container_type='list') - module.add_container('std::list< ns3::Ptr< ns3::Packet const > >', 'ns3::Ptr< ns3::Packet const >', container_type='list') - module.add_container('std::vector< ns3::Ptr< ns3::WimaxConnection > >', 'ns3::Ptr< ns3::WimaxConnection >', container_type='vector') - module.add_container('std::vector< ns3::Ptr< ns3::FlowProbe > >', 'ns3::Ptr< ns3::FlowProbe >', container_type='vector') - module.add_container('std::list< ns3::Ptr< ns3::Socket > >', 'ns3::Ptr< ns3::Socket >', container_type='list') - module.add_container('std::list< ns3::Ptr< ns3::RadvdPrefix > >', 'ns3::Ptr< ns3::RadvdPrefix >', container_type='list') - module.add_container('std::list< ns3::Ptr< ns3::UanTransducer > >', 'ns3::Ptr< ns3::UanTransducer >', container_type='list') - module.add_container('std::vector< ns3::Ptr< ns3::NetDevice > >', 'ns3::Ptr< ns3::NetDevice >', container_type='vector') - module.add_container('std::vector< ns3::Ptr< ns3::SpectrumPhy > >', 'ns3::Ptr< ns3::SpectrumPhy >', container_type='vector') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogNodePrinter') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogNodePrinter*') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogNodePrinter&') - typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') - typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*') - typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&') - module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker') - typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') - typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') - typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') - module.add_typedef(root_module['ns3::Vector3D'], 'Vector') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*') - typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&') - typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue') - typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') - typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') - module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - ## config.h: ns3::Config::MatchContainer [class] - module.add_class('MatchContainer') - module.add_container('std::vector< ns3::Ptr< ns3::Object > >', 'ns3::Ptr< ns3::Object >', container_type='vector') - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - module.add_container('std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', 'ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit >', container_type='vector') - module.add_container('std::vector< ns3::Ptr< ns3::dot11s::DestinationAddressUnit > >', 'ns3::Ptr< ns3::dot11s::DestinationAddressUnit >', container_type='vector') - module.add_container('std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >', 'ns3::Ptr< ns3::dot11s::PeerLink >', container_type='vector') - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) - register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) - register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine']) - register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) - register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) - register_Ns3GlobalValue_methods(root_module, root_module['ns3::GlobalValue']) - register_Ns3IntToType__0_methods(root_module, root_module['ns3::IntToType< 0 >']) - register_Ns3IntToType__1_methods(root_module, root_module['ns3::IntToType< 1 >']) - register_Ns3IntToType__2_methods(root_module, root_module['ns3::IntToType< 2 >']) - register_Ns3IntToType__3_methods(root_module, root_module['ns3::IntToType< 3 >']) - register_Ns3IntToType__4_methods(root_module, root_module['ns3::IntToType< 4 >']) - register_Ns3IntToType__5_methods(root_module, root_module['ns3::IntToType< 5 >']) - register_Ns3IntToType__6_methods(root_module, root_module['ns3::IntToType< 6 >']) - register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent']) - register_Ns3Names_methods(root_module, root_module['ns3::Names']) - register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) - register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) - register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) - register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) - register_Ns3RngStream_methods(root_module, root_module['ns3::RngStream']) - register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) - register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) - register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) - register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) - register_Ns3SystemCondition_methods(root_module, root_module['ns3::SystemCondition']) - register_Ns3SystemMutex_methods(root_module, root_module['ns3::SystemMutex']) - register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) - register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) - register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) - register_Ns3TracedValue__Double_methods(root_module, root_module['ns3::TracedValue< double >']) - register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) - register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) - register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) - register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) - register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) - register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) - register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) - register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) - register_Ns3Empty_methods(root_module, root_module['ns3::empty']) - register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) - register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) - register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) - register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) - register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) - register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) - register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) - register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) - register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) - register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) - register_Ns3Object_methods(root_module, root_module['ns3::Object']) - register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) - register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) - register_Ns3Scheduler_methods(root_module, root_module['ns3::Scheduler']) - register_Ns3SchedulerEvent_methods(root_module, root_module['ns3::Scheduler::Event']) - register_Ns3SchedulerEventKey_methods(root_module, root_module['ns3::Scheduler::EventKey']) - 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 >']) - register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3FdReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3FdReader__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3FlowClassifier_Ns3Empty_Ns3DefaultDeleter__lt__ns3FlowClassifier__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3FlowProbe_Ns3Empty_Ns3DefaultDeleter__lt__ns3FlowProbe__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3IdealControlMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3IdealControlMessage__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::IdealControlMessage, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3InterferenceHelperEvent_Ns3Empty_Ns3DefaultDeleter__lt__ns3InterferenceHelperEvent__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::InterferenceHelper::Event, 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__Ns3Ipv6MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6MulticastRoute__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6Route__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_Ns3DefaultDeleter__lt__ns3MeshWifiInterfaceMacPlugin__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, 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__Ns3PbbAddressBlock_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbAddressBlock__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbMessage__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_Ns3DefaultDeleter__lt__ns3PbbPacket__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbTlv__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdInterface__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3RefCountBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3RefCountBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3SpectrumConverter_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumConverter__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumConverter, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3SpectrumModel_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumModel__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumModel, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3SpectrumValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumValue, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, 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_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3Dot11sDestinationAddressUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sDestinationAddressUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sIeBeaconTimingUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter >']) - register_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) - register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) - register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) - register_Ns3Time_methods(root_module, root_module['ns3::Time']) - register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) - register_Ns3TracedValue__Ns3Time_methods(root_module, root_module['ns3::TracedValue< ns3::Time >']) - register_Ns3WallClockSynchronizer_methods(root_module, root_module['ns3::WallClockSynchronizer']) - 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_Ns3CalendarScheduler_methods(root_module, root_module['ns3::CalendarScheduler']) - 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_Ns3DefaultSimulatorImpl_methods(root_module, root_module['ns3::DefaultSimulatorImpl']) - register_Ns3DoubleValue_methods(root_module, root_module['ns3::DoubleValue']) - 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_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) - register_Ns3FdReader_methods(root_module, root_module['ns3::FdReader']) - register_Ns3HeapScheduler_methods(root_module, root_module['ns3::HeapScheduler']) - register_Ns3IntegerValue_methods(root_module, root_module['ns3::IntegerValue']) - register_Ns3ListScheduler_methods(root_module, root_module['ns3::ListScheduler']) - register_Ns3MapScheduler_methods(root_module, root_module['ns3::MapScheduler']) - register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler']) - register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) - register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) - register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor']) - register_Ns3ObjectVectorChecker_methods(root_module, root_module['ns3::ObjectVectorChecker']) - register_Ns3ObjectVectorValue_methods(root_module, root_module['ns3::ObjectVectorValue']) - register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker']) - register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) - register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) - register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) - register_Ns3RealtimeSimulatorImpl_methods(root_module, root_module['ns3::RealtimeSimulatorImpl']) - register_Ns3RefCountBase_methods(root_module, root_module['ns3::RefCountBase']) - register_Ns3StringChecker_methods(root_module, root_module['ns3::StringChecker']) - register_Ns3StringValue_methods(root_module, root_module['ns3::StringValue']) - register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) - 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_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker']) - register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue']) - register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker']) - register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue']) - register_Ns3ConfigMatchContainer_methods(root_module, root_module['ns3::Config::MatchContainer']) - return - -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h: ns3::AttributeList::AttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h: ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h: bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h: static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h: void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## attribute-list.h: std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', - [], - is_const=True) - ## attribute-list.h: void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h: bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h: void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3CallbackBase_methods(root_module, cls): - ## callback.h: ns3::CallbackBase::CallbackBase(ns3::CallbackBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackBase const &', 'arg0')]) - ## callback.h: ns3::CallbackBase::CallbackBase() [constructor] - cls.add_constructor([]) - ## callback.h: ns3::Ptr ns3::CallbackBase::GetImpl() const [member function] - cls.add_method('GetImpl', - 'ns3::Ptr< ns3::CallbackImplBase >', - [], - is_const=True) - ## callback.h: ns3::CallbackBase::CallbackBase(ns3::Ptr impl) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::CallbackImplBase >', 'impl')], - visibility='protected') - ## callback.h: static std::string ns3::CallbackBase::Demangle(std::string const & mangled) [member function] - cls.add_method('Demangle', - 'std::string', - [param('std::string const &', 'mangled')], - is_static=True, visibility='protected') - return - -def register_Ns3CommandLine_methods(root_module, cls): - ## command-line.h: ns3::CommandLine::CommandLine() [constructor] - cls.add_constructor([]) - ## command-line.h: ns3::CommandLine::CommandLine(ns3::CommandLine const & cmd) [copy constructor] - cls.add_constructor([param('ns3::CommandLine const &', 'cmd')]) - ## command-line.h: void ns3::CommandLine::AddValue(std::string const & name, std::string const & help, ns3::Callback callback) [member function] - cls.add_method('AddValue', - 'void', - [param('std::string const &', 'name'), param('std::string const &', 'help'), param('ns3::Callback< bool, std::string, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - return - -def register_Ns3CriticalSection_methods(root_module, cls): - ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::CriticalSection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CriticalSection const &', 'arg0')]) - ## system-mutex.h: ns3::CriticalSection::CriticalSection(ns3::SystemMutex & mutex) [constructor] - cls.add_constructor([param('ns3::SystemMutex &', 'mutex')]) - return - -def register_Ns3EventId_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('==') - ## event-id.h: ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventId const &', 'arg0')]) - ## event-id.h: ns3::EventId::EventId() [constructor] - cls.add_constructor([]) - ## event-id.h: ns3::EventId::EventId(ns3::Ptr const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')]) - ## event-id.h: void ns3::EventId::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## event-id.h: uint32_t ns3::EventId::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True) - ## event-id.h: uint64_t ns3::EventId::GetTs() const [member function] - cls.add_method('GetTs', - 'uint64_t', - [], - is_const=True) - ## event-id.h: uint32_t ns3::EventId::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - ## event-id.h: bool ns3::EventId::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## event-id.h: bool ns3::EventId::IsRunning() const [member function] - cls.add_method('IsRunning', - 'bool', - [], - is_const=True) - ## event-id.h: ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] - cls.add_method('PeekEventImpl', - 'ns3::EventImpl *', - [], - is_const=True) - return - -def register_Ns3GlobalValue_methods(root_module, cls): - ## global-value.h: ns3::GlobalValue::GlobalValue(ns3::GlobalValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GlobalValue const &', 'arg0')]) - ## global-value.h: ns3::GlobalValue::GlobalValue(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr checker) [constructor] - cls.add_constructor([param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## global-value.h: static __gnu_cxx::__normal_iterator > > ns3::GlobalValue::Begin() [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > >', - [], - is_static=True) - ## global-value.h: static void ns3::GlobalValue::Bind(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Bind', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')], - is_static=True) - ## global-value.h: static bool ns3::GlobalValue::BindFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('BindFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')], - is_static=True) - ## global-value.h: static __gnu_cxx::__normal_iterator > > ns3::GlobalValue::End() [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::GlobalValue * const *, std::vector< ns3::GlobalValue * > >', - [], - is_static=True) - ## global-value.h: ns3::Ptr ns3::GlobalValue::GetChecker() const [member function] - cls.add_method('GetChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [], - is_const=True) - ## global-value.h: std::string ns3::GlobalValue::GetHelp() const [member function] - cls.add_method('GetHelp', - 'std::string', - [], - is_const=True) - ## global-value.h: std::string ns3::GlobalValue::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## global-value.h: void ns3::GlobalValue::GetValue(ns3::AttributeValue & value) const [member function] - cls.add_method('GetValue', - 'void', - [param('ns3::AttributeValue &', 'value')], - is_const=True) - ## global-value.h: static void ns3::GlobalValue::GetValueByName(std::string name, ns3::AttributeValue & value) [member function] - cls.add_method('GetValueByName', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], - is_static=True) - ## global-value.h: static bool ns3::GlobalValue::GetValueByNameFailSafe(std::string name, ns3::AttributeValue & value) [member function] - cls.add_method('GetValueByNameFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], - is_static=True) - ## global-value.h: bool ns3::GlobalValue::SetValue(ns3::AttributeValue const & value) [member function] - cls.add_method('SetValue', - 'bool', - [param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3IntToType__0_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<0>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<0>::IntToType(ns3::IntToType<0> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 0 > const &', 'arg0')]) - return - -def register_Ns3IntToType__1_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<1>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<1>::IntToType(ns3::IntToType<1> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 1 > const &', 'arg0')]) - return - -def register_Ns3IntToType__2_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<2>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<2>::IntToType(ns3::IntToType<2> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 2 > const &', 'arg0')]) - return - -def register_Ns3IntToType__3_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<3>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<3>::IntToType(ns3::IntToType<3> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 3 > const &', 'arg0')]) - return - -def register_Ns3IntToType__4_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<4>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<4>::IntToType(ns3::IntToType<4> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 4 > const &', 'arg0')]) - return - -def register_Ns3IntToType__5_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<5>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<5>::IntToType(ns3::IntToType<5> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 5 > const &', 'arg0')]) - return - -def register_Ns3IntToType__6_methods(root_module, cls): - ## int-to-type.h: ns3::IntToType<6>::IntToType() [constructor] - cls.add_constructor([]) - ## int-to-type.h: ns3::IntToType<6>::IntToType(ns3::IntToType<6> const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntToType< 6 > const &', 'arg0')]) - return - -def register_Ns3LogComponent_methods(root_module, cls): - ## log.h: ns3::LogComponent::LogComponent(ns3::LogComponent const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LogComponent const &', 'arg0')]) - ## log.h: ns3::LogComponent::LogComponent(char const * name) [constructor] - cls.add_constructor([param('char const *', 'name')]) - ## log.h: void ns3::LogComponent::Disable(ns3::LogLevel level) [member function] - cls.add_method('Disable', - 'void', - [param('ns3::LogLevel', 'level')]) - ## log.h: void ns3::LogComponent::Enable(ns3::LogLevel level) [member function] - cls.add_method('Enable', - 'void', - [param('ns3::LogLevel', 'level')]) - ## log.h: void ns3::LogComponent::EnvVarCheck(char const * name) [member function] - cls.add_method('EnvVarCheck', - 'void', - [param('char const *', 'name')]) - ## log.h: bool ns3::LogComponent::IsEnabled(ns3::LogLevel level) const [member function] - cls.add_method('IsEnabled', - 'bool', - [param('ns3::LogLevel', 'level')], - is_const=True) - ## log.h: bool ns3::LogComponent::IsNoneEnabled() const [member function] - cls.add_method('IsNoneEnabled', - 'bool', - [], - is_const=True) - ## log.h: char const * ns3::LogComponent::Name() const [member function] - cls.add_method('Name', - 'char const *', - [], - is_const=True) - return - -def register_Ns3Names_methods(root_module, cls): - ## names.h: ns3::Names::Names() [constructor] - cls.add_constructor([]) - ## names.h: ns3::Names::Names(ns3::Names const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Names const &', 'arg0')]) - ## names.h: static void ns3::Names::Add(std::string name, ns3::Ptr object) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'name'), param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static void ns3::Names::Add(std::string path, std::string name, ns3::Ptr object) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'path'), param('std::string', 'name'), param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static void ns3::Names::Add(ns3::Ptr context, std::string name, ns3::Ptr object) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Object >', 'context'), param('std::string', 'name'), param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static void ns3::Names::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_static=True) - ## names.h: static std::string ns3::Names::FindName(ns3::Ptr object) [member function] - cls.add_method('FindName', - 'std::string', - [param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static std::string ns3::Names::FindPath(ns3::Ptr object) [member function] - cls.add_method('FindPath', - 'std::string', - [param('ns3::Ptr< ns3::Object >', 'object')], - is_static=True) - ## names.h: static void ns3::Names::Rename(std::string oldpath, std::string newname) [member function] - cls.add_method('Rename', - 'void', - [param('std::string', 'oldpath'), param('std::string', 'newname')], - is_static=True) - ## names.h: static void ns3::Names::Rename(std::string path, std::string oldname, std::string newname) [member function] - cls.add_method('Rename', - 'void', - [param('std::string', 'path'), param('std::string', 'oldname'), param('std::string', 'newname')], - is_static=True) - ## names.h: static void ns3::Names::Rename(ns3::Ptr context, std::string oldname, std::string newname) [member function] - cls.add_method('Rename', - 'void', - [param('ns3::Ptr< ns3::Object >', 'context'), param('std::string', 'oldname'), param('std::string', 'newname')], - is_static=True) - return - -def register_Ns3ObjectBase_methods(root_module, cls): - ## object-base.h: ns3::ObjectBase::ObjectBase() [constructor] - cls.add_constructor([]) - ## object-base.h: ns3::ObjectBase::ObjectBase(ns3::ObjectBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectBase const &', 'arg0')]) - ## object-base.h: void ns3::ObjectBase::GetAttribute(std::string name, ns3::AttributeValue & value) const [member function] - cls.add_method('GetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], - is_const=True) - ## object-base.h: bool ns3::ObjectBase::GetAttributeFailSafe(std::string name, ns3::AttributeValue & attribute) const [member function] - cls.add_method('GetAttributeFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue &', 'attribute')], - is_const=True) - ## object-base.h: ns3::TypeId ns3::ObjectBase::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## object-base.h: static ns3::TypeId ns3::ObjectBase::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## object-base.h: void ns3::ObjectBase::SetAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-base.h: bool ns3::ObjectBase::SetAttributeFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetAttributeFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-base.h: bool ns3::ObjectBase::TraceConnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function] - cls.add_method('TraceConnect', - 'bool', - [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h: bool ns3::ObjectBase::TraceConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('TraceConnectWithoutContext', - 'bool', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h: bool ns3::ObjectBase::TraceDisconnect(std::string name, std::string context, ns3::CallbackBase const & cb) [member function] - cls.add_method('TraceDisconnect', - 'bool', - [param('std::string', 'name'), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h: bool ns3::ObjectBase::TraceDisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('TraceDisconnectWithoutContext', - 'bool', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h: void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] - cls.add_method('ConstructSelf', - 'void', - [param('ns3::AttributeList const &', 'attributes')], - visibility='protected') - ## object-base.h: void ns3::ObjectBase::NotifyConstructionCompleted() [member function] - cls.add_method('NotifyConstructionCompleted', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3ObjectDeleter_methods(root_module, cls): - ## object.h: ns3::ObjectDeleter::ObjectDeleter() [constructor] - cls.add_constructor([]) - ## object.h: ns3::ObjectDeleter::ObjectDeleter(ns3::ObjectDeleter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectDeleter const &', 'arg0')]) - ## object.h: static void ns3::ObjectDeleter::Delete(ns3::Object * object) [member function] - cls.add_method('Delete', - 'void', - [param('ns3::Object *', 'object')], - is_static=True) - return - -def register_Ns3ObjectFactory_methods(root_module, cls): - cls.add_output_stream_operator() - ## object-factory.h: ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) - ## object-factory.h: ns3::ObjectFactory::ObjectFactory() [constructor] - cls.add_constructor([]) - ## object-factory.h: ns3::Ptr ns3::ObjectFactory::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## object-factory.h: ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_const=True) - ## object-factory.h: void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h: void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) - ## object-factory.h: void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] - cls.add_method('SetTypeId', - 'void', - [param('ns3::TypeId', 'tid')]) - ## object-factory.h: void ns3::ObjectFactory::SetTypeId(char const * tid) [member function] - cls.add_method('SetTypeId', - 'void', - [param('char const *', 'tid')]) - ## object-factory.h: void ns3::ObjectFactory::SetTypeId(std::string tid) [member function] - cls.add_method('SetTypeId', - 'void', - [param('std::string', 'tid')]) - return - -def register_Ns3RandomVariable_methods(root_module, cls): - cls.add_output_stream_operator() - ## random-variable.h: ns3::RandomVariable::RandomVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor] - cls.add_constructor([param('ns3::RandomVariable const &', 'o')]) - ## random-variable.h: uint32_t ns3::RandomVariable::GetInteger() const [member function] - cls.add_method('GetInteger', - 'uint32_t', - [], - is_const=True) - ## random-variable.h: double ns3::RandomVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - return - -def register_Ns3RngStream_methods(root_module, cls): - ## rng-stream.h: ns3::RngStream::RngStream() [constructor] - cls.add_constructor([]) - ## rng-stream.h: ns3::RngStream::RngStream(ns3::RngStream const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RngStream const &', 'arg0')]) - ## rng-stream.h: void ns3::RngStream::AdvanceState(int32_t e, int32_t c) [member function] - cls.add_method('AdvanceState', - 'void', - [param('int32_t', 'e'), param('int32_t', 'c')]) - ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t const * seed) [member function] - cls.add_method('CheckSeed', - 'bool', - [param('uint32_t const *', 'seed')], - is_static=True) - ## rng-stream.h: static bool ns3::RngStream::CheckSeed(uint32_t seed) [member function] - cls.add_method('CheckSeed', - 'bool', - [param('uint32_t', 'seed')], - is_static=True) - ## rng-stream.h: static uint32_t ns3::RngStream::GetPackageRun() [member function] - cls.add_method('GetPackageRun', - 'uint32_t', - [], - is_static=True) - ## rng-stream.h: static void ns3::RngStream::GetPackageSeed(uint32_t * seed) [member function] - cls.add_method('GetPackageSeed', - 'void', - [param('uint32_t *', 'seed')], - is_static=True) - ## rng-stream.h: void ns3::RngStream::GetState(uint32_t * seed) const [member function] - cls.add_method('GetState', - 'void', - [param('uint32_t *', 'seed')], - is_const=True) - ## rng-stream.h: void ns3::RngStream::IncreasedPrecis(bool incp) [member function] - cls.add_method('IncreasedPrecis', - 'void', - [param('bool', 'incp')]) - ## rng-stream.h: void ns3::RngStream::InitializeStream() [member function] - cls.add_method('InitializeStream', - 'void', - []) - ## rng-stream.h: int32_t ns3::RngStream::RandInt(int32_t i, int32_t j) [member function] - cls.add_method('RandInt', - 'int32_t', - [param('int32_t', 'i'), param('int32_t', 'j')]) - ## rng-stream.h: double ns3::RngStream::RandU01() [member function] - cls.add_method('RandU01', - 'double', - []) - ## rng-stream.h: void ns3::RngStream::ResetNextSubstream() [member function] - cls.add_method('ResetNextSubstream', - 'void', - []) - ## rng-stream.h: void ns3::RngStream::ResetNthSubstream(uint32_t N) [member function] - cls.add_method('ResetNthSubstream', - 'void', - [param('uint32_t', 'N')]) - ## rng-stream.h: void ns3::RngStream::ResetStartStream() [member function] - cls.add_method('ResetStartStream', - 'void', - []) - ## rng-stream.h: void ns3::RngStream::ResetStartSubstream() [member function] - cls.add_method('ResetStartSubstream', - 'void', - []) - ## rng-stream.h: void ns3::RngStream::SetAntithetic(bool a) [member function] - cls.add_method('SetAntithetic', - 'void', - [param('bool', 'a')]) - ## rng-stream.h: static void ns3::RngStream::SetPackageRun(uint32_t run) [member function] - cls.add_method('SetPackageRun', - 'void', - [param('uint32_t', 'run')], - is_static=True) - ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t seed) [member function] - cls.add_method('SetPackageSeed', - 'bool', - [param('uint32_t', 'seed')], - is_static=True) - ## rng-stream.h: static bool ns3::RngStream::SetPackageSeed(uint32_t const * seed) [member function] - cls.add_method('SetPackageSeed', - 'bool', - [param('uint32_t const *', 'seed')], - is_static=True) - ## rng-stream.h: bool ns3::RngStream::SetSeeds(uint32_t const * seed) [member function] - cls.add_method('SetSeeds', - 'bool', - [param('uint32_t const *', 'seed')]) - return - -def register_Ns3SeedManager_methods(root_module, cls): - ## random-variable.h: ns3::SeedManager::SeedManager() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SeedManager const &', 'arg0')]) - ## random-variable.h: static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function] - cls.add_method('CheckSeed', - 'bool', - [param('uint32_t', 'seed')], - is_static=True) - ## random-variable.h: static uint32_t ns3::SeedManager::GetRun() [member function] - cls.add_method('GetRun', - 'uint32_t', - [], - is_static=True) - ## random-variable.h: static uint32_t ns3::SeedManager::GetSeed() [member function] - cls.add_method('GetSeed', - 'uint32_t', - [], - is_static=True) - ## random-variable.h: static void ns3::SeedManager::SetRun(uint32_t run) [member function] - cls.add_method('SetRun', - 'void', - [param('uint32_t', 'run')], - is_static=True) - ## random-variable.h: static void ns3::SeedManager::SetSeed(uint32_t seed) [member function] - cls.add_method('SetSeed', - 'void', - [param('uint32_t', 'seed')], - is_static=True) - return - -def register_Ns3SequentialVariable_methods(root_module, cls): - ## random-variable.h: ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')]) - ## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor] - cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')]) - ## random-variable.h: ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor] - cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')]) - return - -def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount::SimpleRefCount(ns3::SimpleRefCount const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3Simulator_methods(root_module, cls): - ## simulator.h: ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) - ## simulator.h: static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static void ns3::Simulator::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_static=True) - ## simulator.h: static uint32_t ns3::Simulator::GetContext() [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static ns3::Ptr ns3::Simulator::GetImplementation() [member function] - cls.add_method('GetImplementation', - 'ns3::Ptr< ns3::SimulatorImpl >', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_static=True) - ## simulator.h: static uint32_t ns3::Simulator::GetSystemId() [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_static=True) - ## simulator.h: static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static bool ns3::Simulator::IsFinished() [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_static=True) - ## simulator.h: static ns3::Time ns3::Simulator::Next() [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_static=True, deprecated=True) - ## simulator.h: static ns3::Time ns3::Simulator::Now() [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_static=True) - ## simulator.h: static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'id')], - is_static=True) - ## simulator.h: static void ns3::Simulator::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_static=True, deprecated=True) - ## simulator.h: static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] - cls.add_method('SetImplementation', - 'void', - [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], - is_static=True) - ## simulator.h: static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_static=True) - ## simulator.h: static void ns3::Simulator::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_static=True) - ## simulator.h: static void ns3::Simulator::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_static=True) - return - -def register_Ns3SystemCondition_methods(root_module, cls): - ## system-condition.h: ns3::SystemCondition::SystemCondition(ns3::SystemCondition const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemCondition const &', 'arg0')]) - ## system-condition.h: ns3::SystemCondition::SystemCondition() [constructor] - cls.add_constructor([]) - ## system-condition.h: void ns3::SystemCondition::Broadcast() [member function] - cls.add_method('Broadcast', - 'void', - []) - ## system-condition.h: bool ns3::SystemCondition::GetCondition() [member function] - cls.add_method('GetCondition', - 'bool', - []) - ## system-condition.h: void ns3::SystemCondition::SetCondition(bool condition) [member function] - cls.add_method('SetCondition', - 'void', - [param('bool', 'condition')]) - ## system-condition.h: void ns3::SystemCondition::Signal() [member function] - cls.add_method('Signal', - 'void', - []) - ## system-condition.h: bool ns3::SystemCondition::TimedWait(uint64_t ns) [member function] - cls.add_method('TimedWait', - 'bool', - [param('uint64_t', 'ns')]) - ## system-condition.h: void ns3::SystemCondition::Wait() [member function] - cls.add_method('Wait', - 'void', - []) - return - -def register_Ns3SystemMutex_methods(root_module, cls): - ## system-mutex.h: ns3::SystemMutex::SystemMutex(ns3::SystemMutex const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemMutex const &', 'arg0')]) - ## system-mutex.h: ns3::SystemMutex::SystemMutex() [constructor] - cls.add_constructor([]) - ## system-mutex.h: void ns3::SystemMutex::Lock() [member function] - cls.add_method('Lock', - 'void', - []) - ## system-mutex.h: void ns3::SystemMutex::Unlock() [member function] - cls.add_method('Unlock', - 'void', - []) - return - -def register_Ns3SystemWallClockMs_methods(root_module, cls): - ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) - ## system-wall-clock-ms.h: ns3::SystemWallClockMs::SystemWallClockMs() [constructor] - cls.add_constructor([]) - ## system-wall-clock-ms.h: int64_t ns3::SystemWallClockMs::End() [member function] - cls.add_method('End', - 'int64_t', - []) - ## system-wall-clock-ms.h: int64_t ns3::SystemWallClockMs::GetElapsedReal() const [member function] - cls.add_method('GetElapsedReal', - 'int64_t', - [], - is_const=True) - ## system-wall-clock-ms.h: int64_t ns3::SystemWallClockMs::GetElapsedSystem() const [member function] - cls.add_method('GetElapsedSystem', - 'int64_t', - [], - is_const=True) - ## system-wall-clock-ms.h: int64_t ns3::SystemWallClockMs::GetElapsedUser() const [member function] - cls.add_method('GetElapsedUser', - 'int64_t', - [], - is_const=True) - ## system-wall-clock-ms.h: void ns3::SystemWallClockMs::Start() [member function] - cls.add_method('Start', - 'void', - []) - return - -def register_Ns3Timer_methods(root_module, cls): - ## timer.h: ns3::Timer::Timer(ns3::Timer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Timer const &', 'arg0')]) - ## timer.h: ns3::Timer::Timer() [constructor] - cls.add_constructor([]) - ## timer.h: ns3::Timer::Timer(ns3::Timer::DestroyPolicy destroyPolicy) [constructor] - cls.add_constructor([param('ns3::Timer::DestroyPolicy', 'destroyPolicy')]) - ## timer.h: void ns3::Timer::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## timer.h: ns3::Time ns3::Timer::GetDelay() const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [], - is_const=True) - ## timer.h: ns3::Time ns3::Timer::GetDelayLeft() const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [], - is_const=True) - ## timer.h: ns3::Timer::State ns3::Timer::GetState() const [member function] - cls.add_method('GetState', - 'ns3::Timer::State', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsRunning() const [member function] - cls.add_method('IsRunning', - 'bool', - [], - is_const=True) - ## timer.h: bool ns3::Timer::IsSuspended() const [member function] - cls.add_method('IsSuspended', - 'bool', - [], - is_const=True) - ## timer.h: void ns3::Timer::Remove() [member function] - cls.add_method('Remove', - 'void', - []) - ## timer.h: void ns3::Timer::Resume() [member function] - cls.add_method('Resume', - 'void', - []) - ## timer.h: void ns3::Timer::Schedule() [member function] - cls.add_method('Schedule', - 'void', - []) - ## timer.h: void ns3::Timer::Schedule(ns3::Time delay) [member function] - cls.add_method('Schedule', - 'void', - [param('ns3::Time', 'delay')]) - ## timer.h: void ns3::Timer::SetDelay(ns3::Time const & delay) [member function] - cls.add_method('SetDelay', - 'void', - [param('ns3::Time const &', 'delay')]) - ## timer.h: void ns3::Timer::Suspend() [member function] - cls.add_method('Suspend', - 'void', - []) - return - -def register_Ns3TimerImpl_methods(root_module, cls): - ## timer-impl.h: ns3::TimerImpl::TimerImpl() [constructor] - cls.add_constructor([]) - ## timer-impl.h: ns3::TimerImpl::TimerImpl(ns3::TimerImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimerImpl const &', 'arg0')]) - ## timer-impl.h: void ns3::TimerImpl::Invoke() [member function] - cls.add_method('Invoke', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## timer-impl.h: ns3::EventId ns3::TimerImpl::Schedule(ns3::Time const & delay) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'delay')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3TracedValue__Double_methods(root_module, cls): - ## traced-value.h: ns3::TracedValue::TracedValue() [constructor] - cls.add_constructor([]) - ## traced-value.h: ns3::TracedValue::TracedValue(ns3::TracedValue const & o) [copy constructor] - cls.add_constructor([param('ns3::TracedValue< double > const &', 'o')]) - ## traced-value.h: ns3::TracedValue::TracedValue(double const & v) [constructor] - cls.add_constructor([param('double const &', 'v')]) - ## traced-value.h: 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: void ns3::TracedValue::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('ConnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: 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: void ns3::TracedValue::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('DisconnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: double ns3::TracedValue::Get() const [member function] - cls.add_method('Get', - 'double', - [], - is_const=True) - ## traced-value.h: void ns3::TracedValue::Set(double const & v) [member function] - cls.add_method('Set', - 'void', - [param('double const &', 'v')]) - return - -def register_Ns3TriangularVariable_methods(root_module, cls): - ## random-variable.h: ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')]) - ## random-variable.h: ns3::TriangularVariable::TriangularVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor] - cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')]) - return - -def register_Ns3TypeId_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## type-id.h: ns3::TypeId::TypeId(char const * name) [constructor] - cls.add_constructor([param('char const *', 'name')]) - ## type-id.h: ns3::TypeId::TypeId() [constructor] - cls.add_constructor([]) - ## type-id.h: ns3::TypeId::TypeId(ns3::TypeId const & o) [copy constructor] - cls.add_constructor([param('ns3::TypeId const &', 'o')]) - ## type-id.h: ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, ns3::AttributeValue const & initialValue, ns3::Ptr accessor, ns3::Ptr checker) [member function] - cls.add_method('AddAttribute', - 'ns3::TypeId', - [param('std::string', 'name'), param('std::string', 'help'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h: ns3::TypeId ns3::TypeId::AddAttribute(std::string name, std::string help, uint32_t flags, ns3::AttributeValue const & initialValue, ns3::Ptr accessor, ns3::Ptr checker) [member function] - cls.add_method('AddAttribute', - 'ns3::TypeId', - [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h: ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] - cls.add_method('AddTraceSource', - 'ns3::TypeId', - [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h: ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] - cls.add_method('GetAttributeFullName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: uint32_t ns3::TypeId::GetAttributeN() const [member function] - cls.add_method('GetAttributeN', - 'uint32_t', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: ns3::Callback ns3::TypeId::GetConstructor() const [member function] - cls.add_method('GetConstructor', - 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetGroupName() const [member function] - cls.add_method('GetGroupName', - 'std::string', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## type-id.h: ns3::TypeId ns3::TypeId::GetParent() const [member function] - cls.add_method('GetParent', - 'ns3::TypeId', - [], - is_const=True) - ## type-id.h: static ns3::TypeId ns3::TypeId::GetRegistered(uint32_t i) [member function] - cls.add_method('GetRegistered', - 'ns3::TypeId', - [param('uint32_t', 'i')], - is_static=True) - ## type-id.h: static uint32_t ns3::TypeId::GetRegisteredN() [member function] - cls.add_method('GetRegisteredN', - 'uint32_t', - [], - is_static=True) - ## type-id.h: ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: uint32_t ns3::TypeId::GetTraceSourceN() const [member function] - cls.add_method('GetTraceSourceN', - 'uint32_t', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h: uint16_t ns3::TypeId::GetUid() const [member function] - cls.add_method('GetUid', - 'uint16_t', - [], - is_const=True) - ## type-id.h: bool ns3::TypeId::HasConstructor() const [member function] - cls.add_method('HasConstructor', - 'bool', - [], - is_const=True) - ## type-id.h: bool ns3::TypeId::HasParent() const [member function] - cls.add_method('HasParent', - 'bool', - [], - is_const=True) - ## type-id.h: ns3::TypeId ns3::TypeId::HideFromDocumentation() [member function] - cls.add_method('HideFromDocumentation', - 'ns3::TypeId', - []) - ## type-id.h: bool ns3::TypeId::IsChildOf(ns3::TypeId other) const [member function] - cls.add_method('IsChildOf', - 'bool', - [param('ns3::TypeId', 'other')], - is_const=True) - ## type-id.h: static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h: bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] - cls.add_method('LookupAttributeByName', - 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], - is_const=True) - ## type-id.h: static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] - cls.add_method('LookupByName', - 'ns3::TypeId', - [param('std::string', 'name')], - is_static=True) - ## type-id.h: ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] - cls.add_method('LookupTraceSourceByName', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('std::string', 'name')], - is_const=True) - ## type-id.h: bool ns3::TypeId::MustHideFromDocumentation() const [member function] - cls.add_method('MustHideFromDocumentation', - 'bool', - [], - is_const=True) - ## type-id.h: ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] - cls.add_method('SetGroupName', - 'ns3::TypeId', - [param('std::string', 'groupName')]) - ## type-id.h: ns3::TypeId ns3::TypeId::SetParent(ns3::TypeId tid) [member function] - cls.add_method('SetParent', - 'ns3::TypeId', - [param('ns3::TypeId', 'tid')]) - ## type-id.h: void ns3::TypeId::SetUid(uint16_t tid) [member function] - cls.add_method('SetUid', - 'void', - [param('uint16_t', 'tid')]) - return - -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h: ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] - cls.add_constructor([]) - ## type-id.h: ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h: ns3::TypeId::AttributeInfo::accessor [variable] - cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h: ns3::TypeId::AttributeInfo::checker [variable] - cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h: ns3::TypeId::AttributeInfo::flags [variable] - cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h: ns3::TypeId::AttributeInfo::initialValue [variable] - cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) - return - -def register_Ns3UniformVariable_methods(root_module, cls): - ## random-variable.h: ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')]) - ## random-variable.h: ns3::UniformVariable::UniformVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::UniformVariable::UniformVariable(double s, double l) [constructor] - cls.add_constructor([param('double', 's'), param('double', 'l')]) - ## random-variable.h: uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function] - cls.add_method('GetInteger', - 'uint32_t', - [param('uint32_t', 's'), param('uint32_t', 'l')]) - ## random-variable.h: double ns3::UniformVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::UniformVariable::GetValue(double s, double l) [member function] - cls.add_method('GetValue', - 'double', - [param('double', 's'), param('double', 'l')]) - return - -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h: ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h: ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h: ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h: void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - -def register_Ns3Vector2D_methods(root_module, cls): - cls.add_output_stream_operator() - ## vector.h: ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector2D const &', 'arg0')]) - ## vector.h: ns3::Vector2D::Vector2D(double _x, double _y) [constructor] - cls.add_constructor([param('double', '_x'), param('double', '_y')]) - ## vector.h: ns3::Vector2D::Vector2D() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector2D::x [variable] - cls.add_instance_attribute('x', 'double', is_const=False) - ## vector.h: ns3::Vector2D::y [variable] - cls.add_instance_attribute('y', 'double', is_const=False) - return - -def register_Ns3Vector3D_methods(root_module, cls): - cls.add_output_stream_operator() - ## vector.h: ns3::Vector3D::Vector3D(ns3::Vector3D const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector3D const &', 'arg0')]) - ## vector.h: ns3::Vector3D::Vector3D(double _x, double _y, double _z) [constructor] - cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')]) - ## vector.h: ns3::Vector3D::Vector3D() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector3D::x [variable] - cls.add_instance_attribute('x', 'double', is_const=False) - ## vector.h: ns3::Vector3D::y [variable] - cls.add_instance_attribute('y', 'double', is_const=False) - ## vector.h: ns3::Vector3D::z [variable] - cls.add_instance_attribute('z', 'double', is_const=False) - return - -def register_Ns3Watchdog_methods(root_module, cls): - ## watchdog.h: ns3::Watchdog::Watchdog(ns3::Watchdog const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Watchdog const &', 'arg0')]) - ## watchdog.h: ns3::Watchdog::Watchdog() [constructor] - cls.add_constructor([]) - ## watchdog.h: void ns3::Watchdog::Ping(ns3::Time delay) [member function] - cls.add_method('Ping', - 'void', - [param('ns3::Time', 'delay')]) - return - -def register_Ns3WeibullVariable_methods(root_module, cls): - ## random-variable.h: ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) - ## random-variable.h: ns3::WeibullVariable::WeibullVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h: ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - return - -def register_Ns3ZetaVariable_methods(root_module, cls): - ## random-variable.h: ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')]) - ## random-variable.h: ns3::ZetaVariable::ZetaVariable(double alpha) [constructor] - cls.add_constructor([param('double', 'alpha')]) - ## random-variable.h: ns3::ZetaVariable::ZetaVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3ZipfVariable_methods(root_module, cls): - ## random-variable.h: ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')]) - ## random-variable.h: ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor] - cls.add_constructor([param('long int', 'N'), param('double', 'alpha')]) - ## random-variable.h: ns3::ZipfVariable::ZipfVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3Empty_methods(root_module, cls): - ## empty.h: ns3::empty::empty() [constructor] - cls.add_constructor([]) - ## empty.h: ns3::empty::empty(ns3::empty const & arg0) [copy constructor] - cls.add_constructor([param('ns3::empty const &', 'arg0')]) - return - -def register_Ns3Int64x64_t_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right')) - cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right')) - cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right')) - cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right')) - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>=') - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right')) - cls.add_unary_numeric_operator('-') - cls.add_binary_numeric_operator('-', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short unsigned int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned char const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('short int const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('signed char const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('double const', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## int64x64-double.h: ns3::int64x64_t::int64x64_t() [constructor] - cls.add_constructor([]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(double v) [constructor] - cls.add_constructor([param('double', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(int v) [constructor] - cls.add_constructor([param('int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(long int v) [constructor] - cls.add_constructor([param('long int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(long long int v) [constructor] - cls.add_constructor([param('long long int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(unsigned int v) [constructor] - cls.add_constructor([param('unsigned int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(long unsigned int v) [constructor] - cls.add_constructor([param('long unsigned int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(long long unsigned int v) [constructor] - cls.add_constructor([param('long long unsigned int', 'v')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(int64_t hi, uint64_t lo) [constructor] - cls.add_constructor([param('int64_t', 'hi'), param('uint64_t', 'lo')]) - ## int64x64-double.h: ns3::int64x64_t::int64x64_t(ns3::int64x64_t const & o) [copy constructor] - cls.add_constructor([param('ns3::int64x64_t const &', 'o')]) - ## int64x64-double.h: double ns3::int64x64_t::GetDouble() const [member function] - cls.add_method('GetDouble', - 'double', - [], - is_const=True) - ## int64x64-double.h: int64_t ns3::int64x64_t::GetHigh() const [member function] - cls.add_method('GetHigh', - 'int64_t', - [], - is_const=True) - ## int64x64-double.h: uint64_t ns3::int64x64_t::GetLow() const [member function] - cls.add_method('GetLow', - 'uint64_t', - [], - is_const=True) - ## int64x64-double.h: static ns3::int64x64_t ns3::int64x64_t::Invert(uint64_t v) [member function] - cls.add_method('Invert', - 'ns3::int64x64_t', - [param('uint64_t', 'v')], - is_static=True) - ## int64x64-double.h: void ns3::int64x64_t::MulByInvert(ns3::int64x64_t const & o) [member function] - cls.add_method('MulByInvert', - 'void', - [param('ns3::int64x64_t const &', 'o')]) - return - -def register_Ns3ConstantVariable_methods(root_module, cls): - ## random-variable.h: ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) - ## random-variable.h: ns3::ConstantVariable::ConstantVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ConstantVariable::ConstantVariable(double c) [constructor] - cls.add_constructor([param('double', 'c')]) - ## random-variable.h: void ns3::ConstantVariable::SetConstant(double c) [member function] - cls.add_method('SetConstant', - 'void', - [param('double', 'c')]) - return - -def register_Ns3DeterministicVariable_methods(root_module, cls): - ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) - ## random-variable.h: ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] - cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) - return - -def register_Ns3EmpiricalVariable_methods(root_module, cls): - ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) - ## random-variable.h: ns3::EmpiricalVariable::EmpiricalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: void ns3::EmpiricalVariable::CDF(double v, double c) [member function] - cls.add_method('CDF', - 'void', - [param('double', 'v'), param('double', 'c')]) - return - -def register_Ns3ErlangVariable_methods(root_module, cls): - ## random-variable.h: ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) - ## random-variable.h: ns3::ErlangVariable::ErlangVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] - cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) - ## random-variable.h: double ns3::ErlangVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] - cls.add_method('GetValue', - 'double', - [param('unsigned int', 'k'), param('double', 'lambda')], - is_const=True) - return - -def register_Ns3ExponentialVariable_methods(root_module, cls): - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'b')]) - return - -def register_Ns3GammaVariable_methods(root_module, cls): - ## random-variable.h: ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) - ## random-variable.h: ns3::GammaVariable::GammaVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] - cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) - ## random-variable.h: double ns3::GammaVariable::GetValue() const [member function] - cls.add_method('GetValue', - 'double', - [], - is_const=True) - ## random-variable.h: double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] - cls.add_method('GetValue', - 'double', - [param('double', 'alpha'), param('double', 'beta')], - is_const=True) - return - -def register_Ns3IntEmpiricalVariable_methods(root_module, cls): - ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) - ## random-variable.h: ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] - cls.add_constructor([]) - return - -def register_Ns3LogNormalVariable_methods(root_module, cls): - ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) - ## random-variable.h: ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] - cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) - return - -def register_Ns3NormalVariable_methods(root_module, cls): - ## random-variable.h: ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) - ## random-variable.h: ns3::NormalVariable::NormalVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v')]) - ## random-variable.h: ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) - return - -def register_Ns3Object_methods(root_module, cls): - ## object.h: ns3::Object::Object() [constructor] - cls.add_constructor([]) - ## object.h: void ns3::Object::AggregateObject(ns3::Ptr other) [member function] - cls.add_method('AggregateObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'other')]) - ## object.h: void ns3::Object::Dispose() [member function] - cls.add_method('Dispose', - 'void', - []) - ## object.h: ns3::Object::AggregateIterator ns3::Object::GetAggregateIterator() const [member function] - cls.add_method('GetAggregateIterator', - 'ns3::Object::AggregateIterator', - [], - is_const=True) - ## object.h: ns3::TypeId ns3::Object::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## object.h: ns3::Ptr ns3::Object::GetObject(ns3::TypeId tid) const [member function] - cls.add_method('GetObject', - 'ns3::Ptr< ns3::Object >', - [param('ns3::TypeId', 'tid')], - is_const=True, template_parameters=['ns3::Object'], custom_template_method_name='GetObject') - ## object.h: static ns3::TypeId ns3::Object::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## object.h: void ns3::Object::Start() [member function] - cls.add_method('Start', - 'void', - []) - ## object.h: ns3::Object::Object(ns3::Object const & o) [copy constructor] - cls.add_constructor([param('ns3::Object const &', 'o')], - visibility='protected') - ## object.h: void ns3::Object::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## object.h: void ns3::Object::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## object.h: void ns3::Object::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3ObjectAggregateIterator_methods(root_module, cls): - ## object.h: ns3::Object::AggregateIterator::AggregateIterator(ns3::Object::AggregateIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Object::AggregateIterator const &', 'arg0')]) - ## object.h: ns3::Object::AggregateIterator::AggregateIterator() [constructor] - cls.add_constructor([]) - ## object.h: bool ns3::Object::AggregateIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## object.h: ns3::Ptr ns3::Object::AggregateIterator::Next() [member function] - cls.add_method('Next', - 'ns3::Ptr< ns3::Object const >', - []) - return - -def register_Ns3ParetoVariable_methods(root_module, cls): - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m) [constructor] - cls.add_constructor([param('double', 'm')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] - cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(std::pair params) [constructor] - cls.add_constructor([param('std::pair< double, double >', 'params')]) - ## random-variable.h: ns3::ParetoVariable::ParetoVariable(std::pair params, double b) [constructor] - cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')]) - return - -def register_Ns3Scheduler_methods(root_module, cls): - ## scheduler.h: ns3::Scheduler::Scheduler() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::Scheduler(ns3::Scheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler const &', 'arg0')]) - ## scheduler.h: static ns3::TypeId ns3::Scheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## scheduler.h: void ns3::Scheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## scheduler.h: bool ns3::Scheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## scheduler.h: void ns3::Scheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## scheduler.h: ns3::Scheduler::Event ns3::Scheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SchedulerEvent_methods(root_module, cls): - cls.add_binary_comparison_operator('<') - ## scheduler.h: ns3::Scheduler::Event::Event() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::Event::Event(ns3::Scheduler::Event const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler::Event const &', 'arg0')]) - ## scheduler.h: ns3::Scheduler::Event::impl [variable] - cls.add_instance_attribute('impl', 'ns3::EventImpl *', is_const=False) - ## scheduler.h: ns3::Scheduler::Event::key [variable] - cls.add_instance_attribute('key', 'ns3::Scheduler::EventKey', is_const=False) - return - -def register_Ns3SchedulerEventKey_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## scheduler.h: ns3::Scheduler::EventKey::EventKey() [constructor] - cls.add_constructor([]) - ## scheduler.h: ns3::Scheduler::EventKey::EventKey(ns3::Scheduler::EventKey const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Scheduler::EventKey const &', 'arg0')]) - ## scheduler.h: ns3::Scheduler::EventKey::m_context [variable] - cls.add_instance_attribute('m_context', 'uint32_t', is_const=False) - ## scheduler.h: ns3::Scheduler::EventKey::m_ts [variable] - cls.add_instance_attribute('m_ts', 'uint64_t', is_const=False) - ## scheduler.h: ns3::Scheduler::EventKey::m_uid [variable] - cls.add_instance_attribute('m_uid', 'uint32_t', is_const=False) - return - -def register_Ns3SimpleRefCount__Ns3AttributeAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeAccessor__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter< ns3::AttributeAccessor > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3AttributeChecker_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeChecker__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeChecker, ns3::empty, ns3::DefaultDeleter< ns3::AttributeChecker > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter< ns3::AttributeValue > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter< ns3::CallbackImplBase > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3FdReader_Ns3Empty_Ns3DefaultDeleter__lt__ns3FdReader__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::FdReader, ns3::empty, ns3::DefaultDeleter< ns3::FdReader > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3FlowClassifier_Ns3Empty_Ns3DefaultDeleter__lt__ns3FlowClassifier__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty, ns3::DefaultDeleter< ns3::FlowClassifier > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3FlowProbe_Ns3Empty_Ns3DefaultDeleter__lt__ns3FlowProbe__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty, ns3::DefaultDeleter< ns3::FlowProbe > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3IdealControlMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3IdealControlMessage__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::IdealControlMessage, ns3::empty, ns3::DefaultDeleter< ns3::IdealControlMessage > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3InterferenceHelperEvent_Ns3Empty_Ns3DefaultDeleter__lt__ns3InterferenceHelperEvent__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::InterferenceHelper::Event, ns3::empty, ns3::DefaultDeleter< ns3::InterferenceHelper::Event > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Ipv4MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4MulticastRoute__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4MulticastRoute > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Ipv4Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv4Route__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv4Route > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Ipv6MulticastRoute_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6MulticastRoute__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty, ns3::DefaultDeleter< ns3::Ipv6MulticastRoute > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Ipv6Route_Ns3Empty_Ns3DefaultDeleter__lt__ns3Ipv6Route__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty, ns3::DefaultDeleter< ns3::Ipv6Route > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3MeshWifiInterfaceMacPlugin_Ns3Empty_Ns3DefaultDeleter__lt__ns3MeshWifiInterfaceMacPlugin__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty, ns3::DefaultDeleter< ns3::MeshWifiInterfaceMacPlugin > > const &', 'o')]) - ## simple-ref-count.h: 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: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3OutputStreamWrapper_Ns3Empty_Ns3DefaultDeleter__lt__ns3OutputStreamWrapper__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter< ns3::OutputStreamWrapper > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3PbbAddressBlock_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbAddressBlock__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty, ns3::DefaultDeleter< ns3::PbbAddressBlock > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbMessage__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter< ns3::PbbMessage > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_Ns3DefaultDeleter__lt__ns3PbbPacket__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header, ns3::DefaultDeleter< ns3::PbbPacket > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbTlv__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty, ns3::DefaultDeleter< ns3::PbbTlv > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdInterface__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter< ns3::RadvdInterface > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::RadvdPrefix, ns3::empty, ns3::DefaultDeleter< ns3::RadvdPrefix > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3RefCountBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3RefCountBase__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::RefCountBase, ns3::empty, ns3::DefaultDeleter< ns3::RefCountBase > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3SpectrumConverter_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumConverter__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::SpectrumConverter, ns3::empty, ns3::DefaultDeleter< ns3::SpectrumConverter > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3SpectrumModel_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumModel__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::SpectrumModel, ns3::empty, ns3::DefaultDeleter< ns3::SpectrumModel > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3SpectrumValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumValue__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::SpectrumValue, ns3::empty, ns3::DefaultDeleter< ns3::SpectrumValue > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::SystemThread, ns3::empty, ns3::DefaultDeleter< ns3::SystemThread > > const &', 'o')]) - ## simple-ref-count.h: 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: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter< ns3::WifiInformationElement > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Dot11sDestinationAddressUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sDestinationAddressUnit__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter< ns3::dot11s::DestinationAddressUnit > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sIeBeaconTimingUnit__gt___methods(root_module, cls): - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount() [constructor] - cls.add_constructor([]) - ## simple-ref-count.h: ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] - cls.add_constructor([param('ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter< ns3::dot11s::IeBeaconTimingUnit > > const &', 'o')]) - ## simple-ref-count.h: static void ns3::SimpleRefCount >::Cleanup() [member function] - cls.add_method('Cleanup', - 'void', - [], - is_static=True) - return - -def register_Ns3SimulatorImpl_methods(root_module, cls): - ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl() [constructor] - cls.add_constructor([]) - ## simulator-impl.h: ns3::SimulatorImpl::SimulatorImpl(ns3::SimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimulatorImpl const &', 'arg0')]) - ## simulator-impl.h: void ns3::SimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: uint32_t ns3::SimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: static ns3::TypeId ns3::SimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simulator-impl.h: bool ns3::SimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: bool ns3::SimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: ns3::Time ns3::SimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: ns3::EventId ns3::SimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## simulator-impl.h: void ns3::SimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Synchronizer_methods(root_module, cls): - ## synchronizer.h: ns3::Synchronizer::Synchronizer(ns3::Synchronizer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Synchronizer const &', 'arg0')]) - ## synchronizer.h: ns3::Synchronizer::Synchronizer() [constructor] - cls.add_constructor([]) - ## synchronizer.h: uint64_t ns3::Synchronizer::EventEnd() [member function] - cls.add_method('EventEnd', - 'uint64_t', - []) - ## synchronizer.h: void ns3::Synchronizer::EventStart() [member function] - cls.add_method('EventStart', - 'void', - []) - ## synchronizer.h: uint64_t ns3::Synchronizer::GetCurrentRealtime() [member function] - cls.add_method('GetCurrentRealtime', - 'uint64_t', - []) - ## synchronizer.h: int64_t ns3::Synchronizer::GetDrift(uint64_t ts) [member function] - cls.add_method('GetDrift', - 'int64_t', - [param('uint64_t', 'ts')]) - ## synchronizer.h: uint64_t ns3::Synchronizer::GetOrigin() [member function] - cls.add_method('GetOrigin', - 'uint64_t', - []) - ## synchronizer.h: static ns3::TypeId ns3::Synchronizer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## synchronizer.h: bool ns3::Synchronizer::Realtime() [member function] - cls.add_method('Realtime', - 'bool', - []) - ## synchronizer.h: void ns3::Synchronizer::SetCondition(bool arg0) [member function] - cls.add_method('SetCondition', - 'void', - [param('bool', 'arg0')]) - ## synchronizer.h: void ns3::Synchronizer::SetOrigin(uint64_t ts) [member function] - cls.add_method('SetOrigin', - 'void', - [param('uint64_t', 'ts')]) - ## synchronizer.h: void ns3::Synchronizer::Signal() [member function] - cls.add_method('Signal', - 'void', - []) - ## synchronizer.h: bool ns3::Synchronizer::Synchronize(uint64_t tsCurrent, uint64_t tsDelay) [member function] - cls.add_method('Synchronize', - 'bool', - [param('uint64_t', 'tsCurrent'), param('uint64_t', 'tsDelay')]) - ## synchronizer.h: uint64_t ns3::Synchronizer::DoEventEnd() [member function] - cls.add_method('DoEventEnd', - 'uint64_t', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoEventStart() [member function] - cls.add_method('DoEventStart', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: uint64_t ns3::Synchronizer::DoGetCurrentRealtime() [member function] - cls.add_method('DoGetCurrentRealtime', - 'uint64_t', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: int64_t ns3::Synchronizer::DoGetDrift(uint64_t ns) [member function] - cls.add_method('DoGetDrift', - 'int64_t', - [param('uint64_t', 'ns')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: bool ns3::Synchronizer::DoRealtime() [member function] - cls.add_method('DoRealtime', - 'bool', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSetCondition(bool arg0) [member function] - cls.add_method('DoSetCondition', - 'void', - [param('bool', 'arg0')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSetOrigin(uint64_t ns) [member function] - cls.add_method('DoSetOrigin', - 'void', - [param('uint64_t', 'ns')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: void ns3::Synchronizer::DoSignal() [member function] - cls.add_method('DoSignal', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - ## synchronizer.h: bool ns3::Synchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] - cls.add_method('DoSynchronize', - 'bool', - [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3SystemThread_methods(root_module, cls): - ## system-thread.h: ns3::SystemThread::SystemThread(ns3::SystemThread const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SystemThread const &', 'arg0')]) - ## system-thread.h: ns3::SystemThread::SystemThread(ns3::Callback callback) [constructor] - cls.add_constructor([param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## system-thread.h: bool ns3::SystemThread::Break() [member function] - cls.add_method('Break', - 'bool', - []) - ## system-thread.h: void ns3::SystemThread::Join() [member function] - cls.add_method('Join', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Shutdown() [member function] - cls.add_method('Shutdown', - 'void', - []) - ## system-thread.h: void ns3::SystemThread::Start() [member function] - cls.add_method('Start', - 'void', - []) - return - -def register_Ns3Time_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) - cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>=') - cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## nstime.h: ns3::Time::Time() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::Time::Time(ns3::Time const & o) [copy constructor] - cls.add_constructor([param('ns3::Time const &', 'o')]) - ## nstime.h: ns3::Time::Time(double v) [constructor] - cls.add_constructor([param('double', 'v')]) - ## nstime.h: ns3::Time::Time(int v) [constructor] - cls.add_constructor([param('int', 'v')]) - ## nstime.h: ns3::Time::Time(long int v) [constructor] - cls.add_constructor([param('long int', 'v')]) - ## nstime.h: ns3::Time::Time(long long int v) [constructor] - cls.add_constructor([param('long long int', 'v')]) - ## nstime.h: ns3::Time::Time(unsigned int v) [constructor] - cls.add_constructor([param('unsigned int', 'v')]) - ## nstime.h: ns3::Time::Time(long unsigned int v) [constructor] - cls.add_constructor([param('long unsigned int', 'v')]) - ## nstime.h: ns3::Time::Time(long long unsigned int v) [constructor] - cls.add_constructor([param('long long unsigned int', 'v')]) - ## nstime.h: ns3::Time::Time(std::string const & s) [constructor] - cls.add_constructor([param('std::string const &', 's')]) - ## nstime.h: ns3::Time::Time(ns3::int64x64_t const & value) [constructor] - cls.add_constructor([param('ns3::int64x64_t const &', 'value')]) - ## nstime.h: int ns3::Time::Compare(ns3::Time const & o) const [member function] - cls.add_method('Compare', - 'int', - [param('ns3::Time const &', 'o')], - is_const=True) - ## nstime.h: static ns3::Time ns3::Time::From(ns3::int64x64_t const & from, ns3::Time::Unit timeUnit) [member function] - cls.add_method('From', - 'ns3::Time', - [param('ns3::int64x64_t const &', 'from'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: static ns3::Time ns3::Time::From(ns3::int64x64_t const & value) [member function] - cls.add_method('From', - 'ns3::Time', - [param('ns3::int64x64_t const &', 'value')], - is_static=True) - ## nstime.h: static ns3::Time ns3::Time::FromDouble(double value, ns3::Time::Unit timeUnit) [member function] - cls.add_method('FromDouble', - 'ns3::Time', - [param('double', 'value'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: static ns3::Time ns3::Time::FromInteger(uint64_t value, ns3::Time::Unit timeUnit) [member function] - cls.add_method('FromInteger', - 'ns3::Time', - [param('uint64_t', 'value'), param('ns3::Time::Unit', 'timeUnit')], - is_static=True) - ## nstime.h: double ns3::Time::GetDouble() const [member function] - cls.add_method('GetDouble', - 'double', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetFemtoSeconds() const [member function] - cls.add_method('GetFemtoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetInteger() const [member function] - cls.add_method('GetInteger', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetMicroSeconds() const [member function] - cls.add_method('GetMicroSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetMilliSeconds() const [member function] - cls.add_method('GetMilliSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetNanoSeconds() const [member function] - cls.add_method('GetNanoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetPicoSeconds() const [member function] - cls.add_method('GetPicoSeconds', - 'int64_t', - [], - is_const=True) - ## nstime.h: static ns3::Time::Unit ns3::Time::GetResolution() [member function] - cls.add_method('GetResolution', - 'ns3::Time::Unit', - [], - is_static=True) - ## nstime.h: double ns3::Time::GetSeconds() const [member function] - cls.add_method('GetSeconds', - 'double', - [], - is_const=True) - ## nstime.h: int64_t ns3::Time::GetTimeStep() const [member function] - cls.add_method('GetTimeStep', - 'int64_t', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsNegative() const [member function] - cls.add_method('IsNegative', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsPositive() const [member function] - cls.add_method('IsPositive', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsStrictlyNegative() const [member function] - cls.add_method('IsStrictlyNegative', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsStrictlyPositive() const [member function] - cls.add_method('IsStrictlyPositive', - 'bool', - [], - is_const=True) - ## nstime.h: bool ns3::Time::IsZero() const [member function] - cls.add_method('IsZero', - 'bool', - [], - is_const=True) - ## nstime.h: static void ns3::Time::SetResolution(ns3::Time::Unit resolution) [member function] - cls.add_method('SetResolution', - 'void', - [param('ns3::Time::Unit', 'resolution')], - is_static=True) - ## nstime.h: ns3::int64x64_t ns3::Time::To(ns3::Time::Unit timeUnit) const [member function] - cls.add_method('To', - 'ns3::int64x64_t', - [param('ns3::Time::Unit', 'timeUnit')], - is_const=True) - ## nstime.h: double ns3::Time::ToDouble(ns3::Time::Unit timeUnit) const [member function] - cls.add_method('ToDouble', - 'double', - [param('ns3::Time::Unit', 'timeUnit')], - is_const=True) - ## nstime.h: int64_t ns3::Time::ToInteger(ns3::Time::Unit timeUnit) const [member function] - cls.add_method('ToInteger', - 'int64_t', - [param('ns3::Time::Unit', 'timeUnit')], - is_const=True) - return - -def register_Ns3TraceSourceAccessor_methods(root_module, cls): - ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) - ## trace-source-accessor.h: ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] - cls.add_constructor([]) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] - cls.add_method('Connect', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] - cls.add_method('ConnectWithoutContext', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] - cls.add_method('Disconnect', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trace-source-accessor.h: bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] - cls.add_method('DisconnectWithoutContext', - 'bool', - [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3TracedValue__Ns3Time_methods(root_module, cls): - ## traced-value.h: ns3::TracedValue::TracedValue() [constructor] - cls.add_constructor([]) - ## traced-value.h: ns3::TracedValue::TracedValue(ns3::TracedValue const & o) [copy constructor] - cls.add_constructor([param('ns3::TracedValue< ns3::Time > const &', 'o')]) - ## traced-value.h: ns3::TracedValue::TracedValue(ns3::Time const & v) [constructor] - cls.add_constructor([param('ns3::Time const &', 'v')]) - ## traced-value.h: 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: void ns3::TracedValue::ConnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('ConnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: 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: void ns3::TracedValue::DisconnectWithoutContext(ns3::CallbackBase const & cb) [member function] - cls.add_method('DisconnectWithoutContext', - 'void', - [param('ns3::CallbackBase const &', 'cb')]) - ## traced-value.h: ns3::Time ns3::TracedValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Time', - [], - is_const=True) - ## traced-value.h: void ns3::TracedValue::Set(ns3::Time const & v) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Time const &', 'v')]) - return - -def register_Ns3WallClockSynchronizer_methods(root_module, cls): - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer(ns3::WallClockSynchronizer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WallClockSynchronizer const &', 'arg0')]) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::WallClockSynchronizer() [constructor] - cls.add_constructor([]) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::NS_PER_SEC [variable] - cls.add_static_attribute('NS_PER_SEC', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_NS [variable] - cls.add_static_attribute('US_PER_NS', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: ns3::WallClockSynchronizer::US_PER_SEC [variable] - cls.add_static_attribute('US_PER_SEC', 'uint64_t const', is_const=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoEventEnd() [member function] - cls.add_method('DoEventEnd', - 'uint64_t', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoEventStart() [member function] - cls.add_method('DoEventStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DoGetCurrentRealtime() [member function] - cls.add_method('DoGetCurrentRealtime', - 'uint64_t', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: int64_t ns3::WallClockSynchronizer::DoGetDrift(uint64_t ns) [member function] - cls.add_method('DoGetDrift', - 'int64_t', - [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoRealtime() [member function] - cls.add_method('DoRealtime', - 'bool', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetCondition(bool cond) [member function] - cls.add_method('DoSetCondition', - 'void', - [param('bool', 'cond')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSetOrigin(uint64_t ns) [member function] - cls.add_method('DoSetOrigin', - 'void', - [param('uint64_t', 'ns')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::DoSignal() [member function] - cls.add_method('DoSignal', - 'void', - [], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::DoSynchronize(uint64_t nsCurrent, uint64_t nsDelay) [member function] - cls.add_method('DoSynchronize', - 'bool', - [param('uint64_t', 'nsCurrent'), param('uint64_t', 'nsDelay')], - visibility='protected', is_virtual=True) - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::DriftCorrect(uint64_t nsNow, uint64_t nsDelay) [member function] - cls.add_method('DriftCorrect', - 'uint64_t', - [param('uint64_t', 'nsNow'), param('uint64_t', 'nsDelay')], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetNormalizedRealtime() [member function] - cls.add_method('GetNormalizedRealtime', - 'uint64_t', - [], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::GetRealtime() [member function] - cls.add_method('GetRealtime', - 'uint64_t', - [], - visibility='protected') - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::NsToTimeval(int64_t ns, timeval * tv) [member function] - cls.add_method('NsToTimeval', - 'void', - [param('int64_t', 'ns'), param('timeval *', 'tv')], - visibility='protected') - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SleepWait(uint64_t arg0) [member function] - cls.add_method('SleepWait', - 'bool', - [param('uint64_t', 'arg0')], - visibility='protected') - ## wall-clock-synchronizer.h: bool ns3::WallClockSynchronizer::SpinWait(uint64_t arg0) [member function] - cls.add_method('SpinWait', - 'bool', - [param('uint64_t', 'arg0')], - visibility='protected') - ## wall-clock-synchronizer.h: void ns3::WallClockSynchronizer::TimevalAdd(timeval * tv1, timeval * tv2, timeval * result) [member function] - cls.add_method('TimevalAdd', - 'void', - [param('timeval *', 'tv1'), param('timeval *', 'tv2'), param('timeval *', 'result')], - visibility='protected') - ## wall-clock-synchronizer.h: uint64_t ns3::WallClockSynchronizer::TimevalToNs(timeval * tv) [member function] - cls.add_method('TimevalToNs', - 'uint64_t', - [param('timeval *', 'tv')], - visibility='protected') - return - -def register_Ns3AttributeAccessor_methods(root_module, cls): - ## attribute.h: ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) - ## attribute.h: ns3::AttributeAccessor::AttributeAccessor() [constructor] - cls.add_constructor([]) - ## attribute.h: bool ns3::AttributeAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & attribute) const [member function] - cls.add_method('Get', - 'bool', - [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'attribute')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeAccessor::HasGetter() const [member function] - cls.add_method('HasGetter', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeAccessor::HasSetter() const [member function] - cls.add_method('HasSetter', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] - cls.add_method('Set', - 'bool', - [param('ns3::ObjectBase *', 'object', transfer_ownership=False), param('ns3::AttributeValue const &', 'value')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3AttributeChecker_methods(root_module, cls): - ## attribute.h: ns3::AttributeChecker::AttributeChecker(ns3::AttributeChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AttributeChecker const &', 'arg0')]) - ## attribute.h: ns3::AttributeChecker::AttributeChecker() [constructor] - cls.add_constructor([]) - ## attribute.h: bool ns3::AttributeChecker::Check(ns3::AttributeValue const & value) const [member function] - cls.add_method('Check', - 'bool', - [param('ns3::AttributeValue const &', 'value')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeChecker::Copy(ns3::AttributeValue const & source, ns3::AttributeValue & destination) const [member function] - cls.add_method('Copy', - 'bool', - [param('ns3::AttributeValue const &', 'source'), param('ns3::AttributeValue &', 'destination')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: ns3::Ptr ns3::AttributeChecker::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] - cls.add_method('GetUnderlyingTypeInformation', - 'std::string', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: std::string ns3::AttributeChecker::GetValueTypeName() const [member function] - cls.add_method('GetValueTypeName', - 'std::string', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeChecker::HasUnderlyingTypeInformation() const [member function] - cls.add_method('HasUnderlyingTypeInformation', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3AttributeValue_methods(root_module, cls): - ## attribute.h: ns3::AttributeValue::AttributeValue(ns3::AttributeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AttributeValue const &', 'arg0')]) - ## attribute.h: ns3::AttributeValue::AttributeValue() [constructor] - cls.add_constructor([]) - ## attribute.h: ns3::Ptr ns3::AttributeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## attribute.h: bool ns3::AttributeValue::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_pure_virtual=True, is_virtual=True) - ## attribute.h: std::string ns3::AttributeValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3BooleanChecker_methods(root_module, cls): - ## boolean.h: ns3::BooleanChecker::BooleanChecker() [constructor] - cls.add_constructor([]) - ## boolean.h: 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: ns3::BooleanValue::BooleanValue(ns3::BooleanValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BooleanValue const &', 'arg0')]) - ## boolean.h: ns3::BooleanValue::BooleanValue() [constructor] - cls.add_constructor([]) - ## boolean.h: ns3::BooleanValue::BooleanValue(bool value) [constructor] - cls.add_constructor([param('bool', 'value')]) - ## boolean.h: ns3::Ptr ns3::BooleanValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## boolean.h: 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: bool ns3::BooleanValue::Get() const [member function] - cls.add_method('Get', - 'bool', - [], - is_const=True) - ## boolean.h: 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: void ns3::BooleanValue::Set(bool value) [member function] - cls.add_method('Set', - 'void', - [param('bool', 'value')]) - return - -def register_Ns3CalendarScheduler_methods(root_module, cls): - ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler(ns3::CalendarScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CalendarScheduler const &', 'arg0')]) - ## calendar-scheduler.h: ns3::CalendarScheduler::CalendarScheduler() [constructor] - cls.add_constructor([]) - ## calendar-scheduler.h: static ns3::TypeId ns3::CalendarScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## calendar-scheduler.h: void ns3::CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## calendar-scheduler.h: bool ns3::CalendarScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## calendar-scheduler.h: void ns3::CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## calendar-scheduler.h: ns3::Scheduler::Event ns3::CalendarScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3CallbackChecker_methods(root_module, cls): - ## callback.h: ns3::CallbackChecker::CallbackChecker() [constructor] - cls.add_constructor([]) - ## callback.h: ns3::CallbackChecker::CallbackChecker(ns3::CallbackChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackChecker const &', 'arg0')]) - return - -def register_Ns3CallbackImplBase_methods(root_module, cls): - ## callback.h: ns3::CallbackImplBase::CallbackImplBase() [constructor] - cls.add_constructor([]) - ## callback.h: ns3::CallbackImplBase::CallbackImplBase(ns3::CallbackImplBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackImplBase const &', 'arg0')]) - ## callback.h: bool ns3::CallbackImplBase::IsEqual(ns3::Ptr other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ptr< ns3::CallbackImplBase const >', 'other')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3CallbackValue_methods(root_module, cls): - ## callback.h: ns3::CallbackValue::CallbackValue(ns3::CallbackValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CallbackValue const &', 'arg0')]) - ## callback.h: ns3::CallbackValue::CallbackValue() [constructor] - cls.add_constructor([]) - ## callback.h: ns3::CallbackValue::CallbackValue(ns3::CallbackBase const & base) [constructor] - cls.add_constructor([param('ns3::CallbackBase const &', 'base')]) - ## callback.h: ns3::Ptr ns3::CallbackValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## callback.h: bool ns3::CallbackValue::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) - ## callback.h: std::string ns3::CallbackValue::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) - ## callback.h: void ns3::CallbackValue::Set(ns3::CallbackBase base) [member function] - cls.add_method('Set', - 'void', - [param('ns3::CallbackBase', 'base')]) - return - -def register_Ns3DefaultSimulatorImpl_methods(root_module, cls): - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl(ns3::DefaultSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DefaultSimulatorImpl const &', 'arg0')]) - ## default-simulator-impl.h: ns3::DefaultSimulatorImpl::DefaultSimulatorImpl() [constructor] - cls.add_constructor([]) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: uint32_t ns3::DefaultSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: static ns3::TypeId ns3::DefaultSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: bool ns3::DefaultSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: ns3::Time ns3::DefaultSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: ns3::EventId ns3::DefaultSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## default-simulator-impl.h: void ns3::DefaultSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3DoubleValue_methods(root_module, cls): - ## double.h: ns3::DoubleValue::DoubleValue() [constructor] - cls.add_constructor([]) - ## double.h: ns3::DoubleValue::DoubleValue(ns3::DoubleValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DoubleValue const &', 'arg0')]) - ## double.h: ns3::DoubleValue::DoubleValue(double const & value) [constructor] - cls.add_constructor([param('double const &', 'value')]) - ## double.h: ns3::Ptr ns3::DoubleValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## double.h: 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: double ns3::DoubleValue::Get() const [member function] - cls.add_method('Get', - 'double', - [], - is_const=True) - ## double.h: 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: void ns3::DoubleValue::Set(double const & value) [member function] - cls.add_method('Set', - 'void', - [param('double const &', 'value')]) - return - -def register_Ns3EmptyAttributeValue_methods(root_module, cls): - ## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue(ns3::EmptyAttributeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmptyAttributeValue const &', 'arg0')]) - ## attribute.h: ns3::EmptyAttributeValue::EmptyAttributeValue() [constructor] - cls.add_constructor([]) - ## attribute.h: ns3::Ptr ns3::EmptyAttributeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, visibility='private', is_virtual=True) - ## attribute.h: bool ns3::EmptyAttributeValue::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')], - visibility='private', is_virtual=True) - ## attribute.h: std::string ns3::EmptyAttributeValue::SerializeToString(ns3::Ptr checker) const [member function] - cls.add_method('SerializeToString', - 'std::string', - [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3EnumChecker_methods(root_module, cls): - ## enum.h: ns3::EnumChecker::EnumChecker(ns3::EnumChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnumChecker const &', 'arg0')]) - ## enum.h: ns3::EnumChecker::EnumChecker() [constructor] - cls.add_constructor([]) - ## enum.h: void ns3::EnumChecker::Add(int v, std::string name) [member function] - cls.add_method('Add', - 'void', - [param('int', 'v'), param('std::string', 'name')]) - ## enum.h: void ns3::EnumChecker::AddDefault(int v, std::string name) [member function] - cls.add_method('AddDefault', - 'void', - [param('int', 'v'), param('std::string', 'name')]) - ## enum.h: 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: 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: ns3::Ptr ns3::EnumChecker::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## enum.h: std::string ns3::EnumChecker::GetUnderlyingTypeInformation() const [member function] - cls.add_method('GetUnderlyingTypeInformation', - 'std::string', - [], - is_const=True, is_virtual=True) - ## enum.h: std::string ns3::EnumChecker::GetValueTypeName() const [member function] - cls.add_method('GetValueTypeName', - 'std::string', - [], - is_const=True, is_virtual=True) - ## enum.h: 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: ns3::EnumValue::EnumValue(ns3::EnumValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnumValue const &', 'arg0')]) - ## enum.h: ns3::EnumValue::EnumValue() [constructor] - cls.add_constructor([]) - ## enum.h: ns3::EnumValue::EnumValue(int v) [constructor] - cls.add_constructor([param('int', 'v')]) - ## enum.h: ns3::Ptr ns3::EnumValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## enum.h: 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: int ns3::EnumValue::Get() const [member function] - cls.add_method('Get', - 'int', - [], - is_const=True) - ## enum.h: 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: void ns3::EnumValue::Set(int v) [member function] - cls.add_method('Set', - 'void', - [param('int', 'v')]) - return - -def register_Ns3EventImpl_methods(root_module, cls): - ## event-impl.h: ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) - ## event-impl.h: ns3::EventImpl::EventImpl() [constructor] - cls.add_constructor([]) - ## event-impl.h: void ns3::EventImpl::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## event-impl.h: void ns3::EventImpl::Invoke() [member function] - cls.add_method('Invoke', - 'void', - []) - ## event-impl.h: bool ns3::EventImpl::IsCancelled() [member function] - cls.add_method('IsCancelled', - 'bool', - []) - ## event-impl.h: void ns3::EventImpl::Notify() [member function] - cls.add_method('Notify', - 'void', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3FdReader_methods(root_module, cls): - ## unix-fd-reader.h: ns3::FdReader::FdReader(ns3::FdReader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FdReader const &', 'arg0')]) - ## unix-fd-reader.h: ns3::FdReader::FdReader() [constructor] - cls.add_constructor([]) - ## unix-fd-reader.h: void ns3::FdReader::Start(int fd, ns3::Callback readCallback) [member function] - cls.add_method('Start', - 'void', - [param('int', 'fd'), param('ns3::Callback< void, unsigned char *, long, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'readCallback')]) - ## unix-fd-reader.h: void ns3::FdReader::Stop() [member function] - cls.add_method('Stop', - 'void', - []) - ## unix-fd-reader.h: ns3::FdReader::Data ns3::FdReader::DoRead() [member function] - cls.add_method('DoRead', - 'ns3::FdReader::Data', - [], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3HeapScheduler_methods(root_module, cls): - ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler(ns3::HeapScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HeapScheduler const &', 'arg0')]) - ## heap-scheduler.h: ns3::HeapScheduler::HeapScheduler() [constructor] - cls.add_constructor([]) - ## heap-scheduler.h: static ns3::TypeId ns3::HeapScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## heap-scheduler.h: void ns3::HeapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## heap-scheduler.h: bool ns3::HeapScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## heap-scheduler.h: void ns3::HeapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## heap-scheduler.h: ns3::Scheduler::Event ns3::HeapScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3IntegerValue_methods(root_module, cls): - ## integer.h: ns3::IntegerValue::IntegerValue() [constructor] - cls.add_constructor([]) - ## integer.h: ns3::IntegerValue::IntegerValue(ns3::IntegerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IntegerValue const &', 'arg0')]) - ## integer.h: ns3::IntegerValue::IntegerValue(int64_t const & value) [constructor] - cls.add_constructor([param('int64_t const &', 'value')]) - ## integer.h: ns3::Ptr ns3::IntegerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## integer.h: 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: int64_t ns3::IntegerValue::Get() const [member function] - cls.add_method('Get', - 'int64_t', - [], - is_const=True) - ## integer.h: 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: void ns3::IntegerValue::Set(int64_t const & value) [member function] - cls.add_method('Set', - 'void', - [param('int64_t const &', 'value')]) - return - -def register_Ns3ListScheduler_methods(root_module, cls): - ## list-scheduler.h: ns3::ListScheduler::ListScheduler(ns3::ListScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ListScheduler const &', 'arg0')]) - ## list-scheduler.h: ns3::ListScheduler::ListScheduler() [constructor] - cls.add_constructor([]) - ## list-scheduler.h: static ns3::TypeId ns3::ListScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## list-scheduler.h: void ns3::ListScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## list-scheduler.h: bool ns3::ListScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## list-scheduler.h: void ns3::ListScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## list-scheduler.h: ns3::Scheduler::Event ns3::ListScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3MapScheduler_methods(root_module, cls): - ## map-scheduler.h: ns3::MapScheduler::MapScheduler(ns3::MapScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MapScheduler const &', 'arg0')]) - ## map-scheduler.h: ns3::MapScheduler::MapScheduler() [constructor] - cls.add_constructor([]) - ## map-scheduler.h: static ns3::TypeId ns3::MapScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## map-scheduler.h: void ns3::MapScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## map-scheduler.h: bool ns3::MapScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## map-scheduler.h: void ns3::MapScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## map-scheduler.h: ns3::Scheduler::Event ns3::MapScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3Ns2CalendarScheduler_methods(root_module, cls): - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler(ns3::Ns2CalendarScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ns2CalendarScheduler const &', 'arg0')]) - ## ns2-calendar-scheduler.h: ns3::Ns2CalendarScheduler::Ns2CalendarScheduler() [constructor] - cls.add_constructor([]) - ## ns2-calendar-scheduler.h: static ns3::TypeId ns3::Ns2CalendarScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Insert(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## ns2-calendar-scheduler.h: bool ns3::Ns2CalendarScheduler::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True, is_virtual=True) - ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::PeekNext() const [member function] - cls.add_method('PeekNext', - 'ns3::Scheduler::Event', - [], - is_const=True, is_virtual=True) - ## ns2-calendar-scheduler.h: void ns3::Ns2CalendarScheduler::Remove(ns3::Scheduler::Event const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Scheduler::Event const &', 'ev')], - is_virtual=True) - ## ns2-calendar-scheduler.h: ns3::Scheduler::Event ns3::Ns2CalendarScheduler::RemoveNext() [member function] - cls.add_method('RemoveNext', - 'ns3::Scheduler::Event', - [], - is_virtual=True) - return - -def register_Ns3ObjectFactoryChecker_methods(root_module, cls): - ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] - cls.add_constructor([]) - ## object-factory.h: ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')]) - return - -def register_Ns3ObjectFactoryValue_methods(root_module, cls): - ## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor] - cls.add_constructor([]) - ## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')]) - ## object-factory.h: ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor] - cls.add_constructor([param('ns3::ObjectFactory const &', 'value')]) - ## object-factory.h: ns3::Ptr ns3::ObjectFactoryValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## object-factory.h: bool ns3::ObjectFactoryValue::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) - ## object-factory.h: ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function] - cls.add_method('Get', - 'ns3::ObjectFactory', - [], - is_const=True) - ## object-factory.h: std::string ns3::ObjectFactoryValue::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) - ## object-factory.h: void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::ObjectFactory const &', 'value')]) - return - -def register_Ns3ObjectVectorAccessor_methods(root_module, cls): - ## object-vector.h: ns3::ObjectVectorAccessor::ObjectVectorAccessor() [constructor] - cls.add_constructor([]) - ## object-vector.h: ns3::ObjectVectorAccessor::ObjectVectorAccessor(ns3::ObjectVectorAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorAccessor const &', 'arg0')]) - ## object-vector.h: bool ns3::ObjectVectorAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & value) const [member function] - cls.add_method('Get', - 'bool', - [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'value')], - is_const=True, is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorAccessor::HasGetter() const [member function] - cls.add_method('HasGetter', - 'bool', - [], - is_const=True, is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorAccessor::HasSetter() const [member function] - cls.add_method('HasSetter', - 'bool', - [], - is_const=True, is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] - cls.add_method('Set', - 'bool', - [param('ns3::ObjectBase *', 'object'), param('ns3::AttributeValue const &', 'value')], - is_const=True, is_virtual=True) - ## object-vector.h: ns3::Ptr ns3::ObjectVectorAccessor::DoGet(ns3::ObjectBase const * object, uint32_t i) const [member function] - cls.add_method('DoGet', - 'ns3::Ptr< ns3::Object >', - [param('ns3::ObjectBase const *', 'object'), param('uint32_t', 'i')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorAccessor::DoGetN(ns3::ObjectBase const * object, uint32_t * n) const [member function] - cls.add_method('DoGetN', - 'bool', - [param('ns3::ObjectBase const *', 'object'), param('uint32_t *', 'n')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ObjectVectorChecker_methods(root_module, cls): - ## object-vector.h: ns3::ObjectVectorChecker::ObjectVectorChecker() [constructor] - cls.add_constructor([]) - ## object-vector.h: ns3::ObjectVectorChecker::ObjectVectorChecker(ns3::ObjectVectorChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorChecker const &', 'arg0')]) - ## object-vector.h: ns3::TypeId ns3::ObjectVectorChecker::GetItemTypeId() const [member function] - cls.add_method('GetItemTypeId', - 'ns3::TypeId', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3ObjectVectorValue_methods(root_module, cls): - ## object-vector.h: ns3::ObjectVectorValue::ObjectVectorValue(ns3::ObjectVectorValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorValue const &', 'arg0')]) - ## object-vector.h: ns3::ObjectVectorValue::ObjectVectorValue() [constructor] - cls.add_constructor([]) - ## object-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', - [], - is_const=True) - ## object-vector.h: ns3::Ptr ns3::ObjectVectorValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## object-vector.h: bool ns3::ObjectVectorValue::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) - ## object-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', - [], - is_const=True) - ## object-vector.h: ns3::Ptr ns3::ObjectVectorValue::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::Object >', - [param('uint32_t', 'i')], - is_const=True) - ## object-vector.h: uint32_t ns3::ObjectVectorValue::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## object-vector.h: std::string ns3::ObjectVectorValue::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) - return - -def register_Ns3PointerChecker_methods(root_module, cls): - ## pointer.h: ns3::PointerChecker::PointerChecker() [constructor] - cls.add_constructor([]) - ## pointer.h: ns3::PointerChecker::PointerChecker(ns3::PointerChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointerChecker const &', 'arg0')]) - ## pointer.h: ns3::TypeId ns3::PointerChecker::GetPointeeTypeId() const [member function] - cls.add_method('GetPointeeTypeId', - 'ns3::TypeId', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3PointerValue_methods(root_module, cls): - ## pointer.h: ns3::PointerValue::PointerValue(ns3::PointerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointerValue const &', 'arg0')]) - ## pointer.h: ns3::PointerValue::PointerValue() [constructor] - cls.add_constructor([]) - ## pointer.h: ns3::PointerValue::PointerValue(ns3::Ptr object) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Object >', 'object')]) - ## pointer.h: ns3::Ptr ns3::PointerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## pointer.h: bool ns3::PointerValue::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) - ## pointer.h: ns3::Ptr ns3::PointerValue::GetObject() const [member function] - cls.add_method('GetObject', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## pointer.h: std::string ns3::PointerValue::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) - ## pointer.h: void ns3::PointerValue::SetObject(ns3::Ptr object) [member function] - cls.add_method('SetObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'object')]) - return - -def register_Ns3RandomVariableChecker_methods(root_module, cls): - ## random-variable.h: ns3::RandomVariableChecker::RandomVariableChecker() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')]) - return - -def register_Ns3RandomVariableValue_methods(root_module, cls): - ## random-variable.h: ns3::RandomVariableValue::RandomVariableValue() [constructor] - cls.add_constructor([]) - ## random-variable.h: ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')]) - ## random-variable.h: ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor] - cls.add_constructor([param('ns3::RandomVariable const &', 'value')]) - ## random-variable.h: ns3::Ptr ns3::RandomVariableValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## random-variable.h: bool ns3::RandomVariableValue::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) - ## random-variable.h: ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function] - cls.add_method('Get', - 'ns3::RandomVariable', - [], - is_const=True) - ## random-variable.h: std::string ns3::RandomVariableValue::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) - ## random-variable.h: void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::RandomVariable const &', 'value')]) - return - -def register_Ns3RealtimeSimulatorImpl_methods(root_module, cls): - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl(ns3::RealtimeSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RealtimeSimulatorImpl const &', 'arg0')]) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::RealtimeSimulatorImpl() [constructor] - cls.add_constructor([]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetHardLimit() const [member function] - cls.add_method('GetHardLimit', - 'ns3::Time', - [], - is_const=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::RealtimeSimulatorImpl::SynchronizationMode ns3::RealtimeSimulatorImpl::GetSynchronizationMode() const [member function] - cls.add_method('GetSynchronizationMode', - 'ns3::RealtimeSimulatorImpl::SynchronizationMode', - [], - is_const=True) - ## realtime-simulator-impl.h: uint32_t ns3::RealtimeSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: static ns3::TypeId ns3::RealtimeSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: bool ns3::RealtimeSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## realtime-simulator-impl.h: ns3::Time ns3::RealtimeSimulatorImpl::RealtimeNow() const [member function] - cls.add_method('RealtimeNow', - 'ns3::Time', - [], - is_const=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: ns3::EventId ns3::RealtimeSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtime(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtime', - 'void', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeNow', - 'void', - [param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeNowWithContext(uint32_t context, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeNowWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleRealtimeWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleRealtimeWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetHardLimit(ns3::Time limit) [member function] - cls.add_method('SetHardLimit', - 'void', - [param('ns3::Time', 'limit')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::SetSynchronizationMode(ns3::RealtimeSimulatorImpl::SynchronizationMode mode) [member function] - cls.add_method('SetSynchronizationMode', - 'void', - [param('ns3::RealtimeSimulatorImpl::SynchronizationMode', 'mode')]) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## realtime-simulator-impl.h: void ns3::RealtimeSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RefCountBase_methods(root_module, cls): - ## ref-count-base.h: ns3::RefCountBase::RefCountBase() [constructor] - cls.add_constructor([]) - ## ref-count-base.h: ns3::RefCountBase::RefCountBase(ns3::RefCountBase const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RefCountBase const &', 'arg0')]) - return - -def register_Ns3StringChecker_methods(root_module, cls): - ## string.h: ns3::StringChecker::StringChecker() [constructor] - cls.add_constructor([]) - ## string.h: ns3::StringChecker::StringChecker(ns3::StringChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::StringChecker const &', 'arg0')]) - return - -def register_Ns3StringValue_methods(root_module, cls): - ## string.h: ns3::StringValue::StringValue() [constructor] - cls.add_constructor([]) - ## string.h: ns3::StringValue::StringValue(ns3::StringValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::StringValue const &', 'arg0')]) - ## string.h: ns3::StringValue::StringValue(std::string const & value) [constructor] - cls.add_constructor([param('std::string const &', 'value')]) - ## string.h: ns3::Ptr ns3::StringValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## string.h: bool ns3::StringValue::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) - ## string.h: std::string ns3::StringValue::Get() const [member function] - cls.add_method('Get', - 'std::string', - [], - is_const=True) - ## string.h: std::string ns3::StringValue::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) - ## string.h: void ns3::StringValue::Set(std::string const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string const &', 'value')]) - return - -def register_Ns3TimeChecker_methods(root_module, cls): - ## nstime.h: ns3::TimeChecker::TimeChecker() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::TimeChecker::TimeChecker(ns3::TimeChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeChecker const &', 'arg0')]) - return - -def register_Ns3TimeValue_methods(root_module, cls): - ## nstime.h: ns3::TimeValue::TimeValue() [constructor] - cls.add_constructor([]) - ## nstime.h: ns3::TimeValue::TimeValue(ns3::TimeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeValue const &', 'arg0')]) - ## nstime.h: ns3::TimeValue::TimeValue(ns3::Time const & value) [constructor] - cls.add_constructor([param('ns3::Time const &', 'value')]) - ## nstime.h: ns3::Ptr ns3::TimeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## nstime.h: bool ns3::TimeValue::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) - ## nstime.h: ns3::Time ns3::TimeValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Time', - [], - is_const=True) - ## nstime.h: std::string ns3::TimeValue::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) - ## nstime.h: void ns3::TimeValue::Set(ns3::Time const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Time const &', 'value')]) - return - -def register_Ns3TypeIdChecker_methods(root_module, cls): - ## type-id.h: ns3::TypeIdChecker::TypeIdChecker() [constructor] - cls.add_constructor([]) - ## type-id.h: ns3::TypeIdChecker::TypeIdChecker(ns3::TypeIdChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeIdChecker const &', 'arg0')]) - return - -def register_Ns3TypeIdValue_methods(root_module, cls): - ## type-id.h: ns3::TypeIdValue::TypeIdValue() [constructor] - cls.add_constructor([]) - ## type-id.h: ns3::TypeIdValue::TypeIdValue(ns3::TypeIdValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeIdValue const &', 'arg0')]) - ## type-id.h: ns3::TypeIdValue::TypeIdValue(ns3::TypeId const & value) [constructor] - cls.add_constructor([param('ns3::TypeId const &', 'value')]) - ## type-id.h: ns3::Ptr ns3::TypeIdValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## type-id.h: bool ns3::TypeIdValue::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) - ## type-id.h: ns3::TypeId ns3::TypeIdValue::Get() const [member function] - cls.add_method('Get', - 'ns3::TypeId', - [], - is_const=True) - ## type-id.h: std::string ns3::TypeIdValue::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) - ## type-id.h: void ns3::TypeIdValue::Set(ns3::TypeId const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::TypeId const &', 'value')]) - return - -def register_Ns3UintegerValue_methods(root_module, cls): - ## uinteger.h: ns3::UintegerValue::UintegerValue() [constructor] - cls.add_constructor([]) - ## uinteger.h: ns3::UintegerValue::UintegerValue(ns3::UintegerValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UintegerValue const &', 'arg0')]) - ## uinteger.h: ns3::UintegerValue::UintegerValue(uint64_t const & value) [constructor] - cls.add_constructor([param('uint64_t const &', 'value')]) - ## uinteger.h: ns3::Ptr ns3::UintegerValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## uinteger.h: 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: uint64_t ns3::UintegerValue::Get() const [member function] - cls.add_method('Get', - 'uint64_t', - [], - is_const=True) - ## uinteger.h: 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: void ns3::UintegerValue::Set(uint64_t const & value) [member function] - cls.add_method('Set', - 'void', - [param('uint64_t const &', 'value')]) - return - -def register_Ns3Vector2DChecker_methods(root_module, cls): - ## vector.h: ns3::Vector2DChecker::Vector2DChecker() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector2DChecker::Vector2DChecker(ns3::Vector2DChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector2DChecker const &', 'arg0')]) - return - -def register_Ns3Vector2DValue_methods(root_module, cls): - ## vector.h: ns3::Vector2DValue::Vector2DValue() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector2DValue::Vector2DValue(ns3::Vector2DValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector2DValue const &', 'arg0')]) - ## vector.h: ns3::Vector2DValue::Vector2DValue(ns3::Vector2D const & value) [constructor] - cls.add_constructor([param('ns3::Vector2D const &', 'value')]) - ## vector.h: ns3::Ptr ns3::Vector2DValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## vector.h: bool ns3::Vector2DValue::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) - ## vector.h: ns3::Vector2D ns3::Vector2DValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Vector2D', - [], - is_const=True) - ## vector.h: std::string ns3::Vector2DValue::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) - ## vector.h: void ns3::Vector2DValue::Set(ns3::Vector2D const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Vector2D const &', 'value')]) - return - -def register_Ns3Vector3DChecker_methods(root_module, cls): - ## vector.h: ns3::Vector3DChecker::Vector3DChecker() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector3DChecker::Vector3DChecker(ns3::Vector3DChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector3DChecker const &', 'arg0')]) - return - -def register_Ns3Vector3DValue_methods(root_module, cls): - ## vector.h: ns3::Vector3DValue::Vector3DValue() [constructor] - cls.add_constructor([]) - ## vector.h: ns3::Vector3DValue::Vector3DValue(ns3::Vector3DValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Vector3DValue const &', 'arg0')]) - ## vector.h: ns3::Vector3DValue::Vector3DValue(ns3::Vector3D const & value) [constructor] - cls.add_constructor([param('ns3::Vector3D const &', 'value')]) - ## vector.h: ns3::Ptr ns3::Vector3DValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## vector.h: bool ns3::Vector3DValue::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) - ## vector.h: ns3::Vector3D ns3::Vector3DValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Vector3D', - [], - is_const=True) - ## vector.h: std::string ns3::Vector3DValue::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) - ## vector.h: void ns3::Vector3DValue::Set(ns3::Vector3D const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Vector3D const &', 'value')]) - return - -def register_Ns3ConfigMatchContainer_methods(root_module, cls): - ## config.h: ns3::Config::MatchContainer::MatchContainer(ns3::Config::MatchContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Config::MatchContainer const &', 'arg0')]) - ## config.h: ns3::Config::MatchContainer::MatchContainer() [constructor] - cls.add_constructor([]) - ## config.h: ns3::Config::MatchContainer::MatchContainer(std::vector, std::allocator > > const & objects, std::vector > const & contexts, std::string path) [constructor] - cls.add_constructor([param('std::vector< ns3::Ptr< ns3::Object > > const &', 'objects'), param('std::vector< std::string > const &', 'contexts'), param('std::string', 'path')]) - ## config.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', - [], - is_const=True) - ## config.h: void ns3::Config::MatchContainer::Connect(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('Connect', - 'void', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: void ns3::Config::MatchContainer::ConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('ConnectWithoutContext', - 'void', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: void ns3::Config::MatchContainer::Disconnect(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('Disconnect', - 'void', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: void ns3::Config::MatchContainer::DisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] - cls.add_method('DisconnectWithoutContext', - 'void', - [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', - [], - is_const=True) - ## config.h: ns3::Ptr ns3::Config::MatchContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::Object >', - [param('uint32_t', 'i')], - is_const=True) - ## config.h: std::string ns3::Config::MatchContainer::GetMatchedPath(uint32_t i) const [member function] - cls.add_method('GetMatchedPath', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## config.h: uint32_t ns3::Config::MatchContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## config.h: std::string ns3::Config::MatchContainer::GetPath() const [member function] - cls.add_method('GetPath', - 'std::string', - [], - is_const=True) - ## config.h: void ns3::Config::MatchContainer::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_functions(root_module): - module = root_module - ## nstime.h: ns3::Time ns3::Abs(ns3::Time const & time) [free function] - module.add_function('Abs', - 'ns3::Time', - [param('ns3::Time const &', 'time')]) - ## int64x64.h: ns3::int64x64_t ns3::Abs(ns3::int64x64_t const & value) [free function] - module.add_function('Abs', - 'ns3::int64x64_t', - [param('ns3::int64x64_t const &', 'value')]) - ## breakpoint.h: extern void ns3::BreakpointFallback() [free function] - module.add_function('BreakpointFallback', - 'void', - []) - ## vector.h: extern double ns3::CalculateDistance(ns3::Vector2D const & a, ns3::Vector2D const & b) [free function] - module.add_function('CalculateDistance', - 'double', - [param('ns3::Vector2D const &', 'a'), param('ns3::Vector2D const &', 'b')]) - ## vector.h: extern double ns3::CalculateDistance(ns3::Vector3D const & a, ns3::Vector3D const & b) [free function] - module.add_function('CalculateDistance', - 'double', - [param('ns3::Vector3D const &', 'a'), param('ns3::Vector3D const &', 'b')]) - ## ptr.h: extern ns3::Ptr ns3::Create() [free function] - module.add_function('Create', - 'ns3::Ptr< ns3::ObjectVectorValue >', - [], - template_parameters=['ns3::ObjectVectorValue']) - ## ptr.h: extern ns3::Ptr ns3::Create() [free function] - module.add_function('Create', - 'ns3::Ptr< ns3::PointerValue >', - [], - template_parameters=['ns3::PointerValue']) - ## nstime.h: ns3::Time ns3::FemtoSeconds(ns3::int64x64_t fs) [free function] - module.add_function('FemtoSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'fs')]) - ## nstime.h: ns3::Time ns3::FemtoSeconds(uint64_t fs) [free function] - module.add_function('FemtoSeconds', - 'ns3::Time', - [param('uint64_t', 'fs')]) - ## log.h: extern void ns3::LogComponentDisable(char const * name, ns3::LogLevel level) [free function] - module.add_function('LogComponentDisable', - 'void', - [param('char const *', 'name'), param('ns3::LogLevel', 'level')]) - ## log.h: extern void ns3::LogComponentDisableAll(ns3::LogLevel level) [free function] - module.add_function('LogComponentDisableAll', - 'void', - [param('ns3::LogLevel', 'level')]) - ## log.h: extern void ns3::LogComponentEnable(char const * name, ns3::LogLevel level) [free function] - module.add_function('LogComponentEnable', - 'void', - [param('char const *', 'name'), param('ns3::LogLevel', 'level')]) - ## log.h: extern void ns3::LogComponentEnableAll(ns3::LogLevel level) [free function] - module.add_function('LogComponentEnableAll', - 'void', - [param('ns3::LogLevel', 'level')]) - ## log.h: extern void ns3::LogComponentPrintList() [free function] - module.add_function('LogComponentPrintList', - 'void', - []) - ## log.h: extern ns3::LogNodePrinter ns3::LogGetNodePrinter() [free function] - module.add_function('LogGetNodePrinter', - 'ns3::LogNodePrinter', - []) - ## log.h: extern ns3::LogTimePrinter ns3::LogGetTimePrinter() [free function] - module.add_function('LogGetTimePrinter', - 'ns3::LogTimePrinter', - []) - ## log.h: extern void ns3::LogSetNodePrinter(ns3::LogNodePrinter arg0) [free function] - module.add_function('LogSetNodePrinter', - 'void', - [param('ns3::LogNodePrinter', 'arg0')]) - ## log.h: extern void ns3::LogSetTimePrinter(ns3::LogTimePrinter arg0) [free function] - module.add_function('LogSetTimePrinter', - 'void', - [param('ns3::LogTimePrinter', 'arg0')]) - ## boolean.h: extern ns3::Ptr ns3::MakeBooleanChecker() [free function] - module.add_function('MakeBooleanChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## callback.h: extern ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] - module.add_function('MakeBoundCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamWrapper >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) - ## callback.h: extern ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] - module.add_function('MakeBoundCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::PcapFileWrapper >, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::PcapFileWrapper >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'ns3::Ptr']) - ## callback.h: extern ns3::Callback, std::allocator >,ns3::Ptr,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ns3::MakeBoundCallback(void (*)( ::ns3::Ptr,::std::basic_string,std::allocator >,::ns3::Ptr ) * fnPtr, ns3::Ptr a) [free function] - module.add_function('MakeBoundCallback', - 'ns3::Callback< void, std::basic_string< char, std::char_traits< char >, std::allocator< char > >, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [param('void ( * ) ( ns3::Ptr< ns3::OutputStreamWrapper >, std::string, ns3::Ptr< ns3::Packet const > ) *', 'fnPtr'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'a')], - template_parameters=['void', 'ns3::Ptr', 'ns3::Ptr', 'std::string', 'ns3::Ptr']) - ## callback.h: extern ns3::Ptr ns3::MakeCallbackChecker() [free function] - module.add_function('MakeCallbackChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## enum.h: extern ns3::Ptr ns3::MakeEnumChecker(int v1, std::string n1, int v2=0, std::string n2="", int v3=0, std::string n3="", int v4=0, std::string n4="", int v5=0, std::string n5="", int v6=0, std::string n6="", int v7=0, std::string n7="", int v8=0, std::string n8="", int v9=0, std::string n9="", int v10=0, std::string n10="", int v11=0, std::string n11="", int v12=0, std::string n12="", int v13=0, std::string n13="", int v14=0, std::string n14="", int v15=0, std::string n15="", int v16=0, std::string n16="", int v17=0, std::string n17="", int v18=0, std::string n18="", int v19=0, std::string n19="", int v20=0, std::string n20="", int v21=0, std::string n21="", int v22=0, std::string n22="") [free function] - module.add_function('MakeEnumChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('int', 'v1'), param('std::string', 'n1'), param('int', 'v2', default_value='0'), param('std::string', 'n2', default_value='""'), param('int', 'v3', default_value='0'), param('std::string', 'n3', default_value='""'), param('int', 'v4', default_value='0'), param('std::string', 'n4', default_value='""'), param('int', 'v5', default_value='0'), param('std::string', 'n5', default_value='""'), param('int', 'v6', default_value='0'), param('std::string', 'n6', default_value='""'), param('int', 'v7', default_value='0'), param('std::string', 'n7', default_value='""'), param('int', 'v8', default_value='0'), param('std::string', 'n8', default_value='""'), param('int', 'v9', default_value='0'), param('std::string', 'n9', default_value='""'), param('int', 'v10', default_value='0'), param('std::string', 'n10', default_value='""'), param('int', 'v11', default_value='0'), param('std::string', 'n11', default_value='""'), param('int', 'v12', default_value='0'), param('std::string', 'n12', default_value='""'), param('int', 'v13', default_value='0'), param('std::string', 'n13', default_value='""'), param('int', 'v14', default_value='0'), param('std::string', 'n14', default_value='""'), param('int', 'v15', default_value='0'), param('std::string', 'n15', default_value='""'), param('int', 'v16', default_value='0'), param('std::string', 'n16', default_value='""'), param('int', 'v17', default_value='0'), param('std::string', 'n17', default_value='""'), param('int', 'v18', default_value='0'), param('std::string', 'n18', default_value='""'), param('int', 'v19', default_value='0'), param('std::string', 'n19', default_value='""'), param('int', 'v20', default_value='0'), param('std::string', 'n20', default_value='""'), param('int', 'v21', default_value='0'), param('std::string', 'n21', default_value='""'), param('int', 'v22', default_value='0'), param('std::string', 'n22', default_value='""')]) - ## make-event.h: extern ns3::EventImpl * ns3::MakeEvent(void (*)( ) * f) [free function] - module.add_function('MakeEvent', - 'ns3::EventImpl *', - [param('void ( * ) ( ) *', 'f')]) - ## object-factory.h: extern ns3::Ptr ns3::MakeObjectFactoryChecker() [free function] - module.add_function('MakeObjectFactoryChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## random-variable.h: extern ns3::Ptr ns3::MakeRandomVariableChecker() [free function] - module.add_function('MakeRandomVariableChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## string.h: extern ns3::Ptr ns3::MakeStringChecker() [free function] - module.add_function('MakeStringChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## nstime.h: extern ns3::Ptr ns3::MakeTimeChecker() [free function] - module.add_function('MakeTimeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## type-id.h: extern ns3::Ptr ns3::MakeTypeIdChecker() [free function] - module.add_function('MakeTypeIdChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## vector.h: extern ns3::Ptr ns3::MakeVector2DChecker() [free function] - module.add_function('MakeVector2DChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## vector.h: extern ns3::Ptr ns3::MakeVector3DChecker() [free function] - module.add_function('MakeVector3DChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## vector.h: extern ns3::Ptr ns3::MakeVectorChecker() [free function] - module.add_function('MakeVectorChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## nstime.h: ns3::Time ns3::Max(ns3::Time const & ta, ns3::Time const & tb) [free function] - module.add_function('Max', - 'ns3::Time', - [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) - ## int64x64.h: ns3::int64x64_t ns3::Max(ns3::int64x64_t const & a, ns3::int64x64_t const & b) [free function] - module.add_function('Max', - 'ns3::int64x64_t', - [param('ns3::int64x64_t const &', 'a'), param('ns3::int64x64_t const &', 'b')]) - ## nstime.h: ns3::Time ns3::MicroSeconds(ns3::int64x64_t us) [free function] - module.add_function('MicroSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'us')]) - ## nstime.h: ns3::Time ns3::MicroSeconds(uint64_t us) [free function] - module.add_function('MicroSeconds', - 'ns3::Time', - [param('uint64_t', 'us')]) - ## nstime.h: ns3::Time ns3::MilliSeconds(ns3::int64x64_t ms) [free function] - module.add_function('MilliSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'ms')]) - ## nstime.h: ns3::Time ns3::MilliSeconds(uint64_t ms) [free function] - module.add_function('MilliSeconds', - 'ns3::Time', - [param('uint64_t', 'ms')]) - ## nstime.h: ns3::Time ns3::Min(ns3::Time const & ta, ns3::Time const & tb) [free function] - module.add_function('Min', - 'ns3::Time', - [param('ns3::Time const &', 'ta'), param('ns3::Time const &', 'tb')]) - ## int64x64.h: ns3::int64x64_t ns3::Min(ns3::int64x64_t const & a, ns3::int64x64_t const & b) [free function] - module.add_function('Min', - 'ns3::int64x64_t', - [param('ns3::int64x64_t const &', 'a'), param('ns3::int64x64_t const &', 'b')]) - ## nstime.h: ns3::Time ns3::NanoSeconds(ns3::int64x64_t ns) [free function] - module.add_function('NanoSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'ns')]) - ## nstime.h: ns3::Time ns3::NanoSeconds(uint64_t ns) [free function] - module.add_function('NanoSeconds', - 'ns3::Time', - [param('uint64_t', 'ns')]) - ## simulator.h: extern ns3::Time ns3::Now() [free function] - module.add_function('Now', - 'ns3::Time', - []) - ## nstime.h: ns3::Time ns3::PicoSeconds(ns3::int64x64_t ps) [free function] - module.add_function('PicoSeconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'ps')]) - ## nstime.h: ns3::Time ns3::PicoSeconds(uint64_t ps) [free function] - module.add_function('PicoSeconds', - 'ns3::Time', - [param('uint64_t', 'ps')]) - ## nstime.h: ns3::Time ns3::Seconds(ns3::int64x64_t seconds) [free function] - module.add_function('Seconds', - 'ns3::Time', - [param('ns3::int64x64_t', 'seconds')]) - ## nstime.h: ns3::Time ns3::Seconds(double seconds) [free function] - module.add_function('Seconds', - 'ns3::Time', - [param('double', 'seconds')]) - ## test.h: extern bool ns3::TestDoubleIsEqual(double const a, double const b, double const epsilon=std::numeric_limits::epsilon()) [free function] - module.add_function('TestDoubleIsEqual', - 'bool', - [param('double const', 'a'), param('double const', 'b'), param('double const', 'epsilon', default_value='std::numeric_limits::epsilon()')]) - ## nstime.h: ns3::Time ns3::TimeStep(uint64_t ts) [free function] - module.add_function('TimeStep', - 'ns3::Time', - [param('uint64_t', 'ts')]) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['double']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['float']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['long']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['int']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['short']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['signed char']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['unsigned long']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['unsigned int']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['unsigned short']) - ## type-name.h: extern std::string ns3::TypeNameGet() [free function] - module.add_function('TypeNameGet', - 'std::string', - [], - template_parameters=['unsigned char']) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - ## config.h: extern void ns3::Config::Connect(std::string path, ns3::CallbackBase const & cb) [free function] - module.add_function('Connect', - 'void', - [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: extern void ns3::Config::ConnectWithoutContext(std::string path, ns3::CallbackBase const & cb) [free function] - module.add_function('ConnectWithoutContext', - 'void', - [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: extern void ns3::Config::Disconnect(std::string path, ns3::CallbackBase const & cb) [free function] - module.add_function('Disconnect', - 'void', - [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: extern void ns3::Config::DisconnectWithoutContext(std::string path, ns3::CallbackBase const & cb) [free function] - module.add_function('DisconnectWithoutContext', - 'void', - [param('std::string', 'path'), param('ns3::CallbackBase const &', 'cb')]) - ## config.h: extern ns3::Ptr ns3::Config::GetRootNamespaceObject(uint32_t i) [free function] - module.add_function('GetRootNamespaceObject', - 'ns3::Ptr< ns3::Object >', - [param('uint32_t', 'i')]) - ## config.h: extern uint32_t ns3::Config::GetRootNamespaceObjectN() [free function] - module.add_function('GetRootNamespaceObjectN', - 'uint32_t', - []) - ## config.h: extern ns3::Config::MatchContainer ns3::Config::LookupMatches(std::string path) [free function] - module.add_function('LookupMatches', - 'ns3::Config::MatchContainer', - [param('std::string', 'path')]) - ## config.h: extern void ns3::Config::RegisterRootNamespaceObject(ns3::Ptr obj) [free function] - module.add_function('RegisterRootNamespaceObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'obj')]) - ## config.h: extern void ns3::Config::Set(std::string path, ns3::AttributeValue const & value) [free function] - module.add_function('Set', - 'void', - [param('std::string', 'path'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern void ns3::Config::SetDefault(std::string name, ns3::AttributeValue const & value) [free function] - module.add_function('SetDefault', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern bool ns3::Config::SetDefaultFailSafe(std::string name, ns3::AttributeValue const & value) [free function] - module.add_function('SetDefaultFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern void ns3::Config::SetGlobal(std::string name, ns3::AttributeValue const & value) [free function] - module.add_function('SetGlobal', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern bool ns3::Config::SetGlobalFailSafe(std::string name, ns3::AttributeValue const & value) [free function] - module.add_function('SetGlobalFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## config.h: extern void ns3::Config::UnregisterRootNamespaceObject(ns3::Ptr obj) [free function] - module.add_function('UnregisterRootNamespaceObject', - 'void', - [param('ns3::Ptr< ns3::Object >', 'obj')]) - return - -def register_functions_ns3_FatalImpl(module, root_module): - ## fatal-impl.h: extern void ns3::FatalImpl::FlushStreams() [free function] - module.add_function('FlushStreams', - 'void', - []) - ## fatal-impl.h: extern void ns3::FatalImpl::RegisterStream(std::ostream * stream) [free function] - module.add_function('RegisterStream', - 'void', - [param('std::ostream *', 'stream')]) - ## fatal-impl.h: extern void ns3::FatalImpl::UnregisterStream(std::ostream * stream) [free function] - module.add_function('UnregisterStream', - 'void', - [param('std::ostream *', 'stream')]) - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - ## double.h: extern ns3::Ptr ns3::internal::MakeDoubleChecker(double min, double max, std::string name) [free function] - module.add_function('MakeDoubleChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('double', 'min'), param('double', 'max'), param('std::string', 'name')]) - ## integer.h: extern ns3::Ptr ns3::internal::MakeIntegerChecker(int64_t min, int64_t max, std::string name) [free function] - module.add_function('MakeIntegerChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('int64_t', 'min'), param('int64_t', 'max'), param('std::string', 'name')]) - ## uinteger.h: extern ns3::Ptr ns3::internal::MakeUintegerChecker(uint64_t min, uint64_t max, std::string name) [free function] - module.add_function('MakeUintegerChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint64_t', 'min'), param('uint64_t', 'max'), param('std::string', 'name')]) - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_csma.py b/bindings/python/apidefs/gcc-LP64/ns3_module_csma.py deleted file mode 100644 index 007b76111..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_csma.py +++ /dev/null @@ -1,617 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## csma-channel.h: ns3::WireState [enumeration] - module.add_enum('WireState', ['IDLE', 'TRANSMITTING', 'PROPAGATING']) - ## backoff.h: ns3::Backoff [class] - module.add_class('Backoff') - ## csma-channel.h: ns3::CsmaDeviceRec [class] - module.add_class('CsmaDeviceRec') - ## csma-star-helper.h: ns3::CsmaStarHelper [class] - module.add_class('CsmaStarHelper') - ## csma-helper.h: ns3::CsmaHelper [class] - module.add_class('CsmaHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## csma-channel.h: ns3::CsmaChannel [class] - module.add_class('CsmaChannel', parent=root_module['ns3::Channel']) - ## csma-net-device.h: ns3::CsmaNetDevice [class] - module.add_class('CsmaNetDevice', parent=root_module['ns3::NetDevice']) - ## csma-net-device.h: ns3::CsmaNetDevice::EncapsulationMode [enumeration] - module.add_enum('EncapsulationMode', ['ILLEGAL', 'DIX', 'LLC'], outer_class=root_module['ns3::CsmaNetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Backoff_methods(root_module, root_module['ns3::Backoff']) - register_Ns3CsmaDeviceRec_methods(root_module, root_module['ns3::CsmaDeviceRec']) - register_Ns3CsmaStarHelper_methods(root_module, root_module['ns3::CsmaStarHelper']) - register_Ns3CsmaHelper_methods(root_module, root_module['ns3::CsmaHelper']) - register_Ns3CsmaChannel_methods(root_module, root_module['ns3::CsmaChannel']) - register_Ns3CsmaNetDevice_methods(root_module, root_module['ns3::CsmaNetDevice']) - return - -def register_Ns3Backoff_methods(root_module, cls): - ## backoff.h: ns3::Backoff::Backoff(ns3::Backoff const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Backoff const &', 'arg0')]) - ## backoff.h: ns3::Backoff::Backoff() [constructor] - cls.add_constructor([]) - ## backoff.h: ns3::Backoff::Backoff(ns3::Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t ceiling, uint32_t maxRetries) [constructor] - cls.add_constructor([param('ns3::Time', 'slotTime'), param('uint32_t', 'minSlots'), param('uint32_t', 'maxSlots'), param('uint32_t', 'ceiling'), param('uint32_t', 'maxRetries')]) - ## backoff.h: ns3::Time ns3::Backoff::GetBackoffTime() [member function] - cls.add_method('GetBackoffTime', - 'ns3::Time', - []) - ## backoff.h: void ns3::Backoff::IncrNumRetries() [member function] - cls.add_method('IncrNumRetries', - 'void', - []) - ## backoff.h: bool ns3::Backoff::MaxRetriesReached() [member function] - cls.add_method('MaxRetriesReached', - 'bool', - []) - ## backoff.h: void ns3::Backoff::ResetBackoffTime() [member function] - cls.add_method('ResetBackoffTime', - 'void', - []) - ## backoff.h: ns3::Backoff::m_ceiling [variable] - cls.add_instance_attribute('m_ceiling', 'uint32_t', is_const=False) - ## backoff.h: ns3::Backoff::m_maxRetries [variable] - cls.add_instance_attribute('m_maxRetries', 'uint32_t', is_const=False) - ## backoff.h: ns3::Backoff::m_maxSlots [variable] - cls.add_instance_attribute('m_maxSlots', 'uint32_t', is_const=False) - ## backoff.h: ns3::Backoff::m_minSlots [variable] - cls.add_instance_attribute('m_minSlots', 'uint32_t', is_const=False) - ## backoff.h: ns3::Backoff::m_slotTime [variable] - cls.add_instance_attribute('m_slotTime', 'ns3::Time', is_const=False) - return - -def register_Ns3CsmaDeviceRec_methods(root_module, cls): - ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::CsmaDeviceRec const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsmaDeviceRec const &', 'arg0')]) - ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec() [constructor] - cls.add_constructor([]) - ## csma-channel.h: ns3::CsmaDeviceRec::CsmaDeviceRec(ns3::Ptr device) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: bool ns3::CsmaDeviceRec::IsActive() [member function] - cls.add_method('IsActive', - 'bool', - []) - ## csma-channel.h: ns3::CsmaDeviceRec::active [variable] - cls.add_instance_attribute('active', 'bool', is_const=False) - ## csma-channel.h: ns3::CsmaDeviceRec::devicePtr [variable] - cls.add_instance_attribute('devicePtr', 'ns3::Ptr< ns3::CsmaNetDevice >', is_const=False) - return - -def register_Ns3CsmaStarHelper_methods(root_module, cls): - ## csma-star-helper.h: ns3::CsmaStarHelper::CsmaStarHelper(ns3::CsmaStarHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsmaStarHelper const &', 'arg0')]) - ## csma-star-helper.h: ns3::CsmaStarHelper::CsmaStarHelper(uint32_t numSpokes, ns3::CsmaHelper csmaHelper) [constructor] - cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::CsmaHelper', 'csmaHelper')]) - ## csma-star-helper.h: void ns3::CsmaStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function] - cls.add_method('AssignIpv4Addresses', - 'void', - [param('ns3::Ipv4AddressHelper', 'address')]) - ## csma-star-helper.h: ns3::Ptr ns3::CsmaStarHelper::GetHub() const [member function] - cls.add_method('GetHub', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## csma-star-helper.h: ns3::NetDeviceContainer ns3::CsmaStarHelper::GetHubDevices() const [member function] - cls.add_method('GetHubDevices', - 'ns3::NetDeviceContainer', - [], - is_const=True) - ## csma-star-helper.h: ns3::Ipv4Address ns3::CsmaStarHelper::GetHubIpv4Address(uint32_t i) const [member function] - cls.add_method('GetHubIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## csma-star-helper.h: ns3::NetDeviceContainer ns3::CsmaStarHelper::GetSpokeDevices() const [member function] - cls.add_method('GetSpokeDevices', - 'ns3::NetDeviceContainer', - [], - is_const=True) - ## csma-star-helper.h: ns3::Ipv4Address ns3::CsmaStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function] - cls.add_method('GetSpokeIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## csma-star-helper.h: ns3::Ptr ns3::CsmaStarHelper::GetSpokeNode(uint32_t i) const [member function] - cls.add_method('GetSpokeNode', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## csma-star-helper.h: void ns3::CsmaStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function] - cls.add_method('InstallStack', - 'void', - [param('ns3::InternetStackHelper', 'stack')]) - ## csma-star-helper.h: uint32_t ns3::CsmaStarHelper::SpokeCount() const [member function] - cls.add_method('SpokeCount', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3CsmaHelper_methods(root_module, cls): - ## csma-helper.h: ns3::CsmaHelper::CsmaHelper(ns3::CsmaHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsmaHelper const &', 'arg0')]) - ## csma-helper.h: ns3::CsmaHelper::CsmaHelper() [constructor] - cls.add_constructor([]) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string name) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'name')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr node, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::Ptr node, std::string channelName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'channelName')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string nodeName, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(std::string nodeName, std::string channelName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName'), param('std::string', 'channelName')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer const &', 'c')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer const &', 'c'), param('ns3::Ptr< ns3::CsmaChannel >', 'channel')], - is_const=True) - ## csma-helper.h: ns3::NetDeviceContainer ns3::CsmaHelper::Install(ns3::NodeContainer const & c, std::string channelName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer const &', 'c'), param('std::string', 'channelName')], - is_const=True) - ## csma-helper.h: void ns3::CsmaHelper::SetChannelAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetChannelAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## csma-helper.h: void ns3::CsmaHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## csma-helper.h: void ns3::CsmaHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetQueue', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## csma-helper.h: void ns3::CsmaHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## csma-helper.h: void ns3::CsmaHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3CsmaChannel_methods(root_module, cls): - ## csma-channel.h: ns3::CsmaChannel::CsmaChannel(ns3::CsmaChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsmaChannel const &', 'arg0')]) - ## csma-channel.h: ns3::CsmaChannel::CsmaChannel() [constructor] - cls.add_constructor([]) - ## csma-channel.h: int32_t ns3::CsmaChannel::Attach(ns3::Ptr device) [member function] - cls.add_method('Attach', - 'int32_t', - [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: bool ns3::CsmaChannel::Detach(ns3::Ptr device) [member function] - cls.add_method('Detach', - 'bool', - [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: bool ns3::CsmaChannel::Detach(uint32_t deviceId) [member function] - cls.add_method('Detach', - 'bool', - [param('uint32_t', 'deviceId')]) - ## csma-channel.h: ns3::Ptr ns3::CsmaChannel::GetCsmaDevice(uint32_t i) const [member function] - cls.add_method('GetCsmaDevice', - 'ns3::Ptr< ns3::CsmaNetDevice >', - [param('uint32_t', 'i')], - is_const=True) - ## csma-channel.h: ns3::DataRate ns3::CsmaChannel::GetDataRate() [member function] - cls.add_method('GetDataRate', - 'ns3::DataRate', - []) - ## csma-channel.h: ns3::Time ns3::CsmaChannel::GetDelay() [member function] - cls.add_method('GetDelay', - 'ns3::Time', - []) - ## csma-channel.h: ns3::Ptr ns3::CsmaChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## csma-channel.h: int32_t ns3::CsmaChannel::GetDeviceNum(ns3::Ptr device) [member function] - cls.add_method('GetDeviceNum', - 'int32_t', - [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: uint32_t ns3::CsmaChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## csma-channel.h: uint32_t ns3::CsmaChannel::GetNumActDevices() [member function] - cls.add_method('GetNumActDevices', - 'uint32_t', - []) - ## csma-channel.h: ns3::WireState ns3::CsmaChannel::GetState() [member function] - cls.add_method('GetState', - 'ns3::WireState', - []) - ## csma-channel.h: static ns3::TypeId ns3::CsmaChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## csma-channel.h: bool ns3::CsmaChannel::IsActive(uint32_t deviceId) [member function] - cls.add_method('IsActive', - 'bool', - [param('uint32_t', 'deviceId')]) - ## csma-channel.h: bool ns3::CsmaChannel::IsBusy() [member function] - cls.add_method('IsBusy', - 'bool', - []) - ## csma-channel.h: void ns3::CsmaChannel::PropagationCompleteEvent() [member function] - cls.add_method('PropagationCompleteEvent', - 'void', - []) - ## csma-channel.h: bool ns3::CsmaChannel::Reattach(uint32_t deviceId) [member function] - cls.add_method('Reattach', - 'bool', - [param('uint32_t', 'deviceId')]) - ## csma-channel.h: bool ns3::CsmaChannel::Reattach(ns3::Ptr device) [member function] - cls.add_method('Reattach', - 'bool', - [param('ns3::Ptr< ns3::CsmaNetDevice >', 'device')]) - ## csma-channel.h: bool ns3::CsmaChannel::TransmitEnd() [member function] - cls.add_method('TransmitEnd', - 'bool', - []) - ## csma-channel.h: bool ns3::CsmaChannel::TransmitStart(ns3::Ptr p, uint32_t srcId) [member function] - cls.add_method('TransmitStart', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'srcId')]) - return - -def register_Ns3CsmaNetDevice_methods(root_module, cls): - ## csma-net-device.h: static ns3::TypeId ns3::CsmaNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## csma-net-device.h: ns3::CsmaNetDevice::CsmaNetDevice() [constructor] - cls.add_constructor([]) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetInterframeGap(ns3::Time t) [member function] - cls.add_method('SetInterframeGap', - 'void', - [param('ns3::Time', 't')]) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetBackoffParams(ns3::Time slotTime, uint32_t minSlots, uint32_t maxSlots, uint32_t maxRetries, uint32_t ceiling) [member function] - cls.add_method('SetBackoffParams', - 'void', - [param('ns3::Time', 'slotTime'), param('uint32_t', 'minSlots'), param('uint32_t', 'maxSlots'), param('uint32_t', 'maxRetries'), param('uint32_t', 'ceiling')]) - ## csma-net-device.h: bool ns3::CsmaNetDevice::Attach(ns3::Ptr ch) [member function] - cls.add_method('Attach', - 'bool', - [param('ns3::Ptr< ns3::CsmaChannel >', 'ch')]) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')]) - ## csma-net-device.h: ns3::Ptr ns3::CsmaNetDevice::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::Queue >', - [], - is_const=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveErrorModel(ns3::Ptr em) [member function] - cls.add_method('SetReceiveErrorModel', - 'void', - [param('ns3::Ptr< ns3::ErrorModel >', 'em')]) - ## csma-net-device.h: void ns3::CsmaNetDevice::Receive(ns3::Ptr p, ns3::Ptr sender) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::CsmaNetDevice >', 'sender')]) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsSendEnabled() [member function] - cls.add_method('IsSendEnabled', - 'bool', - []) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetSendEnable(bool enable) [member function] - cls.add_method('SetSendEnable', - 'void', - [param('bool', 'enable')]) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsReceiveEnabled() [member function] - cls.add_method('IsReceiveEnabled', - 'bool', - []) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveEnable(bool enable) [member function] - cls.add_method('SetReceiveEnable', - 'void', - [param('bool', 'enable')]) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetEncapsulationMode(ns3::CsmaNetDevice::EncapsulationMode mode) [member function] - cls.add_method('SetEncapsulationMode', - 'void', - [param('ns3::CsmaNetDevice::EncapsulationMode', 'mode')]) - ## csma-net-device.h: ns3::CsmaNetDevice::EncapsulationMode ns3::CsmaNetDevice::GetEncapsulationMode() [member function] - cls.add_method('GetEncapsulationMode', - 'ns3::CsmaNetDevice::EncapsulationMode', - []) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## csma-net-device.h: uint32_t ns3::CsmaNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: ns3::Ptr ns3::CsmaNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## csma-net-device.h: uint16_t ns3::CsmaNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::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')], - is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## csma-net-device.h: ns3::Ptr ns3::CsmaNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## csma-net-device.h: ns3::Address ns3::CsmaNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## csma-net-device.h: bool ns3::CsmaNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## csma-net-device.h: void ns3::CsmaNetDevice::AddHeader(ns3::Ptr p, ns3::Mac48Address source, ns3::Mac48Address dest, uint16_t protocolNumber) [member function] - cls.add_method('AddHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Mac48Address', 'source'), param('ns3::Mac48Address', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='protected') - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_dsdv.py b/bindings/python/apidefs/gcc-LP64/ns3_module_dsdv.py deleted file mode 100644 index 4af7bebf3..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_dsdv.py +++ /dev/null @@ -1,638 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## dsdv-helper.h: ns3::DsdvHelper [class] - module.add_class('DsdvHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - ## dsdv-rtable.h: ns3::dsdv::RouteFlags [enumeration] - module.add_enum('RouteFlags', ['VALID', 'INVALID']) - ## dsdv-packet.h: ns3::dsdv::DsdvHeader [class] - module.add_class('DsdvHeader', parent=root_module['ns3::Header']) - ## dsdv-packet-queue.h: ns3::dsdv::PacketQueue [class] - module.add_class('PacketQueue') - ## dsdv-packet-queue.h: ns3::dsdv::QueueEntry [class] - module.add_class('QueueEntry') - ## dsdv-routing-protocol.h: ns3::dsdv::RoutingProtocol [class] - module.add_class('RoutingProtocol', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## dsdv-rtable.h: ns3::dsdv::RoutingTable [class] - module.add_class('RoutingTable') - ## dsdv-rtable.h: ns3::dsdv::RoutingTableEntry [class] - module.add_class('RoutingTableEntry') - module.add_container('std::map< ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry >', ('ns3::Ipv4Address', 'ns3::dsdv::RoutingTableEntry'), container_type='map') - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3DsdvHelper_methods(root_module, root_module['ns3::DsdvHelper']) - register_Ns3DsdvDsdvHeader_methods(root_module, root_module['ns3::dsdv::DsdvHeader']) - register_Ns3DsdvPacketQueue_methods(root_module, root_module['ns3::dsdv::PacketQueue']) - register_Ns3DsdvQueueEntry_methods(root_module, root_module['ns3::dsdv::QueueEntry']) - register_Ns3DsdvRoutingProtocol_methods(root_module, root_module['ns3::dsdv::RoutingProtocol']) - register_Ns3DsdvRoutingTable_methods(root_module, root_module['ns3::dsdv::RoutingTable']) - register_Ns3DsdvRoutingTableEntry_methods(root_module, root_module['ns3::dsdv::RoutingTableEntry']) - return - -def register_Ns3DsdvHelper_methods(root_module, cls): - ## dsdv-helper.h: ns3::DsdvHelper::DsdvHelper(ns3::DsdvHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsdvHelper const &', 'arg0')]) - ## dsdv-helper.h: ns3::DsdvHelper::DsdvHelper() [constructor] - cls.add_constructor([]) - ## dsdv-helper.h: ns3::DsdvHelper * ns3::DsdvHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::DsdvHelper *', - [], - is_const=True, is_virtual=True) - ## dsdv-helper.h: ns3::Ptr ns3::DsdvHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## dsdv-helper.h: void ns3::DsdvHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3DsdvDsdvHeader_methods(root_module, cls): - cls.add_output_stream_operator() - ## dsdv-packet.h: ns3::dsdv::DsdvHeader::DsdvHeader(ns3::dsdv::DsdvHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::DsdvHeader const &', 'arg0')]) - ## dsdv-packet.h: ns3::dsdv::DsdvHeader::DsdvHeader(ns3::Ipv4Address dst=ns3::Ipv4Address(), uint32_t hopcount=0, uint32_t dstSeqNo=0) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('uint32_t', 'hopcount', default_value='0'), param('uint32_t', 'dstSeqNo', default_value='0')]) - ## dsdv-packet.h: uint32_t ns3::dsdv::DsdvHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## dsdv-packet.h: ns3::Ipv4Address ns3::dsdv::DsdvHeader::GetDst() const [member function] - cls.add_method('GetDst', - 'ns3::Ipv4Address', - [], - is_const=True) - ## dsdv-packet.h: uint32_t ns3::dsdv::DsdvHeader::GetDstSeqno() const [member function] - cls.add_method('GetDstSeqno', - 'uint32_t', - [], - is_const=True) - ## dsdv-packet.h: uint32_t ns3::dsdv::DsdvHeader::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint32_t', - [], - is_const=True) - ## dsdv-packet.h: ns3::TypeId ns3::dsdv::DsdvHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## dsdv-packet.h: uint32_t ns3::dsdv::DsdvHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dsdv-packet.h: static ns3::TypeId ns3::dsdv::DsdvHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::SetDst(ns3::Ipv4Address destination) [member function] - cls.add_method('SetDst', - 'void', - [param('ns3::Ipv4Address', 'destination')]) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::SetDstSeqno(uint32_t sequenceNumber) [member function] - cls.add_method('SetDstSeqno', - 'void', - [param('uint32_t', 'sequenceNumber')]) - ## dsdv-packet.h: void ns3::dsdv::DsdvHeader::SetHopCount(uint32_t hopCount) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint32_t', 'hopCount')]) - return - -def register_Ns3DsdvPacketQueue_methods(root_module, cls): - ## dsdv-packet-queue.h: ns3::dsdv::PacketQueue::PacketQueue(ns3::dsdv::PacketQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::PacketQueue const &', 'arg0')]) - ## dsdv-packet-queue.h: ns3::dsdv::PacketQueue::PacketQueue() [constructor] - cls.add_constructor([]) - ## dsdv-packet-queue.h: bool ns3::dsdv::PacketQueue::Dequeue(ns3::Ipv4Address dst, ns3::dsdv::QueueEntry & entry) [member function] - cls.add_method('Dequeue', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::dsdv::QueueEntry &', 'entry')]) - ## dsdv-packet-queue.h: void ns3::dsdv::PacketQueue::DropPacketWithDst(ns3::Ipv4Address dst) [member function] - cls.add_method('DropPacketWithDst', - 'void', - [param('ns3::Ipv4Address', 'dst')]) - ## dsdv-packet-queue.h: bool ns3::dsdv::PacketQueue::Enqueue(ns3::dsdv::QueueEntry & entry) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::dsdv::QueueEntry &', 'entry')]) - ## dsdv-packet-queue.h: bool ns3::dsdv::PacketQueue::Find(ns3::Ipv4Address dst) [member function] - cls.add_method('Find', - 'bool', - [param('ns3::Ipv4Address', 'dst')]) - ## dsdv-packet-queue.h: uint32_t ns3::dsdv::PacketQueue::GetCountForPacketsWithDst(ns3::Ipv4Address dst) [member function] - cls.add_method('GetCountForPacketsWithDst', - 'uint32_t', - [param('ns3::Ipv4Address', 'dst')]) - ## dsdv-packet-queue.h: uint32_t ns3::dsdv::PacketQueue::GetMaxPacketsPerDst() const [member function] - cls.add_method('GetMaxPacketsPerDst', - 'uint32_t', - [], - is_const=True) - ## dsdv-packet-queue.h: uint32_t ns3::dsdv::PacketQueue::GetMaxQueueLen() const [member function] - cls.add_method('GetMaxQueueLen', - 'uint32_t', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Time ns3::dsdv::PacketQueue::GetQueueTimeout() const [member function] - cls.add_method('GetQueueTimeout', - 'ns3::Time', - [], - is_const=True) - ## dsdv-packet-queue.h: uint32_t ns3::dsdv::PacketQueue::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - []) - ## dsdv-packet-queue.h: void ns3::dsdv::PacketQueue::SetMaxPacketsPerDst(uint32_t len) [member function] - cls.add_method('SetMaxPacketsPerDst', - 'void', - [param('uint32_t', 'len')]) - ## dsdv-packet-queue.h: void ns3::dsdv::PacketQueue::SetMaxQueueLen(uint32_t len) [member function] - cls.add_method('SetMaxQueueLen', - 'void', - [param('uint32_t', 'len')]) - ## dsdv-packet-queue.h: void ns3::dsdv::PacketQueue::SetQueueTimeout(ns3::Time t) [member function] - cls.add_method('SetQueueTimeout', - 'void', - [param('ns3::Time', 't')]) - return - -def register_Ns3DsdvQueueEntry_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## dsdv-packet-queue.h: ns3::dsdv::QueueEntry::QueueEntry(ns3::dsdv::QueueEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::QueueEntry const &', 'arg0')]) - ## dsdv-packet-queue.h: ns3::dsdv::QueueEntry::QueueEntry(ns3::Ptr pa=0, ns3::Ipv4Header const & h=ns3::Ipv4Header(), ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb=ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>(), ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb=ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet const >', 'pa', default_value='0'), param('ns3::Ipv4Header const &', 'h', default_value='ns3::Ipv4Header()'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb', default_value='ns3::Callback, ns3::Ptr, const ns3::Ipv4Header&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb', default_value='ns3::Callback, const ns3::Ipv4Header&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>()')]) - ## dsdv-packet-queue.h: ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::dsdv::QueueEntry::GetErrorCallback() const [member function] - cls.add_method('GetErrorCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Time ns3::dsdv::QueueEntry::GetExpireTime() const [member function] - cls.add_method('GetExpireTime', - 'ns3::Time', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Ipv4Header ns3::dsdv::QueueEntry::GetIpv4Header() const [member function] - cls.add_method('GetIpv4Header', - 'ns3::Ipv4Header', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Ptr ns3::dsdv::QueueEntry::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet const >', - [], - is_const=True) - ## dsdv-packet-queue.h: ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::dsdv::QueueEntry::GetUnicastForwardCallback() const [member function] - cls.add_method('GetUnicastForwardCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetErrorCallback(ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('SetErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')]) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetExpireTime(ns3::Time exp) [member function] - cls.add_method('SetExpireTime', - 'void', - [param('ns3::Time', 'exp')]) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetIpv4Header(ns3::Ipv4Header h) [member function] - cls.add_method('SetIpv4Header', - 'void', - [param('ns3::Ipv4Header', 'h')]) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## dsdv-packet-queue.h: void ns3::dsdv::QueueEntry::SetUnicastForwardCallback(ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb) [member function] - cls.add_method('SetUnicastForwardCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb')]) - return - -def register_Ns3DsdvRoutingProtocol_methods(root_module, cls): - ## dsdv-routing-protocol.h: ns3::dsdv::RoutingProtocol::RoutingProtocol(ns3::dsdv::RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::RoutingProtocol const &', 'arg0')]) - ## dsdv-routing-protocol.h: ns3::dsdv::RoutingProtocol::RoutingProtocol() [constructor] - cls.add_constructor([]) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## dsdv-routing-protocol.h: bool ns3::dsdv::RoutingProtocol::GetEnableBufferFlag() const [member function] - cls.add_method('GetEnableBufferFlag', - 'bool', - [], - is_const=True) - ## dsdv-routing-protocol.h: bool ns3::dsdv::RoutingProtocol::GetEnableRAFlag() const [member function] - cls.add_method('GetEnableRAFlag', - 'bool', - [], - is_const=True) - ## dsdv-routing-protocol.h: static ns3::TypeId ns3::dsdv::RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dsdv-routing-protocol.h: bool ns3::dsdv::RoutingProtocol::GetWSTFlag() const [member function] - cls.add_method('GetWSTFlag', - 'bool', - [], - is_const=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## dsdv-routing-protocol.h: bool ns3::dsdv::RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## dsdv-routing-protocol.h: ns3::Ptr ns3::dsdv::RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::SetEnableBufferFlag(bool f) [member function] - cls.add_method('SetEnableBufferFlag', - 'void', - [param('bool', 'f')]) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::SetEnableRAFlag(bool f) [member function] - cls.add_method('SetEnableRAFlag', - 'void', - [param('bool', 'f')]) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## dsdv-routing-protocol.h: void ns3::dsdv::RoutingProtocol::SetWSTFlag(bool f) [member function] - cls.add_method('SetWSTFlag', - 'void', - [param('bool', 'f')]) - ## dsdv-routing-protocol.h: ns3::dsdv::RoutingProtocol::DSDV_PORT [variable] - cls.add_static_attribute('DSDV_PORT', 'uint32_t const', is_const=True) - return - -def register_Ns3DsdvRoutingTable_methods(root_module, cls): - ## dsdv-rtable.h: ns3::dsdv::RoutingTable::RoutingTable(ns3::dsdv::RoutingTable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::RoutingTable const &', 'arg0')]) - ## dsdv-rtable.h: ns3::dsdv::RoutingTable::RoutingTable() [constructor] - cls.add_constructor([]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::AddIpv4Event(ns3::Ipv4Address arg0, ns3::EventId arg1) [member function] - cls.add_method('AddIpv4Event', - 'bool', - [param('ns3::Ipv4Address', 'arg0'), param('ns3::EventId', 'arg1')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::AddRoute(ns3::dsdv::RoutingTableEntry & r) [member function] - cls.add_method('AddRoute', - 'bool', - [param('ns3::dsdv::RoutingTableEntry &', 'r')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::AnyRunningEvent(ns3::Ipv4Address address) [member function] - cls.add_method('AnyRunningEvent', - 'bool', - [param('ns3::Ipv4Address', 'address')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::DeleteAllRoutesFromInterface(ns3::Ipv4InterfaceAddress iface) [member function] - cls.add_method('DeleteAllRoutesFromInterface', - 'void', - [param('ns3::Ipv4InterfaceAddress', 'iface')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::DeleteIpv4Event(ns3::Ipv4Address address) [member function] - cls.add_method('DeleteIpv4Event', - 'bool', - [param('ns3::Ipv4Address', 'address')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::DeleteRoute(ns3::Ipv4Address dst) [member function] - cls.add_method('DeleteRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::ForceDeleteIpv4Event(ns3::Ipv4Address address) [member function] - cls.add_method('ForceDeleteIpv4Event', - 'bool', - [param('ns3::Ipv4Address', 'address')]) - ## dsdv-rtable.h: ns3::EventId ns3::dsdv::RoutingTable::GetEventId(ns3::Ipv4Address address) [member function] - cls.add_method('GetEventId', - 'ns3::EventId', - [param('ns3::Ipv4Address', 'address')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::GetListOfAllRoutes(std::map, std::allocator > > & allRoutes) [member function] - cls.add_method('GetListOfAllRoutes', - 'void', - [param('std::map< ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry > &', 'allRoutes')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::GetListOfDestinationWithNextHop(ns3::Ipv4Address nxtHp, std::map, std::allocator > > & dstList) [member function] - cls.add_method('GetListOfDestinationWithNextHop', - 'void', - [param('ns3::Ipv4Address', 'nxtHp'), param('std::map< ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry > &', 'dstList')]) - ## dsdv-rtable.h: ns3::Time ns3::dsdv::RoutingTable::Getholddowntime() const [member function] - cls.add_method('Getholddowntime', - 'ns3::Time', - [], - is_const=True) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::LookupRoute(ns3::Ipv4Address dst, ns3::dsdv::RoutingTableEntry & rt) [member function] - cls.add_method('LookupRoute', - 'bool', - [param('ns3::Ipv4Address', 'dst'), param('ns3::dsdv::RoutingTableEntry &', 'rt')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::LookupRoute(ns3::Ipv4Address id, ns3::dsdv::RoutingTableEntry & rt, bool forRouteInput) [member function] - cls.add_method('LookupRoute', - 'bool', - [param('ns3::Ipv4Address', 'id'), param('ns3::dsdv::RoutingTableEntry &', 'rt'), param('bool', 'forRouteInput')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::Print(ns3::Ptr stream) const [member function] - cls.add_method('Print', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::Purge(std::map, std::allocator > > & removedAddresses) [member function] - cls.add_method('Purge', - 'void', - [param('std::map< ns3::Ipv4Address, ns3::dsdv::RoutingTableEntry > &', 'removedAddresses')]) - ## dsdv-rtable.h: uint32_t ns3::dsdv::RoutingTable::RoutingTableSize() [member function] - cls.add_method('RoutingTableSize', - 'uint32_t', - []) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTable::Setholddowntime(ns3::Time t) [member function] - cls.add_method('Setholddowntime', - 'void', - [param('ns3::Time', 't')]) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTable::Update(ns3::dsdv::RoutingTableEntry & rt) [member function] - cls.add_method('Update', - 'bool', - [param('ns3::dsdv::RoutingTableEntry &', 'rt')]) - return - -def register_Ns3DsdvRoutingTableEntry_methods(root_module, cls): - ## dsdv-rtable.h: ns3::dsdv::RoutingTableEntry::RoutingTableEntry(ns3::dsdv::RoutingTableEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dsdv::RoutingTableEntry const &', 'arg0')]) - ## dsdv-rtable.h: ns3::dsdv::RoutingTableEntry::RoutingTableEntry(ns3::Ptr dev=0, ns3::Ipv4Address dst=ns3::Ipv4Address(), u_int32_t m_seqNo=0, ns3::Ipv4InterfaceAddress iface=ns3::Ipv4InterfaceAddress(), u_int32_t hops=0, ns3::Ipv4Address nextHop=ns3::Ipv4Address(), ns3::Time lifetime=ns3::Simulator::Now( ), ns3::Time SettlingTime=ns3::Simulator::Now( ), bool changedEntries=false) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev', default_value='0'), param('ns3::Ipv4Address', 'dst', default_value='ns3::Ipv4Address()'), param('u_int32_t', 'm_seqNo', default_value='0'), param('ns3::Ipv4InterfaceAddress', 'iface', default_value='ns3::Ipv4InterfaceAddress()'), param('u_int32_t', 'hops', default_value='0'), param('ns3::Ipv4Address', 'nextHop', default_value='ns3::Ipv4Address()'), param('ns3::Time', 'lifetime', default_value='ns3::Simulator::Now( )'), param('ns3::Time', 'SettlingTime', default_value='ns3::Simulator::Now( )'), param('bool', 'changedEntries', default_value='false')]) - ## dsdv-rtable.h: ns3::Ipv4Address ns3::dsdv::RoutingTableEntry::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## dsdv-rtable.h: bool ns3::dsdv::RoutingTableEntry::GetEntriesChanged() const [member function] - cls.add_method('GetEntriesChanged', - 'bool', - [], - is_const=True) - ## dsdv-rtable.h: ns3::dsdv::RouteFlags ns3::dsdv::RoutingTableEntry::GetFlag() const [member function] - cls.add_method('GetFlag', - 'ns3::dsdv::RouteFlags', - [], - is_const=True) - ## dsdv-rtable.h: uint32_t ns3::dsdv::RoutingTableEntry::GetHop() const [member function] - cls.add_method('GetHop', - 'uint32_t', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Ipv4InterfaceAddress ns3::dsdv::RoutingTableEntry::GetInterface() const [member function] - cls.add_method('GetInterface', - 'ns3::Ipv4InterfaceAddress', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Time ns3::dsdv::RoutingTableEntry::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'ns3::Time', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Ipv4Address ns3::dsdv::RoutingTableEntry::GetNextHop() const [member function] - cls.add_method('GetNextHop', - 'ns3::Ipv4Address', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Ptr ns3::dsdv::RoutingTableEntry::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Ptr ns3::dsdv::RoutingTableEntry::GetRoute() const [member function] - cls.add_method('GetRoute', - 'ns3::Ptr< ns3::Ipv4Route >', - [], - is_const=True) - ## dsdv-rtable.h: uint32_t ns3::dsdv::RoutingTableEntry::GetSeqNo() const [member function] - cls.add_method('GetSeqNo', - 'uint32_t', - [], - is_const=True) - ## dsdv-rtable.h: ns3::Time ns3::dsdv::RoutingTableEntry::GetSettlingTime() const [member function] - cls.add_method('GetSettlingTime', - 'ns3::Time', - [], - is_const=True) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::Print(ns3::Ptr stream) const [member function] - cls.add_method('Print', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetEntriesChanged(bool entriesChanged) [member function] - cls.add_method('SetEntriesChanged', - 'void', - [param('bool', 'entriesChanged')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetFlag(ns3::dsdv::RouteFlags flag) [member function] - cls.add_method('SetFlag', - 'void', - [param('ns3::dsdv::RouteFlags', 'flag')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetHop(uint32_t hopCount) [member function] - cls.add_method('SetHop', - 'void', - [param('uint32_t', 'hopCount')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetInterface(ns3::Ipv4InterfaceAddress iface) [member function] - cls.add_method('SetInterface', - 'void', - [param('ns3::Ipv4InterfaceAddress', 'iface')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetLifeTime(ns3::Time lifeTime) [member function] - cls.add_method('SetLifeTime', - 'void', - [param('ns3::Time', 'lifeTime')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetNextHop(ns3::Ipv4Address nextHop) [member function] - cls.add_method('SetNextHop', - 'void', - [param('ns3::Ipv4Address', 'nextHop')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetOutputDevice(ns3::Ptr device) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetRoute(ns3::Ptr route) [member function] - cls.add_method('SetRoute', - 'void', - [param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetSeqNo(uint32_t sequenceNumber) [member function] - cls.add_method('SetSeqNo', - 'void', - [param('uint32_t', 'sequenceNumber')]) - ## dsdv-rtable.h: void ns3::dsdv::RoutingTableEntry::SetSettlingTime(ns3::Time settlingTime) [member function] - cls.add_method('SetSettlingTime', - 'void', - [param('ns3::Time', 'settlingTime')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_emu.py b/bindings/python/apidefs/gcc-LP64/ns3_module_emu.py deleted file mode 100644 index c9f623e47..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_emu.py +++ /dev/null @@ -1,352 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## emu-helper.h: ns3::EmuHelper [class] - module.add_class('EmuHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## emu-net-device.h: ns3::EmuNetDevice [class] - module.add_class('EmuNetDevice', parent=root_module['ns3::NetDevice']) - ## emu-net-device.h: ns3::EmuNetDevice::EncapsulationMode [enumeration] - module.add_enum('EncapsulationMode', ['ILLEGAL', 'DIX', 'LLC'], outer_class=root_module['ns3::EmuNetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3EmuHelper_methods(root_module, root_module['ns3::EmuHelper']) - register_Ns3EmuNetDevice_methods(root_module, root_module['ns3::EmuNetDevice']) - return - -def register_Ns3EmuHelper_methods(root_module, cls): - ## emu-helper.h: ns3::EmuHelper::EmuHelper(ns3::EmuHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EmuHelper const &', 'arg0')]) - ## emu-helper.h: ns3::EmuHelper::EmuHelper() [constructor] - cls.add_constructor([]) - ## emu-helper.h: ns3::NetDeviceContainer ns3::EmuHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## emu-helper.h: ns3::NetDeviceContainer ns3::EmuHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## emu-helper.h: ns3::NetDeviceContainer ns3::EmuHelper::Install(ns3::NodeContainer const & c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer const &', 'c')], - is_const=True) - ## emu-helper.h: void ns3::EmuHelper::SetAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## emu-helper.h: void ns3::EmuHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetQueue', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## emu-helper.h: void ns3::EmuHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## emu-helper.h: void ns3::EmuHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3EmuNetDevice_methods(root_module, cls): - ## emu-net-device.h: static ns3::TypeId ns3::EmuNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## emu-net-device.h: ns3::EmuNetDevice::EmuNetDevice() [constructor] - cls.add_constructor([]) - ## emu-net-device.h: void ns3::EmuNetDevice::SetDataRate(ns3::DataRate bps) [member function] - cls.add_method('SetDataRate', - 'void', - [param('ns3::DataRate', 'bps')]) - ## emu-net-device.h: void ns3::EmuNetDevice::Start(ns3::Time tStart) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time', 'tStart')]) - ## emu-net-device.h: void ns3::EmuNetDevice::Stop(ns3::Time tStop) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time', 'tStop')]) - ## emu-net-device.h: void ns3::EmuNetDevice::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')]) - ## emu-net-device.h: ns3::Ptr ns3::EmuNetDevice::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::Queue >', - [], - is_const=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## emu-net-device.h: uint32_t ns3::EmuNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: ns3::Ptr ns3::EmuNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## emu-net-device.h: ns3::Address ns3::EmuNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## emu-net-device.h: uint16_t ns3::EmuNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::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')], - is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: ns3::Address ns3::EmuNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: ns3::Address ns3::EmuNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## emu-net-device.h: ns3::Address ns3::EmuNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## emu-net-device.h: ns3::Ptr ns3::EmuNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## emu-net-device.h: bool ns3::EmuNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## emu-net-device.h: void ns3::EmuNetDevice::SetEncapsulationMode(ns3::EmuNetDevice::EncapsulationMode mode) [member function] - cls.add_method('SetEncapsulationMode', - 'void', - [param('ns3::EmuNetDevice::EncapsulationMode', 'mode')]) - ## emu-net-device.h: ns3::EmuNetDevice::EncapsulationMode ns3::EmuNetDevice::GetEncapsulationMode() const [member function] - cls.add_method('GetEncapsulationMode', - 'ns3::EmuNetDevice::EncapsulationMode', - [], - is_const=True) - ## emu-net-device.h: void ns3::EmuNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_energy.py b/bindings/python/apidefs/gcc-LP64/ns3_module_energy.py deleted file mode 100644 index b30bf0b6e..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_energy.py +++ /dev/null @@ -1,985 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer [class] - module.add_class('DeviceEnergyModelContainer') - ## energy-model-helper.h: ns3::DeviceEnergyModelHelper [class] - module.add_class('DeviceEnergyModelHelper', allow_subclassing=True) - ## energy-model-helper.h: ns3::EnergySourceHelper [class] - module.add_class('EnergySourceHelper', allow_subclassing=True) - ## rv-battery-model-helper.h: ns3::RvBatteryModelHelper [class] - module.add_class('RvBatteryModelHelper', parent=root_module['ns3::EnergySourceHelper']) - ## wifi-radio-energy-model-helper.h: ns3::WifiRadioEnergyModelHelper [class] - module.add_class('WifiRadioEnergyModelHelper', parent=root_module['ns3::DeviceEnergyModelHelper']) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModelPhyListener [class] - module.add_class('WifiRadioEnergyModelPhyListener', parent=root_module['ns3::WifiPhyListener']) - ## basic-energy-source-helper.h: ns3::BasicEnergySourceHelper [class] - module.add_class('BasicEnergySourceHelper', parent=root_module['ns3::EnergySourceHelper']) - ## device-energy-model.h: ns3::DeviceEnergyModel [class] - module.add_class('DeviceEnergyModel', parent=root_module['ns3::Object']) - ## energy-source.h: ns3::EnergySource [class] - module.add_class('EnergySource', parent=root_module['ns3::Object']) - ## energy-source-container.h: ns3::EnergySourceContainer [class] - module.add_class('EnergySourceContainer', parent=root_module['ns3::Object']) - ## li-ion-energy-source.h: ns3::LiIonEnergySource [class] - module.add_class('LiIonEnergySource', parent=root_module['ns3::EnergySource']) - ## rv-battery-model.h: ns3::RvBatteryModel [class] - module.add_class('RvBatteryModel', parent=root_module['ns3::EnergySource']) - ## simple-device-energy-model.h: ns3::SimpleDeviceEnergyModel [class] - module.add_class('SimpleDeviceEnergyModel', parent=root_module['ns3::DeviceEnergyModel']) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModel [class] - module.add_class('WifiRadioEnergyModel', parent=root_module['ns3::DeviceEnergyModel']) - ## basic-energy-source.h: ns3::BasicEnergySource [class] - module.add_class('BasicEnergySource', parent=root_module['ns3::EnergySource']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3DeviceEnergyModelContainer_methods(root_module, root_module['ns3::DeviceEnergyModelContainer']) - register_Ns3DeviceEnergyModelHelper_methods(root_module, root_module['ns3::DeviceEnergyModelHelper']) - register_Ns3EnergySourceHelper_methods(root_module, root_module['ns3::EnergySourceHelper']) - register_Ns3RvBatteryModelHelper_methods(root_module, root_module['ns3::RvBatteryModelHelper']) - register_Ns3WifiRadioEnergyModelHelper_methods(root_module, root_module['ns3::WifiRadioEnergyModelHelper']) - register_Ns3WifiRadioEnergyModelPhyListener_methods(root_module, root_module['ns3::WifiRadioEnergyModelPhyListener']) - register_Ns3BasicEnergySourceHelper_methods(root_module, root_module['ns3::BasicEnergySourceHelper']) - register_Ns3DeviceEnergyModel_methods(root_module, root_module['ns3::DeviceEnergyModel']) - register_Ns3EnergySource_methods(root_module, root_module['ns3::EnergySource']) - register_Ns3EnergySourceContainer_methods(root_module, root_module['ns3::EnergySourceContainer']) - register_Ns3LiIonEnergySource_methods(root_module, root_module['ns3::LiIonEnergySource']) - register_Ns3RvBatteryModel_methods(root_module, root_module['ns3::RvBatteryModel']) - register_Ns3SimpleDeviceEnergyModel_methods(root_module, root_module['ns3::SimpleDeviceEnergyModel']) - register_Ns3WifiRadioEnergyModel_methods(root_module, root_module['ns3::WifiRadioEnergyModel']) - register_Ns3BasicEnergySource_methods(root_module, root_module['ns3::BasicEnergySource']) - return - -def register_Ns3DeviceEnergyModelContainer_methods(root_module, cls): - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer(ns3::DeviceEnergyModelContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeviceEnergyModelContainer const &', 'arg0')]) - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer() [constructor] - cls.add_constructor([]) - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer(ns3::Ptr model) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::DeviceEnergyModel >', 'model')]) - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer(std::string modelName) [constructor] - cls.add_constructor([param('std::string', 'modelName')]) - ## device-energy-model-container.h: ns3::DeviceEnergyModelContainer::DeviceEnergyModelContainer(ns3::DeviceEnergyModelContainer const & a, ns3::DeviceEnergyModelContainer const & b) [constructor] - cls.add_constructor([param('ns3::DeviceEnergyModelContainer const &', 'a'), param('ns3::DeviceEnergyModelContainer const &', 'b')]) - ## device-energy-model-container.h: void ns3::DeviceEnergyModelContainer::Add(ns3::DeviceEnergyModelContainer container) [member function] - cls.add_method('Add', - 'void', - [param('ns3::DeviceEnergyModelContainer', 'container')]) - ## device-energy-model-container.h: void ns3::DeviceEnergyModelContainer::Add(ns3::Ptr model) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::DeviceEnergyModel >', 'model')]) - ## device-energy-model-container.h: void ns3::DeviceEnergyModelContainer::Add(std::string modelName) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'modelName')]) - ## device-energy-model-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::DeviceEnergyModelContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::DeviceEnergyModel > const, std::vector< ns3::Ptr< ns3::DeviceEnergyModel > > >', - [], - is_const=True) - ## device-energy-model-container.h: void ns3::DeviceEnergyModelContainer::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## device-energy-model-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::DeviceEnergyModelContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::DeviceEnergyModel > const, std::vector< ns3::Ptr< ns3::DeviceEnergyModel > > >', - [], - is_const=True) - ## device-energy-model-container.h: ns3::Ptr ns3::DeviceEnergyModelContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::DeviceEnergyModel >', - [param('uint32_t', 'i')], - is_const=True) - ## device-energy-model-container.h: uint32_t ns3::DeviceEnergyModelContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3DeviceEnergyModelHelper_methods(root_module, cls): - ## energy-model-helper.h: ns3::DeviceEnergyModelHelper::DeviceEnergyModelHelper() [constructor] - cls.add_constructor([]) - ## energy-model-helper.h: ns3::DeviceEnergyModelHelper::DeviceEnergyModelHelper(ns3::DeviceEnergyModelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeviceEnergyModelHelper const &', 'arg0')]) - ## energy-model-helper.h: ns3::DeviceEnergyModelContainer ns3::DeviceEnergyModelHelper::Install(ns3::Ptr device, ns3::Ptr source) const [member function] - cls.add_method('Install', - 'ns3::DeviceEnergyModelContainer', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_const=True) - ## energy-model-helper.h: ns3::DeviceEnergyModelContainer ns3::DeviceEnergyModelHelper::Install(ns3::NetDeviceContainer deviceContainer, ns3::EnergySourceContainer sourceContainer) const [member function] - cls.add_method('Install', - 'ns3::DeviceEnergyModelContainer', - [param('ns3::NetDeviceContainer', 'deviceContainer'), param('ns3::EnergySourceContainer', 'sourceContainer')], - is_const=True) - ## energy-model-helper.h: void ns3::DeviceEnergyModelHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_pure_virtual=True, is_virtual=True) - ## energy-model-helper.h: ns3::Ptr ns3::DeviceEnergyModelHelper::DoInstall(ns3::Ptr device, ns3::Ptr source) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::DeviceEnergyModel >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3EnergySourceHelper_methods(root_module, cls): - ## energy-model-helper.h: ns3::EnergySourceHelper::EnergySourceHelper() [constructor] - cls.add_constructor([]) - ## energy-model-helper.h: ns3::EnergySourceHelper::EnergySourceHelper(ns3::EnergySourceHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnergySourceHelper const &', 'arg0')]) - ## energy-model-helper.h: ns3::EnergySourceContainer ns3::EnergySourceHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::EnergySourceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## energy-model-helper.h: ns3::EnergySourceContainer ns3::EnergySourceHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::EnergySourceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## energy-model-helper.h: ns3::EnergySourceContainer ns3::EnergySourceHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::EnergySourceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## energy-model-helper.h: ns3::EnergySourceContainer ns3::EnergySourceHelper::InstallAll() const [member function] - cls.add_method('InstallAll', - 'ns3::EnergySourceContainer', - [], - is_const=True) - ## energy-model-helper.h: void ns3::EnergySourceHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_pure_virtual=True, is_virtual=True) - ## energy-model-helper.h: ns3::Ptr ns3::EnergySourceHelper::DoInstall(ns3::Ptr node) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::EnergySource >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RvBatteryModelHelper_methods(root_module, cls): - ## rv-battery-model-helper.h: ns3::RvBatteryModelHelper::RvBatteryModelHelper(ns3::RvBatteryModelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RvBatteryModelHelper const &', 'arg0')]) - ## rv-battery-model-helper.h: ns3::RvBatteryModelHelper::RvBatteryModelHelper() [constructor] - cls.add_constructor([]) - ## rv-battery-model-helper.h: void ns3::RvBatteryModelHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_virtual=True) - ## rv-battery-model-helper.h: ns3::Ptr ns3::RvBatteryModelHelper::DoInstall(ns3::Ptr node) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::EnergySource >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiRadioEnergyModelHelper_methods(root_module, cls): - ## wifi-radio-energy-model-helper.h: ns3::WifiRadioEnergyModelHelper::WifiRadioEnergyModelHelper(ns3::WifiRadioEnergyModelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRadioEnergyModelHelper const &', 'arg0')]) - ## wifi-radio-energy-model-helper.h: ns3::WifiRadioEnergyModelHelper::WifiRadioEnergyModelHelper() [constructor] - cls.add_constructor([]) - ## wifi-radio-energy-model-helper.h: void ns3::WifiRadioEnergyModelHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_virtual=True) - ## wifi-radio-energy-model-helper.h: void ns3::WifiRadioEnergyModelHelper::SetDepletionCallback(ns3::Callback callback) [member function] - cls.add_method('SetDepletionCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## wifi-radio-energy-model-helper.h: ns3::Ptr ns3::WifiRadioEnergyModelHelper::DoInstall(ns3::Ptr device, ns3::Ptr source) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::DeviceEnergyModel >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiRadioEnergyModelPhyListener_methods(root_module, cls): - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModelPhyListener::WifiRadioEnergyModelPhyListener(ns3::WifiRadioEnergyModelPhyListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRadioEnergyModelPhyListener const &', 'arg0')]) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModelPhyListener::WifiRadioEnergyModelPhyListener() [constructor] - cls.add_constructor([]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyMaybeCcaBusyStart(ns3::Time duration) [member function] - cls.add_method('NotifyMaybeCcaBusyStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyRxEndError() [member function] - cls.add_method('NotifyRxEndError', - 'void', - [], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyRxEndOk() [member function] - cls.add_method('NotifyRxEndOk', - 'void', - [], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyRxStart(ns3::Time duration) [member function] - cls.add_method('NotifyRxStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifySwitchingStart(ns3::Time duration) [member function] - cls.add_method('NotifySwitchingStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::NotifyTxStart(ns3::Time duration) [member function] - cls.add_method('NotifyTxStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModelPhyListener::SetChangeStateCallback(ns3::Callback callback) [member function] - cls.add_method('SetChangeStateCallback', - 'void', - [param('ns3::Callback< void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - return - -def register_Ns3BasicEnergySourceHelper_methods(root_module, cls): - ## basic-energy-source-helper.h: ns3::BasicEnergySourceHelper::BasicEnergySourceHelper(ns3::BasicEnergySourceHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BasicEnergySourceHelper const &', 'arg0')]) - ## basic-energy-source-helper.h: ns3::BasicEnergySourceHelper::BasicEnergySourceHelper() [constructor] - cls.add_constructor([]) - ## basic-energy-source-helper.h: void ns3::BasicEnergySourceHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_virtual=True) - ## basic-energy-source-helper.h: ns3::Ptr ns3::BasicEnergySourceHelper::DoInstall(ns3::Ptr node) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::EnergySource >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3DeviceEnergyModel_methods(root_module, cls): - ## device-energy-model.h: ns3::DeviceEnergyModel::DeviceEnergyModel(ns3::DeviceEnergyModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DeviceEnergyModel const &', 'arg0')]) - ## device-energy-model.h: ns3::DeviceEnergyModel::DeviceEnergyModel() [constructor] - cls.add_constructor([]) - ## device-energy-model.h: void ns3::DeviceEnergyModel::ChangeState(int newState) [member function] - cls.add_method('ChangeState', - 'void', - [param('int', 'newState')], - is_pure_virtual=True, is_virtual=True) - ## device-energy-model.h: double ns3::DeviceEnergyModel::GetCurrentA() const [member function] - cls.add_method('GetCurrentA', - 'double', - [], - is_const=True) - ## device-energy-model.h: double ns3::DeviceEnergyModel::GetTotalEnergyConsumption() const [member function] - cls.add_method('GetTotalEnergyConsumption', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## device-energy-model.h: static ns3::TypeId ns3::DeviceEnergyModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## device-energy-model.h: void ns3::DeviceEnergyModel::HandleEnergyDepletion() [member function] - cls.add_method('HandleEnergyDepletion', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## device-energy-model.h: void ns3::DeviceEnergyModel::SetEnergySource(ns3::Ptr source) [member function] - cls.add_method('SetEnergySource', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_pure_virtual=True, is_virtual=True) - ## device-energy-model.h: double ns3::DeviceEnergyModel::DoGetCurrentA() const [member function] - cls.add_method('DoGetCurrentA', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3EnergySource_methods(root_module, cls): - ## energy-source.h: ns3::EnergySource::EnergySource(ns3::EnergySource const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnergySource const &', 'arg0')]) - ## energy-source.h: ns3::EnergySource::EnergySource() [constructor] - cls.add_constructor([]) - ## energy-source.h: void ns3::EnergySource::AppendDeviceEnergyModel(ns3::Ptr deviceEnergyModelPtr) [member function] - cls.add_method('AppendDeviceEnergyModel', - 'void', - [param('ns3::Ptr< ns3::DeviceEnergyModel >', 'deviceEnergyModelPtr')]) - ## energy-source.h: void ns3::EnergySource::DisposeDeviceModels() [member function] - cls.add_method('DisposeDeviceModels', - 'void', - []) - ## energy-source.h: ns3::DeviceEnergyModelContainer ns3::EnergySource::FindDeviceEnergyModels(ns3::TypeId tid) [member function] - cls.add_method('FindDeviceEnergyModels', - 'ns3::DeviceEnergyModelContainer', - [param('ns3::TypeId', 'tid')]) - ## energy-source.h: ns3::DeviceEnergyModelContainer ns3::EnergySource::FindDeviceEnergyModels(std::string name) [member function] - cls.add_method('FindDeviceEnergyModels', - 'ns3::DeviceEnergyModelContainer', - [param('std::string', 'name')]) - ## energy-source.h: double ns3::EnergySource::GetEnergyFraction() [member function] - cls.add_method('GetEnergyFraction', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## energy-source.h: double ns3::EnergySource::GetInitialEnergy() const [member function] - cls.add_method('GetInitialEnergy', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## energy-source.h: ns3::Ptr ns3::EnergySource::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## energy-source.h: double ns3::EnergySource::GetRemainingEnergy() [member function] - cls.add_method('GetRemainingEnergy', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## energy-source.h: double ns3::EnergySource::GetSupplyVoltage() const [member function] - cls.add_method('GetSupplyVoltage', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## energy-source.h: static ns3::TypeId ns3::EnergySource::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## energy-source.h: void ns3::EnergySource::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## energy-source.h: void ns3::EnergySource::StartDeviceModels() [member function] - cls.add_method('StartDeviceModels', - 'void', - []) - ## energy-source.h: void ns3::EnergySource::UpdateEnergySource() [member function] - cls.add_method('UpdateEnergySource', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## energy-source.h: void ns3::EnergySource::BreakDeviceEnergyModelRefCycle() [member function] - cls.add_method('BreakDeviceEnergyModelRefCycle', - 'void', - [], - visibility='protected') - ## energy-source.h: double ns3::EnergySource::CalculateTotalCurrent() [member function] - cls.add_method('CalculateTotalCurrent', - 'double', - [], - visibility='protected') - ## energy-source.h: void ns3::EnergySource::NotifyEnergyDrained() [member function] - cls.add_method('NotifyEnergyDrained', - 'void', - [], - visibility='protected') - ## energy-source.h: void ns3::EnergySource::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3EnergySourceContainer_methods(root_module, cls): - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer(ns3::EnergySourceContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnergySourceContainer const &', 'arg0')]) - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer() [constructor] - cls.add_constructor([]) - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer(ns3::Ptr source) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EnergySource >', 'source')]) - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer(std::string sourceName) [constructor] - cls.add_constructor([param('std::string', 'sourceName')]) - ## energy-source-container.h: ns3::EnergySourceContainer::EnergySourceContainer(ns3::EnergySourceContainer const & a, ns3::EnergySourceContainer const & b) [constructor] - cls.add_constructor([param('ns3::EnergySourceContainer const &', 'a'), param('ns3::EnergySourceContainer const &', 'b')]) - ## energy-source-container.h: void ns3::EnergySourceContainer::Add(ns3::EnergySourceContainer container) [member function] - cls.add_method('Add', - 'void', - [param('ns3::EnergySourceContainer', 'container')]) - ## energy-source-container.h: void ns3::EnergySourceContainer::Add(ns3::Ptr source) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')]) - ## energy-source-container.h: void ns3::EnergySourceContainer::Add(std::string sourceName) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'sourceName')]) - ## energy-source-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::EnergySourceContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::EnergySource > const, std::vector< ns3::Ptr< ns3::EnergySource > > >', - [], - is_const=True) - ## energy-source-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::EnergySourceContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::EnergySource > const, std::vector< ns3::Ptr< ns3::EnergySource > > >', - [], - is_const=True) - ## energy-source-container.h: ns3::Ptr ns3::EnergySourceContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::EnergySource >', - [param('uint32_t', 'i')], - is_const=True) - ## energy-source-container.h: uint32_t ns3::EnergySourceContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## energy-source-container.h: static ns3::TypeId ns3::EnergySourceContainer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## energy-source-container.h: void ns3::EnergySourceContainer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## energy-source-container.h: void ns3::EnergySourceContainer::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3LiIonEnergySource_methods(root_module, cls): - ## li-ion-energy-source.h: ns3::LiIonEnergySource::LiIonEnergySource(ns3::LiIonEnergySource const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LiIonEnergySource const &', 'arg0')]) - ## li-ion-energy-source.h: ns3::LiIonEnergySource::LiIonEnergySource() [constructor] - cls.add_constructor([]) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::DecreaseRemainingEnergy(double energyJ) [member function] - cls.add_method('DecreaseRemainingEnergy', - 'void', - [param('double', 'energyJ')], - is_virtual=True) - ## li-ion-energy-source.h: double ns3::LiIonEnergySource::GetEnergyFraction() [member function] - cls.add_method('GetEnergyFraction', - 'double', - [], - is_virtual=True) - ## li-ion-energy-source.h: ns3::Time ns3::LiIonEnergySource::GetEnergyUpdateInterval() const [member function] - cls.add_method('GetEnergyUpdateInterval', - 'ns3::Time', - [], - is_const=True) - ## li-ion-energy-source.h: double ns3::LiIonEnergySource::GetInitialEnergy() const [member function] - cls.add_method('GetInitialEnergy', - 'double', - [], - is_const=True, is_virtual=True) - ## li-ion-energy-source.h: double ns3::LiIonEnergySource::GetRemainingEnergy() [member function] - cls.add_method('GetRemainingEnergy', - 'double', - [], - is_virtual=True) - ## li-ion-energy-source.h: double ns3::LiIonEnergySource::GetSupplyVoltage() const [member function] - cls.add_method('GetSupplyVoltage', - 'double', - [], - is_const=True, is_virtual=True) - ## li-ion-energy-source.h: static ns3::TypeId ns3::LiIonEnergySource::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::IncreaseRemainingEnergy(double energyJ) [member function] - cls.add_method('IncreaseRemainingEnergy', - 'void', - [param('double', 'energyJ')], - is_virtual=True) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::SetEnergyUpdateInterval(ns3::Time interval) [member function] - cls.add_method('SetEnergyUpdateInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::SetInitialEnergy(double initialEnergyJ) [member function] - cls.add_method('SetInitialEnergy', - 'void', - [param('double', 'initialEnergyJ')]) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::SetInitialSupplyVoltage(double supplyVoltageV) [member function] - cls.add_method('SetInitialSupplyVoltage', - 'void', - [param('double', 'supplyVoltageV')]) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::UpdateEnergySource() [member function] - cls.add_method('UpdateEnergySource', - 'void', - [], - is_virtual=True) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## li-ion-energy-source.h: void ns3::LiIonEnergySource::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RvBatteryModel_methods(root_module, cls): - ## rv-battery-model.h: ns3::RvBatteryModel::RvBatteryModel(ns3::RvBatteryModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RvBatteryModel const &', 'arg0')]) - ## rv-battery-model.h: ns3::RvBatteryModel::RvBatteryModel() [constructor] - cls.add_constructor([]) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetAlpha() const [member function] - cls.add_method('GetAlpha', - 'double', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetBatteryLevel() [member function] - cls.add_method('GetBatteryLevel', - 'double', - []) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetBeta() const [member function] - cls.add_method('GetBeta', - 'double', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetCutoffVoltage() const [member function] - cls.add_method('GetCutoffVoltage', - 'double', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetEnergyFraction() [member function] - cls.add_method('GetEnergyFraction', - 'double', - [], - is_virtual=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetInitialEnergy() const [member function] - cls.add_method('GetInitialEnergy', - 'double', - [], - is_const=True, is_virtual=True) - ## rv-battery-model.h: ns3::Time ns3::RvBatteryModel::GetLifetime() const [member function] - cls.add_method('GetLifetime', - 'ns3::Time', - [], - is_const=True) - ## rv-battery-model.h: int ns3::RvBatteryModel::GetNumOfTerms() const [member function] - cls.add_method('GetNumOfTerms', - 'int', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetOpenCircuitVoltage() const [member function] - cls.add_method('GetOpenCircuitVoltage', - 'double', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetRemainingEnergy() [member function] - cls.add_method('GetRemainingEnergy', - 'double', - [], - is_virtual=True) - ## rv-battery-model.h: ns3::Time ns3::RvBatteryModel::GetSamplingInterval() const [member function] - cls.add_method('GetSamplingInterval', - 'ns3::Time', - [], - is_const=True) - ## rv-battery-model.h: double ns3::RvBatteryModel::GetSupplyVoltage() const [member function] - cls.add_method('GetSupplyVoltage', - 'double', - [], - is_const=True, is_virtual=True) - ## rv-battery-model.h: static ns3::TypeId ns3::RvBatteryModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetAlpha(double alpha) [member function] - cls.add_method('SetAlpha', - 'void', - [param('double', 'alpha')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetBeta(double beta) [member function] - cls.add_method('SetBeta', - 'void', - [param('double', 'beta')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetCutoffVoltage(double voltage) [member function] - cls.add_method('SetCutoffVoltage', - 'void', - [param('double', 'voltage')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetNumOfTerms(int num) [member function] - cls.add_method('SetNumOfTerms', - 'void', - [param('int', 'num')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetOpenCircuitVoltage(double voltage) [member function] - cls.add_method('SetOpenCircuitVoltage', - 'void', - [param('double', 'voltage')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::SetSamplingInterval(ns3::Time interval) [member function] - cls.add_method('SetSamplingInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## rv-battery-model.h: void ns3::RvBatteryModel::UpdateEnergySource() [member function] - cls.add_method('UpdateEnergySource', - 'void', - [], - is_virtual=True) - ## rv-battery-model.h: void ns3::RvBatteryModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## rv-battery-model.h: void ns3::RvBatteryModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3SimpleDeviceEnergyModel_methods(root_module, cls): - ## simple-device-energy-model.h: ns3::SimpleDeviceEnergyModel::SimpleDeviceEnergyModel(ns3::SimpleDeviceEnergyModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleDeviceEnergyModel const &', 'arg0')]) - ## simple-device-energy-model.h: ns3::SimpleDeviceEnergyModel::SimpleDeviceEnergyModel() [constructor] - cls.add_constructor([]) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::ChangeState(int newState) [member function] - cls.add_method('ChangeState', - 'void', - [param('int', 'newState')], - is_virtual=True) - ## simple-device-energy-model.h: ns3::Ptr ns3::SimpleDeviceEnergyModel::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## simple-device-energy-model.h: double ns3::SimpleDeviceEnergyModel::GetTotalEnergyConsumption() const [member function] - cls.add_method('GetTotalEnergyConsumption', - 'double', - [], - is_const=True, is_virtual=True) - ## simple-device-energy-model.h: static ns3::TypeId ns3::SimpleDeviceEnergyModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::HandleEnergyDepletion() [member function] - cls.add_method('HandleEnergyDepletion', - 'void', - [], - is_virtual=True) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::SetCurrentA(double current) [member function] - cls.add_method('SetCurrentA', - 'void', - [param('double', 'current')]) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::SetEnergySource(ns3::Ptr source) [member function] - cls.add_method('SetEnergySource', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_virtual=True) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## simple-device-energy-model.h: void ns3::SimpleDeviceEnergyModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## simple-device-energy-model.h: double ns3::SimpleDeviceEnergyModel::DoGetCurrentA() const [member function] - cls.add_method('DoGetCurrentA', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiRadioEnergyModel_methods(root_module, cls): - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModel::WifiRadioEnergyModel(ns3::WifiRadioEnergyModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRadioEnergyModel const &', 'arg0')]) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModel::WifiRadioEnergyModel() [constructor] - cls.add_constructor([]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::ChangeState(int newState) [member function] - cls.add_method('ChangeState', - 'void', - [param('int', 'newState')], - is_virtual=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetCcaBusyCurrentA() const [member function] - cls.add_method('GetCcaBusyCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: ns3::WifiPhy::State ns3::WifiRadioEnergyModel::GetCurrentState() const [member function] - cls.add_method('GetCurrentState', - 'ns3::WifiPhy::State', - [], - is_const=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetIdleCurrentA() const [member function] - cls.add_method('GetIdleCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: ns3::WifiRadioEnergyModelPhyListener * ns3::WifiRadioEnergyModel::GetPhyListener() [member function] - cls.add_method('GetPhyListener', - 'ns3::WifiRadioEnergyModelPhyListener *', - []) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetRxCurrentA() const [member function] - cls.add_method('GetRxCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetSwitchingCurrentA() const [member function] - cls.add_method('GetSwitchingCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetTotalEnergyConsumption() const [member function] - cls.add_method('GetTotalEnergyConsumption', - 'double', - [], - is_const=True, is_virtual=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::GetTxCurrentA() const [member function] - cls.add_method('GetTxCurrentA', - 'double', - [], - is_const=True) - ## wifi-radio-energy-model.h: static ns3::TypeId ns3::WifiRadioEnergyModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::HandleEnergyDepletion() [member function] - cls.add_method('HandleEnergyDepletion', - 'void', - [], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetCcaBusyCurrentA(double ccaBusyCurrentA) [member function] - cls.add_method('SetCcaBusyCurrentA', - 'void', - [param('double', 'ccaBusyCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetEnergyDepletionCallback(ns3::Callback callback) [member function] - cls.add_method('SetEnergyDepletionCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetEnergySource(ns3::Ptr source) [member function] - cls.add_method('SetEnergySource', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_virtual=True) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetIdleCurrentA(double idleCurrentA) [member function] - cls.add_method('SetIdleCurrentA', - 'void', - [param('double', 'idleCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetRxCurrentA(double rxCurrentA) [member function] - cls.add_method('SetRxCurrentA', - 'void', - [param('double', 'rxCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetSwitchingCurrentA(double switchingCurrentA) [member function] - cls.add_method('SetSwitchingCurrentA', - 'void', - [param('double', 'switchingCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::SetTxCurrentA(double txCurrentA) [member function] - cls.add_method('SetTxCurrentA', - 'void', - [param('double', 'txCurrentA')]) - ## wifi-radio-energy-model.h: void ns3::WifiRadioEnergyModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## wifi-radio-energy-model.h: double ns3::WifiRadioEnergyModel::DoGetCurrentA() const [member function] - cls.add_method('DoGetCurrentA', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3BasicEnergySource_methods(root_module, cls): - ## basic-energy-source.h: ns3::BasicEnergySource::BasicEnergySource(ns3::BasicEnergySource const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BasicEnergySource const &', 'arg0')]) - ## basic-energy-source.h: ns3::BasicEnergySource::BasicEnergySource() [constructor] - cls.add_constructor([]) - ## basic-energy-source.h: double ns3::BasicEnergySource::GetEnergyFraction() [member function] - cls.add_method('GetEnergyFraction', - 'double', - [], - is_virtual=True) - ## basic-energy-source.h: ns3::Time ns3::BasicEnergySource::GetEnergyUpdateInterval() const [member function] - cls.add_method('GetEnergyUpdateInterval', - 'ns3::Time', - [], - is_const=True) - ## basic-energy-source.h: double ns3::BasicEnergySource::GetInitialEnergy() const [member function] - cls.add_method('GetInitialEnergy', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-energy-source.h: double ns3::BasicEnergySource::GetRemainingEnergy() [member function] - cls.add_method('GetRemainingEnergy', - 'double', - [], - is_virtual=True) - ## basic-energy-source.h: double ns3::BasicEnergySource::GetSupplyVoltage() const [member function] - cls.add_method('GetSupplyVoltage', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-energy-source.h: static ns3::TypeId ns3::BasicEnergySource::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## basic-energy-source.h: void ns3::BasicEnergySource::SetEnergyUpdateInterval(ns3::Time interval) [member function] - cls.add_method('SetEnergyUpdateInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## basic-energy-source.h: void ns3::BasicEnergySource::SetInitialEnergy(double initialEnergyJ) [member function] - cls.add_method('SetInitialEnergy', - 'void', - [param('double', 'initialEnergyJ')]) - ## basic-energy-source.h: void ns3::BasicEnergySource::SetSupplyVoltage(double supplyVoltageV) [member function] - cls.add_method('SetSupplyVoltage', - 'void', - [param('double', 'supplyVoltageV')]) - ## basic-energy-source.h: void ns3::BasicEnergySource::UpdateEnergySource() [member function] - cls.add_method('UpdateEnergySource', - 'void', - [], - is_virtual=True) - ## basic-energy-source.h: void ns3::BasicEnergySource::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## basic-energy-source.h: void ns3::BasicEnergySource::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_flow_monitor.py b/bindings/python/apidefs/gcc-LP64/ns3_module_flow_monitor.py deleted file mode 100644 index 4aff5e474..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_flow_monitor.py +++ /dev/null @@ -1,494 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## flow-monitor-helper.h: ns3::FlowMonitorHelper [class] - module.add_class('FlowMonitorHelper') - ## histogram.h: ns3::Histogram [class] - module.add_class('Histogram') - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FlowClassifier', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::FlowProbe', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## flow-classifier.h: ns3::FlowClassifier [class] - module.add_class('FlowClassifier', parent=root_module['ns3::SimpleRefCount< ns3::FlowClassifier, ns3::empty, ns3::DefaultDeleter >']) - ## flow-monitor.h: ns3::FlowMonitor [class] - module.add_class('FlowMonitor', parent=root_module['ns3::Object']) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats [struct] - module.add_class('FlowStats', outer_class=root_module['ns3::FlowMonitor']) - ## flow-probe.h: ns3::FlowProbe [class] - module.add_class('FlowProbe', parent=root_module['ns3::SimpleRefCount< ns3::FlowProbe, ns3::empty, ns3::DefaultDeleter >']) - ## flow-probe.h: ns3::FlowProbe::FlowStats [struct] - module.add_class('FlowStats', outer_class=root_module['ns3::FlowProbe']) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier [class] - module.add_class('Ipv4FlowClassifier', parent=root_module['ns3::FlowClassifier']) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple [struct] - module.add_class('FiveTuple', outer_class=root_module['ns3::Ipv4FlowClassifier']) - ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe [class] - module.add_class('Ipv4FlowProbe', parent=root_module['ns3::FlowProbe']) - ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_NO_ROUTE', 'DROP_TTL_EXPIRE', 'DROP_BAD_CHECKSUM', 'DROP_QUEUE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_INVALID_REASON'], outer_class=root_module['ns3::Ipv4FlowProbe']) - module.add_container('std::map< unsigned int, ns3::FlowMonitor::FlowStats >', ('unsigned int', 'ns3::FlowMonitor::FlowStats'), container_type='map') - module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map') - typehandlers.add_type_alias('uint32_t', 'ns3::FlowPacketId') - typehandlers.add_type_alias('uint32_t*', 'ns3::FlowPacketId*') - typehandlers.add_type_alias('uint32_t&', 'ns3::FlowPacketId&') - typehandlers.add_type_alias('uint32_t', 'ns3::FlowId') - typehandlers.add_type_alias('uint32_t*', 'ns3::FlowId*') - typehandlers.add_type_alias('uint32_t&', 'ns3::FlowId&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3FlowMonitorHelper_methods(root_module, root_module['ns3::FlowMonitorHelper']) - register_Ns3Histogram_methods(root_module, root_module['ns3::Histogram']) - register_Ns3FlowClassifier_methods(root_module, root_module['ns3::FlowClassifier']) - register_Ns3FlowMonitor_methods(root_module, root_module['ns3::FlowMonitor']) - register_Ns3FlowMonitorFlowStats_methods(root_module, root_module['ns3::FlowMonitor::FlowStats']) - register_Ns3FlowProbe_methods(root_module, root_module['ns3::FlowProbe']) - register_Ns3FlowProbeFlowStats_methods(root_module, root_module['ns3::FlowProbe::FlowStats']) - register_Ns3Ipv4FlowClassifier_methods(root_module, root_module['ns3::Ipv4FlowClassifier']) - register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, root_module['ns3::Ipv4FlowClassifier::FiveTuple']) - register_Ns3Ipv4FlowProbe_methods(root_module, root_module['ns3::Ipv4FlowProbe']) - return - -def register_Ns3FlowMonitorHelper_methods(root_module, cls): - ## flow-monitor-helper.h: ns3::FlowMonitorHelper::FlowMonitorHelper(ns3::FlowMonitorHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowMonitorHelper const &', 'arg0')]) - ## flow-monitor-helper.h: ns3::FlowMonitorHelper::FlowMonitorHelper() [constructor] - cls.add_constructor([]) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::GetClassifier() [member function] - cls.add_method('GetClassifier', - 'ns3::Ptr< ns3::FlowClassifier >', - []) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::GetMonitor() [member function] - cls.add_method('GetMonitor', - 'ns3::Ptr< ns3::FlowMonitor >', - []) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::Install(ns3::NodeContainer nodes) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::FlowMonitor >', - [param('ns3::NodeContainer', 'nodes')]) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::Install(ns3::Ptr node) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::FlowMonitor >', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## flow-monitor-helper.h: ns3::Ptr ns3::FlowMonitorHelper::InstallAll() [member function] - cls.add_method('InstallAll', - 'ns3::Ptr< ns3::FlowMonitor >', - []) - ## flow-monitor-helper.h: void ns3::FlowMonitorHelper::SetMonitorAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetMonitorAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - return - -def register_Ns3Histogram_methods(root_module, cls): - ## histogram.h: ns3::Histogram::Histogram(ns3::Histogram const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Histogram const &', 'arg0')]) - ## histogram.h: ns3::Histogram::Histogram(double binWidth) [constructor] - cls.add_constructor([param('double', 'binWidth')]) - ## histogram.h: ns3::Histogram::Histogram() [constructor] - cls.add_constructor([]) - ## histogram.h: void ns3::Histogram::AddValue(double value) [member function] - cls.add_method('AddValue', - 'void', - [param('double', 'value')]) - ## histogram.h: uint32_t ns3::Histogram::GetBinCount(uint32_t index) [member function] - cls.add_method('GetBinCount', - 'uint32_t', - [param('uint32_t', 'index')]) - ## histogram.h: double ns3::Histogram::GetBinEnd(uint32_t index) [member function] - cls.add_method('GetBinEnd', - 'double', - [param('uint32_t', 'index')]) - ## histogram.h: double ns3::Histogram::GetBinStart(uint32_t index) [member function] - cls.add_method('GetBinStart', - 'double', - [param('uint32_t', 'index')]) - ## histogram.h: double ns3::Histogram::GetBinWidth(uint32_t index) const [member function] - cls.add_method('GetBinWidth', - 'double', - [param('uint32_t', 'index')], - is_const=True) - ## histogram.h: uint32_t ns3::Histogram::GetNBins() const [member function] - cls.add_method('GetNBins', - 'uint32_t', - [], - is_const=True) - ## histogram.h: void ns3::Histogram::SerializeToXmlStream(std::ostream & os, int indent, std::string elementName) const [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent'), param('std::string', 'elementName')], - is_const=True) - ## histogram.h: void ns3::Histogram::SetDefaultBinWidth(double binWidth) [member function] - cls.add_method('SetDefaultBinWidth', - 'void', - [param('double', 'binWidth')]) - return - -def register_Ns3FlowClassifier_methods(root_module, cls): - ## flow-classifier.h: ns3::FlowClassifier::FlowClassifier() [constructor] - cls.add_constructor([]) - ## flow-classifier.h: void ns3::FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## flow-classifier.h: ns3::FlowId ns3::FlowClassifier::GetNewFlowId() [member function] - cls.add_method('GetNewFlowId', - 'ns3::FlowId', - [], - visibility='protected') - return - -def register_Ns3FlowMonitor_methods(root_module, cls): - ## flow-monitor.h: ns3::FlowMonitor::FlowMonitor(ns3::FlowMonitor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowMonitor const &', 'arg0')]) - ## flow-monitor.h: ns3::FlowMonitor::FlowMonitor() [constructor] - cls.add_constructor([]) - ## flow-monitor.h: void ns3::FlowMonitor::AddProbe(ns3::Ptr probe) [member function] - cls.add_method('AddProbe', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe')]) - ## flow-monitor.h: void ns3::FlowMonitor::CheckForLostPackets() [member function] - cls.add_method('CheckForLostPackets', - 'void', - []) - ## flow-monitor.h: void ns3::FlowMonitor::CheckForLostPackets(ns3::Time maxDelay) [member function] - cls.add_method('CheckForLostPackets', - 'void', - [param('ns3::Time', 'maxDelay')]) - ## flow-monitor.h: std::vector, std::allocator > > ns3::FlowMonitor::GetAllProbes() const [member function] - cls.add_method('GetAllProbes', - 'std::vector< ns3::Ptr< ns3::FlowProbe > >', - [], - is_const=True) - ## flow-monitor.h: std::map, std::allocator > > ns3::FlowMonitor::GetFlowStats() const [member function] - cls.add_method('GetFlowStats', - 'std::map< unsigned int, ns3::FlowMonitor::FlowStats >', - [], - is_const=True) - ## flow-monitor.h: ns3::TypeId ns3::FlowMonitor::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## flow-monitor.h: static ns3::TypeId ns3::FlowMonitor::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flow-monitor.h: void ns3::FlowMonitor::ReportDrop(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize, uint32_t reasonCode) [member function] - cls.add_method('ReportDrop', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')]) - ## flow-monitor.h: void ns3::FlowMonitor::ReportFirstTx(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize) [member function] - cls.add_method('ReportFirstTx', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize')]) - ## flow-monitor.h: void ns3::FlowMonitor::ReportForwarding(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize) [member function] - cls.add_method('ReportForwarding', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize')]) - ## flow-monitor.h: void ns3::FlowMonitor::ReportLastRx(ns3::Ptr probe, ns3::FlowId flowId, ns3::FlowPacketId packetId, uint32_t packetSize) [member function] - cls.add_method('ReportLastRx', - 'void', - [param('ns3::Ptr< ns3::FlowProbe >', 'probe'), param('ns3::FlowId', 'flowId'), param('ns3::FlowPacketId', 'packetId'), param('uint32_t', 'packetSize')]) - ## flow-monitor.h: void ns3::FlowMonitor::SerializeToXmlFile(std::string fileName, bool enableHistograms, bool enableProbes) [member function] - cls.add_method('SerializeToXmlFile', - 'void', - [param('std::string', 'fileName'), param('bool', 'enableHistograms'), param('bool', 'enableProbes')]) - ## flow-monitor.h: void ns3::FlowMonitor::SerializeToXmlStream(std::ostream & os, int indent, bool enableHistograms, bool enableProbes) [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent'), param('bool', 'enableHistograms'), param('bool', 'enableProbes')]) - ## flow-monitor.h: std::string ns3::FlowMonitor::SerializeToXmlString(int indent, bool enableHistograms, bool enableProbes) [member function] - cls.add_method('SerializeToXmlString', - 'std::string', - [param('int', 'indent'), param('bool', 'enableHistograms'), param('bool', 'enableProbes')]) - ## flow-monitor.h: void ns3::FlowMonitor::SetFlowClassifier(ns3::Ptr classifier) [member function] - cls.add_method('SetFlowClassifier', - 'void', - [param('ns3::Ptr< ns3::FlowClassifier >', 'classifier')]) - ## flow-monitor.h: void ns3::FlowMonitor::Start(ns3::Time const & time) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time const &', 'time')]) - ## flow-monitor.h: void ns3::FlowMonitor::StartRightNow() [member function] - cls.add_method('StartRightNow', - 'void', - []) - ## flow-monitor.h: void ns3::FlowMonitor::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')]) - ## flow-monitor.h: void ns3::FlowMonitor::StopRightNow() [member function] - cls.add_method('StopRightNow', - 'void', - []) - ## flow-monitor.h: void ns3::FlowMonitor::NotifyConstructionCompleted() [member function] - cls.add_method('NotifyConstructionCompleted', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3FlowMonitorFlowStats_methods(root_module, cls): - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::FlowStats() [constructor] - cls.add_constructor([]) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::FlowStats(ns3::FlowMonitor::FlowStats const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowMonitor::FlowStats const &', 'arg0')]) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::bytesDropped [variable] - cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long >', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::delayHistogram [variable] - cls.add_instance_attribute('delayHistogram', 'ns3::Histogram', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::delaySum [variable] - cls.add_instance_attribute('delaySum', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::flowInterruptionsHistogram [variable] - cls.add_instance_attribute('flowInterruptionsHistogram', 'ns3::Histogram', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::jitterHistogram [variable] - cls.add_instance_attribute('jitterHistogram', 'ns3::Histogram', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::jitterSum [variable] - cls.add_instance_attribute('jitterSum', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::lastDelay [variable] - cls.add_instance_attribute('lastDelay', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::lostPackets [variable] - cls.add_instance_attribute('lostPackets', 'uint32_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::packetSizeHistogram [variable] - cls.add_instance_attribute('packetSizeHistogram', 'ns3::Histogram', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::packetsDropped [variable] - cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::rxBytes [variable] - cls.add_instance_attribute('rxBytes', 'uint64_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::rxPackets [variable] - cls.add_instance_attribute('rxPackets', 'uint32_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeFirstRxPacket [variable] - cls.add_instance_attribute('timeFirstRxPacket', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeFirstTxPacket [variable] - cls.add_instance_attribute('timeFirstTxPacket', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeLastRxPacket [variable] - cls.add_instance_attribute('timeLastRxPacket', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timeLastTxPacket [variable] - cls.add_instance_attribute('timeLastTxPacket', 'ns3::Time', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::timesForwarded [variable] - cls.add_instance_attribute('timesForwarded', 'uint32_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::txBytes [variable] - cls.add_instance_attribute('txBytes', 'uint64_t', is_const=False) - ## flow-monitor.h: ns3::FlowMonitor::FlowStats::txPackets [variable] - cls.add_instance_attribute('txPackets', 'uint32_t', is_const=False) - return - -def register_Ns3FlowProbe_methods(root_module, cls): - ## flow-probe.h: void ns3::FlowProbe::AddPacketDropStats(ns3::FlowId flowId, uint32_t packetSize, uint32_t reasonCode) [member function] - cls.add_method('AddPacketDropStats', - 'void', - [param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('uint32_t', 'reasonCode')]) - ## flow-probe.h: void ns3::FlowProbe::AddPacketStats(ns3::FlowId flowId, uint32_t packetSize, ns3::Time delayFromFirstProbe) [member function] - cls.add_method('AddPacketStats', - 'void', - [param('ns3::FlowId', 'flowId'), param('uint32_t', 'packetSize'), param('ns3::Time', 'delayFromFirstProbe')]) - ## flow-probe.h: std::map, std::allocator > > ns3::FlowProbe::GetStats() const [member function] - cls.add_method('GetStats', - 'std::map< unsigned int, ns3::FlowProbe::FlowStats >', - [], - is_const=True) - ## flow-probe.h: void ns3::FlowProbe::SerializeToXmlStream(std::ostream & os, int indent, uint32_t index) const [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent'), param('uint32_t', 'index')], - is_const=True) - ## flow-probe.h: ns3::FlowProbe::FlowProbe(ns3::Ptr flowMonitor) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'flowMonitor')], - visibility='protected') - return - -def register_Ns3FlowProbeFlowStats_methods(root_module, cls): - ## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats(ns3::FlowProbe::FlowStats const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowProbe::FlowStats const &', 'arg0')]) - ## flow-probe.h: ns3::FlowProbe::FlowStats::FlowStats() [constructor] - cls.add_constructor([]) - ## flow-probe.h: ns3::FlowProbe::FlowStats::bytes [variable] - cls.add_instance_attribute('bytes', 'uint64_t', is_const=False) - ## flow-probe.h: ns3::FlowProbe::FlowStats::bytesDropped [variable] - cls.add_instance_attribute('bytesDropped', 'std::vector< unsigned long >', is_const=False) - ## flow-probe.h: ns3::FlowProbe::FlowStats::delayFromFirstProbeSum [variable] - cls.add_instance_attribute('delayFromFirstProbeSum', 'ns3::Time', is_const=False) - ## flow-probe.h: ns3::FlowProbe::FlowStats::packets [variable] - cls.add_instance_attribute('packets', 'uint32_t', is_const=False) - ## flow-probe.h: ns3::FlowProbe::FlowStats::packetsDropped [variable] - cls.add_instance_attribute('packetsDropped', 'std::vector< unsigned int >', is_const=False) - return - -def register_Ns3Ipv4FlowClassifier_methods(root_module, cls): - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::Ipv4FlowClassifier() [constructor] - cls.add_constructor([]) - ## ipv4-flow-classifier.h: bool ns3::Ipv4FlowClassifier::Classify(ns3::Ipv4Header const & ipHeader, ns3::Ptr ipPayload, uint32_t * out_flowId, uint32_t * out_packetId) [member function] - cls.add_method('Classify', - 'bool', - [param('ns3::Ipv4Header const &', 'ipHeader'), param('ns3::Ptr< ns3::Packet const >', 'ipPayload'), param('uint32_t *', 'out_flowId'), param('uint32_t *', 'out_packetId')]) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple ns3::Ipv4FlowClassifier::FindFlow(ns3::FlowId flowId) const [member function] - cls.add_method('FindFlow', - 'ns3::Ipv4FlowClassifier::FiveTuple', - [param('ns3::FlowId', 'flowId')], - is_const=True) - ## ipv4-flow-classifier.h: void ns3::Ipv4FlowClassifier::SerializeToXmlStream(std::ostream & os, int indent) const [member function] - cls.add_method('SerializeToXmlStream', - 'void', - [param('std::ostream &', 'os'), param('int', 'indent')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv4FlowClassifierFiveTuple_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple() [constructor] - cls.add_constructor([]) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::FiveTuple(ns3::Ipv4FlowClassifier::FiveTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4FlowClassifier::FiveTuple const &', 'arg0')]) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationAddress [variable] - cls.add_instance_attribute('destinationAddress', 'ns3::Ipv4Address', is_const=False) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::destinationPort [variable] - cls.add_instance_attribute('destinationPort', 'uint16_t', is_const=False) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::protocol [variable] - cls.add_instance_attribute('protocol', 'uint8_t', is_const=False) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourceAddress [variable] - cls.add_instance_attribute('sourceAddress', 'ns3::Ipv4Address', is_const=False) - ## ipv4-flow-classifier.h: ns3::Ipv4FlowClassifier::FiveTuple::sourcePort [variable] - cls.add_instance_attribute('sourcePort', 'uint16_t', is_const=False) - return - -def register_Ns3Ipv4FlowProbe_methods(root_module, cls): - ## ipv4-flow-probe.h: ns3::Ipv4FlowProbe::Ipv4FlowProbe(ns3::Ptr monitor, ns3::Ptr classifier, ns3::Ptr node) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::FlowMonitor >', 'monitor'), param('ns3::Ptr< ns3::Ipv4FlowClassifier >', 'classifier'), param('ns3::Ptr< ns3::Node >', 'node')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_internet.py b/bindings/python/apidefs/gcc-LP64/ns3_module_internet.py deleted file mode 100644 index 59861eca7..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_internet.py +++ /dev/null @@ -1,7760 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## tcp-socket.h: ns3::TcpStates_t [enumeration] - module.add_enum('TcpStates_t', ['CLOSED', 'LISTEN', 'SYN_SENT', 'SYN_RCVD', 'ESTABLISHED', 'CLOSE_WAIT', 'LAST_ACK', 'FIN_WAIT_1', 'FIN_WAIT_2', 'CLOSING', 'TIME_WAIT', 'LAST_STATE']) - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4 [class] - module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True) - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6 [class] - module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True) - ## candidate-queue.h: ns3::CandidateQueue [class] - module.add_class('CandidateQueue') - ## global-route-manager.h: ns3::GlobalRouteManager [class] - module.add_class('GlobalRouteManager') - ## global-route-manager-impl.h: ns3::GlobalRouteManagerImpl [class] - module.add_class('GlobalRouteManagerImpl', allow_subclassing=True) - ## global-route-manager-impl.h: ns3::GlobalRouteManagerLSDB [class] - module.add_class('GlobalRouteManagerLSDB') - ## global-router-interface.h: ns3::GlobalRoutingLSA [class] - module.add_class('GlobalRoutingLSA') - ## global-router-interface.h: ns3::GlobalRoutingLSA::LSType [enumeration] - module.add_enum('LSType', ['Unknown', 'RouterLSA', 'NetworkLSA', 'SummaryLSA', 'SummaryLSA_ASBR', 'ASExternalLSAs'], outer_class=root_module['ns3::GlobalRoutingLSA']) - ## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus [enumeration] - module.add_enum('SPFStatus', ['LSA_SPF_NOT_EXPLORED', 'LSA_SPF_CANDIDATE', 'LSA_SPF_IN_SPFTREE'], outer_class=root_module['ns3::GlobalRoutingLSA']) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord [class] - module.add_class('GlobalRoutingLinkRecord') - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType [enumeration] - module.add_enum('LinkType', ['Unknown', 'PointToPoint', 'TransitNetwork', 'StubNetwork', 'VirtualLink'], outer_class=root_module['ns3::GlobalRoutingLinkRecord']) - ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator [class] - module.add_class('Ipv4AddressGenerator') - ## ipv4-address-helper.h: ns3::Ipv4AddressHelper [class] - module.add_class('Ipv4AddressHelper') - ## ipv4-end-point.h: ns3::Ipv4EndPoint [class] - module.add_class('Ipv4EndPoint') - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress [class] - module.add_class('Ipv4InterfaceAddress') - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e [enumeration] - module.add_enum('InterfaceAddressScope_e', ['HOST', 'LINK', 'GLOBAL'], outer_class=root_module['ns3::Ipv4InterfaceAddress']) - ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer [class] - module.add_class('Ipv4InterfaceContainer') - ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry [class] - module.add_class('Ipv4MulticastRoutingTableEntry') - ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper [class] - module.add_class('Ipv4RoutingHelper', allow_subclassing=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry [class] - module.add_class('Ipv4RoutingTableEntry') - ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper [class] - module.add_class('Ipv4StaticRoutingHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## ipv6-address-helper.h: ns3::Ipv6AddressHelper [class] - module.add_class('Ipv6AddressHelper') - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress [class] - module.add_class('Ipv6InterfaceAddress') - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::State_e [enumeration] - module.add_enum('State_e', ['TENTATIVE', 'DEPRECATED', 'PREFERRED', 'PERMANENT', 'HOMEADDRESS', 'TENTATIVE_OPTIMISTIC', 'INVALID'], outer_class=root_module['ns3::Ipv6InterfaceAddress']) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Scope_e [enumeration] - module.add_enum('Scope_e', ['HOST', 'LINKLOCAL', 'GLOBAL'], outer_class=root_module['ns3::Ipv6InterfaceAddress']) - ## ipv6-interface-container.h: ns3::Ipv6InterfaceContainer [class] - module.add_class('Ipv6InterfaceContainer') - ## ipv6-routing-table-entry.h: ns3::Ipv6MulticastRoutingTableEntry [class] - module.add_class('Ipv6MulticastRoutingTableEntry') - ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper [class] - module.add_class('Ipv6RoutingHelper', allow_subclassing=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6RoutingTableEntry [class] - module.add_class('Ipv6RoutingTableEntry') - ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper [class] - module.add_class('Ipv6StaticRoutingHelper', parent=root_module['ns3::Ipv6RoutingHelper']) - ## ipv6-extension-header.h: ns3::OptionField [class] - module.add_class('OptionField') - ## internet-trace-helper.h: ns3::PcapHelperForIpv4 [class] - module.add_class('PcapHelperForIpv4', allow_subclassing=True) - ## internet-trace-helper.h: ns3::PcapHelperForIpv6 [class] - module.add_class('PcapHelperForIpv6', allow_subclassing=True) - ## global-route-manager-impl.h: ns3::SPFVertex [class] - module.add_class('SPFVertex') - ## global-route-manager-impl.h: ns3::SPFVertex::VertexType [enumeration] - module.add_enum('VertexType', ['VertexUnknown', 'VertexRouter', 'VertexNetwork'], outer_class=root_module['ns3::SPFVertex']) - ## icmpv4.h: ns3::Icmpv4DestinationUnreachable [class] - module.add_class('Icmpv4DestinationUnreachable', parent=root_module['ns3::Header']) - ## icmpv4.h: ns3::Icmpv4DestinationUnreachable [enumeration] - module.add_enum('', ['NET_UNREACHABLE', 'HOST_UNREACHABLE', 'PROTOCOL_UNREACHABLE', 'PORT_UNREACHABLE', 'FRAG_NEEDED', 'SOURCE_ROUTE_FAILED'], outer_class=root_module['ns3::Icmpv4DestinationUnreachable']) - ## icmpv4.h: ns3::Icmpv4Echo [class] - module.add_class('Icmpv4Echo', parent=root_module['ns3::Header']) - ## icmpv4.h: ns3::Icmpv4Header [class] - module.add_class('Icmpv4Header', parent=root_module['ns3::Header']) - ## icmpv4.h: ns3::Icmpv4Header [enumeration] - module.add_enum('', ['ECHO_REPLY', 'DEST_UNREACH', 'ECHO', 'TIME_EXCEEDED'], outer_class=root_module['ns3::Icmpv4Header']) - ## icmpv4.h: ns3::Icmpv4TimeExceeded [class] - module.add_class('Icmpv4TimeExceeded', parent=root_module['ns3::Header']) - ## icmpv4.h: ns3::Icmpv4TimeExceeded [enumeration] - module.add_enum('', ['TIME_TO_LIVE', 'FRAGMENT_REASSEMBLY'], outer_class=root_module['ns3::Icmpv4TimeExceeded']) - ## icmpv6-header.h: ns3::Icmpv6Header [class] - module.add_class('Icmpv6Header', parent=root_module['ns3::Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::Type_e [enumeration] - module.add_enum('Type_e', ['ICMPV6_ERROR_DESTINATION_UNREACHABLE', 'ICMPV6_ERROR_PACKET_TOO_BIG', 'ICMPV6_ERROR_TIME_EXCEEDED', 'ICMPV6_ERROR_PARAMETER_ERROR', 'ICMPV6_ECHO_REQUEST', 'ICMPV6_ECHO_REPLY', 'ICMPV6_SUBSCRIBE_REQUEST', 'ICMPV6_SUBSCRIBE_REPORT', 'ICMPV6_SUBSCRIVE_END', 'ICMPV6_ND_ROUTER_SOLICITATION', 'ICMPV6_ND_ROUTER_ADVERTISEMENT', 'ICMPV6_ND_NEIGHBOR_SOLICITATION', 'ICMPV6_ND_NEIGHBOR_ADVERTISEMENT', 'ICMPV6_ND_REDIRECTION', 'ICMPV6_ROUTER_RENUMBER', 'ICMPV6_INFORMATION_REQUEST', 'ICMPV6_INFORMATION_RESPONSE', 'ICMPV6_INVERSE_ND_SOLICITATION', 'ICMPV6_INVERSE_ND_ADVERSTISEMENT', 'ICMPV6_MLDV2_SUBSCRIBE_REPORT', 'ICMPV6_MOBILITY_HA_DISCOVER_REQUEST', 'ICMPV6_MOBILITY_HA_DISCOVER_RESPONSE', 'ICMPV6_MOBILITY_MOBILE_PREFIX_SOLICITATION', 'ICMPV6_SECURE_ND_CERTIFICATE_PATH_SOLICITATION', 'ICMPV6_SECURE_ND_CERTIFICATE_PATH_ADVERTISEMENT', 'ICMPV6_EXPERIMENTAL_MOBILITY'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::OptionType_e [enumeration] - module.add_enum('OptionType_e', ['ICMPV6_OPT_LINK_LAYER_SOURCE', 'ICMPV6_OPT_LINK_LAYER_TARGET', 'ICMPV6_OPT_PREFIX', 'ICMPV6_OPT_REDIRECTED', 'ICMPV6_OPT_MTU'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::ErrorDestinationUnreachable_e [enumeration] - module.add_enum('ErrorDestinationUnreachable_e', ['ICMPV6_NO_ROUTE', 'ICMPV6_ADM_PROHIBITED', 'ICMPV6_NOT_NEIGHBOUR', 'ICMPV6_ADDR_UNREACHABLE', 'ICMPV6_PORT_UNREACHABLE'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::ErrorTimeExceeded_e [enumeration] - module.add_enum('ErrorTimeExceeded_e', ['ICMPV6_HOPLIMIT', 'ICMPV6_FRAGTIME'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Header::ErrorParameterError_e [enumeration] - module.add_enum('ErrorParameterError_e', ['ICMPV6_MALFORMED_HEADER', 'ICMPV6_UNKNOWN_NEXT_HEADER', 'ICMPV6_UNKNOWN_OPTION'], outer_class=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6NA [class] - module.add_class('Icmpv6NA', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6NS [class] - module.add_class('Icmpv6NS', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6OptionHeader [class] - module.add_class('Icmpv6OptionHeader', parent=root_module['ns3::Header']) - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress [class] - module.add_class('Icmpv6OptionLinkLayerAddress', parent=root_module['ns3::Icmpv6OptionHeader']) - ## icmpv6-header.h: ns3::Icmpv6OptionMtu [class] - module.add_class('Icmpv6OptionMtu', parent=root_module['ns3::Icmpv6OptionHeader']) - ## icmpv6-header.h: ns3::Icmpv6OptionPrefixInformation [class] - module.add_class('Icmpv6OptionPrefixInformation', parent=root_module['ns3::Icmpv6OptionHeader']) - ## icmpv6-header.h: ns3::Icmpv6OptionRedirected [class] - module.add_class('Icmpv6OptionRedirected', parent=root_module['ns3::Icmpv6OptionHeader']) - ## icmpv6-header.h: ns3::Icmpv6ParameterError [class] - module.add_class('Icmpv6ParameterError', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6RA [class] - module.add_class('Icmpv6RA', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6RS [class] - module.add_class('Icmpv6RS', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Redirection [class] - module.add_class('Icmpv6Redirection', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6TimeExceeded [class] - module.add_class('Icmpv6TimeExceeded', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6TooBig [class] - module.add_class('Icmpv6TooBig', parent=root_module['ns3::Icmpv6Header']) - ## internet-stack-helper.h: ns3::InternetStackHelper [class] - module.add_class('InternetStackHelper', parent=[root_module['ns3::PcapHelperForIpv4'], root_module['ns3::PcapHelperForIpv6'], root_module['ns3::AsciiTraceHelperForIpv4'], root_module['ns3::AsciiTraceHelperForIpv6']]) - ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper [class] - module.add_class('Ipv4GlobalRoutingHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## ipv4-header.h: ns3::Ipv4Header [class] - module.add_class('Ipv4Header', parent=root_module['ns3::Header']) - ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper [class] - module.add_class('Ipv4ListRoutingHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## ipv4-packet-info-tag.h: ns3::Ipv4PacketInfoTag [class] - module.add_class('Ipv4PacketInfoTag', parent=root_module['ns3::Tag']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHeader [class] - module.add_class('Ipv6ExtensionHeader', parent=root_module['ns3::Header']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHopByHopHeader [class] - module.add_class('Ipv6ExtensionHopByHopHeader', parent=[root_module['ns3::Ipv6ExtensionHeader'], root_module['ns3::OptionField']]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionRoutingHeader [class] - module.add_class('Ipv6ExtensionRoutingHeader', parent=root_module['ns3::Ipv6ExtensionHeader']) - ## ipv6-header.h: ns3::Ipv6Header [class] - module.add_class('Ipv6Header', parent=root_module['ns3::Header']) - ## ipv6-header.h: ns3::Ipv6Header::NextHeader_e [enumeration] - module.add_enum('NextHeader_e', ['IPV6_EXT_HOP_BY_HOP', 'IPV6_IPV4', 'IPV6_TCP', 'IPV6_UDP', 'IPV6_IPV6', 'IPV6_EXT_ROUTING', 'IPV6_EXT_FRAGMENTATION', 'IPV6_EXT_CONFIDENTIALITY', 'IPV6_EXT_AUTHENTIFICATION', 'IPV6_ICMPV6', 'IPV6_EXT_END', 'IPV6_EXT_DESTINATION', 'IPV6_SCTP', 'IPV6_EXT_MOBILITY', 'IPV6_UDP_LITE'], outer_class=root_module['ns3::Ipv6Header']) - ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper [class] - module.add_class('Ipv6ListRoutingHelper', parent=root_module['ns3::Ipv6RoutingHelper']) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader [class] - module.add_class('Ipv6OptionHeader', parent=root_module['ns3::Header']) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment [struct] - module.add_class('Alignment', outer_class=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-option-header.h: ns3::Ipv6OptionJumbogramHeader [class] - module.add_class('Ipv6OptionJumbogramHeader', parent=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-option-header.h: ns3::Ipv6OptionPad1Header [class] - module.add_class('Ipv6OptionPad1Header', parent=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-option-header.h: ns3::Ipv6OptionPadnHeader [class] - module.add_class('Ipv6OptionPadnHeader', parent=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-option-header.h: ns3::Ipv6OptionRouterAlertHeader [class] - module.add_class('Ipv6OptionRouterAlertHeader', parent=root_module['ns3::Ipv6OptionHeader']) - ## ipv6-packet-info-tag.h: ns3::Ipv6PacketInfoTag [class] - module.add_class('Ipv6PacketInfoTag', parent=root_module['ns3::Tag']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Ipv6MulticastRoute', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Ipv6Route', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## tcp-header.h: ns3::TcpHeader [class] - module.add_class('TcpHeader', parent=root_module['ns3::Header']) - ## tcp-header.h: ns3::TcpHeader::Flags_t [enumeration] - module.add_enum('Flags_t', ['NONE', 'FIN', 'SYN', 'RST', 'PSH', 'ACK', 'URG'], outer_class=root_module['ns3::TcpHeader']) - ## tcp-socket.h: ns3::TcpSocket [class] - module.add_class('TcpSocket', parent=root_module['ns3::Socket']) - ## tcp-socket-factory.h: ns3::TcpSocketFactory [class] - module.add_class('TcpSocketFactory', parent=root_module['ns3::SocketFactory']) - ## udp-header.h: ns3::UdpHeader [class] - module.add_class('UdpHeader', parent=root_module['ns3::Header']) - ## udp-socket.h: ns3::UdpSocket [class] - module.add_class('UdpSocket', parent=root_module['ns3::Socket']) - ## udp-socket-factory.h: ns3::UdpSocketFactory [class] - module.add_class('UdpSocketFactory', parent=root_module['ns3::SocketFactory']) - ## arp-cache.h: ns3::ArpCache [class] - module.add_class('ArpCache', parent=root_module['ns3::Object']) - ## arp-cache.h: ns3::ArpCache::Entry [class] - module.add_class('Entry', outer_class=root_module['ns3::ArpCache']) - ## arp-header.h: ns3::ArpHeader [class] - module.add_class('ArpHeader', parent=root_module['ns3::Header']) - ## arp-header.h: ns3::ArpHeader::ArpType_e [enumeration] - module.add_enum('ArpType_e', ['ARP_TYPE_REQUEST', 'ARP_TYPE_REPLY'], outer_class=root_module['ns3::ArpHeader']) - ## arp-l3-protocol.h: ns3::ArpL3Protocol [class] - module.add_class('ArpL3Protocol', parent=root_module['ns3::Object']) - ## global-router-interface.h: ns3::GlobalRouter [class] - module.add_class('GlobalRouter', is_singleton=True, parent=root_module['ns3::Object']) - ## icmpv6-header.h: ns3::Icmpv6DestinationUnreachable [class] - module.add_class('Icmpv6DestinationUnreachable', parent=root_module['ns3::Icmpv6Header']) - ## icmpv6-header.h: ns3::Icmpv6Echo [class] - module.add_class('Icmpv6Echo', parent=root_module['ns3::Icmpv6Header']) - ## ipv4.h: ns3::Ipv4 [class] - module.add_class('Ipv4', parent=root_module['ns3::Object']) - ## ipv4-interface.h: ns3::Ipv4Interface [class] - module.add_class('Ipv4Interface', parent=root_module['ns3::Object']) - ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol [class] - module.add_class('Ipv4L3Protocol', parent=root_module['ns3::Ipv4']) - ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol']) - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol [class] - module.add_class('Ipv4L4Protocol', parent=root_module['ns3::Object']) - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus [enumeration] - module.add_enum('RxStatus', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_CLOSED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv4L4Protocol']) - ## ipv4-route.h: ns3::Ipv4MulticastRoute [class] - module.add_class('Ipv4MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) - ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory [class] - module.add_class('Ipv4RawSocketFactory', parent=root_module['ns3::SocketFactory']) - ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl [class] - module.add_class('Ipv4RawSocketImpl', parent=root_module['ns3::Socket']) - ## ipv4-route.h: ns3::Ipv4Route [class] - module.add_class('Ipv4Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv4Route, ns3::empty, ns3::DefaultDeleter >']) - ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol [class] - module.add_class('Ipv4RoutingProtocol', parent=root_module['ns3::Object']) - ## ipv4-static-routing.h: ns3::Ipv4StaticRouting [class] - module.add_class('Ipv4StaticRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## ipv6.h: ns3::Ipv6 [class] - module.add_class('Ipv6', parent=root_module['ns3::Object']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionAHHeader [class] - module.add_class('Ipv6ExtensionAHHeader', parent=root_module['ns3::Ipv6ExtensionHeader']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionDestinationHeader [class] - module.add_class('Ipv6ExtensionDestinationHeader', parent=[root_module['ns3::Ipv6ExtensionHeader'], root_module['ns3::OptionField']]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionESPHeader [class] - module.add_class('Ipv6ExtensionESPHeader', parent=root_module['ns3::Ipv6ExtensionHeader']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionFragmentHeader [class] - module.add_class('Ipv6ExtensionFragmentHeader', parent=root_module['ns3::Ipv6ExtensionHeader']) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionLooseRoutingHeader [class] - module.add_class('Ipv6ExtensionLooseRoutingHeader', parent=root_module['ns3::Ipv6ExtensionRoutingHeader']) - ## ipv6-interface.h: ns3::Ipv6Interface [class] - module.add_class('Ipv6Interface', parent=root_module['ns3::Object']) - ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol [class] - module.add_class('Ipv6L3Protocol', parent=root_module['ns3::Ipv6']) - ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_UNKNOWN_PROTOCOL'], outer_class=root_module['ns3::Ipv6L3Protocol']) - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol [class] - module.add_class('Ipv6L4Protocol', parent=root_module['ns3::Object']) - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::RxStatus_e [enumeration] - module.add_enum('RxStatus_e', ['RX_OK', 'RX_CSUM_FAILED', 'RX_ENDPOINT_UNREACH'], outer_class=root_module['ns3::Ipv6L4Protocol']) - ## ipv6-route.h: ns3::Ipv6MulticastRoute [class] - module.add_class('Ipv6MulticastRoute', parent=root_module['ns3::SimpleRefCount< ns3::Ipv6MulticastRoute, ns3::empty, ns3::DefaultDeleter >']) - ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory [class] - module.add_class('Ipv6RawSocketFactory', parent=root_module['ns3::SocketFactory']) - ## ipv6-route.h: ns3::Ipv6Route [class] - module.add_class('Ipv6Route', parent=root_module['ns3::SimpleRefCount< ns3::Ipv6Route, ns3::empty, ns3::DefaultDeleter >']) - ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol [class] - module.add_class('Ipv6RoutingProtocol', parent=root_module['ns3::Object']) - ## ipv6-static-routing.h: ns3::Ipv6StaticRouting [class] - module.add_class('Ipv6StaticRouting', parent=root_module['ns3::Ipv6RoutingProtocol']) - ## ndisc-cache.h: ns3::NdiscCache [class] - module.add_class('NdiscCache', parent=root_module['ns3::Object']) - ## ndisc-cache.h: ns3::NdiscCache::Entry [class] - module.add_class('Entry', outer_class=root_module['ns3::NdiscCache']) - ## tcp-l4-protocol.h: ns3::TcpL4Protocol [class] - module.add_class('TcpL4Protocol', parent=root_module['ns3::Ipv4L4Protocol']) - ## udp-l4-protocol.h: ns3::UdpL4Protocol [class] - module.add_class('UdpL4Protocol', parent=root_module['ns3::Ipv4L4Protocol']) - ## icmpv4-l4-protocol.h: ns3::Icmpv4L4Protocol [class] - module.add_class('Icmpv4L4Protocol', parent=root_module['ns3::Ipv4L4Protocol']) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol [class] - module.add_class('Icmpv6L4Protocol', parent=root_module['ns3::Ipv6L4Protocol']) - ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting [class] - module.add_class('Ipv4GlobalRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## ipv4-list-routing.h: ns3::Ipv4ListRouting [class] - module.add_class('Ipv4ListRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## ipv6-list-routing.h: ns3::Ipv6ListRouting [class] - module.add_class('Ipv6ListRouting', parent=root_module['ns3::Ipv6RoutingProtocol']) - ## loopback-net-device.h: ns3::LoopbackNetDevice [class] - module.add_class('LoopbackNetDevice', parent=root_module['ns3::NetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) - register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) - register_Ns3CandidateQueue_methods(root_module, root_module['ns3::CandidateQueue']) - register_Ns3GlobalRouteManager_methods(root_module, root_module['ns3::GlobalRouteManager']) - register_Ns3GlobalRouteManagerImpl_methods(root_module, root_module['ns3::GlobalRouteManagerImpl']) - register_Ns3GlobalRouteManagerLSDB_methods(root_module, root_module['ns3::GlobalRouteManagerLSDB']) - register_Ns3GlobalRoutingLSA_methods(root_module, root_module['ns3::GlobalRoutingLSA']) - register_Ns3GlobalRoutingLinkRecord_methods(root_module, root_module['ns3::GlobalRoutingLinkRecord']) - register_Ns3Ipv4AddressGenerator_methods(root_module, root_module['ns3::Ipv4AddressGenerator']) - register_Ns3Ipv4AddressHelper_methods(root_module, root_module['ns3::Ipv4AddressHelper']) - register_Ns3Ipv4EndPoint_methods(root_module, root_module['ns3::Ipv4EndPoint']) - register_Ns3Ipv4InterfaceAddress_methods(root_module, root_module['ns3::Ipv4InterfaceAddress']) - register_Ns3Ipv4InterfaceContainer_methods(root_module, root_module['ns3::Ipv4InterfaceContainer']) - register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, root_module['ns3::Ipv4MulticastRoutingTableEntry']) - register_Ns3Ipv4RoutingHelper_methods(root_module, root_module['ns3::Ipv4RoutingHelper']) - register_Ns3Ipv4RoutingTableEntry_methods(root_module, root_module['ns3::Ipv4RoutingTableEntry']) - register_Ns3Ipv4StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv4StaticRoutingHelper']) - register_Ns3Ipv6AddressHelper_methods(root_module, root_module['ns3::Ipv6AddressHelper']) - register_Ns3Ipv6InterfaceAddress_methods(root_module, root_module['ns3::Ipv6InterfaceAddress']) - register_Ns3Ipv6InterfaceContainer_methods(root_module, root_module['ns3::Ipv6InterfaceContainer']) - register_Ns3Ipv6MulticastRoutingTableEntry_methods(root_module, root_module['ns3::Ipv6MulticastRoutingTableEntry']) - register_Ns3Ipv6RoutingHelper_methods(root_module, root_module['ns3::Ipv6RoutingHelper']) - register_Ns3Ipv6RoutingTableEntry_methods(root_module, root_module['ns3::Ipv6RoutingTableEntry']) - register_Ns3Ipv6StaticRoutingHelper_methods(root_module, root_module['ns3::Ipv6StaticRoutingHelper']) - register_Ns3OptionField_methods(root_module, root_module['ns3::OptionField']) - register_Ns3PcapHelperForIpv4_methods(root_module, root_module['ns3::PcapHelperForIpv4']) - register_Ns3PcapHelperForIpv6_methods(root_module, root_module['ns3::PcapHelperForIpv6']) - register_Ns3SPFVertex_methods(root_module, root_module['ns3::SPFVertex']) - register_Ns3Icmpv4DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv4DestinationUnreachable']) - register_Ns3Icmpv4Echo_methods(root_module, root_module['ns3::Icmpv4Echo']) - register_Ns3Icmpv4Header_methods(root_module, root_module['ns3::Icmpv4Header']) - register_Ns3Icmpv4TimeExceeded_methods(root_module, root_module['ns3::Icmpv4TimeExceeded']) - register_Ns3Icmpv6Header_methods(root_module, root_module['ns3::Icmpv6Header']) - register_Ns3Icmpv6NA_methods(root_module, root_module['ns3::Icmpv6NA']) - register_Ns3Icmpv6NS_methods(root_module, root_module['ns3::Icmpv6NS']) - register_Ns3Icmpv6OptionHeader_methods(root_module, root_module['ns3::Icmpv6OptionHeader']) - register_Ns3Icmpv6OptionLinkLayerAddress_methods(root_module, root_module['ns3::Icmpv6OptionLinkLayerAddress']) - register_Ns3Icmpv6OptionMtu_methods(root_module, root_module['ns3::Icmpv6OptionMtu']) - register_Ns3Icmpv6OptionPrefixInformation_methods(root_module, root_module['ns3::Icmpv6OptionPrefixInformation']) - register_Ns3Icmpv6OptionRedirected_methods(root_module, root_module['ns3::Icmpv6OptionRedirected']) - register_Ns3Icmpv6ParameterError_methods(root_module, root_module['ns3::Icmpv6ParameterError']) - register_Ns3Icmpv6RA_methods(root_module, root_module['ns3::Icmpv6RA']) - register_Ns3Icmpv6RS_methods(root_module, root_module['ns3::Icmpv6RS']) - register_Ns3Icmpv6Redirection_methods(root_module, root_module['ns3::Icmpv6Redirection']) - register_Ns3Icmpv6TimeExceeded_methods(root_module, root_module['ns3::Icmpv6TimeExceeded']) - register_Ns3Icmpv6TooBig_methods(root_module, root_module['ns3::Icmpv6TooBig']) - register_Ns3InternetStackHelper_methods(root_module, root_module['ns3::InternetStackHelper']) - register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, root_module['ns3::Ipv4GlobalRoutingHelper']) - register_Ns3Ipv4Header_methods(root_module, root_module['ns3::Ipv4Header']) - register_Ns3Ipv4ListRoutingHelper_methods(root_module, root_module['ns3::Ipv4ListRoutingHelper']) - register_Ns3Ipv4PacketInfoTag_methods(root_module, root_module['ns3::Ipv4PacketInfoTag']) - register_Ns3Ipv6ExtensionHeader_methods(root_module, root_module['ns3::Ipv6ExtensionHeader']) - register_Ns3Ipv6ExtensionHopByHopHeader_methods(root_module, root_module['ns3::Ipv6ExtensionHopByHopHeader']) - register_Ns3Ipv6ExtensionRoutingHeader_methods(root_module, root_module['ns3::Ipv6ExtensionRoutingHeader']) - register_Ns3Ipv6Header_methods(root_module, root_module['ns3::Ipv6Header']) - register_Ns3Ipv6ListRoutingHelper_methods(root_module, root_module['ns3::Ipv6ListRoutingHelper']) - register_Ns3Ipv6OptionHeader_methods(root_module, root_module['ns3::Ipv6OptionHeader']) - register_Ns3Ipv6OptionHeaderAlignment_methods(root_module, root_module['ns3::Ipv6OptionHeader::Alignment']) - register_Ns3Ipv6OptionJumbogramHeader_methods(root_module, root_module['ns3::Ipv6OptionJumbogramHeader']) - register_Ns3Ipv6OptionPad1Header_methods(root_module, root_module['ns3::Ipv6OptionPad1Header']) - register_Ns3Ipv6OptionPadnHeader_methods(root_module, root_module['ns3::Ipv6OptionPadnHeader']) - register_Ns3Ipv6OptionRouterAlertHeader_methods(root_module, root_module['ns3::Ipv6OptionRouterAlertHeader']) - register_Ns3Ipv6PacketInfoTag_methods(root_module, root_module['ns3::Ipv6PacketInfoTag']) - register_Ns3TcpHeader_methods(root_module, root_module['ns3::TcpHeader']) - register_Ns3TcpSocket_methods(root_module, root_module['ns3::TcpSocket']) - register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory']) - register_Ns3UdpHeader_methods(root_module, root_module['ns3::UdpHeader']) - register_Ns3UdpSocket_methods(root_module, root_module['ns3::UdpSocket']) - register_Ns3UdpSocketFactory_methods(root_module, root_module['ns3::UdpSocketFactory']) - register_Ns3ArpCache_methods(root_module, root_module['ns3::ArpCache']) - register_Ns3ArpCacheEntry_methods(root_module, root_module['ns3::ArpCache::Entry']) - register_Ns3ArpHeader_methods(root_module, root_module['ns3::ArpHeader']) - register_Ns3ArpL3Protocol_methods(root_module, root_module['ns3::ArpL3Protocol']) - register_Ns3GlobalRouter_methods(root_module, root_module['ns3::GlobalRouter']) - register_Ns3Icmpv6DestinationUnreachable_methods(root_module, root_module['ns3::Icmpv6DestinationUnreachable']) - register_Ns3Icmpv6Echo_methods(root_module, root_module['ns3::Icmpv6Echo']) - register_Ns3Ipv4_methods(root_module, root_module['ns3::Ipv4']) - register_Ns3Ipv4Interface_methods(root_module, root_module['ns3::Ipv4Interface']) - register_Ns3Ipv4L3Protocol_methods(root_module, root_module['ns3::Ipv4L3Protocol']) - register_Ns3Ipv4L4Protocol_methods(root_module, root_module['ns3::Ipv4L4Protocol']) - register_Ns3Ipv4MulticastRoute_methods(root_module, root_module['ns3::Ipv4MulticastRoute']) - register_Ns3Ipv4RawSocketFactory_methods(root_module, root_module['ns3::Ipv4RawSocketFactory']) - register_Ns3Ipv4RawSocketImpl_methods(root_module, root_module['ns3::Ipv4RawSocketImpl']) - register_Ns3Ipv4Route_methods(root_module, root_module['ns3::Ipv4Route']) - register_Ns3Ipv4RoutingProtocol_methods(root_module, root_module['ns3::Ipv4RoutingProtocol']) - register_Ns3Ipv4StaticRouting_methods(root_module, root_module['ns3::Ipv4StaticRouting']) - register_Ns3Ipv6_methods(root_module, root_module['ns3::Ipv6']) - register_Ns3Ipv6ExtensionAHHeader_methods(root_module, root_module['ns3::Ipv6ExtensionAHHeader']) - register_Ns3Ipv6ExtensionDestinationHeader_methods(root_module, root_module['ns3::Ipv6ExtensionDestinationHeader']) - register_Ns3Ipv6ExtensionESPHeader_methods(root_module, root_module['ns3::Ipv6ExtensionESPHeader']) - register_Ns3Ipv6ExtensionFragmentHeader_methods(root_module, root_module['ns3::Ipv6ExtensionFragmentHeader']) - register_Ns3Ipv6ExtensionLooseRoutingHeader_methods(root_module, root_module['ns3::Ipv6ExtensionLooseRoutingHeader']) - register_Ns3Ipv6Interface_methods(root_module, root_module['ns3::Ipv6Interface']) - register_Ns3Ipv6L3Protocol_methods(root_module, root_module['ns3::Ipv6L3Protocol']) - register_Ns3Ipv6L4Protocol_methods(root_module, root_module['ns3::Ipv6L4Protocol']) - register_Ns3Ipv6MulticastRoute_methods(root_module, root_module['ns3::Ipv6MulticastRoute']) - register_Ns3Ipv6RawSocketFactory_methods(root_module, root_module['ns3::Ipv6RawSocketFactory']) - register_Ns3Ipv6Route_methods(root_module, root_module['ns3::Ipv6Route']) - register_Ns3Ipv6RoutingProtocol_methods(root_module, root_module['ns3::Ipv6RoutingProtocol']) - register_Ns3Ipv6StaticRouting_methods(root_module, root_module['ns3::Ipv6StaticRouting']) - register_Ns3NdiscCache_methods(root_module, root_module['ns3::NdiscCache']) - register_Ns3NdiscCacheEntry_methods(root_module, root_module['ns3::NdiscCache::Entry']) - register_Ns3TcpL4Protocol_methods(root_module, root_module['ns3::TcpL4Protocol']) - register_Ns3UdpL4Protocol_methods(root_module, root_module['ns3::UdpL4Protocol']) - register_Ns3Icmpv4L4Protocol_methods(root_module, root_module['ns3::Icmpv4L4Protocol']) - register_Ns3Icmpv6L4Protocol_methods(root_module, root_module['ns3::Icmpv6L4Protocol']) - register_Ns3Ipv4GlobalRouting_methods(root_module, root_module['ns3::Ipv4GlobalRouting']) - register_Ns3Ipv4ListRouting_methods(root_module, root_module['ns3::Ipv4ListRouting']) - register_Ns3Ipv6ListRouting_methods(root_module, root_module['ns3::Ipv6ListRouting']) - register_Ns3LoopbackNetDevice_methods(root_module, root_module['ns3::LoopbackNetDevice']) - return - -def register_Ns3AsciiTraceHelperForIpv4_methods(root_module, cls): - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4(ns3::AsciiTraceHelperForIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelperForIpv4 const &', 'arg0')]) - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv4::AsciiTraceHelperForIpv4() [constructor] - cls.add_constructor([]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, std::string ipv4Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4(ns3::Ptr stream, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv4', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(std::string prefix) [member function] - cls.add_method('EnableAsciiIpv4All', - 'void', - [param('std::string', 'prefix')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4All(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiIpv4All', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv4::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv4Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6(ns3::AsciiTraceHelperForIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelperForIpv6 const &', 'arg0')]) - ## internet-trace-helper.h: ns3::AsciiTraceHelperForIpv6::AsciiTraceHelperForIpv6() [constructor] - cls.add_constructor([]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6(ns3::Ptr stream, uint32_t nodeid, uint32_t interface) [member function] - cls.add_method('EnableAsciiIpv6', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(std::string prefix) [member function] - cls.add_method('EnableAsciiIpv6All', - 'void', - [param('std::string', 'prefix')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6All(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiIpv6All', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## internet-trace-helper.h: void ns3::AsciiTraceHelperForIpv6::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv6Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3CandidateQueue_methods(root_module, cls): - cls.add_output_stream_operator() - ## candidate-queue.h: ns3::CandidateQueue::CandidateQueue() [constructor] - cls.add_constructor([]) - ## candidate-queue.h: void ns3::CandidateQueue::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## candidate-queue.h: bool ns3::CandidateQueue::Empty() const [member function] - cls.add_method('Empty', - 'bool', - [], - is_const=True) - ## candidate-queue.h: ns3::SPFVertex * ns3::CandidateQueue::Find(ns3::Ipv4Address const addr) const [member function] - cls.add_method('Find', - 'ns3::SPFVertex *', - [param('ns3::Ipv4Address const', 'addr')], - is_const=True) - ## candidate-queue.h: ns3::SPFVertex * ns3::CandidateQueue::Pop() [member function] - cls.add_method('Pop', - 'ns3::SPFVertex *', - []) - ## candidate-queue.h: void ns3::CandidateQueue::Push(ns3::SPFVertex * vNew) [member function] - cls.add_method('Push', - 'void', - [param('ns3::SPFVertex *', 'vNew')]) - ## candidate-queue.h: void ns3::CandidateQueue::Reorder() [member function] - cls.add_method('Reorder', - 'void', - []) - ## candidate-queue.h: uint32_t ns3::CandidateQueue::Size() const [member function] - cls.add_method('Size', - 'uint32_t', - [], - is_const=True) - ## candidate-queue.h: ns3::SPFVertex * ns3::CandidateQueue::Top() const [member function] - cls.add_method('Top', - 'ns3::SPFVertex *', - [], - is_const=True) - return - -def register_Ns3GlobalRouteManager_methods(root_module, cls): - ## global-route-manager.h: static uint32_t ns3::GlobalRouteManager::AllocateRouterId() [member function] - cls.add_method('AllocateRouterId', - 'uint32_t', - [], - is_static=True) - ## global-route-manager.h: static void ns3::GlobalRouteManager::DeleteGlobalRoutes() [member function] - cls.add_method('DeleteGlobalRoutes', - 'void', - [], - is_static=True) - ## global-route-manager.h: static void ns3::GlobalRouteManager::BuildGlobalRoutingDatabase() [member function] - cls.add_method('BuildGlobalRoutingDatabase', - 'void', - [], - is_static=True) - ## global-route-manager.h: static void ns3::GlobalRouteManager::InitializeRoutes() [member function] - cls.add_method('InitializeRoutes', - 'void', - [], - is_static=True) - return - -def register_Ns3GlobalRouteManagerImpl_methods(root_module, cls): - ## global-route-manager-impl.h: ns3::GlobalRouteManagerImpl::GlobalRouteManagerImpl() [constructor] - cls.add_constructor([]) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::DeleteGlobalRoutes() [member function] - cls.add_method('DeleteGlobalRoutes', - 'void', - [], - is_virtual=True) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::BuildGlobalRoutingDatabase() [member function] - cls.add_method('BuildGlobalRoutingDatabase', - 'void', - [], - is_virtual=True) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::InitializeRoutes() [member function] - cls.add_method('InitializeRoutes', - 'void', - [], - is_virtual=True) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::DebugUseLsdb(ns3::GlobalRouteManagerLSDB * arg0) [member function] - cls.add_method('DebugUseLsdb', - 'void', - [param('ns3::GlobalRouteManagerLSDB *', 'arg0')]) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerImpl::DebugSPFCalculate(ns3::Ipv4Address root) [member function] - cls.add_method('DebugSPFCalculate', - 'void', - [param('ns3::Ipv4Address', 'root')]) - return - -def register_Ns3GlobalRouteManagerLSDB_methods(root_module, cls): - ## global-route-manager-impl.h: ns3::GlobalRouteManagerLSDB::GlobalRouteManagerLSDB() [constructor] - cls.add_constructor([]) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerLSDB::Insert(ns3::Ipv4Address addr, ns3::GlobalRoutingLSA * lsa) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ipv4Address', 'addr'), param('ns3::GlobalRoutingLSA *', 'lsa')]) - ## global-route-manager-impl.h: ns3::GlobalRoutingLSA * ns3::GlobalRouteManagerLSDB::GetLSA(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetLSA', - 'ns3::GlobalRoutingLSA *', - [param('ns3::Ipv4Address', 'addr')], - is_const=True) - ## global-route-manager-impl.h: ns3::GlobalRoutingLSA * ns3::GlobalRouteManagerLSDB::GetLSAByLinkData(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetLSAByLinkData', - 'ns3::GlobalRoutingLSA *', - [param('ns3::Ipv4Address', 'addr')], - is_const=True) - ## global-route-manager-impl.h: void ns3::GlobalRouteManagerLSDB::Initialize() [member function] - cls.add_method('Initialize', - 'void', - []) - ## global-route-manager-impl.h: ns3::GlobalRoutingLSA * ns3::GlobalRouteManagerLSDB::GetExtLSA(uint32_t index) const [member function] - cls.add_method('GetExtLSA', - 'ns3::GlobalRoutingLSA *', - [param('uint32_t', 'index')], - is_const=True) - ## global-route-manager-impl.h: uint32_t ns3::GlobalRouteManagerLSDB::GetNumExtLSAs() const [member function] - cls.add_method('GetNumExtLSAs', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3GlobalRoutingLSA_methods(root_module, cls): - cls.add_output_stream_operator() - ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA() [constructor] - cls.add_constructor([]) - ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA::SPFStatus status, ns3::Ipv4Address linkStateId, ns3::Ipv4Address advertisingRtr) [constructor] - cls.add_constructor([param('ns3::GlobalRoutingLSA::SPFStatus', 'status'), param('ns3::Ipv4Address', 'linkStateId'), param('ns3::Ipv4Address', 'advertisingRtr')]) - ## global-router-interface.h: ns3::GlobalRoutingLSA::GlobalRoutingLSA(ns3::GlobalRoutingLSA & lsa) [constructor] - cls.add_constructor([param('ns3::GlobalRoutingLSA &', 'lsa')]) - ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddAttachedRouter(ns3::Ipv4Address addr) [member function] - cls.add_method('AddAttachedRouter', - 'uint32_t', - [param('ns3::Ipv4Address', 'addr')]) - ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::AddLinkRecord(ns3::GlobalRoutingLinkRecord * lr) [member function] - cls.add_method('AddLinkRecord', - 'uint32_t', - [param('ns3::GlobalRoutingLinkRecord *', 'lr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::ClearLinkRecords() [member function] - cls.add_method('ClearLinkRecords', - 'void', - []) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::CopyLinkRecords(ns3::GlobalRoutingLSA const & lsa) [member function] - cls.add_method('CopyLinkRecords', - 'void', - [param('ns3::GlobalRoutingLSA const &', 'lsa')]) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAdvertisingRouter() const [member function] - cls.add_method('GetAdvertisingRouter', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetAttachedRouter(uint32_t n) const [member function] - cls.add_method('GetAttachedRouter', - 'ns3::Ipv4Address', - [param('uint32_t', 'n')], - is_const=True) - ## global-router-interface.h: ns3::GlobalRoutingLSA::LSType ns3::GlobalRoutingLSA::GetLSType() const [member function] - cls.add_method('GetLSType', - 'ns3::GlobalRoutingLSA::LSType', - [], - is_const=True) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord * ns3::GlobalRoutingLSA::GetLinkRecord(uint32_t n) const [member function] - cls.add_method('GetLinkRecord', - 'ns3::GlobalRoutingLinkRecord *', - [param('uint32_t', 'n')], - is_const=True) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLSA::GetLinkStateId() const [member function] - cls.add_method('GetLinkStateId', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNAttachedRouters() const [member function] - cls.add_method('GetNAttachedRouters', - 'uint32_t', - [], - is_const=True) - ## global-router-interface.h: uint32_t ns3::GlobalRoutingLSA::GetNLinkRecords() const [member function] - cls.add_method('GetNLinkRecords', - 'uint32_t', - [], - is_const=True) - ## global-router-interface.h: ns3::Ipv4Mask ns3::GlobalRoutingLSA::GetNetworkLSANetworkMask() const [member function] - cls.add_method('GetNetworkLSANetworkMask', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## global-router-interface.h: ns3::Ptr ns3::GlobalRoutingLSA::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## global-router-interface.h: ns3::GlobalRoutingLSA::SPFStatus ns3::GlobalRoutingLSA::GetStatus() const [member function] - cls.add_method('GetStatus', - 'ns3::GlobalRoutingLSA::SPFStatus', - [], - is_const=True) - ## global-router-interface.h: bool ns3::GlobalRoutingLSA::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetAdvertisingRouter(ns3::Ipv4Address rtr) [member function] - cls.add_method('SetAdvertisingRouter', - 'void', - [param('ns3::Ipv4Address', 'rtr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLSType(ns3::GlobalRoutingLSA::LSType typ) [member function] - cls.add_method('SetLSType', - 'void', - [param('ns3::GlobalRoutingLSA::LSType', 'typ')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetLinkStateId(ns3::Ipv4Address addr) [member function] - cls.add_method('SetLinkStateId', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetNetworkLSANetworkMask(ns3::Ipv4Mask mask) [member function] - cls.add_method('SetNetworkLSANetworkMask', - 'void', - [param('ns3::Ipv4Mask', 'mask')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## global-router-interface.h: void ns3::GlobalRoutingLSA::SetStatus(ns3::GlobalRoutingLSA::SPFStatus status) [member function] - cls.add_method('SetStatus', - 'void', - [param('ns3::GlobalRoutingLSA::SPFStatus', 'status')]) - return - -def register_Ns3GlobalRoutingLinkRecord_methods(root_module, cls): - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GlobalRoutingLinkRecord const &', 'arg0')]) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord() [constructor] - cls.add_constructor([]) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::GlobalRoutingLinkRecord(ns3::GlobalRoutingLinkRecord::LinkType linkType, ns3::Ipv4Address linkId, ns3::Ipv4Address linkData, uint16_t metric) [constructor] - cls.add_constructor([param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType'), param('ns3::Ipv4Address', 'linkId'), param('ns3::Ipv4Address', 'linkData'), param('uint16_t', 'metric')]) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkData() const [member function] - cls.add_method('GetLinkData', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRoutingLinkRecord::GetLinkId() const [member function] - cls.add_method('GetLinkId', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: ns3::GlobalRoutingLinkRecord::LinkType ns3::GlobalRoutingLinkRecord::GetLinkType() const [member function] - cls.add_method('GetLinkType', - 'ns3::GlobalRoutingLinkRecord::LinkType', - [], - is_const=True) - ## global-router-interface.h: uint16_t ns3::GlobalRoutingLinkRecord::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [], - is_const=True) - ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkData(ns3::Ipv4Address addr) [member function] - cls.add_method('SetLinkData', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkId(ns3::Ipv4Address addr) [member function] - cls.add_method('SetLinkId', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetLinkType(ns3::GlobalRoutingLinkRecord::LinkType linkType) [member function] - cls.add_method('SetLinkType', - 'void', - [param('ns3::GlobalRoutingLinkRecord::LinkType', 'linkType')]) - ## global-router-interface.h: void ns3::GlobalRoutingLinkRecord::SetMetric(uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint16_t', 'metric')]) - return - -def register_Ns3Ipv4AddressGenerator_methods(root_module, cls): - ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator::Ipv4AddressGenerator() [constructor] - cls.add_constructor([]) - ## ipv4-address-generator.h: ns3::Ipv4AddressGenerator::Ipv4AddressGenerator(ns3::Ipv4AddressGenerator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressGenerator const &', 'arg0')]) - ## ipv4-address-generator.h: static bool ns3::Ipv4AddressGenerator::AddAllocated(ns3::Ipv4Address const addr) [member function] - cls.add_method('AddAllocated', - 'bool', - [param('ns3::Ipv4Address const', 'addr')], - is_static=True) - ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetAddress(ns3::Ipv4Mask const mask) [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::GetNetwork(ns3::Ipv4Mask const mask) [member function] - cls.add_method('GetNetwork', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Init(ns3::Ipv4Address const net, ns3::Ipv4Mask const mask, ns3::Ipv4Address const addr="0.0.0.1") [member function] - cls.add_method('Init', - 'void', - [param('ns3::Ipv4Address const', 'net'), param('ns3::Ipv4Mask const', 'mask'), param('ns3::Ipv4Address const', 'addr', default_value='"0.0.0.1"')], - is_static=True) - ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::InitAddress(ns3::Ipv4Address const addr, ns3::Ipv4Mask const mask) [member function] - cls.add_method('InitAddress', - 'void', - [param('ns3::Ipv4Address const', 'addr'), param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextAddress(ns3::Ipv4Mask const mask) [member function] - cls.add_method('NextAddress', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static ns3::Ipv4Address ns3::Ipv4AddressGenerator::NextNetwork(ns3::Ipv4Mask const mask) [member function] - cls.add_method('NextNetwork', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const', 'mask')], - is_static=True) - ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::Reset() [member function] - cls.add_method('Reset', - 'void', - [], - is_static=True) - ## ipv4-address-generator.h: static void ns3::Ipv4AddressGenerator::TestMode() [member function] - cls.add_method('TestMode', - 'void', - [], - is_static=True) - return - -def register_Ns3Ipv4AddressHelper_methods(root_module, cls): - ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4AddressHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressHelper const &', 'arg0')]) - ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper() [constructor] - cls.add_constructor([]) - ## ipv4-address-helper.h: ns3::Ipv4AddressHelper::Ipv4AddressHelper(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')]) - ## ipv4-address-helper.h: ns3::Ipv4InterfaceContainer ns3::Ipv4AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function] - cls.add_method('Assign', - 'ns3::Ipv4InterfaceContainer', - [param('ns3::NetDeviceContainer const &', 'c')]) - ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewAddress() [member function] - cls.add_method('NewAddress', - 'ns3::Ipv4Address', - []) - ## ipv4-address-helper.h: ns3::Ipv4Address ns3::Ipv4AddressHelper::NewNetwork() [member function] - cls.add_method('NewNetwork', - 'ns3::Ipv4Address', - []) - ## ipv4-address-helper.h: void ns3::Ipv4AddressHelper::SetBase(ns3::Ipv4Address network, ns3::Ipv4Mask mask, ns3::Ipv4Address base="0.0.0.1") [member function] - cls.add_method('SetBase', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'mask'), param('ns3::Ipv4Address', 'base', default_value='"0.0.0.1"')]) - return - -def register_Ns3Ipv4EndPoint_methods(root_module, cls): - ## ipv4-end-point.h: ns3::Ipv4EndPoint::Ipv4EndPoint(ns3::Ipv4EndPoint const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4EndPoint const &', 'arg0')]) - ## ipv4-end-point.h: ns3::Ipv4EndPoint::Ipv4EndPoint(ns3::Ipv4Address address, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'address'), param('uint16_t', 'port')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::BindToNetDevice(ns3::Ptr netdevice) [member function] - cls.add_method('BindToNetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::ForwardIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo) [member function] - cls.add_method('ForwardIcmp', - 'void', - [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::ForwardUp(ns3::Ptr p, ns3::Ipv4Header const & header, uint16_t sport, ns3::Ptr incomingInterface) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('uint16_t', 'sport'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')]) - ## ipv4-end-point.h: ns3::Ptr ns3::Ipv4EndPoint::GetBoundNetDevice() [member function] - cls.add_method('GetBoundNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## ipv4-end-point.h: ns3::Ipv4Address ns3::Ipv4EndPoint::GetLocalAddress() [member function] - cls.add_method('GetLocalAddress', - 'ns3::Ipv4Address', - []) - ## ipv4-end-point.h: uint16_t ns3::Ipv4EndPoint::GetLocalPort() [member function] - cls.add_method('GetLocalPort', - 'uint16_t', - []) - ## ipv4-end-point.h: ns3::Ipv4Address ns3::Ipv4EndPoint::GetPeerAddress() [member function] - cls.add_method('GetPeerAddress', - 'ns3::Ipv4Address', - []) - ## ipv4-end-point.h: uint16_t ns3::Ipv4EndPoint::GetPeerPort() [member function] - cls.add_method('GetPeerPort', - 'uint16_t', - []) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetDestroyCallback(ns3::Callback callback) [member function] - cls.add_method('SetDestroyCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetIcmpCallback(ns3::Callback callback) [member function] - cls.add_method('SetIcmpCallback', - 'void', - [param('ns3::Callback< void, ns3::Ipv4Address, unsigned char, unsigned char, unsigned char, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetLocalAddress(ns3::Ipv4Address address) [member function] - cls.add_method('SetLocalAddress', - 'void', - [param('ns3::Ipv4Address', 'address')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetPeer(ns3::Ipv4Address address, uint16_t port) [member function] - cls.add_method('SetPeer', - 'void', - [param('ns3::Ipv4Address', 'address'), param('uint16_t', 'port')]) - ## ipv4-end-point.h: void ns3::Ipv4EndPoint::SetRxCallback(ns3::Callback, ns3::Ipv4Header, unsigned short, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function] - cls.add_method('SetRxCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Header, unsigned short, ns3::Ptr< ns3::Ipv4Interface >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - return - -def register_Ns3Ipv4InterfaceAddress_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress() [constructor] - cls.add_constructor([]) - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4Address local, ns3::Ipv4Mask mask) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'local'), param('ns3::Ipv4Mask', 'mask')]) - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::Ipv4InterfaceAddress(ns3::Ipv4InterfaceAddress const & o) [copy constructor] - cls.add_constructor([param('ns3::Ipv4InterfaceAddress const &', 'o')]) - ## ipv4-interface-address.h: ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-interface-address.h: ns3::Ipv4Address ns3::Ipv4InterfaceAddress::GetLocal() const [member function] - cls.add_method('GetLocal', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-interface-address.h: ns3::Ipv4Mask ns3::Ipv4InterfaceAddress::GetMask() const [member function] - cls.add_method('GetMask', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## ipv4-interface-address.h: ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e ns3::Ipv4InterfaceAddress::GetScope() const [member function] - cls.add_method('GetScope', - 'ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', - [], - is_const=True) - ## ipv4-interface-address.h: bool ns3::Ipv4InterfaceAddress::IsSecondary() const [member function] - cls.add_method('IsSecondary', - 'bool', - [], - is_const=True) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetBroadcast(ns3::Ipv4Address broadcast) [member function] - cls.add_method('SetBroadcast', - 'void', - [param('ns3::Ipv4Address', 'broadcast')]) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetLocal(ns3::Ipv4Address local) [member function] - cls.add_method('SetLocal', - 'void', - [param('ns3::Ipv4Address', 'local')]) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetMask(ns3::Ipv4Mask mask) [member function] - cls.add_method('SetMask', - 'void', - [param('ns3::Ipv4Mask', 'mask')]) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetPrimary() [member function] - cls.add_method('SetPrimary', - 'void', - []) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetScope(ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SetScope', - 'void', - [param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')]) - ## ipv4-interface-address.h: void ns3::Ipv4InterfaceAddress::SetSecondary() [member function] - cls.add_method('SetSecondary', - 'void', - []) - return - -def register_Ns3Ipv4InterfaceContainer_methods(root_module, cls): - ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer(ns3::Ipv4InterfaceContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4InterfaceContainer const &', 'arg0')]) - ## ipv4-interface-container.h: ns3::Ipv4InterfaceContainer::Ipv4InterfaceContainer() [constructor] - cls.add_constructor([]) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ipv4InterfaceContainer other) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv4InterfaceContainer', 'other')]) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(ns3::Ptr ipv4, uint32_t interface) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface')]) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::pair,unsigned int> ipInterfacePair) [member function] - cls.add_method('Add', - 'void', - [param('std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', 'ipInterfacePair')]) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::Add(std::string ipv4Name, uint32_t interface) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'ipv4Name'), param('uint32_t', 'interface')]) - ## ipv4-interface-container.h: __gnu_cxx::__normal_iterator, unsigned int>*,std::vector, unsigned int>, std::allocator, unsigned int> > > > ns3::Ipv4InterfaceContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', - [], - is_const=True) - ## ipv4-interface-container.h: __gnu_cxx::__normal_iterator, unsigned int>*,std::vector, unsigned int>, std::allocator, unsigned int> > > > ns3::Ipv4InterfaceContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int > > >', - [], - is_const=True) - ## ipv4-interface-container.h: std::pair,unsigned int> ns3::Ipv4InterfaceContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'std::pair< ns3::Ptr< ns3::Ipv4 >, unsigned int >', - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-interface-container.h: ns3::Ipv4Address ns3::Ipv4InterfaceContainer::GetAddress(uint32_t i, uint32_t j=0) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4Address', - [param('uint32_t', 'i'), param('uint32_t', 'j', default_value='0')], - is_const=True) - ## ipv4-interface-container.h: uint32_t ns3::Ipv4InterfaceContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## ipv4-interface-container.h: void ns3::Ipv4InterfaceContainer::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')]) - return - -def register_Ns3Ipv4MulticastRoutingTableEntry_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry() [constructor] - cls.add_constructor([]) - ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const & route) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const &', 'route')]) - ## ipv4-routing-table-entry.h: ns3::Ipv4MulticastRoutingTableEntry::Ipv4MulticastRoutingTableEntry(ns3::Ipv4MulticastRoutingTableEntry const * route) [constructor] - cls.add_constructor([param('ns3::Ipv4MulticastRoutingTableEntry const *', 'route')]) - ## ipv4-routing-table-entry.h: static ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4MulticastRoutingTableEntry::CreateMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] - cls.add_method('CreateMulticastRoute', - 'ns3::Ipv4MulticastRoutingTableEntry', - [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], - is_static=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetInputInterface() const [member function] - cls.add_method('GetInputInterface', - 'uint32_t', - [], - is_const=True) - ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetNOutputInterfaces() const [member function] - cls.add_method('GetNOutputInterfaces', - 'uint32_t', - [], - is_const=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4MulticastRoutingTableEntry::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterface(uint32_t n) const [member function] - cls.add_method('GetOutputInterface', - 'uint32_t', - [param('uint32_t', 'n')], - is_const=True) - ## ipv4-routing-table-entry.h: std::vector > ns3::Ipv4MulticastRoutingTableEntry::GetOutputInterfaces() const [member function] - cls.add_method('GetOutputInterfaces', - 'std::vector< unsigned int >', - [], - is_const=True) - return - -def register_Ns3Ipv4RoutingHelper_methods(root_module, cls): - ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper::Ipv4RoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper::Ipv4RoutingHelper(ns3::Ipv4RoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RoutingHelper const &', 'arg0')]) - ## ipv4-routing-helper.h: ns3::Ipv4RoutingHelper * ns3::Ipv4RoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4RoutingHelper *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-routing-helper.h: ns3::Ptr ns3::Ipv4RoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-routing-helper.h: void ns3::Ipv4RoutingHelper::PrintRoutingTableAllAt(ns3::Time printTime, ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTableAllAt', - 'void', - [param('ns3::Time', 'printTime'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## ipv4-routing-helper.h: void ns3::Ipv4RoutingHelper::PrintRoutingTableAllEvery(ns3::Time printInterval, ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTableAllEvery', - 'void', - [param('ns3::Time', 'printInterval'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## ipv4-routing-helper.h: void ns3::Ipv4RoutingHelper::PrintRoutingTableAt(ns3::Time printTime, ns3::Ptr node, ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTableAt', - 'void', - [param('ns3::Time', 'printTime'), param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - ## ipv4-routing-helper.h: void ns3::Ipv4RoutingHelper::PrintRoutingTableEvery(ns3::Time printInterval, ns3::Ptr node, ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTableEvery', - 'void', - [param('ns3::Time', 'printInterval'), param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True) - return - -def register_Ns3Ipv4RoutingTableEntry_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry() [constructor] - cls.add_constructor([]) - ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const & route) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const &', 'route')]) - ## ipv4-routing-table-entry.h: ns3::Ipv4RoutingTableEntry::Ipv4RoutingTableEntry(ns3::Ipv4RoutingTableEntry const * route) [constructor] - cls.add_constructor([param('ns3::Ipv4RoutingTableEntry const *', 'route')]) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateDefaultRoute', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateHostRouteTo', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] - cls.add_method('CreateHostRouteTo', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: static ns3::Ipv4RoutingTableEntry ns3::Ipv4RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv4RoutingTableEntry', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')], - is_static=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDest() const [member function] - cls.add_method('GetDest', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetDestNetwork() const [member function] - cls.add_method('GetDestNetwork', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Mask ns3::Ipv4RoutingTableEntry::GetDestNetworkMask() const [member function] - cls.add_method('GetDestNetworkMask', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## ipv4-routing-table-entry.h: ns3::Ipv4Address ns3::Ipv4RoutingTableEntry::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-routing-table-entry.h: uint32_t ns3::Ipv4RoutingTableEntry::GetInterface() const [member function] - cls.add_method('GetInterface', - 'uint32_t', - [], - is_const=True) - ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsDefault() const [member function] - cls.add_method('IsDefault', - 'bool', - [], - is_const=True) - ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsGateway() const [member function] - cls.add_method('IsGateway', - 'bool', - [], - is_const=True) - ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsHost() const [member function] - cls.add_method('IsHost', - 'bool', - [], - is_const=True) - ## ipv4-routing-table-entry.h: bool ns3::Ipv4RoutingTableEntry::IsNetwork() const [member function] - cls.add_method('IsNetwork', - 'bool', - [], - is_const=True) - return - -def register_Ns3Ipv4StaticRoutingHelper_methods(root_module, cls): - ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper::Ipv4StaticRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper::Ipv4StaticRoutingHelper(ns3::Ipv4StaticRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4StaticRoutingHelper const &', 'arg0')]) - ## ipv4-static-routing-helper.h: ns3::Ipv4StaticRoutingHelper * ns3::Ipv4StaticRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4StaticRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-static-routing-helper.h: ns3::Ptr ns3::Ipv4StaticRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## ipv4-static-routing-helper.h: ns3::Ptr ns3::Ipv4StaticRoutingHelper::GetStaticRouting(ns3::Ptr ipv4) const [member function] - cls.add_method('GetStaticRouting', - 'ns3::Ptr< ns3::Ipv4StaticRouting >', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_const=True) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(ns3::Ptr n, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr input, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(std::string n, ns3::Ipv4Address source, ns3::Ipv4Address group, ns3::Ptr input, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('std::string', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(ns3::Ptr n, ns3::Ipv4Address source, ns3::Ipv4Address group, std::string inputName, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::AddMulticastRoute(std::string nName, ns3::Ipv4Address source, ns3::Ipv4Address group, std::string inputName, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('std::string', 'nName'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(ns3::Ptr n, ns3::Ptr nd) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(ns3::Ptr n, std::string ndName) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('std::string', 'ndName')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(std::string nName, ns3::Ptr nd) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('std::string', 'nName'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## ipv4-static-routing-helper.h: void ns3::Ipv4StaticRoutingHelper::SetDefaultMulticastRoute(std::string nName, std::string ndName) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('std::string', 'nName'), param('std::string', 'ndName')]) - return - -def register_Ns3Ipv6AddressHelper_methods(root_module, cls): - ## ipv6-address-helper.h: ns3::Ipv6AddressHelper::Ipv6AddressHelper(ns3::Ipv6AddressHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressHelper const &', 'arg0')]) - ## ipv6-address-helper.h: ns3::Ipv6AddressHelper::Ipv6AddressHelper() [constructor] - cls.add_constructor([]) - ## ipv6-address-helper.h: ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c) [member function] - cls.add_method('Assign', - 'ns3::Ipv6InterfaceContainer', - [param('ns3::NetDeviceContainer const &', 'c')]) - ## ipv6-address-helper.h: ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign(ns3::NetDeviceContainer const & c, std::vector > withConfiguration) [member function] - cls.add_method('Assign', - 'ns3::Ipv6InterfaceContainer', - [param('ns3::NetDeviceContainer const &', 'c'), param('std::vector< bool >', 'withConfiguration')]) - ## ipv6-address-helper.h: ns3::Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutAddress(ns3::NetDeviceContainer const & c) [member function] - cls.add_method('AssignWithoutAddress', - 'ns3::Ipv6InterfaceContainer', - [param('ns3::NetDeviceContainer const &', 'c')]) - ## ipv6-address-helper.h: ns3::Ipv6Address ns3::Ipv6AddressHelper::NewAddress(ns3::Address addr) [member function] - cls.add_method('NewAddress', - 'ns3::Ipv6Address', - [param('ns3::Address', 'addr')]) - ## ipv6-address-helper.h: void ns3::Ipv6AddressHelper::NewNetwork(ns3::Ipv6Address network, ns3::Ipv6Prefix prefix) [member function] - cls.add_method('NewNetwork', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix')]) - return - -def register_Ns3Ipv6InterfaceAddress_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress() [constructor] - cls.add_constructor([]) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'address')]) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6Address address, ns3::Ipv6Prefix prefix) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'prefix')]) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Ipv6InterfaceAddress(ns3::Ipv6InterfaceAddress const & o) [copy constructor] - cls.add_constructor([param('ns3::Ipv6InterfaceAddress const &', 'o')]) - ## ipv6-interface-address.h: ns3::Ipv6Address ns3::Ipv6InterfaceAddress::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-interface-address.h: uint32_t ns3::Ipv6InterfaceAddress::GetNsDadUid() const [member function] - cls.add_method('GetNsDadUid', - 'uint32_t', - [], - is_const=True) - ## ipv6-interface-address.h: ns3::Ipv6Prefix ns3::Ipv6InterfaceAddress::GetPrefix() const [member function] - cls.add_method('GetPrefix', - 'ns3::Ipv6Prefix', - [], - is_const=True) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::Scope_e ns3::Ipv6InterfaceAddress::GetScope() const [member function] - cls.add_method('GetScope', - 'ns3::Ipv6InterfaceAddress::Scope_e', - [], - is_const=True) - ## ipv6-interface-address.h: ns3::Ipv6InterfaceAddress::State_e ns3::Ipv6InterfaceAddress::GetState() const [member function] - cls.add_method('GetState', - 'ns3::Ipv6InterfaceAddress::State_e', - [], - is_const=True) - ## ipv6-interface-address.h: void ns3::Ipv6InterfaceAddress::SetAddress(ns3::Ipv6Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Ipv6Address', 'address')]) - ## ipv6-interface-address.h: void ns3::Ipv6InterfaceAddress::SetNsDadUid(uint32_t uid) [member function] - cls.add_method('SetNsDadUid', - 'void', - [param('uint32_t', 'uid')]) - ## ipv6-interface-address.h: void ns3::Ipv6InterfaceAddress::SetScope(ns3::Ipv6InterfaceAddress::Scope_e scope) [member function] - cls.add_method('SetScope', - 'void', - [param('ns3::Ipv6InterfaceAddress::Scope_e', 'scope')]) - ## ipv6-interface-address.h: void ns3::Ipv6InterfaceAddress::SetState(ns3::Ipv6InterfaceAddress::State_e state) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::Ipv6InterfaceAddress::State_e', 'state')]) - return - -def register_Ns3Ipv6InterfaceContainer_methods(root_module, cls): - ## ipv6-interface-container.h: ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer(ns3::Ipv6InterfaceContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6InterfaceContainer const &', 'arg0')]) - ## ipv6-interface-container.h: ns3::Ipv6InterfaceContainer::Ipv6InterfaceContainer() [constructor] - cls.add_constructor([]) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::Add(ns3::Ptr ipv6, uint32_t interface) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface')]) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::Add(ns3::Ipv6InterfaceContainer & c) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv6InterfaceContainer &', 'c')]) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::Add(std::string ipv6Name, uint32_t interface) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'ipv6Name'), param('uint32_t', 'interface')]) - ## ipv6-interface-container.h: __gnu_cxx::__normal_iterator, unsigned int>*,std::vector, unsigned int>, std::allocator, unsigned int> > > > ns3::Ipv6InterfaceContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', - [], - is_const=True) - ## ipv6-interface-container.h: __gnu_cxx::__normal_iterator, unsigned int>*,std::vector, unsigned int>, std::allocator, unsigned int> > > > ns3::Ipv6InterfaceContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > const, std::vector< std::pair< ns3::Ptr< ns3::Ipv6 >, unsigned int > > >', - [], - is_const=True) - ## ipv6-interface-container.h: ns3::Ipv6Address ns3::Ipv6InterfaceContainer::GetAddress(uint32_t i, uint32_t j) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6Address', - [param('uint32_t', 'i'), param('uint32_t', 'j')], - is_const=True) - ## ipv6-interface-container.h: uint32_t ns3::Ipv6InterfaceContainer::GetInterfaceIndex(uint32_t i) const [member function] - cls.add_method('GetInterfaceIndex', - 'uint32_t', - [param('uint32_t', 'i')], - is_const=True) - ## ipv6-interface-container.h: uint32_t ns3::Ipv6InterfaceContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::SetDefaultRoute(uint32_t i, uint32_t router) [member function] - cls.add_method('SetDefaultRoute', - 'void', - [param('uint32_t', 'i'), param('uint32_t', 'router')]) - ## ipv6-interface-container.h: void ns3::Ipv6InterfaceContainer::SetRouter(uint32_t i, bool router) [member function] - cls.add_method('SetRouter', - 'void', - [param('uint32_t', 'i'), param('bool', 'router')]) - return - -def register_Ns3Ipv6MulticastRoutingTableEntry_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-routing-table-entry.h: ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry() [constructor] - cls.add_constructor([]) - ## ipv6-routing-table-entry.h: ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry(ns3::Ipv6MulticastRoutingTableEntry const & route) [copy constructor] - cls.add_constructor([param('ns3::Ipv6MulticastRoutingTableEntry const &', 'route')]) - ## ipv6-routing-table-entry.h: ns3::Ipv6MulticastRoutingTableEntry::Ipv6MulticastRoutingTableEntry(ns3::Ipv6MulticastRoutingTableEntry const * route) [constructor] - cls.add_constructor([param('ns3::Ipv6MulticastRoutingTableEntry const *', 'route')]) - ## ipv6-routing-table-entry.h: static ns3::Ipv6MulticastRoutingTableEntry ns3::Ipv6MulticastRoutingTableEntry::CreateMulticastRoute(ns3::Ipv6Address origin, ns3::Ipv6Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] - cls.add_method('CreateMulticastRoute', - 'ns3::Ipv6MulticastRoutingTableEntry', - [param('ns3::Ipv6Address', 'origin'), param('ns3::Ipv6Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')], - is_static=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6MulticastRoutingTableEntry::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetInputInterface() const [member function] - cls.add_method('GetInputInterface', - 'uint32_t', - [], - is_const=True) - ## ipv6-routing-table-entry.h: uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetNOutputInterfaces() const [member function] - cls.add_method('GetNOutputInterfaces', - 'uint32_t', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6MulticastRoutingTableEntry::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: uint32_t ns3::Ipv6MulticastRoutingTableEntry::GetOutputInterface(uint32_t n) const [member function] - cls.add_method('GetOutputInterface', - 'uint32_t', - [param('uint32_t', 'n')], - is_const=True) - ## ipv6-routing-table-entry.h: std::vector > ns3::Ipv6MulticastRoutingTableEntry::GetOutputInterfaces() const [member function] - cls.add_method('GetOutputInterfaces', - 'std::vector< unsigned int >', - [], - is_const=True) - return - -def register_Ns3Ipv6RoutingHelper_methods(root_module, cls): - ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper::Ipv6RoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper::Ipv6RoutingHelper(ns3::Ipv6RoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6RoutingHelper const &', 'arg0')]) - ## ipv6-routing-helper.h: ns3::Ipv6RoutingHelper * ns3::Ipv6RoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv6RoutingHelper *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6-routing-helper.h: ns3::Ptr ns3::Ipv6RoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6RoutingTableEntry_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-routing-table-entry.h: ns3::Ipv6RoutingTableEntry::Ipv6RoutingTableEntry() [constructor] - cls.add_constructor([]) - ## ipv6-routing-table-entry.h: ns3::Ipv6RoutingTableEntry::Ipv6RoutingTableEntry(ns3::Ipv6RoutingTableEntry const & route) [copy constructor] - cls.add_constructor([param('ns3::Ipv6RoutingTableEntry const &', 'route')]) - ## ipv6-routing-table-entry.h: ns3::Ipv6RoutingTableEntry::Ipv6RoutingTableEntry(ns3::Ipv6RoutingTableEntry const * route) [constructor] - cls.add_constructor([param('ns3::Ipv6RoutingTableEntry const *', 'route')]) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateDefaultRoute(ns3::Ipv6Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateDefaultRoute', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateHostRouteTo(ns3::Ipv6Address dest, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address()) [member function] - cls.add_method('CreateHostRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'dest'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address()')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateHostRouteTo(ns3::Ipv6Address dest, uint32_t interface) [member function] - cls.add_method('CreateHostRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'dest'), param('uint32_t', 'interface')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, ns3::Ipv6Address nextHop, uint32_t interface) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse')], - is_static=True) - ## ipv6-routing-table-entry.h: static ns3::Ipv6RoutingTableEntry ns3::Ipv6RoutingTableEntry::CreateNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, uint32_t interface) [member function] - cls.add_method('CreateNetworkRouteTo', - 'ns3::Ipv6RoutingTableEntry', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('uint32_t', 'interface')], - is_static=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6RoutingTableEntry::GetDest() const [member function] - cls.add_method('GetDest', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6RoutingTableEntry::GetDestNetwork() const [member function] - cls.add_method('GetDestNetwork', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Prefix ns3::Ipv6RoutingTableEntry::GetDestNetworkPrefix() const [member function] - cls.add_method('GetDestNetworkPrefix', - 'ns3::Ipv6Prefix', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6RoutingTableEntry::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: uint32_t ns3::Ipv6RoutingTableEntry::GetInterface() const [member function] - cls.add_method('GetInterface', - 'uint32_t', - [], - is_const=True) - ## ipv6-routing-table-entry.h: ns3::Ipv6Address ns3::Ipv6RoutingTableEntry::GetPrefixToUse() const [member function] - cls.add_method('GetPrefixToUse', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-routing-table-entry.h: bool ns3::Ipv6RoutingTableEntry::IsDefault() const [member function] - cls.add_method('IsDefault', - 'bool', - [], - is_const=True) - ## ipv6-routing-table-entry.h: bool ns3::Ipv6RoutingTableEntry::IsGateway() const [member function] - cls.add_method('IsGateway', - 'bool', - [], - is_const=True) - ## ipv6-routing-table-entry.h: bool ns3::Ipv6RoutingTableEntry::IsHost() const [member function] - cls.add_method('IsHost', - 'bool', - [], - is_const=True) - ## ipv6-routing-table-entry.h: bool ns3::Ipv6RoutingTableEntry::IsNetwork() const [member function] - cls.add_method('IsNetwork', - 'bool', - [], - is_const=True) - ## ipv6-routing-table-entry.h: void ns3::Ipv6RoutingTableEntry::SetPrefixToUse(ns3::Ipv6Address prefix) [member function] - cls.add_method('SetPrefixToUse', - 'void', - [param('ns3::Ipv6Address', 'prefix')]) - return - -def register_Ns3Ipv6StaticRoutingHelper_methods(root_module, cls): - ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper::Ipv6StaticRoutingHelper(ns3::Ipv6StaticRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6StaticRoutingHelper const &', 'arg0')]) - ## ipv6-static-routing-helper.h: ns3::Ipv6StaticRoutingHelper * ns3::Ipv6StaticRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv6StaticRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv6-static-routing-helper.h: ns3::Ptr ns3::Ipv6StaticRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## ipv6-static-routing-helper.h: ns3::Ptr ns3::Ipv6StaticRoutingHelper::GetStaticRouting(ns3::Ptr ipv6) const [member function] - cls.add_method('GetStaticRouting', - 'ns3::Ptr< ns3::Ipv6StaticRouting >', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6')], - is_const=True) - ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(ns3::Ptr n, ns3::Ipv6Address source, ns3::Ipv6Address group, ns3::Ptr input, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(std::string n, ns3::Ipv6Address source, ns3::Ipv6Address group, ns3::Ptr input, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('std::string', 'n'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('ns3::Ptr< ns3::NetDevice >', 'input'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(ns3::Ptr n, ns3::Ipv6Address source, ns3::Ipv6Address group, std::string inputName, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ptr< ns3::Node >', 'n'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')]) - ## ipv6-static-routing-helper.h: void ns3::Ipv6StaticRoutingHelper::AddMulticastRoute(std::string nName, ns3::Ipv6Address source, ns3::Ipv6Address group, std::string inputName, ns3::NetDeviceContainer output) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('std::string', 'nName'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'group'), param('std::string', 'inputName'), param('ns3::NetDeviceContainer', 'output')]) - return - -def register_Ns3OptionField_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::OptionField::OptionField(ns3::OptionField const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OptionField const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::OptionField::OptionField(uint32_t optionsOffset) [constructor] - cls.add_constructor([param('uint32_t', 'optionsOffset')]) - ## ipv6-extension-header.h: void ns3::OptionField::AddOption(ns3::Ipv6OptionHeader const & option) [member function] - cls.add_method('AddOption', - 'void', - [param('ns3::Ipv6OptionHeader const &', 'option')]) - ## ipv6-extension-header.h: uint32_t ns3::OptionField::Deserialize(ns3::Buffer::Iterator start, uint32_t length) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'length')]) - ## ipv6-extension-header.h: ns3::Buffer ns3::OptionField::GetOptionBuffer() [member function] - cls.add_method('GetOptionBuffer', - 'ns3::Buffer', - []) - ## ipv6-extension-header.h: uint32_t ns3::OptionField::GetOptionsOffset() [member function] - cls.add_method('GetOptionsOffset', - 'uint32_t', - []) - ## ipv6-extension-header.h: uint32_t ns3::OptionField::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## ipv6-extension-header.h: void ns3::OptionField::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3PcapHelperForIpv4_methods(root_module, cls): - ## internet-trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4(ns3::PcapHelperForIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelperForIpv4 const &', 'arg0')]) - ## internet-trace-helper.h: ns3::PcapHelperForIpv4::PcapHelperForIpv4() [constructor] - cls.add_constructor([]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, std::string ipv4Name, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv4Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::Ipv4InterfaceContainer c) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv4InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv4', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4All(std::string prefix) [member function] - cls.add_method('EnablePcapIpv4All', - 'void', - [param('std::string', 'prefix')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv4::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv4Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3PcapHelperForIpv6_methods(root_module, cls): - ## internet-trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6(ns3::PcapHelperForIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelperForIpv6 const &', 'arg0')]) - ## internet-trace-helper.h: ns3::PcapHelperForIpv6::PcapHelperForIpv6() [constructor] - cls.add_constructor([]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, std::string ipv6Name, uint32_t interface, bool explicitFilename=false) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ipv6Name'), param('uint32_t', 'interface'), param('bool', 'explicitFilename', default_value='false')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::Ipv6InterfaceContainer c) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::Ipv6InterfaceContainer', 'c')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6(std::string prefix, uint32_t nodeid, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv6', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6All(std::string prefix) [member function] - cls.add_method('EnablePcapIpv6All', - 'void', - [param('std::string', 'prefix')]) - ## internet-trace-helper.h: void ns3::PcapHelperForIpv6::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv6Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SPFVertex_methods(root_module, cls): - ## global-route-manager-impl.h: ns3::SPFVertex::SPFVertex() [constructor] - cls.add_constructor([]) - ## global-route-manager-impl.h: ns3::SPFVertex::SPFVertex(ns3::GlobalRoutingLSA * lsa) [constructor] - cls.add_constructor([param('ns3::GlobalRoutingLSA *', 'lsa')]) - ## global-route-manager-impl.h: ns3::SPFVertex::VertexType ns3::SPFVertex::GetVertexType() const [member function] - cls.add_method('GetVertexType', - 'ns3::SPFVertex::VertexType', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetVertexType(ns3::SPFVertex::VertexType type) [member function] - cls.add_method('SetVertexType', - 'void', - [param('ns3::SPFVertex::VertexType', 'type')]) - ## global-route-manager-impl.h: ns3::Ipv4Address ns3::SPFVertex::GetVertexId() const [member function] - cls.add_method('GetVertexId', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetVertexId(ns3::Ipv4Address id) [member function] - cls.add_method('SetVertexId', - 'void', - [param('ns3::Ipv4Address', 'id')]) - ## global-route-manager-impl.h: ns3::GlobalRoutingLSA * ns3::SPFVertex::GetLSA() const [member function] - cls.add_method('GetLSA', - 'ns3::GlobalRoutingLSA *', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetLSA(ns3::GlobalRoutingLSA * lsa) [member function] - cls.add_method('SetLSA', - 'void', - [param('ns3::GlobalRoutingLSA *', 'lsa')]) - ## global-route-manager-impl.h: uint32_t ns3::SPFVertex::GetDistanceFromRoot() const [member function] - cls.add_method('GetDistanceFromRoot', - 'uint32_t', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetDistanceFromRoot(uint32_t distance) [member function] - cls.add_method('SetDistanceFromRoot', - 'void', - [param('uint32_t', 'distance')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetRootExitDirection(ns3::Ipv4Address nextHop, int32_t id=ns3::SPF_INFINITY) [member function] - cls.add_method('SetRootExitDirection', - 'void', - [param('ns3::Ipv4Address', 'nextHop'), param('int32_t', 'id', default_value='ns3::SPF_INFINITY')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetRootExitDirection(std::pair exit) [member function] - cls.add_method('SetRootExitDirection', - 'void', - [param('std::pair< ns3::Ipv4Address, int >', 'exit')]) - ## global-route-manager-impl.h: std::pair ns3::SPFVertex::GetRootExitDirection(uint32_t i) const [member function] - cls.add_method('GetRootExitDirection', - 'std::pair< ns3::Ipv4Address, int >', - [param('uint32_t', 'i')], - is_const=True) - ## global-route-manager-impl.h: std::pair ns3::SPFVertex::GetRootExitDirection() const [member function] - cls.add_method('GetRootExitDirection', - 'std::pair< ns3::Ipv4Address, int >', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::MergeRootExitDirections(ns3::SPFVertex const * vertex) [member function] - cls.add_method('MergeRootExitDirections', - 'void', - [param('ns3::SPFVertex const *', 'vertex')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::InheritAllRootExitDirections(ns3::SPFVertex const * vertex) [member function] - cls.add_method('InheritAllRootExitDirections', - 'void', - [param('ns3::SPFVertex const *', 'vertex')]) - ## global-route-manager-impl.h: uint32_t ns3::SPFVertex::GetNRootExitDirections() const [member function] - cls.add_method('GetNRootExitDirections', - 'uint32_t', - [], - is_const=True) - ## global-route-manager-impl.h: ns3::SPFVertex * ns3::SPFVertex::GetParent(uint32_t i=0) const [member function] - cls.add_method('GetParent', - 'ns3::SPFVertex *', - [param('uint32_t', 'i', default_value='0')], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetParent(ns3::SPFVertex * parent) [member function] - cls.add_method('SetParent', - 'void', - [param('ns3::SPFVertex *', 'parent')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::MergeParent(ns3::SPFVertex const * v) [member function] - cls.add_method('MergeParent', - 'void', - [param('ns3::SPFVertex const *', 'v')]) - ## global-route-manager-impl.h: uint32_t ns3::SPFVertex::GetNChildren() const [member function] - cls.add_method('GetNChildren', - 'uint32_t', - [], - is_const=True) - ## global-route-manager-impl.h: ns3::SPFVertex * ns3::SPFVertex::GetChild(uint32_t n) const [member function] - cls.add_method('GetChild', - 'ns3::SPFVertex *', - [param('uint32_t', 'n')], - is_const=True) - ## global-route-manager-impl.h: uint32_t ns3::SPFVertex::AddChild(ns3::SPFVertex * child) [member function] - cls.add_method('AddChild', - 'uint32_t', - [param('ns3::SPFVertex *', 'child')]) - ## global-route-manager-impl.h: void ns3::SPFVertex::SetVertexProcessed(bool value) [member function] - cls.add_method('SetVertexProcessed', - 'void', - [param('bool', 'value')]) - ## global-route-manager-impl.h: bool ns3::SPFVertex::IsVertexProcessed() const [member function] - cls.add_method('IsVertexProcessed', - 'bool', - [], - is_const=True) - ## global-route-manager-impl.h: void ns3::SPFVertex::ClearVertexProcessed() [member function] - cls.add_method('ClearVertexProcessed', - 'void', - []) - return - -def register_Ns3Icmpv4DestinationUnreachable_methods(root_module, cls): - ## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable(ns3::Icmpv4DestinationUnreachable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4DestinationUnreachable const &', 'arg0')]) - ## icmpv4.h: ns3::Icmpv4DestinationUnreachable::Icmpv4DestinationUnreachable() [constructor] - cls.add_constructor([]) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::GetData(uint8_t * payload) const [member function] - cls.add_method('GetData', - 'void', - [param('uint8_t *', 'payload')], - is_const=True) - ## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4DestinationUnreachable::GetHeader() const [member function] - cls.add_method('GetHeader', - 'ns3::Ipv4Header', - [], - is_const=True) - ## icmpv4.h: uint16_t ns3::Icmpv4DestinationUnreachable::GetNextHopMtu() const [member function] - cls.add_method('GetNextHopMtu', - 'uint16_t', - [], - is_const=True) - ## icmpv4.h: static ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetData(ns3::Ptr data) [member function] - cls.add_method('SetData', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'data')]) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetHeader(ns3::Ipv4Header header) [member function] - cls.add_method('SetHeader', - 'void', - [param('ns3::Ipv4Header', 'header')]) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::SetNextHopMtu(uint16_t mtu) [member function] - cls.add_method('SetNextHopMtu', - 'void', - [param('uint16_t', 'mtu')]) - ## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - visibility='private', is_virtual=True) - ## icmpv4.h: ns3::TypeId ns3::Icmpv4DestinationUnreachable::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, visibility='private', is_virtual=True) - ## icmpv4.h: uint32_t ns3::Icmpv4DestinationUnreachable::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='private', is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4DestinationUnreachable::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Icmpv4Echo_methods(root_module, cls): - ## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo(ns3::Icmpv4Echo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4Echo const &', 'arg0')]) - ## icmpv4.h: ns3::Icmpv4Echo::Icmpv4Echo() [constructor] - cls.add_constructor([]) - ## icmpv4.h: uint32_t ns3::Icmpv4Echo::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetData(uint8_t * payload) const [member function] - cls.add_method('GetData', - 'uint32_t', - [param('uint8_t *', 'payload')], - is_const=True) - ## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetDataSize() const [member function] - cls.add_method('GetDataSize', - 'uint32_t', - [], - is_const=True) - ## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetIdentifier() const [member function] - cls.add_method('GetIdentifier', - 'uint16_t', - [], - is_const=True) - ## icmpv4.h: ns3::TypeId ns3::Icmpv4Echo::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: uint16_t ns3::Icmpv4Echo::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## icmpv4.h: uint32_t ns3::Icmpv4Echo::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: static ns3::TypeId ns3::Icmpv4Echo::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4.h: void ns3::Icmpv4Echo::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Echo::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Echo::SetData(ns3::Ptr data) [member function] - cls.add_method('SetData', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'data')]) - ## icmpv4.h: void ns3::Icmpv4Echo::SetIdentifier(uint16_t id) [member function] - cls.add_method('SetIdentifier', - 'void', - [param('uint16_t', 'id')]) - ## icmpv4.h: void ns3::Icmpv4Echo::SetSequenceNumber(uint16_t seq) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'seq')]) - return - -def register_Ns3Icmpv4Header_methods(root_module, cls): - ## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header(ns3::Icmpv4Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4Header const &', 'arg0')]) - ## icmpv4.h: ns3::Icmpv4Header::Icmpv4Header() [constructor] - cls.add_constructor([]) - ## icmpv4.h: uint32_t ns3::Icmpv4Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Header::EnableChecksum() [member function] - cls.add_method('EnableChecksum', - 'void', - []) - ## icmpv4.h: uint8_t ns3::Icmpv4Header::GetCode() const [member function] - cls.add_method('GetCode', - 'uint8_t', - [], - is_const=True) - ## icmpv4.h: ns3::TypeId ns3::Icmpv4Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: uint32_t ns3::Icmpv4Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: uint8_t ns3::Icmpv4Header::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## icmpv4.h: static ns3::TypeId ns3::Icmpv4Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4.h: void ns3::Icmpv4Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4Header::SetCode(uint8_t code) [member function] - cls.add_method('SetCode', - 'void', - [param('uint8_t', 'code')]) - ## icmpv4.h: void ns3::Icmpv4Header::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3Icmpv4TimeExceeded_methods(root_module, cls): - ## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded(ns3::Icmpv4TimeExceeded const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4TimeExceeded const &', 'arg0')]) - ## icmpv4.h: ns3::Icmpv4TimeExceeded::Icmpv4TimeExceeded() [constructor] - cls.add_constructor([]) - ## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::GetData(uint8_t * payload) const [member function] - cls.add_method('GetData', - 'void', - [param('uint8_t *', 'payload')], - is_const=True) - ## icmpv4.h: ns3::Ipv4Header ns3::Icmpv4TimeExceeded::GetHeader() const [member function] - cls.add_method('GetHeader', - 'ns3::Ipv4Header', - [], - is_const=True) - ## icmpv4.h: ns3::TypeId ns3::Icmpv4TimeExceeded::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: uint32_t ns3::Icmpv4TimeExceeded::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv4.h: static ns3::TypeId ns3::Icmpv4TimeExceeded::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetData(ns3::Ptr data) [member function] - cls.add_method('SetData', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'data')]) - ## icmpv4.h: void ns3::Icmpv4TimeExceeded::SetHeader(ns3::Ipv4Header header) [member function] - cls.add_method('SetHeader', - 'void', - [param('ns3::Ipv4Header', 'header')]) - return - -def register_Ns3Icmpv6Header_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6Header::Icmpv6Header(ns3::Icmpv6Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6Header const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6Header::Icmpv6Header() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: void ns3::Icmpv6Header::CalculatePseudoHeaderChecksum(ns3::Ipv6Address src, ns3::Ipv6Address dst, uint16_t length, uint8_t protocol) [member function] - cls.add_method('CalculatePseudoHeaderChecksum', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint16_t', 'length'), param('uint8_t', 'protocol')]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6Header::GetChecksum() const [member function] - cls.add_method('GetChecksum', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6Header::GetCode() const [member function] - cls.add_method('GetCode', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6Header::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Header::SetChecksum(uint16_t checksum) [member function] - cls.add_method('SetChecksum', - 'void', - [param('uint16_t', 'checksum')]) - ## icmpv6-header.h: void ns3::Icmpv6Header::SetCode(uint8_t code) [member function] - cls.add_method('SetCode', - 'void', - [param('uint8_t', 'code')]) - ## icmpv6-header.h: void ns3::Icmpv6Header::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3Icmpv6NA_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6NA::Icmpv6NA(ns3::Icmpv6NA const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6NA const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6NA::Icmpv6NA() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NA::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: bool ns3::Icmpv6NA::GetFlagO() const [member function] - cls.add_method('GetFlagO', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6NA::GetFlagR() const [member function] - cls.add_method('GetFlagR', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6NA::GetFlagS() const [member function] - cls.add_method('GetFlagS', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6NA::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6NA::GetIpv6Target() const [member function] - cls.add_method('GetIpv6Target', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NA::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NA::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6NA::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6NA::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6NA::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetFlagO(bool o) [member function] - cls.add_method('SetFlagO', - 'void', - [param('bool', 'o')]) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetFlagR(bool r) [member function] - cls.add_method('SetFlagR', - 'void', - [param('bool', 'r')]) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetFlagS(bool s) [member function] - cls.add_method('SetFlagS', - 'void', - [param('bool', 's')]) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetIpv6Target(ns3::Ipv6Address target) [member function] - cls.add_method('SetIpv6Target', - 'void', - [param('ns3::Ipv6Address', 'target')]) - ## icmpv6-header.h: void ns3::Icmpv6NA::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - return - -def register_Ns3Icmpv6NS_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6NS::Icmpv6NS(ns3::Icmpv6NS const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6NS const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6NS::Icmpv6NS(ns3::Ipv6Address target) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'target')]) - ## icmpv6-header.h: ns3::Icmpv6NS::Icmpv6NS() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NS::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6NS::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6NS::GetIpv6Target() const [member function] - cls.add_method('GetIpv6Target', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NS::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6NS::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6NS::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6NS::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6NS::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6NS::SetIpv6Target(ns3::Ipv6Address target) [member function] - cls.add_method('SetIpv6Target', - 'void', - [param('ns3::Ipv6Address', 'target')]) - ## icmpv6-header.h: void ns3::Icmpv6NS::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - return - -def register_Ns3Icmpv6OptionHeader_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionHeader::Icmpv6OptionHeader(ns3::Icmpv6OptionHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionHeader const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionHeader::Icmpv6OptionHeader() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6OptionHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6OptionHeader::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionHeader::SetLength(uint8_t len) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'len')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionHeader::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3Icmpv6OptionLinkLayerAddress_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress::Icmpv6OptionLinkLayerAddress(ns3::Icmpv6OptionLinkLayerAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionLinkLayerAddress const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress::Icmpv6OptionLinkLayerAddress(bool source) [constructor] - cls.add_constructor([param('bool', 'source')]) - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress::Icmpv6OptionLinkLayerAddress(bool source, ns3::Address addr) [constructor] - cls.add_constructor([param('bool', 'source'), param('ns3::Address', 'addr')]) - ## icmpv6-header.h: ns3::Icmpv6OptionLinkLayerAddress::Icmpv6OptionLinkLayerAddress() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionLinkLayerAddress::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::Address ns3::Icmpv6OptionLinkLayerAddress::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionLinkLayerAddress::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionLinkLayerAddress::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionLinkLayerAddress::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionLinkLayerAddress::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionLinkLayerAddress::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionLinkLayerAddress::SetAddress(ns3::Address addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'addr')]) - return - -def register_Ns3Icmpv6OptionMtu_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionMtu::Icmpv6OptionMtu(ns3::Icmpv6OptionMtu const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionMtu const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionMtu::Icmpv6OptionMtu() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: ns3::Icmpv6OptionMtu::Icmpv6OptionMtu(uint32_t mtu) [constructor] - cls.add_constructor([param('uint32_t', 'mtu')]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionMtu::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionMtu::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionMtu::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6OptionMtu::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionMtu::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionMtu::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionMtu::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionMtu::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionMtu::SetMtu(uint32_t mtu) [member function] - cls.add_method('SetMtu', - 'void', - [param('uint32_t', 'mtu')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionMtu::SetReserved(uint16_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint16_t', 'reserved')]) - return - -def register_Ns3Icmpv6OptionPrefixInformation_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionPrefixInformation::Icmpv6OptionPrefixInformation(ns3::Icmpv6OptionPrefixInformation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionPrefixInformation const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionPrefixInformation::Icmpv6OptionPrefixInformation() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: ns3::Icmpv6OptionPrefixInformation::Icmpv6OptionPrefixInformation(ns3::Ipv6Address network, uint8_t prefixlen) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'network'), param('uint8_t', 'prefixlen')]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6OptionPrefixInformation::GetFlags() const [member function] - cls.add_method('GetFlags', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionPrefixInformation::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::GetPreferredTime() const [member function] - cls.add_method('GetPreferredTime', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6OptionPrefixInformation::GetPrefix() const [member function] - cls.add_method('GetPrefix', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6OptionPrefixInformation::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionPrefixInformation::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionPrefixInformation::GetValidTime() const [member function] - cls.add_method('GetValidTime', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetFlags(uint8_t flags) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'flags')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetPreferredTime(uint32_t preferredTime) [member function] - cls.add_method('SetPreferredTime', - 'void', - [param('uint32_t', 'preferredTime')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetPrefix(ns3::Ipv6Address prefix) [member function] - cls.add_method('SetPrefix', - 'void', - [param('ns3::Ipv6Address', 'prefix')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetPrefixLength(uint8_t prefixLength) [member function] - cls.add_method('SetPrefixLength', - 'void', - [param('uint8_t', 'prefixLength')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - ## icmpv6-header.h: void ns3::Icmpv6OptionPrefixInformation::SetValidTime(uint32_t validTime) [member function] - cls.add_method('SetValidTime', - 'void', - [param('uint32_t', 'validTime')]) - return - -def register_Ns3Icmpv6OptionRedirected_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6OptionRedirected::Icmpv6OptionRedirected(ns3::Icmpv6OptionRedirected const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6OptionRedirected const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6OptionRedirected::Icmpv6OptionRedirected() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionRedirected::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6OptionRedirected::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6OptionRedirected::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6OptionRedirected::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6OptionRedirected::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionRedirected::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionRedirected::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6OptionRedirected::SetPacket(ns3::Ptr packet) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - return - -def register_Ns3Icmpv6ParameterError_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6ParameterError::Icmpv6ParameterError(ns3::Icmpv6ParameterError const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6ParameterError const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6ParameterError::Icmpv6ParameterError() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6ParameterError::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6ParameterError::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6ParameterError::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6ParameterError::GetPtr() const [member function] - cls.add_method('GetPtr', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6ParameterError::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6ParameterError::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6ParameterError::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6ParameterError::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6ParameterError::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## icmpv6-header.h: void ns3::Icmpv6ParameterError::SetPtr(uint32_t ptr) [member function] - cls.add_method('SetPtr', - 'void', - [param('uint32_t', 'ptr')]) - return - -def register_Ns3Icmpv6RA_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6RA::Icmpv6RA(ns3::Icmpv6RA const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6RA const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6RA::Icmpv6RA() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RA::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6RA::GetCurHopLimit() const [member function] - cls.add_method('GetCurHopLimit', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6RA::GetFlagH() const [member function] - cls.add_method('GetFlagH', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6RA::GetFlagM() const [member function] - cls.add_method('GetFlagM', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: bool ns3::Icmpv6RA::GetFlagO() const [member function] - cls.add_method('GetFlagO', - 'bool', - [], - is_const=True) - ## icmpv6-header.h: uint8_t ns3::Icmpv6RA::GetFlags() const [member function] - cls.add_method('GetFlags', - 'uint8_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6RA::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6RA::GetLifeTime() const [member function] - cls.add_method('GetLifeTime', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RA::GetReachableTime() const [member function] - cls.add_method('GetReachableTime', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RA::GetRetransmissionTime() const [member function] - cls.add_method('GetRetransmissionTime', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RA::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6RA::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6RA::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6RA::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetCurHopLimit(uint8_t m) [member function] - cls.add_method('SetCurHopLimit', - 'void', - [param('uint8_t', 'm')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetFlagH(bool h) [member function] - cls.add_method('SetFlagH', - 'void', - [param('bool', 'h')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetFlagM(bool m) [member function] - cls.add_method('SetFlagM', - 'void', - [param('bool', 'm')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetFlagO(bool o) [member function] - cls.add_method('SetFlagO', - 'void', - [param('bool', 'o')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetFlags(uint8_t f) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'f')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetLifeTime(uint16_t l) [member function] - cls.add_method('SetLifeTime', - 'void', - [param('uint16_t', 'l')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetReachableTime(uint32_t r) [member function] - cls.add_method('SetReachableTime', - 'void', - [param('uint32_t', 'r')]) - ## icmpv6-header.h: void ns3::Icmpv6RA::SetRetransmissionTime(uint32_t r) [member function] - cls.add_method('SetRetransmissionTime', - 'void', - [param('uint32_t', 'r')]) - return - -def register_Ns3Icmpv6RS_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6RS::Icmpv6RS(ns3::Icmpv6RS const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6RS const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6RS::Icmpv6RS() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RS::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6RS::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RS::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6RS::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6RS::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6RS::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6RS::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6RS::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - return - -def register_Ns3Icmpv6Redirection_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6Redirection::Icmpv6Redirection(ns3::Icmpv6Redirection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6Redirection const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6Redirection::Icmpv6Redirection() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Redirection::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6Redirection::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6Redirection::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Redirection::GetReserved() const [member function] - cls.add_method('GetReserved', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Redirection::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ipv6Address ns3::Icmpv6Redirection::GetTarget() const [member function] - cls.add_method('GetTarget', - 'ns3::Ipv6Address', - [], - is_const=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6Redirection::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::SetDestination(ns3::Ipv6Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv6Address', 'destination')]) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::SetReserved(uint32_t reserved) [member function] - cls.add_method('SetReserved', - 'void', - [param('uint32_t', 'reserved')]) - ## icmpv6-header.h: void ns3::Icmpv6Redirection::SetTarget(ns3::Ipv6Address target) [member function] - cls.add_method('SetTarget', - 'void', - [param('ns3::Ipv6Address', 'target')]) - return - -def register_Ns3Icmpv6TimeExceeded_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6TimeExceeded::Icmpv6TimeExceeded(ns3::Icmpv6TimeExceeded const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6TimeExceeded const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6TimeExceeded::Icmpv6TimeExceeded() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TimeExceeded::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6TimeExceeded::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6TimeExceeded::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TimeExceeded::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6TimeExceeded::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6TimeExceeded::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6TimeExceeded::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6TimeExceeded::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - return - -def register_Ns3Icmpv6TooBig_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6TooBig::Icmpv6TooBig(ns3::Icmpv6TooBig const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6TooBig const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6TooBig::Icmpv6TooBig() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TooBig::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6TooBig::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TooBig::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint32_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6TooBig::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6TooBig::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6TooBig::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6TooBig::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6TooBig::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6TooBig::SetMtu(uint32_t mtu) [member function] - cls.add_method('SetMtu', - 'void', - [param('uint32_t', 'mtu')]) - ## icmpv6-header.h: void ns3::Icmpv6TooBig::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - return - -def register_Ns3InternetStackHelper_methods(root_module, cls): - ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper() [constructor] - cls.add_constructor([]) - ## internet-stack-helper.h: ns3::InternetStackHelper::InternetStackHelper(ns3::InternetStackHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::InternetStackHelper const &', 'arg0')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::InstallAll() const [member function] - cls.add_method('InstallAll', - 'void', - [], - is_const=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv4StackInstall(bool enable) [member function] - cls.add_method('SetIpv4StackInstall', - 'void', - [param('bool', 'enable')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetIpv6StackInstall(bool enable) [member function] - cls.add_method('SetIpv6StackInstall', - 'void', - [param('bool', 'enable')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv4RoutingHelper const & routing) [member function] - cls.add_method('SetRoutingHelper', - 'void', - [param('ns3::Ipv4RoutingHelper const &', 'routing')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetRoutingHelper(ns3::Ipv6RoutingHelper const & routing) [member function] - cls.add_method('SetRoutingHelper', - 'void', - [param('ns3::Ipv6RoutingHelper const &', 'routing')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid) [member function] - cls.add_method('SetTcp', - 'void', - [param('std::string', 'tid')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::SetTcp(std::string tid, std::string attr, ns3::AttributeValue const & val) [member function] - cls.add_method('SetTcp', - 'void', - [param('std::string', 'tid'), param('std::string', 'attr'), param('ns3::AttributeValue const &', 'val')]) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv4Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv4Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnableAsciiIpv6Internal(ns3::Ptr stream, std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnableAsciiIpv6Internal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv4Internal(std::string prefix, ns3::Ptr ipv4, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv4Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv4 >', 'ipv4'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## internet-stack-helper.h: void ns3::InternetStackHelper::EnablePcapIpv6Internal(std::string prefix, ns3::Ptr ipv6, uint32_t interface, bool explicitFilename) [member function] - cls.add_method('EnablePcapIpv6Internal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Ipv6 >', 'ipv6'), param('uint32_t', 'interface'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3Ipv4GlobalRoutingHelper_methods(root_module, cls): - ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper::Ipv4GlobalRoutingHelper(ns3::Ipv4GlobalRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4GlobalRoutingHelper const &', 'arg0')]) - ## ipv4-global-routing-helper.h: ns3::Ipv4GlobalRoutingHelper * ns3::Ipv4GlobalRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4GlobalRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-global-routing-helper.h: ns3::Ptr ns3::Ipv4GlobalRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## ipv4-global-routing-helper.h: static void ns3::Ipv4GlobalRoutingHelper::PopulateRoutingTables() [member function] - cls.add_method('PopulateRoutingTables', - 'void', - [], - is_static=True) - ## ipv4-global-routing-helper.h: static void ns3::Ipv4GlobalRoutingHelper::RecomputeRoutingTables() [member function] - cls.add_method('RecomputeRoutingTables', - 'void', - [], - is_static=True) - return - -def register_Ns3Ipv4Header_methods(root_module, cls): - ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header(ns3::Ipv4Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Header const &', 'arg0')]) - ## ipv4-header.h: ns3::Ipv4Header::Ipv4Header() [constructor] - cls.add_constructor([]) - ## ipv4-header.h: uint32_t ns3::Ipv4Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv4-header.h: void ns3::Ipv4Header::EnableChecksum() [member function] - cls.add_method('EnableChecksum', - 'void', - []) - ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetFragmentOffset() const [member function] - cls.add_method('GetFragmentOffset', - 'uint16_t', - [], - is_const=True) - ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetIdentification() const [member function] - cls.add_method('GetIdentification', - 'uint16_t', - [], - is_const=True) - ## ipv4-header.h: ns3::TypeId ns3::Ipv4Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv4-header.h: uint16_t ns3::Ipv4Header::GetPayloadSize() const [member function] - cls.add_method('GetPayloadSize', - 'uint16_t', - [], - is_const=True) - ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetProtocol() const [member function] - cls.add_method('GetProtocol', - 'uint8_t', - [], - is_const=True) - ## ipv4-header.h: uint32_t ns3::Ipv4Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-header.h: ns3::Ipv4Address ns3::Ipv4Header::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTos() const [member function] - cls.add_method('GetTos', - 'uint8_t', - [], - is_const=True) - ## ipv4-header.h: uint8_t ns3::Ipv4Header::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint8_t', - [], - is_const=True) - ## ipv4-header.h: static ns3::TypeId ns3::Ipv4Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-header.h: bool ns3::Ipv4Header::IsChecksumOk() const [member function] - cls.add_method('IsChecksumOk', - 'bool', - [], - is_const=True) - ## ipv4-header.h: bool ns3::Ipv4Header::IsDontFragment() const [member function] - cls.add_method('IsDontFragment', - 'bool', - [], - is_const=True) - ## ipv4-header.h: bool ns3::Ipv4Header::IsLastFragment() const [member function] - cls.add_method('IsLastFragment', - 'bool', - [], - is_const=True) - ## ipv4-header.h: void ns3::Ipv4Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv4-header.h: void ns3::Ipv4Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv4-header.h: void ns3::Ipv4Header::SetDestination(ns3::Ipv4Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv4Address', 'destination')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetDontFragment() [member function] - cls.add_method('SetDontFragment', - 'void', - []) - ## ipv4-header.h: void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] - cls.add_method('SetFragmentOffset', - 'void', - [param('uint16_t', 'offset')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] - cls.add_method('SetIdentification', - 'void', - [param('uint16_t', 'identification')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetLastFragment() [member function] - cls.add_method('SetLastFragment', - 'void', - []) - ## ipv4-header.h: void ns3::Ipv4Header::SetMayFragment() [member function] - cls.add_method('SetMayFragment', - 'void', - []) - ## ipv4-header.h: void ns3::Ipv4Header::SetMoreFragments() [member function] - cls.add_method('SetMoreFragments', - 'void', - []) - ## ipv4-header.h: void ns3::Ipv4Header::SetPayloadSize(uint16_t size) [member function] - cls.add_method('SetPayloadSize', - 'void', - [param('uint16_t', 'size')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetProtocol(uint8_t num) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint8_t', 'num')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetSource(ns3::Ipv4Address source) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv4Address', 'source')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetTos(uint8_t tos) [member function] - cls.add_method('SetTos', - 'void', - [param('uint8_t', 'tos')]) - ## ipv4-header.h: void ns3::Ipv4Header::SetTtl(uint8_t ttl) [member function] - cls.add_method('SetTtl', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3Ipv4ListRoutingHelper_methods(root_module, cls): - ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper::Ipv4ListRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper::Ipv4ListRoutingHelper(ns3::Ipv4ListRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4ListRoutingHelper const &', 'arg0')]) - ## ipv4-list-routing-helper.h: ns3::Ipv4ListRoutingHelper * ns3::Ipv4ListRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4ListRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-list-routing-helper.h: void ns3::Ipv4ListRoutingHelper::Add(ns3::Ipv4RoutingHelper const & routing, int16_t priority) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv4RoutingHelper const &', 'routing'), param('int16_t', 'priority')]) - ## ipv4-list-routing-helper.h: ns3::Ptr ns3::Ipv4ListRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv4PacketInfoTag_methods(root_module, cls): - ## ipv4-packet-info-tag.h: ns3::Ipv4PacketInfoTag::Ipv4PacketInfoTag(ns3::Ipv4PacketInfoTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4PacketInfoTag const &', 'arg0')]) - ## ipv4-packet-info-tag.h: ns3::Ipv4PacketInfoTag::Ipv4PacketInfoTag() [constructor] - cls.add_constructor([]) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## ipv4-packet-info-tag.h: ns3::Ipv4Address ns3::Ipv4PacketInfoTag::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-packet-info-tag.h: ns3::TypeId ns3::Ipv4PacketInfoTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv4-packet-info-tag.h: ns3::Ipv4Address ns3::Ipv4PacketInfoTag::GetLocalAddress() const [member function] - cls.add_method('GetLocalAddress', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-packet-info-tag.h: uint32_t ns3::Ipv4PacketInfoTag::GetRecvIf() const [member function] - cls.add_method('GetRecvIf', - 'uint32_t', - [], - is_const=True) - ## ipv4-packet-info-tag.h: uint32_t ns3::Ipv4PacketInfoTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-packet-info-tag.h: uint8_t ns3::Ipv4PacketInfoTag::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint8_t', - [], - is_const=True) - ## ipv4-packet-info-tag.h: static ns3::TypeId ns3::Ipv4PacketInfoTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::SetAddress(ns3::Ipv4Address addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::SetLocalAddress(ns3::Ipv4Address addr) [member function] - cls.add_method('SetLocalAddress', - 'void', - [param('ns3::Ipv4Address', 'addr')]) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::SetRecvIf(uint32_t ifindex) [member function] - cls.add_method('SetRecvIf', - 'void', - [param('uint32_t', 'ifindex')]) - ## ipv4-packet-info-tag.h: void ns3::Ipv4PacketInfoTag::SetTtl(uint8_t ttl) [member function] - cls.add_method('SetTtl', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3Ipv6ExtensionHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHeader::Ipv6ExtensionHeader(ns3::Ipv6ExtensionHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHeader::Ipv6ExtensionHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint16_t ns3::Ipv6ExtensionHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint16_t', - [], - is_const=True) - ## ipv6-extension-header.h: uint8_t ns3::Ipv6ExtensionHeader::GetNextHeader() const [member function] - cls.add_method('GetNextHeader', - 'uint8_t', - [], - is_const=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHeader::SetLength(uint16_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint16_t', 'length')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHeader::SetNextHeader(uint8_t nextHeader) [member function] - cls.add_method('SetNextHeader', - 'void', - [param('uint8_t', 'nextHeader')]) - return - -def register_Ns3Ipv6ExtensionHopByHopHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHopByHopHeader::Ipv6ExtensionHopByHopHeader(ns3::Ipv6ExtensionHopByHopHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionHopByHopHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionHopByHopHeader::Ipv6ExtensionHopByHopHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionHopByHopHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionHopByHopHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionHopByHopHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionHopByHopHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHopByHopHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionHopByHopHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6ExtensionRoutingHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionRoutingHeader::Ipv6ExtensionRoutingHeader(ns3::Ipv6ExtensionRoutingHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionRoutingHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionRoutingHeader::Ipv6ExtensionRoutingHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionRoutingHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionRoutingHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint8_t ns3::Ipv6ExtensionRoutingHeader::GetSegmentsLeft() const [member function] - cls.add_method('GetSegmentsLeft', - 'uint8_t', - [], - is_const=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionRoutingHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionRoutingHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: uint8_t ns3::Ipv6ExtensionRoutingHeader::GetTypeRouting() const [member function] - cls.add_method('GetTypeRouting', - 'uint8_t', - [], - is_const=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionRoutingHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionRoutingHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionRoutingHeader::SetSegmentsLeft(uint8_t segmentsLeft) [member function] - cls.add_method('SetSegmentsLeft', - 'void', - [param('uint8_t', 'segmentsLeft')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionRoutingHeader::SetTypeRouting(uint8_t typeRouting) [member function] - cls.add_method('SetTypeRouting', - 'void', - [param('uint8_t', 'typeRouting')]) - return - -def register_Ns3Ipv6Header_methods(root_module, cls): - ## ipv6-header.h: ns3::Ipv6Header::Ipv6Header(ns3::Ipv6Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Header const &', 'arg0')]) - ## ipv6-header.h: ns3::Ipv6Header::Ipv6Header() [constructor] - cls.add_constructor([]) - ## ipv6-header.h: uint32_t ns3::Ipv6Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-header.h: ns3::Ipv6Address ns3::Ipv6Header::GetDestinationAddress() const [member function] - cls.add_method('GetDestinationAddress', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-header.h: uint32_t ns3::Ipv6Header::GetFlowLabel() const [member function] - cls.add_method('GetFlowLabel', - 'uint32_t', - [], - is_const=True) - ## ipv6-header.h: uint8_t ns3::Ipv6Header::GetHopLimit() const [member function] - cls.add_method('GetHopLimit', - 'uint8_t', - [], - is_const=True) - ## ipv6-header.h: ns3::TypeId ns3::Ipv6Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-header.h: uint8_t ns3::Ipv6Header::GetNextHeader() const [member function] - cls.add_method('GetNextHeader', - 'uint8_t', - [], - is_const=True) - ## ipv6-header.h: uint16_t ns3::Ipv6Header::GetPayloadLength() const [member function] - cls.add_method('GetPayloadLength', - 'uint16_t', - [], - is_const=True) - ## ipv6-header.h: uint32_t ns3::Ipv6Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-header.h: ns3::Ipv6Address ns3::Ipv6Header::GetSourceAddress() const [member function] - cls.add_method('GetSourceAddress', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-header.h: uint8_t ns3::Ipv6Header::GetTrafficClass() const [member function] - cls.add_method('GetTrafficClass', - 'uint8_t', - [], - is_const=True) - ## ipv6-header.h: static ns3::TypeId ns3::Ipv6Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-header.h: void ns3::Ipv6Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-header.h: void ns3::Ipv6Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-header.h: void ns3::Ipv6Header::SetDestinationAddress(ns3::Ipv6Address dst) [member function] - cls.add_method('SetDestinationAddress', - 'void', - [param('ns3::Ipv6Address', 'dst')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetFlowLabel(uint32_t flow) [member function] - cls.add_method('SetFlowLabel', - 'void', - [param('uint32_t', 'flow')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetHopLimit(uint8_t limit) [member function] - cls.add_method('SetHopLimit', - 'void', - [param('uint8_t', 'limit')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetNextHeader(uint8_t next) [member function] - cls.add_method('SetNextHeader', - 'void', - [param('uint8_t', 'next')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetPayloadLength(uint16_t len) [member function] - cls.add_method('SetPayloadLength', - 'void', - [param('uint16_t', 'len')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetSourceAddress(ns3::Ipv6Address src) [member function] - cls.add_method('SetSourceAddress', - 'void', - [param('ns3::Ipv6Address', 'src')]) - ## ipv6-header.h: void ns3::Ipv6Header::SetTrafficClass(uint8_t traffic) [member function] - cls.add_method('SetTrafficClass', - 'void', - [param('uint8_t', 'traffic')]) - return - -def register_Ns3Ipv6ListRoutingHelper_methods(root_module, cls): - ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper::Ipv6ListRoutingHelper() [constructor] - cls.add_constructor([]) - ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper::Ipv6ListRoutingHelper(ns3::Ipv6ListRoutingHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ListRoutingHelper const &', 'arg0')]) - ## ipv6-list-routing-helper.h: ns3::Ipv6ListRoutingHelper * ns3::Ipv6ListRoutingHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv6ListRoutingHelper *', - [], - is_const=True, is_virtual=True) - ## ipv6-list-routing-helper.h: void ns3::Ipv6ListRoutingHelper::Add(ns3::Ipv6RoutingHelper const & routing, int16_t priority) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv6RoutingHelper const &', 'routing'), param('int16_t', 'priority')]) - ## ipv6-list-routing-helper.h: ns3::Ptr ns3::Ipv6ListRoutingHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6OptionHeader_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Ipv6OptionHeader(ns3::Ipv6OptionHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionHeader const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Ipv6OptionHeader() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment ns3::Ipv6OptionHeader::GetAlignment() const [member function] - cls.add_method('GetAlignment', - 'ns3::Ipv6OptionHeader::Alignment', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint8_t ns3::Ipv6OptionHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint8_t ns3::Ipv6OptionHeader::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionHeader::SetLength(uint8_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'length')]) - ## ipv6-option-header.h: void ns3::Ipv6OptionHeader::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3Ipv6OptionHeaderAlignment_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment::Alignment() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment::Alignment(ns3::Ipv6OptionHeader::Alignment const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionHeader::Alignment const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment::factor [variable] - cls.add_instance_attribute('factor', 'uint8_t', is_const=False) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment::offset [variable] - cls.add_instance_attribute('offset', 'uint8_t', is_const=False) - return - -def register_Ns3Ipv6OptionJumbogramHeader_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionJumbogramHeader::Ipv6OptionJumbogramHeader(ns3::Ipv6OptionJumbogramHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionJumbogramHeader const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionJumbogramHeader::Ipv6OptionJumbogramHeader() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionJumbogramHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment ns3::Ipv6OptionJumbogramHeader::GetAlignment() const [member function] - cls.add_method('GetAlignment', - 'ns3::Ipv6OptionHeader::Alignment', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionJumbogramHeader::GetDataLength() const [member function] - cls.add_method('GetDataLength', - 'uint32_t', - [], - is_const=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionJumbogramHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionJumbogramHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionJumbogramHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionJumbogramHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionJumbogramHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionJumbogramHeader::SetDataLength(uint32_t dataLength) [member function] - cls.add_method('SetDataLength', - 'void', - [param('uint32_t', 'dataLength')]) - return - -def register_Ns3Ipv6OptionPad1Header_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionPad1Header::Ipv6OptionPad1Header(ns3::Ipv6OptionPad1Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionPad1Header const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionPad1Header::Ipv6OptionPad1Header() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionPad1Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionPad1Header::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionPad1Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionPad1Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionPad1Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionPad1Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6OptionPadnHeader_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionPadnHeader::Ipv6OptionPadnHeader(ns3::Ipv6OptionPadnHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionPadnHeader const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionPadnHeader::Ipv6OptionPadnHeader(uint32_t pad=2) [constructor] - cls.add_constructor([param('uint32_t', 'pad', default_value='2')]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionPadnHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionPadnHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionPadnHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionPadnHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionPadnHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionPadnHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6OptionRouterAlertHeader_methods(root_module, cls): - ## ipv6-option-header.h: ns3::Ipv6OptionRouterAlertHeader::Ipv6OptionRouterAlertHeader(ns3::Ipv6OptionRouterAlertHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6OptionRouterAlertHeader const &', 'arg0')]) - ## ipv6-option-header.h: ns3::Ipv6OptionRouterAlertHeader::Ipv6OptionRouterAlertHeader() [constructor] - cls.add_constructor([]) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionRouterAlertHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-option-header.h: ns3::Ipv6OptionHeader::Alignment ns3::Ipv6OptionRouterAlertHeader::GetAlignment() const [member function] - cls.add_method('GetAlignment', - 'ns3::Ipv6OptionHeader::Alignment', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: ns3::TypeId ns3::Ipv6OptionRouterAlertHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: uint32_t ns3::Ipv6OptionRouterAlertHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: static ns3::TypeId ns3::Ipv6OptionRouterAlertHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-option-header.h: uint16_t ns3::Ipv6OptionRouterAlertHeader::GetValue() const [member function] - cls.add_method('GetValue', - 'uint16_t', - [], - is_const=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionRouterAlertHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionRouterAlertHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-option-header.h: void ns3::Ipv6OptionRouterAlertHeader::SetValue(uint16_t value) [member function] - cls.add_method('SetValue', - 'void', - [param('uint16_t', 'value')]) - return - -def register_Ns3Ipv6PacketInfoTag_methods(root_module, cls): - ## ipv6-packet-info-tag.h: ns3::Ipv6PacketInfoTag::Ipv6PacketInfoTag(ns3::Ipv6PacketInfoTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PacketInfoTag const &', 'arg0')]) - ## ipv6-packet-info-tag.h: ns3::Ipv6PacketInfoTag::Ipv6PacketInfoTag() [constructor] - cls.add_constructor([]) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## ipv6-packet-info-tag.h: ns3::Ipv6Address ns3::Ipv6PacketInfoTag::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-packet-info-tag.h: uint8_t ns3::Ipv6PacketInfoTag::GetHoplimit() const [member function] - cls.add_method('GetHoplimit', - 'uint8_t', - [], - is_const=True) - ## ipv6-packet-info-tag.h: ns3::TypeId ns3::Ipv6PacketInfoTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-packet-info-tag.h: uint32_t ns3::Ipv6PacketInfoTag::GetRecvIf() const [member function] - cls.add_method('GetRecvIf', - 'uint32_t', - [], - is_const=True) - ## ipv6-packet-info-tag.h: uint32_t ns3::Ipv6PacketInfoTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-packet-info-tag.h: uint8_t ns3::Ipv6PacketInfoTag::GetTrafficClass() const [member function] - cls.add_method('GetTrafficClass', - 'uint8_t', - [], - is_const=True) - ## ipv6-packet-info-tag.h: static ns3::TypeId ns3::Ipv6PacketInfoTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::SetAddress(ns3::Ipv6Address addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Ipv6Address', 'addr')]) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::SetHoplimit(uint8_t ttl) [member function] - cls.add_method('SetHoplimit', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::SetRecvIf(uint32_t ifindex) [member function] - cls.add_method('SetRecvIf', - 'void', - [param('uint32_t', 'ifindex')]) - ## ipv6-packet-info-tag.h: void ns3::Ipv6PacketInfoTag::SetTrafficClass(uint8_t tclass) [member function] - cls.add_method('SetTrafficClass', - 'void', - [param('uint8_t', 'tclass')]) - return - -def register_Ns3TcpHeader_methods(root_module, cls): - ## tcp-header.h: ns3::TcpHeader::TcpHeader(ns3::TcpHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TcpHeader const &', 'arg0')]) - ## tcp-header.h: ns3::TcpHeader::TcpHeader() [constructor] - cls.add_constructor([]) - ## tcp-header.h: uint32_t ns3::TcpHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## tcp-header.h: void ns3::TcpHeader::EnableChecksums() [member function] - cls.add_method('EnableChecksums', - 'void', - []) - ## tcp-header.h: ns3::SequenceNumber32 ns3::TcpHeader::GetAckNumber() const [member function] - cls.add_method('GetAckNumber', - 'ns3::SequenceNumber32', - [], - is_const=True) - ## tcp-header.h: uint16_t ns3::TcpHeader::GetDestinationPort() const [member function] - cls.add_method('GetDestinationPort', - 'uint16_t', - [], - is_const=True) - ## tcp-header.h: uint8_t ns3::TcpHeader::GetFlags() const [member function] - cls.add_method('GetFlags', - 'uint8_t', - [], - is_const=True) - ## tcp-header.h: ns3::TypeId ns3::TcpHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## tcp-header.h: uint8_t ns3::TcpHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## tcp-header.h: ns3::SequenceNumber32 ns3::TcpHeader::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'ns3::SequenceNumber32', - [], - is_const=True) - ## tcp-header.h: uint32_t ns3::TcpHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## tcp-header.h: uint16_t ns3::TcpHeader::GetSourcePort() const [member function] - cls.add_method('GetSourcePort', - 'uint16_t', - [], - is_const=True) - ## tcp-header.h: static ns3::TypeId ns3::TcpHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tcp-header.h: uint16_t ns3::TcpHeader::GetUrgentPointer() const [member function] - cls.add_method('GetUrgentPointer', - 'uint16_t', - [], - is_const=True) - ## tcp-header.h: uint16_t ns3::TcpHeader::GetWindowSize() const [member function] - cls.add_method('GetWindowSize', - 'uint16_t', - [], - is_const=True) - ## tcp-header.h: void ns3::TcpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function] - cls.add_method('InitializeChecksum', - 'void', - [param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')]) - ## tcp-header.h: bool ns3::TcpHeader::IsChecksumOk() const [member function] - cls.add_method('IsChecksumOk', - 'bool', - [], - is_const=True) - ## tcp-header.h: void ns3::TcpHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## tcp-header.h: void ns3::TcpHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## tcp-header.h: void ns3::TcpHeader::SetAckNumber(ns3::SequenceNumber32 ackNumber) [member function] - cls.add_method('SetAckNumber', - 'void', - [param('ns3::SequenceNumber32', 'ackNumber')]) - ## tcp-header.h: void ns3::TcpHeader::SetDestinationPort(uint16_t port) [member function] - cls.add_method('SetDestinationPort', - 'void', - [param('uint16_t', 'port')]) - ## tcp-header.h: void ns3::TcpHeader::SetFlags(uint8_t flags) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'flags')]) - ## tcp-header.h: void ns3::TcpHeader::SetLength(uint8_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'length')]) - ## tcp-header.h: void ns3::TcpHeader::SetSequenceNumber(ns3::SequenceNumber32 sequenceNumber) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('ns3::SequenceNumber32', 'sequenceNumber')]) - ## tcp-header.h: void ns3::TcpHeader::SetSourcePort(uint16_t port) [member function] - cls.add_method('SetSourcePort', - 'void', - [param('uint16_t', 'port')]) - ## tcp-header.h: void ns3::TcpHeader::SetUrgentPointer(uint16_t urgentPointer) [member function] - cls.add_method('SetUrgentPointer', - 'void', - [param('uint16_t', 'urgentPointer')]) - ## tcp-header.h: void ns3::TcpHeader::SetWindowSize(uint16_t windowSize) [member function] - cls.add_method('SetWindowSize', - 'void', - [param('uint16_t', 'windowSize')]) - return - -def register_Ns3TcpSocket_methods(root_module, cls): - ## tcp-socket.h: ns3::TcpSocket::TcpSocket(ns3::TcpSocket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TcpSocket const &', 'arg0')]) - ## tcp-socket.h: ns3::TcpSocket::TcpSocket() [constructor] - cls.add_constructor([]) - ## tcp-socket.h: static ns3::TypeId ns3::TcpSocket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tcp-socket.h: ns3::TcpSocket::TcpStateName [variable] - cls.add_static_attribute('TcpStateName', 'char const * [ 11 ] const', is_const=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetConnCount() const [member function] - cls.add_method('GetConnCount', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetConnTimeout() const [member function] - cls.add_method('GetConnTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetDelAckMaxCount() const [member function] - cls.add_method('GetDelAckMaxCount', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetDelAckTimeout() const [member function] - cls.add_method('GetDelAckTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetInitialCwnd() const [member function] - cls.add_method('GetInitialCwnd', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: ns3::Time ns3::TcpSocket::GetPersistTimeout() const [member function] - cls.add_method('GetPersistTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetRcvBufSize() const [member function] - cls.add_method('GetRcvBufSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSSThresh() const [member function] - cls.add_method('GetSSThresh', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSegSize() const [member function] - cls.add_method('GetSegSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: uint32_t ns3::TcpSocket::GetSndBufSize() const [member function] - cls.add_method('GetSndBufSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetConnCount(uint32_t count) [member function] - cls.add_method('SetConnCount', - 'void', - [param('uint32_t', 'count')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetConnTimeout(ns3::Time timeout) [member function] - cls.add_method('SetConnTimeout', - 'void', - [param('ns3::Time', 'timeout')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetDelAckMaxCount(uint32_t count) [member function] - cls.add_method('SetDelAckMaxCount', - 'void', - [param('uint32_t', 'count')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetDelAckTimeout(ns3::Time timeout) [member function] - cls.add_method('SetDelAckTimeout', - 'void', - [param('ns3::Time', 'timeout')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetInitialCwnd(uint32_t count) [member function] - cls.add_method('SetInitialCwnd', - 'void', - [param('uint32_t', 'count')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetPersistTimeout(ns3::Time timeout) [member function] - cls.add_method('SetPersistTimeout', - 'void', - [param('ns3::Time', 'timeout')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetRcvBufSize(uint32_t size) [member function] - cls.add_method('SetRcvBufSize', - 'void', - [param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetSSThresh(uint32_t threshold) [member function] - cls.add_method('SetSSThresh', - 'void', - [param('uint32_t', 'threshold')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetSegSize(uint32_t size) [member function] - cls.add_method('SetSegSize', - 'void', - [param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## tcp-socket.h: void ns3::TcpSocket::SetSndBufSize(uint32_t size) [member function] - cls.add_method('SetSndBufSize', - 'void', - [param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3TcpSocketFactory_methods(root_module, cls): - ## tcp-socket-factory.h: ns3::TcpSocketFactory::TcpSocketFactory() [constructor] - cls.add_constructor([]) - ## tcp-socket-factory.h: ns3::TcpSocketFactory::TcpSocketFactory(ns3::TcpSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TcpSocketFactory const &', 'arg0')]) - ## tcp-socket-factory.h: static ns3::TypeId ns3::TcpSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UdpHeader_methods(root_module, cls): - ## udp-header.h: ns3::UdpHeader::UdpHeader(ns3::UdpHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpHeader const &', 'arg0')]) - ## udp-header.h: ns3::UdpHeader::UdpHeader() [constructor] - cls.add_constructor([]) - ## udp-header.h: uint32_t ns3::UdpHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## udp-header.h: void ns3::UdpHeader::EnableChecksums() [member function] - cls.add_method('EnableChecksums', - 'void', - []) - ## udp-header.h: uint16_t ns3::UdpHeader::GetDestinationPort() const [member function] - cls.add_method('GetDestinationPort', - 'uint16_t', - [], - is_const=True) - ## udp-header.h: ns3::TypeId ns3::UdpHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## udp-header.h: uint32_t ns3::UdpHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## udp-header.h: uint16_t ns3::UdpHeader::GetSourcePort() const [member function] - cls.add_method('GetSourcePort', - 'uint16_t', - [], - is_const=True) - ## udp-header.h: static ns3::TypeId ns3::UdpHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-header.h: void ns3::UdpHeader::InitializeChecksum(ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol) [member function] - cls.add_method('InitializeChecksum', - 'void', - [param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol')]) - ## udp-header.h: bool ns3::UdpHeader::IsChecksumOk() const [member function] - cls.add_method('IsChecksumOk', - 'bool', - [], - is_const=True) - ## udp-header.h: void ns3::UdpHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## udp-header.h: void ns3::UdpHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## udp-header.h: void ns3::UdpHeader::SetDestinationPort(uint16_t port) [member function] - cls.add_method('SetDestinationPort', - 'void', - [param('uint16_t', 'port')]) - ## udp-header.h: void ns3::UdpHeader::SetSourcePort(uint16_t port) [member function] - cls.add_method('SetSourcePort', - 'void', - [param('uint16_t', 'port')]) - return - -def register_Ns3UdpSocket_methods(root_module, cls): - ## udp-socket.h: ns3::UdpSocket::UdpSocket(ns3::UdpSocket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpSocket const &', 'arg0')]) - ## udp-socket.h: ns3::UdpSocket::UdpSocket() [constructor] - cls.add_constructor([]) - ## udp-socket.h: static ns3::TypeId ns3::UdpSocket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-socket.h: int ns3::UdpSocket::MulticastJoinGroup(uint32_t interface, ns3::Address const & groupAddress) [member function] - cls.add_method('MulticastJoinGroup', - 'int', - [param('uint32_t', 'interface'), param('ns3::Address const &', 'groupAddress')], - is_pure_virtual=True, is_virtual=True) - ## udp-socket.h: int ns3::UdpSocket::MulticastLeaveGroup(uint32_t interface, ns3::Address const & groupAddress) [member function] - cls.add_method('MulticastLeaveGroup', - 'int', - [param('uint32_t', 'interface'), param('ns3::Address const &', 'groupAddress')], - is_pure_virtual=True, is_virtual=True) - ## udp-socket.h: int32_t ns3::UdpSocket::GetIpMulticastIf() const [member function] - cls.add_method('GetIpMulticastIf', - 'int32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: bool ns3::UdpSocket::GetIpMulticastLoop() const [member function] - cls.add_method('GetIpMulticastLoop', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: uint8_t ns3::UdpSocket::GetIpMulticastTtl() const [member function] - cls.add_method('GetIpMulticastTtl', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: uint8_t ns3::UdpSocket::GetIpTtl() const [member function] - cls.add_method('GetIpTtl', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: bool ns3::UdpSocket::GetMtuDiscover() const [member function] - cls.add_method('GetMtuDiscover', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: uint32_t ns3::UdpSocket::GetRcvBufSize() const [member function] - cls.add_method('GetRcvBufSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetIpMulticastIf(int32_t ipIf) [member function] - cls.add_method('SetIpMulticastIf', - 'void', - [param('int32_t', 'ipIf')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetIpMulticastLoop(bool loop) [member function] - cls.add_method('SetIpMulticastLoop', - 'void', - [param('bool', 'loop')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetIpMulticastTtl(uint8_t ipTtl) [member function] - cls.add_method('SetIpMulticastTtl', - 'void', - [param('uint8_t', 'ipTtl')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetIpTtl(uint8_t ipTtl) [member function] - cls.add_method('SetIpTtl', - 'void', - [param('uint8_t', 'ipTtl')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetMtuDiscover(bool discover) [member function] - cls.add_method('SetMtuDiscover', - 'void', - [param('bool', 'discover')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## udp-socket.h: void ns3::UdpSocket::SetRcvBufSize(uint32_t size) [member function] - cls.add_method('SetRcvBufSize', - 'void', - [param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3UdpSocketFactory_methods(root_module, cls): - ## udp-socket-factory.h: ns3::UdpSocketFactory::UdpSocketFactory() [constructor] - cls.add_constructor([]) - ## udp-socket-factory.h: ns3::UdpSocketFactory::UdpSocketFactory(ns3::UdpSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UdpSocketFactory const &', 'arg0')]) - ## udp-socket-factory.h: static ns3::TypeId ns3::UdpSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3ArpCache_methods(root_module, cls): - ## arp-cache.h: ns3::ArpCache::ArpCache() [constructor] - cls.add_constructor([]) - ## arp-cache.h: ns3::ArpCache::Entry * ns3::ArpCache::Add(ns3::Ipv4Address to) [member function] - cls.add_method('Add', - 'ns3::ArpCache::Entry *', - [param('ns3::Ipv4Address', 'to')]) - ## arp-cache.h: void ns3::ArpCache::Flush() [member function] - cls.add_method('Flush', - 'void', - []) - ## arp-cache.h: ns3::Time ns3::ArpCache::GetAliveTimeout() const [member function] - cls.add_method('GetAliveTimeout', - 'ns3::Time', - [], - is_const=True) - ## arp-cache.h: ns3::Time ns3::ArpCache::GetDeadTimeout() const [member function] - cls.add_method('GetDeadTimeout', - 'ns3::Time', - [], - is_const=True) - ## arp-cache.h: ns3::Ptr ns3::ArpCache::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## arp-cache.h: ns3::Ptr ns3::ArpCache::GetInterface() const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::Ipv4Interface >', - [], - is_const=True) - ## arp-cache.h: static ns3::TypeId ns3::ArpCache::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## arp-cache.h: ns3::Time ns3::ArpCache::GetWaitReplyTimeout() const [member function] - cls.add_method('GetWaitReplyTimeout', - 'ns3::Time', - [], - is_const=True) - ## arp-cache.h: ns3::ArpCache::Entry * ns3::ArpCache::Lookup(ns3::Ipv4Address destination) [member function] - cls.add_method('Lookup', - 'ns3::ArpCache::Entry *', - [param('ns3::Ipv4Address', 'destination')]) - ## arp-cache.h: void ns3::ArpCache::SetAliveTimeout(ns3::Time aliveTimeout) [member function] - cls.add_method('SetAliveTimeout', - 'void', - [param('ns3::Time', 'aliveTimeout')]) - ## arp-cache.h: void ns3::ArpCache::SetArpRequestCallback(ns3::Callback, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arpRequestCallback) [member function] - cls.add_method('SetArpRequestCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::ArpCache const >, ns3::Ipv4Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arpRequestCallback')]) - ## arp-cache.h: void ns3::ArpCache::SetDeadTimeout(ns3::Time deadTimeout) [member function] - cls.add_method('SetDeadTimeout', - 'void', - [param('ns3::Time', 'deadTimeout')]) - ## arp-cache.h: void ns3::ArpCache::SetDevice(ns3::Ptr device, ns3::Ptr interface) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv4Interface >', 'interface')]) - ## arp-cache.h: void ns3::ArpCache::SetWaitReplyTimeout(ns3::Time waitReplyTimeout) [member function] - cls.add_method('SetWaitReplyTimeout', - 'void', - [param('ns3::Time', 'waitReplyTimeout')]) - ## arp-cache.h: void ns3::ArpCache::StartWaitReplyTimer() [member function] - cls.add_method('StartWaitReplyTimer', - 'void', - []) - ## arp-cache.h: void ns3::ArpCache::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ArpCacheEntry_methods(root_module, cls): - ## arp-cache.h: ns3::ArpCache::Entry::Entry(ns3::ArpCache::Entry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ArpCache::Entry const &', 'arg0')]) - ## arp-cache.h: ns3::ArpCache::Entry::Entry(ns3::ArpCache * arp) [constructor] - cls.add_constructor([param('ns3::ArpCache *', 'arp')]) - ## arp-cache.h: void ns3::ArpCache::Entry::ClearRetries() [member function] - cls.add_method('ClearRetries', - 'void', - []) - ## arp-cache.h: ns3::Ptr ns3::ArpCache::Entry::DequeuePending() [member function] - cls.add_method('DequeuePending', - 'ns3::Ptr< ns3::Packet >', - []) - ## arp-cache.h: ns3::Ipv4Address ns3::ArpCache::Entry::GetIpv4Address() const [member function] - cls.add_method('GetIpv4Address', - 'ns3::Ipv4Address', - [], - is_const=True) - ## arp-cache.h: ns3::Address ns3::ArpCache::Entry::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Address', - [], - is_const=True) - ## arp-cache.h: uint32_t ns3::ArpCache::Entry::GetRetries() const [member function] - cls.add_method('GetRetries', - 'uint32_t', - [], - is_const=True) - ## arp-cache.h: void ns3::ArpCache::Entry::IncrementRetries() [member function] - cls.add_method('IncrementRetries', - 'void', - []) - ## arp-cache.h: bool ns3::ArpCache::Entry::IsAlive() [member function] - cls.add_method('IsAlive', - 'bool', - []) - ## arp-cache.h: bool ns3::ArpCache::Entry::IsDead() [member function] - cls.add_method('IsDead', - 'bool', - []) - ## arp-cache.h: bool ns3::ArpCache::Entry::IsExpired() const [member function] - cls.add_method('IsExpired', - 'bool', - [], - is_const=True) - ## arp-cache.h: bool ns3::ArpCache::Entry::IsWaitReply() [member function] - cls.add_method('IsWaitReply', - 'bool', - []) - ## arp-cache.h: void ns3::ArpCache::Entry::MarkAlive(ns3::Address macAddress) [member function] - cls.add_method('MarkAlive', - 'void', - [param('ns3::Address', 'macAddress')]) - ## arp-cache.h: void ns3::ArpCache::Entry::MarkDead() [member function] - cls.add_method('MarkDead', - 'void', - []) - ## arp-cache.h: void ns3::ArpCache::Entry::MarkWaitReply(ns3::Ptr waiting) [member function] - cls.add_method('MarkWaitReply', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'waiting')]) - ## arp-cache.h: void ns3::ArpCache::Entry::SetIpv4Address(ns3::Ipv4Address destination) [member function] - cls.add_method('SetIpv4Address', - 'void', - [param('ns3::Ipv4Address', 'destination')]) - ## arp-cache.h: bool ns3::ArpCache::Entry::UpdateWaitReply(ns3::Ptr waiting) [member function] - cls.add_method('UpdateWaitReply', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'waiting')]) - return - -def register_Ns3ArpHeader_methods(root_module, cls): - ## arp-header.h: ns3::ArpHeader::ArpHeader() [constructor] - cls.add_constructor([]) - ## arp-header.h: ns3::ArpHeader::ArpHeader(ns3::ArpHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ArpHeader const &', 'arg0')]) - ## arp-header.h: uint32_t ns3::ArpHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## arp-header.h: ns3::Address ns3::ArpHeader::GetDestinationHardwareAddress() [member function] - cls.add_method('GetDestinationHardwareAddress', - 'ns3::Address', - []) - ## arp-header.h: ns3::Ipv4Address ns3::ArpHeader::GetDestinationIpv4Address() [member function] - cls.add_method('GetDestinationIpv4Address', - 'ns3::Ipv4Address', - []) - ## arp-header.h: ns3::TypeId ns3::ArpHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## arp-header.h: uint32_t ns3::ArpHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## arp-header.h: ns3::Address ns3::ArpHeader::GetSourceHardwareAddress() [member function] - cls.add_method('GetSourceHardwareAddress', - 'ns3::Address', - []) - ## arp-header.h: ns3::Ipv4Address ns3::ArpHeader::GetSourceIpv4Address() [member function] - cls.add_method('GetSourceIpv4Address', - 'ns3::Ipv4Address', - []) - ## arp-header.h: static ns3::TypeId ns3::ArpHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## arp-header.h: bool ns3::ArpHeader::IsReply() const [member function] - cls.add_method('IsReply', - 'bool', - [], - is_const=True) - ## arp-header.h: bool ns3::ArpHeader::IsRequest() const [member function] - cls.add_method('IsRequest', - 'bool', - [], - is_const=True) - ## arp-header.h: void ns3::ArpHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## arp-header.h: void ns3::ArpHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## arp-header.h: void ns3::ArpHeader::SetReply(ns3::Address sourceHardwareAddress, ns3::Ipv4Address sourceProtocolAddress, ns3::Address destinationHardwareAddress, ns3::Ipv4Address destinationProtocolAddress) [member function] - cls.add_method('SetReply', - 'void', - [param('ns3::Address', 'sourceHardwareAddress'), param('ns3::Ipv4Address', 'sourceProtocolAddress'), param('ns3::Address', 'destinationHardwareAddress'), param('ns3::Ipv4Address', 'destinationProtocolAddress')]) - ## arp-header.h: void ns3::ArpHeader::SetRequest(ns3::Address sourceHardwareAddress, ns3::Ipv4Address sourceProtocolAddress, ns3::Address destinationHardwareAddress, ns3::Ipv4Address destinationProtocolAddress) [member function] - cls.add_method('SetRequest', - 'void', - [param('ns3::Address', 'sourceHardwareAddress'), param('ns3::Ipv4Address', 'sourceProtocolAddress'), param('ns3::Address', 'destinationHardwareAddress'), param('ns3::Ipv4Address', 'destinationProtocolAddress')]) - ## arp-header.h: ns3::ArpHeader::m_ipv4Dest [variable] - cls.add_instance_attribute('m_ipv4Dest', 'ns3::Ipv4Address', is_const=False) - ## arp-header.h: ns3::ArpHeader::m_ipv4Source [variable] - cls.add_instance_attribute('m_ipv4Source', 'ns3::Ipv4Address', is_const=False) - ## arp-header.h: ns3::ArpHeader::m_macDest [variable] - cls.add_instance_attribute('m_macDest', 'ns3::Address', is_const=False) - ## arp-header.h: ns3::ArpHeader::m_macSource [variable] - cls.add_instance_attribute('m_macSource', 'ns3::Address', is_const=False) - ## arp-header.h: ns3::ArpHeader::m_type [variable] - cls.add_instance_attribute('m_type', 'uint16_t', is_const=False) - return - -def register_Ns3ArpL3Protocol_methods(root_module, cls): - ## arp-l3-protocol.h: ns3::ArpL3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## arp-l3-protocol.h: static ns3::TypeId ns3::ArpL3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## arp-l3-protocol.h: ns3::ArpL3Protocol::ArpL3Protocol() [constructor] - cls.add_constructor([]) - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## arp-l3-protocol.h: ns3::Ptr ns3::ArpL3Protocol::CreateCache(ns3::Ptr device, ns3::Ptr interface) [member function] - cls.add_method('CreateCache', - 'ns3::Ptr< ns3::ArpCache >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv4Interface >', 'interface')]) - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::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')]) - ## arp-l3-protocol.h: bool ns3::ArpL3Protocol::Lookup(ns3::Ptr p, ns3::Ipv4Address destination, ns3::Ptr device, ns3::Ptr cache, ns3::Address * hardwareDestination) [member function] - cls.add_method('Lookup', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'destination'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::ArpCache >', 'cache'), param('ns3::Address *', 'hardwareDestination')]) - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## arp-l3-protocol.h: void ns3::ArpL3Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3GlobalRouter_methods(root_module, cls): - ## global-router-interface.h: static ns3::TypeId ns3::GlobalRouter::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## global-router-interface.h: ns3::GlobalRouter::GlobalRouter() [constructor] - cls.add_constructor([]) - ## global-router-interface.h: void ns3::GlobalRouter::SetRoutingProtocol(ns3::Ptr routing) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4GlobalRouting >', 'routing')]) - ## global-router-interface.h: ns3::Ptr ns3::GlobalRouter::GetRoutingProtocol() [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4GlobalRouting >', - []) - ## global-router-interface.h: ns3::Ipv4Address ns3::GlobalRouter::GetRouterId() const [member function] - cls.add_method('GetRouterId', - 'ns3::Ipv4Address', - [], - is_const=True) - ## global-router-interface.h: uint32_t ns3::GlobalRouter::DiscoverLSAs() [member function] - cls.add_method('DiscoverLSAs', - 'uint32_t', - []) - ## global-router-interface.h: uint32_t ns3::GlobalRouter::GetNumLSAs() const [member function] - cls.add_method('GetNumLSAs', - 'uint32_t', - [], - is_const=True) - ## global-router-interface.h: bool ns3::GlobalRouter::GetLSA(uint32_t n, ns3::GlobalRoutingLSA & lsa) const [member function] - cls.add_method('GetLSA', - 'bool', - [param('uint32_t', 'n'), param('ns3::GlobalRoutingLSA &', 'lsa')], - is_const=True) - ## global-router-interface.h: void ns3::GlobalRouter::InjectRoute(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask) [member function] - cls.add_method('InjectRoute', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask')]) - ## global-router-interface.h: uint32_t ns3::GlobalRouter::GetNInjectedRoutes() [member function] - cls.add_method('GetNInjectedRoutes', - 'uint32_t', - []) - ## global-router-interface.h: ns3::Ipv4RoutingTableEntry * ns3::GlobalRouter::GetInjectedRoute(uint32_t i) [member function] - cls.add_method('GetInjectedRoute', - retval('ns3::Ipv4RoutingTableEntry *', caller_owns_return=False), - [param('uint32_t', 'i')]) - ## global-router-interface.h: void ns3::GlobalRouter::RemoveInjectedRoute(uint32_t i) [member function] - cls.add_method('RemoveInjectedRoute', - 'void', - [param('uint32_t', 'i')]) - ## global-router-interface.h: bool ns3::GlobalRouter::WithdrawRoute(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask) [member function] - cls.add_method('WithdrawRoute', - 'bool', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask')]) - ## global-router-interface.h: void ns3::GlobalRouter::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Icmpv6DestinationUnreachable_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6DestinationUnreachable::Icmpv6DestinationUnreachable(ns3::Icmpv6DestinationUnreachable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6DestinationUnreachable const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6DestinationUnreachable::Icmpv6DestinationUnreachable() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6DestinationUnreachable::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6DestinationUnreachable::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: ns3::Ptr ns3::Icmpv6DestinationUnreachable::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6DestinationUnreachable::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6DestinationUnreachable::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6DestinationUnreachable::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6DestinationUnreachable::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6DestinationUnreachable::SetPacket(ns3::Ptr p) [member function] - cls.add_method('SetPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - return - -def register_Ns3Icmpv6Echo_methods(root_module, cls): - ## icmpv6-header.h: ns3::Icmpv6Echo::Icmpv6Echo(ns3::Icmpv6Echo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6Echo const &', 'arg0')]) - ## icmpv6-header.h: ns3::Icmpv6Echo::Icmpv6Echo() [constructor] - cls.add_constructor([]) - ## icmpv6-header.h: ns3::Icmpv6Echo::Icmpv6Echo(bool request) [constructor] - cls.add_constructor([param('bool', 'request')]) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Echo::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6Echo::GetId() const [member function] - cls.add_method('GetId', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: ns3::TypeId ns3::Icmpv6Echo::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: uint16_t ns3::Icmpv6Echo::GetSeq() const [member function] - cls.add_method('GetSeq', - 'uint16_t', - [], - is_const=True) - ## icmpv6-header.h: uint32_t ns3::Icmpv6Echo::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## icmpv6-header.h: static ns3::TypeId ns3::Icmpv6Echo::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-header.h: void ns3::Icmpv6Echo::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Echo::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## icmpv6-header.h: void ns3::Icmpv6Echo::SetId(uint16_t id) [member function] - cls.add_method('SetId', - 'void', - [param('uint16_t', 'id')]) - ## icmpv6-header.h: void ns3::Icmpv6Echo::SetSeq(uint16_t seq) [member function] - cls.add_method('SetSeq', - 'void', - [param('uint16_t', 'seq')]) - return - -def register_Ns3Ipv4_methods(root_module, cls): - ## ipv4.h: ns3::Ipv4::Ipv4(ns3::Ipv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4 const &', 'arg0')]) - ## ipv4.h: ns3::Ipv4::Ipv4() [constructor] - cls.add_constructor([]) - ## ipv4.h: bool ns3::Ipv4::AddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: uint32_t ns3::Ipv4::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: ns3::Ipv4InterfaceAddress ns3::Ipv4::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: int32_t ns3::Ipv4::GetInterfaceForAddress(ns3::Ipv4Address address) const [member function] - cls.add_method('GetInterfaceForAddress', - 'int32_t', - [param('ns3::Ipv4Address', 'address')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: int32_t ns3::Ipv4::GetInterfaceForDevice(ns3::Ptr device) const [member function] - cls.add_method('GetInterfaceForDevice', - 'int32_t', - [param('ns3::Ptr< ns3::NetDevice const >', 'device')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: int32_t ns3::Ipv4::GetInterfaceForPrefix(ns3::Ipv4Address address, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'mask')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: uint16_t ns3::Ipv4::GetMetric(uint32_t interface) const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: uint16_t ns3::Ipv4::GetMtu(uint32_t interface) const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: uint32_t ns3::Ipv4::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: uint32_t ns3::Ipv4::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: ns3::Ptr ns3::Ipv4::GetNetDevice(uint32_t interface) [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: ns3::Ptr ns3::Ipv4::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: static ns3::TypeId ns3::Ipv4::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4.h: void ns3::Ipv4::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::IsForwarding(uint32_t interface) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::IsUp(uint32_t interface) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: ns3::Ipv4Address ns3::Ipv4::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetDown(uint32_t interface) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetForwarding(uint32_t interface, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'interface'), param('bool', 'val')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetMetric(uint32_t interface, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'interface'), param('uint16_t', 'metric')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetUp(uint32_t interface) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4.h: ns3::Ipv4::IF_ANY [variable] - cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True) - ## ipv4.h: bool ns3::Ipv4::GetIpForward() const [member function] - cls.add_method('GetIpForward', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## ipv4.h: bool ns3::Ipv4::GetWeakEsModel() const [member function] - cls.add_method('GetWeakEsModel', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## ipv4.h: void ns3::Ipv4::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ipv4Interface_methods(root_module, cls): - ## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface(ns3::Ipv4Interface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Interface const &', 'arg0')]) - ## ipv4-interface.h: ns3::Ipv4Interface::Ipv4Interface() [constructor] - cls.add_constructor([]) - ## ipv4-interface.h: bool ns3::Ipv4Interface::AddAddress(ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('ns3::Ipv4InterfaceAddress', 'address')]) - ## ipv4-interface.h: ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::GetAddress(uint32_t index) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'index')], - is_const=True) - ## ipv4-interface.h: ns3::Ptr ns3::Ipv4Interface::GetArpCache() const [member function] - cls.add_method('GetArpCache', - 'ns3::Ptr< ns3::ArpCache >', - [], - is_const=True) - ## ipv4-interface.h: ns3::Ptr ns3::Ipv4Interface::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv4-interface.h: uint16_t ns3::Ipv4Interface::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [], - is_const=True) - ## ipv4-interface.h: uint32_t ns3::Ipv4Interface::GetNAddresses() const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [], - is_const=True) - ## ipv4-interface.h: static ns3::TypeId ns3::Ipv4Interface::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-interface.h: bool ns3::Ipv4Interface::IsDown() const [member function] - cls.add_method('IsDown', - 'bool', - [], - is_const=True) - ## ipv4-interface.h: bool ns3::Ipv4Interface::IsForwarding() const [member function] - cls.add_method('IsForwarding', - 'bool', - [], - is_const=True) - ## ipv4-interface.h: bool ns3::Ipv4Interface::IsUp() const [member function] - cls.add_method('IsUp', - 'bool', - [], - is_const=True) - ## ipv4-interface.h: ns3::Ipv4InterfaceAddress ns3::Ipv4Interface::RemoveAddress(uint32_t index) [member function] - cls.add_method('RemoveAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'index')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::Send(ns3::Ptr p, ns3::Ipv4Address dest) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Address', 'dest')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetArpCache(ns3::Ptr arg0) [member function] - cls.add_method('SetArpCache', - 'void', - [param('ns3::Ptr< ns3::ArpCache >', 'arg0')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetDown() [member function] - cls.add_method('SetDown', - 'void', - []) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetForwarding(bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('bool', 'val')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetMetric(uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint16_t', 'metric')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-interface.h: void ns3::Ipv4Interface::SetUp() [member function] - cls.add_method('SetUp', - 'void', - []) - ## ipv4-interface.h: void ns3::Ipv4Interface::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h: static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-l3-protocol.h: ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] - cls.add_constructor([]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] - cls.add_method('CreateRawSocket', - 'ns3::Ptr< ns3::Socket >', - []) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::DeleteRawSocket(ns3::Ptr socket) [member function] - cls.add_method('DeleteRawSocket', - 'void', - [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h: uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::Ipv4Interface >', - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-l3-protocol.h: uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetInterfaceForAddress', - 'int32_t', - [param('ns3::Ipv4Address', 'addr')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] - cls.add_method('GetInterfaceForDevice', - 'int32_t', - [param('ns3::Ptr< ns3::NetDevice const >', 'device')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) - ## ipv4-l3-protocol.h: uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: uint16_t ns3::Ipv4L3Protocol::GetMtu(uint32_t i) const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) - ## ipv4-l3-protocol.h: ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] - cls.add_method('GetIpForward', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h: void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h: bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] - cls.add_method('GetWeakEsModel', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ipv4L4Protocol_methods(root_module, cls): - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol::Ipv4L4Protocol() [constructor] - cls.add_constructor([]) - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol::Ipv4L4Protocol(ns3::Ipv4L4Protocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4L4Protocol const &', 'arg0')]) - ## ipv4-l4-protocol.h: ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::Ipv4L4Protocol::GetDownTarget() const [member function] - cls.add_method('GetDownTarget', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-l4-protocol.h: int ns3::Ipv4L4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-l4-protocol.h: static ns3::TypeId ns3::Ipv4L4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus ns3::Ipv4L4Protocol::Receive(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr incomingInterface) [member function] - cls.add_method('Receive', - 'ns3::Ipv4L4Protocol::RxStatus', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-l4-protocol.h: void ns3::Ipv4L4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function] - cls.add_method('ReceiveIcmp', - 'void', - [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')], - is_virtual=True) - ## ipv4-l4-protocol.h: void ns3::Ipv4L4Protocol::SetDownTarget(ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDownTarget', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): - ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute(ns3::Ipv4MulticastRoute const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MulticastRoute const &', 'arg0')]) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::Ipv4MulticastRoute() [constructor] - cls.add_constructor([]) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4MulticastRoute::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] - cls.add_method('GetOutputTtl', - 'uint32_t', - [param('uint32_t', 'oif')], - is_const=True) - ## ipv4-route.h: uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] - cls.add_method('GetParent', - 'uint32_t', - [], - is_const=True) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetGroup(ns3::Ipv4Address const group) [member function] - cls.add_method('SetGroup', - 'void', - [param('ns3::Ipv4Address const', 'group')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOrigin(ns3::Ipv4Address const origin) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv4Address const', 'origin')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] - cls.add_method('SetOutputTtl', - 'void', - [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) - ## ipv4-route.h: void ns3::Ipv4MulticastRoute::SetParent(uint32_t iif) [member function] - cls.add_method('SetParent', - 'void', - [param('uint32_t', 'iif')]) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_INTERFACES [variable] - cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) - ## ipv4-route.h: ns3::Ipv4MulticastRoute::MAX_TTL [variable] - cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) - return - -def register_Ns3Ipv4RawSocketFactory_methods(root_module, cls): - ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory::Ipv4RawSocketFactory() [constructor] - cls.add_constructor([]) - ## ipv4-raw-socket-factory.h: ns3::Ipv4RawSocketFactory::Ipv4RawSocketFactory(ns3::Ipv4RawSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RawSocketFactory const &', 'arg0')]) - ## ipv4-raw-socket-factory.h: static ns3::TypeId ns3::Ipv4RawSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3Ipv4RawSocketImpl_methods(root_module, cls): - ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl::Ipv4RawSocketImpl(ns3::Ipv4RawSocketImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RawSocketImpl const &', 'arg0')]) - ## ipv4-raw-socket-impl.h: ns3::Ipv4RawSocketImpl::Ipv4RawSocketImpl() [constructor] - cls.add_constructor([]) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Bind(ns3::Address const & address) [member function] - cls.add_method('Bind', - 'int', - [param('ns3::Address const &', 'address')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Bind() [member function] - cls.add_method('Bind', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Close() [member function] - cls.add_method('Close', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Connect(ns3::Address const & address) [member function] - cls.add_method('Connect', - 'int', - [param('ns3::Address const &', 'address')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::ForwardUp(ns3::Ptr p, ns3::Ipv4Header ipHeader, ns3::Ptr incomingInterface) [member function] - cls.add_method('ForwardUp', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')]) - ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::GetAllowBroadcast() const [member function] - cls.add_method('GetAllowBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Socket::SocketErrno ns3::Ipv4RawSocketImpl::GetErrno() const [member function] - cls.add_method('GetErrno', - 'ns3::Socket::SocketErrno', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: uint32_t ns3::Ipv4RawSocketImpl::GetRxAvailable() const [member function] - cls.add_method('GetRxAvailable', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::GetSockName(ns3::Address & address) const [member function] - cls.add_method('GetSockName', - 'int', - [param('ns3::Address &', 'address')], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Socket::SocketType ns3::Ipv4RawSocketImpl::GetSocketType() const [member function] - cls.add_method('GetSocketType', - 'ns3::Socket::SocketType', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: uint32_t ns3::Ipv4RawSocketImpl::GetTxAvailable() const [member function] - cls.add_method('GetTxAvailable', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-raw-socket-impl.h: static ns3::TypeId ns3::Ipv4RawSocketImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Listen() [member function] - cls.add_method('Listen', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::Recv(uint32_t maxSize, uint32_t flags) [member function] - cls.add_method('Recv', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: ns3::Ptr ns3::Ipv4RawSocketImpl::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::Send(ns3::Ptr p, uint32_t flags) [member function] - cls.add_method('Send', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::SendTo(ns3::Ptr p, uint32_t flags, ns3::Address const & toAddress) [member function] - cls.add_method('SendTo', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: bool ns3::Ipv4RawSocketImpl::SetAllowBroadcast(bool allowBroadcast) [member function] - cls.add_method('SetAllowBroadcast', - 'bool', - [param('bool', 'allowBroadcast')], - is_virtual=True) - ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::SetProtocol(uint16_t protocol) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint16_t', 'protocol')]) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::ShutdownRecv() [member function] - cls.add_method('ShutdownRecv', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: int ns3::Ipv4RawSocketImpl::ShutdownSend() [member function] - cls.add_method('ShutdownSend', - 'int', - [], - is_virtual=True) - ## ipv4-raw-socket-impl.h: void ns3::Ipv4RawSocketImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Ipv4Route_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route(ns3::Ipv4Route const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Route const &', 'arg0')]) - ## ipv4-route.h: ns3::Ipv4Route::Ipv4Route() [constructor] - cls.add_constructor([]) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: ns3::Ptr ns3::Ipv4Route::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv4-route.h: ns3::Ipv4Address ns3::Ipv4Route::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-route.h: void ns3::Ipv4Route::SetDestination(ns3::Ipv4Address dest) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv4Address', 'dest')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetGateway(ns3::Ipv4Address gw) [member function] - cls.add_method('SetGateway', - 'void', - [param('ns3::Ipv4Address', 'gw')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) - ## ipv4-route.h: void ns3::Ipv4Route::SetSource(ns3::Ipv4Address src) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv4Address', 'src')]) - return - -def register_Ns3Ipv4RoutingProtocol_methods(root_module, cls): - ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol() [constructor] - cls.add_constructor([]) - ## ipv4-routing-protocol.h: ns3::Ipv4RoutingProtocol::Ipv4RoutingProtocol(ns3::Ipv4RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4RoutingProtocol const &', 'arg0')]) - ## ipv4-routing-protocol.h: static ns3::TypeId ns3::Ipv4RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv4-routing-protocol.h: bool ns3::Ipv4RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: ns3::Ptr ns3::Ipv4RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_pure_virtual=True, is_virtual=True) - ## ipv4-routing-protocol.h: void ns3::Ipv4RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Ipv4StaticRouting_methods(root_module, cls): - ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting(ns3::Ipv4StaticRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4StaticRouting const &', 'arg0')]) - ## ipv4-static-routing.h: ns3::Ipv4StaticRouting::Ipv4StaticRouting() [constructor] - cls.add_constructor([]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetDefaultRoute() [member function] - cls.add_method('GetDefaultRoute', - 'ns3::Ipv4RoutingTableEntry', - []) - ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetMetric(uint32_t index) [member function] - cls.add_method('GetMetric', - 'uint32_t', - [param('uint32_t', 'index')]) - ## ipv4-static-routing.h: ns3::Ipv4MulticastRoutingTableEntry ns3::Ipv4StaticRouting::GetMulticastRoute(uint32_t i) const [member function] - cls.add_method('GetMulticastRoute', - 'ns3::Ipv4MulticastRoutingTableEntry', - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNMulticastRoutes() const [member function] - cls.add_method('GetNMulticastRoutes', - 'uint32_t', - [], - is_const=True) - ## ipv4-static-routing.h: uint32_t ns3::Ipv4StaticRouting::GetNRoutes() const [member function] - cls.add_method('GetNRoutes', - 'uint32_t', - [], - is_const=True) - ## ipv4-static-routing.h: ns3::Ipv4RoutingTableEntry ns3::Ipv4StaticRouting::GetRoute(uint32_t i) const [member function] - cls.add_method('GetRoute', - 'ns3::Ipv4RoutingTableEntry', - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-static-routing.h: static ns3::TypeId ns3::Ipv4StaticRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RemoveMulticastRoute(ns3::Ipv4Address origin, ns3::Ipv4Address group, uint32_t inputInterface) [member function] - cls.add_method('RemoveMulticastRoute', - 'bool', - [param('ns3::Ipv4Address', 'origin'), param('ns3::Ipv4Address', 'group'), param('uint32_t', 'inputInterface')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveMulticastRoute(uint32_t index) [member function] - cls.add_method('RemoveMulticastRoute', - 'void', - [param('uint32_t', 'index')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::RemoveRoute(uint32_t i) [member function] - cls.add_method('RemoveRoute', - 'void', - [param('uint32_t', 'i')]) - ## ipv4-static-routing.h: bool ns3::Ipv4StaticRouting::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv4-static-routing.h: ns3::Ptr ns3::Ipv4StaticRouting::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultMulticastRoute(uint32_t outputInterface) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('uint32_t', 'outputInterface')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetDefaultRoute(ns3::Ipv4Address nextHop, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('SetDefaultRoute', - 'void', - [param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## ipv4-static-routing.h: void ns3::Ipv4StaticRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv6_methods(root_module, cls): - ## ipv6.h: ns3::Ipv6::Ipv6(ns3::Ipv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6 const &', 'arg0')]) - ## ipv6.h: ns3::Ipv6::Ipv6() [constructor] - cls.add_constructor([]) - ## ipv6.h: bool ns3::Ipv6::AddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: uint32_t ns3::Ipv6::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: ns3::Ipv6InterfaceAddress ns3::Ipv6::GetAddress(uint32_t interface, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6InterfaceAddress', - [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: int32_t ns3::Ipv6::GetInterfaceForAddress(ns3::Ipv6Address address) const [member function] - cls.add_method('GetInterfaceForAddress', - 'int32_t', - [param('ns3::Ipv6Address', 'address')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: int32_t ns3::Ipv6::GetInterfaceForDevice(ns3::Ptr device) const [member function] - cls.add_method('GetInterfaceForDevice', - 'int32_t', - [param('ns3::Ptr< ns3::NetDevice const >', 'device')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: int32_t ns3::Ipv6::GetInterfaceForPrefix(ns3::Ipv6Address address, ns3::Ipv6Prefix mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6Prefix', 'mask')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: uint16_t ns3::Ipv6::GetMetric(uint32_t interface) const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: uint16_t ns3::Ipv6::GetMtu(uint32_t interface) const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: uint32_t ns3::Ipv6::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: uint32_t ns3::Ipv6::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: ns3::Ptr ns3::Ipv6::GetNetDevice(uint32_t interface) [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: ns3::Ptr ns3::Ipv6::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: static ns3::TypeId ns3::Ipv6::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6.h: bool ns3::Ipv6::IsForwarding(uint32_t interface) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: bool ns3::Ipv6::IsUp(uint32_t interface) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::RegisterExtensions() [member function] - cls.add_method('RegisterExtensions', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::RegisterOptions() [member function] - cls.add_method('RegisterOptions', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: bool ns3::Ipv6::RemoveAddress(uint32_t interface, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interface'), param('uint32_t', 'addressIndex')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetDown(uint32_t interface) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetForwarding(uint32_t interface, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'interface'), param('bool', 'val')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetMetric(uint32_t interface, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'interface'), param('uint16_t', 'metric')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetUp(uint32_t interface) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6.h: ns3::Ipv6::IF_ANY [variable] - cls.add_static_attribute('IF_ANY', 'uint32_t const', is_const=True) - ## ipv6.h: bool ns3::Ipv6::GetIpForward() const [member function] - cls.add_method('GetIpForward', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## ipv6.h: void ns3::Ipv6::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ipv6ExtensionAHHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionAHHeader::Ipv6ExtensionAHHeader(ns3::Ipv6ExtensionAHHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionAHHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionAHHeader::Ipv6ExtensionAHHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionAHHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionAHHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionAHHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionAHHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionAHHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionAHHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6ExtensionDestinationHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionDestinationHeader::Ipv6ExtensionDestinationHeader(ns3::Ipv6ExtensionDestinationHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionDestinationHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionDestinationHeader::Ipv6ExtensionDestinationHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionDestinationHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionDestinationHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionDestinationHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionDestinationHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionDestinationHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionDestinationHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6ExtensionESPHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionESPHeader::Ipv6ExtensionESPHeader(ns3::Ipv6ExtensionESPHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionESPHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionESPHeader::Ipv6ExtensionESPHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionESPHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionESPHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionESPHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionESPHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionESPHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionESPHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv6ExtensionFragmentHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionFragmentHeader::Ipv6ExtensionFragmentHeader(ns3::Ipv6ExtensionFragmentHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionFragmentHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionFragmentHeader::Ipv6ExtensionFragmentHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionFragmentHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionFragmentHeader::GetIdentification() const [member function] - cls.add_method('GetIdentification', - 'uint32_t', - [], - is_const=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionFragmentHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: bool ns3::Ipv6ExtensionFragmentHeader::GetMoreFragment() const [member function] - cls.add_method('GetMoreFragment', - 'bool', - [], - is_const=True) - ## ipv6-extension-header.h: uint16_t ns3::Ipv6ExtensionFragmentHeader::GetOffset() const [member function] - cls.add_method('GetOffset', - 'uint16_t', - [], - is_const=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionFragmentHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionFragmentHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::SetIdentification(uint32_t identification) [member function] - cls.add_method('SetIdentification', - 'void', - [param('uint32_t', 'identification')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::SetMoreFragment(bool moreFragment) [member function] - cls.add_method('SetMoreFragment', - 'void', - [param('bool', 'moreFragment')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionFragmentHeader::SetOffset(uint16_t offset) [member function] - cls.add_method('SetOffset', - 'void', - [param('uint16_t', 'offset')]) - return - -def register_Ns3Ipv6ExtensionLooseRoutingHeader_methods(root_module, cls): - ## ipv6-extension-header.h: ns3::Ipv6ExtensionLooseRoutingHeader::Ipv6ExtensionLooseRoutingHeader(ns3::Ipv6ExtensionLooseRoutingHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ExtensionLooseRoutingHeader const &', 'arg0')]) - ## ipv6-extension-header.h: ns3::Ipv6ExtensionLooseRoutingHeader::Ipv6ExtensionLooseRoutingHeader() [constructor] - cls.add_constructor([]) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionLooseRoutingHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ipv6-extension-header.h: ns3::TypeId ns3::Ipv6ExtensionLooseRoutingHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: ns3::Ipv6Address ns3::Ipv6ExtensionLooseRoutingHeader::GetRouterAddress(uint8_t index) const [member function] - cls.add_method('GetRouterAddress', - 'ns3::Ipv6Address', - [param('uint8_t', 'index')], - is_const=True) - ## ipv6-extension-header.h: std::vector > ns3::Ipv6ExtensionLooseRoutingHeader::GetRoutersAddress() const [member function] - cls.add_method('GetRoutersAddress', - 'std::vector< ns3::Ipv6Address >', - [], - is_const=True) - ## ipv6-extension-header.h: uint32_t ns3::Ipv6ExtensionLooseRoutingHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: static ns3::TypeId ns3::Ipv6ExtensionLooseRoutingHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::SetNumberAddress(uint8_t n) [member function] - cls.add_method('SetNumberAddress', - 'void', - [param('uint8_t', 'n')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::SetRouterAddress(uint8_t index, ns3::Ipv6Address addr) [member function] - cls.add_method('SetRouterAddress', - 'void', - [param('uint8_t', 'index'), param('ns3::Ipv6Address', 'addr')]) - ## ipv6-extension-header.h: void ns3::Ipv6ExtensionLooseRoutingHeader::SetRoutersAddress(std::vector > routersAddress) [member function] - cls.add_method('SetRoutersAddress', - 'void', - [param('std::vector< ns3::Ipv6Address >', 'routersAddress')]) - return - -def register_Ns3Ipv6Interface_methods(root_module, cls): - ## ipv6-interface.h: ns3::Ipv6Interface::Ipv6Interface(ns3::Ipv6Interface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Interface const &', 'arg0')]) - ## ipv6-interface.h: ns3::Ipv6Interface::Ipv6Interface() [constructor] - cls.add_constructor([]) - ## ipv6-interface.h: bool ns3::Ipv6Interface::AddAddress(ns3::Ipv6InterfaceAddress iface) [member function] - cls.add_method('AddAddress', - 'bool', - [param('ns3::Ipv6InterfaceAddress', 'iface')]) - ## ipv6-interface.h: ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::GetAddress(uint32_t index) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6InterfaceAddress', - [param('uint32_t', 'index')], - is_const=True) - ## ipv6-interface.h: ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::GetAddressMatchingDestination(ns3::Ipv6Address dst) [member function] - cls.add_method('GetAddressMatchingDestination', - 'ns3::Ipv6InterfaceAddress', - [param('ns3::Ipv6Address', 'dst')]) - ## ipv6-interface.h: uint16_t ns3::Ipv6Interface::GetBaseReachableTime() const [member function] - cls.add_method('GetBaseReachableTime', - 'uint16_t', - [], - is_const=True) - ## ipv6-interface.h: uint8_t ns3::Ipv6Interface::GetCurHopLimit() const [member function] - cls.add_method('GetCurHopLimit', - 'uint8_t', - [], - is_const=True) - ## ipv6-interface.h: ns3::Ptr ns3::Ipv6Interface::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True, is_virtual=True) - ## ipv6-interface.h: ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::GetLinkLocalAddress() const [member function] - cls.add_method('GetLinkLocalAddress', - 'ns3::Ipv6InterfaceAddress', - [], - is_const=True) - ## ipv6-interface.h: uint16_t ns3::Ipv6Interface::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [], - is_const=True) - ## ipv6-interface.h: uint32_t ns3::Ipv6Interface::GetNAddresses() const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [], - is_const=True) - ## ipv6-interface.h: uint16_t ns3::Ipv6Interface::GetReachableTime() const [member function] - cls.add_method('GetReachableTime', - 'uint16_t', - [], - is_const=True) - ## ipv6-interface.h: uint16_t ns3::Ipv6Interface::GetRetransTimer() const [member function] - cls.add_method('GetRetransTimer', - 'uint16_t', - [], - is_const=True) - ## ipv6-interface.h: static ns3::TypeId ns3::Ipv6Interface::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-interface.h: bool ns3::Ipv6Interface::IsDown() const [member function] - cls.add_method('IsDown', - 'bool', - [], - is_const=True) - ## ipv6-interface.h: bool ns3::Ipv6Interface::IsForwarding() const [member function] - cls.add_method('IsForwarding', - 'bool', - [], - is_const=True) - ## ipv6-interface.h: bool ns3::Ipv6Interface::IsUp() const [member function] - cls.add_method('IsUp', - 'bool', - [], - is_const=True) - ## ipv6-interface.h: ns3::Ipv6InterfaceAddress ns3::Ipv6Interface::RemoveAddress(uint32_t index) [member function] - cls.add_method('RemoveAddress', - 'ns3::Ipv6InterfaceAddress', - [param('uint32_t', 'index')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::Send(ns3::Ptr p, ns3::Ipv6Address dest) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address', 'dest')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetBaseReachableTime(uint16_t baseReachableTime) [member function] - cls.add_method('SetBaseReachableTime', - 'void', - [param('uint16_t', 'baseReachableTime')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetCurHopLimit(uint8_t curHopLimit) [member function] - cls.add_method('SetCurHopLimit', - 'void', - [param('uint8_t', 'curHopLimit')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetDown() [member function] - cls.add_method('SetDown', - 'void', - []) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetForwarding(bool forward) [member function] - cls.add_method('SetForwarding', - 'void', - [param('bool', 'forward')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetMetric(uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint16_t', 'metric')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetNsDadUid(ns3::Ipv6Address address, uint32_t uid) [member function] - cls.add_method('SetNsDadUid', - 'void', - [param('ns3::Ipv6Address', 'address'), param('uint32_t', 'uid')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetReachableTime(uint16_t reachableTime) [member function] - cls.add_method('SetReachableTime', - 'void', - [param('uint16_t', 'reachableTime')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetRetransTimer(uint16_t retransTimer) [member function] - cls.add_method('SetRetransTimer', - 'void', - [param('uint16_t', 'retransTimer')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetState(ns3::Ipv6Address address, ns3::Ipv6InterfaceAddress::State_e state) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::Ipv6Address', 'address'), param('ns3::Ipv6InterfaceAddress::State_e', 'state')]) - ## ipv6-interface.h: void ns3::Ipv6Interface::SetUp() [member function] - cls.add_method('SetUp', - 'void', - []) - ## ipv6-interface.h: void ns3::Ipv6Interface::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv6L3Protocol_methods(root_module, cls): - ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv6-l3-protocol.h: static ns3::TypeId ns3::Ipv6L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-l3-protocol.h: ns3::Ipv6L3Protocol::Ipv6L3Protocol() [constructor] - cls.add_constructor([]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv6L4Protocol >', 'protocol')]) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv6L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::CreateRawSocket() [member function] - cls.add_method('CreateRawSocket', - 'ns3::Ptr< ns3::Socket >', - []) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::DeleteRawSocket(ns3::Ptr socket) [member function] - cls.add_method('DeleteRawSocket', - 'void', - [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::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')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::Send(ns3::Ptr packet, ns3::Ipv6Address source, ns3::Ipv6Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'source'), param('ns3::Ipv6Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv6Route >', 'route')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: uint32_t ns3::Ipv6L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetInterface(uint32_t i) const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::Ipv6Interface >', - [param('uint32_t', 'i')], - is_const=True) - ## ipv6-l3-protocol.h: uint32_t ns3::Ipv6L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: int32_t ns3::Ipv6L3Protocol::GetInterfaceForAddress(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetInterfaceForAddress', - 'int32_t', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: int32_t ns3::Ipv6L3Protocol::GetInterfaceForPrefix(ns3::Ipv6Address addr, ns3::Ipv6Prefix mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv6Address', 'addr'), param('ns3::Ipv6Prefix', 'mask')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: int32_t ns3::Ipv6L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] - cls.add_method('GetInterfaceForDevice', - 'int32_t', - [param('ns3::Ptr< ns3::NetDevice const >', 'device')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::AddAddress(uint32_t i, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ipv6InterfaceAddress ns3::Ipv6L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv6InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: uint32_t ns3::Ipv6L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) - ## ipv6-l3-protocol.h: uint16_t ns3::Ipv6L3Protocol::GetMetric(uint32_t i) const [member function] - cls.add_method('GetMetric', - 'uint16_t', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: uint16_t ns3::Ipv6L3Protocol::GetMtu(uint32_t i) const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetNetDevice(uint32_t i) [member function] - cls.add_method('GetNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv6-l3-protocol.h: ns3::Ptr ns3::Ipv6L3Protocol::GetIcmpv6() const [member function] - cls.add_method('GetIcmpv6', - 'ns3::Ptr< ns3::Icmpv6L4Protocol >', - [], - is_const=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::AddAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, uint8_t flags, uint32_t validTime, uint32_t preferredTime, ns3::Ipv6Address defaultRouter=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('AddAutoconfiguredAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('uint8_t', 'flags'), param('uint32_t', 'validTime'), param('uint32_t', 'preferredTime'), param('ns3::Ipv6Address', 'defaultRouter', default_value='ns3::Ipv6Address::GetZero( )')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::RemoveAutoconfiguredAddress(uint32_t interface, ns3::Ipv6Address network, ns3::Ipv6Prefix mask, ns3::Ipv6Address defaultRouter) [member function] - cls.add_method('RemoveAutoconfiguredAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'defaultRouter')]) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::RegisterExtensions() [member function] - cls.add_method('RegisterExtensions', - 'void', - [], - is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::RegisterOptions() [member function] - cls.add_method('RegisterOptions', - 'void', - [], - is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv6-l3-protocol.h: void ns3::Ipv6L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) - ## ipv6-l3-protocol.h: bool ns3::Ipv6L3Protocol::GetIpForward() const [member function] - cls.add_method('GetIpForward', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ipv6L4Protocol_methods(root_module, cls): - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::Ipv6L4Protocol() [constructor] - cls.add_constructor([]) - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::Ipv6L4Protocol(ns3::Ipv6L4Protocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6L4Protocol const &', 'arg0')]) - ## ipv6-l4-protocol.h: int ns3::Ipv6L4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## ipv6-l4-protocol.h: static ns3::TypeId ns3::Ipv6L4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-l4-protocol.h: ns3::Ipv6L4Protocol::RxStatus_e ns3::Ipv6L4Protocol::Receive(ns3::Ptr p, ns3::Ipv6Address const & src, ns3::Ipv6Address const & dst, ns3::Ptr incomingInterface) [member function] - cls.add_method('Receive', - 'ns3::Ipv6L4Protocol::RxStatus_e', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address const &', 'src'), param('ns3::Ipv6Address const &', 'dst'), param('ns3::Ptr< ns3::Ipv6Interface >', 'incomingInterface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-l4-protocol.h: void ns3::Ipv6L4Protocol::ReceiveIcmp(ns3::Ipv6Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv6Address payloadSource, ns3::Ipv6Address payloadDestination, uint8_t const * payload) [member function] - cls.add_method('ReceiveIcmp', - 'void', - [param('ns3::Ipv6Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv6Address', 'payloadSource'), param('ns3::Ipv6Address', 'payloadDestination'), param('uint8_t const *', 'payload')], - is_virtual=True) - return - -def register_Ns3Ipv6MulticastRoute_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute(ns3::Ipv6MulticastRoute const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6MulticastRoute const &', 'arg0')]) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::Ipv6MulticastRoute() [constructor] - cls.add_constructor([]) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetGroup() const [member function] - cls.add_method('GetGroup', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6MulticastRoute::GetOrigin() const [member function] - cls.add_method('GetOrigin', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] - cls.add_method('GetOutputTtl', - 'uint32_t', - [param('uint32_t', 'oif')], - is_const=True) - ## ipv6-route.h: uint32_t ns3::Ipv6MulticastRoute::GetParent() const [member function] - cls.add_method('GetParent', - 'uint32_t', - [], - is_const=True) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetGroup(ns3::Ipv6Address const group) [member function] - cls.add_method('SetGroup', - 'void', - [param('ns3::Ipv6Address const', 'group')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOrigin(ns3::Ipv6Address const origin) [member function] - cls.add_method('SetOrigin', - 'void', - [param('ns3::Ipv6Address const', 'origin')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetOutputTtl(uint32_t oif, uint32_t ttl) [member function] - cls.add_method('SetOutputTtl', - 'void', - [param('uint32_t', 'oif'), param('uint32_t', 'ttl')]) - ## ipv6-route.h: void ns3::Ipv6MulticastRoute::SetParent(uint32_t iif) [member function] - cls.add_method('SetParent', - 'void', - [param('uint32_t', 'iif')]) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_INTERFACES [variable] - cls.add_static_attribute('MAX_INTERFACES', 'uint32_t const', is_const=True) - ## ipv6-route.h: ns3::Ipv6MulticastRoute::MAX_TTL [variable] - cls.add_static_attribute('MAX_TTL', 'uint32_t const', is_const=True) - return - -def register_Ns3Ipv6RawSocketFactory_methods(root_module, cls): - ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory::Ipv6RawSocketFactory() [constructor] - cls.add_constructor([]) - ## ipv6-raw-socket-factory.h: ns3::Ipv6RawSocketFactory::Ipv6RawSocketFactory(ns3::Ipv6RawSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6RawSocketFactory const &', 'arg0')]) - ## ipv6-raw-socket-factory.h: static ns3::TypeId ns3::Ipv6RawSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3Ipv6Route_methods(root_module, cls): - cls.add_output_stream_operator() - ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route(ns3::Ipv6Route const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Route const &', 'arg0')]) - ## ipv6-route.h: ns3::Ipv6Route::Ipv6Route() [constructor] - cls.add_constructor([]) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetGateway() const [member function] - cls.add_method('GetGateway', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: ns3::Ptr ns3::Ipv6Route::GetOutputDevice() const [member function] - cls.add_method('GetOutputDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ipv6-route.h: ns3::Ipv6Address ns3::Ipv6Route::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-route.h: void ns3::Ipv6Route::SetDestination(ns3::Ipv6Address dest) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Ipv6Address', 'dest')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetGateway(ns3::Ipv6Address gw) [member function] - cls.add_method('SetGateway', - 'void', - [param('ns3::Ipv6Address', 'gw')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetOutputDevice(ns3::Ptr outputDevice) [member function] - cls.add_method('SetOutputDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'outputDevice')]) - ## ipv6-route.h: void ns3::Ipv6Route::SetSource(ns3::Ipv6Address src) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Ipv6Address', 'src')]) - return - -def register_Ns3Ipv6RoutingProtocol_methods(root_module, cls): - ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol::Ipv6RoutingProtocol() [constructor] - cls.add_constructor([]) - ## ipv6-routing-protocol.h: ns3::Ipv6RoutingProtocol::Ipv6RoutingProtocol(ns3::Ipv6RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6RoutingProtocol const &', 'arg0')]) - ## ipv6-routing-protocol.h: static ns3::TypeId ns3::Ipv6RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyAddRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyAddRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::NotifyRemoveRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyRemoveRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: bool ns3::Ipv6RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv6Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,const ns3::Ipv6Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: ns3::Ptr ns3::Ipv6RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv6Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_pure_virtual=True, is_virtual=True) - ## ipv6-routing-protocol.h: void ns3::Ipv6RoutingProtocol::SetIpv6(ns3::Ptr ipv6) [member function] - cls.add_method('SetIpv6', - 'void', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Ipv6StaticRouting_methods(root_module, cls): - ## ipv6-static-routing.h: ns3::Ipv6StaticRouting::Ipv6StaticRouting(ns3::Ipv6StaticRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6StaticRouting const &', 'arg0')]) - ## ipv6-static-routing.h: ns3::Ipv6StaticRouting::Ipv6StaticRouting() [constructor] - cls.add_constructor([]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddHostRouteTo(ns3::Ipv6Address dest, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address(((const char*)"::")), uint32_t metric=0) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv6Address', 'dest'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address(((const char*)"::"))'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddHostRouteTo(ns3::Ipv6Address dest, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv6Address', 'dest'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddMulticastRoute(ns3::Ipv6Address origin, ns3::Ipv6Address group, uint32_t inputInterface, std::vector > outputInterfaces) [member function] - cls.add_method('AddMulticastRoute', - 'void', - [param('ns3::Ipv6Address', 'origin'), param('ns3::Ipv6Address', 'group'), param('uint32_t', 'inputInterface'), param('std::vector< unsigned int >', 'outputInterfaces')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, ns3::Ipv6Address nextHop, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::AddNetworkRouteTo(ns3::Ipv6Address network, ns3::Ipv6Prefix networkPrefix, uint32_t interface, uint32_t metric=0) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'networkPrefix'), param('uint32_t', 'interface'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: ns3::Ipv6RoutingTableEntry ns3::Ipv6StaticRouting::GetDefaultRoute() [member function] - cls.add_method('GetDefaultRoute', - 'ns3::Ipv6RoutingTableEntry', - []) - ## ipv6-static-routing.h: uint32_t ns3::Ipv6StaticRouting::GetMetric(uint32_t index) [member function] - cls.add_method('GetMetric', - 'uint32_t', - [param('uint32_t', 'index')]) - ## ipv6-static-routing.h: ns3::Ipv6MulticastRoutingTableEntry ns3::Ipv6StaticRouting::GetMulticastRoute(uint32_t i) const [member function] - cls.add_method('GetMulticastRoute', - 'ns3::Ipv6MulticastRoutingTableEntry', - [param('uint32_t', 'i')], - is_const=True) - ## ipv6-static-routing.h: uint32_t ns3::Ipv6StaticRouting::GetNMulticastRoutes() const [member function] - cls.add_method('GetNMulticastRoutes', - 'uint32_t', - [], - is_const=True) - ## ipv6-static-routing.h: uint32_t ns3::Ipv6StaticRouting::GetNRoutes() [member function] - cls.add_method('GetNRoutes', - 'uint32_t', - []) - ## ipv6-static-routing.h: ns3::Ipv6RoutingTableEntry ns3::Ipv6StaticRouting::GetRoute(uint32_t i) [member function] - cls.add_method('GetRoute', - 'ns3::Ipv6RoutingTableEntry', - [param('uint32_t', 'i')]) - ## ipv6-static-routing.h: static ns3::TypeId ns3::Ipv6StaticRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-static-routing.h: bool ns3::Ipv6StaticRouting::HasNetworkDest(ns3::Ipv6Address dest, uint32_t interfaceIndex) [member function] - cls.add_method('HasNetworkDest', - 'bool', - [param('ns3::Ipv6Address', 'dest'), param('uint32_t', 'interfaceIndex')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyAddRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyAddRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::NotifyRemoveRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyRemoveRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_virtual=True) - ## ipv6-static-routing.h: bool ns3::Ipv6StaticRouting::RemoveMulticastRoute(ns3::Ipv6Address origin, ns3::Ipv6Address group, uint32_t inputInterface) [member function] - cls.add_method('RemoveMulticastRoute', - 'bool', - [param('ns3::Ipv6Address', 'origin'), param('ns3::Ipv6Address', 'group'), param('uint32_t', 'inputInterface')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::RemoveMulticastRoute(uint32_t i) [member function] - cls.add_method('RemoveMulticastRoute', - 'void', - [param('uint32_t', 'i')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::RemoveRoute(uint32_t i) [member function] - cls.add_method('RemoveRoute', - 'void', - [param('uint32_t', 'i')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::RemoveRoute(ns3::Ipv6Address network, ns3::Ipv6Prefix prefix, uint32_t ifIndex, ns3::Ipv6Address prefixToUse) [member function] - cls.add_method('RemoveRoute', - 'void', - [param('ns3::Ipv6Address', 'network'), param('ns3::Ipv6Prefix', 'prefix'), param('uint32_t', 'ifIndex'), param('ns3::Ipv6Address', 'prefixToUse')]) - ## ipv6-static-routing.h: bool ns3::Ipv6StaticRouting::RouteInput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv6Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,const ns3::Ipv6Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv6-static-routing.h: ns3::Ptr ns3::Ipv6StaticRouting::RouteOutput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv6Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::SetDefaultMulticastRoute(uint32_t outputInterface) [member function] - cls.add_method('SetDefaultMulticastRoute', - 'void', - [param('uint32_t', 'outputInterface')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::SetDefaultRoute(ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address(((const char*)"::")), uint32_t metric=0) [member function] - cls.add_method('SetDefaultRoute', - 'void', - [param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address(((const char*)"::"))'), param('uint32_t', 'metric', default_value='0')]) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::SetIpv6(ns3::Ptr ipv6) [member function] - cls.add_method('SetIpv6', - 'void', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6')], - is_virtual=True) - ## ipv6-static-routing.h: void ns3::Ipv6StaticRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3NdiscCache_methods(root_module, cls): - ## ndisc-cache.h: ns3::NdiscCache::NdiscCache() [constructor] - cls.add_constructor([]) - ## ndisc-cache.h: ns3::NdiscCache::Entry * ns3::NdiscCache::Add(ns3::Ipv6Address to) [member function] - cls.add_method('Add', - 'ns3::NdiscCache::Entry *', - [param('ns3::Ipv6Address', 'to')]) - ## ndisc-cache.h: void ns3::NdiscCache::Flush() [member function] - cls.add_method('Flush', - 'void', - []) - ## ndisc-cache.h: ns3::Ptr ns3::NdiscCache::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## ndisc-cache.h: ns3::Ptr ns3::NdiscCache::GetInterface() const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::Ipv6Interface >', - [], - is_const=True) - ## ndisc-cache.h: static ns3::TypeId ns3::NdiscCache::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ndisc-cache.h: uint32_t ns3::NdiscCache::GetUnresQlen() [member function] - cls.add_method('GetUnresQlen', - 'uint32_t', - []) - ## ndisc-cache.h: ns3::NdiscCache::Entry * ns3::NdiscCache::Lookup(ns3::Ipv6Address dst) [member function] - cls.add_method('Lookup', - 'ns3::NdiscCache::Entry *', - [param('ns3::Ipv6Address', 'dst')]) - ## ndisc-cache.h: void ns3::NdiscCache::Remove(ns3::NdiscCache::Entry * entry) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::NdiscCache::Entry *', 'entry')]) - ## ndisc-cache.h: void ns3::NdiscCache::SetDevice(ns3::Ptr device, ns3::Ptr interface) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')]) - ## ndisc-cache.h: void ns3::NdiscCache::SetUnresQlen(uint32_t unresQlen) [member function] - cls.add_method('SetUnresQlen', - 'void', - [param('uint32_t', 'unresQlen')]) - ## ndisc-cache.h: ns3::NdiscCache::DEFAULT_UNRES_QLEN [variable] - cls.add_static_attribute('DEFAULT_UNRES_QLEN', 'uint32_t const', is_const=True) - ## ndisc-cache.h: void ns3::NdiscCache::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3NdiscCacheEntry_methods(root_module, cls): - ## ndisc-cache.h: ns3::NdiscCache::Entry::Entry(ns3::NdiscCache::Entry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NdiscCache::Entry const &', 'arg0')]) - ## ndisc-cache.h: ns3::NdiscCache::Entry::Entry(ns3::NdiscCache * nd) [constructor] - cls.add_constructor([param('ns3::NdiscCache *', 'nd')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::AddWaitingPacket(ns3::Ptr p) [member function] - cls.add_method('AddWaitingPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::ClearWaitingPacket() [member function] - cls.add_method('ClearWaitingPacket', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionDelayTimeout() [member function] - cls.add_method('FunctionDelayTimeout', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionProbeTimeout() [member function] - cls.add_method('FunctionProbeTimeout', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionReachableTimeout() [member function] - cls.add_method('FunctionReachableTimeout', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::FunctionRetransmitTimeout() [member function] - cls.add_method('FunctionRetransmitTimeout', - 'void', - []) - ## ndisc-cache.h: ns3::Time ns3::NdiscCache::Entry::GetLastReachabilityConfirmation() const [member function] - cls.add_method('GetLastReachabilityConfirmation', - 'ns3::Time', - [], - is_const=True) - ## ndisc-cache.h: ns3::Address ns3::NdiscCache::Entry::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Address', - [], - is_const=True) - ## ndisc-cache.h: uint8_t ns3::NdiscCache::Entry::GetNSRetransmit() const [member function] - cls.add_method('GetNSRetransmit', - 'uint8_t', - [], - is_const=True) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::IncNSRetransmit() [member function] - cls.add_method('IncNSRetransmit', - 'void', - []) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsDelay() const [member function] - cls.add_method('IsDelay', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsIncomplete() const [member function] - cls.add_method('IsIncomplete', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsProbe() const [member function] - cls.add_method('IsProbe', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsReachable() const [member function] - cls.add_method('IsReachable', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsRouter() const [member function] - cls.add_method('IsRouter', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: bool ns3::NdiscCache::Entry::IsStale() const [member function] - cls.add_method('IsStale', - 'bool', - [], - is_const=True) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkDelay() [member function] - cls.add_method('MarkDelay', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkIncomplete(ns3::Ptr p) [member function] - cls.add_method('MarkIncomplete', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkProbe() [member function] - cls.add_method('MarkProbe', - 'void', - []) - ## ndisc-cache.h: std::list, std::allocator > > ns3::NdiscCache::Entry::MarkReachable(ns3::Address mac) [member function] - cls.add_method('MarkReachable', - 'std::list< ns3::Ptr< ns3::Packet > >', - [param('ns3::Address', 'mac')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkReachable() [member function] - cls.add_method('MarkReachable', - 'void', - []) - ## ndisc-cache.h: std::list, std::allocator > > ns3::NdiscCache::Entry::MarkStale(ns3::Address mac) [member function] - cls.add_method('MarkStale', - 'std::list< ns3::Ptr< ns3::Packet > >', - [param('ns3::Address', 'mac')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::MarkStale() [member function] - cls.add_method('MarkStale', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::ResetNSRetransmit() [member function] - cls.add_method('ResetNSRetransmit', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::SetIpv6Address(ns3::Ipv6Address ipv6Address) [member function] - cls.add_method('SetIpv6Address', - 'void', - [param('ns3::Ipv6Address', 'ipv6Address')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::SetMacAddress(ns3::Address mac) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Address', 'mac')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::SetRouter(bool router) [member function] - cls.add_method('SetRouter', - 'void', - [param('bool', 'router')]) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartDelayTimer() [member function] - cls.add_method('StartDelayTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartProbeTimer() [member function] - cls.add_method('StartProbeTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartReachableTimer() [member function] - cls.add_method('StartReachableTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StartRetransmitTimer() [member function] - cls.add_method('StartRetransmitTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopDelayTimer() [member function] - cls.add_method('StopDelayTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopProbeTimer() [member function] - cls.add_method('StopProbeTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopReachableTimer() [member function] - cls.add_method('StopReachableTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::StopRetransmitTimer() [member function] - cls.add_method('StopRetransmitTimer', - 'void', - []) - ## ndisc-cache.h: void ns3::NdiscCache::Entry::UpdateLastReachabilityconfirmation() [member function] - cls.add_method('UpdateLastReachabilityconfirmation', - 'void', - []) - return - -def register_Ns3TcpL4Protocol_methods(root_module, cls): - ## tcp-l4-protocol.h: ns3::TcpL4Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True) - ## tcp-l4-protocol.h: static ns3::TypeId ns3::TcpL4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tcp-l4-protocol.h: ns3::TcpL4Protocol::TcpL4Protocol() [constructor] - cls.add_constructor([]) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## tcp-l4-protocol.h: int ns3::TcpL4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_const=True, is_virtual=True) - ## tcp-l4-protocol.h: ns3::Ptr ns3::TcpL4Protocol::CreateSocket() [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - []) - ## tcp-l4-protocol.h: ns3::Ptr ns3::TcpL4Protocol::CreateSocket(ns3::TypeId socketTypeId) [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - [param('ns3::TypeId', 'socketTypeId')]) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - []) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate(ns3::Ipv4Address address) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'address')]) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate(uint16_t port) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('uint16_t', 'port')]) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate(ns3::Ipv4Address address, uint16_t port) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'address'), param('uint16_t', 'port')]) - ## tcp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::TcpL4Protocol::Allocate(ns3::Ipv4Address localAddress, uint16_t localPort, ns3::Ipv4Address peerAddress, uint16_t peerPort) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'localAddress'), param('uint16_t', 'localPort'), param('ns3::Ipv4Address', 'peerAddress'), param('uint16_t', 'peerPort')]) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::DeAllocate(ns3::Ipv4EndPoint * endPoint) [member function] - cls.add_method('DeAllocate', - 'void', - [param('ns3::Ipv4EndPoint *', 'endPoint')]) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address saddr, ns3::Ipv4Address daddr, uint16_t sport, uint16_t dport, ns3::Ptr oif=0) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'saddr'), param('ns3::Ipv4Address', 'daddr'), param('uint16_t', 'sport'), param('uint16_t', 'dport'), param('ns3::Ptr< ns3::NetDevice >', 'oif', default_value='0')]) - ## tcp-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus ns3::TcpL4Protocol::Receive(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr incomingInterface) [member function] - cls.add_method('Receive', - 'ns3::Ipv4L4Protocol::RxStatus', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], - is_virtual=True) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::SetDownTarget(ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDownTarget', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## tcp-l4-protocol.h: ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::TcpL4Protocol::GetDownTarget() const [member function] - cls.add_method('GetDownTarget', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True, is_virtual=True) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## tcp-l4-protocol.h: void ns3::TcpL4Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UdpL4Protocol_methods(root_module, cls): - ## udp-l4-protocol.h: ns3::UdpL4Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True) - ## udp-l4-protocol.h: static ns3::TypeId ns3::UdpL4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## udp-l4-protocol.h: ns3::UdpL4Protocol::UdpL4Protocol() [constructor] - cls.add_constructor([]) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## udp-l4-protocol.h: int ns3::UdpL4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_const=True, is_virtual=True) - ## udp-l4-protocol.h: ns3::Ptr ns3::UdpL4Protocol::CreateSocket() [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - []) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - []) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate(ns3::Ipv4Address address) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'address')]) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate(uint16_t port) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('uint16_t', 'port')]) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate(ns3::Ipv4Address address, uint16_t port) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'address'), param('uint16_t', 'port')]) - ## udp-l4-protocol.h: ns3::Ipv4EndPoint * ns3::UdpL4Protocol::Allocate(ns3::Ipv4Address localAddress, uint16_t localPort, ns3::Ipv4Address peerAddress, uint16_t peerPort) [member function] - cls.add_method('Allocate', - 'ns3::Ipv4EndPoint *', - [param('ns3::Ipv4Address', 'localAddress'), param('uint16_t', 'localPort'), param('ns3::Ipv4Address', 'peerAddress'), param('uint16_t', 'peerPort')]) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::DeAllocate(ns3::Ipv4EndPoint * endPoint) [member function] - cls.add_method('DeAllocate', - 'void', - [param('ns3::Ipv4EndPoint *', 'endPoint')]) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address saddr, ns3::Ipv4Address daddr, uint16_t sport, uint16_t dport) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'saddr'), param('ns3::Ipv4Address', 'daddr'), param('uint16_t', 'sport'), param('uint16_t', 'dport')]) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address saddr, ns3::Ipv4Address daddr, uint16_t sport, uint16_t dport, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'saddr'), param('ns3::Ipv4Address', 'daddr'), param('uint16_t', 'sport'), param('uint16_t', 'dport'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## udp-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus ns3::UdpL4Protocol::Receive(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr interface) [member function] - cls.add_method('Receive', - 'ns3::Ipv4L4Protocol::RxStatus', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'interface')], - is_virtual=True) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::ReceiveIcmp(ns3::Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo, ns3::Ipv4Address payloadSource, ns3::Ipv4Address payloadDestination, uint8_t const * payload) [member function] - cls.add_method('ReceiveIcmp', - 'void', - [param('ns3::Ipv4Address', 'icmpSource'), param('uint8_t', 'icmpTtl'), param('uint8_t', 'icmpType'), param('uint8_t', 'icmpCode'), param('uint32_t', 'icmpInfo'), param('ns3::Ipv4Address', 'payloadSource'), param('ns3::Ipv4Address', 'payloadDestination'), param('uint8_t const *', 'payload')], - is_virtual=True) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::SetDownTarget(ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDownTarget', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## udp-l4-protocol.h: ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::UdpL4Protocol::GetDownTarget() const [member function] - cls.add_method('GetDownTarget', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True, is_virtual=True) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## udp-l4-protocol.h: void ns3::UdpL4Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Icmpv4L4Protocol_methods(root_module, cls): - ## icmpv4-l4-protocol.h: ns3::Icmpv4L4Protocol::Icmpv4L4Protocol(ns3::Icmpv4L4Protocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv4L4Protocol const &', 'arg0')]) - ## icmpv4-l4-protocol.h: ns3::Icmpv4L4Protocol::Icmpv4L4Protocol() [constructor] - cls.add_constructor([]) - ## icmpv4-l4-protocol.h: ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::Icmpv4L4Protocol::GetDownTarget() const [member function] - cls.add_method('GetDownTarget', - 'ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True, is_virtual=True) - ## icmpv4-l4-protocol.h: int ns3::Icmpv4L4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_const=True, is_virtual=True) - ## icmpv4-l4-protocol.h: static uint16_t ns3::Icmpv4L4Protocol::GetStaticProtocolNumber() [member function] - cls.add_method('GetStaticProtocolNumber', - 'uint16_t', - [], - is_static=True) - ## icmpv4-l4-protocol.h: static ns3::TypeId ns3::Icmpv4L4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv4-l4-protocol.h: ns3::Ipv4L4Protocol::RxStatus ns3::Icmpv4L4Protocol::Receive(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr incomingInterface) [member function] - cls.add_method('Receive', - 'ns3::Ipv4L4Protocol::RxStatus', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::Ipv4Interface >', 'incomingInterface')], - is_virtual=True) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SendDestUnreachFragNeeded(ns3::Ipv4Header header, ns3::Ptr orgData, uint16_t nextHopMtu) [member function] - cls.add_method('SendDestUnreachFragNeeded', - 'void', - [param('ns3::Ipv4Header', 'header'), param('ns3::Ptr< ns3::Packet const >', 'orgData'), param('uint16_t', 'nextHopMtu')]) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SendDestUnreachPort(ns3::Ipv4Header header, ns3::Ptr orgData) [member function] - cls.add_method('SendDestUnreachPort', - 'void', - [param('ns3::Ipv4Header', 'header'), param('ns3::Ptr< ns3::Packet const >', 'orgData')]) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SendTimeExceededTtl(ns3::Ipv4Header header, ns3::Ptr orgData) [member function] - cls.add_method('SendTimeExceededTtl', - 'void', - [param('ns3::Ipv4Header', 'header'), param('ns3::Ptr< ns3::Packet const >', 'orgData')]) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SetDownTarget(ns3::Callback, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetDownTarget', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Ipv4Address, ns3::Ipv4Address, unsigned char, ns3::Ptr< ns3::Ipv4Route >, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## icmpv4-l4-protocol.h: ns3::Icmpv4L4Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - visibility='protected', is_virtual=True) - ## icmpv4-l4-protocol.h: void ns3::Icmpv4L4Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Icmpv6L4Protocol_methods(root_module, cls): - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::Icmpv6L4Protocol(ns3::Icmpv6L4Protocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Icmpv6L4Protocol const &', 'arg0')]) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::Icmpv6L4Protocol() [constructor] - cls.add_constructor([]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::CreateCache(ns3::Ptr device, ns3::Ptr interface) [member function] - cls.add_method('CreateCache', - 'ns3::Ptr< ns3::NdiscCache >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::DoDAD(ns3::Ipv6Address target, ns3::Ptr interface) [member function] - cls.add_method('DoDAD', - 'void', - [param('ns3::Ipv6Address', 'target'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeEchoRequest(ns3::Ipv6Address src, ns3::Ipv6Address dst, uint16_t id, uint16_t seq, ns3::Ptr data) [member function] - cls.add_method('ForgeEchoRequest', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint16_t', 'id'), param('uint16_t', 'seq'), param('ns3::Ptr< ns3::Packet >', 'data')]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeNA(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address * hardwareAddress, uint8_t flags) [member function] - cls.add_method('ForgeNA', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address *', 'hardwareAddress'), param('uint8_t', 'flags')]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeNS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Ipv6Address target, ns3::Address hardwareAddress) [member function] - cls.add_method('ForgeNS', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Address', 'target'), param('ns3::Address', 'hardwareAddress')]) - ## icmpv6-l4-protocol.h: ns3::Ptr ns3::Icmpv6L4Protocol::ForgeRS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address hardwareAddress) [member function] - cls.add_method('ForgeRS', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address', 'hardwareAddress')]) - ## icmpv6-l4-protocol.h: static void ns3::Icmpv6L4Protocol::FunctionDadTimeout(ns3::Ptr icmpv6, ns3::Ipv6Interface * interface, ns3::Ipv6Address addr) [member function] - cls.add_method('FunctionDadTimeout', - 'void', - [param('ns3::Ptr< ns3::Icmpv6L4Protocol >', 'icmpv6'), param('ns3::Ipv6Interface *', 'interface'), param('ns3::Ipv6Address', 'addr')], - is_static=True) - ## icmpv6-l4-protocol.h: int ns3::Icmpv6L4Protocol::GetProtocolNumber() const [member function] - cls.add_method('GetProtocolNumber', - 'int', - [], - is_const=True, is_virtual=True) - ## icmpv6-l4-protocol.h: static uint16_t ns3::Icmpv6L4Protocol::GetStaticProtocolNumber() [member function] - cls.add_method('GetStaticProtocolNumber', - 'uint16_t', - [], - is_static=True) - ## icmpv6-l4-protocol.h: static ns3::TypeId ns3::Icmpv6L4Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## icmpv6-l4-protocol.h: int ns3::Icmpv6L4Protocol::GetVersion() const [member function] - cls.add_method('GetVersion', - 'int', - [], - is_const=True, is_virtual=True) - ## icmpv6-l4-protocol.h: bool ns3::Icmpv6L4Protocol::IsAlwaysDad() const [member function] - cls.add_method('IsAlwaysDad', - 'bool', - [], - is_const=True) - ## icmpv6-l4-protocol.h: bool ns3::Icmpv6L4Protocol::Lookup(ns3::Ipv6Address dst, ns3::Ptr device, ns3::Ptr cache, ns3::Address * hardwareDestination) [member function] - cls.add_method('Lookup', - 'bool', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::NdiscCache >', 'cache'), param('ns3::Address *', 'hardwareDestination')]) - ## icmpv6-l4-protocol.h: bool ns3::Icmpv6L4Protocol::Lookup(ns3::Ptr p, ns3::Ipv6Address dst, ns3::Ptr device, ns3::Ptr cache, ns3::Address * hardwareDestination) [member function] - cls.add_method('Lookup', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::NdiscCache >', 'cache'), param('ns3::Address *', 'hardwareDestination')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::NotifyNewAggregate() [member function] - cls.add_method('NotifyNewAggregate', - 'void', - [], - is_virtual=True) - ## icmpv6-l4-protocol.h: ns3::Ipv6L4Protocol::RxStatus_e ns3::Icmpv6L4Protocol::Receive(ns3::Ptr p, ns3::Ipv6Address const & src, ns3::Ipv6Address const & dst, ns3::Ptr interface) [member function] - cls.add_method('Receive', - 'ns3::Ipv6L4Protocol::RxStatus_e', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Address const &', 'src'), param('ns3::Ipv6Address const &', 'dst'), param('ns3::Ptr< ns3::Ipv6Interface >', 'interface')], - is_virtual=True) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendEchoReply(ns3::Ipv6Address src, ns3::Ipv6Address dst, uint16_t id, uint16_t seq, ns3::Ptr data) [member function] - cls.add_method('SendEchoReply', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint16_t', 'id'), param('uint16_t', 'seq'), param('ns3::Ptr< ns3::Packet >', 'data')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorDestinationUnreachable(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint8_t code) [member function] - cls.add_method('SendErrorDestinationUnreachable', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'code')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorParameterError(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint8_t code, uint32_t ptr) [member function] - cls.add_method('SendErrorParameterError', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'code'), param('uint32_t', 'ptr')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorTimeExceeded(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint8_t code) [member function] - cls.add_method('SendErrorTimeExceeded', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'code')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendErrorTooBig(ns3::Ptr malformedPacket, ns3::Ipv6Address dst, uint32_t mtu) [member function] - cls.add_method('SendErrorTooBig', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'malformedPacket'), param('ns3::Ipv6Address', 'dst'), param('uint32_t', 'mtu')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendMessage(ns3::Ptr packet, ns3::Ipv6Address src, ns3::Ipv6Address dst, uint8_t ttl) [member function] - cls.add_method('SendMessage', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('uint8_t', 'ttl')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendMessage(ns3::Ptr packet, ns3::Ipv6Address dst, ns3::Icmpv6Header & icmpv6Hdr, uint8_t ttl) [member function] - cls.add_method('SendMessage', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv6Address', 'dst'), param('ns3::Icmpv6Header &', 'icmpv6Hdr'), param('uint8_t', 'ttl')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendNA(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address * hardwareAddress, uint8_t flags) [member function] - cls.add_method('SendNA', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address *', 'hardwareAddress'), param('uint8_t', 'flags')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendNS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Ipv6Address target, ns3::Address hardwareAddress) [member function] - cls.add_method('SendNS', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Address', 'target'), param('ns3::Address', 'hardwareAddress')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendRS(ns3::Ipv6Address src, ns3::Ipv6Address dst, ns3::Address hardwareAddress) [member function] - cls.add_method('SendRS', - 'void', - [param('ns3::Ipv6Address', 'src'), param('ns3::Ipv6Address', 'dst'), param('ns3::Address', 'hardwareAddress')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SendRedirection(ns3::Ptr redirectedPacket, ns3::Ipv6Address dst, ns3::Ipv6Address redirTarget, ns3::Ipv6Address redirDestination, ns3::Address redirHardwareTarget) [member function] - cls.add_method('SendRedirection', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'redirectedPacket'), param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Address', 'redirTarget'), param('ns3::Ipv6Address', 'redirDestination'), param('ns3::Address', 'redirHardwareTarget')]) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::DELAY_FIRST_PROBE_TIME [variable] - cls.add_static_attribute('DELAY_FIRST_PROBE_TIME', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_ANYCAST_DELAY_TIME [variable] - cls.add_static_attribute('MAX_ANYCAST_DELAY_TIME', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_FINAL_RTR_ADVERTISEMENTS [variable] - cls.add_static_attribute('MAX_FINAL_RTR_ADVERTISEMENTS', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_INITIAL_RTR_ADVERTISEMENTS [variable] - cls.add_static_attribute('MAX_INITIAL_RTR_ADVERTISEMENTS', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_INITIAL_RTR_ADVERT_INTERVAL [variable] - cls.add_static_attribute('MAX_INITIAL_RTR_ADVERT_INTERVAL', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_MULTICAST_SOLICIT [variable] - cls.add_static_attribute('MAX_MULTICAST_SOLICIT', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_NEIGHBOR_ADVERTISEMENT [variable] - cls.add_static_attribute('MAX_NEIGHBOR_ADVERTISEMENT', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RANDOM_FACTOR [variable] - cls.add_static_attribute('MAX_RANDOM_FACTOR', 'double const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RA_DELAY_TIME [variable] - cls.add_static_attribute('MAX_RA_DELAY_TIME', 'uint32_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RTR_SOLICITATIONS [variable] - cls.add_static_attribute('MAX_RTR_SOLICITATIONS', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_RTR_SOLICITATION_DELAY [variable] - cls.add_static_attribute('MAX_RTR_SOLICITATION_DELAY', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MAX_UNICAST_SOLICIT [variable] - cls.add_static_attribute('MAX_UNICAST_SOLICIT', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MIN_DELAY_BETWEEN_RAS [variable] - cls.add_static_attribute('MIN_DELAY_BETWEEN_RAS', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::MIN_RANDOM_FACTOR [variable] - cls.add_static_attribute('MIN_RANDOM_FACTOR', 'double const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::REACHABLE_TIME [variable] - cls.add_static_attribute('REACHABLE_TIME', 'uint32_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::RETRANS_TIMER [variable] - cls.add_static_attribute('RETRANS_TIMER', 'uint32_t const', is_const=True) - ## icmpv6-l4-protocol.h: ns3::Icmpv6L4Protocol::RTR_SOLICITATION_INTERVAL [variable] - cls.add_static_attribute('RTR_SOLICITATION_INTERVAL', 'uint8_t const', is_const=True) - ## icmpv6-l4-protocol.h: void ns3::Icmpv6L4Protocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv4GlobalRouting_methods(root_module, cls): - ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting(ns3::Ipv4GlobalRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4GlobalRouting const &', 'arg0')]) - ## ipv4-global-routing.h: ns3::Ipv4GlobalRouting::Ipv4GlobalRouting() [constructor] - cls.add_constructor([]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddASExternalRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('AddASExternalRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv4Address', 'dest'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddHostRouteTo(ns3::Ipv4Address dest, uint32_t interface) [member function] - cls.add_method('AddHostRouteTo', - 'void', - [param('ns3::Ipv4Address', 'dest'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, ns3::Ipv4Address nextHop, uint32_t interface) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('ns3::Ipv4Address', 'nextHop'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::AddNetworkRouteTo(ns3::Ipv4Address network, ns3::Ipv4Mask networkMask, uint32_t interface) [member function] - cls.add_method('AddNetworkRouteTo', - 'void', - [param('ns3::Ipv4Address', 'network'), param('ns3::Ipv4Mask', 'networkMask'), param('uint32_t', 'interface')]) - ## ipv4-global-routing.h: uint32_t ns3::Ipv4GlobalRouting::GetNRoutes() const [member function] - cls.add_method('GetNRoutes', - 'uint32_t', - [], - is_const=True) - ## ipv4-global-routing.h: ns3::Ipv4RoutingTableEntry * ns3::Ipv4GlobalRouting::GetRoute(uint32_t i) const [member function] - cls.add_method('GetRoute', - retval('ns3::Ipv4RoutingTableEntry *', caller_owns_return=False), - [param('uint32_t', 'i')], - is_const=True) - ## ipv4-global-routing.h: static ns3::TypeId ns3::Ipv4GlobalRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::RemoveRoute(uint32_t i) [member function] - cls.add_method('RemoveRoute', - 'void', - [param('uint32_t', 'i')]) - ## ipv4-global-routing.h: bool ns3::Ipv4GlobalRouting::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv4-global-routing.h: ns3::Ptr ns3::Ipv4GlobalRouting::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## ipv4-global-routing.h: void ns3::Ipv4GlobalRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv4ListRouting_methods(root_module, cls): - ## ipv4-list-routing.h: ns3::Ipv4ListRouting::Ipv4ListRouting(ns3::Ipv4ListRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4ListRouting const &', 'arg0')]) - ## ipv4-list-routing.h: ns3::Ipv4ListRouting::Ipv4ListRouting() [constructor] - cls.add_constructor([]) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::AddRoutingProtocol(ns3::Ptr routingProtocol, int16_t priority) [member function] - cls.add_method('AddRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], - is_virtual=True) - ## ipv4-list-routing.h: uint32_t ns3::Ipv4ListRouting::GetNRoutingProtocols() const [member function] - cls.add_method('GetNRoutingProtocols', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv4-list-routing.h: ns3::Ptr ns3::Ipv4ListRouting::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('uint32_t', 'index'), param('int16_t &', 'priority', direction=2)], - is_const=True, is_virtual=True) - ## ipv4-list-routing.h: static ns3::TypeId ns3::Ipv4ListRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, is_virtual=True) - ## ipv4-list-routing.h: bool ns3::Ipv4ListRouting::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv4-list-routing.h: ns3::Ptr ns3::Ipv4ListRouting::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## ipv4-list-routing.h: void ns3::Ipv4ListRouting::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3Ipv6ListRouting_methods(root_module, cls): - ## ipv6-list-routing.h: ns3::Ipv6ListRouting::Ipv6ListRouting(ns3::Ipv6ListRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6ListRouting const &', 'arg0')]) - ## ipv6-list-routing.h: ns3::Ipv6ListRouting::Ipv6ListRouting() [constructor] - cls.add_constructor([]) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::AddRoutingProtocol(ns3::Ptr routingProtocol, int16_t priority) [member function] - cls.add_method('AddRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv6RoutingProtocol >', 'routingProtocol'), param('int16_t', 'priority')], - is_virtual=True) - ## ipv6-list-routing.h: uint32_t ns3::Ipv6ListRouting::GetNRoutingProtocols() const [member function] - cls.add_method('GetNRoutingProtocols', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ipv6-list-routing.h: ns3::Ptr ns3::Ipv6ListRouting::GetRoutingProtocol(uint32_t index, int16_t & priority) const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv6RoutingProtocol >', - [param('uint32_t', 'index'), param('int16_t &', 'priority')], - is_const=True, is_virtual=True) - ## ipv6-list-routing.h: static ns3::TypeId ns3::Ipv6ListRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyAddRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyAddRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv6InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv6InterfaceAddress', 'address')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::NotifyRemoveRoute(ns3::Ipv6Address dst, ns3::Ipv6Prefix mask, ns3::Ipv6Address nextHop, uint32_t interface, ns3::Ipv6Address prefixToUse=ns3::Ipv6Address::GetZero( )) [member function] - cls.add_method('NotifyRemoveRoute', - 'void', - [param('ns3::Ipv6Address', 'dst'), param('ns3::Ipv6Prefix', 'mask'), param('ns3::Ipv6Address', 'nextHop'), param('uint32_t', 'interface'), param('ns3::Ipv6Address', 'prefixToUse', default_value='ns3::Ipv6Address::GetZero( )')], - is_virtual=True) - ## ipv6-list-routing.h: bool ns3::Ipv6ListRouting::RouteInput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr idev, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv6Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv6Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback,const ns3::Ipv6Header&,ns3::Socket::SocketErrno,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv6MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv6Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - is_virtual=True) - ## ipv6-list-routing.h: ns3::Ptr ns3::Ipv6ListRouting::RouteOutput(ns3::Ptr p, ns3::Ipv6Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv6Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv6Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::SetIpv6(ns3::Ptr ipv6) [member function] - cls.add_method('SetIpv6', - 'void', - [param('ns3::Ptr< ns3::Ipv6 >', 'ipv6')], - is_virtual=True) - ## ipv6-list-routing.h: void ns3::Ipv6ListRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3LoopbackNetDevice_methods(root_module, cls): - ## loopback-net-device.h: ns3::LoopbackNetDevice::LoopbackNetDevice(ns3::LoopbackNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LoopbackNetDevice const &', 'arg0')]) - ## loopback-net-device.h: ns3::LoopbackNetDevice::LoopbackNetDevice() [constructor] - cls.add_constructor([]) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::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')], - is_virtual=True) - ## loopback-net-device.h: ns3::Address ns3::LoopbackNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Address ns3::LoopbackNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Ptr ns3::LoopbackNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: uint32_t ns3::LoopbackNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: uint16_t ns3::LoopbackNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Address ns3::LoopbackNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Address ns3::LoopbackNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## loopback-net-device.h: ns3::Ptr ns3::LoopbackNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: static ns3::TypeId ns3::LoopbackNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## loopback-net-device.h: bool ns3::LoopbackNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## loopback-net-device.h: void ns3::LoopbackNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_lte.py b/bindings/python/apidefs/gcc-LP64/ns3_module_lte.py deleted file mode 100644 index acc469616..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_lte.py +++ /dev/null @@ -1,1990 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## lte-helper.h: ns3::LteHelper [class] - module.add_class('LteHelper') - ## lte-helper.h: ns3::LteHelper::NetDeviceType [enumeration] - module.add_enum('NetDeviceType', ['DEVICE_TYPE_USER_EQUIPMENT', 'DEVICE_TYPE_ENODEB'], outer_class=root_module['ns3::LteHelper']) - ## lte-spectrum-value-helper.h: ns3::LteSpectrumValueHelper [class] - module.add_class('LteSpectrumValueHelper') - ## lte-mac-header.h: ns3::LteMacHeader [class] - module.add_class('LteMacHeader', parent=root_module['ns3::Header']) - ## packet-scheduler.h: ns3::PacketScheduler [class] - module.add_class('PacketScheduler', parent=root_module['ns3::Object']) - ## radio-bearer-instance.h: ns3::RadioBearerInstance [class] - module.add_class('RadioBearerInstance', parent=root_module['ns3::Object']) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::BearerDirection [enumeration] - module.add_enum('BearerDirection', ['DIRECTION_TYPE_UL', 'DIRECTION_TYPE_DL'], outer_class=root_module['ns3::RadioBearerInstance']) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::BearerType [enumeration] - module.add_enum('BearerType', ['BEARER_TYPE_SRB1', 'BEARER_TYPE_SRB2', 'BEARER_TYPE_DRB'], outer_class=root_module['ns3::RadioBearerInstance']) - ## rlc-entity.h: ns3::RlcEntity [class] - module.add_class('RlcEntity', parent=root_module['ns3::Object']) - ## rrc-entity.h: ns3::RrcEntity [class] - module.add_class('RrcEntity', parent=root_module['ns3::Object']) - ## simple-packet-scheduler.h: ns3::SimplePacketScheduler [class] - module.add_class('SimplePacketScheduler', parent=root_module['ns3::PacketScheduler']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::IdealControlMessage', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## ue-manager.h: ns3::UeManager [class] - module.add_class('UeManager', parent=root_module['ns3::Object']) - ## ue-record.h: ns3::UeRecord [class] - module.add_class('UeRecord', parent=root_module['ns3::Object']) - ## ue-record.h: ns3::UeRecord::CqiFeedback [struct] - module.add_class('CqiFeedback', outer_class=root_module['ns3::UeRecord']) - ## amc-module.h: ns3::AmcModule [class] - module.add_class('AmcModule', parent=root_module['ns3::Object']) - ## bearer-qos-parameters.h: ns3::BearerQosParameters [class] - module.add_class('BearerQosParameters', parent=root_module['ns3::Object']) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosType [enumeration] - module.add_enum('BearerQosType', ['BEARER_TYPE_GBR', 'BEARER_TYPE_NGBR'], outer_class=root_module['ns3::BearerQosParameters']) - ## channel-realization.h: ns3::ChannelRealization [class] - module.add_class('ChannelRealization', parent=root_module['ns3::Object']) - ## discrete-time-loss-model.h: ns3::DiscreteTimeLossModel [class] - module.add_class('DiscreteTimeLossModel', parent=root_module['ns3::Object']) - ## ideal-control-messages.h: ns3::IdealControlMessage [class] - module.add_class('IdealControlMessage', parent=root_module['ns3::SimpleRefCount< ns3::IdealControlMessage, ns3::empty, ns3::DefaultDeleter >']) - ## ideal-control-messages.h: ns3::IdealControlMessage::MessageType [enumeration] - module.add_enum('MessageType', ['CQI_FEEDBACKS', 'ALLOCATION_MAP'], outer_class=root_module['ns3::IdealControlMessage']) - ## jakes-fading-loss-model.h: ns3::JakesFadingLossModel [class] - module.add_class('JakesFadingLossModel', parent=root_module['ns3::DiscreteTimeLossModel']) - ## lte-mac-queue.h: ns3::LteMacQueue [class] - module.add_class('LteMacQueue', parent=root_module['ns3::Object']) - ## lte-phy.h: ns3::LtePhy [class] - module.add_class('LtePhy', parent=root_module['ns3::Object']) - ## lte-propagation-loss-model.h: ns3::LtePropagationLossModel [class] - module.add_class('LtePropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) - ## lte-spectrum-phy.h: ns3::LteSpectrumPhy [class] - module.add_class('LteSpectrumPhy', parent=root_module['ns3::SpectrumPhy']) - ## lte-spectrum-phy.h: ns3::LteSpectrumPhy::State [enumeration] - module.add_enum('State', ['IDLE', 'TX', 'RX'], outer_class=root_module['ns3::LteSpectrumPhy']) - ## mac-entity.h: ns3::MacEntity [class] - module.add_class('MacEntity', parent=root_module['ns3::Object']) - ## path-loss-model.h: ns3::PathLossModel [class] - module.add_class('PathLossModel', parent=root_module['ns3::DiscreteTimeLossModel']) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage [class] - module.add_class('PdcchMapIdealControlMessage', parent=root_module['ns3::IdealControlMessage']) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::Direction [enumeration] - module.add_enum('Direction', ['DOWNLINK', 'UPLINK'], outer_class=root_module['ns3::PdcchMapIdealControlMessage']) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord [struct] - module.add_class('IdealPdcchRecord', outer_class=root_module['ns3::PdcchMapIdealControlMessage']) - ## penetration-loss-model.h: ns3::PenetrationLossModel [class] - module.add_class('PenetrationLossModel', parent=root_module['ns3::DiscreteTimeLossModel']) - ## shadowing-loss-model.h: ns3::ShadowingLossModel [class] - module.add_class('ShadowingLossModel', parent=root_module['ns3::DiscreteTimeLossModel']) - ## ue-phy.h: ns3::UeLtePhy [class] - module.add_class('UeLtePhy', parent=root_module['ns3::LtePhy']) - ## ue-lte-spectrum-phy.h: ns3::UeLteSpectrumPhy [class] - module.add_class('UeLteSpectrumPhy', parent=root_module['ns3::LteSpectrumPhy']) - ## ue-mac-entity.h: ns3::UeMacEntity [class] - module.add_class('UeMacEntity', parent=root_module['ns3::MacEntity']) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage [class] - module.add_class('CqiIdealControlMessage', parent=root_module['ns3::IdealControlMessage']) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback [struct] - module.add_class('CqiFeedback', outer_class=root_module['ns3::CqiIdealControlMessage']) - ## enb-phy.h: ns3::EnbLtePhy [class] - module.add_class('EnbLtePhy', parent=root_module['ns3::LtePhy']) - ## enb-lte-spectrum-phy.h: ns3::EnbLteSpectrumPhy [class] - module.add_class('EnbLteSpectrumPhy', parent=root_module['ns3::LteSpectrumPhy']) - ## enb-mac-entity.h: ns3::EnbMacEntity [class] - module.add_class('EnbMacEntity', parent=root_module['ns3::MacEntity']) - ## lte-net-device.h: ns3::LteNetDevice [class] - module.add_class('LteNetDevice', parent=root_module['ns3::NetDevice']) - ## ue-net-device.h: ns3::UeNetDevice [class] - module.add_class('UeNetDevice', parent=root_module['ns3::LteNetDevice']) - ## enb-net-device.h: ns3::EnbNetDevice [class] - module.add_class('EnbNetDevice', parent=root_module['ns3::LteNetDevice']) - module.add_container('std::vector< ns3::UeRecord::CqiFeedback >', 'ns3::UeRecord::CqiFeedback', container_type='vector') - module.add_container('std::deque< ns3::LteMacQueue::QueueElement >', 'ns3::LteMacQueue::QueueElement', container_type='dequeue') - module.add_container('std::list< ns3::PdcchMapIdealControlMessage::IdealPdcchRecord >', 'ns3::PdcchMapIdealControlMessage::IdealPdcchRecord', container_type='list') - module.add_container('std::list< ns3::CqiIdealControlMessage::CqiFeedback >', 'ns3::CqiIdealControlMessage::CqiFeedback', container_type='list') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3LteHelper_methods(root_module, root_module['ns3::LteHelper']) - register_Ns3LteSpectrumValueHelper_methods(root_module, root_module['ns3::LteSpectrumValueHelper']) - register_Ns3LteMacHeader_methods(root_module, root_module['ns3::LteMacHeader']) - register_Ns3PacketScheduler_methods(root_module, root_module['ns3::PacketScheduler']) - register_Ns3RadioBearerInstance_methods(root_module, root_module['ns3::RadioBearerInstance']) - register_Ns3RlcEntity_methods(root_module, root_module['ns3::RlcEntity']) - register_Ns3RrcEntity_methods(root_module, root_module['ns3::RrcEntity']) - register_Ns3SimplePacketScheduler_methods(root_module, root_module['ns3::SimplePacketScheduler']) - register_Ns3UeManager_methods(root_module, root_module['ns3::UeManager']) - register_Ns3UeRecord_methods(root_module, root_module['ns3::UeRecord']) - register_Ns3UeRecordCqiFeedback_methods(root_module, root_module['ns3::UeRecord::CqiFeedback']) - register_Ns3AmcModule_methods(root_module, root_module['ns3::AmcModule']) - register_Ns3BearerQosParameters_methods(root_module, root_module['ns3::BearerQosParameters']) - register_Ns3ChannelRealization_methods(root_module, root_module['ns3::ChannelRealization']) - register_Ns3DiscreteTimeLossModel_methods(root_module, root_module['ns3::DiscreteTimeLossModel']) - register_Ns3IdealControlMessage_methods(root_module, root_module['ns3::IdealControlMessage']) - register_Ns3JakesFadingLossModel_methods(root_module, root_module['ns3::JakesFadingLossModel']) - register_Ns3LteMacQueue_methods(root_module, root_module['ns3::LteMacQueue']) - register_Ns3LtePhy_methods(root_module, root_module['ns3::LtePhy']) - register_Ns3LtePropagationLossModel_methods(root_module, root_module['ns3::LtePropagationLossModel']) - register_Ns3LteSpectrumPhy_methods(root_module, root_module['ns3::LteSpectrumPhy']) - register_Ns3MacEntity_methods(root_module, root_module['ns3::MacEntity']) - register_Ns3PathLossModel_methods(root_module, root_module['ns3::PathLossModel']) - register_Ns3PdcchMapIdealControlMessage_methods(root_module, root_module['ns3::PdcchMapIdealControlMessage']) - register_Ns3PdcchMapIdealControlMessageIdealPdcchRecord_methods(root_module, root_module['ns3::PdcchMapIdealControlMessage::IdealPdcchRecord']) - register_Ns3PenetrationLossModel_methods(root_module, root_module['ns3::PenetrationLossModel']) - register_Ns3ShadowingLossModel_methods(root_module, root_module['ns3::ShadowingLossModel']) - register_Ns3UeLtePhy_methods(root_module, root_module['ns3::UeLtePhy']) - register_Ns3UeLteSpectrumPhy_methods(root_module, root_module['ns3::UeLteSpectrumPhy']) - register_Ns3UeMacEntity_methods(root_module, root_module['ns3::UeMacEntity']) - register_Ns3CqiIdealControlMessage_methods(root_module, root_module['ns3::CqiIdealControlMessage']) - register_Ns3CqiIdealControlMessageCqiFeedback_methods(root_module, root_module['ns3::CqiIdealControlMessage::CqiFeedback']) - register_Ns3EnbLtePhy_methods(root_module, root_module['ns3::EnbLtePhy']) - register_Ns3EnbLteSpectrumPhy_methods(root_module, root_module['ns3::EnbLteSpectrumPhy']) - register_Ns3EnbMacEntity_methods(root_module, root_module['ns3::EnbMacEntity']) - register_Ns3LteNetDevice_methods(root_module, root_module['ns3::LteNetDevice']) - register_Ns3UeNetDevice_methods(root_module, root_module['ns3::UeNetDevice']) - register_Ns3EnbNetDevice_methods(root_module, root_module['ns3::EnbNetDevice']) - return - -def register_Ns3LteHelper_methods(root_module, cls): - ## lte-helper.h: ns3::LteHelper::LteHelper(ns3::LteHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteHelper const &', 'arg0')]) - ## lte-helper.h: ns3::LteHelper::LteHelper() [constructor] - cls.add_constructor([]) - ## lte-helper.h: void ns3::LteHelper::AddDownlinkChannelRealization(ns3::Ptr enbMobility, ns3::Ptr ueMobility, ns3::Ptr phy) [member function] - cls.add_method('AddDownlinkChannelRealization', - 'void', - [param('ns3::Ptr< ns3::MobilityModel >', 'enbMobility'), param('ns3::Ptr< ns3::MobilityModel >', 'ueMobility'), param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## lte-helper.h: void ns3::LteHelper::AddMobility(ns3::Ptr phy, ns3::Ptr m) [member function] - cls.add_method('AddMobility', - 'void', - [param('ns3::Ptr< ns3::LtePhy >', 'phy'), param('ns3::Ptr< ns3::MobilityModel >', 'm')]) - ## lte-helper.h: void ns3::LteHelper::EnableLogComponents() [member function] - cls.add_method('EnableLogComponents', - 'void', - []) - ## lte-helper.h: ns3::NetDeviceContainer ns3::LteHelper::Install(ns3::NodeContainer c, ns3::LteHelper::NetDeviceType type) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::LteHelper::NetDeviceType', 'type')]) - ## lte-helper.h: void ns3::LteHelper::RegisterUeToTheEnb(ns3::Ptr ue, ns3::Ptr enb) [member function] - cls.add_method('RegisterUeToTheEnb', - 'void', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue'), param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - return - -def register_Ns3LteSpectrumValueHelper_methods(root_module, cls): - ## lte-spectrum-value-helper.h: ns3::LteSpectrumValueHelper::LteSpectrumValueHelper() [constructor] - cls.add_constructor([]) - ## lte-spectrum-value-helper.h: ns3::LteSpectrumValueHelper::LteSpectrumValueHelper(ns3::LteSpectrumValueHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteSpectrumValueHelper const &', 'arg0')]) - ## lte-spectrum-value-helper.h: ns3::Ptr ns3::LteSpectrumValueHelper::CreateDownlinkNoisePowerSpectralDensity() [member function] - cls.add_method('CreateDownlinkNoisePowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - []) - ## lte-spectrum-value-helper.h: ns3::Ptr ns3::LteSpectrumValueHelper::CreateDownlinkTxPowerSpectralDensity(double powerTx, std::vector > channels) [member function] - cls.add_method('CreateDownlinkTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'powerTx'), param('std::vector< int >', 'channels')]) - ## lte-spectrum-value-helper.h: ns3::Ptr ns3::LteSpectrumValueHelper::CreateUplinkNoisePowerSpectralDensity() [member function] - cls.add_method('CreateUplinkNoisePowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - []) - ## lte-spectrum-value-helper.h: ns3::Ptr ns3::LteSpectrumValueHelper::CreateUplinkTxPowerSpectralDensity(double powerTx, std::vector > channels) [member function] - cls.add_method('CreateUplinkTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'powerTx'), param('std::vector< int >', 'channels')]) - return - -def register_Ns3LteMacHeader_methods(root_module, cls): - ## lte-mac-header.h: ns3::LteMacHeader::LteMacHeader() [constructor] - cls.add_constructor([]) - ## lte-mac-header.h: ns3::LteMacHeader::LteMacHeader(ns3::LteMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteMacHeader const &', 'arg0')]) - ## lte-mac-header.h: uint32_t ns3::LteMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## lte-mac-header.h: ns3::Mac48Address ns3::LteMacHeader::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Mac48Address', - [], - is_const=True) - ## lte-mac-header.h: ns3::TypeId ns3::LteMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## lte-mac-header.h: uint32_t ns3::LteMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## lte-mac-header.h: ns3::Mac48Address ns3::LteMacHeader::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Mac48Address', - [], - is_const=True) - ## lte-mac-header.h: static ns3::TypeId ns3::LteMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-mac-header.h: void ns3::LteMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## lte-mac-header.h: void ns3::LteMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## lte-mac-header.h: void ns3::LteMacHeader::SetDestination(ns3::Mac48Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Mac48Address', 'destination')]) - ## lte-mac-header.h: void ns3::LteMacHeader::SetSource(ns3::Mac48Address source) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Mac48Address', 'source')]) - return - -def register_Ns3PacketScheduler_methods(root_module, cls): - ## packet-scheduler.h: ns3::PacketScheduler::PacketScheduler(ns3::PacketScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketScheduler const &', 'arg0')]) - ## packet-scheduler.h: ns3::PacketScheduler::PacketScheduler() [constructor] - cls.add_constructor([]) - ## packet-scheduler.h: ns3::PacketScheduler::PacketScheduler(ns3::Ptr enb) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## packet-scheduler.h: void ns3::PacketScheduler::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## packet-scheduler.h: void ns3::PacketScheduler::DoRunPacketScheduler() [member function] - cls.add_method('DoRunPacketScheduler', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## packet-scheduler.h: ns3::Ptr ns3::PacketScheduler::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::EnbNetDevice >', - []) - ## packet-scheduler.h: ns3::Ptr ns3::PacketScheduler::GetMacEntity() [member function] - cls.add_method('GetMacEntity', - 'ns3::Ptr< ns3::MacEntity >', - []) - ## packet-scheduler.h: static ns3::TypeId ns3::PacketScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-scheduler.h: void ns3::PacketScheduler::RunPacketScheduler() [member function] - cls.add_method('RunPacketScheduler', - 'void', - []) - ## packet-scheduler.h: void ns3::PacketScheduler::SetDevice(ns3::Ptr enb) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## packet-scheduler.h: void ns3::PacketScheduler::SetMacEntity(ns3::Ptr mac) [member function] - cls.add_method('SetMacEntity', - 'void', - [param('ns3::Ptr< ns3::MacEntity >', 'mac')]) - return - -def register_Ns3RadioBearerInstance_methods(root_module, cls): - ## radio-bearer-instance.h: ns3::RadioBearerInstance::RadioBearerInstance(ns3::RadioBearerInstance const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadioBearerInstance const &', 'arg0')]) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::RadioBearerInstance() [constructor] - cls.add_constructor([]) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - []) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::Dequeue(uint32_t availableByte) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'availableByte')]) - ## radio-bearer-instance.h: bool ns3::RadioBearerInstance::Enqueue(ns3::Ptr packet) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::BearerDirection ns3::RadioBearerInstance::GetBearerDirection() const [member function] - cls.add_method('GetBearerDirection', - 'ns3::RadioBearerInstance::BearerDirection', - [], - is_const=True) - ## radio-bearer-instance.h: ns3::RadioBearerInstance::BearerType ns3::RadioBearerInstance::GetBearerType() const [member function] - cls.add_method('GetBearerType', - 'ns3::RadioBearerInstance::BearerType', - [], - is_const=True) - ## radio-bearer-instance.h: ns3::IpcsClassifierRecord * ns3::RadioBearerInstance::GetIpcsClassifierRecord() [member function] - cls.add_method('GetIpcsClassifierRecord', - 'ns3::IpcsClassifierRecord *', - []) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::GetQosParameters() [member function] - cls.add_method('GetQosParameters', - 'ns3::Ptr< ns3::BearerQosParameters >', - []) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::LteMacQueue >', - [], - is_const=True) - ## radio-bearer-instance.h: ns3::Ptr ns3::RadioBearerInstance::GetRlcEntity() [member function] - cls.add_method('GetRlcEntity', - 'ns3::Ptr< ns3::RlcEntity >', - []) - ## radio-bearer-instance.h: static ns3::TypeId ns3::RadioBearerInstance::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## radio-bearer-instance.h: bool ns3::RadioBearerInstance::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetBearerDirection(ns3::RadioBearerInstance::BearerDirection direction) [member function] - cls.add_method('SetBearerDirection', - 'void', - [param('ns3::RadioBearerInstance::BearerDirection', 'direction')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetBearerType(ns3::RadioBearerInstance::BearerType type) [member function] - cls.add_method('SetBearerType', - 'void', - [param('ns3::RadioBearerInstance::BearerType', 'type')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetIpcsClassifierRecord(ns3::IpcsClassifierRecord * c) [member function] - cls.add_method('SetIpcsClassifierRecord', - 'void', - [param('ns3::IpcsClassifierRecord *', 'c')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetQosParameters(ns3::Ptr qosParameters) [member function] - cls.add_method('SetQosParameters', - 'void', - [param('ns3::Ptr< ns3::BearerQosParameters >', 'qosParameters')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::SetRlcEntity(ns3::Ptr rlc) [member function] - cls.add_method('SetRlcEntity', - 'void', - [param('ns3::Ptr< ns3::RlcEntity >', 'rlc')]) - ## radio-bearer-instance.h: void ns3::RadioBearerInstance::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RlcEntity_methods(root_module, cls): - ## rlc-entity.h: ns3::RlcEntity::RlcEntity(ns3::RlcEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RlcEntity const &', 'arg0')]) - ## rlc-entity.h: ns3::RlcEntity::RlcEntity() [constructor] - cls.add_constructor([]) - ## rlc-entity.h: ns3::RlcEntity::RlcEntity(ns3::Ptr d) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## rlc-entity.h: ns3::Ptr ns3::RlcEntity::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - []) - ## rlc-entity.h: void ns3::RlcEntity::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## rlc-entity.h: ns3::Ptr ns3::RlcEntity::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## rlc-entity.h: ns3::Ptr ns3::RlcEntity::GetRadioBearer() [member function] - cls.add_method('GetRadioBearer', - 'ns3::Ptr< ns3::RadioBearerInstance >', - []) - ## rlc-entity.h: static ns3::TypeId ns3::RlcEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rlc-entity.h: void ns3::RlcEntity::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## rlc-entity.h: void ns3::RlcEntity::SetRadioBearer(ns3::Ptr b) [member function] - cls.add_method('SetRadioBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'b')]) - return - -def register_Ns3RrcEntity_methods(root_module, cls): - ## rrc-entity.h: ns3::RrcEntity::RrcEntity(ns3::RrcEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RrcEntity const &', 'arg0')]) - ## rrc-entity.h: ns3::RrcEntity::RrcEntity() [constructor] - cls.add_constructor([]) - ## rrc-entity.h: void ns3::RrcEntity::AddDownlinkGbrBearer(ns3::Ptr bearer) [member function] - cls.add_method('AddDownlinkGbrBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'bearer')]) - ## rrc-entity.h: void ns3::RrcEntity::AddDownlinkNgbrBearer(ns3::Ptr bearer) [member function] - cls.add_method('AddDownlinkNgbrBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'bearer')]) - ## rrc-entity.h: void ns3::RrcEntity::AddUplinkGbrBearer(ns3::Ptr bearer) [member function] - cls.add_method('AddUplinkGbrBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'bearer')]) - ## rrc-entity.h: void ns3::RrcEntity::AddUplinkNgbrBearer(ns3::Ptr bearer) [member function] - cls.add_method('AddUplinkNgbrBearer', - 'void', - [param('ns3::Ptr< ns3::RadioBearerInstance >', 'bearer')]) - ## rrc-entity.h: ns3::Ptr ns3::RrcEntity::Classify(ns3::Ptr p) const [member function] - cls.add_method('Classify', - 'ns3::Ptr< ns3::RadioBearerInstance >', - [param('ns3::Ptr< ns3::Packet >', 'p')], - is_const=True) - ## rrc-entity.h: void ns3::RrcEntity::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## rrc-entity.h: ns3::Ptr ns3::RrcEntity::GetDefaultBearer() [member function] - cls.add_method('GetDefaultBearer', - 'ns3::Ptr< ns3::RadioBearerInstance >', - []) - ## rrc-entity.h: std::vector,std::allocator > > * ns3::RrcEntity::GetDownlinkGbrBearers() const [member function] - cls.add_method('GetDownlinkGbrBearers', - 'std::vector< ns3::Ptr< ns3::RadioBearerInstance > > *', - [], - is_const=True) - ## rrc-entity.h: std::vector,std::allocator > > * ns3::RrcEntity::GetDownlinkNgbrBearers() const [member function] - cls.add_method('GetDownlinkNgbrBearers', - 'std::vector< ns3::Ptr< ns3::RadioBearerInstance > > *', - [], - is_const=True) - ## rrc-entity.h: static ns3::TypeId ns3::RrcEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rrc-entity.h: std::vector,std::allocator > > * ns3::RrcEntity::GetUplinkGbrBearers() const [member function] - cls.add_method('GetUplinkGbrBearers', - 'std::vector< ns3::Ptr< ns3::RadioBearerInstance > > *', - [], - is_const=True) - ## rrc-entity.h: std::vector,std::allocator > > * ns3::RrcEntity::GetUplinkNgbrBearers() const [member function] - cls.add_method('GetUplinkNgbrBearers', - 'std::vector< ns3::Ptr< ns3::RadioBearerInstance > > *', - [], - is_const=True) - return - -def register_Ns3SimplePacketScheduler_methods(root_module, cls): - ## simple-packet-scheduler.h: ns3::SimplePacketScheduler::SimplePacketScheduler(ns3::SimplePacketScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimplePacketScheduler const &', 'arg0')]) - ## simple-packet-scheduler.h: ns3::SimplePacketScheduler::SimplePacketScheduler() [constructor] - cls.add_constructor([]) - ## simple-packet-scheduler.h: ns3::SimplePacketScheduler::SimplePacketScheduler(ns3::Ptr enb) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## simple-packet-scheduler.h: void ns3::SimplePacketScheduler::DoRunPacketScheduler() [member function] - cls.add_method('DoRunPacketScheduler', - 'void', - [], - is_virtual=True) - ## simple-packet-scheduler.h: static ns3::TypeId ns3::SimplePacketScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UeManager_methods(root_module, cls): - ## ue-manager.h: ns3::UeManager::UeManager(ns3::UeManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeManager const &', 'arg0')]) - ## ue-manager.h: ns3::UeManager::UeManager() [constructor] - cls.add_constructor([]) - ## ue-manager.h: void ns3::UeManager::CreateUeRecord(ns3::Ptr ue, ns3::Ptr enb) [member function] - cls.add_method('CreateUeRecord', - 'void', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue'), param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## ue-manager.h: void ns3::UeManager::DeleteUeRecord(ns3::Ptr ue) [member function] - cls.add_method('DeleteUeRecord', - 'void', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue')]) - ## ue-manager.h: void ns3::UeManager::DeleteUeRecord(ns3::Mac48Address const & macAddress) [member function] - cls.add_method('DeleteUeRecord', - 'void', - [param('ns3::Mac48Address const &', 'macAddress')]) - ## ue-manager.h: uint32_t ns3::UeManager::GetNRegisteredUes() const [member function] - cls.add_method('GetNRegisteredUes', - 'uint32_t', - [], - is_const=True) - ## ue-manager.h: ns3::Ptr ns3::UeManager::GetUeRecord(ns3::Ptr ue) [member function] - cls.add_method('GetUeRecord', - 'ns3::Ptr< ns3::UeRecord >', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue')]) - ## ue-manager.h: ns3::Ptr ns3::UeManager::GetUeRecord(ns3::Mac48Address const macAddress) [member function] - cls.add_method('GetUeRecord', - 'ns3::Ptr< ns3::UeRecord >', - [param('ns3::Mac48Address const', 'macAddress')]) - ## ue-manager.h: std::vector,std::allocator > > * ns3::UeManager::GetUeRecords() [member function] - cls.add_method('GetUeRecords', - 'std::vector< ns3::Ptr< ns3::UeRecord > > *', - []) - ## ue-manager.h: bool ns3::UeManager::IsRegistered(ns3::Ptr ue) const [member function] - cls.add_method('IsRegistered', - 'bool', - [param('ns3::Ptr< ns3::UeNetDevice >', 'ue')], - is_const=True) - ## ue-manager.h: bool ns3::UeManager::IsRegistered(ns3::Mac48Address const & macAddress) const [member function] - cls.add_method('IsRegistered', - 'bool', - [param('ns3::Mac48Address const &', 'macAddress')], - is_const=True) - return - -def register_Ns3UeRecord_methods(root_module, cls): - ## ue-record.h: ns3::UeRecord::UeRecord(ns3::UeRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeRecord const &', 'arg0')]) - ## ue-record.h: ns3::UeRecord::UeRecord() [constructor] - cls.add_constructor([]) - ## ue-record.h: ns3::UeRecord::UeRecord(ns3::Ptr ue, ns3::Ptr enb) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'ue'), param('ns3::Ptr< ns3::NetDevice >', 'enb')]) - ## ue-record.h: std::vector > ns3::UeRecord::GetCqiFeedbacks() [member function] - cls.add_method('GetCqiFeedbacks', - 'std::vector< ns3::UeRecord::CqiFeedback >', - []) - ## ue-record.h: ns3::Ptr ns3::UeRecord::GetEnb() [member function] - cls.add_method('GetEnb', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## ue-record.h: ns3::Ptr ns3::UeRecord::GetUe() [member function] - cls.add_method('GetUe', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## ue-record.h: void ns3::UeRecord::SetCqiFeedbacks(std::vector > cqiFeedbacks) [member function] - cls.add_method('SetCqiFeedbacks', - 'void', - [param('std::vector< ns3::UeRecord::CqiFeedback >', 'cqiFeedbacks')]) - ## ue-record.h: void ns3::UeRecord::SetEnb(ns3::Ptr enb) [member function] - cls.add_method('SetEnb', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'enb')]) - ## ue-record.h: void ns3::UeRecord::SetUe(ns3::Ptr ue) [member function] - cls.add_method('SetUe', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'ue')]) - return - -def register_Ns3UeRecordCqiFeedback_methods(root_module, cls): - ## ue-record.h: ns3::UeRecord::CqiFeedback::CqiFeedback() [constructor] - cls.add_constructor([]) - ## ue-record.h: ns3::UeRecord::CqiFeedback::CqiFeedback(ns3::UeRecord::CqiFeedback const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeRecord::CqiFeedback const &', 'arg0')]) - ## ue-record.h: ns3::UeRecord::CqiFeedback::m_cqi [variable] - cls.add_instance_attribute('m_cqi', 'int', is_const=False) - ## ue-record.h: ns3::UeRecord::CqiFeedback::m_subChannelId [variable] - cls.add_instance_attribute('m_subChannelId', 'int', is_const=False) - return - -def register_Ns3AmcModule_methods(root_module, cls): - ## amc-module.h: ns3::AmcModule::AmcModule(ns3::AmcModule const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AmcModule const &', 'arg0')]) - ## amc-module.h: ns3::AmcModule::AmcModule() [constructor] - cls.add_constructor([]) - ## amc-module.h: std::vector > ns3::AmcModule::CreateCqiFeedbacks(std::vector > sinr) [member function] - cls.add_method('CreateCqiFeedbacks', - 'std::vector< int >', - [param('std::vector< double >', 'sinr')]) - ## amc-module.h: int ns3::AmcModule::GetMcsFromCqi(int cqi) [member function] - cls.add_method('GetMcsFromCqi', - 'int', - [param('int', 'cqi')]) - ## amc-module.h: double ns3::AmcModule::GetSpectralEfficiencyFromCqi(int cqi) [member function] - cls.add_method('GetSpectralEfficiencyFromCqi', - 'double', - [param('int', 'cqi')]) - ## amc-module.h: int ns3::AmcModule::GetTbSizeFromMcs(int mcs) [member function] - cls.add_method('GetTbSizeFromMcs', - 'int', - [param('int', 'mcs')]) - ## amc-module.h: static ns3::TypeId ns3::AmcModule::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## amc-module.h: void ns3::AmcModule::Initialize() [member function] - cls.add_method('Initialize', - 'void', - []) - return - -def register_Ns3BearerQosParameters_methods(root_module, cls): - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosParameters(ns3::BearerQosParameters const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BearerQosParameters const &', 'arg0')]) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosParameters() [constructor] - cls.add_constructor([]) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosParameters(int qci, double gbr, double mbr) [constructor] - cls.add_constructor([param('int', 'qci'), param('double', 'gbr'), param('double', 'mbr')]) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosParameters(int qci, bool apec, bool apev, double gbr, double mbr) [constructor] - cls.add_constructor([param('int', 'qci'), param('bool', 'apec'), param('bool', 'apev'), param('double', 'gbr'), param('double', 'mbr')]) - ## bearer-qos-parameters.h: bool ns3::BearerQosParameters::GetArpPreEmptionCapability() const [member function] - cls.add_method('GetArpPreEmptionCapability', - 'bool', - [], - is_const=True) - ## bearer-qos-parameters.h: bool ns3::BearerQosParameters::GetArpPreEmptionVulnerability() const [member function] - cls.add_method('GetArpPreEmptionVulnerability', - 'bool', - [], - is_const=True) - ## bearer-qos-parameters.h: ns3::BearerQosParameters::BearerQosType ns3::BearerQosParameters::GetBearerQosType() const [member function] - cls.add_method('GetBearerQosType', - 'ns3::BearerQosParameters::BearerQosType', - [], - is_const=True) - ## bearer-qos-parameters.h: double ns3::BearerQosParameters::GetGbr() const [member function] - cls.add_method('GetGbr', - 'double', - [], - is_const=True) - ## bearer-qos-parameters.h: double ns3::BearerQosParameters::GetMaxDelay() const [member function] - cls.add_method('GetMaxDelay', - 'double', - [], - is_const=True) - ## bearer-qos-parameters.h: double ns3::BearerQosParameters::GetMbr() const [member function] - cls.add_method('GetMbr', - 'double', - [], - is_const=True) - ## bearer-qos-parameters.h: int ns3::BearerQosParameters::GetQci() const [member function] - cls.add_method('GetQci', - 'int', - [], - is_const=True) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetArpPreEmptionCapability(bool apec) [member function] - cls.add_method('SetArpPreEmptionCapability', - 'void', - [param('bool', 'apec')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetArpPreEmptionVulnerability(bool apev) [member function] - cls.add_method('SetArpPreEmptionVulnerability', - 'void', - [param('bool', 'apev')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetBearerQosType(ns3::BearerQosParameters::BearerQosType QosType) [member function] - cls.add_method('SetBearerQosType', - 'void', - [param('ns3::BearerQosParameters::BearerQosType', 'QosType')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetGbr(double gbr) [member function] - cls.add_method('SetGbr', - 'void', - [param('double', 'gbr')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetMaxDelay(double targetDelay) [member function] - cls.add_method('SetMaxDelay', - 'void', - [param('double', 'targetDelay')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetMbr(double mbr) [member function] - cls.add_method('SetMbr', - 'void', - [param('double', 'mbr')]) - ## bearer-qos-parameters.h: void ns3::BearerQosParameters::SetQci(int qci) [member function] - cls.add_method('SetQci', - 'void', - [param('int', 'qci')]) - return - -def register_Ns3ChannelRealization_methods(root_module, cls): - ## channel-realization.h: ns3::ChannelRealization::ChannelRealization(ns3::ChannelRealization const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ChannelRealization const &', 'arg0')]) - ## channel-realization.h: ns3::ChannelRealization::ChannelRealization() [constructor] - cls.add_constructor([]) - ## channel-realization.h: ns3::Ptr ns3::ChannelRealization::GetJakesFadingLossModel() [member function] - cls.add_method('GetJakesFadingLossModel', - 'ns3::Ptr< ns3::JakesFadingLossModel >', - []) - ## channel-realization.h: ns3::Ptr ns3::ChannelRealization::GetPathLossModel() [member function] - cls.add_method('GetPathLossModel', - 'ns3::Ptr< ns3::PathLossModel >', - []) - ## channel-realization.h: ns3::Ptr ns3::ChannelRealization::GetPenetrationLossModel() [member function] - cls.add_method('GetPenetrationLossModel', - 'ns3::Ptr< ns3::PenetrationLossModel >', - []) - ## channel-realization.h: ns3::Ptr ns3::ChannelRealization::GetShadowingLossModel() [member function] - cls.add_method('GetShadowingLossModel', - 'ns3::Ptr< ns3::ShadowingLossModel >', - []) - ## channel-realization.h: static ns3::TypeId ns3::ChannelRealization::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## channel-realization.h: void ns3::ChannelRealization::SetJakesFadingLossModel(ns3::Ptr l) [member function] - cls.add_method('SetJakesFadingLossModel', - 'void', - [param('ns3::Ptr< ns3::JakesFadingLossModel >', 'l')]) - ## channel-realization.h: void ns3::ChannelRealization::SetPathLossModel(ns3::Ptr l) [member function] - cls.add_method('SetPathLossModel', - 'void', - [param('ns3::Ptr< ns3::PathLossModel >', 'l')]) - ## channel-realization.h: void ns3::ChannelRealization::SetPenetrationLossModel(ns3::Ptr l) [member function] - cls.add_method('SetPenetrationLossModel', - 'void', - [param('ns3::Ptr< ns3::PenetrationLossModel >', 'l')]) - ## channel-realization.h: void ns3::ChannelRealization::SetShadowingLossModel(ns3::Ptr l) [member function] - cls.add_method('SetShadowingLossModel', - 'void', - [param('ns3::Ptr< ns3::ShadowingLossModel >', 'l')]) - return - -def register_Ns3DiscreteTimeLossModel_methods(root_module, cls): - ## discrete-time-loss-model.h: ns3::DiscreteTimeLossModel::DiscreteTimeLossModel(ns3::DiscreteTimeLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DiscreteTimeLossModel const &', 'arg0')]) - ## discrete-time-loss-model.h: ns3::DiscreteTimeLossModel::DiscreteTimeLossModel() [constructor] - cls.add_constructor([]) - ## discrete-time-loss-model.h: ns3::Time ns3::DiscreteTimeLossModel::GetLastUpdate() [member function] - cls.add_method('GetLastUpdate', - 'ns3::Time', - []) - ## discrete-time-loss-model.h: double ns3::DiscreteTimeLossModel::GetSamplingPeriod() [member function] - cls.add_method('GetSamplingPeriod', - 'double', - []) - ## discrete-time-loss-model.h: static ns3::TypeId ns3::DiscreteTimeLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## discrete-time-loss-model.h: bool ns3::DiscreteTimeLossModel::NeedForUpdate() [member function] - cls.add_method('NeedForUpdate', - 'bool', - []) - ## discrete-time-loss-model.h: void ns3::DiscreteTimeLossModel::SetLastUpdate() [member function] - cls.add_method('SetLastUpdate', - 'void', - []) - ## discrete-time-loss-model.h: void ns3::DiscreteTimeLossModel::SetSamplingPeriod(double sp) [member function] - cls.add_method('SetSamplingPeriod', - 'void', - [param('double', 'sp')]) - return - -def register_Ns3IdealControlMessage_methods(root_module, cls): - ## ideal-control-messages.h: ns3::IdealControlMessage::IdealControlMessage(ns3::IdealControlMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IdealControlMessage const &', 'arg0')]) - ## ideal-control-messages.h: ns3::IdealControlMessage::IdealControlMessage() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: ns3::Ptr ns3::IdealControlMessage::GetDestinationDevice() [member function] - cls.add_method('GetDestinationDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## ideal-control-messages.h: ns3::IdealControlMessage::MessageType ns3::IdealControlMessage::GetMessageType() [member function] - cls.add_method('GetMessageType', - 'ns3::IdealControlMessage::MessageType', - []) - ## ideal-control-messages.h: ns3::Ptr ns3::IdealControlMessage::GetSourceDevice() [member function] - cls.add_method('GetSourceDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## ideal-control-messages.h: void ns3::IdealControlMessage::SetDestinationDevice(ns3::Ptr dst) [member function] - cls.add_method('SetDestinationDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'dst')]) - ## ideal-control-messages.h: void ns3::IdealControlMessage::SetMessageType(ns3::IdealControlMessage::MessageType type) [member function] - cls.add_method('SetMessageType', - 'void', - [param('ns3::IdealControlMessage::MessageType', 'type')]) - ## ideal-control-messages.h: void ns3::IdealControlMessage::SetSourceDevice(ns3::Ptr src) [member function] - cls.add_method('SetSourceDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'src')]) - return - -def register_Ns3JakesFadingLossModel_methods(root_module, cls): - ## jakes-fading-loss-model.h: ns3::JakesFadingLossModel::JakesFadingLossModel(ns3::JakesFadingLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::JakesFadingLossModel const &', 'arg0')]) - ## jakes-fading-loss-model.h: ns3::JakesFadingLossModel::JakesFadingLossModel() [constructor] - cls.add_constructor([]) - ## jakes-fading-loss-model.h: ns3::Ptr ns3::JakesFadingLossModel::GetPhy() [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::LtePhy >', - []) - ## jakes-fading-loss-model.h: static ns3::TypeId ns3::JakesFadingLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## jakes-fading-loss-model.h: double ns3::JakesFadingLossModel::GetValue(int subChannel) [member function] - cls.add_method('GetValue', - 'double', - [param('int', 'subChannel')]) - ## jakes-fading-loss-model.h: void ns3::JakesFadingLossModel::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## jakes-fading-loss-model.h: void ns3::JakesFadingLossModel::SetValue() [member function] - cls.add_method('SetValue', - 'void', - []) - return - -def register_Ns3LteMacQueue_methods(root_module, cls): - ## lte-mac-queue.h: ns3::LteMacQueue::LteMacQueue(ns3::LteMacQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteMacQueue const &', 'arg0')]) - ## lte-mac-queue.h: ns3::LteMacQueue::LteMacQueue() [constructor] - cls.add_constructor([]) - ## lte-mac-queue.h: ns3::LteMacQueue::LteMacQueue(uint32_t maxSize) [constructor] - cls.add_constructor([param('uint32_t', 'maxSize')]) - ## lte-mac-queue.h: ns3::Ptr ns3::LteMacQueue::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - []) - ## lte-mac-queue.h: ns3::Ptr ns3::LteMacQueue::Dequeue(uint32_t availableByte) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'availableByte')]) - ## lte-mac-queue.h: bool ns3::LteMacQueue::Enqueue(ns3::Ptr packet) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - ## lte-mac-queue.h: uint32_t ns3::LteMacQueue::GetMaxSize() const [member function] - cls.add_method('GetMaxSize', - 'uint32_t', - [], - is_const=True) - ## lte-mac-queue.h: uint32_t ns3::LteMacQueue::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## lte-mac-queue.h: std::deque > const & ns3::LteMacQueue::GetPacketQueue() const [member function] - cls.add_method('GetPacketQueue', - 'std::deque< ns3::LteMacQueue::QueueElement > const &', - [], - is_const=True) - ## lte-mac-queue.h: uint32_t ns3::LteMacQueue::GetQueueLengthWithMACOverhead() [member function] - cls.add_method('GetQueueLengthWithMACOverhead', - 'uint32_t', - []) - ## lte-mac-queue.h: uint32_t ns3::LteMacQueue::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## lte-mac-queue.h: static ns3::TypeId ns3::LteMacQueue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-mac-queue.h: bool ns3::LteMacQueue::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## lte-mac-queue.h: ns3::Ptr ns3::LteMacQueue::Peek() const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## lte-mac-queue.h: void ns3::LteMacQueue::SetMaxSize(uint32_t maxSize) [member function] - cls.add_method('SetMaxSize', - 'void', - [param('uint32_t', 'maxSize')]) - return - -def register_Ns3LtePhy_methods(root_module, cls): - ## lte-phy.h: ns3::LtePhy::LtePhy(ns3::LtePhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LtePhy const &', 'arg0')]) - ## lte-phy.h: ns3::LtePhy::LtePhy() [constructor] - cls.add_constructor([]) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::CreateTxPowerSpectralDensity() [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_pure_virtual=True, is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::DoSetDownlinkSubChannels() [member function] - cls.add_method('DoSetDownlinkSubChannels', - 'void', - [], - is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::DoSetUplinkSubChannels() [member function] - cls.add_method('DoSetUplinkSubChannels', - 'void', - [], - is_virtual=True) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetDownlinkChannel() [member function] - cls.add_method('GetDownlinkChannel', - 'ns3::Ptr< ns3::SpectrumChannel >', - []) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetDownlinkSpectrumPhy() [member function] - cls.add_method('GetDownlinkSpectrumPhy', - 'ns3::Ptr< ns3::LteSpectrumPhy >', - []) - ## lte-phy.h: std::vector > ns3::LtePhy::GetDownlinkSubChannels() [member function] - cls.add_method('GetDownlinkSubChannels', - 'std::vector< int >', - []) - ## lte-phy.h: uint32_t ns3::LtePhy::GetNrFrames() const [member function] - cls.add_method('GetNrFrames', - 'uint32_t', - [], - is_const=True) - ## lte-phy.h: uint32_t ns3::LtePhy::GetNrSubFrames() const [member function] - cls.add_method('GetNrSubFrames', - 'uint32_t', - [], - is_const=True) - ## lte-phy.h: double ns3::LtePhy::GetTti() const [member function] - cls.add_method('GetTti', - 'double', - [], - is_const=True) - ## lte-phy.h: double ns3::LtePhy::GetTxPower() [member function] - cls.add_method('GetTxPower', - 'double', - []) - ## lte-phy.h: static ns3::TypeId ns3::LtePhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetUplinkChannel() [member function] - cls.add_method('GetUplinkChannel', - 'ns3::Ptr< ns3::SpectrumChannel >', - []) - ## lte-phy.h: ns3::Ptr ns3::LtePhy::GetUplinkSpectrumPhy() [member function] - cls.add_method('GetUplinkSpectrumPhy', - 'ns3::Ptr< ns3::LteSpectrumPhy >', - []) - ## lte-phy.h: std::vector > ns3::LtePhy::GetUplinkSubChannels() [member function] - cls.add_method('GetUplinkSubChannels', - 'std::vector< int >', - []) - ## lte-phy.h: void ns3::LtePhy::ReceiveIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('ReceiveIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_pure_virtual=True, is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::SendIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('SendIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_pure_virtual=True, is_virtual=True) - ## lte-phy.h: bool ns3::LtePhy::SendPacket(ns3::Ptr pb) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb')], - is_pure_virtual=True, is_virtual=True) - ## lte-phy.h: void ns3::LtePhy::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## lte-phy.h: void ns3::LtePhy::SetDownlinkChannel(ns3::Ptr c) [member function] - cls.add_method('SetDownlinkChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')]) - ## lte-phy.h: void ns3::LtePhy::SetDownlinkSpectrumPhy(ns3::Ptr s) [member function] - cls.add_method('SetDownlinkSpectrumPhy', - 'void', - [param('ns3::Ptr< ns3::LteSpectrumPhy >', 's')]) - ## lte-phy.h: void ns3::LtePhy::SetDownlinkSubChannels(std::vector > mask) [member function] - cls.add_method('SetDownlinkSubChannels', - 'void', - [param('std::vector< int >', 'mask')]) - ## lte-phy.h: void ns3::LtePhy::SetNrFrames(uint32_t nrFrames) [member function] - cls.add_method('SetNrFrames', - 'void', - [param('uint32_t', 'nrFrames')]) - ## lte-phy.h: void ns3::LtePhy::SetNrSubFrames(uint32_t nrSubFrames) [member function] - cls.add_method('SetNrSubFrames', - 'void', - [param('uint32_t', 'nrSubFrames')]) - ## lte-phy.h: void ns3::LtePhy::SetTti(double tti) [member function] - cls.add_method('SetTti', - 'void', - [param('double', 'tti')]) - ## lte-phy.h: void ns3::LtePhy::SetTxPower(double pw) [member function] - cls.add_method('SetTxPower', - 'void', - [param('double', 'pw')]) - ## lte-phy.h: void ns3::LtePhy::SetUplinkChannel(ns3::Ptr c) [member function] - cls.add_method('SetUplinkChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')]) - ## lte-phy.h: void ns3::LtePhy::SetUplinkSpectrumPhy(ns3::Ptr s) [member function] - cls.add_method('SetUplinkSpectrumPhy', - 'void', - [param('ns3::Ptr< ns3::LteSpectrumPhy >', 's')]) - ## lte-phy.h: void ns3::LtePhy::SetUplinkSubChannels(std::vector > mask) [member function] - cls.add_method('SetUplinkSubChannels', - 'void', - [param('std::vector< int >', 'mask')]) - return - -def register_Ns3LtePropagationLossModel_methods(root_module, cls): - ## lte-propagation-loss-model.h: ns3::LtePropagationLossModel::LtePropagationLossModel(ns3::LtePropagationLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LtePropagationLossModel const &', 'arg0')]) - ## lte-propagation-loss-model.h: ns3::LtePropagationLossModel::LtePropagationLossModel() [constructor] - cls.add_constructor([]) - ## lte-propagation-loss-model.h: void ns3::LtePropagationLossModel::CreateChannelRealization(ns3::Ptr enbMobility, ns3::Ptr ueMobility) [member function] - cls.add_method('CreateChannelRealization', - 'void', - [param('ns3::Ptr< ns3::MobilityModel const >', 'enbMobility'), param('ns3::Ptr< ns3::MobilityModel const >', 'ueMobility')]) - ## lte-propagation-loss-model.h: ns3::Ptr ns3::LtePropagationLossModel::GetChannelRealization(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetChannelRealization', - 'ns3::Ptr< ns3::ChannelRealization >', - [param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_const=True) - ## lte-propagation-loss-model.h: static ns3::TypeId ns3::LtePropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-propagation-loss-model.h: ns3::Ptr ns3::LtePropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr txPsd, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'txPsd'), param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3LteSpectrumPhy_methods(root_module, cls): - ## lte-spectrum-phy.h: ns3::LteSpectrumPhy::LteSpectrumPhy(ns3::LteSpectrumPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LteSpectrumPhy const &', 'arg0')]) - ## lte-spectrum-phy.h: ns3::LteSpectrumPhy::LteSpectrumPhy() [constructor] - cls.add_constructor([]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::CalcSinrValues(ns3::Ptr rxPsd, ns3::Ptr noise) [member function] - cls.add_method('CalcSinrValues', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::Ptr< ns3::SpectrumValue const >', 'noise')], - is_pure_virtual=True, is_virtual=True) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetChannel() [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::SpectrumChannel >', - []) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetNoisePowerSpectralDensity() [member function] - cls.add_method('GetNoisePowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue const >', - []) - ## lte-spectrum-phy.h: ns3::Ptr ns3::LteSpectrumPhy::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True, is_virtual=True) - ## lte-spectrum-phy.h: ns3::SpectrumType ns3::LteSpectrumPhy::GetSpectrumType() [member function] - cls.add_method('GetSpectrumType', - 'ns3::SpectrumType', - []) - ## lte-spectrum-phy.h: static ns3::TypeId ns3::LteSpectrumPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_virtual=True) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_virtual=True) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetGenericPhyRxEndErrorCallback(ns3::GenericPhyRxEndErrorCallback c) [member function] - cls.add_method('SetGenericPhyRxEndErrorCallback', - 'void', - [param('ns3::GenericPhyRxEndErrorCallback', 'c')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetGenericPhyRxEndOkCallback(ns3::GenericPhyRxEndOkCallback c) [member function] - cls.add_method('SetGenericPhyRxEndOkCallback', - 'void', - [param('ns3::GenericPhyRxEndOkCallback', 'c')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetGenericPhyRxStartCallback(ns3::GenericPhyRxStartCallback c) [member function] - cls.add_method('SetGenericPhyRxStartCallback', - 'void', - [param('ns3::GenericPhyRxStartCallback', 'c')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetGenericPhyTxEndCallback(ns3::GenericPhyTxEndCallback c) [member function] - cls.add_method('SetGenericPhyTxEndCallback', - 'void', - [param('ns3::GenericPhyTxEndCallback', 'c')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_virtual=True) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetNoisePowerSpectralDensity(ns3::Ptr noisePsd) [member function] - cls.add_method('SetNoisePowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'noisePsd')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetState(ns3::LteSpectrumPhy::State newState) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::LteSpectrumPhy::State', 'newState')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::SetTxPowerSpectralDensity(ns3::Ptr txPsd) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::StartRx(ns3::Ptr pb, ns3::Ptr rxPsd, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_virtual=True) - ## lte-spectrum-phy.h: bool ns3::LteSpectrumPhy::StartTx(ns3::Ptr pb) [member function] - cls.add_method('StartTx', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb')]) - ## lte-spectrum-phy.h: void ns3::LteSpectrumPhy::EndRx() [member function] - cls.add_method('EndRx', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3MacEntity_methods(root_module, cls): - ## mac-entity.h: ns3::MacEntity::MacEntity(ns3::MacEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacEntity const &', 'arg0')]) - ## mac-entity.h: ns3::MacEntity::MacEntity() [constructor] - cls.add_constructor([]) - ## mac-entity.h: void ns3::MacEntity::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## mac-entity.h: ns3::Ptr ns3::MacEntity::GetAmcModule() const [member function] - cls.add_method('GetAmcModule', - 'ns3::Ptr< ns3::AmcModule >', - [], - is_const=True) - ## mac-entity.h: ns3::Ptr ns3::MacEntity::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::LteNetDevice >', - []) - ## mac-entity.h: static ns3::TypeId ns3::MacEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-entity.h: void ns3::MacEntity::SetAmcModule(ns3::Ptr amcModule) [member function] - cls.add_method('SetAmcModule', - 'void', - [param('ns3::Ptr< ns3::AmcModule >', 'amcModule')]) - ## mac-entity.h: void ns3::MacEntity::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - return - -def register_Ns3PathLossModel_methods(root_module, cls): - ## path-loss-model.h: ns3::PathLossModel::PathLossModel(ns3::PathLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PathLossModel const &', 'arg0')]) - ## path-loss-model.h: ns3::PathLossModel::PathLossModel() [constructor] - cls.add_constructor([]) - ## path-loss-model.h: static ns3::TypeId ns3::PathLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## path-loss-model.h: double ns3::PathLossModel::GetValue(ns3::Ptr a, ns3::Ptr b) [member function] - cls.add_method('GetValue', - 'double', - [param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')]) - ## path-loss-model.h: void ns3::PathLossModel::SetValue(double pl) [member function] - cls.add_method('SetValue', - 'void', - [param('double', 'pl')]) - return - -def register_Ns3PdcchMapIdealControlMessage_methods(root_module, cls): - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::PdcchMapIdealControlMessage(ns3::PdcchMapIdealControlMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PdcchMapIdealControlMessage const &', 'arg0')]) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::PdcchMapIdealControlMessage() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: void ns3::PdcchMapIdealControlMessage::AddNewRecord(ns3::PdcchMapIdealControlMessage::Direction direction, int subChannel, ns3::Ptr ue, double mcs) [member function] - cls.add_method('AddNewRecord', - 'void', - [param('ns3::PdcchMapIdealControlMessage::Direction', 'direction'), param('int', 'subChannel'), param('ns3::Ptr< ns3::LteNetDevice >', 'ue'), param('double', 'mcs')]) - ## ideal-control-messages.h: std::list > * ns3::PdcchMapIdealControlMessage::GetMessage() [member function] - cls.add_method('GetMessage', - 'std::list< ns3::PdcchMapIdealControlMessage::IdealPdcchRecord > *', - []) - return - -def register_Ns3PdcchMapIdealControlMessageIdealPdcchRecord_methods(root_module, cls): - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::IdealPdcchRecord() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::IdealPdcchRecord(ns3::PdcchMapIdealControlMessage::IdealPdcchRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PdcchMapIdealControlMessage::IdealPdcchRecord const &', 'arg0')]) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::m_direction [variable] - cls.add_instance_attribute('m_direction', 'ns3::PdcchMapIdealControlMessage::Direction', is_const=False) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::m_idSubChannel [variable] - cls.add_instance_attribute('m_idSubChannel', 'int', is_const=False) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::m_mcsIndex [variable] - cls.add_instance_attribute('m_mcsIndex', 'double', is_const=False) - ## ideal-control-messages.h: ns3::PdcchMapIdealControlMessage::IdealPdcchRecord::m_ue [variable] - cls.add_instance_attribute('m_ue', 'ns3::Ptr< ns3::LteNetDevice >', is_const=False) - return - -def register_Ns3PenetrationLossModel_methods(root_module, cls): - ## penetration-loss-model.h: ns3::PenetrationLossModel::PenetrationLossModel(ns3::PenetrationLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PenetrationLossModel const &', 'arg0')]) - ## penetration-loss-model.h: ns3::PenetrationLossModel::PenetrationLossModel() [constructor] - cls.add_constructor([]) - ## penetration-loss-model.h: static ns3::TypeId ns3::PenetrationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## penetration-loss-model.h: double ns3::PenetrationLossModel::GetValue() [member function] - cls.add_method('GetValue', - 'double', - []) - ## penetration-loss-model.h: void ns3::PenetrationLossModel::SetValue(double pnl) [member function] - cls.add_method('SetValue', - 'void', - [param('double', 'pnl')]) - return - -def register_Ns3ShadowingLossModel_methods(root_module, cls): - ## shadowing-loss-model.h: ns3::ShadowingLossModel::ShadowingLossModel(ns3::ShadowingLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ShadowingLossModel const &', 'arg0')]) - ## shadowing-loss-model.h: ns3::ShadowingLossModel::ShadowingLossModel() [constructor] - cls.add_constructor([]) - ## shadowing-loss-model.h: ns3::ShadowingLossModel::ShadowingLossModel(double mu, double sigma, double samplingPeriod) [constructor] - cls.add_constructor([param('double', 'mu'), param('double', 'sigma'), param('double', 'samplingPeriod')]) - ## shadowing-loss-model.h: static ns3::TypeId ns3::ShadowingLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## shadowing-loss-model.h: double ns3::ShadowingLossModel::GetValue() [member function] - cls.add_method('GetValue', - 'double', - []) - ## shadowing-loss-model.h: void ns3::ShadowingLossModel::SetValue(double sh) [member function] - cls.add_method('SetValue', - 'void', - [param('double', 'sh')]) - return - -def register_Ns3UeLtePhy_methods(root_module, cls): - ## ue-phy.h: ns3::UeLtePhy::UeLtePhy(ns3::UeLtePhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeLtePhy const &', 'arg0')]) - ## ue-phy.h: ns3::UeLtePhy::UeLtePhy() [constructor] - cls.add_constructor([]) - ## ue-phy.h: ns3::UeLtePhy::UeLtePhy(ns3::Ptr d) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## ue-phy.h: void ns3::UeLtePhy::CreateCqiFeedbacks(std::vector > sinr) [member function] - cls.add_method('CreateCqiFeedbacks', - 'void', - [param('std::vector< double >', 'sinr')]) - ## ue-phy.h: ns3::Ptr ns3::UeLtePhy::CreateTxPowerSpectralDensity() [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_virtual=True) - ## ue-phy.h: void ns3::UeLtePhy::DoSetUplinkSubChannels() [member function] - cls.add_method('DoSetUplinkSubChannels', - 'void', - [], - is_virtual=True) - ## ue-phy.h: std::vector > ns3::UeLtePhy::GetSubChannelsForReception() [member function] - cls.add_method('GetSubChannelsForReception', - 'std::vector< int >', - []) - ## ue-phy.h: std::vector > ns3::UeLtePhy::GetSubChannelsForTransmission() [member function] - cls.add_method('GetSubChannelsForTransmission', - 'std::vector< int >', - []) - ## ue-phy.h: static ns3::TypeId ns3::UeLtePhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ue-phy.h: void ns3::UeLtePhy::ReceiveIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('ReceiveIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_virtual=True) - ## ue-phy.h: void ns3::UeLtePhy::SendIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('SendIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_virtual=True) - ## ue-phy.h: bool ns3::UeLtePhy::SendPacket(ns3::Ptr pb) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb')], - is_virtual=True) - ## ue-phy.h: void ns3::UeLtePhy::SetSubChannelsForReception(std::vector > mask) [member function] - cls.add_method('SetSubChannelsForReception', - 'void', - [param('std::vector< int >', 'mask')]) - ## ue-phy.h: void ns3::UeLtePhy::SetSubChannelsForTransmission(std::vector > mask) [member function] - cls.add_method('SetSubChannelsForTransmission', - 'void', - [param('std::vector< int >', 'mask')]) - return - -def register_Ns3UeLteSpectrumPhy_methods(root_module, cls): - ## ue-lte-spectrum-phy.h: ns3::UeLteSpectrumPhy::UeLteSpectrumPhy(ns3::UeLteSpectrumPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeLteSpectrumPhy const &', 'arg0')]) - ## ue-lte-spectrum-phy.h: ns3::UeLteSpectrumPhy::UeLteSpectrumPhy() [constructor] - cls.add_constructor([]) - ## ue-lte-spectrum-phy.h: void ns3::UeLteSpectrumPhy::CalcSinrValues(ns3::Ptr rxPsd, ns3::Ptr noise) [member function] - cls.add_method('CalcSinrValues', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::Ptr< ns3::SpectrumValue const >', 'noise')], - is_virtual=True) - ## ue-lte-spectrum-phy.h: static ns3::TypeId ns3::UeLteSpectrumPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UeMacEntity_methods(root_module, cls): - ## ue-mac-entity.h: ns3::UeMacEntity::UeMacEntity(ns3::UeMacEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UeMacEntity const &', 'arg0')]) - ## ue-mac-entity.h: ns3::UeMacEntity::UeMacEntity() [constructor] - cls.add_constructor([]) - ## ue-mac-entity.h: ns3::Ptr ns3::UeMacEntity::CreateCqiFeedbacks(std::vector > sinr) [member function] - cls.add_method('CreateCqiFeedbacks', - 'ns3::Ptr< ns3::CqiIdealControlMessage >', - [param('std::vector< double >', 'sinr')]) - ## ue-mac-entity.h: static ns3::TypeId ns3::UeMacEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3CqiIdealControlMessage_methods(root_module, cls): - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiIdealControlMessage(ns3::CqiIdealControlMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CqiIdealControlMessage const &', 'arg0')]) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiIdealControlMessage() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: void ns3::CqiIdealControlMessage::AddNewRecord(int subChannel, double cqi) [member function] - cls.add_method('AddNewRecord', - 'void', - [param('int', 'subChannel'), param('double', 'cqi')]) - ## ideal-control-messages.h: std::list > * ns3::CqiIdealControlMessage::GetMessage() [member function] - cls.add_method('GetMessage', - 'std::list< ns3::CqiIdealControlMessage::CqiFeedback > *', - []) - return - -def register_Ns3CqiIdealControlMessageCqiFeedback_methods(root_module, cls): - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback::CqiFeedback() [constructor] - cls.add_constructor([]) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback::CqiFeedback(ns3::CqiIdealControlMessage::CqiFeedback const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CqiIdealControlMessage::CqiFeedback const &', 'arg0')]) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback::m_cqi [variable] - cls.add_instance_attribute('m_cqi', 'double', is_const=False) - ## ideal-control-messages.h: ns3::CqiIdealControlMessage::CqiFeedback::m_idSubChannel [variable] - cls.add_instance_attribute('m_idSubChannel', 'int', is_const=False) - return - -def register_Ns3EnbLtePhy_methods(root_module, cls): - ## enb-phy.h: ns3::EnbLtePhy::EnbLtePhy(ns3::EnbLtePhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnbLtePhy const &', 'arg0')]) - ## enb-phy.h: ns3::EnbLtePhy::EnbLtePhy() [constructor] - cls.add_constructor([]) - ## enb-phy.h: ns3::EnbLtePhy::EnbLtePhy(ns3::Ptr d) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::LteNetDevice >', 'd')]) - ## enb-phy.h: void ns3::EnbLtePhy::CalcChannelQualityForUe(std::vector > sinr, ns3::Ptr ue) [member function] - cls.add_method('CalcChannelQualityForUe', - 'void', - [param('std::vector< double >', 'sinr'), param('ns3::Ptr< ns3::LteSpectrumPhy >', 'ue')]) - ## enb-phy.h: ns3::Ptr ns3::EnbLtePhy::CreateTxPowerSpectralDensity() [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_virtual=True) - ## enb-phy.h: void ns3::EnbLtePhy::DoSetDownlinkSubChannels() [member function] - cls.add_method('DoSetDownlinkSubChannels', - 'void', - [], - is_virtual=True) - ## enb-phy.h: void ns3::EnbLtePhy::EndFrame() [member function] - cls.add_method('EndFrame', - 'void', - []) - ## enb-phy.h: void ns3::EnbLtePhy::EndSubFrame() [member function] - cls.add_method('EndSubFrame', - 'void', - []) - ## enb-phy.h: static ns3::TypeId ns3::EnbLtePhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## enb-phy.h: void ns3::EnbLtePhy::ReceiveIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('ReceiveIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_virtual=True) - ## enb-phy.h: void ns3::EnbLtePhy::SendIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('SendIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::IdealControlMessage >', 'msg')], - is_virtual=True) - ## enb-phy.h: bool ns3::EnbLtePhy::SendPacket(ns3::Ptr pb) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb')], - is_virtual=True) - ## enb-phy.h: void ns3::EnbLtePhy::StartFrame() [member function] - cls.add_method('StartFrame', - 'void', - []) - ## enb-phy.h: void ns3::EnbLtePhy::StartSubFrame() [member function] - cls.add_method('StartSubFrame', - 'void', - []) - return - -def register_Ns3EnbLteSpectrumPhy_methods(root_module, cls): - ## enb-lte-spectrum-phy.h: ns3::EnbLteSpectrumPhy::EnbLteSpectrumPhy(ns3::EnbLteSpectrumPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnbLteSpectrumPhy const &', 'arg0')]) - ## enb-lte-spectrum-phy.h: ns3::EnbLteSpectrumPhy::EnbLteSpectrumPhy() [constructor] - cls.add_constructor([]) - ## enb-lte-spectrum-phy.h: void ns3::EnbLteSpectrumPhy::CalcSinrValues(ns3::Ptr rxPsd, ns3::Ptr noise) [member function] - cls.add_method('CalcSinrValues', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::Ptr< ns3::SpectrumValue const >', 'noise')], - is_virtual=True) - ## enb-lte-spectrum-phy.h: static ns3::TypeId ns3::EnbLteSpectrumPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3EnbMacEntity_methods(root_module, cls): - ## enb-mac-entity.h: ns3::EnbMacEntity::EnbMacEntity(ns3::EnbMacEntity const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EnbMacEntity const &', 'arg0')]) - ## enb-mac-entity.h: ns3::EnbMacEntity::EnbMacEntity() [constructor] - cls.add_constructor([]) - ## enb-mac-entity.h: void ns3::EnbMacEntity::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## enb-mac-entity.h: ns3::Ptr ns3::EnbMacEntity::GetDownlinkPacketScheduler() [member function] - cls.add_method('GetDownlinkPacketScheduler', - 'ns3::Ptr< ns3::PacketScheduler >', - []) - ## enb-mac-entity.h: static ns3::TypeId ns3::EnbMacEntity::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## enb-mac-entity.h: ns3::Ptr ns3::EnbMacEntity::GetUplinkPacketScheduler() [member function] - cls.add_method('GetUplinkPacketScheduler', - 'ns3::Ptr< ns3::PacketScheduler >', - []) - ## enb-mac-entity.h: void ns3::EnbMacEntity::ReceiveCqiIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('ReceiveCqiIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::CqiIdealControlMessage >', 'msg')]) - ## enb-mac-entity.h: void ns3::EnbMacEntity::SendPdcchMapIdealControlMessage(ns3::Ptr msg) [member function] - cls.add_method('SendPdcchMapIdealControlMessage', - 'void', - [param('ns3::Ptr< ns3::PdcchMapIdealControlMessage >', 'msg')]) - ## enb-mac-entity.h: void ns3::EnbMacEntity::SetDownlinkPacketScheduler(ns3::Ptr s) [member function] - cls.add_method('SetDownlinkPacketScheduler', - 'void', - [param('ns3::Ptr< ns3::PacketScheduler >', 's')]) - ## enb-mac-entity.h: void ns3::EnbMacEntity::SetUplinkPacketScheduler(ns3::Ptr s) [member function] - cls.add_method('SetUplinkPacketScheduler', - 'void', - [param('ns3::Ptr< ns3::PacketScheduler >', 's')]) - return - -def register_Ns3LteNetDevice_methods(root_module, cls): - ## lte-net-device.h: static ns3::TypeId ns3::LteNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## lte-net-device.h: ns3::LteNetDevice::LteNetDevice() [constructor] - cls.add_constructor([]) - ## lte-net-device.h: void ns3::LteNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetGenericPhyTxStartCallback(ns3::GenericPhyTxStartCallback c) [member function] - cls.add_method('SetGenericPhyTxStartCallback', - 'void', - [param('ns3::GenericPhyTxStartCallback', 'c')]) - ## lte-net-device.h: void ns3::LteNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::LtePhy >', - [], - is_const=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetRrcEntity(ns3::Ptr rrc) [member function] - cls.add_method('SetRrcEntity', - 'void', - [param('ns3::Ptr< ns3::RrcEntity >', 'rrc')]) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetRrcEntity() [member function] - cls.add_method('GetRrcEntity', - 'ns3::Ptr< ns3::RrcEntity >', - []) - ## lte-net-device.h: void ns3::LteNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## lte-net-device.h: uint32_t ns3::LteNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## lte-net-device.h: uint16_t ns3::LteNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## lte-net-device.h: ns3::Address ns3::LteNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::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')], - is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: ns3::Address ns3::LteNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## lte-net-device.h: ns3::Address ns3::LteNetDevice::GetMulticast(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'addr')], - is_const=True, is_virtual=True) - ## lte-net-device.h: ns3::Address ns3::LteNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::Receive(ns3::Ptr p) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## lte-net-device.h: void ns3::LteNetDevice::ForwardUp(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest')]) - ## lte-net-device.h: void ns3::LteNetDevice::ForwardUp(ns3::Ptr packet) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - ## lte-net-device.h: void ns3::LteNetDevice::SetPacketToSend(ns3::Ptr p) [member function] - cls.add_method('SetPacketToSend', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p')]) - ## lte-net-device.h: ns3::Ptr ns3::LteNetDevice::GetPacketToSend() [member function] - cls.add_method('GetPacketToSend', - 'ns3::Ptr< ns3::PacketBurst >', - []) - ## lte-net-device.h: void ns3::LteNetDevice::StartTransmission() [member function] - cls.add_method('StartTransmission', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::SendPacket(ns3::Ptr p) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'p')], - is_pure_virtual=True, is_virtual=True) - ## lte-net-device.h: bool ns3::LteNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## lte-net-device.h: void ns3::LteNetDevice::DoReceive(ns3::Ptr p) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3UeNetDevice_methods(root_module, cls): - ## ue-net-device.h: static ns3::TypeId ns3::UeNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ue-net-device.h: ns3::UeNetDevice::UeNetDevice() [constructor] - cls.add_constructor([]) - ## ue-net-device.h: ns3::UeNetDevice::UeNetDevice(ns3::Ptr node, ns3::Ptr phy) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## ue-net-device.h: ns3::UeNetDevice::UeNetDevice(ns3::Ptr node, ns3::Ptr phy, ns3::Ptr targetEnb) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::LtePhy >', 'phy'), param('ns3::Ptr< ns3::EnbNetDevice >', 'targetEnb')]) - ## ue-net-device.h: void ns3::UeNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## ue-net-device.h: void ns3::UeNetDevice::SetMacEntity(ns3::Ptr m) [member function] - cls.add_method('SetMacEntity', - 'void', - [param('ns3::Ptr< ns3::UeMacEntity >', 'm')]) - ## ue-net-device.h: ns3::Ptr ns3::UeNetDevice::GetMacEntity() [member function] - cls.add_method('GetMacEntity', - 'ns3::Ptr< ns3::UeMacEntity >', - []) - ## ue-net-device.h: void ns3::UeNetDevice::InitUeNetDevice() [member function] - cls.add_method('InitUeNetDevice', - 'void', - []) - ## ue-net-device.h: void ns3::UeNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## ue-net-device.h: void ns3::UeNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## ue-net-device.h: void ns3::UeNetDevice::SetTargetEnb(ns3::Ptr enb) [member function] - cls.add_method('SetTargetEnb', - 'void', - [param('ns3::Ptr< ns3::EnbNetDevice >', 'enb')]) - ## ue-net-device.h: ns3::Ptr ns3::UeNetDevice::GetTargetEnb() [member function] - cls.add_method('GetTargetEnb', - 'ns3::Ptr< ns3::EnbNetDevice >', - []) - ## ue-net-device.h: void ns3::UeNetDevice::StartTransmission() [member function] - cls.add_method('StartTransmission', - 'void', - [], - is_virtual=True) - ## ue-net-device.h: bool ns3::UeNetDevice::SendPacket(ns3::Ptr p) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'p')], - is_virtual=True) - ## ue-net-device.h: bool ns3::UeNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='private', is_virtual=True) - ## ue-net-device.h: void ns3::UeNetDevice::DoReceive(ns3::Ptr p) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - return - -def register_Ns3EnbNetDevice_methods(root_module, cls): - ## enb-net-device.h: static ns3::TypeId ns3::EnbNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## enb-net-device.h: ns3::EnbNetDevice::EnbNetDevice() [constructor] - cls.add_constructor([]) - ## enb-net-device.h: ns3::EnbNetDevice::EnbNetDevice(ns3::Ptr node, ns3::Ptr phy) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::LtePhy >', 'phy')]) - ## enb-net-device.h: void ns3::EnbNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::InitEnbNetDevice() [member function] - cls.add_method('InitEnbNetDevice', - 'void', - []) - ## enb-net-device.h: void ns3::EnbNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::SetUeManager(ns3::Ptr m) [member function] - cls.add_method('SetUeManager', - 'void', - [param('ns3::Ptr< ns3::UeManager >', 'm')]) - ## enb-net-device.h: ns3::Ptr ns3::EnbNetDevice::GetUeManager() [member function] - cls.add_method('GetUeManager', - 'ns3::Ptr< ns3::UeManager >', - []) - ## enb-net-device.h: void ns3::EnbNetDevice::SetMacEntity(ns3::Ptr m) [member function] - cls.add_method('SetMacEntity', - 'void', - [param('ns3::Ptr< ns3::EnbMacEntity >', 'm')]) - ## enb-net-device.h: ns3::Ptr ns3::EnbNetDevice::GetMacEntity() [member function] - cls.add_method('GetMacEntity', - 'ns3::Ptr< ns3::EnbMacEntity >', - []) - ## enb-net-device.h: void ns3::EnbNetDevice::StartTransmission() [member function] - cls.add_method('StartTransmission', - 'void', - [], - is_virtual=True) - ## enb-net-device.h: bool ns3::EnbNetDevice::SendPacket(ns3::Ptr p) [member function] - cls.add_method('SendPacket', - 'bool', - [param('ns3::Ptr< ns3::PacketBurst >', 'p')], - is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::SendIdealPdcchMessage() [member function] - cls.add_method('SendIdealPdcchMessage', - 'void', - []) - ## enb-net-device.h: bool ns3::EnbNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='private', is_virtual=True) - ## enb-net-device.h: void ns3::EnbNetDevice::DoReceive(ns3::Ptr p) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_mesh.py b/bindings/python/apidefs/gcc-LP64/ns3_module_mesh.py deleted file mode 100644 index e52170400..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_mesh.py +++ /dev/null @@ -1,2526 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## mesh-helper.h: ns3::MeshHelper [class] - module.add_class('MeshHelper') - ## mesh-helper.h: ns3::MeshHelper::ChannelPolicy [enumeration] - module.add_enum('ChannelPolicy', ['SPREAD_CHANNELS', 'ZERO_CHANNEL'], outer_class=root_module['ns3::MeshHelper']) - ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon [class] - module.add_class('MeshWifiBeacon') - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::MeshWifiInterfaceMacPlugin', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::dot11s::DestinationAddressUnit', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::dot11s::IeBeaconTimingUnit', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## mesh-information-element-vector.h: ns3::MeshInformationElementVector [class] - module.add_class('MeshInformationElementVector', parent=root_module['ns3::WifiInformationElementVector']) - ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol [class] - module.add_class('MeshL2RoutingProtocol', parent=root_module['ns3::Object']) - ## mesh-stack-installer.h: ns3::MeshStack [class] - module.add_class('MeshStack', parent=root_module['ns3::Object']) - ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin [class] - module.add_class('MeshWifiInterfaceMacPlugin', parent=root_module['ns3::SimpleRefCount< ns3::MeshWifiInterfaceMacPlugin, ns3::empty, ns3::DefaultDeleter >']) - ## dot11s-installer.h: ns3::Dot11sStack [class] - module.add_class('Dot11sStack', parent=root_module['ns3::MeshStack']) - ## flame-installer.h: ns3::FlameStack [class] - module.add_class('FlameStack', parent=root_module['ns3::MeshStack']) - ## mesh-point-device.h: ns3::MeshPointDevice [class] - module.add_class('MeshPointDevice', parent=root_module['ns3::NetDevice']) - ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac [class] - module.add_class('MeshWifiInterfaceMac', parent=root_module['ns3::RegularWifiMac']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sCongestionControlMode [enumeration] - module.add_enum('dot11sCongestionControlMode', ['CONGESTION_SIGNALING', 'CONGESTION_NULL']) - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionProtocol [enumeration] - module.add_enum('dot11sPathSelectionProtocol', ['PROTOCOL_HWMP']) - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sAuthenticationProtocol [enumeration] - module.add_enum('dot11sAuthenticationProtocol', ['AUTH_NULL', 'AUTH_SAE']) - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sSynchronizationProtocolIdentifier [enumeration] - module.add_enum('dot11sSynchronizationProtocolIdentifier', ['SYNC_NEIGHBOUR_OFFSET', 'SYNC_NULL']) - ## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode [enumeration] - module.add_enum('PmpReasonCode', ['REASON11S_PEERING_CANCELLED', 'REASON11S_MESH_MAX_PEERS', 'REASON11S_MESH_CAPABILITY_POLICY_VIOLATION', 'REASON11S_MESH_CLOSE_RCVD', 'REASON11S_MESH_MAX_RETRIES', 'REASON11S_MESH_CONFIRM_TIMEOUT', 'REASON11S_MESH_INVALID_GTK', 'REASON11S_MESH_INCONSISTENT_PARAMETERS', 'REASON11S_MESH_INVALID_SECURITY_CAPABILITY', 'REASON11S_RESERVED']) - ## ie-dot11s-configuration.h: ns3::dot11s::dot11sPathSelectionMetric [enumeration] - module.add_enum('dot11sPathSelectionMetric', ['METRIC_AIRTIME']) - ## ie-dot11s-preq.h: ns3::dot11s::DestinationAddressUnit [class] - module.add_class('DestinationAddressUnit', parent=root_module['ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter >']) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability [class] - module.add_class('Dot11sMeshCapability') - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol [class] - module.add_class('HwmpProtocol', parent=root_module['ns3::MeshL2RoutingProtocol']) - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination [struct] - module.add_class('FailedDestination', outer_class=root_module['ns3::dot11s::HwmpProtocol']) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable [class] - module.add_class('HwmpRtable', parent=root_module['ns3::Object']) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult [struct] - module.add_class('LookupResult', outer_class=root_module['ns3::dot11s::HwmpRtable']) - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming [class] - module.add_class('IeBeaconTiming', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit [class] - module.add_class('IeBeaconTimingUnit', parent=root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter >']) - ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration [class] - module.add_class('IeConfiguration', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-metric-report.h: ns3::dot11s::IeLinkMetricReport [class] - module.add_class('IeLinkMetricReport', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId [class] - module.add_class('IeMeshId', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker [class] - module.add_class('IeMeshIdChecker', parent=root_module['ns3::AttributeChecker']) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue [class] - module.add_class('IeMeshIdValue', parent=root_module['ns3::AttributeValue']) - ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement [class] - module.add_class('IePeerManagement', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::Subtype [enumeration] - module.add_enum('Subtype', ['PEER_OPEN', 'PEER_CONFIRM', 'PEER_CLOSE'], outer_class=root_module['ns3::dot11s::IePeerManagement']) - ## ie-dot11s-peering-protocol.h: ns3::dot11s::IePeeringProtocol [class] - module.add_class('IePeeringProtocol', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-perr.h: ns3::dot11s::IePerr [class] - module.add_class('IePerr', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-prep.h: ns3::dot11s::IePrep [class] - module.add_class('IePrep', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-preq.h: ns3::dot11s::IePreq [class] - module.add_class('IePreq', parent=root_module['ns3::WifiInformationElement']) - ## ie-dot11s-rann.h: ns3::dot11s::IeRann [class] - module.add_class('IeRann', parent=root_module['ns3::WifiInformationElement']) - ## dot11s-mac-header.h: ns3::dot11s::MeshHeader [class] - module.add_class('MeshHeader', parent=root_module['ns3::Header']) - ## peer-link.h: ns3::dot11s::PeerLink [class] - module.add_class('PeerLink', parent=root_module['ns3::Object']) - ## peer-link.h: ns3::dot11s::PeerLink::PeerState [enumeration] - module.add_enum('PeerState', ['IDLE', 'OPN_SNT', 'CNF_RCVD', 'OPN_RCVD', 'ESTAB', 'HOLDING'], outer_class=root_module['ns3::dot11s::PeerLink']) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart [class] - module.add_class('PeerLinkFrameStart', parent=root_module['ns3::Header']) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields [struct] - module.add_class('PlinkFrameStartFields', outer_class=root_module['ns3::dot11s::PeerLinkFrameStart']) - ## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol [class] - module.add_class('PeerManagementProtocol', parent=root_module['ns3::Object']) - module.add_container('std::vector< ns3::dot11s::HwmpProtocol::FailedDestination >', 'ns3::dot11s::HwmpProtocol::FailedDestination', container_type='vector') - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - ## flame-header.h: ns3::flame::FlameHeader [class] - module.add_class('FlameHeader', parent=root_module['ns3::Header']) - ## flame-protocol.h: ns3::flame::FlameProtocol [class] - module.add_class('FlameProtocol', parent=root_module['ns3::MeshL2RoutingProtocol']) - ## flame-protocol-mac.h: ns3::flame::FlameProtocolMac [class] - module.add_class('FlameProtocolMac', parent=root_module['ns3::MeshWifiInterfaceMacPlugin']) - ## flame-rtable.h: ns3::flame::FlameRtable [class] - module.add_class('FlameRtable', parent=root_module['ns3::Object']) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult [struct] - module.add_class('LookupResult', outer_class=root_module['ns3::flame::FlameRtable']) - ## flame-protocol.h: ns3::flame::FlameTag [class] - module.add_class('FlameTag', parent=root_module['ns3::Tag']) - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3MeshHelper_methods(root_module, root_module['ns3::MeshHelper']) - register_Ns3MeshWifiBeacon_methods(root_module, root_module['ns3::MeshWifiBeacon']) - register_Ns3MeshInformationElementVector_methods(root_module, root_module['ns3::MeshInformationElementVector']) - register_Ns3MeshL2RoutingProtocol_methods(root_module, root_module['ns3::MeshL2RoutingProtocol']) - register_Ns3MeshStack_methods(root_module, root_module['ns3::MeshStack']) - register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, root_module['ns3::MeshWifiInterfaceMacPlugin']) - register_Ns3Dot11sStack_methods(root_module, root_module['ns3::Dot11sStack']) - register_Ns3FlameStack_methods(root_module, root_module['ns3::FlameStack']) - register_Ns3MeshPointDevice_methods(root_module, root_module['ns3::MeshPointDevice']) - register_Ns3MeshWifiInterfaceMac_methods(root_module, root_module['ns3::MeshWifiInterfaceMac']) - register_Ns3Dot11sDestinationAddressUnit_methods(root_module, root_module['ns3::dot11s::DestinationAddressUnit']) - register_Ns3Dot11sDot11sMeshCapability_methods(root_module, root_module['ns3::dot11s::Dot11sMeshCapability']) - register_Ns3Dot11sHwmpProtocol_methods(root_module, root_module['ns3::dot11s::HwmpProtocol']) - register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, root_module['ns3::dot11s::HwmpProtocol::FailedDestination']) - register_Ns3Dot11sHwmpRtable_methods(root_module, root_module['ns3::dot11s::HwmpRtable']) - register_Ns3Dot11sHwmpRtableLookupResult_methods(root_module, root_module['ns3::dot11s::HwmpRtable::LookupResult']) - register_Ns3Dot11sIeBeaconTiming_methods(root_module, root_module['ns3::dot11s::IeBeaconTiming']) - register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, root_module['ns3::dot11s::IeBeaconTimingUnit']) - register_Ns3Dot11sIeConfiguration_methods(root_module, root_module['ns3::dot11s::IeConfiguration']) - register_Ns3Dot11sIeLinkMetricReport_methods(root_module, root_module['ns3::dot11s::IeLinkMetricReport']) - register_Ns3Dot11sIeMeshId_methods(root_module, root_module['ns3::dot11s::IeMeshId']) - register_Ns3Dot11sIeMeshIdChecker_methods(root_module, root_module['ns3::dot11s::IeMeshIdChecker']) - register_Ns3Dot11sIeMeshIdValue_methods(root_module, root_module['ns3::dot11s::IeMeshIdValue']) - register_Ns3Dot11sIePeerManagement_methods(root_module, root_module['ns3::dot11s::IePeerManagement']) - register_Ns3Dot11sIePeeringProtocol_methods(root_module, root_module['ns3::dot11s::IePeeringProtocol']) - register_Ns3Dot11sIePerr_methods(root_module, root_module['ns3::dot11s::IePerr']) - register_Ns3Dot11sIePrep_methods(root_module, root_module['ns3::dot11s::IePrep']) - register_Ns3Dot11sIePreq_methods(root_module, root_module['ns3::dot11s::IePreq']) - register_Ns3Dot11sIeRann_methods(root_module, root_module['ns3::dot11s::IeRann']) - register_Ns3Dot11sMeshHeader_methods(root_module, root_module['ns3::dot11s::MeshHeader']) - register_Ns3Dot11sPeerLink_methods(root_module, root_module['ns3::dot11s::PeerLink']) - register_Ns3Dot11sPeerLinkFrameStart_methods(root_module, root_module['ns3::dot11s::PeerLinkFrameStart']) - register_Ns3Dot11sPeerLinkFrameStartPlinkFrameStartFields_methods(root_module, root_module['ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields']) - register_Ns3Dot11sPeerManagementProtocol_methods(root_module, root_module['ns3::dot11s::PeerManagementProtocol']) - register_Ns3FlameFlameHeader_methods(root_module, root_module['ns3::flame::FlameHeader']) - register_Ns3FlameFlameProtocol_methods(root_module, root_module['ns3::flame::FlameProtocol']) - register_Ns3FlameFlameProtocolMac_methods(root_module, root_module['ns3::flame::FlameProtocolMac']) - register_Ns3FlameFlameRtable_methods(root_module, root_module['ns3::flame::FlameRtable']) - register_Ns3FlameFlameRtableLookupResult_methods(root_module, root_module['ns3::flame::FlameRtable::LookupResult']) - register_Ns3FlameFlameTag_methods(root_module, root_module['ns3::flame::FlameTag']) - return - -def register_Ns3MeshHelper_methods(root_module, cls): - ## mesh-helper.h: ns3::MeshHelper::MeshHelper(ns3::MeshHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshHelper const &', 'arg0')]) - ## mesh-helper.h: ns3::MeshHelper::MeshHelper() [constructor] - cls.add_constructor([]) - ## mesh-helper.h: static ns3::MeshHelper ns3::MeshHelper::Default() [member function] - cls.add_method('Default', - 'ns3::MeshHelper', - [], - is_static=True) - ## mesh-helper.h: ns3::NetDeviceContainer ns3::MeshHelper::Install(ns3::WifiPhyHelper const & phyHelper, ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::WifiPhyHelper const &', 'phyHelper'), param('ns3::NodeContainer', 'c')], - is_const=True) - ## mesh-helper.h: void ns3::MeshHelper::Report(ns3::Ptr const & arg0, std::ostream & arg1) [member function] - cls.add_method('Report', - 'void', - [param('ns3::Ptr< ns3::NetDevice > const &', 'arg0'), param('std::ostream &', 'arg1')]) - ## mesh-helper.h: void ns3::MeshHelper::ResetStats(ns3::Ptr const & arg0) [member function] - cls.add_method('ResetStats', - 'void', - [param('ns3::Ptr< ns3::NetDevice > const &', 'arg0')]) - ## mesh-helper.h: void ns3::MeshHelper::SetMacType(std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetMacType', - 'void', - [param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## mesh-helper.h: void ns3::MeshHelper::SetNumberOfInterfaces(uint32_t nInterfaces) [member function] - cls.add_method('SetNumberOfInterfaces', - 'void', - [param('uint32_t', 'nInterfaces')]) - ## mesh-helper.h: void ns3::MeshHelper::SetRemoteStationManager(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetRemoteStationManager', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## mesh-helper.h: void ns3::MeshHelper::SetSpreadInterfaceChannels(ns3::MeshHelper::ChannelPolicy arg0) [member function] - cls.add_method('SetSpreadInterfaceChannels', - 'void', - [param('ns3::MeshHelper::ChannelPolicy', 'arg0')]) - ## mesh-helper.h: void ns3::MeshHelper::SetStackInstaller(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetStackInstaller', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## mesh-helper.h: void ns3::MeshHelper::SetStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('SetStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')]) - return - -def register_Ns3MeshWifiBeacon_methods(root_module, cls): - ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon::MeshWifiBeacon(ns3::MeshWifiBeacon const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshWifiBeacon const &', 'arg0')]) - ## mesh-wifi-beacon.h: ns3::MeshWifiBeacon::MeshWifiBeacon(ns3::Ssid ssid, ns3::SupportedRates rates, uint64_t us) [constructor] - cls.add_constructor([param('ns3::Ssid', 'ssid'), param('ns3::SupportedRates', 'rates'), param('uint64_t', 'us')]) - ## mesh-wifi-beacon.h: void ns3::MeshWifiBeacon::AddInformationElement(ns3::Ptr ie) [member function] - cls.add_method('AddInformationElement', - 'void', - [param('ns3::Ptr< ns3::WifiInformationElement >', 'ie')]) - ## mesh-wifi-beacon.h: ns3::MgtBeaconHeader ns3::MeshWifiBeacon::BeaconHeader() const [member function] - cls.add_method('BeaconHeader', - 'ns3::MgtBeaconHeader', - [], - is_const=True) - ## mesh-wifi-beacon.h: ns3::WifiMacHeader ns3::MeshWifiBeacon::CreateHeader(ns3::Mac48Address address, ns3::Mac48Address mpAddress) [member function] - cls.add_method('CreateHeader', - 'ns3::WifiMacHeader', - [param('ns3::Mac48Address', 'address'), param('ns3::Mac48Address', 'mpAddress')]) - ## mesh-wifi-beacon.h: ns3::Ptr ns3::MeshWifiBeacon::CreatePacket() [member function] - cls.add_method('CreatePacket', - 'ns3::Ptr< ns3::Packet >', - []) - ## mesh-wifi-beacon.h: ns3::Time ns3::MeshWifiBeacon::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'ns3::Time', - [], - is_const=True) - return - -def register_Ns3MeshInformationElementVector_methods(root_module, cls): - ## mesh-information-element-vector.h: ns3::MeshInformationElementVector::MeshInformationElementVector() [constructor] - cls.add_constructor([]) - ## mesh-information-element-vector.h: ns3::MeshInformationElementVector::MeshInformationElementVector(ns3::MeshInformationElementVector const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshInformationElementVector const &', 'arg0')]) - ## mesh-information-element-vector.h: uint32_t ns3::MeshInformationElementVector::DeserializeSingleIe(ns3::Buffer::Iterator start) [member function] - cls.add_method('DeserializeSingleIe', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - return - -def register_Ns3MeshL2RoutingProtocol_methods(root_module, cls): - ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol::MeshL2RoutingProtocol() [constructor] - cls.add_constructor([]) - ## mesh-l2-routing-protocol.h: ns3::MeshL2RoutingProtocol::MeshL2RoutingProtocol(ns3::MeshL2RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshL2RoutingProtocol const &', 'arg0')]) - ## mesh-l2-routing-protocol.h: ns3::Ptr ns3::MeshL2RoutingProtocol::GetMeshPoint() const [member function] - cls.add_method('GetMeshPoint', - 'ns3::Ptr< ns3::MeshPointDevice >', - [], - is_const=True) - ## mesh-l2-routing-protocol.h: static ns3::TypeId ns3::MeshL2RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mesh-l2-routing-protocol.h: bool ns3::MeshL2RoutingProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function] - cls.add_method('RemoveRoutingStuff', - 'bool', - [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], - is_pure_virtual=True, is_virtual=True) - ## mesh-l2-routing-protocol.h: bool ns3::MeshL2RoutingProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] - cls.add_method('RequestRoute', - 'bool', - [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], - is_pure_virtual=True, is_virtual=True) - ## mesh-l2-routing-protocol.h: void ns3::MeshL2RoutingProtocol::SetMeshPoint(ns3::Ptr mp) [member function] - cls.add_method('SetMeshPoint', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')]) - return - -def register_Ns3MeshStack_methods(root_module, cls): - ## mesh-stack-installer.h: ns3::MeshStack::MeshStack() [constructor] - cls.add_constructor([]) - ## mesh-stack-installer.h: ns3::MeshStack::MeshStack(ns3::MeshStack const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshStack const &', 'arg0')]) - ## mesh-stack-installer.h: bool ns3::MeshStack::InstallStack(ns3::Ptr mp) [member function] - cls.add_method('InstallStack', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')], - is_pure_virtual=True, is_virtual=True) - ## mesh-stack-installer.h: void ns3::MeshStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function] - cls.add_method('Report', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')], - is_pure_virtual=True, is_virtual=True) - ## mesh-stack-installer.h: void ns3::MeshStack::ResetStats(ns3::Ptr const mp) [member function] - cls.add_method('ResetStats', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3MeshWifiInterfaceMacPlugin_methods(root_module, cls): - ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin() [constructor] - cls.add_constructor([]) - ## mesh-wifi-interface-mac-plugin.h: ns3::MeshWifiInterfaceMacPlugin::MeshWifiInterfaceMacPlugin(ns3::MeshWifiInterfaceMacPlugin const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshWifiInterfaceMacPlugin const &', 'arg0')]) - ## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::Receive(ns3::Ptr packet, ns3::WifiMacHeader const & header) [member function] - cls.add_method('Receive', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')], - is_pure_virtual=True, is_virtual=True) - ## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::SetParent(ns3::Ptr parent) [member function] - cls.add_method('SetParent', - 'void', - [param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')], - is_pure_virtual=True, is_virtual=True) - ## mesh-wifi-interface-mac-plugin.h: void ns3::MeshWifiInterfaceMacPlugin::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function] - cls.add_method('UpdateBeacon', - 'void', - [param('ns3::MeshWifiBeacon &', 'beacon')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## mesh-wifi-interface-mac-plugin.h: bool ns3::MeshWifiInterfaceMacPlugin::UpdateOutcomingFrame(ns3::Ptr packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function] - cls.add_method('UpdateOutcomingFrame', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Dot11sStack_methods(root_module, cls): - ## dot11s-installer.h: ns3::Dot11sStack::Dot11sStack(ns3::Dot11sStack const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Dot11sStack const &', 'arg0')]) - ## dot11s-installer.h: ns3::Dot11sStack::Dot11sStack() [constructor] - cls.add_constructor([]) - ## dot11s-installer.h: void ns3::Dot11sStack::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## dot11s-installer.h: static ns3::TypeId ns3::Dot11sStack::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dot11s-installer.h: bool ns3::Dot11sStack::InstallStack(ns3::Ptr mp) [member function] - cls.add_method('InstallStack', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')], - is_virtual=True) - ## dot11s-installer.h: void ns3::Dot11sStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function] - cls.add_method('Report', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')], - is_virtual=True) - ## dot11s-installer.h: void ns3::Dot11sStack::ResetStats(ns3::Ptr const mp) [member function] - cls.add_method('ResetStats', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')], - is_virtual=True) - return - -def register_Ns3FlameStack_methods(root_module, cls): - ## flame-installer.h: ns3::FlameStack::FlameStack(ns3::FlameStack const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlameStack const &', 'arg0')]) - ## flame-installer.h: ns3::FlameStack::FlameStack() [constructor] - cls.add_constructor([]) - ## flame-installer.h: void ns3::FlameStack::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## flame-installer.h: static ns3::TypeId ns3::FlameStack::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-installer.h: bool ns3::FlameStack::InstallStack(ns3::Ptr mp) [member function] - cls.add_method('InstallStack', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'mp')], - is_virtual=True) - ## flame-installer.h: void ns3::FlameStack::Report(ns3::Ptr const mp, std::ostream & arg1) [member function] - cls.add_method('Report', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp'), param('std::ostream &', 'arg1')], - is_virtual=True) - ## flame-installer.h: void ns3::FlameStack::ResetStats(ns3::Ptr const mp) [member function] - cls.add_method('ResetStats', - 'void', - [param('ns3::Ptr< ns3::MeshPointDevice > const', 'mp')], - is_virtual=True) - return - -def register_Ns3MeshPointDevice_methods(root_module, cls): - ## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice(ns3::MeshPointDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MeshPointDevice const &', 'arg0')]) - ## mesh-point-device.h: ns3::MeshPointDevice::MeshPointDevice() [constructor] - cls.add_constructor([]) - ## mesh-point-device.h: void ns3::MeshPointDevice::AddInterface(ns3::Ptr port) [member function] - cls.add_method('AddInterface', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'port')]) - ## mesh-point-device.h: void ns3::MeshPointDevice::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')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: uint32_t ns3::MeshPointDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetInterface(uint32_t id) const [member function] - cls.add_method('GetInterface', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'id')], - is_const=True) - ## mesh-point-device.h: std::vector, std::allocator > > ns3::MeshPointDevice::GetInterfaces() const [member function] - cls.add_method('GetInterfaces', - 'std::vector< ns3::Ptr< ns3::NetDevice > >', - [], - is_const=True) - ## mesh-point-device.h: uint16_t ns3::MeshPointDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Address ns3::MeshPointDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## mesh-point-device.h: uint32_t ns3::MeshPointDevice::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True) - ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: ns3::Ptr ns3::MeshPointDevice::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::MeshL2RoutingProtocol >', - [], - is_const=True) - ## mesh-point-device.h: static ns3::TypeId ns3::MeshPointDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::Report(std::ostream & os) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## mesh-point-device.h: bool ns3::MeshPointDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetAddress(ns3::Address a) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'a')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## mesh-point-device.h: bool ns3::MeshPointDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## mesh-point-device.h: void ns3::MeshPointDevice::SetRoutingProtocol(ns3::Ptr protocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::MeshL2RoutingProtocol >', 'protocol')]) - ## mesh-point-device.h: bool ns3::MeshPointDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - return - -def register_Ns3MeshWifiInterfaceMac_methods(root_module, cls): - ## mesh-wifi-interface-mac.h: ns3::MeshWifiInterfaceMac::MeshWifiInterfaceMac() [constructor] - cls.add_constructor([]) - ## mesh-wifi-interface-mac.h: bool ns3::MeshWifiInterfaceMac::CheckSupportedRates(ns3::SupportedRates rates) const [member function] - cls.add_method('CheckSupportedRates', - 'bool', - [param('ns3::SupportedRates', 'rates')], - is_const=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')], - is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('FinishConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - is_virtual=True) - ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'ns3::Time', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: uint16_t ns3::MeshWifiInterfaceMac::GetFrequencyChannel() const [member function] - cls.add_method('GetFrequencyChannel', - 'uint16_t', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: uint32_t ns3::MeshWifiInterfaceMac::GetLinkMetric(ns3::Mac48Address peerAddress) [member function] - cls.add_method('GetLinkMetric', - 'uint32_t', - [param('ns3::Mac48Address', 'peerAddress')]) - ## mesh-wifi-interface-mac.h: ns3::Mac48Address ns3::MeshWifiInterfaceMac::GetMeshPointAddress() const [member function] - cls.add_method('GetMeshPointAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: ns3::WifiPhyStandard ns3::MeshWifiInterfaceMac::GetPhyStandard() const [member function] - cls.add_method('GetPhyStandard', - 'ns3::WifiPhyStandard', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: ns3::SupportedRates ns3::MeshWifiInterfaceMac::GetSupportedRates() const [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: ns3::Time ns3::MeshWifiInterfaceMac::GetTbtt() const [member function] - cls.add_method('GetTbtt', - 'ns3::Time', - [], - is_const=True) - ## mesh-wifi-interface-mac.h: static ns3::TypeId ns3::MeshWifiInterfaceMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::InstallPlugin(ns3::Ptr plugin) [member function] - cls.add_method('InstallPlugin', - 'void', - [param('ns3::Ptr< ns3::MeshWifiInterfaceMacPlugin >', 'plugin')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SendManagementFrame(ns3::Ptr frame, ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('SendManagementFrame', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'frame'), param('ns3::WifiMacHeader const &', 'hdr')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetBeaconGeneration(bool enable) [member function] - cls.add_method('SetBeaconGeneration', - 'void', - [param('bool', 'enable')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetBeaconInterval(ns3::Time interval) [member function] - cls.add_method('SetBeaconInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkMetricCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetLinkMetricCallback', - 'void', - [param('ns3::Callback< unsigned int, ns3::Mac48Address, ns3::Ptr< ns3::MeshWifiInterfaceMac >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetMeshPointAddress(ns3::Mac48Address arg0) [member function] - cls.add_method('SetMeshPointAddress', - 'void', - [param('ns3::Mac48Address', 'arg0')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SetRandomStartDelay(ns3::Time interval) [member function] - cls.add_method('SetRandomStartDelay', - 'void', - [param('ns3::Time', 'interval')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::ShiftTbtt(ns3::Time shift) [member function] - cls.add_method('ShiftTbtt', - 'void', - [param('ns3::Time', 'shift')]) - ## mesh-wifi-interface-mac.h: bool ns3::MeshWifiInterfaceMac::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::SwitchFrequencyChannel(uint16_t new_id) [member function] - cls.add_method('SwitchFrequencyChannel', - 'void', - [param('uint16_t', 'new_id')]) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## mesh-wifi-interface-mac.h: void ns3::MeshWifiInterfaceMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - return - -def register_Ns3Dot11sDestinationAddressUnit_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## ie-dot11s-preq.h: ns3::dot11s::DestinationAddressUnit::DestinationAddressUnit(ns3::dot11s::DestinationAddressUnit const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::DestinationAddressUnit const &', 'arg0')]) - ## ie-dot11s-preq.h: ns3::dot11s::DestinationAddressUnit::DestinationAddressUnit() [constructor] - cls.add_constructor([]) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::DestinationAddressUnit::GetDestSeqNumber() const [member function] - cls.add_method('GetDestSeqNumber', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: ns3::Mac48Address ns3::dot11s::DestinationAddressUnit::GetDestinationAddress() const [member function] - cls.add_method('GetDestinationAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ie-dot11s-preq.h: bool ns3::dot11s::DestinationAddressUnit::IsDo() [member function] - cls.add_method('IsDo', - 'bool', - []) - ## ie-dot11s-preq.h: bool ns3::dot11s::DestinationAddressUnit::IsRf() [member function] - cls.add_method('IsRf', - 'bool', - []) - ## ie-dot11s-preq.h: bool ns3::dot11s::DestinationAddressUnit::IsUsn() [member function] - cls.add_method('IsUsn', - 'bool', - []) - ## ie-dot11s-preq.h: void ns3::dot11s::DestinationAddressUnit::SetDestSeqNumber(uint32_t dest_seq_number) [member function] - cls.add_method('SetDestSeqNumber', - 'void', - [param('uint32_t', 'dest_seq_number')]) - ## ie-dot11s-preq.h: void ns3::dot11s::DestinationAddressUnit::SetDestinationAddress(ns3::Mac48Address dest_address) [member function] - cls.add_method('SetDestinationAddress', - 'void', - [param('ns3::Mac48Address', 'dest_address')]) - ## ie-dot11s-preq.h: void ns3::dot11s::DestinationAddressUnit::SetFlags(bool doFlag, bool rfFlag, bool usnFlag) [member function] - cls.add_method('SetFlags', - 'void', - [param('bool', 'doFlag'), param('bool', 'rfFlag'), param('bool', 'usnFlag')]) - return - -def register_Ns3Dot11sDot11sMeshCapability_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability(ns3::dot11s::Dot11sMeshCapability const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::Dot11sMeshCapability const &', 'arg0')]) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::Dot11sMeshCapability() [constructor] - cls.add_constructor([]) - ## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Deserialize(ns3::Buffer::Iterator i) [member function] - cls.add_method('Deserialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')]) - ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::Dot11sMeshCapability::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-configuration.h: uint16_t ns3::dot11s::Dot11sMeshCapability::GetUint16() const [member function] - cls.add_method('GetUint16', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-configuration.h: bool ns3::dot11s::Dot11sMeshCapability::Is(uint16_t cap, uint8_t n) const [member function] - cls.add_method('Is', - 'bool', - [param('uint16_t', 'cap'), param('uint8_t', 'n')], - is_const=True) - ## ie-dot11s-configuration.h: ns3::Buffer::Iterator ns3::dot11s::Dot11sMeshCapability::Serialize(ns3::Buffer::Iterator i) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCAEnabled [variable] - cls.add_instance_attribute('MCCAEnabled', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::MCCASupported [variable] - cls.add_instance_attribute('MCCASupported', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::TBTTAdjustment [variable] - cls.add_instance_attribute('TBTTAdjustment', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::acceptPeerLinks [variable] - cls.add_instance_attribute('acceptPeerLinks', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::beaconTimingReport [variable] - cls.add_instance_attribute('beaconTimingReport', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::forwarding [variable] - cls.add_instance_attribute('forwarding', 'bool', is_const=False) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability::powerSaveLevel [variable] - cls.add_instance_attribute('powerSaveLevel', 'bool', is_const=False) - return - -def register_Ns3Dot11sHwmpProtocol_methods(root_module, cls): - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::HwmpProtocol() [constructor] - cls.add_constructor([]) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## hwmp-protocol.h: static ns3::TypeId ns3::dot11s::HwmpProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::Install(ns3::Ptr arg0) [member function] - cls.add_method('Install', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::PeerLinkStatus(ns3::Mac48Address meshPontAddress, ns3::Mac48Address peerAddress, uint32_t interface, bool status) [member function] - cls.add_method('PeerLinkStatus', - 'void', - [param('ns3::Mac48Address', 'meshPontAddress'), param('ns3::Mac48Address', 'peerAddress'), param('uint32_t', 'interface'), param('bool', 'status')]) - ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function] - cls.add_method('RemoveRoutingStuff', - 'bool', - [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], - is_virtual=True) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## hwmp-protocol.h: bool ns3::dot11s::HwmpProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] - cls.add_method('RequestRoute', - 'bool', - [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], - is_virtual=True) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetNeighboursCallback(ns3::Callback >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetNeighboursCallback', - 'void', - [param('ns3::Callback< std::vector< ns3::Mac48Address >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::SetRoot() [member function] - cls.add_method('SetRoot', - 'void', - []) - ## hwmp-protocol.h: void ns3::dot11s::HwmpProtocol::UnsetRoot() [member function] - cls.add_method('UnsetRoot', - 'void', - []) - return - -def register_Ns3Dot11sHwmpProtocolFailedDestination_methods(root_module, cls): - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination() [constructor] - cls.add_constructor([]) - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::FailedDestination(ns3::dot11s::HwmpProtocol::FailedDestination const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::HwmpProtocol::FailedDestination const &', 'arg0')]) - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::destination [variable] - cls.add_instance_attribute('destination', 'ns3::Mac48Address', is_const=False) - ## hwmp-protocol.h: ns3::dot11s::HwmpProtocol::FailedDestination::seqnum [variable] - cls.add_instance_attribute('seqnum', 'uint32_t', is_const=False) - return - -def register_Ns3Dot11sHwmpRtable_methods(root_module, cls): - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::HwmpRtable(ns3::dot11s::HwmpRtable const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::HwmpRtable const &', 'arg0')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::HwmpRtable() [constructor] - cls.add_constructor([]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::AddPrecursor(ns3::Mac48Address destination, uint32_t precursorInterface, ns3::Mac48Address precursorAddress, ns3::Time lifetime) [member function] - cls.add_method('AddPrecursor', - 'void', - [param('ns3::Mac48Address', 'destination'), param('uint32_t', 'precursorInterface'), param('ns3::Mac48Address', 'precursorAddress'), param('ns3::Time', 'lifetime')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::AddProactivePath(uint32_t metric, ns3::Mac48Address root, ns3::Mac48Address retransmitter, uint32_t interface, ns3::Time lifetime, uint32_t seqnum) [member function] - cls.add_method('AddProactivePath', - 'void', - [param('uint32_t', 'metric'), param('ns3::Mac48Address', 'root'), param('ns3::Mac48Address', 'retransmitter'), param('uint32_t', 'interface'), param('ns3::Time', 'lifetime'), param('uint32_t', 'seqnum')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::AddReactivePath(ns3::Mac48Address destination, ns3::Mac48Address retransmitter, uint32_t interface, uint32_t metric, ns3::Time lifetime, uint32_t seqnum) [member function] - cls.add_method('AddReactivePath', - 'void', - [param('ns3::Mac48Address', 'destination'), param('ns3::Mac48Address', 'retransmitter'), param('uint32_t', 'interface'), param('uint32_t', 'metric'), param('ns3::Time', 'lifetime'), param('uint32_t', 'seqnum')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::DeleteProactivePath() [member function] - cls.add_method('DeleteProactivePath', - 'void', - []) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::DeleteProactivePath(ns3::Mac48Address root) [member function] - cls.add_method('DeleteProactivePath', - 'void', - [param('ns3::Mac48Address', 'root')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::DeleteReactivePath(ns3::Mac48Address destination) [member function] - cls.add_method('DeleteReactivePath', - 'void', - [param('ns3::Mac48Address', 'destination')]) - ## hwmp-rtable.h: void ns3::dot11s::HwmpRtable::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## hwmp-rtable.h: std::vector, std::allocator > > ns3::dot11s::HwmpRtable::GetPrecursors(ns3::Mac48Address destination) [member function] - cls.add_method('GetPrecursors', - 'std::vector< std::pair< unsigned int, ns3::Mac48Address > >', - [param('ns3::Mac48Address', 'destination')]) - ## hwmp-rtable.h: static ns3::TypeId ns3::dot11s::HwmpRtable::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## hwmp-rtable.h: std::vector > ns3::dot11s::HwmpRtable::GetUnreachableDestinations(ns3::Mac48Address peerAddress) [member function] - cls.add_method('GetUnreachableDestinations', - 'std::vector< ns3::dot11s::HwmpProtocol::FailedDestination >', - [param('ns3::Mac48Address', 'peerAddress')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult ns3::dot11s::HwmpRtable::LookupProactive() [member function] - cls.add_method('LookupProactive', - 'ns3::dot11s::HwmpRtable::LookupResult', - []) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult ns3::dot11s::HwmpRtable::LookupProactiveExpired() [member function] - cls.add_method('LookupProactiveExpired', - 'ns3::dot11s::HwmpRtable::LookupResult', - []) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult ns3::dot11s::HwmpRtable::LookupReactive(ns3::Mac48Address destination) [member function] - cls.add_method('LookupReactive', - 'ns3::dot11s::HwmpRtable::LookupResult', - [param('ns3::Mac48Address', 'destination')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult ns3::dot11s::HwmpRtable::LookupReactiveExpired(ns3::Mac48Address destination) [member function] - cls.add_method('LookupReactiveExpired', - 'ns3::dot11s::HwmpRtable::LookupResult', - [param('ns3::Mac48Address', 'destination')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::INTERFACE_ANY [variable] - cls.add_static_attribute('INTERFACE_ANY', 'uint32_t const', is_const=True) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::MAX_METRIC [variable] - cls.add_static_attribute('MAX_METRIC', 'uint32_t const', is_const=True) - return - -def register_Ns3Dot11sHwmpRtableLookupResult_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::LookupResult(ns3::dot11s::HwmpRtable::LookupResult const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::HwmpRtable::LookupResult const &', 'arg0')]) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::LookupResult(ns3::Mac48Address r=ns3::Mac48Address::GetBroadcast(), uint32_t i=ns3::dot11s::HwmpRtable::INTERFACE_ANY, uint32_t m=ns3::dot11s::HwmpRtable::MAX_METRIC, uint32_t s=0, ns3::Time l=ns3::Seconds( )) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'r', default_value='ns3::Mac48Address::GetBroadcast()'), param('uint32_t', 'i', default_value='ns3::dot11s::HwmpRtable::INTERFACE_ANY'), param('uint32_t', 'm', default_value='ns3::dot11s::HwmpRtable::MAX_METRIC'), param('uint32_t', 's', default_value='0'), param('ns3::Time', 'l', default_value='ns3::Seconds(0)')]) - ## hwmp-rtable.h: bool ns3::dot11s::HwmpRtable::LookupResult::IsValid() const [member function] - cls.add_method('IsValid', - 'bool', - [], - is_const=True) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::ifIndex [variable] - cls.add_instance_attribute('ifIndex', 'uint32_t', is_const=False) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::lifetime [variable] - cls.add_instance_attribute('lifetime', 'ns3::Time', is_const=False) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::metric [variable] - cls.add_instance_attribute('metric', 'uint32_t', is_const=False) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::retransmitter [variable] - cls.add_instance_attribute('retransmitter', 'ns3::Mac48Address', is_const=False) - ## hwmp-rtable.h: ns3::dot11s::HwmpRtable::LookupResult::seqnum [variable] - cls.add_instance_attribute('seqnum', 'uint32_t', is_const=False) - return - -def register_Ns3Dot11sIeBeaconTiming_methods(root_module, cls): - cls.add_output_stream_operator() - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming(ns3::dot11s::IeBeaconTiming const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeBeaconTiming const &', 'arg0')]) - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTiming::IeBeaconTiming() [constructor] - cls.add_constructor([]) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::AddNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function] - cls.add_method('AddNeighboursTimingElementUnit', - 'void', - [param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')]) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::ClearTimingElement() [member function] - cls.add_method('ClearTimingElement', - 'void', - []) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::DelNeighboursTimingElementUnit(uint16_t aid, ns3::Time last_beacon, ns3::Time beacon_interval) [member function] - cls.add_method('DelNeighboursTimingElementUnit', - 'void', - [param('uint16_t', 'aid'), param('ns3::Time', 'last_beacon'), param('ns3::Time', 'beacon_interval')]) - ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-beacon-timing.h: ns3::WifiInformationElementId ns3::dot11s::IeBeaconTiming::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTiming::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-beacon-timing.h: std::vector, std::allocator > > ns3::dot11s::IeBeaconTiming::GetNeighboursTimingElementsList() [member function] - cls.add_method('GetNeighboursTimingElementsList', - 'std::vector< ns3::Ptr< ns3::dot11s::IeBeaconTimingUnit > >', - []) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTiming::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Dot11sIeBeaconTimingUnit_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit(ns3::dot11s::IeBeaconTimingUnit const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeBeaconTimingUnit const &', 'arg0')]) - ## ie-dot11s-beacon-timing.h: ns3::dot11s::IeBeaconTimingUnit::IeBeaconTimingUnit() [constructor] - cls.add_constructor([]) - ## ie-dot11s-beacon-timing.h: uint8_t ns3::dot11s::IeBeaconTimingUnit::GetAid() const [member function] - cls.add_method('GetAid', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-beacon-timing.h: uint16_t ns3::dot11s::IeBeaconTimingUnit::GetLastBeacon() const [member function] - cls.add_method('GetLastBeacon', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetAid(uint8_t aid) [member function] - cls.add_method('SetAid', - 'void', - [param('uint8_t', 'aid')]) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetBeaconInterval(uint16_t beaconInterval) [member function] - cls.add_method('SetBeaconInterval', - 'void', - [param('uint16_t', 'beaconInterval')]) - ## ie-dot11s-beacon-timing.h: void ns3::dot11s::IeBeaconTimingUnit::SetLastBeacon(uint16_t lastBeacon) [member function] - cls.add_method('SetLastBeacon', - 'void', - [param('uint16_t', 'lastBeacon')]) - return - -def register_Ns3Dot11sIeConfiguration_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration(ns3::dot11s::IeConfiguration const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeConfiguration const &', 'arg0')]) - ## ie-dot11s-configuration.h: ns3::dot11s::IeConfiguration::IeConfiguration() [constructor] - cls.add_constructor([]) - ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-configuration.h: ns3::WifiInformationElementId ns3::dot11s::IeConfiguration::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-configuration.h: uint8_t ns3::dot11s::IeConfiguration::GetNeighborCount() [member function] - cls.add_method('GetNeighborCount', - 'uint8_t', - []) - ## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsAirtime() [member function] - cls.add_method('IsAirtime', - 'bool', - []) - ## ie-dot11s-configuration.h: bool ns3::dot11s::IeConfiguration::IsHWMP() [member function] - cls.add_method('IsHWMP', - 'bool', - []) - ## ie-dot11s-configuration.h: ns3::dot11s::Dot11sMeshCapability const & ns3::dot11s::IeConfiguration::MeshCapability() [member function] - cls.add_method('MeshCapability', - 'ns3::dot11s::Dot11sMeshCapability const &', - []) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetMetric(ns3::dot11s::dot11sPathSelectionMetric metricId) [member function] - cls.add_method('SetMetric', - 'void', - [param('ns3::dot11s::dot11sPathSelectionMetric', 'metricId')]) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetNeighborCount(uint8_t neighbors) [member function] - cls.add_method('SetNeighborCount', - 'void', - [param('uint8_t', 'neighbors')]) - ## ie-dot11s-configuration.h: void ns3::dot11s::IeConfiguration::SetRouting(ns3::dot11s::dot11sPathSelectionProtocol routingId) [member function] - cls.add_method('SetRouting', - 'void', - [param('ns3::dot11s::dot11sPathSelectionProtocol', 'routingId')]) - return - -def register_Ns3Dot11sIeLinkMetricReport_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('>') - ## ie-dot11s-metric-report.h: ns3::dot11s::IeLinkMetricReport::IeLinkMetricReport(ns3::dot11s::IeLinkMetricReport const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeLinkMetricReport const &', 'arg0')]) - ## ie-dot11s-metric-report.h: ns3::dot11s::IeLinkMetricReport::IeLinkMetricReport() [constructor] - cls.add_constructor([]) - ## ie-dot11s-metric-report.h: ns3::dot11s::IeLinkMetricReport::IeLinkMetricReport(uint32_t metric) [constructor] - cls.add_constructor([param('uint32_t', 'metric')]) - ## ie-dot11s-metric-report.h: uint8_t ns3::dot11s::IeLinkMetricReport::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-metric-report.h: ns3::WifiInformationElementId ns3::dot11s::IeLinkMetricReport::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-metric-report.h: uint8_t ns3::dot11s::IeLinkMetricReport::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-metric-report.h: uint32_t ns3::dot11s::IeLinkMetricReport::GetMetric() [member function] - cls.add_method('GetMetric', - 'uint32_t', - []) - ## ie-dot11s-metric-report.h: void ns3::dot11s::IeLinkMetricReport::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-metric-report.h: void ns3::dot11s::IeLinkMetricReport::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-metric-report.h: void ns3::dot11s::IeLinkMetricReport::SetMetric(uint32_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'metric')]) - return - -def register_Ns3Dot11sIeMeshId_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(ns3::dot11s::IeMeshId const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'arg0')]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId() [constructor] - cls.add_constructor([]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId::IeMeshId(std::string s) [constructor] - cls.add_constructor([param('std::string', 's')]) - ## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-id.h: ns3::WifiInformationElementId ns3::dot11s::IeMeshId::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-id.h: uint8_t ns3::dot11s::IeMeshId::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshId::IsEqual(ns3::dot11s::IeMeshId const & o) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::dot11s::IeMeshId const &', 'o')], - is_const=True) - ## ie-dot11s-id.h: char * ns3::dot11s::IeMeshId::PeekString() const [member function] - cls.add_method('PeekString', - 'char *', - [], - is_const=True) - ## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-id.h: void ns3::dot11s::IeMeshId::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Dot11sIeMeshIdChecker_methods(root_module, cls): - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker() [constructor] - cls.add_constructor([]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdChecker::IeMeshIdChecker(ns3::dot11s::IeMeshIdChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeMeshIdChecker const &', 'arg0')]) - return - -def register_Ns3Dot11sIeMeshIdValue_methods(root_module, cls): - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue() [constructor] - cls.add_constructor([]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshIdValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeMeshIdValue const &', 'arg0')]) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshIdValue::IeMeshIdValue(ns3::dot11s::IeMeshId const & value) [constructor] - cls.add_constructor([param('ns3::dot11s::IeMeshId const &', 'value')]) - ## ie-dot11s-id.h: ns3::Ptr ns3::dot11s::IeMeshIdValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-id.h: bool ns3::dot11s::IeMeshIdValue::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) - ## ie-dot11s-id.h: ns3::dot11s::IeMeshId ns3::dot11s::IeMeshIdValue::Get() const [member function] - cls.add_method('Get', - 'ns3::dot11s::IeMeshId', - [], - is_const=True) - ## ie-dot11s-id.h: std::string ns3::dot11s::IeMeshIdValue::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) - ## ie-dot11s-id.h: void ns3::dot11s::IeMeshIdValue::Set(ns3::dot11s::IeMeshId const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::dot11s::IeMeshId const &', 'value')]) - return - -def register_Ns3Dot11sIePeerManagement_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement(ns3::dot11s::IePeerManagement const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePeerManagement const &', 'arg0')]) - ## ie-dot11s-peer-management.h: ns3::dot11s::IePeerManagement::IePeerManagement() [constructor] - cls.add_constructor([]) - ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-peer-management.h: ns3::WifiInformationElementId ns3::dot11s::IePeerManagement::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetLocalLinkId() const [member function] - cls.add_method('GetLocalLinkId', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-peer-management.h: uint16_t ns3::dot11s::IePeerManagement::GetPeerLinkId() const [member function] - cls.add_method('GetPeerLinkId', - 'uint16_t', - [], - is_const=True) - ## ie-dot11s-peer-management.h: ns3::dot11s::PmpReasonCode ns3::dot11s::IePeerManagement::GetReasonCode() const [member function] - cls.add_method('GetReasonCode', - 'ns3::dot11s::PmpReasonCode', - [], - is_const=True) - ## ie-dot11s-peer-management.h: uint8_t ns3::dot11s::IePeerManagement::GetSubtype() const [member function] - cls.add_method('GetSubtype', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerClose(uint16_t localLinkID, uint16_t peerLinkId, ns3::dot11s::PmpReasonCode reasonCode) [member function] - cls.add_method('SetPeerClose', - 'void', - [param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId'), param('ns3::dot11s::PmpReasonCode', 'reasonCode')]) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerConfirm(uint16_t localLinkID, uint16_t peerLinkId) [member function] - cls.add_method('SetPeerConfirm', - 'void', - [param('uint16_t', 'localLinkID'), param('uint16_t', 'peerLinkId')]) - ## ie-dot11s-peer-management.h: void ns3::dot11s::IePeerManagement::SetPeerOpen(uint16_t localLinkId) [member function] - cls.add_method('SetPeerOpen', - 'void', - [param('uint16_t', 'localLinkId')]) - ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsClose() const [member function] - cls.add_method('SubtypeIsClose', - 'bool', - [], - is_const=True) - ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsConfirm() const [member function] - cls.add_method('SubtypeIsConfirm', - 'bool', - [], - is_const=True) - ## ie-dot11s-peer-management.h: bool ns3::dot11s::IePeerManagement::SubtypeIsOpen() const [member function] - cls.add_method('SubtypeIsOpen', - 'bool', - [], - is_const=True) - return - -def register_Ns3Dot11sIePeeringProtocol_methods(root_module, cls): - ## ie-dot11s-peering-protocol.h: ns3::dot11s::IePeeringProtocol::IePeeringProtocol(ns3::dot11s::IePeeringProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePeeringProtocol const &', 'arg0')]) - ## ie-dot11s-peering-protocol.h: ns3::dot11s::IePeeringProtocol::IePeeringProtocol() [constructor] - cls.add_constructor([]) - ## ie-dot11s-peering-protocol.h: uint8_t ns3::dot11s::IePeeringProtocol::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-peering-protocol.h: ns3::WifiInformationElementId ns3::dot11s::IePeeringProtocol::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-peering-protocol.h: uint8_t ns3::dot11s::IePeeringProtocol::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-peering-protocol.h: void ns3::dot11s::IePeeringProtocol::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-peering-protocol.h: void ns3::dot11s::IePeeringProtocol::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Dot11sIePerr_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-perr.h: ns3::dot11s::IePerr::IePerr(ns3::dot11s::IePerr const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePerr const &', 'arg0')]) - ## ie-dot11s-perr.h: ns3::dot11s::IePerr::IePerr() [constructor] - cls.add_constructor([]) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::AddAddressUnit(ns3::dot11s::HwmpProtocol::FailedDestination unit) [member function] - cls.add_method('AddAddressUnit', - 'void', - [param('ns3::dot11s::HwmpProtocol::FailedDestination', 'unit')]) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::DeleteAddressUnit(ns3::Mac48Address address) [member function] - cls.add_method('DeleteAddressUnit', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## ie-dot11s-perr.h: uint8_t ns3::dot11s::IePerr::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-perr.h: ns3::WifiInformationElementId ns3::dot11s::IePerr::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-perr.h: std::vector > ns3::dot11s::IePerr::GetAddressUnitVector() const [member function] - cls.add_method('GetAddressUnitVector', - 'std::vector< ns3::dot11s::HwmpProtocol::FailedDestination >', - [], - is_const=True) - ## ie-dot11s-perr.h: uint8_t ns3::dot11s::IePerr::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-perr.h: uint8_t ns3::dot11s::IePerr::GetNumOfDest() const [member function] - cls.add_method('GetNumOfDest', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-perr.h: bool ns3::dot11s::IePerr::IsFull() const [member function] - cls.add_method('IsFull', - 'bool', - [], - is_const=True) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::ResetPerr() [member function] - cls.add_method('ResetPerr', - 'void', - []) - ## ie-dot11s-perr.h: void ns3::dot11s::IePerr::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Dot11sIePrep_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-prep.h: ns3::dot11s::IePrep::IePrep(ns3::dot11s::IePrep const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePrep const &', 'arg0')]) - ## ie-dot11s-prep.h: ns3::dot11s::IePrep::IePrep() [constructor] - cls.add_constructor([]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::DecrementTtl() [member function] - cls.add_method('DecrementTtl', - 'void', - []) - ## ie-dot11s-prep.h: uint8_t ns3::dot11s::IePrep::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-prep.h: ns3::WifiInformationElementId ns3::dot11s::IePrep::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-prep.h: ns3::Mac48Address ns3::dot11s::IePrep::GetDestinationAddress() const [member function] - cls.add_method('GetDestinationAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetDestinationSeqNumber() const [member function] - cls.add_method('GetDestinationSeqNumber', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint8_t ns3::dot11s::IePrep::GetFlags() const [member function] - cls.add_method('GetFlags', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint8_t ns3::dot11s::IePrep::GetHopcount() const [member function] - cls.add_method('GetHopcount', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint8_t ns3::dot11s::IePrep::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetLifetime() const [member function] - cls.add_method('GetLifetime', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: ns3::Mac48Address ns3::dot11s::IePrep::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetOriginatorSeqNumber() const [member function] - cls.add_method('GetOriginatorSeqNumber', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: uint32_t ns3::dot11s::IePrep::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::IncrementMetric(uint32_t metric) [member function] - cls.add_method('IncrementMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetDestinationAddress(ns3::Mac48Address dest_address) [member function] - cls.add_method('SetDestinationAddress', - 'void', - [param('ns3::Mac48Address', 'dest_address')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetDestinationSeqNumber(uint32_t dest_seq_number) [member function] - cls.add_method('SetDestinationSeqNumber', - 'void', - [param('uint32_t', 'dest_seq_number')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetFlags(uint8_t flags) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'flags')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetHopcount(uint8_t hopcount) [member function] - cls.add_method('SetHopcount', - 'void', - [param('uint8_t', 'hopcount')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetLifetime(uint32_t lifetime) [member function] - cls.add_method('SetLifetime', - 'void', - [param('uint32_t', 'lifetime')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetMetric(uint32_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetOriginatorAddress(ns3::Mac48Address originator_address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Mac48Address', 'originator_address')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetOriginatorSeqNumber(uint32_t originator_seq_number) [member function] - cls.add_method('SetOriginatorSeqNumber', - 'void', - [param('uint32_t', 'originator_seq_number')]) - ## ie-dot11s-prep.h: void ns3::dot11s::IePrep::SetTtl(uint8_t ttl) [member function] - cls.add_method('SetTtl', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3Dot11sIePreq_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-preq.h: ns3::dot11s::IePreq::IePreq(ns3::dot11s::IePreq const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IePreq const &', 'arg0')]) - ## ie-dot11s-preq.h: ns3::dot11s::IePreq::IePreq() [constructor] - cls.add_constructor([]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::AddDestinationAddressElement(bool doFlag, bool rfFlag, ns3::Mac48Address dest_address, uint32_t dest_seq_number) [member function] - cls.add_method('AddDestinationAddressElement', - 'void', - [param('bool', 'doFlag'), param('bool', 'rfFlag'), param('ns3::Mac48Address', 'dest_address'), param('uint32_t', 'dest_seq_number')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::ClearDestinationAddressElements() [member function] - cls.add_method('ClearDestinationAddressElements', - 'void', - []) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::DecrementTtl() [member function] - cls.add_method('DecrementTtl', - 'void', - []) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::DelDestinationAddressElement(ns3::Mac48Address dest_address) [member function] - cls.add_method('DelDestinationAddressElement', - 'void', - [param('ns3::Mac48Address', 'dest_address')]) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::DeserializeInformationField(ns3::Buffer::Iterator i, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'i'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-preq.h: ns3::WifiInformationElementId ns3::dot11s::IePreq::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::GetDestCount() const [member function] - cls.add_method('GetDestCount', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-preq.h: std::vector, std::allocator > > ns3::dot11s::IePreq::GetDestinationList() [member function] - cls.add_method('GetDestinationList', - 'std::vector< ns3::Ptr< ns3::dot11s::DestinationAddressUnit > >', - []) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::IePreq::GetLifetime() const [member function] - cls.add_method('GetLifetime', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::IePreq::GetMetric() const [member function] - cls.add_method('GetMetric', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: ns3::Mac48Address ns3::dot11s::IePreq::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::IePreq::GetOriginatorSeqNumber() const [member function] - cls.add_method('GetOriginatorSeqNumber', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: uint32_t ns3::dot11s::IePreq::GetPreqID() const [member function] - cls.add_method('GetPreqID', - 'uint32_t', - [], - is_const=True) - ## ie-dot11s-preq.h: uint8_t ns3::dot11s::IePreq::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint8_t', - [], - is_const=True) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::IncrementMetric(uint32_t metric) [member function] - cls.add_method('IncrementMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-preq.h: bool ns3::dot11s::IePreq::IsFull() const [member function] - cls.add_method('IsFull', - 'bool', - [], - is_const=True) - ## ie-dot11s-preq.h: bool ns3::dot11s::IePreq::IsNeedNotPrep() const [member function] - cls.add_method('IsNeedNotPrep', - 'bool', - [], - is_const=True) - ## ie-dot11s-preq.h: bool ns3::dot11s::IePreq::IsUnicastPreq() const [member function] - cls.add_method('IsUnicastPreq', - 'bool', - [], - is_const=True) - ## ie-dot11s-preq.h: bool ns3::dot11s::IePreq::MayAddAddress(ns3::Mac48Address originator) [member function] - cls.add_method('MayAddAddress', - 'bool', - [param('ns3::Mac48Address', 'originator')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetDestCount(uint8_t dest_count) [member function] - cls.add_method('SetDestCount', - 'void', - [param('uint8_t', 'dest_count')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetHopcount(uint8_t hopcount) [member function] - cls.add_method('SetHopcount', - 'void', - [param('uint8_t', 'hopcount')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetLifetime(uint32_t lifetime) [member function] - cls.add_method('SetLifetime', - 'void', - [param('uint32_t', 'lifetime')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetMetric(uint32_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetNeedNotPrep() [member function] - cls.add_method('SetNeedNotPrep', - 'void', - []) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetOriginatorAddress(ns3::Mac48Address originator_address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Mac48Address', 'originator_address')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetOriginatorSeqNumber(uint32_t originator_seq_number) [member function] - cls.add_method('SetOriginatorSeqNumber', - 'void', - [param('uint32_t', 'originator_seq_number')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetPreqID(uint32_t id) [member function] - cls.add_method('SetPreqID', - 'void', - [param('uint32_t', 'id')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetTTL(uint8_t ttl) [member function] - cls.add_method('SetTTL', - 'void', - [param('uint8_t', 'ttl')]) - ## ie-dot11s-preq.h: void ns3::dot11s::IePreq::SetUnicastPreq() [member function] - cls.add_method('SetUnicastPreq', - 'void', - []) - return - -def register_Ns3Dot11sIeRann_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ie-dot11s-rann.h: ns3::dot11s::IeRann::IeRann(ns3::dot11s::IeRann const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::IeRann const &', 'arg0')]) - ## ie-dot11s-rann.h: ns3::dot11s::IeRann::IeRann() [constructor] - cls.add_constructor([]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::DecrementTtl() [member function] - cls.add_method('DecrementTtl', - 'void', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ie-dot11s-rann.h: ns3::WifiInformationElementId ns3::dot11s::IeRann::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-rann.h: uint32_t ns3::dot11s::IeRann::GetDestSeqNumber() [member function] - cls.add_method('GetDestSeqNumber', - 'uint32_t', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::GetFlags() [member function] - cls.add_method('GetFlags', - 'uint8_t', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::GetHopcount() [member function] - cls.add_method('GetHopcount', - 'uint8_t', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ie-dot11s-rann.h: uint32_t ns3::dot11s::IeRann::GetMetric() [member function] - cls.add_method('GetMetric', - 'uint32_t', - []) - ## ie-dot11s-rann.h: ns3::Mac48Address ns3::dot11s::IeRann::GetOriginatorAddress() [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Mac48Address', - []) - ## ie-dot11s-rann.h: uint8_t ns3::dot11s::IeRann::GetTtl() [member function] - cls.add_method('GetTtl', - 'uint8_t', - []) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::IncrementMetric(uint32_t metric) [member function] - cls.add_method('IncrementMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SerializeInformationField(ns3::Buffer::Iterator i) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True, is_virtual=True) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetDestSeqNumber(uint32_t dest_seq_number) [member function] - cls.add_method('SetDestSeqNumber', - 'void', - [param('uint32_t', 'dest_seq_number')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetFlags(uint8_t flags) [member function] - cls.add_method('SetFlags', - 'void', - [param('uint8_t', 'flags')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetHopcount(uint8_t hopcount) [member function] - cls.add_method('SetHopcount', - 'void', - [param('uint8_t', 'hopcount')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetMetric(uint32_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'metric')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetOriginatorAddress(ns3::Mac48Address originator_address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Mac48Address', 'originator_address')]) - ## ie-dot11s-rann.h: void ns3::dot11s::IeRann::SetTTL(uint8_t ttl) [member function] - cls.add_method('SetTTL', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3Dot11sMeshHeader_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## dot11s-mac-header.h: ns3::dot11s::MeshHeader::MeshHeader(ns3::dot11s::MeshHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::MeshHeader const &', 'arg0')]) - ## dot11s-mac-header.h: ns3::dot11s::MeshHeader::MeshHeader() [constructor] - cls.add_constructor([]) - ## dot11s-mac-header.h: uint32_t ns3::dot11s::MeshHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## dot11s-mac-header.h: ns3::Mac48Address ns3::dot11s::MeshHeader::GetAddr4() const [member function] - cls.add_method('GetAddr4', - 'ns3::Mac48Address', - [], - is_const=True) - ## dot11s-mac-header.h: ns3::Mac48Address ns3::dot11s::MeshHeader::GetAddr5() const [member function] - cls.add_method('GetAddr5', - 'ns3::Mac48Address', - [], - is_const=True) - ## dot11s-mac-header.h: ns3::Mac48Address ns3::dot11s::MeshHeader::GetAddr6() const [member function] - cls.add_method('GetAddr6', - 'ns3::Mac48Address', - [], - is_const=True) - ## dot11s-mac-header.h: uint8_t ns3::dot11s::MeshHeader::GetAddressExt() const [member function] - cls.add_method('GetAddressExt', - 'uint8_t', - [], - is_const=True) - ## dot11s-mac-header.h: ns3::TypeId ns3::dot11s::MeshHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## dot11s-mac-header.h: uint32_t ns3::dot11s::MeshHeader::GetMeshSeqno() const [member function] - cls.add_method('GetMeshSeqno', - 'uint32_t', - [], - is_const=True) - ## dot11s-mac-header.h: uint8_t ns3::dot11s::MeshHeader::GetMeshTtl() const [member function] - cls.add_method('GetMeshTtl', - 'uint8_t', - [], - is_const=True) - ## dot11s-mac-header.h: uint32_t ns3::dot11s::MeshHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dot11s-mac-header.h: static ns3::TypeId ns3::dot11s::MeshHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetAddr4(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr4', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetAddr5(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr5', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetAddr6(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr6', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetAddressExt(uint8_t num_of_addresses) [member function] - cls.add_method('SetAddressExt', - 'void', - [param('uint8_t', 'num_of_addresses')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetMeshSeqno(uint32_t seqno) [member function] - cls.add_method('SetMeshSeqno', - 'void', - [param('uint32_t', 'seqno')]) - ## dot11s-mac-header.h: void ns3::dot11s::MeshHeader::SetMeshTtl(uint8_t TTL) [member function] - cls.add_method('SetMeshTtl', - 'void', - [param('uint8_t', 'TTL')]) - return - -def register_Ns3Dot11sPeerLink_methods(root_module, cls): - ## peer-link.h: static ns3::TypeId ns3::dot11s::PeerLink::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## peer-link.h: ns3::dot11s::PeerLink::PeerLink() [constructor] - cls.add_constructor([]) - ## peer-link.h: void ns3::dot11s::PeerLink::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconInformation(ns3::Time lastBeacon, ns3::Time BeaconInterval) [member function] - cls.add_method('SetBeaconInformation', - 'void', - [param('ns3::Time', 'lastBeacon'), param('ns3::Time', 'BeaconInterval')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetLinkStatusCallback(ns3::Callback cb) [member function] - cls.add_method('SetLinkStatusCallback', - 'void', - [param('ns3::Callback< void, unsigned int, ns3::Mac48Address, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetPeerAddress(ns3::Mac48Address macaddr) [member function] - cls.add_method('SetPeerAddress', - 'void', - [param('ns3::Mac48Address', 'macaddr')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetPeerMeshPointAddress(ns3::Mac48Address macaddr) [member function] - cls.add_method('SetPeerMeshPointAddress', - 'void', - [param('ns3::Mac48Address', 'macaddr')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetInterface(uint32_t interface) [member function] - cls.add_method('SetInterface', - 'void', - [param('uint32_t', 'interface')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetLocalLinkId(uint16_t id) [member function] - cls.add_method('SetLocalLinkId', - 'void', - [param('uint16_t', 'id')]) - ## peer-link.h: void ns3::dot11s::PeerLink::SetLocalAid(uint16_t aid) [member function] - cls.add_method('SetLocalAid', - 'void', - [param('uint16_t', 'aid')]) - ## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetPeerAid() const [member function] - cls.add_method('GetPeerAid', - 'uint16_t', - [], - is_const=True) - ## peer-link.h: void ns3::dot11s::PeerLink::SetBeaconTimingElement(ns3::dot11s::IeBeaconTiming beaconTiming) [member function] - cls.add_method('SetBeaconTimingElement', - 'void', - [param('ns3::dot11s::IeBeaconTiming', 'beaconTiming')]) - ## peer-link.h: ns3::Mac48Address ns3::dot11s::PeerLink::GetPeerAddress() const [member function] - cls.add_method('GetPeerAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## peer-link.h: uint16_t ns3::dot11s::PeerLink::GetLocalAid() const [member function] - cls.add_method('GetLocalAid', - 'uint16_t', - [], - is_const=True) - ## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetLastBeacon() const [member function] - cls.add_method('GetLastBeacon', - 'ns3::Time', - [], - is_const=True) - ## peer-link.h: ns3::Time ns3::dot11s::PeerLink::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'ns3::Time', - [], - is_const=True) - ## peer-link.h: ns3::dot11s::IeBeaconTiming ns3::dot11s::PeerLink::GetBeaconTimingElement() const [member function] - cls.add_method('GetBeaconTimingElement', - 'ns3::dot11s::IeBeaconTiming', - [], - is_const=True) - ## peer-link.h: void ns3::dot11s::PeerLink::MLMECancelPeerLink(ns3::dot11s::PmpReasonCode reason) [member function] - cls.add_method('MLMECancelPeerLink', - 'void', - [param('ns3::dot11s::PmpReasonCode', 'reason')]) - ## peer-link.h: void ns3::dot11s::PeerLink::MLMEActivePeerLinkOpen() [member function] - cls.add_method('MLMEActivePeerLinkOpen', - 'void', - []) - ## peer-link.h: void ns3::dot11s::PeerLink::MLMEPeeringRequestReject() [member function] - cls.add_method('MLMEPeeringRequestReject', - 'void', - []) - ## peer-link.h: void ns3::dot11s::PeerLink::MLMESetSignalStatusCallback(ns3::Callback arg0) [member function] - cls.add_method('MLMESetSignalStatusCallback', - 'void', - [param('ns3::Callback< void, unsigned int, ns3::Mac48Address, ns3::Mac48Address, ns3::dot11s::PeerLink::PeerState, ns3::dot11s::PeerLink::PeerState, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')]) - ## peer-link.h: void ns3::dot11s::PeerLink::TransmissionSuccess() [member function] - cls.add_method('TransmissionSuccess', - 'void', - []) - ## peer-link.h: void ns3::dot11s::PeerLink::TransmissionFailure() [member function] - cls.add_method('TransmissionFailure', - 'void', - []) - ## peer-link.h: void ns3::dot11s::PeerLink::Report(std::ostream & os) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - return - -def register_Ns3Dot11sPeerLinkFrameStart_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PeerLinkFrameStart() [constructor] - cls.add_constructor([]) - ## peer-link-frame.h: uint32_t ns3::dot11s::PeerLinkFrameStart::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields ns3::dot11s::PeerLinkFrameStart::GetFields() const [member function] - cls.add_method('GetFields', - 'ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields', - [], - is_const=True) - ## peer-link-frame.h: ns3::TypeId ns3::dot11s::PeerLinkFrameStart::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## peer-link-frame.h: uint32_t ns3::dot11s::PeerLinkFrameStart::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## peer-link-frame.h: static ns3::TypeId ns3::dot11s::PeerLinkFrameStart::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## peer-link-frame.h: void ns3::dot11s::PeerLinkFrameStart::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## peer-link-frame.h: void ns3::dot11s::PeerLinkFrameStart::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## peer-link-frame.h: void ns3::dot11s::PeerLinkFrameStart::SetPlinkFrameStart(ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields arg0) [member function] - cls.add_method('SetPlinkFrameStart', - 'void', - [param('ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields', 'arg0')]) - ## peer-link-frame.h: void ns3::dot11s::PeerLinkFrameStart::SetPlinkFrameSubtype(uint8_t subtype) [member function] - cls.add_method('SetPlinkFrameSubtype', - 'void', - [param('uint8_t', 'subtype')]) - return - -def register_Ns3Dot11sPeerLinkFrameStartPlinkFrameStartFields_methods(root_module, cls): - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::PlinkFrameStartFields() [constructor] - cls.add_constructor([]) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::PlinkFrameStartFields(ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields const & arg0) [copy constructor] - cls.add_constructor([param('ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields const &', 'arg0')]) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::aid [variable] - cls.add_instance_attribute('aid', 'uint16_t', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::capability [variable] - cls.add_instance_attribute('capability', 'uint16_t', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::config [variable] - cls.add_instance_attribute('config', 'ns3::dot11s::IeConfiguration', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::meshId [variable] - cls.add_instance_attribute('meshId', 'ns3::dot11s::IeMeshId', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::protocol [variable] - cls.add_instance_attribute('protocol', 'ns3::dot11s::IePeeringProtocol', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::rates [variable] - cls.add_instance_attribute('rates', 'ns3::SupportedRates', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::reasonCode [variable] - cls.add_instance_attribute('reasonCode', 'uint16_t', is_const=False) - ## peer-link-frame.h: ns3::dot11s::PeerLinkFrameStart::PlinkFrameStartFields::subtype [variable] - cls.add_instance_attribute('subtype', 'uint8_t', is_const=False) - return - -def register_Ns3Dot11sPeerManagementProtocol_methods(root_module, cls): - ## peer-management-protocol.h: ns3::dot11s::PeerManagementProtocol::PeerManagementProtocol() [constructor] - cls.add_constructor([]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ConfigurationMismatch(uint32_t interface, ns3::Mac48Address peerAddress) [member function] - cls.add_method('ConfigurationMismatch', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::FindPeerLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function] - cls.add_method('FindPeerLink', - 'ns3::Ptr< ns3::dot11s::PeerLink >', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) - ## peer-management-protocol.h: ns3::Mac48Address ns3::dot11s::PeerManagementProtocol::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - []) - ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::GetBeaconCollisionAvoidance() const [member function] - cls.add_method('GetBeaconCollisionAvoidance', - 'bool', - [], - is_const=True) - ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::GetBeaconTimingElement(uint32_t interface) [member function] - cls.add_method('GetBeaconTimingElement', - 'ns3::Ptr< ns3::dot11s::IeBeaconTiming >', - [param('uint32_t', 'interface')]) - ## peer-management-protocol.h: ns3::Ptr ns3::dot11s::PeerManagementProtocol::GetMeshId() const [member function] - cls.add_method('GetMeshId', - 'ns3::Ptr< ns3::dot11s::IeMeshId >', - [], - is_const=True) - ## peer-management-protocol.h: uint8_t ns3::dot11s::PeerManagementProtocol::GetNumberOfLinks() [member function] - cls.add_method('GetNumberOfLinks', - 'uint8_t', - []) - ## peer-management-protocol.h: std::vector,std::allocator > > ns3::dot11s::PeerManagementProtocol::GetPeerLinks() const [member function] - cls.add_method('GetPeerLinks', - 'std::vector< ns3::Ptr< ns3::dot11s::PeerLink > >', - [], - is_const=True) - ## peer-management-protocol.h: std::vector > ns3::dot11s::PeerManagementProtocol::GetPeers(uint32_t interface) const [member function] - cls.add_method('GetPeers', - 'std::vector< ns3::Mac48Address >', - [param('uint32_t', 'interface')], - is_const=True) - ## peer-management-protocol.h: static ns3::TypeId ns3::dot11s::PeerManagementProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::Install(ns3::Ptr arg0) [member function] - cls.add_method('Install', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) - ## peer-management-protocol.h: bool ns3::dot11s::PeerManagementProtocol::IsActiveLink(uint32_t interface, ns3::Mac48Address peerAddress) [member function] - cls.add_method('IsActiveLink', - 'bool', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::NotifyBeaconSent(uint32_t interface, ns3::Time beaconInterval) [member function] - cls.add_method('NotifyBeaconSent', - 'void', - [param('uint32_t', 'interface'), param('ns3::Time', 'beaconInterval')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceiveBeacon(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Time beaconInterval, ns3::Ptr beaconTiming) [member function] - cls.add_method('ReceiveBeacon', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Time', 'beaconInterval'), param('ns3::Ptr< ns3::dot11s::IeBeaconTiming >', 'beaconTiming')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ReceivePeerLinkFrame(uint32_t interface, ns3::Mac48Address peerAddress, ns3::Mac48Address peerMeshPointAddress, uint16_t aid, ns3::dot11s::IePeerManagement peerManagementElement, ns3::dot11s::IeConfiguration meshConfig) [member function] - cls.add_method('ReceivePeerLinkFrame', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address', 'peerAddress'), param('ns3::Mac48Address', 'peerMeshPointAddress'), param('uint16_t', 'aid'), param('ns3::dot11s::IePeerManagement', 'peerManagementElement'), param('ns3::dot11s::IeConfiguration', 'meshConfig')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetBeaconCollisionAvoidance(bool enable) [member function] - cls.add_method('SetBeaconCollisionAvoidance', - 'void', - [param('bool', 'enable')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetMeshId(std::string s) [member function] - cls.add_method('SetMeshId', - 'void', - [param('std::string', 's')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::SetPeerLinkStatusCallback(ns3::Callback cb) [member function] - cls.add_method('SetPeerLinkStatusCallback', - 'void', - [param('ns3::Callback< void, ns3::Mac48Address, ns3::Mac48Address, unsigned int, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionFailure(uint32_t interface, ns3::Mac48Address const peerAddress) [member function] - cls.add_method('TransmissionFailure', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')]) - ## peer-management-protocol.h: void ns3::dot11s::PeerManagementProtocol::TransmissionSuccess(uint32_t interface, ns3::Mac48Address const peerAddress) [member function] - cls.add_method('TransmissionSuccess', - 'void', - [param('uint32_t', 'interface'), param('ns3::Mac48Address const', 'peerAddress')]) - return - -def register_Ns3FlameFlameHeader_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## flame-header.h: ns3::flame::FlameHeader::FlameHeader(ns3::flame::FlameHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::flame::FlameHeader const &', 'arg0')]) - ## flame-header.h: ns3::flame::FlameHeader::FlameHeader() [constructor] - cls.add_constructor([]) - ## flame-header.h: void ns3::flame::FlameHeader::AddCost(uint8_t cost) [member function] - cls.add_method('AddCost', - 'void', - [param('uint8_t', 'cost')]) - ## flame-header.h: uint32_t ns3::flame::FlameHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## flame-header.h: uint8_t ns3::flame::FlameHeader::GetCost() const [member function] - cls.add_method('GetCost', - 'uint8_t', - [], - is_const=True) - ## flame-header.h: ns3::TypeId ns3::flame::FlameHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## flame-header.h: ns3::Mac48Address ns3::flame::FlameHeader::GetOrigDst() const [member function] - cls.add_method('GetOrigDst', - 'ns3::Mac48Address', - [], - is_const=True) - ## flame-header.h: ns3::Mac48Address ns3::flame::FlameHeader::GetOrigSrc() const [member function] - cls.add_method('GetOrigSrc', - 'ns3::Mac48Address', - [], - is_const=True) - ## flame-header.h: uint16_t ns3::flame::FlameHeader::GetProtocol() const [member function] - cls.add_method('GetProtocol', - 'uint16_t', - [], - is_const=True) - ## flame-header.h: uint16_t ns3::flame::FlameHeader::GetSeqno() const [member function] - cls.add_method('GetSeqno', - 'uint16_t', - [], - is_const=True) - ## flame-header.h: uint32_t ns3::flame::FlameHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## flame-header.h: static ns3::TypeId ns3::flame::FlameHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-header.h: void ns3::flame::FlameHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## flame-header.h: void ns3::flame::FlameHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## flame-header.h: void ns3::flame::FlameHeader::SetOrigDst(ns3::Mac48Address dst) [member function] - cls.add_method('SetOrigDst', - 'void', - [param('ns3::Mac48Address', 'dst')]) - ## flame-header.h: void ns3::flame::FlameHeader::SetOrigSrc(ns3::Mac48Address OrigSrc) [member function] - cls.add_method('SetOrigSrc', - 'void', - [param('ns3::Mac48Address', 'OrigSrc')]) - ## flame-header.h: void ns3::flame::FlameHeader::SetProtocol(uint16_t protocol) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint16_t', 'protocol')]) - ## flame-header.h: void ns3::flame::FlameHeader::SetSeqno(uint16_t seqno) [member function] - cls.add_method('SetSeqno', - 'void', - [param('uint16_t', 'seqno')]) - return - -def register_Ns3FlameFlameProtocol_methods(root_module, cls): - ## flame-protocol.h: ns3::flame::FlameProtocol::FlameProtocol() [constructor] - cls.add_constructor([]) - ## flame-protocol.h: void ns3::flame::FlameProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## flame-protocol.h: ns3::Mac48Address ns3::flame::FlameProtocol::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - []) - ## flame-protocol.h: static ns3::TypeId ns3::flame::FlameProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-protocol.h: bool ns3::flame::FlameProtocol::Install(ns3::Ptr arg0) [member function] - cls.add_method('Install', - 'bool', - [param('ns3::Ptr< ns3::MeshPointDevice >', 'arg0')]) - ## flame-protocol.h: bool ns3::flame::FlameProtocol::RemoveRoutingStuff(uint32_t fromIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t & protocolType) [member function] - cls.add_method('RemoveRoutingStuff', - 'bool', - [param('uint32_t', 'fromIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t &', 'protocolType')], - is_virtual=True) - ## flame-protocol.h: void ns3::flame::FlameProtocol::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## flame-protocol.h: bool ns3::flame::FlameProtocol::RequestRoute(uint32_t sourceIface, ns3::Mac48Address const source, ns3::Mac48Address const destination, ns3::Ptr packet, uint16_t protocolType, ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty> routeReply) [member function] - cls.add_method('RequestRoute', - 'bool', - [param('uint32_t', 'sourceIface'), param('ns3::Mac48Address const', 'source'), param('ns3::Mac48Address const', 'destination'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocolType'), param('ns3::Callback< void, bool, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, unsigned short, unsigned int, ns3::empty, ns3::empty, ns3::empty >', 'routeReply')], - is_virtual=True) - ## flame-protocol.h: void ns3::flame::FlameProtocol::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - return - -def register_Ns3FlameFlameProtocolMac_methods(root_module, cls): - ## flame-protocol-mac.h: ns3::flame::FlameProtocolMac::FlameProtocolMac(ns3::flame::FlameProtocolMac const & arg0) [copy constructor] - cls.add_constructor([param('ns3::flame::FlameProtocolMac const &', 'arg0')]) - ## flame-protocol-mac.h: ns3::flame::FlameProtocolMac::FlameProtocolMac(uint32_t arg0, ns3::Ptr arg1) [constructor] - cls.add_constructor([param('uint32_t', 'arg0'), param('ns3::Ptr< ns3::flame::FlameProtocol >', 'arg1')]) - ## flame-protocol-mac.h: uint16_t ns3::flame::FlameProtocolMac::GetChannelId() const [member function] - cls.add_method('GetChannelId', - 'uint16_t', - [], - is_const=True) - ## flame-protocol-mac.h: bool ns3::flame::FlameProtocolMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const & header) [member function] - cls.add_method('Receive', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const &', 'header')], - is_virtual=True) - ## flame-protocol-mac.h: void ns3::flame::FlameProtocolMac::Report(std::ostream & arg0) const [member function] - cls.add_method('Report', - 'void', - [param('std::ostream &', 'arg0')], - is_const=True) - ## flame-protocol-mac.h: void ns3::flame::FlameProtocolMac::ResetStats() [member function] - cls.add_method('ResetStats', - 'void', - []) - ## flame-protocol-mac.h: void ns3::flame::FlameProtocolMac::SetParent(ns3::Ptr parent) [member function] - cls.add_method('SetParent', - 'void', - [param('ns3::Ptr< ns3::MeshWifiInterfaceMac >', 'parent')], - is_virtual=True) - ## flame-protocol-mac.h: void ns3::flame::FlameProtocolMac::UpdateBeacon(ns3::MeshWifiBeacon & beacon) const [member function] - cls.add_method('UpdateBeacon', - 'void', - [param('ns3::MeshWifiBeacon &', 'beacon')], - is_const=True, is_virtual=True) - ## flame-protocol-mac.h: bool ns3::flame::FlameProtocolMac::UpdateOutcomingFrame(ns3::Ptr packet, ns3::WifiMacHeader & header, ns3::Mac48Address from, ns3::Mac48Address to) [member function] - cls.add_method('UpdateOutcomingFrame', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader &', 'header'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - return - -def register_Ns3FlameFlameRtable_methods(root_module, cls): - ## flame-rtable.h: ns3::flame::FlameRtable::FlameRtable() [constructor] - cls.add_constructor([]) - ## flame-rtable.h: void ns3::flame::FlameRtable::AddPath(ns3::Mac48Address const destination, ns3::Mac48Address const retransmitter, uint32_t const interface, uint8_t const cost, uint16_t const seqnum) [member function] - cls.add_method('AddPath', - 'void', - [param('ns3::Mac48Address const', 'destination'), param('ns3::Mac48Address const', 'retransmitter'), param('uint32_t const', 'interface'), param('uint8_t const', 'cost'), param('uint16_t const', 'seqnum')]) - ## flame-rtable.h: void ns3::flame::FlameRtable::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## flame-rtable.h: static ns3::TypeId ns3::flame::FlameRtable::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult ns3::flame::FlameRtable::Lookup(ns3::Mac48Address destination) [member function] - cls.add_method('Lookup', - 'ns3::flame::FlameRtable::LookupResult', - [param('ns3::Mac48Address', 'destination')]) - ## flame-rtable.h: ns3::flame::FlameRtable::INTERFACE_ANY [variable] - cls.add_static_attribute('INTERFACE_ANY', 'uint32_t const', is_const=True) - ## flame-rtable.h: ns3::flame::FlameRtable::MAX_COST [variable] - cls.add_static_attribute('MAX_COST', 'uint32_t const', is_const=True) - return - -def register_Ns3FlameFlameRtableLookupResult_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::LookupResult(ns3::flame::FlameRtable::LookupResult const & arg0) [copy constructor] - cls.add_constructor([param('ns3::flame::FlameRtable::LookupResult const &', 'arg0')]) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::LookupResult(ns3::Mac48Address r=ns3::Mac48Address::GetBroadcast(), uint32_t i=ns3::flame::FlameRtable::INTERFACE_ANY, uint8_t c=ns3::flame::FlameRtable::MAX_COST, uint16_t s=0) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'r', default_value='ns3::Mac48Address::GetBroadcast()'), param('uint32_t', 'i', default_value='ns3::flame::FlameRtable::INTERFACE_ANY'), param('uint8_t', 'c', default_value='ns3::flame::FlameRtable::MAX_COST'), param('uint16_t', 's', default_value='0')]) - ## flame-rtable.h: bool ns3::flame::FlameRtable::LookupResult::IsValid() const [member function] - cls.add_method('IsValid', - 'bool', - [], - is_const=True) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::cost [variable] - cls.add_instance_attribute('cost', 'uint8_t', is_const=False) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::ifIndex [variable] - cls.add_instance_attribute('ifIndex', 'uint32_t', is_const=False) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::retransmitter [variable] - cls.add_instance_attribute('retransmitter', 'ns3::Mac48Address', is_const=False) - ## flame-rtable.h: ns3::flame::FlameRtable::LookupResult::seqnum [variable] - cls.add_instance_attribute('seqnum', 'uint16_t', is_const=False) - return - -def register_Ns3FlameFlameTag_methods(root_module, cls): - ## flame-protocol.h: ns3::flame::FlameTag::FlameTag(ns3::flame::FlameTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::flame::FlameTag const &', 'arg0')]) - ## flame-protocol.h: ns3::flame::FlameTag::FlameTag(ns3::Mac48Address a=ns3::Mac48Address()) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'a', default_value='ns3::Mac48Address()')]) - ## flame-protocol.h: void ns3::flame::FlameTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## flame-protocol.h: ns3::TypeId ns3::flame::FlameTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## flame-protocol.h: uint32_t ns3::flame::FlameTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## flame-protocol.h: static ns3::TypeId ns3::flame::FlameTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flame-protocol.h: void ns3::flame::FlameTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## flame-protocol.h: void ns3::flame::FlameTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## flame-protocol.h: ns3::flame::FlameTag::receiver [variable] - cls.add_instance_attribute('receiver', 'ns3::Mac48Address', is_const=False) - ## flame-protocol.h: ns3::flame::FlameTag::transmitter [variable] - cls.add_instance_attribute('transmitter', 'ns3::Mac48Address', is_const=False) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - ## ie-dot11s-id.h: extern ns3::Ptr ns3::dot11s::MakeIeMeshIdChecker() [free function] - module.add_function('MakeIeMeshIdChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py b/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py deleted file mode 100644 index 62ffee68e..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_mobility.py +++ /dev/null @@ -1,1217 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## box.h: ns3::Box [class] - module.add_class('Box') - ## box.h: ns3::Box::Side [enumeration] - module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM', 'UP', 'DOWN'], outer_class=root_module['ns3::Box']) - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper [class] - module.add_class('ConstantVelocityHelper') - ## mobility-helper.h: ns3::MobilityHelper [class] - module.add_class('MobilityHelper') - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper [class] - module.add_class('Ns2MobilityHelper') - ## rectangle.h: ns3::Rectangle [class] - module.add_class('Rectangle') - ## rectangle.h: ns3::Rectangle::Side [enumeration] - module.add_enum('Side', ['RIGHT', 'LEFT', 'TOP', 'BOTTOM'], outer_class=root_module['ns3::Rectangle']) - ## waypoint.h: ns3::Waypoint [class] - module.add_class('Waypoint') - ## position-allocator.h: ns3::PositionAllocator [class] - module.add_class('PositionAllocator', parent=root_module['ns3::Object']) - ## position-allocator.h: ns3::RandomBoxPositionAllocator [class] - module.add_class('RandomBoxPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## position-allocator.h: ns3::RandomDiscPositionAllocator [class] - module.add_class('RandomDiscPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## position-allocator.h: ns3::RandomRectanglePositionAllocator [class] - module.add_class('RandomRectanglePositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## position-allocator.h: ns3::UniformDiscPositionAllocator [class] - module.add_class('UniformDiscPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## box.h: ns3::BoxChecker [class] - module.add_class('BoxChecker', parent=root_module['ns3::AttributeChecker']) - ## box.h: ns3::BoxValue [class] - module.add_class('BoxValue', parent=root_module['ns3::AttributeValue']) - ## position-allocator.h: ns3::GridPositionAllocator [class] - module.add_class('GridPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## position-allocator.h: ns3::GridPositionAllocator::LayoutType [enumeration] - module.add_enum('LayoutType', ['ROW_FIRST', 'COLUMN_FIRST'], outer_class=root_module['ns3::GridPositionAllocator']) - ## position-allocator.h: ns3::ListPositionAllocator [class] - module.add_class('ListPositionAllocator', parent=root_module['ns3::PositionAllocator']) - ## mobility-model.h: ns3::MobilityModel [class] - module.add_class('MobilityModel', parent=root_module['ns3::Object']) - ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel [class] - module.add_class('RandomDirection2dMobilityModel', parent=root_module['ns3::MobilityModel']) - ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel [class] - module.add_class('RandomWalk2dMobilityModel', parent=root_module['ns3::MobilityModel']) - ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::Mode [enumeration] - module.add_enum('Mode', ['MODE_DISTANCE', 'MODE_TIME'], outer_class=root_module['ns3::RandomWalk2dMobilityModel']) - ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel [class] - module.add_class('RandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel']) - ## rectangle.h: ns3::RectangleChecker [class] - module.add_class('RectangleChecker', parent=root_module['ns3::AttributeChecker']) - ## rectangle.h: ns3::RectangleValue [class] - module.add_class('RectangleValue', parent=root_module['ns3::AttributeValue']) - ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel [class] - module.add_class('SteadyStateRandomWaypointMobilityModel', parent=root_module['ns3::MobilityModel']) - ## waypoint.h: ns3::WaypointChecker [class] - module.add_class('WaypointChecker', parent=root_module['ns3::AttributeChecker']) - ## waypoint-mobility-model.h: ns3::WaypointMobilityModel [class] - module.add_class('WaypointMobilityModel', parent=root_module['ns3::MobilityModel']) - ## waypoint.h: ns3::WaypointValue [class] - module.add_class('WaypointValue', parent=root_module['ns3::AttributeValue']) - ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel [class] - module.add_class('ConstantAccelerationMobilityModel', parent=root_module['ns3::MobilityModel']) - ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel [class] - module.add_class('ConstantPositionMobilityModel', parent=root_module['ns3::MobilityModel']) - ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel [class] - module.add_class('ConstantVelocityMobilityModel', parent=root_module['ns3::MobilityModel']) - ## gauss-markov-mobility-model.h: ns3::GaussMarkovMobilityModel [class] - module.add_class('GaussMarkovMobilityModel', parent=root_module['ns3::MobilityModel']) - ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel [class] - module.add_class('HierarchicalMobilityModel', parent=root_module['ns3::MobilityModel']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Box_methods(root_module, root_module['ns3::Box']) - register_Ns3ConstantVelocityHelper_methods(root_module, root_module['ns3::ConstantVelocityHelper']) - register_Ns3MobilityHelper_methods(root_module, root_module['ns3::MobilityHelper']) - register_Ns3Ns2MobilityHelper_methods(root_module, root_module['ns3::Ns2MobilityHelper']) - register_Ns3Rectangle_methods(root_module, root_module['ns3::Rectangle']) - register_Ns3Waypoint_methods(root_module, root_module['ns3::Waypoint']) - register_Ns3PositionAllocator_methods(root_module, root_module['ns3::PositionAllocator']) - register_Ns3RandomBoxPositionAllocator_methods(root_module, root_module['ns3::RandomBoxPositionAllocator']) - register_Ns3RandomDiscPositionAllocator_methods(root_module, root_module['ns3::RandomDiscPositionAllocator']) - register_Ns3RandomRectanglePositionAllocator_methods(root_module, root_module['ns3::RandomRectanglePositionAllocator']) - register_Ns3UniformDiscPositionAllocator_methods(root_module, root_module['ns3::UniformDiscPositionAllocator']) - register_Ns3BoxChecker_methods(root_module, root_module['ns3::BoxChecker']) - register_Ns3BoxValue_methods(root_module, root_module['ns3::BoxValue']) - register_Ns3GridPositionAllocator_methods(root_module, root_module['ns3::GridPositionAllocator']) - register_Ns3ListPositionAllocator_methods(root_module, root_module['ns3::ListPositionAllocator']) - register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) - register_Ns3RandomDirection2dMobilityModel_methods(root_module, root_module['ns3::RandomDirection2dMobilityModel']) - register_Ns3RandomWalk2dMobilityModel_methods(root_module, root_module['ns3::RandomWalk2dMobilityModel']) - register_Ns3RandomWaypointMobilityModel_methods(root_module, root_module['ns3::RandomWaypointMobilityModel']) - register_Ns3RectangleChecker_methods(root_module, root_module['ns3::RectangleChecker']) - register_Ns3RectangleValue_methods(root_module, root_module['ns3::RectangleValue']) - register_Ns3SteadyStateRandomWaypointMobilityModel_methods(root_module, root_module['ns3::SteadyStateRandomWaypointMobilityModel']) - register_Ns3WaypointChecker_methods(root_module, root_module['ns3::WaypointChecker']) - register_Ns3WaypointMobilityModel_methods(root_module, root_module['ns3::WaypointMobilityModel']) - register_Ns3WaypointValue_methods(root_module, root_module['ns3::WaypointValue']) - register_Ns3ConstantAccelerationMobilityModel_methods(root_module, root_module['ns3::ConstantAccelerationMobilityModel']) - register_Ns3ConstantPositionMobilityModel_methods(root_module, root_module['ns3::ConstantPositionMobilityModel']) - register_Ns3ConstantVelocityMobilityModel_methods(root_module, root_module['ns3::ConstantVelocityMobilityModel']) - register_Ns3GaussMarkovMobilityModel_methods(root_module, root_module['ns3::GaussMarkovMobilityModel']) - register_Ns3HierarchicalMobilityModel_methods(root_module, root_module['ns3::HierarchicalMobilityModel']) - return - -def register_Ns3Box_methods(root_module, cls): - cls.add_output_stream_operator() - ## box.h: ns3::Box::Box(ns3::Box const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Box const &', 'arg0')]) - ## box.h: ns3::Box::Box(double _xMin, double _xMax, double _yMin, double _yMax, double _zMin, double _zMax) [constructor] - cls.add_constructor([param('double', '_xMin'), param('double', '_xMax'), param('double', '_yMin'), param('double', '_yMax'), param('double', '_zMin'), param('double', '_zMax')]) - ## box.h: ns3::Box::Box() [constructor] - cls.add_constructor([]) - ## box.h: ns3::Vector ns3::Box::CalculateIntersection(ns3::Vector const & current, ns3::Vector const & speed) const [member function] - cls.add_method('CalculateIntersection', - 'ns3::Vector', - [param('ns3::Vector const &', 'current'), param('ns3::Vector const &', 'speed')], - is_const=True) - ## box.h: ns3::Box::Side ns3::Box::GetClosestSide(ns3::Vector const & position) const [member function] - cls.add_method('GetClosestSide', - 'ns3::Box::Side', - [param('ns3::Vector const &', 'position')], - is_const=True) - ## box.h: bool ns3::Box::IsInside(ns3::Vector const & position) const [member function] - cls.add_method('IsInside', - 'bool', - [param('ns3::Vector const &', 'position')], - is_const=True) - ## box.h: ns3::Box::xMax [variable] - cls.add_instance_attribute('xMax', 'double', is_const=False) - ## box.h: ns3::Box::xMin [variable] - cls.add_instance_attribute('xMin', 'double', is_const=False) - ## box.h: ns3::Box::yMax [variable] - cls.add_instance_attribute('yMax', 'double', is_const=False) - ## box.h: ns3::Box::yMin [variable] - cls.add_instance_attribute('yMin', 'double', is_const=False) - ## box.h: ns3::Box::zMax [variable] - cls.add_instance_attribute('zMax', 'double', is_const=False) - ## box.h: ns3::Box::zMin [variable] - cls.add_instance_attribute('zMin', 'double', is_const=False) - return - -def register_Ns3ConstantVelocityHelper_methods(root_module, cls): - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::ConstantVelocityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVelocityHelper const &', 'arg0')]) - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper() [constructor] - cls.add_constructor([]) - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::Vector const & position) [constructor] - cls.add_constructor([param('ns3::Vector const &', 'position')]) - ## constant-velocity-helper.h: ns3::ConstantVelocityHelper::ConstantVelocityHelper(ns3::Vector const & position, ns3::Vector const & vel) [constructor] - cls.add_constructor([param('ns3::Vector const &', 'position'), param('ns3::Vector const &', 'vel')]) - ## constant-velocity-helper.h: ns3::Vector ns3::ConstantVelocityHelper::GetCurrentPosition() const [member function] - cls.add_method('GetCurrentPosition', - 'ns3::Vector', - [], - is_const=True) - ## constant-velocity-helper.h: ns3::Vector ns3::ConstantVelocityHelper::GetVelocity() const [member function] - cls.add_method('GetVelocity', - 'ns3::Vector', - [], - is_const=True) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Pause() [member function] - cls.add_method('Pause', - 'void', - []) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::SetPosition(ns3::Vector const & position) [member function] - cls.add_method('SetPosition', - 'void', - [param('ns3::Vector const &', 'position')]) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::SetVelocity(ns3::Vector const & vel) [member function] - cls.add_method('SetVelocity', - 'void', - [param('ns3::Vector const &', 'vel')]) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Unpause() [member function] - cls.add_method('Unpause', - 'void', - []) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::Update() const [member function] - cls.add_method('Update', - 'void', - [], - is_const=True) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::UpdateWithBounds(ns3::Rectangle const & rectangle) const [member function] - cls.add_method('UpdateWithBounds', - 'void', - [param('ns3::Rectangle const &', 'rectangle')], - is_const=True) - ## constant-velocity-helper.h: void ns3::ConstantVelocityHelper::UpdateWithBounds(ns3::Box const & bounds) const [member function] - cls.add_method('UpdateWithBounds', - 'void', - [param('ns3::Box const &', 'bounds')], - is_const=True) - return - -def register_Ns3MobilityHelper_methods(root_module, cls): - ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper(ns3::MobilityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MobilityHelper const &', 'arg0')]) - ## mobility-helper.h: ns3::MobilityHelper::MobilityHelper() [constructor] - cls.add_constructor([]) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, uint32_t nodeid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('uint32_t', 'nodeid')], - is_static=True) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], - is_static=True) - ## mobility-helper.h: static void ns3::MobilityHelper::EnableAsciiAll(std::ostream & os) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::ostream &', 'os')], - is_static=True) - ## mobility-helper.h: std::string ns3::MobilityHelper::GetMobilityModelType() const [member function] - cls.add_method('GetMobilityModelType', - 'std::string', - [], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::Install(ns3::NodeContainer container) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'container')], - is_const=True) - ## mobility-helper.h: void ns3::MobilityHelper::InstallAll() [member function] - cls.add_method('InstallAll', - 'void', - []) - ## mobility-helper.h: void ns3::MobilityHelper::PopReferenceMobilityModel() [member function] - cls.add_method('PopReferenceMobilityModel', - 'void', - []) - ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(ns3::Ptr reference) [member function] - cls.add_method('PushReferenceMobilityModel', - 'void', - [param('ns3::Ptr< ns3::Object >', 'reference')]) - ## mobility-helper.h: void ns3::MobilityHelper::PushReferenceMobilityModel(std::string referenceName) [member function] - cls.add_method('PushReferenceMobilityModel', - 'void', - [param('std::string', 'referenceName')]) - ## mobility-helper.h: void ns3::MobilityHelper::SetMobilityModel(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetMobilityModel', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue const &', 'v8', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue const &', 'v9', default_value='ns3::EmptyAttributeValue()')]) - ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(ns3::Ptr allocator) [member function] - cls.add_method('SetPositionAllocator', - 'void', - [param('ns3::Ptr< ns3::PositionAllocator >', 'allocator')]) - ## mobility-helper.h: void ns3::MobilityHelper::SetPositionAllocator(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue(), std::string n8="", ns3::AttributeValue const & v8=ns3::EmptyAttributeValue(), std::string n9="", ns3::AttributeValue const & v9=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPositionAllocator', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n8', default_value='""'), param('ns3::AttributeValue const &', 'v8', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n9', default_value='""'), param('ns3::AttributeValue const &', 'v9', default_value='ns3::EmptyAttributeValue()')]) - return - -def register_Ns3Ns2MobilityHelper_methods(root_module, cls): - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(ns3::Ns2MobilityHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ns2MobilityHelper const &', 'arg0')]) - ## ns2-mobility-helper.h: ns3::Ns2MobilityHelper::Ns2MobilityHelper(std::string filename) [constructor] - cls.add_constructor([param('std::string', 'filename')]) - ## ns2-mobility-helper.h: void ns3::Ns2MobilityHelper::Install() const [member function] - cls.add_method('Install', - 'void', - [], - is_const=True) - return - -def register_Ns3Rectangle_methods(root_module, cls): - cls.add_output_stream_operator() - ## rectangle.h: ns3::Rectangle::Rectangle(ns3::Rectangle const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Rectangle const &', 'arg0')]) - ## rectangle.h: ns3::Rectangle::Rectangle(double _xMin, double _xMax, double _yMin, double _yMax) [constructor] - cls.add_constructor([param('double', '_xMin'), param('double', '_xMax'), param('double', '_yMin'), param('double', '_yMax')]) - ## rectangle.h: ns3::Rectangle::Rectangle() [constructor] - cls.add_constructor([]) - ## rectangle.h: ns3::Vector ns3::Rectangle::CalculateIntersection(ns3::Vector const & current, ns3::Vector const & speed) const [member function] - cls.add_method('CalculateIntersection', - 'ns3::Vector', - [param('ns3::Vector const &', 'current'), param('ns3::Vector const &', 'speed')], - is_const=True) - ## rectangle.h: ns3::Rectangle::Side ns3::Rectangle::GetClosestSide(ns3::Vector const & position) const [member function] - cls.add_method('GetClosestSide', - 'ns3::Rectangle::Side', - [param('ns3::Vector const &', 'position')], - is_const=True) - ## rectangle.h: bool ns3::Rectangle::IsInside(ns3::Vector const & position) const [member function] - cls.add_method('IsInside', - 'bool', - [param('ns3::Vector const &', 'position')], - is_const=True) - ## rectangle.h: ns3::Rectangle::xMax [variable] - cls.add_instance_attribute('xMax', 'double', is_const=False) - ## rectangle.h: ns3::Rectangle::xMin [variable] - cls.add_instance_attribute('xMin', 'double', is_const=False) - ## rectangle.h: ns3::Rectangle::yMax [variable] - cls.add_instance_attribute('yMax', 'double', is_const=False) - ## rectangle.h: ns3::Rectangle::yMin [variable] - cls.add_instance_attribute('yMin', 'double', is_const=False) - return - -def register_Ns3Waypoint_methods(root_module, cls): - cls.add_output_stream_operator() - ## waypoint.h: ns3::Waypoint::Waypoint(ns3::Waypoint const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Waypoint const &', 'arg0')]) - ## waypoint.h: ns3::Waypoint::Waypoint(ns3::Time const & waypointTime, ns3::Vector const & waypointPosition) [constructor] - cls.add_constructor([param('ns3::Time const &', 'waypointTime'), param('ns3::Vector const &', 'waypointPosition')]) - ## waypoint.h: ns3::Waypoint::Waypoint() [constructor] - cls.add_constructor([]) - ## waypoint.h: ns3::Waypoint::position [variable] - cls.add_instance_attribute('position', 'ns3::Vector', is_const=False) - ## waypoint.h: ns3::Waypoint::time [variable] - cls.add_instance_attribute('time', 'ns3::Time', is_const=False) - return - -def register_Ns3PositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::PositionAllocator::PositionAllocator(ns3::PositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::PositionAllocator::PositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::PositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::PositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3RandomBoxPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::RandomBoxPositionAllocator::RandomBoxPositionAllocator(ns3::RandomBoxPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomBoxPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::RandomBoxPositionAllocator::RandomBoxPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::RandomBoxPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::RandomBoxPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::RandomBoxPositionAllocator::SetX(ns3::RandomVariable x) [member function] - cls.add_method('SetX', - 'void', - [param('ns3::RandomVariable', 'x')]) - ## position-allocator.h: void ns3::RandomBoxPositionAllocator::SetY(ns3::RandomVariable y) [member function] - cls.add_method('SetY', - 'void', - [param('ns3::RandomVariable', 'y')]) - ## position-allocator.h: void ns3::RandomBoxPositionAllocator::SetZ(ns3::RandomVariable z) [member function] - cls.add_method('SetZ', - 'void', - [param('ns3::RandomVariable', 'z')]) - return - -def register_Ns3RandomDiscPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator(ns3::RandomDiscPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomDiscPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::RandomDiscPositionAllocator::RandomDiscPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::RandomDiscPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::RandomDiscPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetRho(ns3::RandomVariable rho) [member function] - cls.add_method('SetRho', - 'void', - [param('ns3::RandomVariable', 'rho')]) - ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetTheta(ns3::RandomVariable theta) [member function] - cls.add_method('SetTheta', - 'void', - [param('ns3::RandomVariable', 'theta')]) - ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetX(double x) [member function] - cls.add_method('SetX', - 'void', - [param('double', 'x')]) - ## position-allocator.h: void ns3::RandomDiscPositionAllocator::SetY(double y) [member function] - cls.add_method('SetY', - 'void', - [param('double', 'y')]) - return - -def register_Ns3RandomRectanglePositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator(ns3::RandomRectanglePositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomRectanglePositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::RandomRectanglePositionAllocator::RandomRectanglePositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::RandomRectanglePositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::RandomRectanglePositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetX(ns3::RandomVariable x) [member function] - cls.add_method('SetX', - 'void', - [param('ns3::RandomVariable', 'x')]) - ## position-allocator.h: void ns3::RandomRectanglePositionAllocator::SetY(ns3::RandomVariable y) [member function] - cls.add_method('SetY', - 'void', - [param('ns3::RandomVariable', 'y')]) - return - -def register_Ns3UniformDiscPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator(ns3::UniformDiscPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UniformDiscPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: ns3::Vector ns3::UniformDiscPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::UniformDiscPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetRho(double rho) [member function] - cls.add_method('SetRho', - 'void', - [param('double', 'rho')]) - ## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetX(double x) [member function] - cls.add_method('SetX', - 'void', - [param('double', 'x')]) - ## position-allocator.h: void ns3::UniformDiscPositionAllocator::SetY(double y) [member function] - cls.add_method('SetY', - 'void', - [param('double', 'y')]) - return - -def register_Ns3BoxChecker_methods(root_module, cls): - ## box.h: ns3::BoxChecker::BoxChecker() [constructor] - cls.add_constructor([]) - ## box.h: ns3::BoxChecker::BoxChecker(ns3::BoxChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BoxChecker const &', 'arg0')]) - return - -def register_Ns3BoxValue_methods(root_module, cls): - ## box.h: ns3::BoxValue::BoxValue() [constructor] - cls.add_constructor([]) - ## box.h: ns3::BoxValue::BoxValue(ns3::BoxValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BoxValue const &', 'arg0')]) - ## box.h: ns3::BoxValue::BoxValue(ns3::Box const & value) [constructor] - cls.add_constructor([param('ns3::Box const &', 'value')]) - ## box.h: ns3::Ptr ns3::BoxValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## box.h: bool ns3::BoxValue::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) - ## box.h: ns3::Box ns3::BoxValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Box', - [], - is_const=True) - ## box.h: std::string ns3::BoxValue::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) - ## box.h: void ns3::BoxValue::Set(ns3::Box const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Box const &', 'value')]) - return - -def register_Ns3GridPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator(ns3::GridPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GridPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::GridPositionAllocator::GridPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaX() const [member function] - cls.add_method('GetDeltaX', - 'double', - [], - is_const=True) - ## position-allocator.h: double ns3::GridPositionAllocator::GetDeltaY() const [member function] - cls.add_method('GetDeltaY', - 'double', - [], - is_const=True) - ## position-allocator.h: ns3::GridPositionAllocator::LayoutType ns3::GridPositionAllocator::GetLayoutType() const [member function] - cls.add_method('GetLayoutType', - 'ns3::GridPositionAllocator::LayoutType', - [], - is_const=True) - ## position-allocator.h: double ns3::GridPositionAllocator::GetMinX() const [member function] - cls.add_method('GetMinX', - 'double', - [], - is_const=True) - ## position-allocator.h: double ns3::GridPositionAllocator::GetMinY() const [member function] - cls.add_method('GetMinY', - 'double', - [], - is_const=True) - ## position-allocator.h: uint32_t ns3::GridPositionAllocator::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## position-allocator.h: ns3::Vector ns3::GridPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::GridPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaX(double deltaX) [member function] - cls.add_method('SetDeltaX', - 'void', - [param('double', 'deltaX')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetDeltaY(double deltaY) [member function] - cls.add_method('SetDeltaY', - 'void', - [param('double', 'deltaY')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetLayoutType(ns3::GridPositionAllocator::LayoutType layoutType) [member function] - cls.add_method('SetLayoutType', - 'void', - [param('ns3::GridPositionAllocator::LayoutType', 'layoutType')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetMinX(double xMin) [member function] - cls.add_method('SetMinX', - 'void', - [param('double', 'xMin')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetMinY(double yMin) [member function] - cls.add_method('SetMinY', - 'void', - [param('double', 'yMin')]) - ## position-allocator.h: void ns3::GridPositionAllocator::SetN(uint32_t n) [member function] - cls.add_method('SetN', - 'void', - [param('uint32_t', 'n')]) - return - -def register_Ns3ListPositionAllocator_methods(root_module, cls): - ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator(ns3::ListPositionAllocator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ListPositionAllocator const &', 'arg0')]) - ## position-allocator.h: ns3::ListPositionAllocator::ListPositionAllocator() [constructor] - cls.add_constructor([]) - ## position-allocator.h: void ns3::ListPositionAllocator::Add(ns3::Vector v) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Vector', 'v')]) - ## position-allocator.h: ns3::Vector ns3::ListPositionAllocator::GetNext() const [member function] - cls.add_method('GetNext', - 'ns3::Vector', - [], - is_const=True, is_virtual=True) - ## position-allocator.h: static ns3::TypeId ns3::ListPositionAllocator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3MobilityModel_methods(root_module, cls): - ## mobility-model.h: ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) - ## mobility-model.h: ns3::MobilityModel::MobilityModel() [constructor] - cls.add_constructor([]) - ## mobility-model.h: double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] - cls.add_method('GetDistanceFrom', - 'double', - [param('ns3::Ptr< ns3::MobilityModel const >', 'position')], - is_const=True) - ## mobility-model.h: ns3::Vector ns3::MobilityModel::GetPosition() const [member function] - cls.add_method('GetPosition', - 'ns3::Vector', - [], - is_const=True) - ## mobility-model.h: static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mobility-model.h: ns3::Vector ns3::MobilityModel::GetVelocity() const [member function] - cls.add_method('GetVelocity', - 'ns3::Vector', - [], - is_const=True) - ## mobility-model.h: void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function] - cls.add_method('SetPosition', - 'void', - [param('ns3::Vector const &', 'position')]) - ## mobility-model.h: void ns3::MobilityModel::NotifyCourseChange() const [member function] - cls.add_method('NotifyCourseChange', - 'void', - [], - is_const=True, visibility='protected') - ## mobility-model.h: ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## mobility-model.h: ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## mobility-model.h: void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3RandomDirection2dMobilityModel_methods(root_module, cls): - ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel() [constructor] - cls.add_constructor([]) - ## random-direction-2d-mobility-model.h: ns3::RandomDirection2dMobilityModel::RandomDirection2dMobilityModel(ns3::RandomDirection2dMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomDirection2dMobilityModel const &', 'arg0')]) - ## random-direction-2d-mobility-model.h: static ns3::TypeId ns3::RandomDirection2dMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## random-direction-2d-mobility-model.h: ns3::Vector ns3::RandomDirection2dMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-direction-2d-mobility-model.h: ns3::Vector ns3::RandomDirection2dMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - ## random-direction-2d-mobility-model.h: void ns3::RandomDirection2dMobilityModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RandomWalk2dMobilityModel_methods(root_module, cls): - ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel() [constructor] - cls.add_constructor([]) - ## random-walk-2d-mobility-model.h: ns3::RandomWalk2dMobilityModel::RandomWalk2dMobilityModel(ns3::RandomWalk2dMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomWalk2dMobilityModel const &', 'arg0')]) - ## random-walk-2d-mobility-model.h: static ns3::TypeId ns3::RandomWalk2dMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-walk-2d-mobility-model.h: ns3::Vector ns3::RandomWalk2dMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - ## random-walk-2d-mobility-model.h: void ns3::RandomWalk2dMobilityModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3RandomWaypointMobilityModel_methods(root_module, cls): - ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel() [constructor] - cls.add_constructor([]) - ## random-waypoint-mobility-model.h: ns3::RandomWaypointMobilityModel::RandomWaypointMobilityModel(ns3::RandomWaypointMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomWaypointMobilityModel const &', 'arg0')]) - ## random-waypoint-mobility-model.h: static ns3::TypeId ns3::RandomWaypointMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## random-waypoint-mobility-model.h: void ns3::RandomWaypointMobilityModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-waypoint-mobility-model.h: ns3::Vector ns3::RandomWaypointMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## random-waypoint-mobility-model.h: void ns3::RandomWaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3RectangleChecker_methods(root_module, cls): - ## rectangle.h: ns3::RectangleChecker::RectangleChecker() [constructor] - cls.add_constructor([]) - ## rectangle.h: ns3::RectangleChecker::RectangleChecker(ns3::RectangleChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RectangleChecker const &', 'arg0')]) - return - -def register_Ns3RectangleValue_methods(root_module, cls): - ## rectangle.h: ns3::RectangleValue::RectangleValue() [constructor] - cls.add_constructor([]) - ## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::RectangleValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RectangleValue const &', 'arg0')]) - ## rectangle.h: ns3::RectangleValue::RectangleValue(ns3::Rectangle const & value) [constructor] - cls.add_constructor([param('ns3::Rectangle const &', 'value')]) - ## rectangle.h: ns3::Ptr ns3::RectangleValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## rectangle.h: bool ns3::RectangleValue::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) - ## rectangle.h: ns3::Rectangle ns3::RectangleValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Rectangle', - [], - is_const=True) - ## rectangle.h: std::string ns3::RectangleValue::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) - ## rectangle.h: void ns3::RectangleValue::Set(ns3::Rectangle const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Rectangle const &', 'value')]) - return - -def register_Ns3SteadyStateRandomWaypointMobilityModel_methods(root_module, cls): - ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel(ns3::SteadyStateRandomWaypointMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SteadyStateRandomWaypointMobilityModel const &', 'arg0')]) - ## steady-state-random-waypoint-mobility-model.h: ns3::SteadyStateRandomWaypointMobilityModel::SteadyStateRandomWaypointMobilityModel() [constructor] - cls.add_constructor([]) - ## steady-state-random-waypoint-mobility-model.h: static ns3::TypeId ns3::SteadyStateRandomWaypointMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## steady-state-random-waypoint-mobility-model.h: void ns3::SteadyStateRandomWaypointMobilityModel::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## steady-state-random-waypoint-mobility-model.h: ns3::Vector ns3::SteadyStateRandomWaypointMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## steady-state-random-waypoint-mobility-model.h: ns3::Vector ns3::SteadyStateRandomWaypointMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## steady-state-random-waypoint-mobility-model.h: void ns3::SteadyStateRandomWaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3WaypointChecker_methods(root_module, cls): - ## waypoint.h: ns3::WaypointChecker::WaypointChecker() [constructor] - cls.add_constructor([]) - ## waypoint.h: ns3::WaypointChecker::WaypointChecker(ns3::WaypointChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaypointChecker const &', 'arg0')]) - return - -def register_Ns3WaypointMobilityModel_methods(root_module, cls): - ## waypoint-mobility-model.h: ns3::WaypointMobilityModel::WaypointMobilityModel(ns3::WaypointMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaypointMobilityModel const &', 'arg0')]) - ## waypoint-mobility-model.h: ns3::WaypointMobilityModel::WaypointMobilityModel() [constructor] - cls.add_constructor([]) - ## waypoint-mobility-model.h: void ns3::WaypointMobilityModel::AddWaypoint(ns3::Waypoint const & waypoint) [member function] - cls.add_method('AddWaypoint', - 'void', - [param('ns3::Waypoint const &', 'waypoint')]) - ## waypoint-mobility-model.h: void ns3::WaypointMobilityModel::EndMobility() [member function] - cls.add_method('EndMobility', - 'void', - []) - ## waypoint-mobility-model.h: ns3::Waypoint ns3::WaypointMobilityModel::GetNextWaypoint() const [member function] - cls.add_method('GetNextWaypoint', - 'ns3::Waypoint', - [], - is_const=True) - ## waypoint-mobility-model.h: static ns3::TypeId ns3::WaypointMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## waypoint-mobility-model.h: uint32_t ns3::WaypointMobilityModel::WaypointsLeft() const [member function] - cls.add_method('WaypointsLeft', - 'uint32_t', - [], - is_const=True) - ## waypoint-mobility-model.h: void ns3::WaypointMobilityModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## waypoint-mobility-model.h: ns3::Vector ns3::WaypointMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## waypoint-mobility-model.h: ns3::Vector ns3::WaypointMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## waypoint-mobility-model.h: void ns3::WaypointMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3WaypointValue_methods(root_module, cls): - ## waypoint.h: ns3::WaypointValue::WaypointValue() [constructor] - cls.add_constructor([]) - ## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::WaypointValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaypointValue const &', 'arg0')]) - ## waypoint.h: ns3::WaypointValue::WaypointValue(ns3::Waypoint const & value) [constructor] - cls.add_constructor([param('ns3::Waypoint const &', 'value')]) - ## waypoint.h: ns3::Ptr ns3::WaypointValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## waypoint.h: bool ns3::WaypointValue::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) - ## waypoint.h: ns3::Waypoint ns3::WaypointValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Waypoint', - [], - is_const=True) - ## waypoint.h: std::string ns3::WaypointValue::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) - ## waypoint.h: void ns3::WaypointValue::Set(ns3::Waypoint const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Waypoint const &', 'value')]) - return - -def register_Ns3ConstantAccelerationMobilityModel_methods(root_module, cls): - ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel::ConstantAccelerationMobilityModel(ns3::ConstantAccelerationMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantAccelerationMobilityModel const &', 'arg0')]) - ## constant-acceleration-mobility-model.h: ns3::ConstantAccelerationMobilityModel::ConstantAccelerationMobilityModel() [constructor] - cls.add_constructor([]) - ## constant-acceleration-mobility-model.h: static ns3::TypeId ns3::ConstantAccelerationMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## constant-acceleration-mobility-model.h: void ns3::ConstantAccelerationMobilityModel::SetVelocityAndAcceleration(ns3::Vector const & velocity, ns3::Vector const & acceleration) [member function] - cls.add_method('SetVelocityAndAcceleration', - 'void', - [param('ns3::Vector const &', 'velocity'), param('ns3::Vector const &', 'acceleration')]) - ## constant-acceleration-mobility-model.h: ns3::Vector ns3::ConstantAccelerationMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-acceleration-mobility-model.h: ns3::Vector ns3::ConstantAccelerationMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-acceleration-mobility-model.h: void ns3::ConstantAccelerationMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3ConstantPositionMobilityModel_methods(root_module, cls): - ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel::ConstantPositionMobilityModel(ns3::ConstantPositionMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantPositionMobilityModel const &', 'arg0')]) - ## constant-position-mobility-model.h: ns3::ConstantPositionMobilityModel::ConstantPositionMobilityModel() [constructor] - cls.add_constructor([]) - ## constant-position-mobility-model.h: static ns3::TypeId ns3::ConstantPositionMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## constant-position-mobility-model.h: ns3::Vector ns3::ConstantPositionMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-position-mobility-model.h: ns3::Vector ns3::ConstantPositionMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-position-mobility-model.h: void ns3::ConstantPositionMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3ConstantVelocityMobilityModel_methods(root_module, cls): - ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel::ConstantVelocityMobilityModel(ns3::ConstantVelocityMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantVelocityMobilityModel const &', 'arg0')]) - ## constant-velocity-mobility-model.h: ns3::ConstantVelocityMobilityModel::ConstantVelocityMobilityModel() [constructor] - cls.add_constructor([]) - ## constant-velocity-mobility-model.h: static ns3::TypeId ns3::ConstantVelocityMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## constant-velocity-mobility-model.h: void ns3::ConstantVelocityMobilityModel::SetVelocity(ns3::Vector const & speed) [member function] - cls.add_method('SetVelocity', - 'void', - [param('ns3::Vector const &', 'speed')]) - ## constant-velocity-mobility-model.h: ns3::Vector ns3::ConstantVelocityMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-velocity-mobility-model.h: ns3::Vector ns3::ConstantVelocityMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-velocity-mobility-model.h: void ns3::ConstantVelocityMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3GaussMarkovMobilityModel_methods(root_module, cls): - ## gauss-markov-mobility-model.h: ns3::GaussMarkovMobilityModel::GaussMarkovMobilityModel(ns3::GaussMarkovMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GaussMarkovMobilityModel const &', 'arg0')]) - ## gauss-markov-mobility-model.h: ns3::GaussMarkovMobilityModel::GaussMarkovMobilityModel() [constructor] - cls.add_constructor([]) - ## gauss-markov-mobility-model.h: static ns3::TypeId ns3::GaussMarkovMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## gauss-markov-mobility-model.h: void ns3::GaussMarkovMobilityModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## gauss-markov-mobility-model.h: ns3::Vector ns3::GaussMarkovMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## gauss-markov-mobility-model.h: ns3::Vector ns3::GaussMarkovMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## gauss-markov-mobility-model.h: void ns3::GaussMarkovMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_Ns3HierarchicalMobilityModel_methods(root_module, cls): - ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel::HierarchicalMobilityModel(ns3::HierarchicalMobilityModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HierarchicalMobilityModel const &', 'arg0')]) - ## hierarchical-mobility-model.h: ns3::HierarchicalMobilityModel::HierarchicalMobilityModel() [constructor] - cls.add_constructor([]) - ## hierarchical-mobility-model.h: ns3::Ptr ns3::HierarchicalMobilityModel::GetChild() const [member function] - cls.add_method('GetChild', - 'ns3::Ptr< ns3::MobilityModel >', - [], - is_const=True) - ## hierarchical-mobility-model.h: ns3::Ptr ns3::HierarchicalMobilityModel::GetParent() const [member function] - cls.add_method('GetParent', - 'ns3::Ptr< ns3::MobilityModel >', - [], - is_const=True) - ## hierarchical-mobility-model.h: static ns3::TypeId ns3::HierarchicalMobilityModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::SetChild(ns3::Ptr model) [member function] - cls.add_method('SetChild', - 'void', - [param('ns3::Ptr< ns3::MobilityModel >', 'model')]) - ## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::SetParent(ns3::Ptr model) [member function] - cls.add_method('SetParent', - 'void', - [param('ns3::Ptr< ns3::MobilityModel >', 'model')]) - ## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetPosition() const [member function] - cls.add_method('DoGetPosition', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## hierarchical-mobility-model.h: ns3::Vector ns3::HierarchicalMobilityModel::DoGetVelocity() const [member function] - cls.add_method('DoGetVelocity', - 'ns3::Vector', - [], - is_const=True, visibility='private', is_virtual=True) - ## hierarchical-mobility-model.h: void ns3::HierarchicalMobilityModel::DoSetPosition(ns3::Vector const & position) [member function] - cls.add_method('DoSetPosition', - 'void', - [param('ns3::Vector const &', 'position')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## box.h: extern ns3::Ptr ns3::MakeBoxChecker() [free function] - module.add_function('MakeBoxChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## rectangle.h: extern ns3::Ptr ns3::MakeRectangleChecker() [free function] - module.add_function('MakeRectangleChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## waypoint.h: extern ns3::Ptr ns3::MakeWaypointChecker() [free function] - module.add_function('MakeWaypointChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_mpi.py b/bindings/python/apidefs/gcc-LP64/ns3_module_mpi.py deleted file mode 100644 index 588b909ce..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_mpi.py +++ /dev/null @@ -1,388 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## distributed-simulator-impl.h: ns3::LbtsMessage [class] - module.add_class('LbtsMessage') - ## mpi-interface.h: ns3::MpiInterface [class] - module.add_class('MpiInterface') - ## mpi-net-device.h: ns3::MpiNetDevice [class] - module.add_class('MpiNetDevice', allow_subclassing=True) - ## mpi-interface.h: ns3::SentBuffer [class] - module.add_class('SentBuffer') - ## distributed-simulator-impl.h: ns3::DistributedSimulatorImpl [class] - module.add_class('DistributedSimulatorImpl', parent=root_module['ns3::SimulatorImpl']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3LbtsMessage_methods(root_module, root_module['ns3::LbtsMessage']) - register_Ns3MpiInterface_methods(root_module, root_module['ns3::MpiInterface']) - register_Ns3MpiNetDevice_methods(root_module, root_module['ns3::MpiNetDevice']) - register_Ns3SentBuffer_methods(root_module, root_module['ns3::SentBuffer']) - register_Ns3DistributedSimulatorImpl_methods(root_module, root_module['ns3::DistributedSimulatorImpl']) - return - -def register_Ns3LbtsMessage_methods(root_module, cls): - ## distributed-simulator-impl.h: ns3::LbtsMessage::LbtsMessage(ns3::LbtsMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LbtsMessage const &', 'arg0')]) - ## distributed-simulator-impl.h: ns3::LbtsMessage::LbtsMessage() [constructor] - cls.add_constructor([]) - ## distributed-simulator-impl.h: ns3::LbtsMessage::LbtsMessage(uint32_t rxc, uint32_t txc, uint32_t id, ns3::Time const & t) [constructor] - cls.add_constructor([param('uint32_t', 'rxc'), param('uint32_t', 'txc'), param('uint32_t', 'id'), param('ns3::Time const &', 't')]) - ## distributed-simulator-impl.h: uint32_t ns3::LbtsMessage::GetMyId() [member function] - cls.add_method('GetMyId', - 'uint32_t', - []) - ## distributed-simulator-impl.h: uint32_t ns3::LbtsMessage::GetRxCount() [member function] - cls.add_method('GetRxCount', - 'uint32_t', - []) - ## distributed-simulator-impl.h: ns3::Time ns3::LbtsMessage::GetSmallestTime() [member function] - cls.add_method('GetSmallestTime', - 'ns3::Time', - []) - ## distributed-simulator-impl.h: uint32_t ns3::LbtsMessage::GetTxCount() [member function] - cls.add_method('GetTxCount', - 'uint32_t', - []) - return - -def register_Ns3MpiInterface_methods(root_module, cls): - ## mpi-interface.h: ns3::MpiInterface::MpiInterface() [constructor] - cls.add_constructor([]) - ## mpi-interface.h: ns3::MpiInterface::MpiInterface(ns3::MpiInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MpiInterface const &', 'arg0')]) - ## mpi-interface.h: static void ns3::MpiInterface::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_static=True) - ## mpi-interface.h: static void ns3::MpiInterface::Enable(int * pargc, char * * * pargv) [member function] - cls.add_method('Enable', - 'void', - [param('int *', 'pargc'), param('char * * *', 'pargv')], - is_static=True) - ## mpi-interface.h: static uint32_t ns3::MpiInterface::GetRxCount() [member function] - cls.add_method('GetRxCount', - 'uint32_t', - [], - is_static=True) - ## mpi-interface.h: static uint32_t ns3::MpiInterface::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_static=True) - ## mpi-interface.h: static uint32_t ns3::MpiInterface::GetSystemId() [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_static=True) - ## mpi-interface.h: static uint32_t ns3::MpiInterface::GetTxCount() [member function] - cls.add_method('GetTxCount', - 'uint32_t', - [], - is_static=True) - ## mpi-interface.h: static bool ns3::MpiInterface::IsEnabled() [member function] - cls.add_method('IsEnabled', - 'bool', - [], - is_static=True) - ## mpi-interface.h: static void ns3::MpiInterface::ReceiveMessages() [member function] - cls.add_method('ReceiveMessages', - 'void', - [], - is_static=True) - ## mpi-interface.h: static void ns3::MpiInterface::SendPacket(ns3::Ptr p, ns3::Time const & rxTime, uint32_t node, uint32_t dev) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Time const &', 'rxTime'), param('uint32_t', 'node'), param('uint32_t', 'dev')], - is_static=True) - ## mpi-interface.h: static void ns3::MpiInterface::TestSendComplete() [member function] - cls.add_method('TestSendComplete', - 'void', - [], - is_static=True) - return - -def register_Ns3MpiNetDevice_methods(root_module, cls): - ## mpi-net-device.h: ns3::MpiNetDevice::MpiNetDevice() [constructor] - cls.add_constructor([]) - ## mpi-net-device.h: ns3::MpiNetDevice::MpiNetDevice(ns3::MpiNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MpiNetDevice const &', 'arg0')]) - ## mpi-net-device.h: void ns3::MpiNetDevice::MpiReceive(ns3::Ptr p) [member function] - cls.add_method('MpiReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## mpi-net-device.h: void ns3::MpiNetDevice::DoMpiReceive(ns3::Ptr p) [member function] - cls.add_method('DoMpiReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - is_pure_virtual=True, visibility='protected', is_virtual=True) - return - -def register_Ns3SentBuffer_methods(root_module, cls): - ## mpi-interface.h: ns3::SentBuffer::SentBuffer(ns3::SentBuffer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SentBuffer const &', 'arg0')]) - ## mpi-interface.h: ns3::SentBuffer::SentBuffer() [constructor] - cls.add_constructor([]) - ## mpi-interface.h: uint8_t * ns3::SentBuffer::GetBuffer() [member function] - cls.add_method('GetBuffer', - 'uint8_t *', - []) - ## mpi-interface.h: MPI_Request * ns3::SentBuffer::GetRequest() [member function] - cls.add_method('GetRequest', - 'MPI_Request *', - []) - ## mpi-interface.h: void ns3::SentBuffer::SetBuffer(uint8_t * buffer) [member function] - cls.add_method('SetBuffer', - 'void', - [param('uint8_t *', 'buffer')]) - return - -def register_Ns3DistributedSimulatorImpl_methods(root_module, cls): - ## distributed-simulator-impl.h: ns3::DistributedSimulatorImpl::DistributedSimulatorImpl(ns3::DistributedSimulatorImpl const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DistributedSimulatorImpl const &', 'arg0')]) - ## distributed-simulator-impl.h: ns3::DistributedSimulatorImpl::DistributedSimulatorImpl() [constructor] - cls.add_constructor([]) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Cancel(ns3::EventId const & ev) [member function] - cls.add_method('Cancel', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Destroy() [member function] - cls.add_method('Destroy', - 'void', - [], - is_virtual=True) - ## distributed-simulator-impl.h: uint32_t ns3::DistributedSimulatorImpl::GetContext() const [member function] - cls.add_method('GetContext', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: ns3::Time ns3::DistributedSimulatorImpl::GetDelayLeft(ns3::EventId const & id) const [member function] - cls.add_method('GetDelayLeft', - 'ns3::Time', - [param('ns3::EventId const &', 'id')], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: ns3::Time ns3::DistributedSimulatorImpl::GetMaximumSimulationTime() const [member function] - cls.add_method('GetMaximumSimulationTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: uint32_t ns3::DistributedSimulatorImpl::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: static ns3::TypeId ns3::DistributedSimulatorImpl::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## distributed-simulator-impl.h: bool ns3::DistributedSimulatorImpl::IsExpired(ns3::EventId const & ev) const [member function] - cls.add_method('IsExpired', - 'bool', - [param('ns3::EventId const &', 'ev')], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: bool ns3::DistributedSimulatorImpl::IsFinished() const [member function] - cls.add_method('IsFinished', - 'bool', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: ns3::Time ns3::DistributedSimulatorImpl::Next() const [member function] - cls.add_method('Next', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: ns3::Time ns3::DistributedSimulatorImpl::Now() const [member function] - cls.add_method('Now', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Remove(ns3::EventId const & ev) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::EventId const &', 'ev')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Run() [member function] - cls.add_method('Run', - 'void', - [], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::RunOneEvent() [member function] - cls.add_method('RunOneEvent', - 'void', - [], - is_virtual=True) - ## distributed-simulator-impl.h: ns3::EventId ns3::DistributedSimulatorImpl::Schedule(ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('Schedule', - 'ns3::EventId', - [param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## distributed-simulator-impl.h: ns3::EventId ns3::DistributedSimulatorImpl::ScheduleDestroy(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleDestroy', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## distributed-simulator-impl.h: ns3::EventId ns3::DistributedSimulatorImpl::ScheduleNow(ns3::EventImpl * event) [member function] - cls.add_method('ScheduleNow', - 'ns3::EventId', - [param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::ScheduleWithContext(uint32_t context, ns3::Time const & time, ns3::EventImpl * event) [member function] - cls.add_method('ScheduleWithContext', - 'void', - [param('uint32_t', 'context'), param('ns3::Time const &', 'time'), param('ns3::EventImpl *', 'event')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::ObjectFactory', 'schedulerFactory')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::Stop(ns3::Time const & time) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'time')], - is_virtual=True) - ## distributed-simulator-impl.h: void ns3::DistributedSimulatorImpl::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_netanim.py b/bindings/python/apidefs/gcc-LP64/ns3_module_netanim.py deleted file mode 100644 index cdb48ddaf..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_netanim.py +++ /dev/null @@ -1,328 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## animation-interface.h: ns3::AnimationInterface [class] - module.add_class('AnimationInterface') - ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper [class] - module.add_class('PointToPointDumbbellHelper') - ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper [class] - module.add_class('PointToPointGridHelper') - ## point-to-point-star-helper.h: ns3::PointToPointStarHelper [class] - module.add_class('PointToPointStarHelper') - ## canvas-location.h: ns3::CanvasLocation [class] - module.add_class('CanvasLocation', parent=root_module['ns3::Object']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface']) - register_Ns3PointToPointDumbbellHelper_methods(root_module, root_module['ns3::PointToPointDumbbellHelper']) - register_Ns3PointToPointGridHelper_methods(root_module, root_module['ns3::PointToPointGridHelper']) - register_Ns3PointToPointStarHelper_methods(root_module, root_module['ns3::PointToPointStarHelper']) - register_Ns3CanvasLocation_methods(root_module, root_module['ns3::CanvasLocation']) - return - -def register_Ns3AnimationInterface_methods(root_module, cls): - ## animation-interface.h: ns3::AnimationInterface::AnimationInterface(ns3::AnimationInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AnimationInterface const &', 'arg0')]) - ## animation-interface.h: ns3::AnimationInterface::AnimationInterface() [constructor] - cls.add_constructor([]) - ## animation-interface.h: bool ns3::AnimationInterface::SetOutputFile(std::string const & fn) [member function] - cls.add_method('SetOutputFile', - 'bool', - [param('std::string const &', 'fn')]) - ## animation-interface.h: bool ns3::AnimationInterface::SetServerPort(uint16_t port) [member function] - cls.add_method('SetServerPort', - 'bool', - [param('uint16_t', 'port')]) - ## animation-interface.h: void ns3::AnimationInterface::StartAnimation() [member function] - cls.add_method('StartAnimation', - 'void', - []) - ## animation-interface.h: void ns3::AnimationInterface::StopAnimation() [member function] - cls.add_method('StopAnimation', - 'void', - []) - return - -def register_Ns3PointToPointDumbbellHelper_methods(root_module, cls): - ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(ns3::PointToPointDumbbellHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointDumbbellHelper const &', 'arg0')]) - ## point-to-point-dumbbell-helper.h: ns3::PointToPointDumbbellHelper::PointToPointDumbbellHelper(uint32_t nLeftLeaf, ns3::PointToPointHelper leftHelper, uint32_t nRightLeaf, ns3::PointToPointHelper rightHelper, ns3::PointToPointHelper bottleneckHelper) [constructor] - cls.add_constructor([param('uint32_t', 'nLeftLeaf'), param('ns3::PointToPointHelper', 'leftHelper'), param('uint32_t', 'nRightLeaf'), param('ns3::PointToPointHelper', 'rightHelper'), param('ns3::PointToPointHelper', 'bottleneckHelper')]) - ## point-to-point-dumbbell-helper.h: void ns3::PointToPointDumbbellHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper leftIp, ns3::Ipv4AddressHelper rightIp, ns3::Ipv4AddressHelper routerIp) [member function] - cls.add_method('AssignIpv4Addresses', - 'void', - [param('ns3::Ipv4AddressHelper', 'leftIp'), param('ns3::Ipv4AddressHelper', 'rightIp'), param('ns3::Ipv4AddressHelper', 'routerIp')]) - ## point-to-point-dumbbell-helper.h: void ns3::PointToPointDumbbellHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function] - cls.add_method('BoundingBox', - 'void', - [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')]) - ## point-to-point-dumbbell-helper.h: ns3::Ptr ns3::PointToPointDumbbellHelper::GetLeft() const [member function] - cls.add_method('GetLeft', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ptr ns3::PointToPointDumbbellHelper::GetLeft(uint32_t i) const [member function] - cls.add_method('GetLeft', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetLeftIpv4Address(uint32_t i) const [member function] - cls.add_method('GetLeftIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ptr ns3::PointToPointDumbbellHelper::GetRight() const [member function] - cls.add_method('GetRight', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ptr ns3::PointToPointDumbbellHelper::GetRight(uint32_t i) const [member function] - cls.add_method('GetRight', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-dumbbell-helper.h: ns3::Ipv4Address ns3::PointToPointDumbbellHelper::GetRightIpv4Address(uint32_t i) const [member function] - cls.add_method('GetRightIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-dumbbell-helper.h: void ns3::PointToPointDumbbellHelper::InstallStack(ns3::InternetStackHelper stack) [member function] - cls.add_method('InstallStack', - 'void', - [param('ns3::InternetStackHelper', 'stack')]) - ## point-to-point-dumbbell-helper.h: uint32_t ns3::PointToPointDumbbellHelper::LeftCount() const [member function] - cls.add_method('LeftCount', - 'uint32_t', - [], - is_const=True) - ## point-to-point-dumbbell-helper.h: uint32_t ns3::PointToPointDumbbellHelper::RightCount() const [member function] - cls.add_method('RightCount', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3PointToPointGridHelper_methods(root_module, cls): - ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper::PointToPointGridHelper(ns3::PointToPointGridHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointGridHelper const &', 'arg0')]) - ## point-to-point-grid-helper.h: ns3::PointToPointGridHelper::PointToPointGridHelper(uint32_t nRows, uint32_t nCols, ns3::PointToPointHelper pointToPoint) [constructor] - cls.add_constructor([param('uint32_t', 'nRows'), param('uint32_t', 'nCols'), param('ns3::PointToPointHelper', 'pointToPoint')]) - ## point-to-point-grid-helper.h: void ns3::PointToPointGridHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper rowIp, ns3::Ipv4AddressHelper colIp) [member function] - cls.add_method('AssignIpv4Addresses', - 'void', - [param('ns3::Ipv4AddressHelper', 'rowIp'), param('ns3::Ipv4AddressHelper', 'colIp')]) - ## point-to-point-grid-helper.h: void ns3::PointToPointGridHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function] - cls.add_method('BoundingBox', - 'void', - [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')]) - ## point-to-point-grid-helper.h: ns3::Ipv4Address ns3::PointToPointGridHelper::GetIpv4Address(uint32_t row, uint32_t col) [member function] - cls.add_method('GetIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'row'), param('uint32_t', 'col')]) - ## point-to-point-grid-helper.h: ns3::Ptr ns3::PointToPointGridHelper::GetNode(uint32_t row, uint32_t col) [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'row'), param('uint32_t', 'col')]) - ## point-to-point-grid-helper.h: void ns3::PointToPointGridHelper::InstallStack(ns3::InternetStackHelper stack) [member function] - cls.add_method('InstallStack', - 'void', - [param('ns3::InternetStackHelper', 'stack')]) - return - -def register_Ns3PointToPointStarHelper_methods(root_module, cls): - ## point-to-point-star-helper.h: ns3::PointToPointStarHelper::PointToPointStarHelper(ns3::PointToPointStarHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointStarHelper const &', 'arg0')]) - ## point-to-point-star-helper.h: ns3::PointToPointStarHelper::PointToPointStarHelper(uint32_t numSpokes, ns3::PointToPointHelper p2pHelper) [constructor] - cls.add_constructor([param('uint32_t', 'numSpokes'), param('ns3::PointToPointHelper', 'p2pHelper')]) - ## point-to-point-star-helper.h: void ns3::PointToPointStarHelper::AssignIpv4Addresses(ns3::Ipv4AddressHelper address) [member function] - cls.add_method('AssignIpv4Addresses', - 'void', - [param('ns3::Ipv4AddressHelper', 'address')]) - ## point-to-point-star-helper.h: void ns3::PointToPointStarHelper::BoundingBox(double ulx, double uly, double lrx, double lry) [member function] - cls.add_method('BoundingBox', - 'void', - [param('double', 'ulx'), param('double', 'uly'), param('double', 'lrx'), param('double', 'lry')]) - ## point-to-point-star-helper.h: ns3::Ptr ns3::PointToPointStarHelper::GetHub() const [member function] - cls.add_method('GetHub', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## point-to-point-star-helper.h: ns3::Ipv4Address ns3::PointToPointStarHelper::GetHubIpv4Address(uint32_t i) const [member function] - cls.add_method('GetHubIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-star-helper.h: ns3::Ipv4Address ns3::PointToPointStarHelper::GetSpokeIpv4Address(uint32_t i) const [member function] - cls.add_method('GetSpokeIpv4Address', - 'ns3::Ipv4Address', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-star-helper.h: ns3::Ptr ns3::PointToPointStarHelper::GetSpokeNode(uint32_t i) const [member function] - cls.add_method('GetSpokeNode', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-star-helper.h: void ns3::PointToPointStarHelper::InstallStack(ns3::InternetStackHelper stack) [member function] - cls.add_method('InstallStack', - 'void', - [param('ns3::InternetStackHelper', 'stack')]) - ## point-to-point-star-helper.h: uint32_t ns3::PointToPointStarHelper::SpokeCount() const [member function] - cls.add_method('SpokeCount', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3CanvasLocation_methods(root_module, cls): - ## canvas-location.h: ns3::CanvasLocation::CanvasLocation(ns3::CanvasLocation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CanvasLocation const &', 'arg0')]) - ## canvas-location.h: ns3::CanvasLocation::CanvasLocation() [constructor] - cls.add_constructor([]) - ## canvas-location.h: ns3::Vector ns3::CanvasLocation::GetLocation() const [member function] - cls.add_method('GetLocation', - 'ns3::Vector', - [], - is_const=True) - ## canvas-location.h: static ns3::TypeId ns3::CanvasLocation::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## canvas-location.h: void ns3::CanvasLocation::SetLocation(ns3::Vector const & location) [member function] - cls.add_method('SetLocation', - 'void', - [param('ns3::Vector const &', 'location')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_network.py b/bindings/python/apidefs/gcc-LP64/ns3_module_network.py deleted file mode 100644 index 7aea9666f..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_network.py +++ /dev/null @@ -1,6038 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## packetbb.h: ns3::PbbAddressLength [enumeration] - module.add_enum('PbbAddressLength', ['IPV4', 'IPV6']) - ## error-model.h: ns3::ErrorUnit [enumeration] - module.add_enum('ErrorUnit', ['EU_BIT', 'EU_BYTE', 'EU_PKT']) - ## ethernet-header.h: ns3::ethernet_header_t [enumeration] - module.add_enum('ethernet_header_t', ['LENGTH', 'VLAN', 'QINQ']) - ## address.h: ns3::Address [class] - module.add_class('Address') - ## address.h: ns3::Address::MaxSize_e [enumeration] - module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address']) - ## application-container.h: ns3::ApplicationContainer [class] - module.add_class('ApplicationContainer') - ## trace-helper.h: ns3::AsciiTraceHelper [class] - module.add_class('AsciiTraceHelper') - ## trace-helper.h: ns3::AsciiTraceHelperForDevice [class] - module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) - ## buffer.h: ns3::Buffer [class] - module.add_class('Buffer') - ## buffer.h: ns3::Buffer::Iterator [class] - module.add_class('Iterator', outer_class=root_module['ns3::Buffer']) - ## packet.h: ns3::ByteTagIterator [class] - module.add_class('ByteTagIterator') - ## packet.h: ns3::ByteTagIterator::Item [class] - module.add_class('Item', outer_class=root_module['ns3::ByteTagIterator']) - ## byte-tag-list.h: ns3::ByteTagList [class] - module.add_class('ByteTagList') - ## byte-tag-list.h: ns3::ByteTagList::Iterator [class] - module.add_class('Iterator', outer_class=root_module['ns3::ByteTagList']) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item [struct] - module.add_class('Item', outer_class=root_module['ns3::ByteTagList::Iterator']) - ## channel-list.h: ns3::ChannelList [class] - module.add_class('ChannelList') - ## data-rate.h: ns3::DataRate [class] - module.add_class('DataRate') - ## inet6-socket-address.h: ns3::Inet6SocketAddress [class] - module.add_class('Inet6SocketAddress') - ## inet6-socket-address.h: ns3::Inet6SocketAddress [class] - root_module['ns3::Inet6SocketAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## inet-socket-address.h: ns3::InetSocketAddress [class] - module.add_class('InetSocketAddress') - ## inet-socket-address.h: ns3::InetSocketAddress [class] - root_module['ns3::InetSocketAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## ipv4-address.h: ns3::Ipv4Address [class] - module.add_class('Ipv4Address') - ## ipv4-address.h: ns3::Ipv4Address [class] - root_module['ns3::Ipv4Address'].implicitly_converts_to(root_module['ns3::Address']) - ## ipv4-address.h: ns3::Ipv4Mask [class] - module.add_class('Ipv4Mask') - ## ipv6-address.h: ns3::Ipv6Address [class] - module.add_class('Ipv6Address') - ## ipv6-address.h: ns3::Ipv6Address [class] - root_module['ns3::Ipv6Address'].implicitly_converts_to(root_module['ns3::Address']) - ## ipv6-address.h: ns3::Ipv6Prefix [class] - module.add_class('Ipv6Prefix') - ## mac48-address.h: ns3::Mac48Address [class] - module.add_class('Mac48Address') - ## mac48-address.h: ns3::Mac48Address [class] - root_module['ns3::Mac48Address'].implicitly_converts_to(root_module['ns3::Address']) - ## mac64-address.h: ns3::Mac64Address [class] - module.add_class('Mac64Address') - ## mac64-address.h: ns3::Mac64Address [class] - root_module['ns3::Mac64Address'].implicitly_converts_to(root_module['ns3::Address']) - ## net-device-container.h: ns3::NetDeviceContainer [class] - module.add_class('NetDeviceContainer') - ## node-container.h: ns3::NodeContainer [class] - module.add_class('NodeContainer') - ## node-list.h: ns3::NodeList [class] - module.add_class('NodeList') - ## packet-metadata.h: ns3::PacketMetadata [class] - module.add_class('PacketMetadata') - ## packet-metadata.h: ns3::PacketMetadata::Item [struct] - module.add_class('Item', outer_class=root_module['ns3::PacketMetadata']) - ## packet-metadata.h: ns3::PacketMetadata::Item [enumeration] - module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item']) - ## packet-metadata.h: ns3::PacketMetadata::ItemIterator [class] - module.add_class('ItemIterator', outer_class=root_module['ns3::PacketMetadata']) - ## packet-socket-address.h: ns3::PacketSocketAddress [class] - module.add_class('PacketSocketAddress') - ## packet-socket-address.h: ns3::PacketSocketAddress [class] - root_module['ns3::PacketSocketAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## packet-socket-helper.h: ns3::PacketSocketHelper [class] - module.add_class('PacketSocketHelper') - ## packet.h: ns3::PacketTagIterator [class] - module.add_class('PacketTagIterator') - ## packet.h: ns3::PacketTagIterator::Item [class] - module.add_class('Item', outer_class=root_module['ns3::PacketTagIterator']) - ## packet-tag-list.h: ns3::PacketTagList [class] - module.add_class('PacketTagList') - ## packet-tag-list.h: ns3::PacketTagList::TagData [struct] - module.add_class('TagData', outer_class=root_module['ns3::PacketTagList']) - ## packetbb.h: ns3::PbbAddressTlvBlock [class] - module.add_class('PbbAddressTlvBlock') - ## packetbb.h: ns3::PbbTlvBlock [class] - module.add_class('PbbTlvBlock') - ## pcap-file.h: ns3::PcapFile [class] - module.add_class('PcapFile') - ## trace-helper.h: ns3::PcapHelper [class] - module.add_class('PcapHelper') - ## trace-helper.h: ns3::PcapHelper [enumeration] - module.add_enum('', ['DLT_NULL', 'DLT_EN10MB', 'DLT_PPP', 'DLT_RAW', 'DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::PcapHelper']) - ## trace-helper.h: ns3::PcapHelperForDevice [class] - module.add_class('PcapHelperForDevice', allow_subclassing=True) - ## sequence-number.h: ns3::SequenceNumber [class] - module.add_class('SequenceNumber32') - ## tag.h: ns3::Tag [class] - module.add_class('Tag', parent=root_module['ns3::ObjectBase']) - ## tag-buffer.h: ns3::TagBuffer [class] - module.add_class('TagBuffer') - ## chunk.h: ns3::Chunk [class] - module.add_class('Chunk', parent=root_module['ns3::ObjectBase']) - ## flow-id-tag.h: ns3::FlowIdTag [class] - module.add_class('FlowIdTag', parent=root_module['ns3::Tag']) - ## header.h: ns3::Header [class] - module.add_class('Header', parent=root_module['ns3::Chunk']) - ## llc-snap-header.h: ns3::LlcSnapHeader [class] - module.add_class('LlcSnapHeader', parent=root_module['ns3::Header']) - ## packet-burst.h: ns3::PacketBurst [class] - module.add_class('PacketBurst', parent=root_module['ns3::Object']) - ## pcap-file-wrapper.h: ns3::PcapFileWrapper [class] - module.add_class('PcapFileWrapper', parent=root_module['ns3::Object']) - ## queue.h: ns3::Queue [class] - module.add_class('Queue', parent=root_module['ns3::Object']) - ## radiotap-header.h: ns3::RadiotapHeader [class] - module.add_class('RadiotapHeader', parent=root_module['ns3::Header']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['FRAME_FLAG_NONE', 'FRAME_FLAG_CFP', 'FRAME_FLAG_SHORT_PREAMBLE', 'FRAME_FLAG_WEP', 'FRAME_FLAG_FRAGMENTED', 'FRAME_FLAG_FCS_INCLUDED', 'FRAME_FLAG_DATA_PADDING', 'FRAME_FLAG_BAD_FCS', 'FRAME_FLAG_SHORT_GUARD'], outer_class=root_module['ns3::RadiotapHeader']) - ## radiotap-header.h: ns3::RadiotapHeader [enumeration] - module.add_enum('', ['CHANNEL_FLAG_NONE', 'CHANNEL_FLAG_TURBO', 'CHANNEL_FLAG_CCK', 'CHANNEL_FLAG_OFDM', 'CHANNEL_FLAG_SPECTRUM_2GHZ', 'CHANNEL_FLAG_SPECTRUM_5GHZ', 'CHANNEL_FLAG_PASSIVE', 'CHANNEL_FLAG_DYNAMIC', 'CHANNEL_FLAG_GFSK'], outer_class=root_module['ns3::RadiotapHeader']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, 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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbAddressBlock', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbMessage', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbPacket', 'ns3::Header', 'ns3::DefaultDeleter'], parent=root_module['ns3::Header'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbTlv', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## socket.h: ns3::Socket [class] - module.add_class('Socket', parent=root_module['ns3::Object']) - ## socket.h: ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket']) - ## socket.h: ns3::Socket::SocketType [enumeration] - module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket']) - ## socket.h: ns3::SocketAddressTag [class] - module.add_class('SocketAddressTag', parent=root_module['ns3::Tag']) - ## socket-factory.h: ns3::SocketFactory [class] - module.add_class('SocketFactory', parent=root_module['ns3::Object']) - ## socket.h: ns3::SocketIpTtlTag [class] - module.add_class('SocketIpTtlTag', parent=root_module['ns3::Tag']) - ## socket.h: ns3::SocketSetDontFragmentTag [class] - module.add_class('SocketSetDontFragmentTag', parent=root_module['ns3::Tag']) - ## trailer.h: ns3::Trailer [class] - module.add_class('Trailer', parent=root_module['ns3::Chunk']) - ## application.h: ns3::Application [class] - module.add_class('Application', parent=root_module['ns3::Object']) - ## channel.h: ns3::Channel [class] - module.add_class('Channel', parent=root_module['ns3::Object']) - ## data-rate.h: ns3::DataRateChecker [class] - module.add_class('DataRateChecker', parent=root_module['ns3::AttributeChecker']) - ## data-rate.h: ns3::DataRateValue [class] - module.add_class('DataRateValue', parent=root_module['ns3::AttributeValue']) - ## drop-tail-queue.h: ns3::DropTailQueue [class] - module.add_class('DropTailQueue', parent=root_module['ns3::Queue']) - ## drop-tail-queue.h: ns3::DropTailQueue::Mode [enumeration] - module.add_enum('Mode', ['ILLEGAL', 'PACKETS', 'BYTES'], outer_class=root_module['ns3::DropTailQueue']) - ## error-model.h: ns3::ErrorModel [class] - module.add_class('ErrorModel', parent=root_module['ns3::Object']) - ## ethernet-header.h: ns3::EthernetHeader [class] - module.add_class('EthernetHeader', parent=root_module['ns3::Header']) - ## ethernet-trailer.h: ns3::EthernetTrailer [class] - module.add_class('EthernetTrailer', parent=root_module['ns3::Trailer']) - ## ipv4-address.h: ns3::Ipv4AddressChecker [class] - module.add_class('Ipv4AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv4-address.h: ns3::Ipv4AddressValue [class] - module.add_class('Ipv4AddressValue', parent=root_module['ns3::AttributeValue']) - ## ipv4-address.h: ns3::Ipv4MaskChecker [class] - module.add_class('Ipv4MaskChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv4-address.h: ns3::Ipv4MaskValue [class] - module.add_class('Ipv4MaskValue', parent=root_module['ns3::AttributeValue']) - ## ipv6-address.h: ns3::Ipv6AddressChecker [class] - module.add_class('Ipv6AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv6-address.h: ns3::Ipv6AddressValue [class] - module.add_class('Ipv6AddressValue', parent=root_module['ns3::AttributeValue']) - ## ipv6-address.h: ns3::Ipv6PrefixChecker [class] - module.add_class('Ipv6PrefixChecker', parent=root_module['ns3::AttributeChecker']) - ## ipv6-address.h: ns3::Ipv6PrefixValue [class] - module.add_class('Ipv6PrefixValue', parent=root_module['ns3::AttributeValue']) - ## error-model.h: ns3::ListErrorModel [class] - module.add_class('ListErrorModel', parent=root_module['ns3::ErrorModel']) - ## mac48-address.h: ns3::Mac48AddressChecker [class] - module.add_class('Mac48AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## mac48-address.h: ns3::Mac48AddressValue [class] - module.add_class('Mac48AddressValue', parent=root_module['ns3::AttributeValue']) - ## net-device.h: ns3::NetDevice [class] - module.add_class('NetDevice', parent=root_module['ns3::Object']) - ## net-device.h: 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']) - ## nix-vector.h: ns3::NixVector [class] - module.add_class('NixVector', parent=root_module['ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter >']) - ## node.h: ns3::Node [class] - module.add_class('Node', parent=root_module['ns3::Object']) - ## output-stream-wrapper.h: ns3::OutputStreamWrapper [class] - module.add_class('OutputStreamWrapper', parent=root_module['ns3::SimpleRefCount< ns3::OutputStreamWrapper, ns3::empty, ns3::DefaultDeleter >']) - ## packet.h: ns3::Packet [class] - module.add_class('Packet', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) - ## packet-socket.h: ns3::PacketSocket [class] - module.add_class('PacketSocket', parent=root_module['ns3::Socket']) - ## packet-socket-factory.h: ns3::PacketSocketFactory [class] - module.add_class('PacketSocketFactory', parent=root_module['ns3::SocketFactory']) - ## packetbb.h: ns3::PbbAddressBlock [class] - module.add_class('PbbAddressBlock', parent=root_module['ns3::SimpleRefCount< ns3::PbbAddressBlock, ns3::empty, ns3::DefaultDeleter >']) - ## packetbb.h: ns3::PbbAddressBlockIpv4 [class] - module.add_class('PbbAddressBlockIpv4', parent=root_module['ns3::PbbAddressBlock']) - ## packetbb.h: ns3::PbbAddressBlockIpv6 [class] - module.add_class('PbbAddressBlockIpv6', parent=root_module['ns3::PbbAddressBlock']) - ## packetbb.h: ns3::PbbMessage [class] - module.add_class('PbbMessage', parent=root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter >']) - ## packetbb.h: ns3::PbbMessageIpv4 [class] - module.add_class('PbbMessageIpv4', parent=root_module['ns3::PbbMessage']) - ## packetbb.h: ns3::PbbMessageIpv6 [class] - module.add_class('PbbMessageIpv6', parent=root_module['ns3::PbbMessage']) - ## packetbb.h: ns3::PbbPacket [class] - module.add_class('PbbPacket', parent=root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header, ns3::DefaultDeleter >']) - ## packetbb.h: ns3::PbbTlv [class] - module.add_class('PbbTlv', parent=root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty, ns3::DefaultDeleter >']) - ## error-model.h: ns3::RateErrorModel [class] - module.add_class('RateErrorModel', parent=root_module['ns3::ErrorModel']) - ## error-model.h: ns3::ReceiveListErrorModel [class] - module.add_class('ReceiveListErrorModel', parent=root_module['ns3::ErrorModel']) - ## simple-channel.h: ns3::SimpleChannel [class] - module.add_class('SimpleChannel', parent=root_module['ns3::Channel']) - ## simple-net-device.h: ns3::SimpleNetDevice [class] - module.add_class('SimpleNetDevice', parent=root_module['ns3::NetDevice']) - ## address.h: ns3::AddressChecker [class] - module.add_class('AddressChecker', parent=root_module['ns3::AttributeChecker']) - ## address.h: ns3::AddressValue [class] - module.add_class('AddressValue', parent=root_module['ns3::AttributeValue']) - ## packetbb.h: ns3::PbbAddressTlv [class] - module.add_class('PbbAddressTlv', parent=root_module['ns3::PbbTlv']) - module.add_container('ns3::olsr::MprSet', 'ns3::Ipv4Address', container_type='set') - module.add_container('std::vector< ns3::Ipv4Address >', 'ns3::Ipv4Address', container_type='vector') - module.add_container('std::vector< ns3::Ipv6Address >', 'ns3::Ipv6Address', container_type='vector') - typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >', 'ns3::SequenceNumber16') - typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >*', 'ns3::SequenceNumber16*') - typehandlers.add_type_alias('ns3::SequenceNumber< short unsigned int, short int >&', 'ns3::SequenceNumber16&') - typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >', 'ns3::SequenceNumber32') - typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >*', 'ns3::SequenceNumber32*') - typehandlers.add_type_alias('ns3::SequenceNumber< unsigned int, int >&', 'ns3::SequenceNumber32&') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxEndCallback') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxEndCallback*') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxEndCallback&') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxStartCallback') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxStartCallback*') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxStartCallback&') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxEndErrorCallback') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxEndErrorCallback*') - typehandlers.add_type_alias('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxEndErrorCallback&') - typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyTxStartCallback') - typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyTxStartCallback*') - typehandlers.add_type_alias('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyTxStartCallback&') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ns3::GenericPhyRxEndOkCallback') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >*', 'ns3::GenericPhyRxEndOkCallback*') - typehandlers.add_type_alias('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >&', 'ns3::GenericPhyRxEndOkCallback&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - module.add_container('std::vector< ns3::Mac48Address >', 'ns3::Mac48Address', container_type='vector') - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) - register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) - register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) - register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) - register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) - register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item']) - register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList']) - register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator']) - register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item']) - register_Ns3ChannelList_methods(root_module, root_module['ns3::ChannelList']) - register_Ns3DataRate_methods(root_module, root_module['ns3::DataRate']) - register_Ns3Inet6SocketAddress_methods(root_module, root_module['ns3::Inet6SocketAddress']) - register_Ns3InetSocketAddress_methods(root_module, root_module['ns3::InetSocketAddress']) - register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) - register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) - register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address']) - register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix']) - register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address']) - register_Ns3Mac64Address_methods(root_module, root_module['ns3::Mac64Address']) - register_Ns3NetDeviceContainer_methods(root_module, root_module['ns3::NetDeviceContainer']) - register_Ns3NodeContainer_methods(root_module, root_module['ns3::NodeContainer']) - register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList']) - register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata']) - register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item']) - register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator']) - register_Ns3PacketSocketAddress_methods(root_module, root_module['ns3::PacketSocketAddress']) - register_Ns3PacketSocketHelper_methods(root_module, root_module['ns3::PacketSocketHelper']) - register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator']) - register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item']) - register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList']) - register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData']) - register_Ns3PbbAddressTlvBlock_methods(root_module, root_module['ns3::PbbAddressTlvBlock']) - register_Ns3PbbTlvBlock_methods(root_module, root_module['ns3::PbbTlvBlock']) - register_Ns3PcapFile_methods(root_module, root_module['ns3::PcapFile']) - register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) - register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) - register_Ns3SequenceNumber32_methods(root_module, root_module['ns3::SequenceNumber32']) - register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) - register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) - register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) - register_Ns3FlowIdTag_methods(root_module, root_module['ns3::FlowIdTag']) - register_Ns3Header_methods(root_module, root_module['ns3::Header']) - register_Ns3LlcSnapHeader_methods(root_module, root_module['ns3::LlcSnapHeader']) - register_Ns3PacketBurst_methods(root_module, root_module['ns3::PacketBurst']) - register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) - register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) - register_Ns3RadiotapHeader_methods(root_module, root_module['ns3::RadiotapHeader']) - register_Ns3Socket_methods(root_module, root_module['ns3::Socket']) - register_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) - register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory']) - register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) - register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag']) - register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) - register_Ns3Application_methods(root_module, root_module['ns3::Application']) - register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) - register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) - register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) - register_Ns3DropTailQueue_methods(root_module, root_module['ns3::DropTailQueue']) - register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel']) - register_Ns3EthernetHeader_methods(root_module, root_module['ns3::EthernetHeader']) - register_Ns3EthernetTrailer_methods(root_module, root_module['ns3::EthernetTrailer']) - register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) - register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) - register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) - register_Ns3Ipv4MaskValue_methods(root_module, root_module['ns3::Ipv4MaskValue']) - register_Ns3Ipv6AddressChecker_methods(root_module, root_module['ns3::Ipv6AddressChecker']) - register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) - register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) - register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) - register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel']) - 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_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_Ns3PacketSocket_methods(root_module, root_module['ns3::PacketSocket']) - register_Ns3PacketSocketFactory_methods(root_module, root_module['ns3::PacketSocketFactory']) - register_Ns3PbbAddressBlock_methods(root_module, root_module['ns3::PbbAddressBlock']) - register_Ns3PbbAddressBlockIpv4_methods(root_module, root_module['ns3::PbbAddressBlockIpv4']) - register_Ns3PbbAddressBlockIpv6_methods(root_module, root_module['ns3::PbbAddressBlockIpv6']) - register_Ns3PbbMessage_methods(root_module, root_module['ns3::PbbMessage']) - register_Ns3PbbMessageIpv4_methods(root_module, root_module['ns3::PbbMessageIpv4']) - register_Ns3PbbMessageIpv6_methods(root_module, root_module['ns3::PbbMessageIpv6']) - register_Ns3PbbPacket_methods(root_module, root_module['ns3::PbbPacket']) - register_Ns3PbbTlv_methods(root_module, root_module['ns3::PbbTlv']) - register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel']) - register_Ns3ReceiveListErrorModel_methods(root_module, root_module['ns3::ReceiveListErrorModel']) - register_Ns3SimpleChannel_methods(root_module, root_module['ns3::SimpleChannel']) - register_Ns3SimpleNetDevice_methods(root_module, root_module['ns3::SimpleNetDevice']) - register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) - register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) - register_Ns3PbbAddressTlv_methods(root_module, root_module['ns3::PbbAddressTlv']) - return - -def register_Ns3Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## address.h: ns3::Address::Address() [constructor] - cls.add_constructor([]) - ## address.h: ns3::Address::Address(uint8_t type, uint8_t const * buffer, uint8_t len) [constructor] - cls.add_constructor([param('uint8_t', 'type'), param('uint8_t const *', 'buffer'), param('uint8_t', 'len')]) - ## address.h: ns3::Address::Address(ns3::Address const & address) [copy constructor] - cls.add_constructor([param('ns3::Address const &', 'address')]) - ## address.h: bool ns3::Address::CheckCompatible(uint8_t type, uint8_t len) const [member function] - cls.add_method('CheckCompatible', - 'bool', - [param('uint8_t', 'type'), param('uint8_t', 'len')], - is_const=True) - ## address.h: uint32_t ns3::Address::CopyAllFrom(uint8_t const * buffer, uint8_t len) [member function] - cls.add_method('CopyAllFrom', - 'uint32_t', - [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')]) - ## address.h: uint32_t ns3::Address::CopyAllTo(uint8_t * buffer, uint8_t len) const [member function] - cls.add_method('CopyAllTo', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint8_t', 'len')], - is_const=True) - ## address.h: uint32_t ns3::Address::CopyFrom(uint8_t const * buffer, uint8_t len) [member function] - cls.add_method('CopyFrom', - 'uint32_t', - [param('uint8_t const *', 'buffer'), param('uint8_t', 'len')]) - ## address.h: uint32_t ns3::Address::CopyTo(uint8_t * buffer) const [member function] - cls.add_method('CopyTo', - 'uint32_t', - [param('uint8_t *', 'buffer')], - is_const=True) - ## address.h: void ns3::Address::Deserialize(ns3::TagBuffer buffer) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'buffer')]) - ## address.h: uint8_t ns3::Address::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## address.h: uint32_t ns3::Address::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## address.h: bool ns3::Address::IsInvalid() const [member function] - cls.add_method('IsInvalid', - 'bool', - [], - is_const=True) - ## address.h: bool ns3::Address::IsMatchingType(uint8_t type) const [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('uint8_t', 'type')], - is_const=True) - ## address.h: static uint8_t ns3::Address::Register() [member function] - cls.add_method('Register', - 'uint8_t', - [], - is_static=True) - ## address.h: void ns3::Address::Serialize(ns3::TagBuffer buffer) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'buffer')], - is_const=True) - return - -def register_Ns3ApplicationContainer_methods(root_module, cls): - ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::ApplicationContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ApplicationContainer const &', 'arg0')]) - ## application-container.h: ns3::ApplicationContainer::ApplicationContainer() [constructor] - cls.add_constructor([]) - ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(ns3::Ptr application) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Application >', 'application')]) - ## application-container.h: ns3::ApplicationContainer::ApplicationContainer(std::string name) [constructor] - cls.add_constructor([param('std::string', 'name')]) - ## application-container.h: void ns3::ApplicationContainer::Add(ns3::ApplicationContainer other) [member function] - cls.add_method('Add', - 'void', - [param('ns3::ApplicationContainer', 'other')]) - ## application-container.h: void ns3::ApplicationContainer::Add(ns3::Ptr application) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Application >', 'application')]) - ## application-container.h: void ns3::ApplicationContainer::Add(std::string name) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'name')]) - ## application-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ApplicationContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >', - [], - is_const=True) - ## application-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ApplicationContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Application > const, std::vector< ns3::Ptr< ns3::Application > > >', - [], - is_const=True) - ## application-container.h: ns3::Ptr ns3::ApplicationContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::Application >', - [param('uint32_t', 'i')], - is_const=True) - ## application-container.h: uint32_t ns3::ApplicationContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - ## application-container.h: void ns3::ApplicationContainer::Start(ns3::Time start) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time', 'start')]) - ## application-container.h: void ns3::ApplicationContainer::Stop(ns3::Time stop) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time', 'stop')]) - return - -def register_Ns3AsciiTraceHelper_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper(ns3::AsciiTraceHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelper const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelper::AsciiTraceHelper() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::AsciiTraceHelper::CreateFileStream(std::string filename, std::_Ios_Openmode filemode=std::ios_base::out) [member function] - cls.add_method('CreateFileStream', - 'ns3::Ptr< ns3::OutputStreamWrapper >', - [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode', default_value='std::ios_base::out')]) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultDequeueSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDequeueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultDequeueSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultDropSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultDropSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultDropSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultEnqueueSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultEnqueueSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultEnqueueSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithContext(ns3::Ptr file, std::string context, ns3::Ptr p) [member function] - cls.add_method('DefaultReceiveSinkWithContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: static void ns3::AsciiTraceHelper::DefaultReceiveSinkWithoutContext(ns3::Ptr file, ns3::Ptr p) [member function] - cls.add_method('DefaultReceiveSinkWithoutContext', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'file'), param('ns3::Ptr< ns3::Packet const >', 'p')], - is_static=True) - ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromDevice', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) - ## trace-helper.h: std::string ns3::AsciiTraceHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromInterfacePair', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) - return - -def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice(ns3::AsciiTraceHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AsciiTraceHelperForDevice const &', 'arg0')]) - ## trace-helper.h: ns3::AsciiTraceHelperForDevice::AsciiTraceHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::Ptr nd, bool explicitFilename=false) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::Ptr nd) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, std::string ndName, bool explicitFilename=false) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, std::string ndName) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'ndName')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NetDeviceContainer', 'd')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('ns3::NodeContainer', 'n')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool explicitFilename) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'explicitFilename')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAscii(ns3::Ptr stream, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(std::string prefix) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::string', 'prefix')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiAll(ns3::Ptr stream) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')]) - ## trace-helper.h: void ns3::AsciiTraceHelperForDevice::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3Buffer_methods(root_module, cls): - ## buffer.h: ns3::Buffer::Buffer() [constructor] - cls.add_constructor([]) - ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize) [constructor] - cls.add_constructor([param('uint32_t', 'dataSize')]) - ## buffer.h: ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor] - cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')]) - ## buffer.h: ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor] - cls.add_constructor([param('ns3::Buffer const &', 'o')]) - ## buffer.h: bool ns3::Buffer::AddAtEnd(uint32_t end) [member function] - cls.add_method('AddAtEnd', - 'bool', - [param('uint32_t', 'end')]) - ## buffer.h: void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function] - cls.add_method('AddAtEnd', - 'void', - [param('ns3::Buffer const &', 'o')]) - ## buffer.h: bool ns3::Buffer::AddAtStart(uint32_t start) [member function] - cls.add_method('AddAtStart', - 'bool', - [param('uint32_t', 'start')]) - ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function] - cls.add_method('Begin', - 'ns3::Buffer::Iterator', - [], - is_const=True) - ## buffer.h: void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function] - cls.add_method('CopyData', - 'void', - [param('std::ostream *', 'os'), param('uint32_t', 'size')], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function] - cls.add_method('CopyData', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], - is_const=True) - ## buffer.h: ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function] - cls.add_method('CreateFragment', - 'ns3::Buffer', - [param('uint32_t', 'start'), param('uint32_t', 'length')], - is_const=True) - ## buffer.h: ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function] - cls.add_method('CreateFullCopy', - 'ns3::Buffer', - [], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## buffer.h: ns3::Buffer::Iterator ns3::Buffer::End() const [member function] - cls.add_method('End', - 'ns3::Buffer::Iterator', - [], - is_const=True) - ## buffer.h: int32_t ns3::Buffer::GetCurrentEndOffset() const [member function] - cls.add_method('GetCurrentEndOffset', - 'int32_t', - [], - is_const=True) - ## buffer.h: int32_t ns3::Buffer::GetCurrentStartOffset() const [member function] - cls.add_method('GetCurrentStartOffset', - 'int32_t', - [], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## buffer.h: uint8_t const * ns3::Buffer::PeekData() const [member function] - cls.add_method('PeekData', - 'uint8_t const *', - [], - is_const=True) - ## buffer.h: void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function] - cls.add_method('RemoveAtEnd', - 'void', - [param('uint32_t', 'end')]) - ## buffer.h: void ns3::Buffer::RemoveAtStart(uint32_t start) [member function] - cls.add_method('RemoveAtStart', - 'void', - [param('uint32_t', 'start')]) - ## buffer.h: uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] - cls.add_method('Serialize', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], - is_const=True) - return - -def register_Ns3BufferIterator_methods(root_module, cls): - ## buffer.h: ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')]) - ## buffer.h: ns3::Buffer::Iterator::Iterator() [constructor] - cls.add_constructor([]) - ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function] - cls.add_method('CalculateIpChecksum', - 'uint16_t', - [param('uint16_t', 'size')]) - ## buffer.h: uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function] - cls.add_method('CalculateIpChecksum', - 'uint16_t', - [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')]) - ## buffer.h: uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function] - cls.add_method('GetDistanceFrom', - 'uint32_t', - [param('ns3::Buffer::Iterator const &', 'o')], - is_const=True) - ## buffer.h: uint32_t ns3::Buffer::Iterator::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## buffer.h: bool ns3::Buffer::Iterator::IsEnd() const [member function] - cls.add_method('IsEnd', - 'bool', - [], - is_const=True) - ## buffer.h: bool ns3::Buffer::Iterator::IsStart() const [member function] - cls.add_method('IsStart', - 'bool', - [], - is_const=True) - ## buffer.h: void ns3::Buffer::Iterator::Next() [member function] - cls.add_method('Next', - 'void', - []) - ## buffer.h: void ns3::Buffer::Iterator::Next(uint32_t delta) [member function] - cls.add_method('Next', - 'void', - [param('uint32_t', 'delta')]) - ## buffer.h: void ns3::Buffer::Iterator::Prev() [member function] - cls.add_method('Prev', - 'void', - []) - ## buffer.h: void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function] - cls.add_method('Prev', - 'void', - [param('uint32_t', 'delta')]) - ## buffer.h: void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function] - cls.add_method('Read', - 'void', - [param('uint8_t *', 'buffer'), param('uint32_t', 'size')]) - ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function] - cls.add_method('ReadLsbtohU16', - 'uint16_t', - []) - ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function] - cls.add_method('ReadLsbtohU32', - 'uint32_t', - []) - ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function] - cls.add_method('ReadLsbtohU64', - 'uint64_t', - []) - ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function] - cls.add_method('ReadNtohU16', - 'uint16_t', - []) - ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function] - cls.add_method('ReadNtohU32', - 'uint32_t', - []) - ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function] - cls.add_method('ReadNtohU64', - 'uint64_t', - []) - ## buffer.h: uint16_t ns3::Buffer::Iterator::ReadU16() [member function] - cls.add_method('ReadU16', - 'uint16_t', - []) - ## buffer.h: uint32_t ns3::Buffer::Iterator::ReadU32() [member function] - cls.add_method('ReadU32', - 'uint32_t', - []) - ## buffer.h: uint64_t ns3::Buffer::Iterator::ReadU64() [member function] - cls.add_method('ReadU64', - 'uint64_t', - []) - ## buffer.h: uint8_t ns3::Buffer::Iterator::ReadU8() [member function] - cls.add_method('ReadU8', - 'uint8_t', - []) - ## buffer.h: void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('Write', - 'void', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## buffer.h: void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function] - cls.add_method('Write', - 'void', - [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function] - cls.add_method('WriteHtolsbU16', - 'void', - [param('uint16_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function] - cls.add_method('WriteHtolsbU32', - 'void', - [param('uint32_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function] - cls.add_method('WriteHtolsbU64', - 'void', - [param('uint64_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function] - cls.add_method('WriteHtonU16', - 'void', - [param('uint16_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function] - cls.add_method('WriteHtonU32', - 'void', - [param('uint32_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function] - cls.add_method('WriteHtonU64', - 'void', - [param('uint64_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function] - cls.add_method('WriteU16', - 'void', - [param('uint16_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function] - cls.add_method('WriteU32', - 'void', - [param('uint32_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function] - cls.add_method('WriteU64', - 'void', - [param('uint64_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function] - cls.add_method('WriteU8', - 'void', - [param('uint8_t', 'data')]) - ## buffer.h: void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function] - cls.add_method('WriteU8', - 'void', - [param('uint8_t', 'data'), param('uint32_t', 'len')]) - return - -def register_Ns3ByteTagIterator_methods(root_module, cls): - ## packet.h: ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')]) - ## packet.h: bool ns3::ByteTagIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## packet.h: ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function] - cls.add_method('Next', - 'ns3::ByteTagIterator::Item', - []) - return - -def register_Ns3ByteTagIteratorItem_methods(root_module, cls): - ## packet.h: ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')]) - ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function] - cls.add_method('GetEnd', - 'uint32_t', - [], - is_const=True) - ## packet.h: uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function] - cls.add_method('GetStart', - 'uint32_t', - [], - is_const=True) - ## packet.h: void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function] - cls.add_method('GetTag', - 'void', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet.h: ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_const=True) - return - -def register_Ns3ByteTagList_methods(root_module, cls): - ## byte-tag-list.h: ns3::ByteTagList::ByteTagList() [constructor] - cls.add_constructor([]) - ## byte-tag-list.h: ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor] - cls.add_constructor([param('ns3::ByteTagList const &', 'o')]) - ## byte-tag-list.h: ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function] - cls.add_method('Add', - 'ns3::TagBuffer', - [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')]) - ## byte-tag-list.h: void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function] - cls.add_method('Add', - 'void', - [param('ns3::ByteTagList const &', 'o')]) - ## byte-tag-list.h: void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function] - cls.add_method('AddAtEnd', - 'void', - [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')]) - ## byte-tag-list.h: void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function] - cls.add_method('AddAtStart', - 'void', - [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')]) - ## byte-tag-list.h: ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function] - cls.add_method('Begin', - 'ns3::ByteTagList::Iterator', - [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], - is_const=True) - ## byte-tag-list.h: void ns3::ByteTagList::RemoveAll() [member function] - cls.add_method('RemoveAll', - 'void', - []) - return - -def register_Ns3ByteTagListIterator_methods(root_module, cls): - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')]) - ## byte-tag-list.h: uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function] - cls.add_method('GetOffsetStart', - 'uint32_t', - [], - is_const=True) - ## byte-tag-list.h: bool ns3::ByteTagList::Iterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function] - cls.add_method('Next', - 'ns3::ByteTagList::Iterator::Item', - []) - return - -def register_Ns3ByteTagListIteratorItem_methods(root_module, cls): - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')]) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor] - cls.add_constructor([param('ns3::TagBuffer', 'buf')]) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::buf [variable] - cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::end [variable] - cls.add_instance_attribute('end', 'int32_t', is_const=False) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::size [variable] - cls.add_instance_attribute('size', 'uint32_t', is_const=False) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::start [variable] - cls.add_instance_attribute('start', 'int32_t', is_const=False) - ## byte-tag-list.h: ns3::ByteTagList::Iterator::Item::tid [variable] - cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) - return - -def register_Ns3ChannelList_methods(root_module, cls): - ## channel-list.h: ns3::ChannelList::ChannelList() [constructor] - cls.add_constructor([]) - ## channel-list.h: ns3::ChannelList::ChannelList(ns3::ChannelList const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ChannelList const &', 'arg0')]) - ## channel-list.h: static uint32_t ns3::ChannelList::Add(ns3::Ptr channel) [member function] - cls.add_method('Add', - 'uint32_t', - [param('ns3::Ptr< ns3::Channel >', 'channel')], - is_static=True) - ## channel-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ChannelList::Begin() [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Channel > const, std::vector< ns3::Ptr< ns3::Channel > > >', - [], - is_static=True) - ## channel-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ChannelList::End() [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Channel > const, std::vector< ns3::Ptr< ns3::Channel > > >', - [], - is_static=True) - ## channel-list.h: static ns3::Ptr ns3::ChannelList::GetChannel(uint32_t n) [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [param('uint32_t', 'n')], - is_static=True) - ## channel-list.h: static uint32_t ns3::ChannelList::GetNChannels() [member function] - cls.add_method('GetNChannels', - 'uint32_t', - [], - is_static=True) - return - -def register_Ns3DataRate_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('!=') - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>') - cls.add_binary_comparison_operator('>=') - ## data-rate.h: ns3::DataRate::DataRate(ns3::DataRate const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataRate const &', 'arg0')]) - ## data-rate.h: ns3::DataRate::DataRate() [constructor] - cls.add_constructor([]) - ## data-rate.h: ns3::DataRate::DataRate(uint64_t bps) [constructor] - cls.add_constructor([param('uint64_t', 'bps')]) - ## data-rate.h: ns3::DataRate::DataRate(std::string rate) [constructor] - cls.add_constructor([param('std::string', 'rate')]) - ## data-rate.h: double ns3::DataRate::CalculateTxTime(uint32_t bytes) const [member function] - cls.add_method('CalculateTxTime', - 'double', - [param('uint32_t', 'bytes')], - is_const=True) - ## data-rate.h: uint64_t ns3::DataRate::GetBitRate() const [member function] - cls.add_method('GetBitRate', - 'uint64_t', - [], - is_const=True) - return - -def register_Ns3Inet6SocketAddress_methods(root_module, cls): - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Inet6SocketAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Inet6SocketAddress const &', 'arg0')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'ipv6'), param('uint16_t', 'port')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(ns3::Ipv6Address ipv6) [constructor] - cls.add_constructor([param('ns3::Ipv6Address', 'ipv6')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6, uint16_t port) [constructor] - cls.add_constructor([param('char const *', 'ipv6'), param('uint16_t', 'port')]) - ## inet6-socket-address.h: ns3::Inet6SocketAddress::Inet6SocketAddress(char const * ipv6) [constructor] - cls.add_constructor([param('char const *', 'ipv6')]) - ## inet6-socket-address.h: static ns3::Inet6SocketAddress ns3::Inet6SocketAddress::ConvertFrom(ns3::Address const & addr) [member function] - cls.add_method('ConvertFrom', - 'ns3::Inet6SocketAddress', - [param('ns3::Address const &', 'addr')], - is_static=True) - ## inet6-socket-address.h: ns3::Ipv6Address ns3::Inet6SocketAddress::GetIpv6() const [member function] - cls.add_method('GetIpv6', - 'ns3::Ipv6Address', - [], - is_const=True) - ## inet6-socket-address.h: uint16_t ns3::Inet6SocketAddress::GetPort() const [member function] - cls.add_method('GetPort', - 'uint16_t', - [], - is_const=True) - ## inet6-socket-address.h: static bool ns3::Inet6SocketAddress::IsMatchingType(ns3::Address const & addr) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'addr')], - is_static=True) - ## inet6-socket-address.h: void ns3::Inet6SocketAddress::SetIpv6(ns3::Ipv6Address ipv6) [member function] - cls.add_method('SetIpv6', - 'void', - [param('ns3::Ipv6Address', 'ipv6')]) - ## inet6-socket-address.h: void ns3::Inet6SocketAddress::SetPort(uint16_t port) [member function] - cls.add_method('SetPort', - 'void', - [param('uint16_t', 'port')]) - return - -def register_Ns3InetSocketAddress_methods(root_module, cls): - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::InetSocketAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::InetSocketAddress const &', 'arg0')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4, uint16_t port) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ipv4'), param('uint16_t', 'port')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(ns3::Ipv4Address ipv4) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'ipv4')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(uint16_t port) [constructor] - cls.add_constructor([param('uint16_t', 'port')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4, uint16_t port) [constructor] - cls.add_constructor([param('char const *', 'ipv4'), param('uint16_t', 'port')]) - ## inet-socket-address.h: ns3::InetSocketAddress::InetSocketAddress(char const * ipv4) [constructor] - cls.add_constructor([param('char const *', 'ipv4')]) - ## inet-socket-address.h: static ns3::InetSocketAddress ns3::InetSocketAddress::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::InetSocketAddress', - [param('ns3::Address const &', 'address')], - is_static=True) - ## inet-socket-address.h: ns3::Ipv4Address ns3::InetSocketAddress::GetIpv4() const [member function] - cls.add_method('GetIpv4', - 'ns3::Ipv4Address', - [], - is_const=True) - ## inet-socket-address.h: uint16_t ns3::InetSocketAddress::GetPort() const [member function] - cls.add_method('GetPort', - 'uint16_t', - [], - is_const=True) - ## inet-socket-address.h: static bool ns3::InetSocketAddress::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - ## inet-socket-address.h: void ns3::InetSocketAddress::SetIpv4(ns3::Ipv4Address address) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ipv4Address', 'address')]) - ## inet-socket-address.h: void ns3::InetSocketAddress::SetPort(uint16_t port) [member function] - cls.add_method('SetPort', - 'void', - [param('uint16_t', 'port')]) - return - -def register_Ns3Ipv4Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Address const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(uint32_t address) [constructor] - cls.add_constructor([param('uint32_t', 'address')]) - ## ipv4-address.h: ns3::Ipv4Address::Ipv4Address(char const * address) [constructor] - cls.add_constructor([param('char const *', 'address')]) - ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::CombineMask(ns3::Ipv4Mask const & mask) const [member function] - cls.add_method('CombineMask', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const &', 'mask')], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::Ipv4Address', - [param('ns3::Address const &', 'address')], - is_static=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::Deserialize(uint8_t const * buf) [member function] - cls.add_method('Deserialize', - 'ns3::Ipv4Address', - [param('uint8_t const *', 'buf')], - is_static=True) - ## ipv4-address.h: uint32_t ns3::Ipv4Address::Get() const [member function] - cls.add_method('Get', - 'uint32_t', - [], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetAny() [member function] - cls.add_method('GetAny', - 'ns3::Ipv4Address', - [], - is_static=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetBroadcast() [member function] - cls.add_method('GetBroadcast', - 'ns3::Ipv4Address', - [], - is_static=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetLoopback() [member function] - cls.add_method('GetLoopback', - 'ns3::Ipv4Address', - [], - is_static=True) - ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4Address::GetSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function] - cls.add_method('GetSubnetDirectedBroadcast', - 'ns3::Ipv4Address', - [param('ns3::Ipv4Mask const &', 'mask')], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Address ns3::Ipv4Address::GetZero() [member function] - cls.add_method('GetZero', - 'ns3::Ipv4Address', - [], - is_static=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsEqual(ns3::Ipv4Address const & other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ipv4Address const &', 'other')], - is_const=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsLocalMulticast() const [member function] - cls.add_method('IsLocalMulticast', - 'bool', - [], - is_const=True) - ## ipv4-address.h: static bool ns3::Ipv4Address::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True) - ## ipv4-address.h: bool ns3::Ipv4Address::IsSubnetDirectedBroadcast(ns3::Ipv4Mask const & mask) const [member function] - cls.add_method('IsSubnetDirectedBroadcast', - 'bool', - [param('ns3::Ipv4Mask const &', 'mask')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Address::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Address::Serialize(uint8_t * buf) const [member function] - cls.add_method('Serialize', - 'void', - [param('uint8_t *', 'buf')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Address::Set(uint32_t address) [member function] - cls.add_method('Set', - 'void', - [param('uint32_t', 'address')]) - ## ipv4-address.h: void ns3::Ipv4Address::Set(char const * address) [member function] - cls.add_method('Set', - 'void', - [param('char const *', 'address')]) - return - -def register_Ns3Ipv4Mask_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(ns3::Ipv4Mask const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4Mask const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(uint32_t mask) [constructor] - cls.add_constructor([param('uint32_t', 'mask')]) - ## ipv4-address.h: ns3::Ipv4Mask::Ipv4Mask(char const * mask) [constructor] - cls.add_constructor([param('char const *', 'mask')]) - ## ipv4-address.h: uint32_t ns3::Ipv4Mask::Get() const [member function] - cls.add_method('Get', - 'uint32_t', - [], - is_const=True) - ## ipv4-address.h: uint32_t ns3::Ipv4Mask::GetInverse() const [member function] - cls.add_method('GetInverse', - 'uint32_t', - [], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetLoopback() [member function] - cls.add_method('GetLoopback', - 'ns3::Ipv4Mask', - [], - is_static=True) - ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetOnes() [member function] - cls.add_method('GetOnes', - 'ns3::Ipv4Mask', - [], - is_static=True) - ## ipv4-address.h: uint16_t ns3::Ipv4Mask::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint16_t', - [], - is_const=True) - ## ipv4-address.h: static ns3::Ipv4Mask ns3::Ipv4Mask::GetZero() [member function] - cls.add_method('GetZero', - 'ns3::Ipv4Mask', - [], - is_static=True) - ## ipv4-address.h: bool ns3::Ipv4Mask::IsEqual(ns3::Ipv4Mask other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ipv4Mask', 'other')], - is_const=True) - ## ipv4-address.h: bool ns3::Ipv4Mask::IsMatch(ns3::Ipv4Address a, ns3::Ipv4Address b) const [member function] - cls.add_method('IsMatch', - 'bool', - [param('ns3::Ipv4Address', 'a'), param('ns3::Ipv4Address', 'b')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Mask::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## ipv4-address.h: void ns3::Ipv4Mask::Set(uint32_t mask) [member function] - cls.add_method('Set', - 'void', - [param('uint32_t', 'mask')]) - return - -def register_Ns3Ipv6Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(char const * address) [constructor] - cls.add_constructor([param('char const *', 'address')]) - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(uint8_t * address) [constructor] - cls.add_constructor([param('uint8_t *', 'address')]) - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const & addr) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Address const &', 'addr')]) - ## ipv6-address.h: ns3::Ipv6Address::Ipv6Address(ns3::Ipv6Address const * addr) [constructor] - cls.add_constructor([param('ns3::Ipv6Address const *', 'addr')]) - ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6Address::CombinePrefix(ns3::Ipv6Prefix const & prefix) [member function] - cls.add_method('CombinePrefix', - 'ns3::Ipv6Address', - [param('ns3::Ipv6Prefix const &', 'prefix')]) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::Ipv6Address', - [param('ns3::Address const &', 'address')], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::Deserialize(uint8_t const * buf) [member function] - cls.add_method('Deserialize', - 'ns3::Ipv6Address', - [param('uint8_t const *', 'buf')], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllHostsMulticast() [member function] - cls.add_method('GetAllHostsMulticast', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllNodesMulticast() [member function] - cls.add_method('GetAllNodesMulticast', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAllRoutersMulticast() [member function] - cls.add_method('GetAllRoutersMulticast', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetAny() [member function] - cls.add_method('GetAny', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: void ns3::Ipv6Address::GetBytes(uint8_t * buf) const [member function] - cls.add_method('GetBytes', - 'void', - [param('uint8_t *', 'buf')], - is_const=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetLoopback() [member function] - cls.add_method('GetLoopback', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetOnes() [member function] - cls.add_method('GetOnes', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::GetZero() [member function] - cls.add_method('GetZero', - 'ns3::Ipv6Address', - [], - is_static=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsAllHostsMulticast() const [member function] - cls.add_method('IsAllHostsMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsAllNodesMulticast() const [member function] - cls.add_method('IsAllNodesMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsAllRoutersMulticast() const [member function] - cls.add_method('IsAllRoutersMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsAny() const [member function] - cls.add_method('IsAny', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsEqual(ns3::Ipv6Address const & other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ipv6Address const &', 'other')], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsLinkLocal() const [member function] - cls.add_method('IsLinkLocal', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsLocalhost() const [member function] - cls.add_method('IsLocalhost', - 'bool', - [], - is_const=True) - ## ipv6-address.h: static bool ns3::Ipv6Address::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Address::IsSolicitedMulticast() const [member function] - cls.add_method('IsSolicitedMulticast', - 'bool', - [], - is_const=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredAddress(ns3::Mac48Address addr, ns3::Ipv6Address prefix) [member function] - cls.add_method('MakeAutoconfiguredAddress', - 'ns3::Ipv6Address', - [param('ns3::Mac48Address', 'addr'), param('ns3::Ipv6Address', 'prefix')], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeAutoconfiguredLinkLocalAddress(ns3::Mac48Address mac) [member function] - cls.add_method('MakeAutoconfiguredLinkLocalAddress', - 'ns3::Ipv6Address', - [param('ns3::Mac48Address', 'mac')], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Address ns3::Ipv6Address::MakeSolicitedAddress(ns3::Ipv6Address addr) [member function] - cls.add_method('MakeSolicitedAddress', - 'ns3::Ipv6Address', - [param('ns3::Ipv6Address', 'addr')], - is_static=True) - ## ipv6-address.h: void ns3::Ipv6Address::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## ipv6-address.h: void ns3::Ipv6Address::Serialize(uint8_t * buf) const [member function] - cls.add_method('Serialize', - 'void', - [param('uint8_t *', 'buf')], - is_const=True) - ## ipv6-address.h: void ns3::Ipv6Address::Set(char const * address) [member function] - cls.add_method('Set', - 'void', - [param('char const *', 'address')]) - ## ipv6-address.h: void ns3::Ipv6Address::Set(uint8_t * address) [member function] - cls.add_method('Set', - 'void', - [param('uint8_t *', 'address')]) - return - -def register_Ns3Ipv6Prefix_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(uint8_t * prefix) [constructor] - cls.add_constructor([param('uint8_t *', 'prefix')]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(char const * prefix) [constructor] - cls.add_constructor([param('char const *', 'prefix')]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(uint8_t prefix) [constructor] - cls.add_constructor([param('uint8_t', 'prefix')]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const & prefix) [copy constructor] - cls.add_constructor([param('ns3::Ipv6Prefix const &', 'prefix')]) - ## ipv6-address.h: ns3::Ipv6Prefix::Ipv6Prefix(ns3::Ipv6Prefix const * prefix) [constructor] - cls.add_constructor([param('ns3::Ipv6Prefix const *', 'prefix')]) - ## ipv6-address.h: void ns3::Ipv6Prefix::GetBytes(uint8_t * buf) const [member function] - cls.add_method('GetBytes', - 'void', - [param('uint8_t *', 'buf')], - is_const=True) - ## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetLoopback() [member function] - cls.add_method('GetLoopback', - 'ns3::Ipv6Prefix', - [], - is_static=True) - ## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetOnes() [member function] - cls.add_method('GetOnes', - 'ns3::Ipv6Prefix', - [], - is_static=True) - ## ipv6-address.h: uint8_t ns3::Ipv6Prefix::GetPrefixLength() const [member function] - cls.add_method('GetPrefixLength', - 'uint8_t', - [], - is_const=True) - ## ipv6-address.h: static ns3::Ipv6Prefix ns3::Ipv6Prefix::GetZero() [member function] - cls.add_method('GetZero', - 'ns3::Ipv6Prefix', - [], - is_static=True) - ## ipv6-address.h: bool ns3::Ipv6Prefix::IsEqual(ns3::Ipv6Prefix const & other) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ipv6Prefix const &', 'other')], - is_const=True) - ## ipv6-address.h: bool ns3::Ipv6Prefix::IsMatch(ns3::Ipv6Address a, ns3::Ipv6Address b) const [member function] - cls.add_method('IsMatch', - 'bool', - [param('ns3::Ipv6Address', 'a'), param('ns3::Ipv6Address', 'b')], - is_const=True) - ## ipv6-address.h: void ns3::Ipv6Prefix::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - return - -def register_Ns3Mac48Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## mac48-address.h: ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')]) - ## mac48-address.h: ns3::Mac48Address::Mac48Address() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48Address::Mac48Address(char const * str) [constructor] - cls.add_constructor([param('char const *', 'str')]) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::Mac48Address', - [], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::Mac48Address', - [param('ns3::Address const &', 'address')], - is_static=True) - ## mac48-address.h: void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function] - cls.add_method('CopyFrom', - 'void', - [param('uint8_t const *', 'buffer')]) - ## mac48-address.h: void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function] - cls.add_method('CopyTo', - 'void', - [param('uint8_t *', 'buffer')], - is_const=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function] - cls.add_method('GetBroadcast', - 'ns3::Mac48Address', - [], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv4Address address) [member function] - cls.add_method('GetMulticast', - 'ns3::Mac48Address', - [param('ns3::Ipv4Address', 'address')], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv6Address address) [member function] - cls.add_method('GetMulticast', - 'ns3::Mac48Address', - [param('ns3::Ipv6Address', 'address')], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticast6Prefix() [member function] - cls.add_method('GetMulticast6Prefix', - 'ns3::Mac48Address', - [], - is_static=True) - ## mac48-address.h: static ns3::Mac48Address ns3::Mac48Address::GetMulticastPrefix() [member function] - cls.add_method('GetMulticastPrefix', - 'ns3::Mac48Address', - [], - is_static=True) - ## mac48-address.h: bool ns3::Mac48Address::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## mac48-address.h: bool ns3::Mac48Address::IsGroup() const [member function] - cls.add_method('IsGroup', - 'bool', - [], - is_const=True) - ## mac48-address.h: static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - return - -def register_Ns3Mac64Address_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## mac64-address.h: ns3::Mac64Address::Mac64Address(ns3::Mac64Address const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac64Address const &', 'arg0')]) - ## mac64-address.h: ns3::Mac64Address::Mac64Address() [constructor] - cls.add_constructor([]) - ## mac64-address.h: ns3::Mac64Address::Mac64Address(char const * str) [constructor] - cls.add_constructor([param('char const *', 'str')]) - ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::Mac64Address', - [], - is_static=True) - ## mac64-address.h: static ns3::Mac64Address ns3::Mac64Address::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::Mac64Address', - [param('ns3::Address const &', 'address')], - is_static=True) - ## mac64-address.h: void ns3::Mac64Address::CopyFrom(uint8_t const * buffer) [member function] - cls.add_method('CopyFrom', - 'void', - [param('uint8_t const *', 'buffer')]) - ## mac64-address.h: void ns3::Mac64Address::CopyTo(uint8_t * buffer) const [member function] - cls.add_method('CopyTo', - 'void', - [param('uint8_t *', 'buffer')], - is_const=True) - ## mac64-address.h: static bool ns3::Mac64Address::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - return - -def register_Ns3NetDeviceContainer_methods(root_module, cls): - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NetDeviceContainer const &', 'arg0')]) - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer() [constructor] - cls.add_constructor([]) - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::Ptr dev) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::NetDevice >', 'dev')]) - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(std::string devName) [constructor] - cls.add_constructor([param('std::string', 'devName')]) - ## net-device-container.h: ns3::NetDeviceContainer::NetDeviceContainer(ns3::NetDeviceContainer const & a, ns3::NetDeviceContainer const & b) [constructor] - cls.add_constructor([param('ns3::NetDeviceContainer const &', 'a'), param('ns3::NetDeviceContainer const &', 'b')]) - ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::NetDeviceContainer other) [member function] - cls.add_method('Add', - 'void', - [param('ns3::NetDeviceContainer', 'other')]) - ## net-device-container.h: void ns3::NetDeviceContainer::Add(ns3::Ptr device) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## net-device-container.h: void ns3::NetDeviceContainer::Add(std::string deviceName) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'deviceName')]) - ## net-device-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NetDeviceContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', - [], - is_const=True) - ## net-device-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NetDeviceContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::NetDevice > const, std::vector< ns3::Ptr< ns3::NetDevice > > >', - [], - is_const=True) - ## net-device-container.h: ns3::Ptr ns3::NetDeviceContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True) - ## net-device-container.h: uint32_t ns3::NetDeviceContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3NodeContainer_methods(root_module, cls): - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'arg0')]) - ## node-container.h: ns3::NodeContainer::NodeContainer() [constructor] - cls.add_constructor([]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::Ptr node) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(std::string nodeName) [constructor] - cls.add_constructor([param('std::string', 'nodeName')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b) [constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c) [constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d) [constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd')]) - ## node-container.h: ns3::NodeContainer::NodeContainer(ns3::NodeContainer const & a, ns3::NodeContainer const & b, ns3::NodeContainer const & c, ns3::NodeContainer const & d, ns3::NodeContainer const & e) [constructor] - cls.add_constructor([param('ns3::NodeContainer const &', 'a'), param('ns3::NodeContainer const &', 'b'), param('ns3::NodeContainer const &', 'c'), param('ns3::NodeContainer const &', 'd'), param('ns3::NodeContainer const &', 'e')]) - ## node-container.h: void ns3::NodeContainer::Add(ns3::NodeContainer other) [member function] - cls.add_method('Add', - 'void', - [param('ns3::NodeContainer', 'other')]) - ## node-container.h: void ns3::NodeContainer::Add(ns3::Ptr node) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## node-container.h: void ns3::NodeContainer::Add(std::string nodeName) [member function] - cls.add_method('Add', - 'void', - [param('std::string', 'nodeName')]) - ## node-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeContainer::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', - [], - is_const=True) - ## node-container.h: void ns3::NodeContainer::Create(uint32_t n) [member function] - cls.add_method('Create', - 'void', - [param('uint32_t', 'n')]) - ## node-container.h: void ns3::NodeContainer::Create(uint32_t n, uint32_t systemId) [member function] - cls.add_method('Create', - 'void', - [param('uint32_t', 'n'), param('uint32_t', 'systemId')]) - ## node-container.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeContainer::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', - [], - is_const=True) - ## node-container.h: ns3::Ptr ns3::NodeContainer::Get(uint32_t i) const [member function] - cls.add_method('Get', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'i')], - is_const=True) - ## node-container.h: static ns3::NodeContainer ns3::NodeContainer::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::NodeContainer', - [], - is_static=True) - ## node-container.h: uint32_t ns3::NodeContainer::GetN() const [member function] - cls.add_method('GetN', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3NodeList_methods(root_module, cls): - ## node-list.h: ns3::NodeList::NodeList() [constructor] - cls.add_constructor([]) - ## node-list.h: ns3::NodeList::NodeList(ns3::NodeList const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NodeList const &', 'arg0')]) - ## node-list.h: static uint32_t ns3::NodeList::Add(ns3::Ptr node) [member function] - cls.add_method('Add', - 'uint32_t', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_static=True) - ## node-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeList::Begin() [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', - [], - is_static=True) - ## node-list.h: static __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::NodeList::End() [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Node > const, std::vector< ns3::Ptr< ns3::Node > > >', - [], - is_static=True) - ## node-list.h: static uint32_t ns3::NodeList::GetNNodes() [member function] - cls.add_method('GetNNodes', - 'uint32_t', - [], - is_static=True) - ## node-list.h: static ns3::Ptr ns3::NodeList::GetNode(uint32_t n) [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [param('uint32_t', 'n')], - is_static=True) - return - -def register_Ns3PacketMetadata_methods(root_module, cls): - ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor] - cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')]) - ## packet-metadata.h: ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor] - cls.add_constructor([param('ns3::PacketMetadata const &', 'o')]) - ## packet-metadata.h: void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function] - cls.add_method('AddAtEnd', - 'void', - [param('ns3::PacketMetadata const &', 'o')]) - ## packet-metadata.h: void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function] - cls.add_method('AddHeader', - 'void', - [param('ns3::Header const &', 'header'), param('uint32_t', 'size')]) - ## packet-metadata.h: void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function] - cls.add_method('AddPaddingAtEnd', - 'void', - [param('uint32_t', 'end')]) - ## packet-metadata.h: void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function] - cls.add_method('AddTrailer', - 'void', - [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')]) - ## packet-metadata.h: ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function] - cls.add_method('BeginItem', - 'ns3::PacketMetadata::ItemIterator', - [param('ns3::Buffer', 'buffer')], - is_const=True) - ## packet-metadata.h: ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function] - cls.add_method('CreateFragment', - 'ns3::PacketMetadata', - [param('uint32_t', 'start'), param('uint32_t', 'end')], - is_const=True) - ## packet-metadata.h: uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## packet-metadata.h: static void ns3::PacketMetadata::Enable() [member function] - cls.add_method('Enable', - 'void', - [], - is_static=True) - ## packet-metadata.h: static void ns3::PacketMetadata::EnableChecking() [member function] - cls.add_method('EnableChecking', - 'void', - [], - is_static=True) - ## packet-metadata.h: uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packet-metadata.h: uint64_t ns3::PacketMetadata::GetUid() const [member function] - cls.add_method('GetUid', - 'uint64_t', - [], - is_const=True) - ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function] - cls.add_method('RemoveAtEnd', - 'void', - [param('uint32_t', 'end')]) - ## packet-metadata.h: void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function] - cls.add_method('RemoveAtStart', - 'void', - [param('uint32_t', 'start')]) - ## packet-metadata.h: void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function] - cls.add_method('RemoveHeader', - 'void', - [param('ns3::Header const &', 'header'), param('uint32_t', 'size')]) - ## packet-metadata.h: void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function] - cls.add_method('RemoveTrailer', - 'void', - [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')]) - ## packet-metadata.h: uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] - cls.add_method('Serialize', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], - is_const=True) - return - -def register_Ns3PacketMetadataItem_methods(root_module, cls): - ## packet-metadata.h: ns3::PacketMetadata::Item::Item() [constructor] - cls.add_constructor([]) - ## packet-metadata.h: ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')]) - ## packet-metadata.h: ns3::PacketMetadata::Item::current [variable] - cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::currentSize [variable] - cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromEnd [variable] - cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::currentTrimedFromStart [variable] - cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::isFragment [variable] - cls.add_instance_attribute('isFragment', 'bool', is_const=False) - ## packet-metadata.h: ns3::PacketMetadata::Item::tid [variable] - cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) - return - -def register_Ns3PacketMetadataItemIterator_methods(root_module, cls): - ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')]) - ## packet-metadata.h: ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor] - cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')]) - ## packet-metadata.h: bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## packet-metadata.h: ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function] - cls.add_method('Next', - 'ns3::PacketMetadata::Item', - []) - return - -def register_Ns3PacketSocketAddress_methods(root_module, cls): - ## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress(ns3::PacketSocketAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSocketAddress const &', 'arg0')]) - ## packet-socket-address.h: ns3::PacketSocketAddress::PacketSocketAddress() [constructor] - cls.add_constructor([]) - ## packet-socket-address.h: static ns3::PacketSocketAddress ns3::PacketSocketAddress::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::PacketSocketAddress', - [param('ns3::Address const &', 'address')], - is_static=True) - ## packet-socket-address.h: ns3::Address ns3::PacketSocketAddress::GetPhysicalAddress() const [member function] - cls.add_method('GetPhysicalAddress', - 'ns3::Address', - [], - is_const=True) - ## packet-socket-address.h: uint16_t ns3::PacketSocketAddress::GetProtocol() const [member function] - cls.add_method('GetProtocol', - 'uint16_t', - [], - is_const=True) - ## packet-socket-address.h: uint32_t ns3::PacketSocketAddress::GetSingleDevice() const [member function] - cls.add_method('GetSingleDevice', - 'uint32_t', - [], - is_const=True) - ## packet-socket-address.h: static bool ns3::PacketSocketAddress::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - ## packet-socket-address.h: bool ns3::PacketSocketAddress::IsSingleDevice() const [member function] - cls.add_method('IsSingleDevice', - 'bool', - [], - is_const=True) - ## packet-socket-address.h: void ns3::PacketSocketAddress::SetAllDevices() [member function] - cls.add_method('SetAllDevices', - 'void', - []) - ## packet-socket-address.h: void ns3::PacketSocketAddress::SetPhysicalAddress(ns3::Address const address) [member function] - cls.add_method('SetPhysicalAddress', - 'void', - [param('ns3::Address const', 'address')]) - ## packet-socket-address.h: void ns3::PacketSocketAddress::SetProtocol(uint16_t protocol) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint16_t', 'protocol')]) - ## packet-socket-address.h: void ns3::PacketSocketAddress::SetSingleDevice(uint32_t device) [member function] - cls.add_method('SetSingleDevice', - 'void', - [param('uint32_t', 'device')]) - return - -def register_Ns3PacketSocketHelper_methods(root_module, cls): - ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper() [constructor] - cls.add_constructor([]) - ## packet-socket-helper.h: ns3::PacketSocketHelper::PacketSocketHelper(ns3::PacketSocketHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSocketHelper const &', 'arg0')]) - ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'void', - [param('std::string', 'nodeName')], - is_const=True) - ## packet-socket-helper.h: void ns3::PacketSocketHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'void', - [param('ns3::NodeContainer', 'c')], - is_const=True) - return - -def register_Ns3PacketTagIterator_methods(root_module, cls): - ## packet.h: ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')]) - ## packet.h: bool ns3::PacketTagIterator::HasNext() const [member function] - cls.add_method('HasNext', - 'bool', - [], - is_const=True) - ## packet.h: ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function] - cls.add_method('Next', - 'ns3::PacketTagIterator::Item', - []) - return - -def register_Ns3PacketTagIteratorItem_methods(root_module, cls): - ## packet.h: ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')]) - ## packet.h: void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function] - cls.add_method('GetTag', - 'void', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet.h: ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_const=True) - return - -def register_Ns3PacketTagList_methods(root_module, cls): - ## packet-tag-list.h: ns3::PacketTagList::PacketTagList() [constructor] - cls.add_constructor([]) - ## packet-tag-list.h: ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor] - cls.add_constructor([param('ns3::PacketTagList const &', 'o')]) - ## packet-tag-list.h: void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function] - cls.add_method('Add', - 'void', - [param('ns3::Tag const &', 'tag')], - is_const=True) - ## packet-tag-list.h: ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function] - cls.add_method('Head', - 'ns3::PacketTagList::TagData const *', - [], - is_const=True) - ## packet-tag-list.h: bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function] - cls.add_method('Peek', - 'bool', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet-tag-list.h: bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function] - cls.add_method('Remove', - 'bool', - [param('ns3::Tag &', 'tag')]) - ## packet-tag-list.h: void ns3::PacketTagList::RemoveAll() [member function] - cls.add_method('RemoveAll', - 'void', - []) - return - -def register_Ns3PacketTagListTagData_methods(root_module, cls): - ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData() [constructor] - cls.add_constructor([]) - ## packet-tag-list.h: ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')]) - ## packet-tag-list.h: ns3::PacketTagList::TagData::count [variable] - cls.add_instance_attribute('count', 'uint32_t', is_const=False) - ## packet-tag-list.h: ns3::PacketTagList::TagData::data [variable] - cls.add_instance_attribute('data', 'uint8_t [ 20 ]', is_const=False) - ## packet-tag-list.h: ns3::PacketTagList::TagData::next [variable] - cls.add_instance_attribute('next', 'ns3::PacketTagList::TagData *', is_const=False) - ## packet-tag-list.h: ns3::PacketTagList::TagData::tid [variable] - cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) - return - -def register_Ns3PbbAddressTlvBlock_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbAddressTlvBlock::PbbAddressTlvBlock(ns3::PbbAddressTlvBlock const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressTlvBlock const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressTlvBlock::PbbAddressTlvBlock() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbAddressTlvBlock::Back() const [member function] - cls.add_method('Back', - 'ns3::Ptr< ns3::PbbAddressTlv >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Begin() [member function] - cls.add_method('Begin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressTlvBlock::Begin() const [member function] - cls.add_method('Begin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: bool ns3::PbbAddressTlvBlock::Empty() const [member function] - cls.add_method('Empty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::End() [member function] - cls.add_method('End', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressTlvBlock::End() const [member function] - cls.add_method('End', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbAddressTlvBlock::Front() const [member function] - cls.add_method('Front', - 'ns3::Ptr< ns3::PbbAddressTlv >', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbAddressTlvBlock::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressTlvBlock::Insert(std::_List_iterator > position, ns3::Ptr const tlv) [member function] - cls.add_method('Insert', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbAddressTlv > const', 'tlv')]) - ## packetbb.h: void ns3::PbbAddressTlvBlock::PopBack() [member function] - cls.add_method('PopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressTlvBlock::PopFront() [member function] - cls.add_method('PopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlvBlock::PushBack(ns3::Ptr tlv) [member function] - cls.add_method('PushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbAddressTlvBlock::PushFront(ns3::Ptr tlv) [member function] - cls.add_method('PushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbAddressTlvBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: int ns3::PbbAddressTlvBlock::Size() const [member function] - cls.add_method('Size', - 'int', - [], - is_const=True) - return - -def register_Ns3PbbTlvBlock_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbTlvBlock::PbbTlvBlock(ns3::PbbTlvBlock const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbTlvBlock const &', 'arg0')]) - ## packetbb.h: ns3::PbbTlvBlock::PbbTlvBlock() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbTlvBlock::Back() const [member function] - cls.add_method('Back', - 'ns3::Ptr< ns3::PbbTlv >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Begin() [member function] - cls.add_method('Begin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbTlvBlock::Begin() const [member function] - cls.add_method('Begin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbTlvBlock::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## packetbb.h: void ns3::PbbTlvBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: bool ns3::PbbTlvBlock::Empty() const [member function] - cls.add_method('Empty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::End() [member function] - cls.add_method('End', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbTlvBlock::End() const [member function] - cls.add_method('End', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbTlvBlock::Front() const [member function] - cls.add_method('Front', - 'ns3::Ptr< ns3::PbbTlv >', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbTlvBlock::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbTlvBlock::Insert(std::_List_iterator > position, ns3::Ptr const tlv) [member function] - cls.add_method('Insert', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'tlv')]) - ## packetbb.h: void ns3::PbbTlvBlock::PopBack() [member function] - cls.add_method('PopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbTlvBlock::PopFront() [member function] - cls.add_method('PopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbTlvBlock::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbTlvBlock::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbTlvBlock::PushBack(ns3::Ptr tlv) [member function] - cls.add_method('PushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbTlvBlock::PushFront(ns3::Ptr tlv) [member function] - cls.add_method('PushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbTlvBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: int ns3::PbbTlvBlock::Size() const [member function] - cls.add_method('Size', - 'int', - [], - is_const=True) - return - -def register_Ns3PcapFile_methods(root_module, cls): - ## pcap-file.h: ns3::PcapFile::PcapFile() [constructor] - cls.add_constructor([]) - ## pcap-file.h: void ns3::PcapFile::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## pcap-file.h: void ns3::PcapFile::Close() [member function] - cls.add_method('Close', - 'void', - []) - ## pcap-file.h: static bool ns3::PcapFile::Diff(std::string const & f1, std::string const & f2, uint32_t & sec, uint32_t & usec, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT) [member function] - cls.add_method('Diff', - 'bool', - [param('std::string const &', 'f1'), param('std::string const &', 'f2'), param('uint32_t &', 'sec'), param('uint32_t &', 'usec'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT')], - is_static=True) - ## pcap-file.h: bool ns3::PcapFile::Eof() const [member function] - cls.add_method('Eof', - 'bool', - [], - is_const=True) - ## pcap-file.h: bool ns3::PcapFile::Fail() const [member function] - cls.add_method('Fail', - 'bool', - [], - is_const=True) - ## pcap-file.h: uint32_t ns3::PcapFile::GetDataLinkType() [member function] - cls.add_method('GetDataLinkType', - 'uint32_t', - []) - ## pcap-file.h: uint32_t ns3::PcapFile::GetMagic() [member function] - cls.add_method('GetMagic', - 'uint32_t', - []) - ## pcap-file.h: uint32_t ns3::PcapFile::GetSigFigs() [member function] - cls.add_method('GetSigFigs', - 'uint32_t', - []) - ## pcap-file.h: uint32_t ns3::PcapFile::GetSnapLen() [member function] - cls.add_method('GetSnapLen', - 'uint32_t', - []) - ## pcap-file.h: bool ns3::PcapFile::GetSwapMode() [member function] - cls.add_method('GetSwapMode', - 'bool', - []) - ## pcap-file.h: int32_t ns3::PcapFile::GetTimeZoneOffset() [member function] - cls.add_method('GetTimeZoneOffset', - 'int32_t', - []) - ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMajor() [member function] - cls.add_method('GetVersionMajor', - 'uint16_t', - []) - ## pcap-file.h: uint16_t ns3::PcapFile::GetVersionMinor() [member function] - cls.add_method('GetVersionMinor', - 'uint16_t', - []) - ## pcap-file.h: void ns3::PcapFile::Init(uint32_t dataLinkType, uint32_t snapLen=ns3::PcapFile::SNAPLEN_DEFAULT, int32_t timeZoneCorrection=ns3::PcapFile::ZONE_DEFAULT, bool swapMode=false) [member function] - cls.add_method('Init', - 'void', - [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='ns3::PcapFile::SNAPLEN_DEFAULT'), param('int32_t', 'timeZoneCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT'), param('bool', 'swapMode', default_value='false')]) - ## pcap-file.h: void ns3::PcapFile::Open(std::string const & filename, std::_Ios_Openmode mode) [member function] - cls.add_method('Open', - 'void', - [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')]) - ## pcap-file.h: void ns3::PcapFile::Read(uint8_t * const data, uint32_t maxBytes, uint32_t & tsSec, uint32_t & tsUsec, uint32_t & inclLen, uint32_t & origLen, uint32_t & readLen) [member function] - cls.add_method('Read', - 'void', - [param('uint8_t * const', 'data'), param('uint32_t', 'maxBytes'), param('uint32_t &', 'tsSec'), param('uint32_t &', 'tsUsec'), param('uint32_t &', 'inclLen'), param('uint32_t &', 'origLen'), param('uint32_t &', 'readLen')]) - ## pcap-file.h: void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, uint8_t const * const data, uint32_t totalLen) [member function] - cls.add_method('Write', - 'void', - [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('uint8_t const * const', 'data'), param('uint32_t', 'totalLen')]) - ## pcap-file.h: void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Ptr p) [member function] - cls.add_method('Write', - 'void', - [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## pcap-file.h: void ns3::PcapFile::Write(uint32_t tsSec, uint32_t tsUsec, ns3::Header & header, ns3::Ptr p) [member function] - cls.add_method('Write', - 'void', - [param('uint32_t', 'tsSec'), param('uint32_t', 'tsUsec'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## pcap-file.h: ns3::PcapFile::SNAPLEN_DEFAULT [variable] - cls.add_static_attribute('SNAPLEN_DEFAULT', 'uint32_t const', is_const=True) - ## pcap-file.h: ns3::PcapFile::ZONE_DEFAULT [variable] - cls.add_static_attribute('ZONE_DEFAULT', 'int32_t const', is_const=True) - return - -def register_Ns3PcapHelper_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelper::PcapHelper(ns3::PcapHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelper const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelper::PcapHelper() [constructor] - cls.add_constructor([]) - ## trace-helper.h: ns3::Ptr ns3::PcapHelper::CreateFile(std::string filename, std::_Ios_Openmode filemode, uint32_t dataLinkType, uint32_t snapLen=65535, int32_t tzCorrection=0) [member function] - cls.add_method('CreateFile', - 'ns3::Ptr< ns3::PcapFileWrapper >', - [param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode'), param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='65535'), param('int32_t', 'tzCorrection', default_value='0')]) - ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromDevice(std::string prefix, ns3::Ptr device, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromDevice', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'device'), param('bool', 'useObjectNames', default_value='true')]) - ## trace-helper.h: std::string ns3::PcapHelper::GetFilenameFromInterfacePair(std::string prefix, ns3::Ptr object, uint32_t interface, bool useObjectNames=true) [member function] - cls.add_method('GetFilenameFromInterfacePair', - 'std::string', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::Object >', 'object'), param('uint32_t', 'interface'), param('bool', 'useObjectNames', default_value='true')]) - return - -def register_Ns3PcapHelperForDevice_methods(root_module, cls): - ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice(ns3::PcapHelperForDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PcapHelperForDevice const &', 'arg0')]) - ## trace-helper.h: ns3::PcapHelperForDevice::PcapHelperForDevice() [constructor] - cls.add_constructor([]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::Ptr nd, bool promiscuous=false, bool explicitFilename=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, std::string ndName, bool promiscuous=false, bool explicitFilename=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('std::string', 'ndName'), param('bool', 'promiscuous', default_value='false'), param('bool', 'explicitFilename', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NetDeviceContainer d, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::NetDeviceContainer', 'd'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, ns3::NodeContainer n, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('ns3::NodeContainer', 'n'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcap(std::string prefix, uint32_t nodeid, uint32_t deviceid, bool promiscuous=false) [member function] - cls.add_method('EnablePcap', - 'void', - [param('std::string', 'prefix'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapAll(std::string prefix, bool promiscuous=false) [member function] - cls.add_method('EnablePcapAll', - 'void', - [param('std::string', 'prefix'), param('bool', 'promiscuous', default_value='false')]) - ## trace-helper.h: void ns3::PcapHelperForDevice::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SequenceNumber32_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('ns3::SequenceNumber< unsigned int, int > const &', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right')) - cls.add_inplace_numeric_operator('+=', param('int', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::SequenceNumber32'], root_module['ns3::SequenceNumber32'], param('int', 'right')) - cls.add_inplace_numeric_operator('-=', param('int', 'right')) - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('<=') - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('>') - cls.add_binary_comparison_operator('>=') - ## sequence-number.h: ns3::SequenceNumber::SequenceNumber() [constructor] - cls.add_constructor([]) - ## sequence-number.h: ns3::SequenceNumber::SequenceNumber(unsigned int value) [constructor] - cls.add_constructor([param('unsigned int', 'value')]) - ## sequence-number.h: ns3::SequenceNumber::SequenceNumber(ns3::SequenceNumber const & value) [copy constructor] - cls.add_constructor([param('ns3::SequenceNumber< unsigned int, int > const &', 'value')]) - ## sequence-number.h: unsigned int ns3::SequenceNumber::GetValue() const [member function] - cls.add_method('GetValue', - 'unsigned int', - [], - is_const=True) - return - -def register_Ns3Tag_methods(root_module, cls): - ## tag.h: ns3::Tag::Tag() [constructor] - cls.add_constructor([]) - ## tag.h: ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Tag const &', 'arg0')]) - ## tag.h: void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_pure_virtual=True, is_virtual=True) - ## tag.h: uint32_t ns3::Tag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## tag.h: static ns3::TypeId ns3::Tag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tag.h: void ns3::Tag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## tag.h: void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3TagBuffer_methods(root_module, cls): - ## tag-buffer.h: ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')]) - ## tag-buffer.h: ns3::TagBuffer::TagBuffer(uint8_t * start, uint8_t * end) [constructor] - cls.add_constructor([param('uint8_t *', 'start'), param('uint8_t *', 'end')]) - ## tag-buffer.h: void ns3::TagBuffer::CopyFrom(ns3::TagBuffer o) [member function] - cls.add_method('CopyFrom', - 'void', - [param('ns3::TagBuffer', 'o')]) - ## tag-buffer.h: void ns3::TagBuffer::Read(uint8_t * buffer, uint32_t size) [member function] - cls.add_method('Read', - 'void', - [param('uint8_t *', 'buffer'), param('uint32_t', 'size')]) - ## tag-buffer.h: double ns3::TagBuffer::ReadDouble() [member function] - cls.add_method('ReadDouble', - 'double', - []) - ## tag-buffer.h: uint16_t ns3::TagBuffer::ReadU16() [member function] - cls.add_method('ReadU16', - 'uint16_t', - []) - ## tag-buffer.h: uint32_t ns3::TagBuffer::ReadU32() [member function] - cls.add_method('ReadU32', - 'uint32_t', - []) - ## tag-buffer.h: uint64_t ns3::TagBuffer::ReadU64() [member function] - cls.add_method('ReadU64', - 'uint64_t', - []) - ## tag-buffer.h: uint8_t ns3::TagBuffer::ReadU8() [member function] - cls.add_method('ReadU8', - 'uint8_t', - []) - ## tag-buffer.h: void ns3::TagBuffer::TrimAtEnd(uint32_t trim) [member function] - cls.add_method('TrimAtEnd', - 'void', - [param('uint32_t', 'trim')]) - ## tag-buffer.h: void ns3::TagBuffer::Write(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('Write', - 'void', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteDouble(double v) [member function] - cls.add_method('WriteDouble', - 'void', - [param('double', 'v')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteU16(uint16_t data) [member function] - cls.add_method('WriteU16', - 'void', - [param('uint16_t', 'data')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteU32(uint32_t data) [member function] - cls.add_method('WriteU32', - 'void', - [param('uint32_t', 'data')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteU64(uint64_t v) [member function] - cls.add_method('WriteU64', - 'void', - [param('uint64_t', 'v')]) - ## tag-buffer.h: void ns3::TagBuffer::WriteU8(uint8_t v) [member function] - cls.add_method('WriteU8', - 'void', - [param('uint8_t', 'v')]) - return - -def register_Ns3Chunk_methods(root_module, cls): - ## chunk.h: ns3::Chunk::Chunk() [constructor] - cls.add_constructor([]) - ## chunk.h: ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Chunk const &', 'arg0')]) - ## chunk.h: uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_virtual=True) - ## chunk.h: static ns3::TypeId ns3::Chunk::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## chunk.h: void ns3::Chunk::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3FlowIdTag_methods(root_module, cls): - ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(ns3::FlowIdTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FlowIdTag const &', 'arg0')]) - ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag() [constructor] - cls.add_constructor([]) - ## flow-id-tag.h: ns3::FlowIdTag::FlowIdTag(uint32_t flowId) [constructor] - cls.add_constructor([param('uint32_t', 'flowId')]) - ## flow-id-tag.h: static uint32_t ns3::FlowIdTag::AllocateFlowId() [member function] - cls.add_method('AllocateFlowId', - 'uint32_t', - [], - is_static=True) - ## flow-id-tag.h: void ns3::FlowIdTag::Deserialize(ns3::TagBuffer buf) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'buf')], - is_virtual=True) - ## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetFlowId() const [member function] - cls.add_method('GetFlowId', - 'uint32_t', - [], - is_const=True) - ## flow-id-tag.h: ns3::TypeId ns3::FlowIdTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## flow-id-tag.h: uint32_t ns3::FlowIdTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## flow-id-tag.h: static ns3::TypeId ns3::FlowIdTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## flow-id-tag.h: void ns3::FlowIdTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## flow-id-tag.h: void ns3::FlowIdTag::Serialize(ns3::TagBuffer buf) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'buf')], - is_const=True, is_virtual=True) - ## flow-id-tag.h: void ns3::FlowIdTag::SetFlowId(uint32_t flowId) [member function] - cls.add_method('SetFlowId', - 'void', - [param('uint32_t', 'flowId')]) - return - -def register_Ns3Header_methods(root_module, cls): - cls.add_output_stream_operator() - ## header.h: ns3::Header::Header() [constructor] - cls.add_constructor([]) - ## header.h: ns3::Header::Header(ns3::Header const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Header const &', 'arg0')]) - ## header.h: uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_virtual=True) - ## header.h: uint32_t ns3::Header::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## header.h: static ns3::TypeId ns3::Header::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## header.h: void ns3::Header::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## header.h: void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3LlcSnapHeader_methods(root_module, cls): - ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader(ns3::LlcSnapHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::LlcSnapHeader const &', 'arg0')]) - ## llc-snap-header.h: ns3::LlcSnapHeader::LlcSnapHeader() [constructor] - cls.add_constructor([]) - ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## llc-snap-header.h: ns3::TypeId ns3::LlcSnapHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## llc-snap-header.h: uint32_t ns3::LlcSnapHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## llc-snap-header.h: uint16_t ns3::LlcSnapHeader::GetType() [member function] - cls.add_method('GetType', - 'uint16_t', - []) - ## llc-snap-header.h: static ns3::TypeId ns3::LlcSnapHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## llc-snap-header.h: void ns3::LlcSnapHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## llc-snap-header.h: void ns3::LlcSnapHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## llc-snap-header.h: void ns3::LlcSnapHeader::SetType(uint16_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint16_t', 'type')]) - return - -def register_Ns3PacketBurst_methods(root_module, cls): - ## packet-burst.h: ns3::PacketBurst::PacketBurst(ns3::PacketBurst const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketBurst const &', 'arg0')]) - ## packet-burst.h: ns3::PacketBurst::PacketBurst() [constructor] - cls.add_constructor([]) - ## packet-burst.h: void ns3::PacketBurst::AddPacket(ns3::Ptr packet) [member function] - cls.add_method('AddPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')]) - ## packet-burst.h: std::_List_const_iterator > ns3::PacketBurst::Begin() const [member function] - cls.add_method('Begin', - 'std::_List_const_iterator< ns3::Ptr< ns3::Packet > >', - [], - is_const=True) - ## packet-burst.h: ns3::Ptr ns3::PacketBurst::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::PacketBurst >', - [], - is_const=True) - ## packet-burst.h: std::_List_const_iterator > ns3::PacketBurst::End() const [member function] - cls.add_method('End', - 'std::_List_const_iterator< ns3::Ptr< ns3::Packet > >', - [], - is_const=True) - ## packet-burst.h: uint32_t ns3::PacketBurst::GetNPackets() const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [], - is_const=True) - ## packet-burst.h: std::list, std::allocator > > ns3::PacketBurst::GetPackets() const [member function] - cls.add_method('GetPackets', - 'std::list< ns3::Ptr< ns3::Packet > >', - [], - is_const=True) - ## packet-burst.h: uint32_t ns3::PacketBurst::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## packet-burst.h: static ns3::TypeId ns3::PacketBurst::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-burst.h: void ns3::PacketBurst::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3PcapFileWrapper_methods(root_module, cls): - ## pcap-file-wrapper.h: static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## pcap-file-wrapper.h: ns3::PcapFileWrapper::PcapFileWrapper() [constructor] - cls.add_constructor([]) - ## pcap-file-wrapper.h: bool ns3::PcapFileWrapper::Fail() const [member function] - cls.add_method('Fail', - 'bool', - [], - is_const=True) - ## pcap-file-wrapper.h: bool ns3::PcapFileWrapper::Eof() const [member function] - cls.add_method('Eof', - 'bool', - [], - is_const=True) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Open(std::string const & filename, std::_Ios_Openmode mode) [member function] - cls.add_method('Open', - 'void', - [param('std::string const &', 'filename'), param('std::_Ios_Openmode', 'mode')]) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Close() [member function] - cls.add_method('Close', - 'void', - []) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Init(uint32_t dataLinkType, uint32_t snapLen=std::numeric_limits::max(), int32_t tzCorrection=ns3::PcapFile::ZONE_DEFAULT) [member function] - cls.add_method('Init', - 'void', - [param('uint32_t', 'dataLinkType'), param('uint32_t', 'snapLen', default_value='std::numeric_limits::max()'), param('int32_t', 'tzCorrection', default_value='ns3::PcapFile::ZONE_DEFAULT')]) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Ptr p) [member function] - cls.add_method('Write', - 'void', - [param('ns3::Time', 't'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Write(ns3::Time t, ns3::Header & header, ns3::Ptr p) [member function] - cls.add_method('Write', - 'void', - [param('ns3::Time', 't'), param('ns3::Header &', 'header'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## pcap-file-wrapper.h: void ns3::PcapFileWrapper::Write(ns3::Time t, uint8_t const * buffer, uint32_t length) [member function] - cls.add_method('Write', - 'void', - [param('ns3::Time', 't'), param('uint8_t const *', 'buffer'), param('uint32_t', 'length')]) - ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetMagic() [member function] - cls.add_method('GetMagic', - 'uint32_t', - []) - ## pcap-file-wrapper.h: uint16_t ns3::PcapFileWrapper::GetVersionMajor() [member function] - cls.add_method('GetVersionMajor', - 'uint16_t', - []) - ## pcap-file-wrapper.h: uint16_t ns3::PcapFileWrapper::GetVersionMinor() [member function] - cls.add_method('GetVersionMinor', - 'uint16_t', - []) - ## pcap-file-wrapper.h: int32_t ns3::PcapFileWrapper::GetTimeZoneOffset() [member function] - cls.add_method('GetTimeZoneOffset', - 'int32_t', - []) - ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetSigFigs() [member function] - cls.add_method('GetSigFigs', - 'uint32_t', - []) - ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetSnapLen() [member function] - cls.add_method('GetSnapLen', - 'uint32_t', - []) - ## pcap-file-wrapper.h: uint32_t ns3::PcapFileWrapper::GetDataLinkType() [member function] - cls.add_method('GetDataLinkType', - 'uint32_t', - []) - return - -def register_Ns3Queue_methods(root_module, cls): - ## queue.h: ns3::Queue::Queue(ns3::Queue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Queue const &', 'arg0')]) - ## queue.h: ns3::Queue::Queue() [constructor] - cls.add_constructor([]) - ## queue.h: ns3::Ptr ns3::Queue::Dequeue() [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - []) - ## queue.h: void ns3::Queue::DequeueAll() [member function] - cls.add_method('DequeueAll', - 'void', - []) - ## queue.h: bool ns3::Queue::Enqueue(ns3::Ptr p) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## queue.h: uint32_t ns3::Queue::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetNPackets() const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetTotalDroppedBytes() const [member function] - cls.add_method('GetTotalDroppedBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetTotalDroppedPackets() const [member function] - cls.add_method('GetTotalDroppedPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetTotalReceivedBytes() const [member function] - cls.add_method('GetTotalReceivedBytes', - 'uint32_t', - [], - is_const=True) - ## queue.h: uint32_t ns3::Queue::GetTotalReceivedPackets() const [member function] - cls.add_method('GetTotalReceivedPackets', - 'uint32_t', - [], - is_const=True) - ## queue.h: static ns3::TypeId ns3::Queue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## queue.h: bool ns3::Queue::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## queue.h: ns3::Ptr ns3::Queue::Peek() const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet const >', - [], - is_const=True) - ## queue.h: void ns3::Queue::ResetStatistics() [member function] - cls.add_method('ResetStatistics', - 'void', - []) - ## queue.h: void ns3::Queue::Drop(ns3::Ptr packet) [member function] - cls.add_method('Drop', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')], - visibility='protected') - ## queue.h: ns3::Ptr ns3::Queue::DoDequeue() [member function] - cls.add_method('DoDequeue', - 'ns3::Ptr< ns3::Packet >', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue.h: bool ns3::Queue::DoEnqueue(ns3::Ptr p) [member function] - cls.add_method('DoEnqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## queue.h: ns3::Ptr ns3::Queue::DoPeek() const [member function] - cls.add_method('DoPeek', - 'ns3::Ptr< ns3::Packet const >', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RadiotapHeader_methods(root_module, cls): - ## radiotap-header.h: ns3::RadiotapHeader::RadiotapHeader(ns3::RadiotapHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RadiotapHeader const &', 'arg0')]) - ## radiotap-header.h: ns3::RadiotapHeader::RadiotapHeader() [constructor] - cls.add_constructor([]) - ## radiotap-header.h: uint32_t ns3::RadiotapHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## radiotap-header.h: uint8_t ns3::RadiotapHeader::GetAntennaNoisePower() const [member function] - cls.add_method('GetAntennaNoisePower', - 'uint8_t', - [], - is_const=True) - ## radiotap-header.h: uint8_t ns3::RadiotapHeader::GetAntennaSignalPower() const [member function] - cls.add_method('GetAntennaSignalPower', - 'uint8_t', - [], - is_const=True) - ## radiotap-header.h: uint16_t ns3::RadiotapHeader::GetChannelFlags() const [member function] - cls.add_method('GetChannelFlags', - 'uint16_t', - [], - is_const=True) - ## radiotap-header.h: uint16_t ns3::RadiotapHeader::GetChannelFrequency() const [member function] - cls.add_method('GetChannelFrequency', - 'uint16_t', - [], - is_const=True) - ## radiotap-header.h: uint8_t ns3::RadiotapHeader::GetFrameFlags() const [member function] - cls.add_method('GetFrameFlags', - 'uint8_t', - [], - is_const=True) - ## radiotap-header.h: ns3::TypeId ns3::RadiotapHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## radiotap-header.h: uint8_t ns3::RadiotapHeader::GetRate() const [member function] - cls.add_method('GetRate', - 'uint8_t', - [], - is_const=True) - ## radiotap-header.h: uint32_t ns3::RadiotapHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## radiotap-header.h: uint64_t ns3::RadiotapHeader::GetTsft() const [member function] - cls.add_method('GetTsft', - 'uint64_t', - [], - is_const=True) - ## radiotap-header.h: static ns3::TypeId ns3::RadiotapHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## radiotap-header.h: void ns3::RadiotapHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## radiotap-header.h: void ns3::RadiotapHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## radiotap-header.h: void ns3::RadiotapHeader::SetAntennaNoisePower(double noise) [member function] - cls.add_method('SetAntennaNoisePower', - 'void', - [param('double', 'noise')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetAntennaSignalPower(double signal) [member function] - cls.add_method('SetAntennaSignalPower', - 'void', - [param('double', 'signal')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetChannelFrequencyAndFlags(uint16_t frequency, uint16_t flags) [member function] - cls.add_method('SetChannelFrequencyAndFlags', - 'void', - [param('uint16_t', 'frequency'), param('uint16_t', 'flags')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetFrameFlags(uint8_t flags) [member function] - cls.add_method('SetFrameFlags', - 'void', - [param('uint8_t', 'flags')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetRate(uint8_t rate) [member function] - cls.add_method('SetRate', - 'void', - [param('uint8_t', 'rate')]) - ## radiotap-header.h: void ns3::RadiotapHeader::SetTsft(uint64_t tsft) [member function] - cls.add_method('SetTsft', - 'void', - [param('uint64_t', 'tsft')]) - return - -def register_Ns3Socket_methods(root_module, cls): - ## socket.h: ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Socket const &', 'arg0')]) - ## socket.h: ns3::Socket::Socket() [constructor] - cls.add_constructor([]) - ## socket.h: int ns3::Socket::Bind(ns3::Address const & address) [member function] - cls.add_method('Bind', - 'int', - [param('ns3::Address const &', 'address')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::Bind() [member function] - cls.add_method('Bind', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: void ns3::Socket::BindToNetDevice(ns3::Ptr netdevice) [member function] - cls.add_method('BindToNetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'netdevice')], - is_virtual=True) - ## socket.h: int ns3::Socket::Close() [member function] - cls.add_method('Close', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::Connect(ns3::Address const & address) [member function] - cls.add_method('Connect', - 'int', - [param('ns3::Address const &', 'address')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: static ns3::Ptr ns3::Socket::CreateSocket(ns3::Ptr node, ns3::TypeId tid) [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::TypeId', 'tid')], - is_static=True) - ## socket.h: bool ns3::Socket::GetAllowBroadcast() const [member function] - cls.add_method('GetAllowBroadcast', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::GetBoundNetDevice() [member function] - cls.add_method('GetBoundNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## socket.h: ns3::Socket::SocketErrno ns3::Socket::GetErrno() const [member function] - cls.add_method('GetErrno', - 'ns3::Socket::SocketErrno', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::Socket::GetRxAvailable() const [member function] - cls.add_method('GetRxAvailable', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: int ns3::Socket::GetSockName(ns3::Address & address) const [member function] - cls.add_method('GetSockName', - 'int', - [param('ns3::Address &', 'address')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: ns3::Socket::SocketType ns3::Socket::GetSocketType() const [member function] - cls.add_method('GetSocketType', - 'ns3::Socket::SocketType', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::Socket::GetTxAvailable() const [member function] - cls.add_method('GetTxAvailable', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## socket.h: int ns3::Socket::Listen() [member function] - cls.add_method('Listen', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::Recv(uint32_t maxSize, uint32_t flags) [member function] - cls.add_method('Recv', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::Recv() [member function] - cls.add_method('Recv', - 'ns3::Ptr< ns3::Packet >', - []) - ## socket.h: int ns3::Socket::Recv(uint8_t * buf, uint32_t size, uint32_t flags) [member function] - cls.add_method('Recv', - 'int', - [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')]) - ## socket.h: ns3::Ptr ns3::Socket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: ns3::Ptr ns3::Socket::RecvFrom(ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::Address &', 'fromAddress')]) - ## socket.h: int ns3::Socket::RecvFrom(uint8_t * buf, uint32_t size, uint32_t flags, ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'int', - [param('uint8_t *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')]) - ## socket.h: int ns3::Socket::Send(ns3::Ptr p, uint32_t flags) [member function] - cls.add_method('Send', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::Send(ns3::Ptr p) [member function] - cls.add_method('Send', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## socket.h: int ns3::Socket::Send(uint8_t const * buf, uint32_t size, uint32_t flags) [member function] - cls.add_method('Send', - 'int', - [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags')]) - ## socket.h: int ns3::Socket::SendTo(ns3::Ptr p, uint32_t flags, ns3::Address const & toAddress) [member function] - cls.add_method('SendTo', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::SendTo(uint8_t const * buf, uint32_t size, uint32_t flags, ns3::Address const & address) [member function] - cls.add_method('SendTo', - 'int', - [param('uint8_t const *', 'buf'), param('uint32_t', 'size'), param('uint32_t', 'flags'), param('ns3::Address const &', 'address')]) - ## socket.h: void ns3::Socket::SetAcceptCallback(ns3::Callback, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionRequest, ns3::Callback, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> newConnectionCreated) [member function] - cls.add_method('SetAcceptCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::Socket >, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionRequest'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'newConnectionCreated')]) - ## socket.h: bool ns3::Socket::SetAllowBroadcast(bool allowBroadcast) [member function] - cls.add_method('SetAllowBroadcast', - 'bool', - [param('bool', 'allowBroadcast')], - is_pure_virtual=True, is_virtual=True) - ## socket.h: void ns3::Socket::SetCloseCallbacks(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> normalClose, ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> errorClose) [member function] - cls.add_method('SetCloseCallbacks', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'normalClose'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'errorClose')]) - ## socket.h: void ns3::Socket::SetConnectCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionSucceeded, ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> connectionFailed) [member function] - cls.add_method('SetConnectCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionSucceeded'), param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'connectionFailed')]) - ## socket.h: void ns3::Socket::SetDataSentCallback(ns3::Callback, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> dataSent) [member function] - cls.add_method('SetDataSentCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'dataSent')]) - ## socket.h: void ns3::Socket::SetRecvCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> arg0) [member function] - cls.add_method('SetRecvCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'arg0')]) - ## socket.h: void ns3::Socket::SetRecvPktInfo(bool flag) [member function] - cls.add_method('SetRecvPktInfo', - 'void', - [param('bool', 'flag')]) - ## socket.h: void ns3::Socket::SetSendCallback(ns3::Callback, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> sendCb) [member function] - cls.add_method('SetSendCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Socket >, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'sendCb')]) - ## socket.h: int ns3::Socket::ShutdownRecv() [member function] - cls.add_method('ShutdownRecv', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: int ns3::Socket::ShutdownSend() [member function] - cls.add_method('ShutdownSend', - 'int', - [], - is_pure_virtual=True, is_virtual=True) - ## socket.h: void ns3::Socket::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## socket.h: void ns3::Socket::NotifyConnectionFailed() [member function] - cls.add_method('NotifyConnectionFailed', - 'void', - [], - visibility='protected') - ## socket.h: bool ns3::Socket::NotifyConnectionRequest(ns3::Address const & from) [member function] - cls.add_method('NotifyConnectionRequest', - 'bool', - [param('ns3::Address const &', 'from')], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyConnectionSucceeded() [member function] - cls.add_method('NotifyConnectionSucceeded', - 'void', - [], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyDataRecv() [member function] - cls.add_method('NotifyDataRecv', - 'void', - [], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyDataSent(uint32_t size) [member function] - cls.add_method('NotifyDataSent', - 'void', - [param('uint32_t', 'size')], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyErrorClose() [member function] - cls.add_method('NotifyErrorClose', - 'void', - [], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyNewConnectionCreated(ns3::Ptr socket, ns3::Address const & from) [member function] - cls.add_method('NotifyNewConnectionCreated', - 'void', - [param('ns3::Ptr< ns3::Socket >', 'socket'), param('ns3::Address const &', 'from')], - visibility='protected') - ## socket.h: void ns3::Socket::NotifyNormalClose() [member function] - cls.add_method('NotifyNormalClose', - 'void', - [], - visibility='protected') - ## socket.h: void ns3::Socket::NotifySend(uint32_t spaceAvailable) [member function] - cls.add_method('NotifySend', - 'void', - [param('uint32_t', 'spaceAvailable')], - visibility='protected') - return - -def register_Ns3SocketAddressTag_methods(root_module, cls): - ## socket.h: ns3::SocketAddressTag::SocketAddressTag(ns3::SocketAddressTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SocketAddressTag const &', 'arg0')]) - ## socket.h: ns3::SocketAddressTag::SocketAddressTag() [constructor] - cls.add_constructor([]) - ## socket.h: void ns3::SocketAddressTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## socket.h: ns3::Address ns3::SocketAddressTag::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True) - ## socket.h: ns3::TypeId ns3::SocketAddressTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::SocketAddressTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## socket.h: static ns3::TypeId ns3::SocketAddressTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## socket.h: void ns3::SocketAddressTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketAddressTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketAddressTag::SetAddress(ns3::Address addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'addr')]) - return - -def register_Ns3SocketFactory_methods(root_module, cls): - ## socket-factory.h: ns3::SocketFactory::SocketFactory(ns3::SocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SocketFactory const &', 'arg0')]) - ## socket-factory.h: ns3::SocketFactory::SocketFactory() [constructor] - cls.add_constructor([]) - ## socket-factory.h: ns3::Ptr ns3::SocketFactory::CreateSocket() [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_pure_virtual=True, is_virtual=True) - ## socket-factory.h: static ns3::TypeId ns3::SocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3SocketIpTtlTag_methods(root_module, cls): - ## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag(ns3::SocketIpTtlTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SocketIpTtlTag const &', 'arg0')]) - ## socket.h: ns3::SocketIpTtlTag::SocketIpTtlTag() [constructor] - cls.add_constructor([]) - ## socket.h: void ns3::SocketIpTtlTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## socket.h: ns3::TypeId ns3::SocketIpTtlTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::SocketIpTtlTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## socket.h: uint8_t ns3::SocketIpTtlTag::GetTtl() const [member function] - cls.add_method('GetTtl', - 'uint8_t', - [], - is_const=True) - ## socket.h: static ns3::TypeId ns3::SocketIpTtlTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## socket.h: void ns3::SocketIpTtlTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketIpTtlTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketIpTtlTag::SetTtl(uint8_t ttl) [member function] - cls.add_method('SetTtl', - 'void', - [param('uint8_t', 'ttl')]) - return - -def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls): - ## socket.h: ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag(ns3::SocketSetDontFragmentTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SocketSetDontFragmentTag const &', 'arg0')]) - ## socket.h: ns3::SocketSetDontFragmentTag::SocketSetDontFragmentTag() [constructor] - cls.add_constructor([]) - ## socket.h: void ns3::SocketSetDontFragmentTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## socket.h: void ns3::SocketSetDontFragmentTag::Disable() [member function] - cls.add_method('Disable', - 'void', - []) - ## socket.h: void ns3::SocketSetDontFragmentTag::Enable() [member function] - cls.add_method('Enable', - 'void', - []) - ## socket.h: ns3::TypeId ns3::SocketSetDontFragmentTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## socket.h: uint32_t ns3::SocketSetDontFragmentTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## socket.h: static ns3::TypeId ns3::SocketSetDontFragmentTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## socket.h: bool ns3::SocketSetDontFragmentTag::IsEnabled() const [member function] - cls.add_method('IsEnabled', - 'bool', - [], - is_const=True) - ## socket.h: void ns3::SocketSetDontFragmentTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## socket.h: void ns3::SocketSetDontFragmentTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - return - -def register_Ns3Trailer_methods(root_module, cls): - cls.add_output_stream_operator() - ## trailer.h: ns3::Trailer::Trailer() [constructor] - cls.add_constructor([]) - ## trailer.h: ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Trailer const &', 'arg0')]) - ## trailer.h: uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'end')], - is_pure_virtual=True, is_virtual=True) - ## trailer.h: uint32_t ns3::Trailer::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trailer.h: static ns3::TypeId ns3::Trailer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## trailer.h: void ns3::Trailer::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## trailer.h: void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3Application_methods(root_module, cls): - ## application.h: ns3::Application::Application(ns3::Application const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Application const &', 'arg0')]) - ## application.h: ns3::Application::Application() [constructor] - cls.add_constructor([]) - ## application.h: ns3::Ptr ns3::Application::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## application.h: static ns3::TypeId ns3::Application::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## application.h: void ns3::Application::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## application.h: void ns3::Application::SetStartTime(ns3::Time start) [member function] - cls.add_method('SetStartTime', - 'void', - [param('ns3::Time', 'start')]) - ## application.h: void ns3::Application::SetStopTime(ns3::Time stop) [member function] - cls.add_method('SetStopTime', - 'void', - [param('ns3::Time', 'stop')]) - ## application.h: void ns3::Application::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## application.h: void ns3::Application::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## application.h: void ns3::Application::StartApplication() [member function] - cls.add_method('StartApplication', - 'void', - [], - visibility='private', is_virtual=True) - ## application.h: void ns3::Application::StopApplication() [member function] - cls.add_method('StopApplication', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Channel_methods(root_module, cls): - ## channel.h: ns3::Channel::Channel(ns3::Channel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Channel const &', 'arg0')]) - ## channel.h: ns3::Channel::Channel() [constructor] - cls.add_constructor([]) - ## channel.h: ns3::Ptr ns3::Channel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## channel.h: uint32_t ns3::Channel::GetId() const [member function] - cls.add_method('GetId', - 'uint32_t', - [], - is_const=True) - ## channel.h: uint32_t ns3::Channel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## channel.h: static ns3::TypeId ns3::Channel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3DataRateChecker_methods(root_module, cls): - ## data-rate.h: ns3::DataRateChecker::DataRateChecker() [constructor] - cls.add_constructor([]) - ## data-rate.h: ns3::DataRateChecker::DataRateChecker(ns3::DataRateChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataRateChecker const &', 'arg0')]) - return - -def register_Ns3DataRateValue_methods(root_module, cls): - ## data-rate.h: ns3::DataRateValue::DataRateValue() [constructor] - cls.add_constructor([]) - ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRateValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataRateValue const &', 'arg0')]) - ## data-rate.h: ns3::DataRateValue::DataRateValue(ns3::DataRate const & value) [constructor] - cls.add_constructor([param('ns3::DataRate const &', 'value')]) - ## data-rate.h: ns3::Ptr ns3::DataRateValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## data-rate.h: bool ns3::DataRateValue::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) - ## data-rate.h: ns3::DataRate ns3::DataRateValue::Get() const [member function] - cls.add_method('Get', - 'ns3::DataRate', - [], - is_const=True) - ## data-rate.h: std::string ns3::DataRateValue::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) - ## data-rate.h: void ns3::DataRateValue::Set(ns3::DataRate const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::DataRate const &', 'value')]) - return - -def register_Ns3DropTailQueue_methods(root_module, cls): - ## drop-tail-queue.h: ns3::DropTailQueue::DropTailQueue(ns3::DropTailQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DropTailQueue const &', 'arg0')]) - ## drop-tail-queue.h: ns3::DropTailQueue::DropTailQueue() [constructor] - cls.add_constructor([]) - ## drop-tail-queue.h: ns3::DropTailQueue::Mode ns3::DropTailQueue::GetMode() [member function] - cls.add_method('GetMode', - 'ns3::DropTailQueue::Mode', - []) - ## drop-tail-queue.h: static ns3::TypeId ns3::DropTailQueue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## drop-tail-queue.h: void ns3::DropTailQueue::SetMode(ns3::DropTailQueue::Mode mode) [member function] - cls.add_method('SetMode', - 'void', - [param('ns3::DropTailQueue::Mode', 'mode')]) - ## drop-tail-queue.h: ns3::Ptr ns3::DropTailQueue::DoDequeue() [member function] - cls.add_method('DoDequeue', - 'ns3::Ptr< ns3::Packet >', - [], - visibility='private', is_virtual=True) - ## drop-tail-queue.h: bool ns3::DropTailQueue::DoEnqueue(ns3::Ptr p) [member function] - cls.add_method('DoEnqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## drop-tail-queue.h: ns3::Ptr ns3::DropTailQueue::DoPeek() const [member function] - cls.add_method('DoPeek', - 'ns3::Ptr< ns3::Packet const >', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ErrorModel_methods(root_module, cls): - ## error-model.h: ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')]) - ## error-model.h: ns3::ErrorModel::ErrorModel() [constructor] - cls.add_constructor([]) - ## error-model.h: void ns3::ErrorModel::Disable() [member function] - cls.add_method('Disable', - 'void', - []) - ## error-model.h: void ns3::ErrorModel::Enable() [member function] - cls.add_method('Enable', - 'void', - []) - ## error-model.h: static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## error-model.h: bool ns3::ErrorModel::IsCorrupt(ns3::Ptr pkt) [member function] - cls.add_method('IsCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt')]) - ## error-model.h: bool ns3::ErrorModel::IsEnabled() const [member function] - cls.add_method('IsEnabled', - 'bool', - [], - is_const=True) - ## error-model.h: void ns3::ErrorModel::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## error-model.h: bool ns3::ErrorModel::DoCorrupt(ns3::Ptr arg0) [member function] - cls.add_method('DoCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'arg0')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## error-model.h: void ns3::ErrorModel::DoReset() [member function] - cls.add_method('DoReset', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3EthernetHeader_methods(root_module, cls): - ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader(ns3::EthernetHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EthernetHeader const &', 'arg0')]) - ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader(bool hasPreamble) [constructor] - cls.add_constructor([param('bool', 'hasPreamble')]) - ## ethernet-header.h: ns3::EthernetHeader::EthernetHeader() [constructor] - cls.add_constructor([]) - ## ethernet-header.h: uint32_t ns3::EthernetHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Mac48Address', - [], - is_const=True) - ## ethernet-header.h: uint32_t ns3::EthernetHeader::GetHeaderSize() const [member function] - cls.add_method('GetHeaderSize', - 'uint32_t', - [], - is_const=True) - ## ethernet-header.h: ns3::TypeId ns3::EthernetHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ethernet-header.h: uint16_t ns3::EthernetHeader::GetLengthType() const [member function] - cls.add_method('GetLengthType', - 'uint16_t', - [], - is_const=True) - ## ethernet-header.h: ns3::ethernet_header_t ns3::EthernetHeader::GetPacketType() const [member function] - cls.add_method('GetPacketType', - 'ns3::ethernet_header_t', - [], - is_const=True) - ## ethernet-header.h: uint64_t ns3::EthernetHeader::GetPreambleSfd() const [member function] - cls.add_method('GetPreambleSfd', - 'uint64_t', - [], - is_const=True) - ## ethernet-header.h: uint32_t ns3::EthernetHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ethernet-header.h: ns3::Mac48Address ns3::EthernetHeader::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Mac48Address', - [], - is_const=True) - ## ethernet-header.h: static ns3::TypeId ns3::EthernetHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ethernet-header.h: void ns3::EthernetHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ethernet-header.h: void ns3::EthernetHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ethernet-header.h: void ns3::EthernetHeader::SetDestination(ns3::Mac48Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Mac48Address', 'destination')]) - ## ethernet-header.h: void ns3::EthernetHeader::SetLengthType(uint16_t size) [member function] - cls.add_method('SetLengthType', - 'void', - [param('uint16_t', 'size')]) - ## ethernet-header.h: void ns3::EthernetHeader::SetPreambleSfd(uint64_t preambleSfd) [member function] - cls.add_method('SetPreambleSfd', - 'void', - [param('uint64_t', 'preambleSfd')]) - ## ethernet-header.h: void ns3::EthernetHeader::SetSource(ns3::Mac48Address source) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Mac48Address', 'source')]) - return - -def register_Ns3EthernetTrailer_methods(root_module, cls): - ## ethernet-trailer.h: ns3::EthernetTrailer::EthernetTrailer(ns3::EthernetTrailer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EthernetTrailer const &', 'arg0')]) - ## ethernet-trailer.h: ns3::EthernetTrailer::EthernetTrailer() [constructor] - cls.add_constructor([]) - ## ethernet-trailer.h: void ns3::EthernetTrailer::CalcFcs(ns3::Ptr p) [member function] - cls.add_method('CalcFcs', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## ethernet-trailer.h: bool ns3::EthernetTrailer::CheckFcs(ns3::Ptr p) const [member function] - cls.add_method('CheckFcs', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p')], - is_const=True) - ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::Deserialize(ns3::Buffer::Iterator end) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'end')], - is_virtual=True) - ## ethernet-trailer.h: void ns3::EthernetTrailer::EnableFcs(bool enable) [member function] - cls.add_method('EnableFcs', - 'void', - [param('bool', 'enable')]) - ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetFcs() [member function] - cls.add_method('GetFcs', - 'uint32_t', - []) - ## ethernet-trailer.h: ns3::TypeId ns3::EthernetTrailer::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ethernet-trailer.h: uint32_t ns3::EthernetTrailer::GetTrailerSize() const [member function] - cls.add_method('GetTrailerSize', - 'uint32_t', - [], - is_const=True) - ## ethernet-trailer.h: static ns3::TypeId ns3::EthernetTrailer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ethernet-trailer.h: void ns3::EthernetTrailer::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ethernet-trailer.h: void ns3::EthernetTrailer::Serialize(ns3::Buffer::Iterator end) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'end')], - is_const=True, is_virtual=True) - ## ethernet-trailer.h: void ns3::EthernetTrailer::SetFcs(uint32_t fcs) [member function] - cls.add_method('SetFcs', - 'void', - [param('uint32_t', 'fcs')]) - return - -def register_Ns3Ipv4AddressChecker_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4AddressChecker::Ipv4AddressChecker(ns3::Ipv4AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressChecker const &', 'arg0')]) - return - -def register_Ns3Ipv4AddressValue_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressValue const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4AddressValue::Ipv4AddressValue(ns3::Ipv4Address const & value) [constructor] - cls.add_constructor([param('ns3::Ipv4Address const &', 'value')]) - ## ipv4-address.h: ns3::Ptr ns3::Ipv4AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv4-address.h: bool ns3::Ipv4AddressValue::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) - ## ipv4-address.h: ns3::Ipv4Address ns3::Ipv4AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv4Address', - [], - is_const=True) - ## ipv4-address.h: std::string ns3::Ipv4AddressValue::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) - ## ipv4-address.h: void ns3::Ipv4AddressValue::Set(ns3::Ipv4Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv4Address const &', 'value')]) - return - -def register_Ns3Ipv4MaskChecker_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4MaskChecker::Ipv4MaskChecker(ns3::Ipv4MaskChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MaskChecker const &', 'arg0')]) - return - -def register_Ns3Ipv4MaskValue_methods(root_module, cls): - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue() [constructor] - cls.add_constructor([]) - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4MaskValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4MaskValue const &', 'arg0')]) - ## ipv4-address.h: ns3::Ipv4MaskValue::Ipv4MaskValue(ns3::Ipv4Mask const & value) [constructor] - cls.add_constructor([param('ns3::Ipv4Mask const &', 'value')]) - ## ipv4-address.h: ns3::Ptr ns3::Ipv4MaskValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv4-address.h: bool ns3::Ipv4MaskValue::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) - ## ipv4-address.h: ns3::Ipv4Mask ns3::Ipv4MaskValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv4Mask', - [], - is_const=True) - ## ipv4-address.h: std::string ns3::Ipv4MaskValue::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) - ## ipv4-address.h: void ns3::Ipv4MaskValue::Set(ns3::Ipv4Mask const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv4Mask const &', 'value')]) - return - -def register_Ns3Ipv6AddressChecker_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6AddressChecker::Ipv6AddressChecker(ns3::Ipv6AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressChecker const &', 'arg0')]) - return - -def register_Ns3Ipv6AddressValue_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6AddressValue const &', 'arg0')]) - ## ipv6-address.h: ns3::Ipv6AddressValue::Ipv6AddressValue(ns3::Ipv6Address const & value) [constructor] - cls.add_constructor([param('ns3::Ipv6Address const &', 'value')]) - ## ipv6-address.h: ns3::Ptr ns3::Ipv6AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv6-address.h: bool ns3::Ipv6AddressValue::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) - ## ipv6-address.h: ns3::Ipv6Address ns3::Ipv6AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv6Address', - [], - is_const=True) - ## ipv6-address.h: std::string ns3::Ipv6AddressValue::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) - ## ipv6-address.h: void ns3::Ipv6AddressValue::Set(ns3::Ipv6Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv6Address const &', 'value')]) - return - -def register_Ns3Ipv6PrefixChecker_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6PrefixChecker::Ipv6PrefixChecker(ns3::Ipv6PrefixChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PrefixChecker const &', 'arg0')]) - return - -def register_Ns3Ipv6PrefixValue_methods(root_module, cls): - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue() [constructor] - cls.add_constructor([]) - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6PrefixValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv6PrefixValue const &', 'arg0')]) - ## ipv6-address.h: ns3::Ipv6PrefixValue::Ipv6PrefixValue(ns3::Ipv6Prefix const & value) [constructor] - cls.add_constructor([param('ns3::Ipv6Prefix const &', 'value')]) - ## ipv6-address.h: ns3::Ptr ns3::Ipv6PrefixValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ipv6-address.h: bool ns3::Ipv6PrefixValue::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) - ## ipv6-address.h: ns3::Ipv6Prefix ns3::Ipv6PrefixValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ipv6Prefix', - [], - is_const=True) - ## ipv6-address.h: std::string ns3::Ipv6PrefixValue::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) - ## ipv6-address.h: void ns3::Ipv6PrefixValue::Set(ns3::Ipv6Prefix const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ipv6Prefix const &', 'value')]) - return - -def register_Ns3ListErrorModel_methods(root_module, cls): - ## error-model.h: ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')]) - ## error-model.h: ns3::ListErrorModel::ListErrorModel() [constructor] - cls.add_constructor([]) - ## error-model.h: std::list > ns3::ListErrorModel::GetList() const [member function] - cls.add_method('GetList', - 'std::list< unsigned int >', - [], - is_const=True) - ## error-model.h: static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## error-model.h: void ns3::ListErrorModel::SetList(std::list > const & packetlist) [member function] - cls.add_method('SetList', - 'void', - [param('std::list< unsigned int > const &', 'packetlist')]) - ## error-model.h: bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr p) [member function] - cls.add_method('DoCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: void ns3::ListErrorModel::DoReset() [member function] - cls.add_method('DoReset', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3Mac48AddressChecker_methods(root_module, cls): - ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')]) - return - -def register_Ns3Mac48AddressValue_methods(root_module, cls): - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue() [constructor] - cls.add_constructor([]) - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')]) - ## mac48-address.h: ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor] - cls.add_constructor([param('ns3::Mac48Address const &', 'value')]) - ## mac48-address.h: ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## mac48-address.h: bool ns3::Mac48AddressValue::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) - ## mac48-address.h: ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac48-address.h: std::string ns3::Mac48AddressValue::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) - ## mac48-address.h: void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Mac48Address const &', 'value')]) - return - -def register_Ns3NetDevice_methods(root_module, cls): - ## net-device.h: ns3::NetDevice::NetDevice() [constructor] - cls.add_constructor([]) - ## net-device.h: ns3::NetDevice::NetDevice(ns3::NetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NetDevice const &', 'arg0')]) - ## net-device.h: 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')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: ns3::Address ns3::NetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Address ns3::NetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Ptr ns3::NetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: uint32_t ns3::NetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: uint16_t ns3::NetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Address ns3::NetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: ns3::Ptr ns3::NetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: static ns3::TypeId ns3::NetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## net-device.h: bool ns3::NetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: void ns3::NetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - ## net-device.h: bool ns3::NetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3NixVector_methods(root_module, cls): - cls.add_output_stream_operator() - ## nix-vector.h: ns3::NixVector::NixVector() [constructor] - cls.add_constructor([]) - ## nix-vector.h: ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor] - cls.add_constructor([param('ns3::NixVector const &', 'o')]) - ## nix-vector.h: void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function] - cls.add_method('AddNeighborIndex', - 'void', - [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')]) - ## nix-vector.h: uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function] - cls.add_method('BitCount', - 'uint32_t', - [param('uint32_t', 'numberOfNeighbors')], - is_const=True) - ## nix-vector.h: ns3::Ptr ns3::NixVector::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::NixVector >', - [], - is_const=True) - ## nix-vector.h: uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')]) - ## nix-vector.h: uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function] - cls.add_method('ExtractNeighborIndex', - 'uint32_t', - [param('uint32_t', 'numberOfBits')]) - ## nix-vector.h: uint32_t ns3::NixVector::GetRemainingBits() [member function] - cls.add_method('GetRemainingBits', - 'uint32_t', - []) - ## nix-vector.h: uint32_t ns3::NixVector::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## nix-vector.h: uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function] - cls.add_method('Serialize', - 'uint32_t', - [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], - is_const=True) - return - -def register_Ns3Node_methods(root_module, cls): - ## node.h: ns3::Node::Node(ns3::Node const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Node const &', 'arg0')]) - ## node.h: ns3::Node::Node() [constructor] - cls.add_constructor([]) - ## node.h: ns3::Node::Node(uint32_t systemId) [constructor] - cls.add_constructor([param('uint32_t', 'systemId')]) - ## node.h: uint32_t ns3::Node::AddApplication(ns3::Ptr application) [member function] - cls.add_method('AddApplication', - 'uint32_t', - [param('ns3::Ptr< ns3::Application >', 'application')]) - ## node.h: uint32_t ns3::Node::AddDevice(ns3::Ptr device) [member function] - cls.add_method('AddDevice', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')]) - ## node.h: static bool ns3::Node::ChecksumEnabled() [member function] - cls.add_method('ChecksumEnabled', - 'bool', - [], - is_static=True) - ## node.h: 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: 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: uint32_t ns3::Node::GetId() const [member function] - cls.add_method('GetId', - 'uint32_t', - [], - is_const=True) - ## node.h: uint32_t ns3::Node::GetNApplications() const [member function] - cls.add_method('GetNApplications', - 'uint32_t', - [], - is_const=True) - ## node.h: uint32_t ns3::Node::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True) - ## node.h: uint32_t ns3::Node::GetSystemId() const [member function] - cls.add_method('GetSystemId', - 'uint32_t', - [], - is_const=True) - ## node.h: static ns3::TypeId ns3::Node::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## node.h: 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: 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: void ns3::Node::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## node.h: void ns3::Node::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## node.h: void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) - return - -def register_Ns3OutputStreamWrapper_methods(root_module, cls): - ## output-stream-wrapper.h: ns3::OutputStreamWrapper::OutputStreamWrapper(ns3::OutputStreamWrapper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OutputStreamWrapper const &', 'arg0')]) - ## output-stream-wrapper.h: ns3::OutputStreamWrapper::OutputStreamWrapper(std::string filename, std::_Ios_Openmode filemode) [constructor] - cls.add_constructor([param('std::string', 'filename'), param('std::_Ios_Openmode', 'filemode')]) - ## output-stream-wrapper.h: ns3::OutputStreamWrapper::OutputStreamWrapper(std::ostream * os) [constructor] - cls.add_constructor([param('std::ostream *', 'os')]) - ## output-stream-wrapper.h: std::ostream * ns3::OutputStreamWrapper::GetStream() [member function] - cls.add_method('GetStream', - 'std::ostream *', - []) - return - -def register_Ns3Packet_methods(root_module, cls): - cls.add_output_stream_operator() - ## packet.h: ns3::Packet::Packet() [constructor] - cls.add_constructor([]) - ## packet.h: ns3::Packet::Packet(ns3::Packet const & o) [copy constructor] - cls.add_constructor([param('ns3::Packet const &', 'o')]) - ## packet.h: ns3::Packet::Packet(uint32_t size) [constructor] - cls.add_constructor([param('uint32_t', 'size')]) - ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor] - cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')]) - ## packet.h: ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor] - cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## packet.h: void ns3::Packet::AddAtEnd(ns3::Ptr packet) [member function] - cls.add_method('AddAtEnd', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## packet.h: void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function] - cls.add_method('AddByteTag', - 'void', - [param('ns3::Tag const &', 'tag')], - is_const=True) - ## packet.h: void ns3::Packet::AddHeader(ns3::Header const & header) [member function] - cls.add_method('AddHeader', - 'void', - [param('ns3::Header const &', 'header')]) - ## packet.h: void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function] - cls.add_method('AddPacketTag', - 'void', - [param('ns3::Tag const &', 'tag')], - is_const=True) - ## packet.h: void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function] - cls.add_method('AddPaddingAtEnd', - 'void', - [param('uint32_t', 'size')]) - ## packet.h: void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function] - cls.add_method('AddTrailer', - 'void', - [param('ns3::Trailer const &', 'trailer')]) - ## packet.h: ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function] - cls.add_method('BeginItem', - 'ns3::PacketMetadata::ItemIterator', - [], - is_const=True) - ## packet.h: ns3::Ptr ns3::Packet::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## packet.h: uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function] - cls.add_method('CopyData', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], - is_const=True) - ## packet.h: void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function] - cls.add_method('CopyData', - 'void', - [param('std::ostream *', 'os'), param('uint32_t', 'size')], - is_const=True) - ## packet.h: ns3::Ptr ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function] - cls.add_method('CreateFragment', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'start'), param('uint32_t', 'length')], - is_const=True) - ## packet.h: static void ns3::Packet::EnableChecking() [member function] - cls.add_method('EnableChecking', - 'void', - [], - is_static=True) - ## packet.h: static void ns3::Packet::EnablePrinting() [member function] - cls.add_method('EnablePrinting', - 'void', - [], - is_static=True) - ## packet.h: bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function] - cls.add_method('FindFirstMatchingByteTag', - 'bool', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet.h: ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function] - cls.add_method('GetByteTagIterator', - 'ns3::ByteTagIterator', - [], - is_const=True) - ## packet.h: ns3::Ptr ns3::Packet::GetNixVector() const [member function] - cls.add_method('GetNixVector', - 'ns3::Ptr< ns3::NixVector >', - [], - is_const=True) - ## packet.h: ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function] - cls.add_method('GetPacketTagIterator', - 'ns3::PacketTagIterator', - [], - is_const=True) - ## packet.h: uint32_t ns3::Packet::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packet.h: uint32_t ns3::Packet::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## packet.h: uint64_t ns3::Packet::GetUid() const [member function] - cls.add_method('GetUid', - 'uint64_t', - [], - is_const=True) - ## packet.h: uint8_t const * ns3::Packet::PeekData() const [member function] - cls.add_method('PeekData', - 'uint8_t const *', - [], - deprecated=True, is_const=True) - ## packet.h: uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function] - cls.add_method('PeekHeader', - 'uint32_t', - [param('ns3::Header &', 'header')], - is_const=True) - ## packet.h: bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function] - cls.add_method('PeekPacketTag', - 'bool', - [param('ns3::Tag &', 'tag')], - is_const=True) - ## packet.h: uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function] - cls.add_method('PeekTrailer', - 'uint32_t', - [param('ns3::Trailer &', 'trailer')]) - ## packet.h: void ns3::Packet::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packet.h: void ns3::Packet::PrintByteTags(std::ostream & os) const [member function] - cls.add_method('PrintByteTags', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packet.h: void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function] - cls.add_method('PrintPacketTags', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packet.h: void ns3::Packet::RemoveAllByteTags() [member function] - cls.add_method('RemoveAllByteTags', - 'void', - []) - ## packet.h: void ns3::Packet::RemoveAllPacketTags() [member function] - cls.add_method('RemoveAllPacketTags', - 'void', - []) - ## packet.h: void ns3::Packet::RemoveAtEnd(uint32_t size) [member function] - cls.add_method('RemoveAtEnd', - 'void', - [param('uint32_t', 'size')]) - ## packet.h: void ns3::Packet::RemoveAtStart(uint32_t size) [member function] - cls.add_method('RemoveAtStart', - 'void', - [param('uint32_t', 'size')]) - ## packet.h: uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function] - cls.add_method('RemoveHeader', - 'uint32_t', - [param('ns3::Header &', 'header')]) - ## packet.h: bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function] - cls.add_method('RemovePacketTag', - 'bool', - [param('ns3::Tag &', 'tag')]) - ## packet.h: uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function] - cls.add_method('RemoveTrailer', - 'uint32_t', - [param('ns3::Trailer &', 'trailer')]) - ## packet.h: uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] - cls.add_method('Serialize', - 'uint32_t', - [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], - is_const=True) - ## packet.h: void ns3::Packet::SetNixVector(ns3::Ptr arg0) [member function] - cls.add_method('SetNixVector', - 'void', - [param('ns3::Ptr< ns3::NixVector >', 'arg0')]) - return - -def register_Ns3PacketSocket_methods(root_module, cls): - ## packet-socket.h: ns3::PacketSocket::PacketSocket(ns3::PacketSocket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSocket const &', 'arg0')]) - ## packet-socket.h: ns3::PacketSocket::PacketSocket() [constructor] - cls.add_constructor([]) - ## packet-socket.h: int ns3::PacketSocket::Bind() [member function] - cls.add_method('Bind', - 'int', - [], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::Bind(ns3::Address const & address) [member function] - cls.add_method('Bind', - 'int', - [param('ns3::Address const &', 'address')], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::Close() [member function] - cls.add_method('Close', - 'int', - [], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::Connect(ns3::Address const & address) [member function] - cls.add_method('Connect', - 'int', - [param('ns3::Address const &', 'address')], - is_virtual=True) - ## packet-socket.h: bool ns3::PacketSocket::GetAllowBroadcast() const [member function] - cls.add_method('GetAllowBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: ns3::Socket::SocketErrno ns3::PacketSocket::GetErrno() const [member function] - cls.add_method('GetErrno', - 'ns3::Socket::SocketErrno', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: ns3::Ptr ns3::PacketSocket::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: uint32_t ns3::PacketSocket::GetRxAvailable() const [member function] - cls.add_method('GetRxAvailable', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::GetSockName(ns3::Address & address) const [member function] - cls.add_method('GetSockName', - 'int', - [param('ns3::Address &', 'address')], - is_const=True, is_virtual=True) - ## packet-socket.h: ns3::Socket::SocketType ns3::PacketSocket::GetSocketType() const [member function] - cls.add_method('GetSocketType', - 'ns3::Socket::SocketType', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: uint32_t ns3::PacketSocket::GetTxAvailable() const [member function] - cls.add_method('GetTxAvailable', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## packet-socket.h: static ns3::TypeId ns3::PacketSocket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packet-socket.h: int ns3::PacketSocket::Listen() [member function] - cls.add_method('Listen', - 'int', - [], - is_virtual=True) - ## packet-socket.h: ns3::Ptr ns3::PacketSocket::Recv(uint32_t maxSize, uint32_t flags) [member function] - cls.add_method('Recv', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags')], - is_virtual=True) - ## packet-socket.h: ns3::Ptr ns3::PacketSocket::RecvFrom(uint32_t maxSize, uint32_t flags, ns3::Address & fromAddress) [member function] - cls.add_method('RecvFrom', - 'ns3::Ptr< ns3::Packet >', - [param('uint32_t', 'maxSize'), param('uint32_t', 'flags'), param('ns3::Address &', 'fromAddress')], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::Send(ns3::Ptr p, uint32_t flags) [member function] - cls.add_method('Send', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags')], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::SendTo(ns3::Ptr p, uint32_t flags, ns3::Address const & toAddress) [member function] - cls.add_method('SendTo', - 'int', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint32_t', 'flags'), param('ns3::Address const &', 'toAddress')], - is_virtual=True) - ## packet-socket.h: bool ns3::PacketSocket::SetAllowBroadcast(bool allowBroadcast) [member function] - cls.add_method('SetAllowBroadcast', - 'bool', - [param('bool', 'allowBroadcast')], - is_virtual=True) - ## packet-socket.h: void ns3::PacketSocket::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## packet-socket.h: int ns3::PacketSocket::ShutdownRecv() [member function] - cls.add_method('ShutdownRecv', - 'int', - [], - is_virtual=True) - ## packet-socket.h: int ns3::PacketSocket::ShutdownSend() [member function] - cls.add_method('ShutdownSend', - 'int', - [], - is_virtual=True) - ## packet-socket.h: void ns3::PacketSocket::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3PacketSocketFactory_methods(root_module, cls): - ## packet-socket-factory.h: ns3::PacketSocketFactory::PacketSocketFactory(ns3::PacketSocketFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSocketFactory const &', 'arg0')]) - ## packet-socket-factory.h: ns3::PacketSocketFactory::PacketSocketFactory() [constructor] - cls.add_constructor([]) - ## packet-socket-factory.h: ns3::Ptr ns3::PacketSocketFactory::CreateSocket() [member function] - cls.add_method('CreateSocket', - 'ns3::Ptr< ns3::Socket >', - [], - is_virtual=True) - ## packet-socket-factory.h: static ns3::TypeId ns3::PacketSocketFactory::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3PbbAddressBlock_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock(ns3::PbbAddressBlock const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlock const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlock::PbbAddressBlock() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressBack() const [member function] - cls.add_method('AddressBack', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressBegin() [member function] - cls.add_method('AddressBegin', - 'std::_List_iterator< ns3::Address >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressBegin() const [member function] - cls.add_method('AddressBegin', - 'std::_List_const_iterator< ns3::Address >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::AddressClear() [member function] - cls.add_method('AddressClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::AddressEmpty() const [member function] - cls.add_method('AddressEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressEnd() [member function] - cls.add_method('AddressEnd', - 'std::_List_iterator< ns3::Address >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::AddressEnd() const [member function] - cls.add_method('AddressEnd', - 'std::_List_const_iterator< ns3::Address >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator position) [member function] - cls.add_method('AddressErase', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'position')]) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressErase(std::_List_iterator first, std::_List_iterator last) [member function] - cls.add_method('AddressErase', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'first'), param('std::_List_iterator< ns3::Address >', 'last')]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::AddressFront() const [member function] - cls.add_method('AddressFront', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::AddressInsert(std::_List_iterator position, ns3::Address const value) [member function] - cls.add_method('AddressInsert', - 'std::_List_iterator< ns3::Address >', - [param('std::_List_iterator< ns3::Address >', 'position'), param('ns3::Address const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPopBack() [member function] - cls.add_method('AddressPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPopFront() [member function] - cls.add_method('AddressPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPushBack(ns3::Address address) [member function] - cls.add_method('AddressPushBack', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: void ns3::PbbAddressBlock::AddressPushFront(ns3::Address address) [member function] - cls.add_method('AddressPushFront', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: int ns3::PbbAddressBlock::AddressSize() const [member function] - cls.add_method('AddressSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: uint32_t ns3::PbbAddressBlock::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixBack() const [member function] - cls.add_method('PrefixBack', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixBegin() [member function] - cls.add_method('PrefixBegin', - 'std::_List_iterator< unsigned char >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixBegin() const [member function] - cls.add_method('PrefixBegin', - 'std::_List_const_iterator< unsigned char >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixClear() [member function] - cls.add_method('PrefixClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::PrefixEmpty() const [member function] - cls.add_method('PrefixEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixEnd() [member function] - cls.add_method('PrefixEnd', - 'std::_List_iterator< unsigned char >', - []) - ## packetbb.h: std::_List_const_iterator ns3::PbbAddressBlock::PrefixEnd() const [member function] - cls.add_method('PrefixEnd', - 'std::_List_const_iterator< unsigned char >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator position) [member function] - cls.add_method('PrefixErase', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'position')]) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixErase(std::_List_iterator first, std::_List_iterator last) [member function] - cls.add_method('PrefixErase', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'first'), param('std::_List_iterator< unsigned char >', 'last')]) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::PrefixFront() const [member function] - cls.add_method('PrefixFront', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: std::_List_iterator ns3::PbbAddressBlock::PrefixInsert(std::_List_iterator position, uint8_t const value) [member function] - cls.add_method('PrefixInsert', - 'std::_List_iterator< unsigned char >', - [param('std::_List_iterator< unsigned char >', 'position'), param('uint8_t const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopBack() [member function] - cls.add_method('PrefixPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPopFront() [member function] - cls.add_method('PrefixPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushBack(uint8_t prefix) [member function] - cls.add_method('PrefixPushBack', - 'void', - [param('uint8_t', 'prefix')]) - ## packetbb.h: void ns3::PbbAddressBlock::PrefixPushFront(uint8_t prefix) [member function] - cls.add_method('PrefixPushFront', - 'void', - [param('uint8_t', 'prefix')]) - ## packetbb.h: int ns3::PbbAddressBlock::PrefixSize() const [member function] - cls.add_method('PrefixSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbAddressTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbAddressTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressBlock::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbAddressBlock::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbAddressBlock::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > position) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbAddressBlock::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbAddressTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbAddressBlock::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbAddressTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbAddressBlock::TlvInsert(std::_List_iterator > position, ns3::Ptr const value) [member function] - cls.add_method('TlvInsert', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressTlv > >', 'position'), param('ns3::Ptr< ns3::PbbTlv > const', 'value')]) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPushBack(ns3::Ptr address) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) - ## packetbb.h: void ns3::PbbAddressBlock::TlvPushFront(ns3::Ptr address) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressTlv >', 'address')]) - ## packetbb.h: int ns3::PbbAddressBlock::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: ns3::Address ns3::PbbAddressBlock::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlock::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlock::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlock::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbAddressBlockIpv4_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4(ns3::PbbAddressBlockIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlockIpv4 const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlockIpv4::PbbAddressBlockIpv4() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv4::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv4::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv4::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv4::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbAddressBlockIpv6_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6(ns3::PbbAddressBlockIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressBlockIpv6 const &', 'arg0')]) - ## packetbb.h: ns3::PbbAddressBlockIpv6::PbbAddressBlockIpv6() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Address ns3::PbbAddressBlockIpv6::DeserializeAddress(uint8_t * buffer) const [member function] - cls.add_method('DeserializeAddress', - 'ns3::Address', - [param('uint8_t *', 'buffer')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: uint8_t ns3::PbbAddressBlockIpv6::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'uint8_t', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv6::PrintAddress(std::ostream & os, std::_List_const_iterator iter) const [member function] - cls.add_method('PrintAddress', - 'void', - [param('std::ostream &', 'os'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbAddressBlockIpv6::SerializeAddress(uint8_t * buffer, std::_List_const_iterator iter) const [member function] - cls.add_method('SerializeAddress', - 'void', - [param('uint8_t *', 'buffer'), param('std::_List_const_iterator< ns3::Address >', 'iter')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessage_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbMessage::PbbMessage(ns3::PbbMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessage const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessage::PbbMessage() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockBack() [member function] - cls.add_method('AddressBlockBack', - 'ns3::Ptr< ns3::PbbAddressBlock >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockBack() const [member function] - cls.add_method('AddressBlockBack', - 'ns3::Ptr< ns3::PbbAddressBlock > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockBegin() [member function] - cls.add_method('AddressBlockBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockBegin() const [member function] - cls.add_method('AddressBlockBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::AddressBlockClear() [member function] - cls.add_method('AddressBlockClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbMessage::AddressBlockEmpty() const [member function] - cls.add_method('AddressBlockEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockEnd() [member function] - cls.add_method('AddressBlockEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::AddressBlockEnd() const [member function] - cls.add_method('AddressBlockEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > position) [member function] - cls.add_method('AddressBlockErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::AddressBlockErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('AddressBlockErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbAddressBlock > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockFront() [member function] - cls.add_method('AddressBlockFront', - 'ns3::Ptr< ns3::PbbAddressBlock >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::AddressBlockFront() const [member function] - cls.add_method('AddressBlockFront', - 'ns3::Ptr< ns3::PbbAddressBlock > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPopBack() [member function] - cls.add_method('AddressBlockPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPopFront() [member function] - cls.add_method('AddressBlockPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPushBack(ns3::Ptr block) [member function] - cls.add_method('AddressBlockPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) - ## packetbb.h: void ns3::PbbMessage::AddressBlockPushFront(ns3::Ptr block) [member function] - cls.add_method('AddressBlockPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbAddressBlock >', 'block')]) - ## packetbb.h: int ns3::PbbMessage::AddressBlockSize() const [member function] - cls.add_method('AddressBlockSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: static ns3::Ptr ns3::PbbMessage::DeserializeMessage(ns3::Buffer::Iterator & start) [member function] - cls.add_method('DeserializeMessage', - 'ns3::Ptr< ns3::PbbMessage >', - [param('ns3::Buffer::Iterator &', 'start')], - is_static=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetHopLimit() const [member function] - cls.add_method('GetHopLimit', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: ns3::Address ns3::PbbMessage::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Address', - [], - is_const=True) - ## packetbb.h: uint16_t ns3::PbbMessage::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbMessage::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbMessage::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasHopCount() const [member function] - cls.add_method('HasHopCount', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasHopLimit() const [member function] - cls.add_method('HasHopLimit', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasOriginatorAddress() const [member function] - cls.add_method('HasOriginatorAddress', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbMessage::HasSequenceNumber() const [member function] - cls.add_method('HasSequenceNumber', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::SetHopCount(uint8_t hopcount) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'hopcount')]) - ## packetbb.h: void ns3::PbbMessage::SetHopLimit(uint8_t hoplimit) [member function] - cls.add_method('SetHopLimit', - 'void', - [param('uint8_t', 'hoplimit')]) - ## packetbb.h: void ns3::PbbMessage::SetOriginatorAddress(ns3::Address address) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Address', 'address')]) - ## packetbb.h: void ns3::PbbMessage::SetSequenceNumber(uint16_t seqnum) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'seqnum')]) - ## packetbb.h: void ns3::PbbMessage::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbMessage::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbMessage::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > position) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbMessage::TlvErase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('TlvErase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbMessage::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbMessage::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbMessage::TlvPushBack(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbMessage::TlvPushFront(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: int ns3::PbbMessage::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbMessage::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessage::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessage::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessage::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessage::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_pure_virtual=True, is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessageIpv4_methods(root_module, cls): - ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4(ns3::PbbMessageIpv4 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessageIpv4 const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessageIpv4::PbbMessageIpv4() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv4::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessageIpv4::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv4::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv4::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv4::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbMessageIpv6_methods(root_module, cls): - ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6(ns3::PbbMessageIpv6 const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbMessageIpv6 const &', 'arg0')]) - ## packetbb.h: ns3::PbbMessageIpv6::PbbMessageIpv6() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::Ptr ns3::PbbMessageIpv6::AddressBlockDeserialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('AddressBlockDeserialize', - 'ns3::Ptr< ns3::PbbAddressBlock >', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::Address ns3::PbbMessageIpv6::DeserializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('DeserializeOriginatorAddress', - 'ns3::Address', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: ns3::PbbAddressLength ns3::PbbMessageIpv6::GetAddressLength() const [member function] - cls.add_method('GetAddressLength', - 'ns3::PbbAddressLength', - [], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv6::PrintOriginatorAddress(std::ostream & os) const [member function] - cls.add_method('PrintOriginatorAddress', - 'void', - [param('std::ostream &', 'os')], - is_const=True, visibility='protected', is_virtual=True) - ## packetbb.h: void ns3::PbbMessageIpv6::SerializeOriginatorAddress(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('SerializeOriginatorAddress', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True, visibility='protected', is_virtual=True) - return - -def register_Ns3PbbPacket_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbPacket::PbbPacket(ns3::PbbPacket const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbPacket const &', 'arg0')]) - ## packetbb.h: ns3::PbbPacket::PbbPacket() [constructor] - cls.add_constructor([]) - ## packetbb.h: uint32_t ns3::PbbPacket::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', 'last')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > position) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'position')]) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::Erase(std::_List_iterator > first, std::_List_iterator > last) [member function] - cls.add_method('Erase', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - [param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'first'), param('std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', 'last')]) - ## packetbb.h: ns3::TypeId ns3::PbbPacket::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## packetbb.h: uint16_t ns3::PbbPacket::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## packetbb.h: uint32_t ns3::PbbPacket::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## packetbb.h: static ns3::TypeId ns3::PbbPacket::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## packetbb.h: uint8_t ns3::PbbPacket::GetVersion() const [member function] - cls.add_method('GetVersion', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbPacket::HasSequenceNumber() const [member function] - cls.add_method('HasSequenceNumber', - 'bool', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageBack() [member function] - cls.add_method('MessageBack', - 'ns3::Ptr< ns3::PbbMessage >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageBack() const [member function] - cls.add_method('MessageBack', - 'ns3::Ptr< ns3::PbbMessage > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageBegin() [member function] - cls.add_method('MessageBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageBegin() const [member function] - cls.add_method('MessageBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::MessageClear() [member function] - cls.add_method('MessageClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbPacket::MessageEmpty() const [member function] - cls.add_method('MessageEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::MessageEnd() [member function] - cls.add_method('MessageEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbMessage > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::MessageEnd() const [member function] - cls.add_method('MessageEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbMessage > >', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::MessageFront() [member function] - cls.add_method('MessageFront', - 'ns3::Ptr< ns3::PbbMessage >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::MessageFront() const [member function] - cls.add_method('MessageFront', - 'ns3::Ptr< ns3::PbbMessage > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::MessagePopBack() [member function] - cls.add_method('MessagePopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::MessagePopFront() [member function] - cls.add_method('MessagePopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::MessagePushBack(ns3::Ptr message) [member function] - cls.add_method('MessagePushBack', - 'void', - [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) - ## packetbb.h: void ns3::PbbPacket::MessagePushFront(ns3::Ptr message) [member function] - cls.add_method('MessagePushFront', - 'void', - [param('ns3::Ptr< ns3::PbbMessage >', 'message')]) - ## packetbb.h: int ns3::PbbPacket::MessageSize() const [member function] - cls.add_method('MessageSize', - 'int', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## packetbb.h: void ns3::PbbPacket::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## packetbb.h: void ns3::PbbPacket::SetSequenceNumber(uint16_t number) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'number')]) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvBack() [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvBack() const [member function] - cls.add_method('TlvBack', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvBegin() [member function] - cls.add_method('TlvBegin', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvBegin() const [member function] - cls.add_method('TlvBegin', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::TlvClear() [member function] - cls.add_method('TlvClear', - 'void', - []) - ## packetbb.h: bool ns3::PbbPacket::TlvEmpty() const [member function] - cls.add_method('TlvEmpty', - 'bool', - [], - is_const=True) - ## packetbb.h: std::_List_iterator > ns3::PbbPacket::TlvEnd() [member function] - cls.add_method('TlvEnd', - 'std::_List_iterator< ns3::Ptr< ns3::PbbTlv > >', - []) - ## packetbb.h: std::_List_const_iterator > ns3::PbbPacket::TlvEnd() const [member function] - cls.add_method('TlvEnd', - 'std::_List_const_iterator< ns3::Ptr< ns3::PbbTlv > >', - [], - is_const=True) - ## packetbb.h: ns3::Ptr ns3::PbbPacket::TlvFront() [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv >', - []) - ## packetbb.h: ns3::Ptr const ns3::PbbPacket::TlvFront() const [member function] - cls.add_method('TlvFront', - 'ns3::Ptr< ns3::PbbTlv > const', - [], - is_const=True) - ## packetbb.h: void ns3::PbbPacket::TlvPopBack() [member function] - cls.add_method('TlvPopBack', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::TlvPopFront() [member function] - cls.add_method('TlvPopFront', - 'void', - []) - ## packetbb.h: void ns3::PbbPacket::TlvPushBack(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushBack', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: void ns3::PbbPacket::TlvPushFront(ns3::Ptr tlv) [member function] - cls.add_method('TlvPushFront', - 'void', - [param('ns3::Ptr< ns3::PbbTlv >', 'tlv')]) - ## packetbb.h: int ns3::PbbPacket::TlvSize() const [member function] - cls.add_method('TlvSize', - 'int', - [], - is_const=True) - return - -def register_Ns3PbbTlv_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('!=') - ## packetbb.h: ns3::PbbTlv::PbbTlv(ns3::PbbTlv const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbTlv const &', 'arg0')]) - ## packetbb.h: ns3::PbbTlv::PbbTlv() [constructor] - cls.add_constructor([]) - ## packetbb.h: void ns3::PbbTlv::Deserialize(ns3::Buffer::Iterator & start) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')]) - ## packetbb.h: uint32_t ns3::PbbTlv::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbTlv::GetTypeExt() const [member function] - cls.add_method('GetTypeExt', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: ns3::Buffer ns3::PbbTlv::GetValue() const [member function] - cls.add_method('GetValue', - 'ns3::Buffer', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbTlv::HasTypeExt() const [member function] - cls.add_method('HasTypeExt', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbTlv::HasValue() const [member function] - cls.add_method('HasValue', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Print(std::ostream & os, int level) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os'), param('int', 'level')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::Serialize(ns3::Buffer::Iterator & start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator &', 'start')], - is_const=True) - ## packetbb.h: void ns3::PbbTlv::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: void ns3::PbbTlv::SetTypeExt(uint8_t type) [member function] - cls.add_method('SetTypeExt', - 'void', - [param('uint8_t', 'type')]) - ## packetbb.h: void ns3::PbbTlv::SetValue(ns3::Buffer start) [member function] - cls.add_method('SetValue', - 'void', - [param('ns3::Buffer', 'start')]) - ## packetbb.h: void ns3::PbbTlv::SetValue(uint8_t const * buffer, uint32_t size) [member function] - cls.add_method('SetValue', - 'void', - [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) - ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStart() const [member function] - cls.add_method('GetIndexStart', - 'uint8_t', - [], - is_const=True, visibility='protected') - ## packetbb.h: uint8_t ns3::PbbTlv::GetIndexStop() const [member function] - cls.add_method('GetIndexStop', - 'uint8_t', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::HasIndexStart() const [member function] - cls.add_method('HasIndexStart', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::HasIndexStop() const [member function] - cls.add_method('HasIndexStop', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: bool ns3::PbbTlv::IsMultivalue() const [member function] - cls.add_method('IsMultivalue', - 'bool', - [], - is_const=True, visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetIndexStart(uint8_t index) [member function] - cls.add_method('SetIndexStart', - 'void', - [param('uint8_t', 'index')], - visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetIndexStop(uint8_t index) [member function] - cls.add_method('SetIndexStop', - 'void', - [param('uint8_t', 'index')], - visibility='protected') - ## packetbb.h: void ns3::PbbTlv::SetMultivalue(bool isMultivalue) [member function] - cls.add_method('SetMultivalue', - 'void', - [param('bool', 'isMultivalue')], - visibility='protected') - return - -def register_Ns3RateErrorModel_methods(root_module, cls): - ## error-model.h: ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')]) - ## error-model.h: ns3::RateErrorModel::RateErrorModel() [constructor] - cls.add_constructor([]) - ## error-model.h: double ns3::RateErrorModel::GetRate() const [member function] - cls.add_method('GetRate', - 'double', - [], - is_const=True) - ## error-model.h: static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## error-model.h: ns3::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function] - cls.add_method('GetUnit', - 'ns3::ErrorUnit', - [], - is_const=True) - ## error-model.h: void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function] - cls.add_method('SetRandomVariable', - 'void', - [param('ns3::RandomVariable const &', 'ranvar')]) - ## error-model.h: void ns3::RateErrorModel::SetRate(double rate) [member function] - cls.add_method('SetRate', - 'void', - [param('double', 'rate')]) - ## error-model.h: void ns3::RateErrorModel::SetUnit(ns3::ErrorUnit error_unit) [member function] - cls.add_method('SetUnit', - 'void', - [param('ns3::ErrorUnit', 'error_unit')]) - ## error-model.h: bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr p) [member function] - cls.add_method('DoCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr p) [member function] - cls.add_method('DoCorruptBit', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr p) [member function] - cls.add_method('DoCorruptByte', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr p) [member function] - cls.add_method('DoCorruptPkt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: void ns3::RateErrorModel::DoReset() [member function] - cls.add_method('DoReset', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ReceiveListErrorModel_methods(root_module, cls): - ## error-model.h: ns3::ReceiveListErrorModel::ReceiveListErrorModel(ns3::ReceiveListErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ReceiveListErrorModel const &', 'arg0')]) - ## error-model.h: ns3::ReceiveListErrorModel::ReceiveListErrorModel() [constructor] - cls.add_constructor([]) - ## error-model.h: std::list > ns3::ReceiveListErrorModel::GetList() const [member function] - cls.add_method('GetList', - 'std::list< unsigned int >', - [], - is_const=True) - ## error-model.h: static ns3::TypeId ns3::ReceiveListErrorModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## error-model.h: void ns3::ReceiveListErrorModel::SetList(std::list > const & packetlist) [member function] - cls.add_method('SetList', - 'void', - [param('std::list< unsigned int > const &', 'packetlist')]) - ## error-model.h: bool ns3::ReceiveListErrorModel::DoCorrupt(ns3::Ptr p) [member function] - cls.add_method('DoCorrupt', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='private', is_virtual=True) - ## error-model.h: void ns3::ReceiveListErrorModel::DoReset() [member function] - cls.add_method('DoReset', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3SimpleChannel_methods(root_module, cls): - ## simple-channel.h: ns3::SimpleChannel::SimpleChannel(ns3::SimpleChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleChannel const &', 'arg0')]) - ## simple-channel.h: ns3::SimpleChannel::SimpleChannel() [constructor] - cls.add_constructor([]) - ## simple-channel.h: void ns3::SimpleChannel::Add(ns3::Ptr device) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::SimpleNetDevice >', 'device')]) - ## simple-channel.h: ns3::Ptr ns3::SimpleChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## simple-channel.h: uint32_t ns3::SimpleChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## simple-channel.h: static ns3::TypeId ns3::SimpleChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simple-channel.h: void ns3::SimpleChannel::Send(ns3::Ptr p, uint16_t protocol, ns3::Mac48Address to, ns3::Mac48Address from, ns3::Ptr sender) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from'), param('ns3::Ptr< ns3::SimpleNetDevice >', 'sender')]) - return - -def register_Ns3SimpleNetDevice_methods(root_module, cls): - ## simple-net-device.h: ns3::SimpleNetDevice::SimpleNetDevice(ns3::SimpleNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleNetDevice const &', 'arg0')]) - ## simple-net-device.h: ns3::SimpleNetDevice::SimpleNetDevice() [constructor] - cls.add_constructor([]) - ## simple-net-device.h: void ns3::SimpleNetDevice::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')], - is_virtual=True) - ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Ptr ns3::SimpleNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: uint32_t ns3::SimpleNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: uint16_t ns3::SimpleNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Address ns3::SimpleNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## simple-net-device.h: ns3::Ptr ns3::SimpleNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: static ns3::TypeId ns3::SimpleNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::Receive(ns3::Ptr packet, uint16_t protocol, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')]) - ## simple-net-device.h: bool ns3::SimpleNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SimpleChannel >', 'channel')]) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## simple-net-device.h: bool ns3::SimpleNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::SetReceiveErrorModel(ns3::Ptr em) [member function] - cls.add_method('SetReceiveErrorModel', - 'void', - [param('ns3::Ptr< ns3::ErrorModel >', 'em')]) - ## simple-net-device.h: bool ns3::SimpleNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## simple-net-device.h: void ns3::SimpleNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3AddressChecker_methods(root_module, cls): - ## address.h: ns3::AddressChecker::AddressChecker() [constructor] - cls.add_constructor([]) - ## address.h: ns3::AddressChecker::AddressChecker(ns3::AddressChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AddressChecker const &', 'arg0')]) - return - -def register_Ns3AddressValue_methods(root_module, cls): - ## address.h: ns3::AddressValue::AddressValue() [constructor] - cls.add_constructor([]) - ## address.h: ns3::AddressValue::AddressValue(ns3::AddressValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AddressValue const &', 'arg0')]) - ## address.h: ns3::AddressValue::AddressValue(ns3::Address const & value) [constructor] - cls.add_constructor([param('ns3::Address const &', 'value')]) - ## address.h: ns3::Ptr ns3::AddressValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## address.h: bool ns3::AddressValue::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) - ## address.h: ns3::Address ns3::AddressValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Address', - [], - is_const=True) - ## address.h: std::string ns3::AddressValue::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) - ## address.h: void ns3::AddressValue::Set(ns3::Address const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Address const &', 'value')]) - return - -def register_Ns3PbbAddressTlv_methods(root_module, cls): - ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv() [constructor] - cls.add_constructor([]) - ## packetbb.h: ns3::PbbAddressTlv::PbbAddressTlv(ns3::PbbAddressTlv const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PbbAddressTlv const &', 'arg0')]) - ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStart() const [member function] - cls.add_method('GetIndexStart', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: uint8_t ns3::PbbAddressTlv::GetIndexStop() const [member function] - cls.add_method('GetIndexStop', - 'uint8_t', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStart() const [member function] - cls.add_method('HasIndexStart', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::HasIndexStop() const [member function] - cls.add_method('HasIndexStop', - 'bool', - [], - is_const=True) - ## packetbb.h: bool ns3::PbbAddressTlv::IsMultivalue() const [member function] - cls.add_method('IsMultivalue', - 'bool', - [], - is_const=True) - ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStart(uint8_t index) [member function] - cls.add_method('SetIndexStart', - 'void', - [param('uint8_t', 'index')]) - ## packetbb.h: void ns3::PbbAddressTlv::SetIndexStop(uint8_t index) [member function] - cls.add_method('SetIndexStop', - 'void', - [param('uint8_t', 'index')]) - ## packetbb.h: void ns3::PbbAddressTlv::SetMultivalue(bool isMultivalue) [member function] - cls.add_method('SetMultivalue', - 'void', - [param('bool', 'isMultivalue')]) - return - -def register_functions(root_module): - module = root_module - ## address.h: extern ns3::Ptr ns3::MakeAddressChecker() [free function] - module.add_function('MakeAddressChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## data-rate.h: extern ns3::Ptr ns3::MakeDataRateChecker() [free function] - module.add_function('MakeDataRateChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## ipv4-address.h: extern ns3::Ptr ns3::MakeIpv4AddressChecker() [free function] - module.add_function('MakeIpv4AddressChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## ipv4-address.h: extern ns3::Ptr ns3::MakeIpv4MaskChecker() [free function] - module.add_function('MakeIpv4MaskChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## ipv6-address.h: extern ns3::Ptr ns3::MakeIpv6AddressChecker() [free function] - module.add_function('MakeIpv6AddressChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## ipv6-address.h: extern ns3::Ptr ns3::MakeIpv6PrefixChecker() [free function] - module.add_function('MakeIpv6PrefixChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## mac48-address.h: extern ns3::Ptr ns3::MakeMac48AddressChecker() [free function] - module.add_function('MakeMac48AddressChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Address & ad, uint32_t len) [free function] - module.add_function('ReadFrom', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Address &', 'ad'), param('uint32_t', 'len')]) - ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Ipv4Address & ad) [free function] - module.add_function('ReadFrom', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Ipv4Address &', 'ad')]) - ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Ipv6Address & ad) [free function] - module.add_function('ReadFrom', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Ipv6Address &', 'ad')]) - ## address-utils.h: extern void ns3::ReadFrom(ns3::Buffer::Iterator & i, ns3::Mac48Address & ad) [free function] - module.add_function('ReadFrom', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Mac48Address &', 'ad')]) - ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Address const & ad) [free function] - module.add_function('WriteTo', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Address const &', 'ad')]) - ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Ipv4Address ad) [free function] - module.add_function('WriteTo', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Ipv4Address', 'ad')]) - ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Ipv6Address ad) [free function] - module.add_function('WriteTo', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Ipv6Address', 'ad')]) - ## address-utils.h: extern void ns3::WriteTo(ns3::Buffer::Iterator & i, ns3::Mac48Address ad) [free function] - module.add_function('WriteTo', - 'void', - [param('ns3::Buffer::Iterator &', 'i'), param('ns3::Mac48Address', 'ad')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - ## address-utils.h: extern bool ns3::addressUtils::IsMulticast(ns3::Address const & ad) [free function] - module.add_function('IsMulticast', - 'bool', - [param('ns3::Address const &', 'ad')]) - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py b/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py deleted file mode 100644 index db0c43e3c..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_nix_vector_routing.py +++ /dev/null @@ -1,233 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper [class] - module.add_class('Ipv4NixVectorHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting [class] - module.add_class('Ipv4NixVectorRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >', 'ns3::NixMap_t') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >*', 'ns3::NixMap_t*') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >&', 'ns3::NixMap_t&') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::Ipv4Route >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::Ipv4Route > > > >', 'ns3::Ipv4RouteMap_t') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::Ipv4Route >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::Ipv4Route > > > >*', 'ns3::Ipv4RouteMap_t*') - typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::Ipv4Route >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::Ipv4Route > > > >&', 'ns3::Ipv4RouteMap_t&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Ipv4NixVectorHelper_methods(root_module, root_module['ns3::Ipv4NixVectorHelper']) - register_Ns3Ipv4NixVectorRouting_methods(root_module, root_module['ns3::Ipv4NixVectorRouting']) - return - -def register_Ns3Ipv4NixVectorHelper_methods(root_module, cls): - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper() [constructor] - cls.add_constructor([]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper::Ipv4NixVectorHelper(ns3::Ipv4NixVectorHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4NixVectorHelper const &', 'arg0')]) - ## ipv4-nix-vector-helper.h: ns3::Ipv4NixVectorHelper * ns3::Ipv4NixVectorHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4NixVectorHelper *', - [], - is_const=True, is_virtual=True) - ## ipv4-nix-vector-helper.h: ns3::Ptr ns3::Ipv4NixVectorHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv4NixVectorRouting_methods(root_module, cls): - ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting::Ipv4NixVectorRouting(ns3::Ipv4NixVectorRouting const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4NixVectorRouting const &', 'arg0')]) - ## ipv4-nix-vector-routing.h: ns3::Ipv4NixVectorRouting::Ipv4NixVectorRouting() [constructor] - cls.add_constructor([]) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::FlushGlobalNixRoutingCache() [member function] - cls.add_method('FlushGlobalNixRoutingCache', - 'void', - []) - ## ipv4-nix-vector-routing.h: static ns3::TypeId ns3::Ipv4NixVectorRouting::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: bool ns3::Ipv4NixVectorRouting::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: ns3::Ptr ns3::Ipv4NixVectorRouting::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - visibility='private', is_virtual=True) - ## ipv4-nix-vector-routing.h: void ns3::Ipv4NixVectorRouting::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_ns3tcp.py b/bindings/python/apidefs/gcc-LP64/ns3_module_ns3tcp.py deleted file mode 100644 index a37d20d52..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_ns3tcp.py +++ /dev/null @@ -1,139 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_ns3wifi.py b/bindings/python/apidefs/gcc-LP64/ns3_module_ns3wifi.py deleted file mode 100644 index a37d20d52..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_ns3wifi.py +++ /dev/null @@ -1,139 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_olsr.py b/bindings/python/apidefs/gcc-LP64/ns3_module_olsr.py deleted file mode 100644 index a89a7dcd3..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_olsr.py +++ /dev/null @@ -1,1096 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## olsr-helper.h: ns3::OlsrHelper [class] - module.add_class('OlsrHelper', parent=root_module['ns3::Ipv4RoutingHelper']) - ## olsr-state.h: ns3::OlsrState [class] - module.add_class('OlsrState') - module.add_container('std::vector< ns3::olsr::MprSelectorTuple >', 'ns3::olsr::MprSelectorTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::NeighborTuple >', 'ns3::olsr::NeighborTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::TwoHopNeighborTuple >', 'ns3::olsr::TwoHopNeighborTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::LinkTuple >', 'ns3::olsr::LinkTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::TopologyTuple >', 'ns3::olsr::TopologyTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::IfaceAssocTuple >', 'ns3::olsr::IfaceAssocTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::AssociationTuple >', 'ns3::olsr::AssociationTuple', container_type='vector') - module.add_container('std::vector< ns3::olsr::Association >', 'ns3::olsr::Association', container_type='vector') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - ## olsr-repositories.h: ns3::olsr::Association [struct] - module.add_class('Association') - ## olsr-repositories.h: ns3::olsr::AssociationTuple [struct] - module.add_class('AssociationTuple') - ## olsr-repositories.h: ns3::olsr::DuplicateTuple [struct] - module.add_class('DuplicateTuple') - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple [struct] - module.add_class('IfaceAssocTuple') - ## olsr-repositories.h: ns3::olsr::LinkTuple [struct] - module.add_class('LinkTuple') - ## olsr-header.h: ns3::olsr::MessageHeader [class] - module.add_class('MessageHeader', parent=root_module['ns3::Header']) - ## olsr-header.h: ns3::olsr::MessageHeader::MessageType [enumeration] - module.add_enum('MessageType', ['HELLO_MESSAGE', 'TC_MESSAGE', 'MID_MESSAGE', 'HNA_MESSAGE'], outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello [struct] - module.add_class('Hello', outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage [struct] - module.add_class('LinkMessage', outer_class=root_module['ns3::olsr::MessageHeader::Hello']) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna [struct] - module.add_class('Hna', outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association [struct] - module.add_class('Association', outer_class=root_module['ns3::olsr::MessageHeader::Hna']) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid [struct] - module.add_class('Mid', outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc [struct] - module.add_class('Tc', outer_class=root_module['ns3::olsr::MessageHeader']) - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple [struct] - module.add_class('MprSelectorTuple') - ## olsr-repositories.h: ns3::olsr::NeighborTuple [struct] - module.add_class('NeighborTuple') - ## olsr-repositories.h: ns3::olsr::NeighborTuple::Status [enumeration] - module.add_enum('Status', ['STATUS_NOT_SYM', 'STATUS_SYM'], outer_class=root_module['ns3::olsr::NeighborTuple']) - ## olsr-header.h: ns3::olsr::PacketHeader [class] - module.add_class('PacketHeader', parent=root_module['ns3::Header']) - ## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol [class] - module.add_class('RoutingProtocol', parent=root_module['ns3::Ipv4RoutingProtocol']) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry [struct] - module.add_class('RoutingTableEntry') - ## olsr-repositories.h: ns3::olsr::TopologyTuple [struct] - module.add_class('TopologyTuple') - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple [struct] - module.add_class('TwoHopNeighborTuple') - module.add_container('std::vector< ns3::olsr::MessageHeader::Hello::LinkMessage >', 'ns3::olsr::MessageHeader::Hello::LinkMessage', container_type='vector') - module.add_container('std::vector< ns3::olsr::MessageHeader::Hna::Association >', 'ns3::olsr::MessageHeader::Hna::Association', container_type='vector') - module.add_container('std::vector< ns3::olsr::RoutingTableEntry >', 'ns3::olsr::RoutingTableEntry', container_type='vector') - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >', 'ns3::olsr::TopologySet') - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >*', 'ns3::olsr::TopologySet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::TopologyTuple, std::allocator< ns3::olsr::TopologyTuple > >&', 'ns3::olsr::TopologySet&') - typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >', 'ns3::olsr::MprSet') - typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >*', 'ns3::olsr::MprSet*') - typehandlers.add_type_alias('std::set< ns3::Ipv4Address, std::less< ns3::Ipv4Address >, std::allocator< ns3::Ipv4Address > >&', 'ns3::olsr::MprSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >', 'ns3::olsr::MprSelectorSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >*', 'ns3::olsr::MprSelectorSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >&', 'ns3::olsr::MprSelectorSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::Association, std::allocator< ns3::olsr::Association > >', 'ns3::olsr::Associations') - typehandlers.add_type_alias('std::vector< ns3::olsr::Association, std::allocator< ns3::olsr::Association > >*', 'ns3::olsr::Associations*') - typehandlers.add_type_alias('std::vector< ns3::olsr::Association, std::allocator< ns3::olsr::Association > >&', 'ns3::olsr::Associations&') - typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >', 'ns3::olsr::IfaceAssocSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >*', 'ns3::olsr::IfaceAssocSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::IfaceAssocTuple, std::allocator< ns3::olsr::IfaceAssocTuple > >&', 'ns3::olsr::IfaceAssocSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >', 'ns3::olsr::TwoHopNeighborSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >*', 'ns3::olsr::TwoHopNeighborSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::TwoHopNeighborTuple, std::allocator< ns3::olsr::TwoHopNeighborTuple > >&', 'ns3::olsr::TwoHopNeighborSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >', 'ns3::olsr::DuplicateSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >*', 'ns3::olsr::DuplicateSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >&', 'ns3::olsr::DuplicateSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >', 'ns3::olsr::MessageList') - typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >*', 'ns3::olsr::MessageList*') - typehandlers.add_type_alias('std::vector< ns3::olsr::MessageHeader, std::allocator< ns3::olsr::MessageHeader > >&', 'ns3::olsr::MessageList&') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >', 'ns3::olsr::AssociationSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >*', 'ns3::olsr::AssociationSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >&', 'ns3::olsr::AssociationSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&') - -def register_methods(root_module): - register_Ns3OlsrHelper_methods(root_module, root_module['ns3::OlsrHelper']) - register_Ns3OlsrState_methods(root_module, root_module['ns3::OlsrState']) - register_Ns3OlsrAssociation_methods(root_module, root_module['ns3::olsr::Association']) - register_Ns3OlsrAssociationTuple_methods(root_module, root_module['ns3::olsr::AssociationTuple']) - register_Ns3OlsrDuplicateTuple_methods(root_module, root_module['ns3::olsr::DuplicateTuple']) - register_Ns3OlsrIfaceAssocTuple_methods(root_module, root_module['ns3::olsr::IfaceAssocTuple']) - register_Ns3OlsrLinkTuple_methods(root_module, root_module['ns3::olsr::LinkTuple']) - register_Ns3OlsrMessageHeader_methods(root_module, root_module['ns3::olsr::MessageHeader']) - register_Ns3OlsrMessageHeaderHello_methods(root_module, root_module['ns3::olsr::MessageHeader::Hello']) - register_Ns3OlsrMessageHeaderHelloLinkMessage_methods(root_module, root_module['ns3::olsr::MessageHeader::Hello::LinkMessage']) - register_Ns3OlsrMessageHeaderHna_methods(root_module, root_module['ns3::olsr::MessageHeader::Hna']) - register_Ns3OlsrMessageHeaderHnaAssociation_methods(root_module, root_module['ns3::olsr::MessageHeader::Hna::Association']) - register_Ns3OlsrMessageHeaderMid_methods(root_module, root_module['ns3::olsr::MessageHeader::Mid']) - register_Ns3OlsrMessageHeaderTc_methods(root_module, root_module['ns3::olsr::MessageHeader::Tc']) - register_Ns3OlsrMprSelectorTuple_methods(root_module, root_module['ns3::olsr::MprSelectorTuple']) - register_Ns3OlsrNeighborTuple_methods(root_module, root_module['ns3::olsr::NeighborTuple']) - register_Ns3OlsrPacketHeader_methods(root_module, root_module['ns3::olsr::PacketHeader']) - register_Ns3OlsrRoutingProtocol_methods(root_module, root_module['ns3::olsr::RoutingProtocol']) - register_Ns3OlsrRoutingTableEntry_methods(root_module, root_module['ns3::olsr::RoutingTableEntry']) - register_Ns3OlsrTopologyTuple_methods(root_module, root_module['ns3::olsr::TopologyTuple']) - register_Ns3OlsrTwoHopNeighborTuple_methods(root_module, root_module['ns3::olsr::TwoHopNeighborTuple']) - return - -def register_Ns3OlsrHelper_methods(root_module, cls): - ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper() [constructor] - cls.add_constructor([]) - ## olsr-helper.h: ns3::OlsrHelper::OlsrHelper(ns3::OlsrHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OlsrHelper const &', 'arg0')]) - ## olsr-helper.h: ns3::OlsrHelper * ns3::OlsrHelper::Copy() const [member function] - cls.add_method('Copy', - 'ns3::OlsrHelper *', - [], - is_const=True, is_virtual=True) - ## olsr-helper.h: void ns3::OlsrHelper::ExcludeInterface(ns3::Ptr node, uint32_t interface) [member function] - cls.add_method('ExcludeInterface', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node'), param('uint32_t', 'interface')]) - ## olsr-helper.h: ns3::Ptr ns3::OlsrHelper::Create(ns3::Ptr node) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True, is_virtual=True) - ## olsr-helper.h: void ns3::OlsrHelper::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - return - -def register_Ns3OlsrState_methods(root_module, cls): - ## olsr-state.h: ns3::OlsrState::OlsrState(ns3::OlsrState const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OlsrState const &', 'arg0')]) - ## olsr-state.h: ns3::OlsrState::OlsrState() [constructor] - cls.add_constructor([]) - ## olsr-state.h: void ns3::OlsrState::EraseAssociation(ns3::olsr::Association const & tuple) [member function] - cls.add_method('EraseAssociation', - 'void', - [param('ns3::olsr::Association const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseAssociationTuple(ns3::olsr::AssociationTuple const & tuple) [member function] - cls.add_method('EraseAssociationTuple', - 'void', - [param('ns3::olsr::AssociationTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseDuplicateTuple(ns3::olsr::DuplicateTuple const & tuple) [member function] - cls.add_method('EraseDuplicateTuple', - 'void', - [param('ns3::olsr::DuplicateTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseIfaceAssocTuple(ns3::olsr::IfaceAssocTuple const & tuple) [member function] - cls.add_method('EraseIfaceAssocTuple', - 'void', - [param('ns3::olsr::IfaceAssocTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseLinkTuple(ns3::olsr::LinkTuple const & tuple) [member function] - cls.add_method('EraseLinkTuple', - 'void', - [param('ns3::olsr::LinkTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseMprSelectorTuple(ns3::olsr::MprSelectorTuple const & tuple) [member function] - cls.add_method('EraseMprSelectorTuple', - 'void', - [param('ns3::olsr::MprSelectorTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseMprSelectorTuples(ns3::Ipv4Address const & mainAddr) [member function] - cls.add_method('EraseMprSelectorTuples', - 'void', - [param('ns3::Ipv4Address const &', 'mainAddr')]) - ## olsr-state.h: void ns3::OlsrState::EraseNeighborTuple(ns3::olsr::NeighborTuple const & neighborTuple) [member function] - cls.add_method('EraseNeighborTuple', - 'void', - [param('ns3::olsr::NeighborTuple const &', 'neighborTuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseNeighborTuple(ns3::Ipv4Address const & mainAddr) [member function] - cls.add_method('EraseNeighborTuple', - 'void', - [param('ns3::Ipv4Address const &', 'mainAddr')]) - ## olsr-state.h: void ns3::OlsrState::EraseOlderTopologyTuples(ns3::Ipv4Address const & lastAddr, uint16_t ansn) [member function] - cls.add_method('EraseOlderTopologyTuples', - 'void', - [param('ns3::Ipv4Address const &', 'lastAddr'), param('uint16_t', 'ansn')]) - ## olsr-state.h: void ns3::OlsrState::EraseTopologyTuple(ns3::olsr::TopologyTuple const & tuple) [member function] - cls.add_method('EraseTopologyTuple', - 'void', - [param('ns3::olsr::TopologyTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseTwoHopNeighborTuple(ns3::olsr::TwoHopNeighborTuple const & tuple) [member function] - cls.add_method('EraseTwoHopNeighborTuple', - 'void', - [param('ns3::olsr::TwoHopNeighborTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::EraseTwoHopNeighborTuples(ns3::Ipv4Address const & neighbor) [member function] - cls.add_method('EraseTwoHopNeighborTuples', - 'void', - [param('ns3::Ipv4Address const &', 'neighbor')]) - ## olsr-state.h: void ns3::OlsrState::EraseTwoHopNeighborTuples(ns3::Ipv4Address const & neighbor, ns3::Ipv4Address const & twoHopNeighbor) [member function] - cls.add_method('EraseTwoHopNeighborTuples', - 'void', - [param('ns3::Ipv4Address const &', 'neighbor'), param('ns3::Ipv4Address const &', 'twoHopNeighbor')]) - ## olsr-state.h: ns3::olsr::AssociationTuple * ns3::OlsrState::FindAssociationTuple(ns3::Ipv4Address const & gatewayAddr, ns3::Ipv4Address const & networkAddr, ns3::Ipv4Mask const & netmask) [member function] - cls.add_method('FindAssociationTuple', - 'ns3::olsr::AssociationTuple *', - [param('ns3::Ipv4Address const &', 'gatewayAddr'), param('ns3::Ipv4Address const &', 'networkAddr'), param('ns3::Ipv4Mask const &', 'netmask')]) - ## olsr-state.h: ns3::olsr::DuplicateTuple * ns3::OlsrState::FindDuplicateTuple(ns3::Ipv4Address const & address, uint16_t sequenceNumber) [member function] - cls.add_method('FindDuplicateTuple', - 'ns3::olsr::DuplicateTuple *', - [param('ns3::Ipv4Address const &', 'address'), param('uint16_t', 'sequenceNumber')]) - ## olsr-state.h: ns3::olsr::IfaceAssocTuple * ns3::OlsrState::FindIfaceAssocTuple(ns3::Ipv4Address const & ifaceAddr) [member function] - cls.add_method('FindIfaceAssocTuple', - 'ns3::olsr::IfaceAssocTuple *', - [param('ns3::Ipv4Address const &', 'ifaceAddr')]) - ## olsr-state.h: ns3::olsr::IfaceAssocTuple const * ns3::OlsrState::FindIfaceAssocTuple(ns3::Ipv4Address const & ifaceAddr) const [member function] - cls.add_method('FindIfaceAssocTuple', - 'ns3::olsr::IfaceAssocTuple const *', - [param('ns3::Ipv4Address const &', 'ifaceAddr')], - is_const=True) - ## olsr-state.h: ns3::olsr::LinkTuple * ns3::OlsrState::FindLinkTuple(ns3::Ipv4Address const & ifaceAddr) [member function] - cls.add_method('FindLinkTuple', - 'ns3::olsr::LinkTuple *', - [param('ns3::Ipv4Address const &', 'ifaceAddr')]) - ## olsr-state.h: bool ns3::OlsrState::FindMprAddress(ns3::Ipv4Address const & address) [member function] - cls.add_method('FindMprAddress', - 'bool', - [param('ns3::Ipv4Address const &', 'address')]) - ## olsr-state.h: ns3::olsr::MprSelectorTuple * ns3::OlsrState::FindMprSelectorTuple(ns3::Ipv4Address const & mainAddr) [member function] - cls.add_method('FindMprSelectorTuple', - 'ns3::olsr::MprSelectorTuple *', - [param('ns3::Ipv4Address const &', 'mainAddr')]) - ## olsr-state.h: std::vector > ns3::OlsrState::FindNeighborInterfaces(ns3::Ipv4Address const & neighborMainAddr) const [member function] - cls.add_method('FindNeighborInterfaces', - 'std::vector< ns3::Ipv4Address >', - [param('ns3::Ipv4Address const &', 'neighborMainAddr')], - is_const=True) - ## olsr-state.h: ns3::olsr::NeighborTuple * ns3::OlsrState::FindNeighborTuple(ns3::Ipv4Address const & mainAddr) [member function] - cls.add_method('FindNeighborTuple', - 'ns3::olsr::NeighborTuple *', - [param('ns3::Ipv4Address const &', 'mainAddr')]) - ## olsr-state.h: ns3::olsr::NeighborTuple * ns3::OlsrState::FindNeighborTuple(ns3::Ipv4Address const & mainAddr, uint8_t willingness) [member function] - cls.add_method('FindNeighborTuple', - 'ns3::olsr::NeighborTuple *', - [param('ns3::Ipv4Address const &', 'mainAddr'), param('uint8_t', 'willingness')]) - ## olsr-state.h: ns3::olsr::TopologyTuple * ns3::OlsrState::FindNewerTopologyTuple(ns3::Ipv4Address const & lastAddr, uint16_t ansn) [member function] - cls.add_method('FindNewerTopologyTuple', - 'ns3::olsr::TopologyTuple *', - [param('ns3::Ipv4Address const &', 'lastAddr'), param('uint16_t', 'ansn')]) - ## olsr-state.h: ns3::olsr::LinkTuple * ns3::OlsrState::FindSymLinkTuple(ns3::Ipv4Address const & ifaceAddr, ns3::Time time) [member function] - cls.add_method('FindSymLinkTuple', - 'ns3::olsr::LinkTuple *', - [param('ns3::Ipv4Address const &', 'ifaceAddr'), param('ns3::Time', 'time')]) - ## olsr-state.h: ns3::olsr::NeighborTuple const * ns3::OlsrState::FindSymNeighborTuple(ns3::Ipv4Address const & mainAddr) const [member function] - cls.add_method('FindSymNeighborTuple', - 'ns3::olsr::NeighborTuple const *', - [param('ns3::Ipv4Address const &', 'mainAddr')], - is_const=True) - ## olsr-state.h: ns3::olsr::TopologyTuple * ns3::OlsrState::FindTopologyTuple(ns3::Ipv4Address const & destAddr, ns3::Ipv4Address const & lastAddr) [member function] - cls.add_method('FindTopologyTuple', - 'ns3::olsr::TopologyTuple *', - [param('ns3::Ipv4Address const &', 'destAddr'), param('ns3::Ipv4Address const &', 'lastAddr')]) - ## olsr-state.h: ns3::olsr::TwoHopNeighborTuple * ns3::OlsrState::FindTwoHopNeighborTuple(ns3::Ipv4Address const & neighbor, ns3::Ipv4Address const & twoHopNeighbor) [member function] - cls.add_method('FindTwoHopNeighborTuple', - 'ns3::olsr::TwoHopNeighborTuple *', - [param('ns3::Ipv4Address const &', 'neighbor'), param('ns3::Ipv4Address const &', 'twoHopNeighbor')]) - ## olsr-state.h: ns3::olsr::AssociationSet const & ns3::OlsrState::GetAssociationSet() const [member function] - cls.add_method('GetAssociationSet', - 'ns3::olsr::AssociationSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::Associations const & ns3::OlsrState::GetAssociations() const [member function] - cls.add_method('GetAssociations', - 'ns3::olsr::Associations const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::IfaceAssocSet const & ns3::OlsrState::GetIfaceAssocSet() const [member function] - cls.add_method('GetIfaceAssocSet', - 'ns3::olsr::IfaceAssocSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::IfaceAssocSet & ns3::OlsrState::GetIfaceAssocSetMutable() [member function] - cls.add_method('GetIfaceAssocSetMutable', - 'ns3::olsr::IfaceAssocSet &', - []) - ## olsr-state.h: ns3::olsr::LinkSet const & ns3::OlsrState::GetLinks() const [member function] - cls.add_method('GetLinks', - 'ns3::olsr::LinkSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::MprSelectorSet const & ns3::OlsrState::GetMprSelectors() const [member function] - cls.add_method('GetMprSelectors', - 'ns3::olsr::MprSelectorSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::MprSet ns3::OlsrState::GetMprSet() const [member function] - cls.add_method('GetMprSet', - 'ns3::olsr::MprSet', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::NeighborSet const & ns3::OlsrState::GetNeighbors() const [member function] - cls.add_method('GetNeighbors', - 'ns3::olsr::NeighborSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::NeighborSet & ns3::OlsrState::GetNeighbors() [member function] - cls.add_method('GetNeighbors', - 'ns3::olsr::NeighborSet &', - []) - ## olsr-state.h: ns3::olsr::TopologySet const & ns3::OlsrState::GetTopologySet() const [member function] - cls.add_method('GetTopologySet', - 'ns3::olsr::TopologySet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::TwoHopNeighborSet const & ns3::OlsrState::GetTwoHopNeighbors() const [member function] - cls.add_method('GetTwoHopNeighbors', - 'ns3::olsr::TwoHopNeighborSet const &', - [], - is_const=True) - ## olsr-state.h: ns3::olsr::TwoHopNeighborSet & ns3::OlsrState::GetTwoHopNeighbors() [member function] - cls.add_method('GetTwoHopNeighbors', - 'ns3::olsr::TwoHopNeighborSet &', - []) - ## olsr-state.h: void ns3::OlsrState::InsertAssociation(ns3::olsr::Association const & tuple) [member function] - cls.add_method('InsertAssociation', - 'void', - [param('ns3::olsr::Association const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertAssociationTuple(ns3::olsr::AssociationTuple const & tuple) [member function] - cls.add_method('InsertAssociationTuple', - 'void', - [param('ns3::olsr::AssociationTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertDuplicateTuple(ns3::olsr::DuplicateTuple const & tuple) [member function] - cls.add_method('InsertDuplicateTuple', - 'void', - [param('ns3::olsr::DuplicateTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertIfaceAssocTuple(ns3::olsr::IfaceAssocTuple const & tuple) [member function] - cls.add_method('InsertIfaceAssocTuple', - 'void', - [param('ns3::olsr::IfaceAssocTuple const &', 'tuple')]) - ## olsr-state.h: ns3::olsr::LinkTuple & ns3::OlsrState::InsertLinkTuple(ns3::olsr::LinkTuple const & tuple) [member function] - cls.add_method('InsertLinkTuple', - 'ns3::olsr::LinkTuple &', - [param('ns3::olsr::LinkTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertMprSelectorTuple(ns3::olsr::MprSelectorTuple const & tuple) [member function] - cls.add_method('InsertMprSelectorTuple', - 'void', - [param('ns3::olsr::MprSelectorTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertNeighborTuple(ns3::olsr::NeighborTuple const & tuple) [member function] - cls.add_method('InsertNeighborTuple', - 'void', - [param('ns3::olsr::NeighborTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertTopologyTuple(ns3::olsr::TopologyTuple const & tuple) [member function] - cls.add_method('InsertTopologyTuple', - 'void', - [param('ns3::olsr::TopologyTuple const &', 'tuple')]) - ## olsr-state.h: void ns3::OlsrState::InsertTwoHopNeighborTuple(ns3::olsr::TwoHopNeighborTuple const & tuple) [member function] - cls.add_method('InsertTwoHopNeighborTuple', - 'void', - [param('ns3::olsr::TwoHopNeighborTuple const &', 'tuple')]) - ## olsr-state.h: std::string ns3::OlsrState::PrintMprSelectorSet() const [member function] - cls.add_method('PrintMprSelectorSet', - 'std::string', - [], - is_const=True) - ## olsr-state.h: void ns3::OlsrState::SetMprSet(ns3::olsr::MprSet mprSet) [member function] - cls.add_method('SetMprSet', - 'void', - [param('ns3::olsr::MprSet', 'mprSet')]) - return - -def register_Ns3OlsrAssociation_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::Association::Association() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::Association::Association(ns3::olsr::Association const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::Association const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::Association::netmask [variable] - cls.add_instance_attribute('netmask', 'ns3::Ipv4Mask', is_const=False) - ## olsr-repositories.h: ns3::olsr::Association::networkAddr [variable] - cls.add_instance_attribute('networkAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3OlsrAssociationTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::AssociationTuple::AssociationTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::AssociationTuple(ns3::olsr::AssociationTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::AssociationTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::gatewayAddr [variable] - cls.add_instance_attribute('gatewayAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::netmask [variable] - cls.add_instance_attribute('netmask', 'ns3::Ipv4Mask', is_const=False) - ## olsr-repositories.h: ns3::olsr::AssociationTuple::networkAddr [variable] - cls.add_instance_attribute('networkAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3OlsrDuplicateTuple_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::DuplicateTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::DuplicateTuple(ns3::olsr::DuplicateTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::DuplicateTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::address [variable] - cls.add_instance_attribute('address', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::ifaceList [variable] - cls.add_instance_attribute('ifaceList', 'std::vector< ns3::Ipv4Address >', is_const=False) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::retransmitted [variable] - cls.add_instance_attribute('retransmitted', 'bool', is_const=False) - ## olsr-repositories.h: ns3::olsr::DuplicateTuple::sequenceNumber [variable] - cls.add_instance_attribute('sequenceNumber', 'uint16_t', is_const=False) - return - -def register_Ns3OlsrIfaceAssocTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::IfaceAssocTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::IfaceAssocTuple(ns3::olsr::IfaceAssocTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::IfaceAssocTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::ifaceAddr [variable] - cls.add_instance_attribute('ifaceAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::mainAddr [variable] - cls.add_instance_attribute('mainAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::IfaceAssocTuple::time [variable] - cls.add_instance_attribute('time', 'ns3::Time', is_const=False) - return - -def register_Ns3OlsrLinkTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::LinkTuple::LinkTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::LinkTuple::LinkTuple(ns3::olsr::LinkTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::LinkTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::LinkTuple::asymTime [variable] - cls.add_instance_attribute('asymTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::LinkTuple::localIfaceAddr [variable] - cls.add_instance_attribute('localIfaceAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::LinkTuple::neighborIfaceAddr [variable] - cls.add_instance_attribute('neighborIfaceAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::LinkTuple::symTime [variable] - cls.add_instance_attribute('symTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::LinkTuple::time [variable] - cls.add_instance_attribute('time', 'ns3::Time', is_const=False) - return - -def register_Ns3OlsrMessageHeader_methods(root_module, cls): - cls.add_output_stream_operator() - ## olsr-header.h: ns3::olsr::MessageHeader::MessageHeader(ns3::olsr::MessageHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader const &', 'arg0')]) - ## olsr-header.h: ns3::olsr::MessageHeader::MessageHeader() [constructor] - cls.add_constructor([]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello & ns3::olsr::MessageHeader::GetHello() [member function] - cls.add_method('GetHello', - 'ns3::olsr::MessageHeader::Hello &', - []) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello const & ns3::olsr::MessageHeader::GetHello() const [member function] - cls.add_method('GetHello', - 'ns3::olsr::MessageHeader::Hello const &', - [], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna & ns3::olsr::MessageHeader::GetHna() [member function] - cls.add_method('GetHna', - 'ns3::olsr::MessageHeader::Hna &', - []) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna const & ns3::olsr::MessageHeader::GetHna() const [member function] - cls.add_method('GetHna', - 'ns3::olsr::MessageHeader::Hna const &', - [], - is_const=True) - ## olsr-header.h: uint8_t ns3::olsr::MessageHeader::GetHopCount() const [member function] - cls.add_method('GetHopCount', - 'uint8_t', - [], - is_const=True) - ## olsr-header.h: ns3::TypeId ns3::olsr::MessageHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## olsr-header.h: uint16_t ns3::olsr::MessageHeader::GetMessageSequenceNumber() const [member function] - cls.add_method('GetMessageSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::MessageType ns3::olsr::MessageHeader::GetMessageType() const [member function] - cls.add_method('GetMessageType', - 'ns3::olsr::MessageHeader::MessageType', - [], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid & ns3::olsr::MessageHeader::GetMid() [member function] - cls.add_method('GetMid', - 'ns3::olsr::MessageHeader::Mid &', - []) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid const & ns3::olsr::MessageHeader::GetMid() const [member function] - cls.add_method('GetMid', - 'ns3::olsr::MessageHeader::Mid const &', - [], - is_const=True) - ## olsr-header.h: ns3::Ipv4Address ns3::olsr::MessageHeader::GetOriginatorAddress() const [member function] - cls.add_method('GetOriginatorAddress', - 'ns3::Ipv4Address', - [], - is_const=True) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc & ns3::olsr::MessageHeader::GetTc() [member function] - cls.add_method('GetTc', - 'ns3::olsr::MessageHeader::Tc &', - []) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc const & ns3::olsr::MessageHeader::GetTc() const [member function] - cls.add_method('GetTc', - 'ns3::olsr::MessageHeader::Tc const &', - [], - is_const=True) - ## olsr-header.h: uint8_t ns3::olsr::MessageHeader::GetTimeToLive() const [member function] - cls.add_method('GetTimeToLive', - 'uint8_t', - [], - is_const=True) - ## olsr-header.h: static ns3::TypeId ns3::olsr::MessageHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## olsr-header.h: ns3::Time ns3::olsr::MessageHeader::GetVTime() const [member function] - cls.add_method('GetVTime', - 'ns3::Time', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetHopCount(uint8_t hopCount) [member function] - cls.add_method('SetHopCount', - 'void', - [param('uint8_t', 'hopCount')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetMessageSequenceNumber(uint16_t messageSequenceNumber) [member function] - cls.add_method('SetMessageSequenceNumber', - 'void', - [param('uint16_t', 'messageSequenceNumber')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetMessageType(ns3::olsr::MessageHeader::MessageType messageType) [member function] - cls.add_method('SetMessageType', - 'void', - [param('ns3::olsr::MessageHeader::MessageType', 'messageType')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetOriginatorAddress(ns3::Ipv4Address originatorAddress) [member function] - cls.add_method('SetOriginatorAddress', - 'void', - [param('ns3::Ipv4Address', 'originatorAddress')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetTimeToLive(uint8_t timeToLive) [member function] - cls.add_method('SetTimeToLive', - 'void', - [param('uint8_t', 'timeToLive')]) - ## olsr-header.h: void ns3::olsr::MessageHeader::SetVTime(ns3::Time time) [member function] - cls.add_method('SetVTime', - 'void', - [param('ns3::Time', 'time')]) - return - -def register_Ns3OlsrMessageHeaderHello_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::Hello() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::Hello(ns3::olsr::MessageHeader::Hello const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Hello const &', 'arg0')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hello::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')]) - ## olsr-header.h: ns3::Time ns3::olsr::MessageHeader::Hello::GetHTime() const [member function] - cls.add_method('GetHTime', - 'ns3::Time', - [], - is_const=True) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hello::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hello::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hello::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hello::SetHTime(ns3::Time time) [member function] - cls.add_method('SetHTime', - 'void', - [param('ns3::Time', 'time')]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::hTime [variable] - cls.add_instance_attribute('hTime', 'uint8_t', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::linkMessages [variable] - cls.add_instance_attribute('linkMessages', 'std::vector< ns3::olsr::MessageHeader::Hello::LinkMessage >', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::willingness [variable] - cls.add_instance_attribute('willingness', 'uint8_t', is_const=False) - return - -def register_Ns3OlsrMessageHeaderHelloLinkMessage_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::LinkMessage() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::LinkMessage(ns3::olsr::MessageHeader::Hello::LinkMessage const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Hello::LinkMessage const &', 'arg0')]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::linkCode [variable] - cls.add_instance_attribute('linkCode', 'uint8_t', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Hello::LinkMessage::neighborInterfaceAddresses [variable] - cls.add_instance_attribute('neighborInterfaceAddresses', 'std::vector< ns3::Ipv4Address >', is_const=False) - return - -def register_Ns3OlsrMessageHeaderHna_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Hna() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Hna(ns3::olsr::MessageHeader::Hna const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Hna const &', 'arg0')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hna::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Hna::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hna::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Hna::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::associations [variable] - cls.add_instance_attribute('associations', 'std::vector< ns3::olsr::MessageHeader::Hna::Association >', is_const=False) - return - -def register_Ns3OlsrMessageHeaderHnaAssociation_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::Association() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::Association(ns3::olsr::MessageHeader::Hna::Association const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Hna::Association const &', 'arg0')]) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::address [variable] - cls.add_instance_attribute('address', 'ns3::Ipv4Address', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Hna::Association::mask [variable] - cls.add_instance_attribute('mask', 'ns3::Ipv4Mask', is_const=False) - return - -def register_Ns3OlsrMessageHeaderMid_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Mid::Mid() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid::Mid(ns3::olsr::MessageHeader::Mid const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Mid const &', 'arg0')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Mid::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Mid::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Mid::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Mid::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Mid::interfaceAddresses [variable] - cls.add_instance_attribute('interfaceAddresses', 'std::vector< ns3::Ipv4Address >', is_const=False) - return - -def register_Ns3OlsrMessageHeaderTc_methods(root_module, cls): - ## olsr-header.h: ns3::olsr::MessageHeader::Tc::Tc() [constructor] - cls.add_constructor([]) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc::Tc(ns3::olsr::MessageHeader::Tc const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MessageHeader::Tc const &', 'arg0')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Tc::Deserialize(ns3::Buffer::Iterator start, uint32_t messageSize) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint32_t', 'messageSize')]) - ## olsr-header.h: uint32_t ns3::olsr::MessageHeader::Tc::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Tc::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## olsr-header.h: void ns3::olsr::MessageHeader::Tc::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc::ansn [variable] - cls.add_instance_attribute('ansn', 'uint16_t', is_const=False) - ## olsr-header.h: ns3::olsr::MessageHeader::Tc::neighborAddresses [variable] - cls.add_instance_attribute('neighborAddresses', 'std::vector< ns3::Ipv4Address >', is_const=False) - return - -def register_Ns3OlsrMprSelectorTuple_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple::MprSelectorTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple::MprSelectorTuple(ns3::olsr::MprSelectorTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::MprSelectorTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::MprSelectorTuple::mainAddr [variable] - cls.add_instance_attribute('mainAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3OlsrNeighborTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::NeighborTuple::NeighborTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::NeighborTuple::NeighborTuple(ns3::olsr::NeighborTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::NeighborTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::NeighborTuple::neighborMainAddr [variable] - cls.add_instance_attribute('neighborMainAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::NeighborTuple::status [variable] - cls.add_instance_attribute('status', 'ns3::olsr::NeighborTuple::Status', is_const=False) - ## olsr-repositories.h: ns3::olsr::NeighborTuple::willingness [variable] - cls.add_instance_attribute('willingness', 'uint8_t', is_const=False) - return - -def register_Ns3OlsrPacketHeader_methods(root_module, cls): - cls.add_output_stream_operator() - ## olsr-header.h: ns3::olsr::PacketHeader::PacketHeader(ns3::olsr::PacketHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::PacketHeader const &', 'arg0')]) - ## olsr-header.h: ns3::olsr::PacketHeader::PacketHeader() [constructor] - cls.add_constructor([]) - ## olsr-header.h: uint32_t ns3::olsr::PacketHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## olsr-header.h: ns3::TypeId ns3::olsr::PacketHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## olsr-header.h: uint16_t ns3::olsr::PacketHeader::GetPacketLength() const [member function] - cls.add_method('GetPacketLength', - 'uint16_t', - [], - is_const=True) - ## olsr-header.h: uint16_t ns3::olsr::PacketHeader::GetPacketSequenceNumber() const [member function] - cls.add_method('GetPacketSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## olsr-header.h: uint32_t ns3::olsr::PacketHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## olsr-header.h: static ns3::TypeId ns3::olsr::PacketHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## olsr-header.h: void ns3::olsr::PacketHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## olsr-header.h: void ns3::olsr::PacketHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## olsr-header.h: void ns3::olsr::PacketHeader::SetPacketLength(uint16_t length) [member function] - cls.add_method('SetPacketLength', - 'void', - [param('uint16_t', 'length')]) - ## olsr-header.h: void ns3::olsr::PacketHeader::SetPacketSequenceNumber(uint16_t seqnum) [member function] - cls.add_method('SetPacketSequenceNumber', - 'void', - [param('uint16_t', 'seqnum')]) - return - -def register_Ns3OlsrRoutingProtocol_methods(root_module, cls): - ## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol::RoutingProtocol(ns3::olsr::RoutingProtocol const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::RoutingProtocol const &', 'arg0')]) - ## olsr-routing-protocol.h: ns3::olsr::RoutingProtocol::RoutingProtocol() [constructor] - cls.add_constructor([]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::AddHostNetworkAssociation(ns3::Ipv4Address networkAddr, ns3::Ipv4Mask netmask) [member function] - cls.add_method('AddHostNetworkAssociation', - 'void', - [param('ns3::Ipv4Address', 'networkAddr'), param('ns3::Ipv4Mask', 'netmask')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::Dump() [member function] - cls.add_method('Dump', - 'void', - []) - ## olsr-routing-protocol.h: std::set, std::allocator > ns3::olsr::RoutingProtocol::GetInterfaceExclusions() const [member function] - cls.add_method('GetInterfaceExclusions', - 'std::set< unsigned int >', - [], - is_const=True) - ## olsr-routing-protocol.h: std::vector > ns3::olsr::RoutingProtocol::GetRoutingTableEntries() const [member function] - cls.add_method('GetRoutingTableEntries', - 'std::vector< ns3::olsr::RoutingTableEntry >', - [], - is_const=True) - ## olsr-routing-protocol.h: static ns3::TypeId ns3::olsr::RoutingProtocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::RemoveHostNetworkAssociation(ns3::Ipv4Address networkAddr, ns3::Ipv4Mask netmask) [member function] - cls.add_method('RemoveHostNetworkAssociation', - 'void', - [param('ns3::Ipv4Address', 'networkAddr'), param('ns3::Ipv4Mask', 'netmask')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetInterfaceExclusions(std::set, std::allocator > exceptions) [member function] - cls.add_method('SetInterfaceExclusions', - 'void', - [param('std::set< unsigned int >', 'exceptions')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetMainInterface(uint32_t interface) [member function] - cls.add_method('SetMainInterface', - 'void', - [param('uint32_t', 'interface')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetRoutingTableAssociation(ns3::Ptr routingTable) [member function] - cls.add_method('SetRoutingTableAssociation', - 'void', - [param('ns3::Ptr< ns3::Ipv4StaticRouting >', 'routingTable')]) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyAddAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyAddAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyInterfaceDown(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceDown', - 'void', - [param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyInterfaceUp(uint32_t interface) [member function] - cls.add_method('NotifyInterfaceUp', - 'void', - [param('uint32_t', 'interface')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::NotifyRemoveAddress(uint32_t interface, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('NotifyRemoveAddress', - 'void', - [param('uint32_t', 'interface'), param('ns3::Ipv4InterfaceAddress', 'address')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::PrintRoutingTable(ns3::Ptr stream) const [member function] - cls.add_method('PrintRoutingTable', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream')], - is_const=True, visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: bool ns3::olsr::RoutingProtocol::RouteInput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr idev, ns3::Callback, ns3::Ptr, ns3::Ipv4Header const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ucb, ns3::Callback,ns3::Ptr,const ns3::Ipv4Header&,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> mcb, ns3::Callback,const ns3::Ipv4Header&,unsigned int,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> lcb, ns3::Callback, ns3::Ipv4Header const&, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ecb) [member function] - cls.add_method('RouteInput', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice const >', 'idev'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4Route >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ucb'), param('ns3::Callback< void, ns3::Ptr< ns3::Ipv4MulticastRoute >, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'mcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, unsigned int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'lcb'), param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, ns3::Ipv4Header const &, ns3::Socket::SocketErrno, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'ecb')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: ns3::Ptr ns3::olsr::RoutingProtocol::RouteOutput(ns3::Ptr p, ns3::Ipv4Header const & header, ns3::Ptr oif, ns3::Socket::SocketErrno & sockerr) [member function] - cls.add_method('RouteOutput', - 'ns3::Ptr< ns3::Ipv4Route >', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ipv4Header const &', 'header'), param('ns3::Ptr< ns3::NetDevice >', 'oif'), param('ns3::Socket::SocketErrno &', 'sockerr')], - visibility='private', is_virtual=True) - ## olsr-routing-protocol.h: void ns3::olsr::RoutingProtocol::SetIpv4(ns3::Ptr ipv4) [member function] - cls.add_method('SetIpv4', - 'void', - [param('ns3::Ptr< ns3::Ipv4 >', 'ipv4')], - visibility='private', is_virtual=True) - return - -def register_Ns3OlsrRoutingTableEntry_methods(root_module, cls): - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::RoutingTableEntry(ns3::olsr::RoutingTableEntry const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::RoutingTableEntry const &', 'arg0')]) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::RoutingTableEntry() [constructor] - cls.add_constructor([]) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::destAddr [variable] - cls.add_instance_attribute('destAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::distance [variable] - cls.add_instance_attribute('distance', 'uint32_t', is_const=False) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::interface [variable] - cls.add_instance_attribute('interface', 'uint32_t', is_const=False) - ## olsr-routing-protocol.h: ns3::olsr::RoutingTableEntry::nextAddr [variable] - cls.add_instance_attribute('nextAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_Ns3OlsrTopologyTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::TopologyTuple::TopologyTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::TopologyTuple(ns3::olsr::TopologyTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::TopologyTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::destAddr [variable] - cls.add_instance_attribute('destAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::lastAddr [variable] - cls.add_instance_attribute('lastAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::TopologyTuple::sequenceNumber [variable] - cls.add_instance_attribute('sequenceNumber', 'uint16_t', is_const=False) - return - -def register_Ns3OlsrTwoHopNeighborTuple_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::TwoHopNeighborTuple() [constructor] - cls.add_constructor([]) - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::TwoHopNeighborTuple(ns3::olsr::TwoHopNeighborTuple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::olsr::TwoHopNeighborTuple const &', 'arg0')]) - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::expirationTime [variable] - cls.add_instance_attribute('expirationTime', 'ns3::Time', is_const=False) - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::neighborMainAddr [variable] - cls.add_instance_attribute('neighborMainAddr', 'ns3::Ipv4Address', is_const=False) - ## olsr-repositories.h: ns3::olsr::TwoHopNeighborTuple::twoHopNeighborAddr [variable] - cls.add_instance_attribute('twoHopNeighborAddr', 'ns3::Ipv4Address', is_const=False) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - ## olsr-header.h: extern double ns3::olsr::EmfToSeconds(uint8_t emf) [free function] - module.add_function('EmfToSeconds', - 'double', - [param('uint8_t', 'emf')]) - ## olsr-header.h: extern uint8_t ns3::olsr::SecondsToEmf(double seconds) [free function] - module.add_function('SecondsToEmf', - 'uint8_t', - [param('double', 'seconds')]) - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_openflow.py b/bindings/python/apidefs/gcc-LP64/ns3_module_openflow.py deleted file mode 100644 index a37d20d52..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_openflow.py +++ /dev/null @@ -1,139 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_point_to_point.py b/bindings/python/apidefs/gcc-LP64/ns3_module_point_to_point.py deleted file mode 100644 index 52eeddad9..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_point_to_point.py +++ /dev/null @@ -1,490 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## point-to-point-helper.h: ns3::PointToPointHelper [class] - module.add_class('PointToPointHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## ppp-header.h: ns3::PppHeader [class] - module.add_class('PppHeader', parent=root_module['ns3::Header']) - ## point-to-point-channel.h: ns3::PointToPointChannel [class] - module.add_class('PointToPointChannel', parent=root_module['ns3::Channel']) - ## point-to-point-net-device.h: ns3::PointToPointNetDevice [class] - module.add_class('PointToPointNetDevice', parent=[root_module['ns3::NetDevice'], root_module['ns3::MpiNetDevice']]) - ## point-to-point-remote-channel.h: ns3::PointToPointRemoteChannel [class] - module.add_class('PointToPointRemoteChannel', parent=root_module['ns3::PointToPointChannel']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) - register_Ns3PppHeader_methods(root_module, root_module['ns3::PppHeader']) - register_Ns3PointToPointChannel_methods(root_module, root_module['ns3::PointToPointChannel']) - register_Ns3PointToPointNetDevice_methods(root_module, root_module['ns3::PointToPointNetDevice']) - register_Ns3PointToPointRemoteChannel_methods(root_module, root_module['ns3::PointToPointRemoteChannel']) - return - -def register_Ns3PointToPointHelper_methods(root_module, cls): - ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper(ns3::PointToPointHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointHelper const &', 'arg0')]) - ## point-to-point-helper.h: ns3::PointToPointHelper::PointToPointHelper() [constructor] - cls.add_constructor([]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::NodeContainer c) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, ns3::Ptr b) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'a'), param('ns3::Ptr< ns3::Node >', 'b')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(ns3::Ptr a, std::string bName) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'a'), param('std::string', 'bName')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aName, ns3::Ptr b) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'aName'), param('ns3::Ptr< ns3::Node >', 'b')]) - ## point-to-point-helper.h: ns3::NetDeviceContainer ns3::PointToPointHelper::Install(std::string aNode, std::string bNode) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'aNode'), param('std::string', 'bNode')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetChannelAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetChannelAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetDeviceAttribute(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::SetQueue(std::string type, std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetQueue', - 'void', - [param('std::string', 'type'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()')]) - ## point-to-point-helper.h: void ns3::PointToPointHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## point-to-point-helper.h: void ns3::PointToPointHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3PppHeader_methods(root_module, cls): - ## ppp-header.h: ns3::PppHeader::PppHeader(ns3::PppHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PppHeader const &', 'arg0')]) - ## ppp-header.h: ns3::PppHeader::PppHeader() [constructor] - cls.add_constructor([]) - ## ppp-header.h: uint32_t ns3::PppHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ppp-header.h: ns3::TypeId ns3::PppHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ppp-header.h: uint16_t ns3::PppHeader::GetProtocol() [member function] - cls.add_method('GetProtocol', - 'uint16_t', - []) - ## ppp-header.h: uint32_t ns3::PppHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ppp-header.h: static ns3::TypeId ns3::PppHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ppp-header.h: void ns3::PppHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ppp-header.h: void ns3::PppHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ppp-header.h: void ns3::PppHeader::SetProtocol(uint16_t protocol) [member function] - cls.add_method('SetProtocol', - 'void', - [param('uint16_t', 'protocol')]) - return - -def register_Ns3PointToPointChannel_methods(root_module, cls): - ## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel(ns3::PointToPointChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointChannel const &', 'arg0')]) - ## point-to-point-channel.h: ns3::PointToPointChannel::PointToPointChannel() [constructor] - cls.add_constructor([]) - ## point-to-point-channel.h: void ns3::PointToPointChannel::Attach(ns3::Ptr device) [member function] - cls.add_method('Attach', - 'void', - [param('ns3::Ptr< ns3::PointToPointNetDevice >', 'device')]) - ## point-to-point-channel.h: ns3::Ptr ns3::PointToPointChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## point-to-point-channel.h: uint32_t ns3::PointToPointChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## point-to-point-channel.h: ns3::Ptr ns3::PointToPointChannel::GetPointToPointDevice(uint32_t i) const [member function] - cls.add_method('GetPointToPointDevice', - 'ns3::Ptr< ns3::PointToPointNetDevice >', - [param('uint32_t', 'i')], - is_const=True) - ## point-to-point-channel.h: static ns3::TypeId ns3::PointToPointChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## point-to-point-channel.h: bool ns3::PointToPointChannel::TransmitStart(ns3::Ptr p, ns3::Ptr src, ns3::Time txTime) [member function] - cls.add_method('TransmitStart', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::PointToPointNetDevice >', 'src'), param('ns3::Time', 'txTime')], - is_virtual=True) - ## point-to-point-channel.h: ns3::Time ns3::PointToPointChannel::GetDelay() const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [], - is_const=True, visibility='protected') - ## point-to-point-channel.h: ns3::Ptr ns3::PointToPointChannel::GetDestination(uint32_t i) const [member function] - cls.add_method('GetDestination', - 'ns3::Ptr< ns3::PointToPointNetDevice >', - [param('uint32_t', 'i')], - is_const=True, visibility='protected') - ## point-to-point-channel.h: ns3::Ptr ns3::PointToPointChannel::GetSource(uint32_t i) const [member function] - cls.add_method('GetSource', - 'ns3::Ptr< ns3::PointToPointNetDevice >', - [param('uint32_t', 'i')], - is_const=True, visibility='protected') - ## point-to-point-channel.h: bool ns3::PointToPointChannel::IsInitialized() const [member function] - cls.add_method('IsInitialized', - 'bool', - [], - is_const=True, visibility='protected') - return - -def register_Ns3PointToPointNetDevice_methods(root_module, cls): - ## point-to-point-net-device.h: static ns3::TypeId ns3::PointToPointNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## point-to-point-net-device.h: ns3::PointToPointNetDevice::PointToPointNetDevice() [constructor] - cls.add_constructor([]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetDataRate(ns3::DataRate bps) [member function] - cls.add_method('SetDataRate', - 'void', - [param('ns3::DataRate', 'bps')]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetInterframeGap(ns3::Time t) [member function] - cls.add_method('SetInterframeGap', - 'void', - [param('ns3::Time', 't')]) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::Attach(ns3::Ptr ch) [member function] - cls.add_method('Attach', - 'bool', - [param('ns3::Ptr< ns3::PointToPointChannel >', 'ch')]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')]) - ## point-to-point-net-device.h: ns3::Ptr ns3::PointToPointNetDevice::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::Queue >', - [], - is_const=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetReceiveErrorModel(ns3::Ptr em) [member function] - cls.add_method('SetReceiveErrorModel', - 'void', - [param('ns3::Ptr< ns3::ErrorModel >', 'em')]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::Receive(ns3::Ptr p) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## point-to-point-net-device.h: uint32_t ns3::PointToPointNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: ns3::Ptr ns3::PointToPointNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## point-to-point-net-device.h: uint16_t ns3::PointToPointNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::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')], - is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## point-to-point-net-device.h: ns3::Ptr ns3::PointToPointNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## point-to-point-net-device.h: ns3::Address ns3::PointToPointNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## point-to-point-net-device.h: bool ns3::PointToPointNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::DoMpiReceive(ns3::Ptr p) [member function] - cls.add_method('DoMpiReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')], - visibility='protected', is_virtual=True) - ## point-to-point-net-device.h: void ns3::PointToPointNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3PointToPointRemoteChannel_methods(root_module, cls): - ## point-to-point-remote-channel.h: ns3::PointToPointRemoteChannel::PointToPointRemoteChannel(ns3::PointToPointRemoteChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PointToPointRemoteChannel const &', 'arg0')]) - ## point-to-point-remote-channel.h: ns3::PointToPointRemoteChannel::PointToPointRemoteChannel() [constructor] - cls.add_constructor([]) - ## point-to-point-remote-channel.h: static ns3::TypeId ns3::PointToPointRemoteChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## point-to-point-remote-channel.h: bool ns3::PointToPointRemoteChannel::TransmitStart(ns3::Ptr p, ns3::Ptr src, ns3::Time txTime) [member function] - cls.add_method('TransmitStart', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p'), param('ns3::Ptr< ns3::PointToPointNetDevice >', 'src'), param('ns3::Time', 'txTime')], - is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_propagation.py b/bindings/python/apidefs/gcc-LP64/ns3_module_propagation.py deleted file mode 100644 index ead70ce6e..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_propagation.py +++ /dev/null @@ -1,606 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## propagation-delay-model.h: ns3::PropagationDelayModel [class] - module.add_class('PropagationDelayModel', parent=root_module['ns3::Object']) - ## propagation-loss-model.h: ns3::PropagationLossModel [class] - module.add_class('PropagationLossModel', parent=root_module['ns3::Object']) - ## propagation-delay-model.h: ns3::RandomPropagationDelayModel [class] - module.add_class('RandomPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) - ## propagation-loss-model.h: ns3::RandomPropagationLossModel [class] - module.add_class('RandomPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::RangePropagationLossModel [class] - module.add_class('RangePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel [class] - module.add_class('ThreeLogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::TwoRayGroundPropagationLossModel [class] - module.add_class('TwoRayGroundPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel [class] - module.add_class('ConstantSpeedPropagationDelayModel', parent=root_module['ns3::PropagationDelayModel']) - ## cost231-propagation-loss-model.h: ns3::Cost231PropagationLossModel [class] - module.add_class('Cost231PropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## cost231-propagation-loss-model.h: ns3::Cost231PropagationLossModel::Environment [enumeration] - module.add_enum('Environment', ['SubUrban', 'MediumCity', 'Metropolitan'], outer_class=root_module['ns3::Cost231PropagationLossModel']) - ## propagation-loss-model.h: ns3::FixedRssLossModel [class] - module.add_class('FixedRssLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::FriisPropagationLossModel [class] - module.add_class('FriisPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## jakes-propagation-loss-model.h: ns3::JakesPropagationLossModel [class] - module.add_class('JakesPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::LogDistancePropagationLossModel [class] - module.add_class('LogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::MatrixPropagationLossModel [class] - module.add_class('MatrixPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - ## propagation-loss-model.h: ns3::NakagamiPropagationLossModel [class] - module.add_class('NakagamiPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) - register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) - register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) - register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) - register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) - register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) - register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) - register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) - register_Ns3Cost231PropagationLossModel_methods(root_module, root_module['ns3::Cost231PropagationLossModel']) - register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) - register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) - register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) - register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) - register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) - register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) - return - -def register_Ns3PropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h: ns3::PropagationDelayModel::PropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h: ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h: ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## propagation-delay-model.h: static ns3::TypeId ns3::PropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3PropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::PropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::PropagationLossModel::PropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::PropagationLossModel::SetNext(ns3::Ptr next) [member function] - cls.add_method('SetNext', - 'void', - [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) - ## propagation-loss-model.h: double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('CalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True) - ## propagation-loss-model.h: double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h: ns3::RandomPropagationDelayModel::RandomPropagationDelayModel(ns3::RandomPropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomPropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h: ns3::RandomPropagationDelayModel::RandomPropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h: ns3::Time ns3::RandomPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, is_virtual=True) - ## propagation-delay-model.h: static ns3::TypeId ns3::RandomPropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3RandomPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::RandomPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::RandomPropagationLossModel::RandomPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: double ns3::RandomPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RangePropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::RangePropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::RangePropagationLossModel::RangePropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: double ns3::RangePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::ThreeLogDistancePropagationLossModel::ThreeLogDistancePropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: double ns3::ThreeLogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::TwoRayGroundPropagationLossModel::TwoRayGroundPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetLambda(double frequency, double speed) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'frequency'), param('double', 'speed')]) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetLambda(double lambda) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'lambda')]) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetSystemLoss(double systemLoss) [member function] - cls.add_method('SetSystemLoss', - 'void', - [param('double', 'systemLoss')]) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetMinDistance(double minDistance) [member function] - cls.add_method('SetMinDistance', - 'void', - [param('double', 'minDistance')]) - ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::GetMinDistance() const [member function] - cls.add_method('GetMinDistance', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::GetLambda() const [member function] - cls.add_method('GetLambda', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::GetSystemLoss() const [member function] - cls.add_method('GetSystemLoss', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: void ns3::TwoRayGroundPropagationLossModel::SetHeightAboveZ(double heightAboveZ) [member function] - cls.add_method('SetHeightAboveZ', - 'void', - [param('double', 'heightAboveZ')]) - ## propagation-loss-model.h: double ns3::TwoRayGroundPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h: ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h: ns3::Time ns3::ConstantSpeedPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, is_virtual=True) - ## propagation-delay-model.h: double ns3::ConstantSpeedPropagationDelayModel::GetSpeed() const [member function] - cls.add_method('GetSpeed', - 'double', - [], - is_const=True) - ## propagation-delay-model.h: static ns3::TypeId ns3::ConstantSpeedPropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-delay-model.h: void ns3::ConstantSpeedPropagationDelayModel::SetSpeed(double speed) [member function] - cls.add_method('SetSpeed', - 'void', - [param('double', 'speed')]) - return - -def register_Ns3Cost231PropagationLossModel_methods(root_module, cls): - ## cost231-propagation-loss-model.h: static ns3::TypeId ns3::Cost231PropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## cost231-propagation-loss-model.h: ns3::Cost231PropagationLossModel::Cost231PropagationLossModel() [constructor] - cls.add_constructor([]) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetLoss(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetLoss', - 'double', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetBSAntennaHeight(double height) [member function] - cls.add_method('SetBSAntennaHeight', - 'void', - [param('double', 'height')]) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetSSAntennaHeight(double height) [member function] - cls.add_method('SetSSAntennaHeight', - 'void', - [param('double', 'height')]) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetEnvironment(ns3::Cost231PropagationLossModel::Environment env) [member function] - cls.add_method('SetEnvironment', - 'void', - [param('ns3::Cost231PropagationLossModel::Environment', 'env')]) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetLambda(double lambda) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'lambda')]) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetMinDistance(double minDistance) [member function] - cls.add_method('SetMinDistance', - 'void', - [param('double', 'minDistance')]) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetBSAntennaHeight() const [member function] - cls.add_method('GetBSAntennaHeight', - 'double', - [], - is_const=True) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetSSAntennaHeight() const [member function] - cls.add_method('GetSSAntennaHeight', - 'double', - [], - is_const=True) - ## cost231-propagation-loss-model.h: ns3::Cost231PropagationLossModel::Environment ns3::Cost231PropagationLossModel::GetEnvironment() const [member function] - cls.add_method('GetEnvironment', - 'ns3::Cost231PropagationLossModel::Environment', - [], - is_const=True) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetMinDistance() const [member function] - cls.add_method('GetMinDistance', - 'double', - [], - is_const=True) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetLambda() const [member function] - cls.add_method('GetLambda', - 'double', - [], - is_const=True) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetLambda(double frequency, double speed) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'frequency'), param('double', 'speed')]) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::GetShadowing() [member function] - cls.add_method('GetShadowing', - 'double', - []) - ## cost231-propagation-loss-model.h: void ns3::Cost231PropagationLossModel::SetShadowing(double shadowing) [member function] - cls.add_method('SetShadowing', - 'void', - [param('double', 'shadowing')]) - ## cost231-propagation-loss-model.h: double ns3::Cost231PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3FixedRssLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::FixedRssLossModel::FixedRssLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::FixedRssLossModel::SetRss(double rss) [member function] - cls.add_method('SetRss', - 'void', - [param('double', 'rss')]) - ## propagation-loss-model.h: double ns3::FixedRssLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3FriisPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::FriisPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::FriisPropagationLossModel::FriisPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetLambda(double frequency, double speed) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'frequency'), param('double', 'speed')]) - ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetLambda(double lambda) [member function] - cls.add_method('SetLambda', - 'void', - [param('double', 'lambda')]) - ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetSystemLoss(double systemLoss) [member function] - cls.add_method('SetSystemLoss', - 'void', - [param('double', 'systemLoss')]) - ## propagation-loss-model.h: void ns3::FriisPropagationLossModel::SetMinDistance(double minDistance) [member function] - cls.add_method('SetMinDistance', - 'void', - [param('double', 'minDistance')]) - ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::GetMinDistance() const [member function] - cls.add_method('GetMinDistance', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::GetLambda() const [member function] - cls.add_method('GetLambda', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::GetSystemLoss() const [member function] - cls.add_method('GetSystemLoss', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: double ns3::FriisPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3JakesPropagationLossModel_methods(root_module, cls): - ## jakes-propagation-loss-model.h: ns3::JakesPropagationLossModel::JakesPropagationLossModel() [constructor] - cls.add_constructor([]) - ## jakes-propagation-loss-model.h: uint8_t ns3::JakesPropagationLossModel::GetNOscillators() const [member function] - cls.add_method('GetNOscillators', - 'uint8_t', - [], - is_const=True) - ## jakes-propagation-loss-model.h: uint8_t ns3::JakesPropagationLossModel::GetNRays() const [member function] - cls.add_method('GetNRays', - 'uint8_t', - [], - is_const=True) - ## jakes-propagation-loss-model.h: static ns3::TypeId ns3::JakesPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## jakes-propagation-loss-model.h: void ns3::JakesPropagationLossModel::SetNOscillators(uint8_t nOscillators) [member function] - cls.add_method('SetNOscillators', - 'void', - [param('uint8_t', 'nOscillators')]) - ## jakes-propagation-loss-model.h: void ns3::JakesPropagationLossModel::SetNRays(uint8_t nRays) [member function] - cls.add_method('SetNRays', - 'void', - [param('uint8_t', 'nRays')]) - ## jakes-propagation-loss-model.h: double ns3::JakesPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::LogDistancePropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::LogDistancePropagationLossModel::LogDistancePropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::LogDistancePropagationLossModel::SetPathLossExponent(double n) [member function] - cls.add_method('SetPathLossExponent', - 'void', - [param('double', 'n')]) - ## propagation-loss-model.h: double ns3::LogDistancePropagationLossModel::GetPathLossExponent() const [member function] - cls.add_method('GetPathLossExponent', - 'double', - [], - is_const=True) - ## propagation-loss-model.h: void ns3::LogDistancePropagationLossModel::SetReference(double referenceDistance, double referenceLoss) [member function] - cls.add_method('SetReference', - 'void', - [param('double', 'referenceDistance'), param('double', 'referenceLoss')]) - ## propagation-loss-model.h: double ns3::LogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3MatrixPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::MatrixPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::MatrixPropagationLossModel::MatrixPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: void ns3::MatrixPropagationLossModel::SetLoss(ns3::Ptr a, ns3::Ptr b, double loss, bool symmetric=true) [member function] - cls.add_method('SetLoss', - 'void', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('double', 'loss'), param('bool', 'symmetric', default_value='true')]) - ## propagation-loss-model.h: void ns3::MatrixPropagationLossModel::SetDefaultLoss(double arg0) [member function] - cls.add_method('SetDefaultLoss', - 'void', - [param('double', 'arg0')]) - ## propagation-loss-model.h: double ns3::MatrixPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3NakagamiPropagationLossModel_methods(root_module, cls): - ## propagation-loss-model.h: static ns3::TypeId ns3::NakagamiPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-loss-model.h: ns3::NakagamiPropagationLossModel::NakagamiPropagationLossModel() [constructor] - cls.add_constructor([]) - ## propagation-loss-model.h: double ns3::NakagamiPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPower', - 'double', - [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_spectrum.py b/bindings/python/apidefs/gcc-LP64/ns3_module_spectrum.py deleted file mode 100644 index 0cfb6970d..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_spectrum.py +++ /dev/null @@ -1,1694 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::AdhocAlohaNoackIdealPhyHelper [class] - module.add_class('AdhocAlohaNoackIdealPhyHelper') - ## spectrum-model.h: ns3::BandInfo [struct] - module.add_class('BandInfo') - ## microwave-oven-spectrum-value-helper.h: ns3::MicrowaveOvenSpectrumValueHelper [class] - module.add_class('MicrowaveOvenSpectrumValueHelper') - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo [class] - module.add_class('RxSpectrumModelInfo') - ## spectrum-analyzer-helper.h: ns3::SpectrumAnalyzerHelper [class] - module.add_class('SpectrumAnalyzerHelper') - ## spectrum-helper.h: ns3::SpectrumChannelHelper [class] - module.add_class('SpectrumChannelHelper') - ## spectrum-helper.h: ns3::SpectrumPhyHelper [class] - module.add_class('SpectrumPhyHelper') - ## spectrum-type.h: ns3::SpectrumType [class] - module.add_class('SpectrumType') - ## spectrum-type.h: ns3::SpectrumTypeFactory [class] - module.add_class('SpectrumTypeFactory') - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo [class] - module.add_class('TxSpectrumModelInfo') - ## waveform-generator-helper.h: ns3::WaveformGeneratorHelper [class] - module.add_class('WaveformGeneratorHelper') - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValue5MhzFactory [class] - module.add_class('WifiSpectrumValue5MhzFactory', allow_subclassing=True) - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValueHelper [class] - module.add_class('WifiSpectrumValueHelper', allow_subclassing=True) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::SpectrumConverter', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::SpectrumModel', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::SpectrumValue', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## spectrum-converter.h: ns3::SpectrumConverter [class] - module.add_class('SpectrumConverter', parent=root_module['ns3::SimpleRefCount< ns3::SpectrumConverter, ns3::empty, ns3::DefaultDeleter >']) - ## spectrum-error-model.h: ns3::SpectrumErrorModel [class] - module.add_class('SpectrumErrorModel', parent=root_module['ns3::Object']) - ## spectrum-interference.h: ns3::SpectrumInterference [class] - module.add_class('SpectrumInterference', parent=root_module['ns3::Object']) - ## spectrum-model.h: ns3::SpectrumModel [class] - module.add_class('SpectrumModel', parent=root_module['ns3::SimpleRefCount< ns3::SpectrumModel, ns3::empty, ns3::DefaultDeleter >']) - ## spectrum-phy.h: ns3::SpectrumPhy [class] - module.add_class('SpectrumPhy', parent=root_module['ns3::Object']) - ## spectrum-propagation-loss-model.h: ns3::SpectrumPropagationLossModel [class] - module.add_class('SpectrumPropagationLossModel', parent=root_module['ns3::Object']) - ## spectrum-value.h: ns3::SpectrumValue [class] - module.add_class('SpectrumValue', parent=root_module['ns3::SimpleRefCount< ns3::SpectrumValue, ns3::empty, ns3::DefaultDeleter >']) - ## waveform-generator.h: ns3::WaveformGenerator [class] - module.add_class('WaveformGenerator', parent=root_module['ns3::SpectrumPhy']) - ## aloha-noack-mac-header.h: ns3::AlohaNoackMacHeader [class] - module.add_class('AlohaNoackMacHeader', parent=root_module['ns3::Header']) - ## friis-spectrum-propagation-loss.h: ns3::FriisSpectrumPropagationLossModel [class] - module.add_class('FriisSpectrumPropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) - ## half-duplex-ideal-phy.h: ns3::HalfDuplexIdealPhy [class] - module.add_class('HalfDuplexIdealPhy', parent=root_module['ns3::SpectrumPhy']) - ## half-duplex-ideal-phy.h: ns3::HalfDuplexIdealPhy::State [enumeration] - module.add_enum('State', ['IDLE', 'TX', 'RX'], outer_class=root_module['ns3::HalfDuplexIdealPhy']) - ## non-communicating-net-device.h: ns3::NonCommunicatingNetDevice [class] - module.add_class('NonCommunicatingNetDevice', parent=root_module['ns3::NetDevice']) - ## spectrum-error-model.h: ns3::ShannonSpectrumErrorModel [class] - module.add_class('ShannonSpectrumErrorModel', parent=root_module['ns3::SpectrumErrorModel']) - ## spectrum-analyzer.h: ns3::SpectrumAnalyzer [class] - module.add_class('SpectrumAnalyzer', parent=root_module['ns3::SpectrumPhy']) - ## spectrum-channel.h: ns3::SpectrumChannel [class] - module.add_class('SpectrumChannel', parent=root_module['ns3::Channel']) - ## aloha-noack-net-device.h: ns3::AlohaNoackNetDevice [class] - module.add_class('AlohaNoackNetDevice', parent=root_module['ns3::NetDevice']) - ## aloha-noack-net-device.h: ns3::AlohaNoackNetDevice::State [enumeration] - module.add_enum('State', ['IDLE', 'TX', 'RX'], outer_class=root_module['ns3::AlohaNoackNetDevice']) - ## multi-model-spectrum-channel.h: ns3::MultiModelSpectrumChannel [class] - module.add_class('MultiModelSpectrumChannel', parent=root_module['ns3::SpectrumChannel']) - ## single-model-spectrum-channel.h: ns3::SingleModelSpectrumChannel [class] - module.add_class('SingleModelSpectrumChannel', parent=root_module['ns3::SpectrumChannel']) - module.add_container('ns3::SpectrumConverterMap_t', ('unsigned int', 'ns3::SpectrumConverter'), container_type='map') - module.add_container('ns3::Bands', 'ns3::BandInfo', container_type='vector') - typehandlers.add_type_alias('std::vector< double, std::allocator< double > >', 'ns3::Values') - typehandlers.add_type_alias('std::vector< double, std::allocator< double > >*', 'ns3::Values*') - typehandlers.add_type_alias('std::vector< double, std::allocator< double > >&', 'ns3::Values&') - typehandlers.add_type_alias('std::map< unsigned int, ns3::SpectrumConverter, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::SpectrumConverter > > >', 'ns3::SpectrumConverterMap_t') - typehandlers.add_type_alias('std::map< unsigned int, ns3::SpectrumConverter, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::SpectrumConverter > > >*', 'ns3::SpectrumConverterMap_t*') - typehandlers.add_type_alias('std::map< unsigned int, ns3::SpectrumConverter, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::SpectrumConverter > > >&', 'ns3::SpectrumConverterMap_t&') - typehandlers.add_type_alias('std::map< unsigned int, ns3::TxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::TxSpectrumModelInfo > > >', 'ns3::TxSpectrumModelInfoMap_t') - typehandlers.add_type_alias('std::map< unsigned int, ns3::TxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::TxSpectrumModelInfo > > >*', 'ns3::TxSpectrumModelInfoMap_t*') - typehandlers.add_type_alias('std::map< unsigned int, ns3::TxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::TxSpectrumModelInfo > > >&', 'ns3::TxSpectrumModelInfoMap_t&') - typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >', 'ns3::Bands') - typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >*', 'ns3::Bands*') - typehandlers.add_type_alias('std::vector< ns3::BandInfo, std::allocator< ns3::BandInfo > >&', 'ns3::Bands&') - typehandlers.add_type_alias('std::map< unsigned int, ns3::RxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::RxSpectrumModelInfo > > >', 'ns3::RxSpectrumModelInfoMap_t') - typehandlers.add_type_alias('std::map< unsigned int, ns3::RxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::RxSpectrumModelInfo > > >*', 'ns3::RxSpectrumModelInfoMap_t*') - typehandlers.add_type_alias('std::map< unsigned int, ns3::RxSpectrumModelInfo, std::less< unsigned int >, std::allocator< std::pair< unsigned int const, ns3::RxSpectrumModelInfo > > >&', 'ns3::RxSpectrumModelInfoMap_t&') - typehandlers.add_type_alias('uint32_t', 'ns3::SpectrumModelUid_t') - typehandlers.add_type_alias('uint32_t*', 'ns3::SpectrumModelUid_t*') - typehandlers.add_type_alias('uint32_t&', 'ns3::SpectrumModelUid_t&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, root_module['ns3::AdhocAlohaNoackIdealPhyHelper']) - register_Ns3BandInfo_methods(root_module, root_module['ns3::BandInfo']) - register_Ns3MicrowaveOvenSpectrumValueHelper_methods(root_module, root_module['ns3::MicrowaveOvenSpectrumValueHelper']) - register_Ns3RxSpectrumModelInfo_methods(root_module, root_module['ns3::RxSpectrumModelInfo']) - register_Ns3SpectrumAnalyzerHelper_methods(root_module, root_module['ns3::SpectrumAnalyzerHelper']) - register_Ns3SpectrumChannelHelper_methods(root_module, root_module['ns3::SpectrumChannelHelper']) - register_Ns3SpectrumPhyHelper_methods(root_module, root_module['ns3::SpectrumPhyHelper']) - register_Ns3SpectrumType_methods(root_module, root_module['ns3::SpectrumType']) - register_Ns3SpectrumTypeFactory_methods(root_module, root_module['ns3::SpectrumTypeFactory']) - register_Ns3TxSpectrumModelInfo_methods(root_module, root_module['ns3::TxSpectrumModelInfo']) - register_Ns3WaveformGeneratorHelper_methods(root_module, root_module['ns3::WaveformGeneratorHelper']) - register_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, root_module['ns3::WifiSpectrumValue5MhzFactory']) - register_Ns3WifiSpectrumValueHelper_methods(root_module, root_module['ns3::WifiSpectrumValueHelper']) - register_Ns3SpectrumConverter_methods(root_module, root_module['ns3::SpectrumConverter']) - register_Ns3SpectrumErrorModel_methods(root_module, root_module['ns3::SpectrumErrorModel']) - register_Ns3SpectrumInterference_methods(root_module, root_module['ns3::SpectrumInterference']) - register_Ns3SpectrumModel_methods(root_module, root_module['ns3::SpectrumModel']) - register_Ns3SpectrumPhy_methods(root_module, root_module['ns3::SpectrumPhy']) - register_Ns3SpectrumPropagationLossModel_methods(root_module, root_module['ns3::SpectrumPropagationLossModel']) - register_Ns3SpectrumValue_methods(root_module, root_module['ns3::SpectrumValue']) - register_Ns3WaveformGenerator_methods(root_module, root_module['ns3::WaveformGenerator']) - register_Ns3AlohaNoackMacHeader_methods(root_module, root_module['ns3::AlohaNoackMacHeader']) - register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, root_module['ns3::FriisSpectrumPropagationLossModel']) - register_Ns3HalfDuplexIdealPhy_methods(root_module, root_module['ns3::HalfDuplexIdealPhy']) - register_Ns3NonCommunicatingNetDevice_methods(root_module, root_module['ns3::NonCommunicatingNetDevice']) - register_Ns3ShannonSpectrumErrorModel_methods(root_module, root_module['ns3::ShannonSpectrumErrorModel']) - register_Ns3SpectrumAnalyzer_methods(root_module, root_module['ns3::SpectrumAnalyzer']) - register_Ns3SpectrumChannel_methods(root_module, root_module['ns3::SpectrumChannel']) - register_Ns3AlohaNoackNetDevice_methods(root_module, root_module['ns3::AlohaNoackNetDevice']) - register_Ns3MultiModelSpectrumChannel_methods(root_module, root_module['ns3::MultiModelSpectrumChannel']) - register_Ns3SingleModelSpectrumChannel_methods(root_module, root_module['ns3::SingleModelSpectrumChannel']) - return - -def register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, cls): - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::AdhocAlohaNoackIdealPhyHelper::AdhocAlohaNoackIdealPhyHelper(ns3::AdhocAlohaNoackIdealPhyHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AdhocAlohaNoackIdealPhyHelper const &', 'arg0')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::AdhocAlohaNoackIdealPhyHelper::AdhocAlohaNoackIdealPhyHelper() [constructor] - cls.add_constructor([]) - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::NetDeviceContainer ns3::AdhocAlohaNoackIdealPhyHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::NetDeviceContainer ns3::AdhocAlohaNoackIdealPhyHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## adhoc-aloha-noack-ideal-phy-helper.h: ns3::NetDeviceContainer ns3::AdhocAlohaNoackIdealPhyHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'channel')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetNoisePowerSpectralDensity(ns3::Ptr noisePsd) [member function] - cls.add_method('SetNoisePowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'noisePsd')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetPhyAttribute(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('SetPhyAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - ## adhoc-aloha-noack-ideal-phy-helper.h: void ns3::AdhocAlohaNoackIdealPhyHelper::SetTxPowerSpectralDensity(ns3::Ptr txPsd) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) - return - -def register_Ns3BandInfo_methods(root_module, cls): - ## spectrum-model.h: ns3::BandInfo::BandInfo() [constructor] - cls.add_constructor([]) - ## spectrum-model.h: ns3::BandInfo::BandInfo(ns3::BandInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BandInfo const &', 'arg0')]) - ## spectrum-model.h: ns3::BandInfo::fc [variable] - cls.add_instance_attribute('fc', 'double', is_const=False) - ## spectrum-model.h: ns3::BandInfo::fh [variable] - cls.add_instance_attribute('fh', 'double', is_const=False) - ## spectrum-model.h: ns3::BandInfo::fl [variable] - cls.add_instance_attribute('fl', 'double', is_const=False) - return - -def register_Ns3MicrowaveOvenSpectrumValueHelper_methods(root_module, cls): - ## microwave-oven-spectrum-value-helper.h: ns3::MicrowaveOvenSpectrumValueHelper::MicrowaveOvenSpectrumValueHelper() [constructor] - cls.add_constructor([]) - ## microwave-oven-spectrum-value-helper.h: ns3::MicrowaveOvenSpectrumValueHelper::MicrowaveOvenSpectrumValueHelper(ns3::MicrowaveOvenSpectrumValueHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MicrowaveOvenSpectrumValueHelper const &', 'arg0')]) - ## microwave-oven-spectrum-value-helper.h: static ns3::Ptr ns3::MicrowaveOvenSpectrumValueHelper::CreatePowerSpectralDensityMwo1() [member function] - cls.add_method('CreatePowerSpectralDensityMwo1', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_static=True) - ## microwave-oven-spectrum-value-helper.h: static ns3::Ptr ns3::MicrowaveOvenSpectrumValueHelper::CreatePowerSpectralDensityMwo2() [member function] - cls.add_method('CreatePowerSpectralDensityMwo2', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_static=True) - return - -def register_Ns3RxSpectrumModelInfo_methods(root_module, cls): - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo::RxSpectrumModelInfo(ns3::RxSpectrumModelInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RxSpectrumModelInfo const &', 'arg0')]) - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo::RxSpectrumModelInfo(ns3::Ptr rxSpectrumModel) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SpectrumModel const >', 'rxSpectrumModel')]) - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo::m_rxPhyList [variable] - cls.add_instance_attribute('m_rxPhyList', 'std::list< ns3::Ptr< ns3::SpectrumPhy > >', is_const=False) - ## multi-model-spectrum-channel.h: ns3::RxSpectrumModelInfo::m_rxSpectrumModel [variable] - cls.add_instance_attribute('m_rxSpectrumModel', 'ns3::Ptr< ns3::SpectrumModel const >', is_const=False) - return - -def register_Ns3SpectrumAnalyzerHelper_methods(root_module, cls): - ## spectrum-analyzer-helper.h: ns3::SpectrumAnalyzerHelper::SpectrumAnalyzerHelper(ns3::SpectrumAnalyzerHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumAnalyzerHelper const &', 'arg0')]) - ## spectrum-analyzer-helper.h: ns3::SpectrumAnalyzerHelper::SpectrumAnalyzerHelper() [constructor] - cls.add_constructor([]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::EnableAsciiAll(std::string prefix) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::string', 'prefix')]) - ## spectrum-analyzer-helper.h: ns3::NetDeviceContainer ns3::SpectrumAnalyzerHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## spectrum-analyzer-helper.h: ns3::NetDeviceContainer ns3::SpectrumAnalyzerHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## spectrum-analyzer-helper.h: ns3::NetDeviceContainer ns3::SpectrumAnalyzerHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'channel')]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetPhyAttribute(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('SetPhyAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - ## spectrum-analyzer-helper.h: void ns3::SpectrumAnalyzerHelper::SetRxSpectrumModel(ns3::Ptr m) [member function] - cls.add_method('SetRxSpectrumModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumModel >', 'm')]) - return - -def register_Ns3SpectrumChannelHelper_methods(root_module, cls): - ## spectrum-helper.h: ns3::SpectrumChannelHelper::SpectrumChannelHelper() [constructor] - cls.add_constructor([]) - ## spectrum-helper.h: ns3::SpectrumChannelHelper::SpectrumChannelHelper(ns3::SpectrumChannelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumChannelHelper const &', 'arg0')]) - ## spectrum-helper.h: void ns3::SpectrumChannelHelper::AddSpectrumPropagationLoss(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('AddSpectrumPropagationLoss', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## spectrum-helper.h: ns3::Ptr ns3::SpectrumChannelHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::SpectrumChannel >', - [], - is_const=True) - ## spectrum-helper.h: static ns3::SpectrumChannelHelper ns3::SpectrumChannelHelper::Default() [member function] - cls.add_method('Default', - 'ns3::SpectrumChannelHelper', - [], - is_static=True) - ## spectrum-helper.h: void ns3::SpectrumChannelHelper::SetChannel(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## spectrum-helper.h: void ns3::SpectrumChannelHelper::SetPropagationDelay(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPropagationDelay', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - return - -def register_Ns3SpectrumPhyHelper_methods(root_module, cls): - ## spectrum-helper.h: ns3::SpectrumPhyHelper::SpectrumPhyHelper() [constructor] - cls.add_constructor([]) - ## spectrum-helper.h: ns3::SpectrumPhyHelper::SpectrumPhyHelper(ns3::SpectrumPhyHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumPhyHelper const &', 'arg0')]) - ## spectrum-helper.h: ns3::Ptr ns3::SpectrumPhyHelper::Create(ns3::Ptr node, ns3::Ptr device) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::SpectrumPhy >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_const=True) - ## spectrum-helper.h: void ns3::SpectrumPhyHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'channel')]) - ## spectrum-helper.h: void ns3::SpectrumPhyHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## spectrum-helper.h: void ns3::SpectrumPhyHelper::SetPhy(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPhy', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## spectrum-helper.h: void ns3::SpectrumPhyHelper::SetPhyAttribute(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('SetPhyAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - return - -def register_Ns3SpectrumType_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## spectrum-type.h: ns3::SpectrumType::SpectrumType(ns3::SpectrumType const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumType const &', 'arg0')]) - ## spectrum-type.h: std::string ns3::SpectrumType::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## spectrum-type.h: uint32_t ns3::SpectrumType::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3SpectrumTypeFactory_methods(root_module, cls): - ## spectrum-type.h: ns3::SpectrumTypeFactory::SpectrumTypeFactory() [constructor] - cls.add_constructor([]) - ## spectrum-type.h: ns3::SpectrumTypeFactory::SpectrumTypeFactory(ns3::SpectrumTypeFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumTypeFactory const &', 'arg0')]) - ## spectrum-type.h: static ns3::SpectrumType ns3::SpectrumTypeFactory::Create(std::string name) [member function] - cls.add_method('Create', - 'ns3::SpectrumType', - [param('std::string', 'name')], - is_static=True) - ## spectrum-type.h: static std::string ns3::SpectrumTypeFactory::GetNameByUid(uint32_t uid) [member function] - cls.add_method('GetNameByUid', - 'std::string', - [param('uint32_t', 'uid')], - is_static=True) - return - -def register_Ns3TxSpectrumModelInfo_methods(root_module, cls): - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo::TxSpectrumModelInfo(ns3::TxSpectrumModelInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TxSpectrumModelInfo const &', 'arg0')]) - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo::TxSpectrumModelInfo(ns3::Ptr txSpectrumModel) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SpectrumModel const >', 'txSpectrumModel')]) - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo::m_spectrumConverterMap [variable] - cls.add_instance_attribute('m_spectrumConverterMap', 'ns3::SpectrumConverterMap_t', is_const=False) - ## multi-model-spectrum-channel.h: ns3::TxSpectrumModelInfo::m_txSpectrumModel [variable] - cls.add_instance_attribute('m_txSpectrumModel', 'ns3::Ptr< ns3::SpectrumModel const >', is_const=False) - return - -def register_Ns3WaveformGeneratorHelper_methods(root_module, cls): - ## waveform-generator-helper.h: ns3::WaveformGeneratorHelper::WaveformGeneratorHelper(ns3::WaveformGeneratorHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaveformGeneratorHelper const &', 'arg0')]) - ## waveform-generator-helper.h: ns3::WaveformGeneratorHelper::WaveformGeneratorHelper() [constructor] - cls.add_constructor([]) - ## waveform-generator-helper.h: ns3::NetDeviceContainer ns3::WaveformGeneratorHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## waveform-generator-helper.h: ns3::NetDeviceContainer ns3::WaveformGeneratorHelper::Install(ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## waveform-generator-helper.h: ns3::NetDeviceContainer ns3::WaveformGeneratorHelper::Install(std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('std::string', 'nodeName')], - is_const=True) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'channel')]) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetDeviceAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetDeviceAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetPhyAttribute(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('SetPhyAttribute', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - ## waveform-generator-helper.h: void ns3::WaveformGeneratorHelper::SetTxPowerSpectralDensity(ns3::Ptr txPsd) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) - return - -def register_Ns3WifiSpectrumValue5MhzFactory_methods(root_module, cls): - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValue5MhzFactory::WifiSpectrumValue5MhzFactory() [constructor] - cls.add_constructor([]) - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValue5MhzFactory::WifiSpectrumValue5MhzFactory(ns3::WifiSpectrumValue5MhzFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiSpectrumValue5MhzFactory const &', 'arg0')]) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValue5MhzFactory::CreateConstant(double psd) [member function] - cls.add_method('CreateConstant', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'psd')], - is_virtual=True) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValue5MhzFactory::CreateRfFilter(uint32_t channel) [member function] - cls.add_method('CreateRfFilter', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('uint32_t', 'channel')], - is_virtual=True) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValue5MhzFactory::CreateTxPowerSpectralDensity(double txPower, uint32_t channel) [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'txPower'), param('uint32_t', 'channel')], - is_virtual=True) - return - -def register_Ns3WifiSpectrumValueHelper_methods(root_module, cls): - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValueHelper::WifiSpectrumValueHelper() [constructor] - cls.add_constructor([]) - ## wifi-spectrum-value-helper.h: ns3::WifiSpectrumValueHelper::WifiSpectrumValueHelper(ns3::WifiSpectrumValueHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiSpectrumValueHelper const &', 'arg0')]) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValueHelper::CreateConstant(double psd) [member function] - cls.add_method('CreateConstant', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'psd')], - is_pure_virtual=True, is_virtual=True) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValueHelper::CreateRfFilter(uint32_t channel) [member function] - cls.add_method('CreateRfFilter', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('uint32_t', 'channel')], - is_pure_virtual=True, is_virtual=True) - ## wifi-spectrum-value-helper.h: ns3::Ptr ns3::WifiSpectrumValueHelper::CreateTxPowerSpectralDensity(double txPower, uint32_t channel) [member function] - cls.add_method('CreateTxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('double', 'txPower'), param('uint32_t', 'channel')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SpectrumConverter_methods(root_module, cls): - ## spectrum-converter.h: ns3::SpectrumConverter::SpectrumConverter(ns3::SpectrumConverter const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumConverter const &', 'arg0')]) - ## spectrum-converter.h: ns3::SpectrumConverter::SpectrumConverter(ns3::Ptr fromSpectrumModel, ns3::Ptr toSpectrumModel) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SpectrumModel const >', 'fromSpectrumModel'), param('ns3::Ptr< ns3::SpectrumModel const >', 'toSpectrumModel')]) - ## spectrum-converter.h: ns3::SpectrumConverter::SpectrumConverter() [constructor] - cls.add_constructor([]) - ## spectrum-converter.h: ns3::Ptr ns3::SpectrumConverter::Convert(ns3::Ptr vvf) const [member function] - cls.add_method('Convert', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'vvf')], - is_const=True) - return - -def register_Ns3SpectrumErrorModel_methods(root_module, cls): - ## spectrum-error-model.h: ns3::SpectrumErrorModel::SpectrumErrorModel() [constructor] - cls.add_constructor([]) - ## spectrum-error-model.h: ns3::SpectrumErrorModel::SpectrumErrorModel(ns3::SpectrumErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumErrorModel const &', 'arg0')]) - ## spectrum-error-model.h: void ns3::SpectrumErrorModel::EvaluateChunk(ns3::SpectrumValue const & sinr, ns3::Time duration) [member function] - cls.add_method('EvaluateChunk', - 'void', - [param('ns3::SpectrumValue const &', 'sinr'), param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-error-model.h: bool ns3::SpectrumErrorModel::IsRxCorrect() [member function] - cls.add_method('IsRxCorrect', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## spectrum-error-model.h: void ns3::SpectrumErrorModel::StartRx(ns3::Ptr p) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SpectrumInterference_methods(root_module, cls): - ## spectrum-interference.h: ns3::SpectrumInterference::SpectrumInterference(ns3::SpectrumInterference const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumInterference const &', 'arg0')]) - ## spectrum-interference.h: ns3::SpectrumInterference::SpectrumInterference() [constructor] - cls.add_constructor([]) - ## spectrum-interference.h: void ns3::SpectrumInterference::AddSignal(ns3::Ptr spd, ns3::Time const duration) [member function] - cls.add_method('AddSignal', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'spd'), param('ns3::Time const', 'duration')]) - ## spectrum-interference.h: bool ns3::SpectrumInterference::EndRx() [member function] - cls.add_method('EndRx', - 'bool', - []) - ## spectrum-interference.h: void ns3::SpectrumInterference::SetErrorModel(ns3::Ptr e) [member function] - cls.add_method('SetErrorModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumErrorModel >', 'e')]) - ## spectrum-interference.h: void ns3::SpectrumInterference::SetNoisePowerSpectralDensity(ns3::Ptr noisePsd) [member function] - cls.add_method('SetNoisePowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'noisePsd')]) - ## spectrum-interference.h: void ns3::SpectrumInterference::StartRx(ns3::Ptr p, ns3::Ptr rxPsd) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd')]) - ## spectrum-interference.h: void ns3::SpectrumInterference::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3SpectrumModel_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## spectrum-model.h: ns3::SpectrumModel::SpectrumModel(ns3::SpectrumModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumModel const &', 'arg0')]) - ## spectrum-model.h: ns3::SpectrumModel::SpectrumModel(std::vector > centerFreqs) [constructor] - cls.add_constructor([param('std::vector< double >', 'centerFreqs')]) - ## spectrum-model.h: ns3::SpectrumModel::SpectrumModel(ns3::Bands bands) [constructor] - cls.add_constructor([param('ns3::Bands', 'bands')]) - ## spectrum-model.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumModel::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::BandInfo const *, std::vector< ns3::BandInfo > >', - [], - is_const=True) - ## spectrum-model.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumModel::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::BandInfo const *, std::vector< ns3::BandInfo > >', - [], - is_const=True) - ## spectrum-model.h: size_t ns3::SpectrumModel::GetNumBands() const [member function] - cls.add_method('GetNumBands', - 'size_t', - [], - is_const=True) - ## spectrum-model.h: ns3::SpectrumModelUid_t ns3::SpectrumModel::GetUid() const [member function] - cls.add_method('GetUid', - 'ns3::SpectrumModelUid_t', - [], - is_const=True) - return - -def register_Ns3SpectrumPhy_methods(root_module, cls): - ## spectrum-phy.h: ns3::SpectrumPhy::SpectrumPhy() [constructor] - cls.add_constructor([]) - ## spectrum-phy.h: ns3::SpectrumPhy::SpectrumPhy(ns3::SpectrumPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumPhy const &', 'arg0')]) - ## spectrum-phy.h: ns3::Ptr ns3::SpectrumPhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: ns3::Ptr ns3::SpectrumPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: ns3::Ptr ns3::SpectrumPhy::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## spectrum-phy.h: static ns3::TypeId ns3::SpectrumPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## spectrum-phy.h: void ns3::SpectrumPhy::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: void ns3::SpectrumPhy::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: void ns3::SpectrumPhy::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-phy.h: void ns3::SpectrumPhy::StartRx(ns3::Ptr p, ns3::Ptr rxPsd, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3SpectrumPropagationLossModel_methods(root_module, cls): - ## spectrum-propagation-loss-model.h: ns3::SpectrumPropagationLossModel::SpectrumPropagationLossModel(ns3::SpectrumPropagationLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumPropagationLossModel const &', 'arg0')]) - ## spectrum-propagation-loss-model.h: ns3::SpectrumPropagationLossModel::SpectrumPropagationLossModel() [constructor] - cls.add_constructor([]) - ## spectrum-propagation-loss-model.h: ns3::Ptr ns3::SpectrumPropagationLossModel::CalcRxPowerSpectralDensity(ns3::Ptr txPsd, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('CalcRxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'txPsd'), param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_const=True) - ## spectrum-propagation-loss-model.h: static ns3::TypeId ns3::SpectrumPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## spectrum-propagation-loss-model.h: void ns3::SpectrumPropagationLossModel::SetNext(ns3::Ptr next) [member function] - cls.add_method('SetNext', - 'void', - [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'next')]) - ## spectrum-propagation-loss-model.h: void ns3::SpectrumPropagationLossModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## spectrum-propagation-loss-model.h: ns3::Ptr ns3::SpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr txPsd, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'txPsd'), param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3SpectrumValue_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_numeric_operator('*', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('double', 'right')) - cls.add_binary_numeric_operator('*', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('ns3::SpectrumValue const &', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('double', 'right')) - cls.add_binary_numeric_operator('+', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('ns3::SpectrumValue const &', 'right')) - cls.add_unary_numeric_operator('-') - cls.add_binary_numeric_operator('-', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('double', 'right')) - cls.add_binary_numeric_operator('-', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('ns3::SpectrumValue const &', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('double', 'right')) - cls.add_binary_numeric_operator('/', root_module['ns3::SpectrumValue'], root_module['ns3::SpectrumValue'], param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('*=', param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('*=', param('double', 'right')) - cls.add_inplace_numeric_operator('+=', param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('+=', param('double', 'right')) - cls.add_inplace_numeric_operator('-=', param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('-=', param('double', 'right')) - cls.add_inplace_numeric_operator('/=', param('ns3::SpectrumValue const &', 'right')) - cls.add_inplace_numeric_operator('/=', param('double', 'right')) - ## spectrum-value.h: ns3::SpectrumValue::SpectrumValue(ns3::SpectrumValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumValue const &', 'arg0')]) - ## spectrum-value.h: ns3::SpectrumValue::SpectrumValue(ns3::Ptr sm) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SpectrumModel const >', 'sm')]) - ## spectrum-value.h: ns3::SpectrumValue::SpectrumValue() [constructor] - cls.add_constructor([]) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ConstBandsBegin() const [member function] - cls.add_method('ConstBandsBegin', - '__gnu_cxx::__normal_iterator< ns3::BandInfo const *, std::vector< ns3::BandInfo > >', - [], - is_const=True) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ConstBandsEnd() const [member function] - cls.add_method('ConstBandsEnd', - '__gnu_cxx::__normal_iterator< ns3::BandInfo const *, std::vector< ns3::BandInfo > >', - [], - is_const=True) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ConstValuesBegin() const [member function] - cls.add_method('ConstValuesBegin', - '__gnu_cxx::__normal_iterator< double const *, std::vector< double > >', - [], - is_const=True) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ConstValuesEnd() const [member function] - cls.add_method('ConstValuesEnd', - '__gnu_cxx::__normal_iterator< double const *, std::vector< double > >', - [], - is_const=True) - ## spectrum-value.h: ns3::Ptr ns3::SpectrumValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::SpectrumValue >', - [], - is_const=True) - ## spectrum-value.h: ns3::Ptr ns3::SpectrumValue::GetSpectrumModel() const [member function] - cls.add_method('GetSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True) - ## spectrum-value.h: ns3::SpectrumModelUid_t ns3::SpectrumValue::GetSpectrumModelUid() const [member function] - cls.add_method('GetSpectrumModelUid', - 'ns3::SpectrumModelUid_t', - [], - is_const=True) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ValuesBegin() [member function] - cls.add_method('ValuesBegin', - '__gnu_cxx::__normal_iterator< double *, std::vector< double > >', - []) - ## spectrum-value.h: __gnu_cxx::__normal_iterator > > ns3::SpectrumValue::ValuesEnd() [member function] - cls.add_method('ValuesEnd', - '__gnu_cxx::__normal_iterator< double *, std::vector< double > >', - []) - return - -def register_Ns3WaveformGenerator_methods(root_module, cls): - ## waveform-generator.h: ns3::WaveformGenerator::WaveformGenerator(ns3::WaveformGenerator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WaveformGenerator const &', 'arg0')]) - ## waveform-generator.h: ns3::WaveformGenerator::WaveformGenerator() [constructor] - cls.add_constructor([]) - ## waveform-generator.h: ns3::Ptr ns3::WaveformGenerator::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## waveform-generator.h: double ns3::WaveformGenerator::GetDutyCycle() const [member function] - cls.add_method('GetDutyCycle', - 'double', - [], - is_const=True) - ## waveform-generator.h: ns3::Ptr ns3::WaveformGenerator::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## waveform-generator.h: ns3::Time ns3::WaveformGenerator::GetPeriod() const [member function] - cls.add_method('GetPeriod', - 'ns3::Time', - [], - is_const=True) - ## waveform-generator.h: ns3::Ptr ns3::WaveformGenerator::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True, is_virtual=True) - ## waveform-generator.h: ns3::SpectrumType ns3::WaveformGenerator::GetSpectrumType() [member function] - cls.add_method('GetSpectrumType', - 'ns3::SpectrumType', - []) - ## waveform-generator.h: static ns3::TypeId ns3::WaveformGenerator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## waveform-generator.h: void ns3::WaveformGenerator::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::SetDutyCycle(double value) [member function] - cls.add_method('SetDutyCycle', - 'void', - [param('double', 'value')]) - ## waveform-generator.h: void ns3::WaveformGenerator::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::SetPeriod(ns3::Time period) [member function] - cls.add_method('SetPeriod', - 'void', - [param('ns3::Time', 'period')]) - ## waveform-generator.h: void ns3::WaveformGenerator::SetTxPowerSpectralDensity(ns3::Ptr txs) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txs')]) - ## waveform-generator.h: void ns3::WaveformGenerator::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::StartRx(ns3::Ptr p, ns3::Ptr rxPsd, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## waveform-generator.h: void ns3::WaveformGenerator::GenerateWaveform() [member function] - cls.add_method('GenerateWaveform', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3AlohaNoackMacHeader_methods(root_module, cls): - ## aloha-noack-mac-header.h: ns3::AlohaNoackMacHeader::AlohaNoackMacHeader() [constructor] - cls.add_constructor([]) - ## aloha-noack-mac-header.h: ns3::AlohaNoackMacHeader::AlohaNoackMacHeader(ns3::AlohaNoackMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AlohaNoackMacHeader const &', 'arg0')]) - ## aloha-noack-mac-header.h: uint32_t ns3::AlohaNoackMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## aloha-noack-mac-header.h: ns3::Mac48Address ns3::AlohaNoackMacHeader::GetDestination() const [member function] - cls.add_method('GetDestination', - 'ns3::Mac48Address', - [], - is_const=True) - ## aloha-noack-mac-header.h: ns3::TypeId ns3::AlohaNoackMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## aloha-noack-mac-header.h: uint32_t ns3::AlohaNoackMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aloha-noack-mac-header.h: ns3::Mac48Address ns3::AlohaNoackMacHeader::GetSource() const [member function] - cls.add_method('GetSource', - 'ns3::Mac48Address', - [], - is_const=True) - ## aloha-noack-mac-header.h: static ns3::TypeId ns3::AlohaNoackMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aloha-noack-mac-header.h: void ns3::AlohaNoackMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## aloha-noack-mac-header.h: void ns3::AlohaNoackMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## aloha-noack-mac-header.h: void ns3::AlohaNoackMacHeader::SetDestination(ns3::Mac48Address destination) [member function] - cls.add_method('SetDestination', - 'void', - [param('ns3::Mac48Address', 'destination')]) - ## aloha-noack-mac-header.h: void ns3::AlohaNoackMacHeader::SetSource(ns3::Mac48Address source) [member function] - cls.add_method('SetSource', - 'void', - [param('ns3::Mac48Address', 'source')]) - return - -def register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, cls): - ## friis-spectrum-propagation-loss.h: ns3::FriisSpectrumPropagationLossModel::FriisSpectrumPropagationLossModel(ns3::FriisSpectrumPropagationLossModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FriisSpectrumPropagationLossModel const &', 'arg0')]) - ## friis-spectrum-propagation-loss.h: ns3::FriisSpectrumPropagationLossModel::FriisSpectrumPropagationLossModel() [constructor] - cls.add_constructor([]) - ## friis-spectrum-propagation-loss.h: double ns3::FriisSpectrumPropagationLossModel::CalculateLoss(double f, double d) const [member function] - cls.add_method('CalculateLoss', - 'double', - [param('double', 'f'), param('double', 'd')], - is_const=True) - ## friis-spectrum-propagation-loss.h: ns3::Ptr ns3::FriisSpectrumPropagationLossModel::DoCalcRxPowerSpectralDensity(ns3::Ptr txPsd, ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('DoCalcRxPowerSpectralDensity', - 'ns3::Ptr< ns3::SpectrumValue >', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'txPsd'), param('ns3::Ptr< ns3::MobilityModel const >', 'a'), param('ns3::Ptr< ns3::MobilityModel const >', 'b')], - is_const=True, is_virtual=True) - ## friis-spectrum-propagation-loss.h: static ns3::TypeId ns3::FriisSpectrumPropagationLossModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3HalfDuplexIdealPhy_methods(root_module, cls): - ## half-duplex-ideal-phy.h: ns3::HalfDuplexIdealPhy::HalfDuplexIdealPhy(ns3::HalfDuplexIdealPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::HalfDuplexIdealPhy const &', 'arg0')]) - ## half-duplex-ideal-phy.h: ns3::HalfDuplexIdealPhy::HalfDuplexIdealPhy() [constructor] - cls.add_constructor([]) - ## half-duplex-ideal-phy.h: ns3::Ptr ns3::HalfDuplexIdealPhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## half-duplex-ideal-phy.h: ns3::Ptr ns3::HalfDuplexIdealPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## half-duplex-ideal-phy.h: ns3::DataRate ns3::HalfDuplexIdealPhy::GetRate() const [member function] - cls.add_method('GetRate', - 'ns3::DataRate', - [], - is_const=True) - ## half-duplex-ideal-phy.h: ns3::Ptr ns3::HalfDuplexIdealPhy::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True, is_virtual=True) - ## half-duplex-ideal-phy.h: ns3::SpectrumType ns3::HalfDuplexIdealPhy::GetSpectrumType() [member function] - cls.add_method('GetSpectrumType', - 'ns3::SpectrumType', - []) - ## half-duplex-ideal-phy.h: static ns3::TypeId ns3::HalfDuplexIdealPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_virtual=True) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_virtual=True) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetGenericPhyRxEndErrorCallback(ns3::GenericPhyRxEndErrorCallback c) [member function] - cls.add_method('SetGenericPhyRxEndErrorCallback', - 'void', - [param('ns3::GenericPhyRxEndErrorCallback', 'c')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetGenericPhyRxEndOkCallback(ns3::GenericPhyRxEndOkCallback c) [member function] - cls.add_method('SetGenericPhyRxEndOkCallback', - 'void', - [param('ns3::GenericPhyRxEndOkCallback', 'c')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetGenericPhyRxStartCallback(ns3::GenericPhyRxStartCallback c) [member function] - cls.add_method('SetGenericPhyRxStartCallback', - 'void', - [param('ns3::GenericPhyRxStartCallback', 'c')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetGenericPhyTxEndCallback(ns3::GenericPhyTxEndCallback c) [member function] - cls.add_method('SetGenericPhyTxEndCallback', - 'void', - [param('ns3::GenericPhyTxEndCallback', 'c')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_virtual=True) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetNoisePowerSpectralDensity(ns3::Ptr noisePsd) [member function] - cls.add_method('SetNoisePowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue const >', 'noisePsd')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetRate(ns3::DataRate rate) [member function] - cls.add_method('SetRate', - 'void', - [param('ns3::DataRate', 'rate')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::SetTxPowerSpectralDensity(ns3::Ptr txPsd) [member function] - cls.add_method('SetTxPowerSpectralDensity', - 'void', - [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::StartRx(ns3::Ptr p, ns3::Ptr rxPsd, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_virtual=True) - ## half-duplex-ideal-phy.h: bool ns3::HalfDuplexIdealPhy::StartTx(ns3::Ptr p) [member function] - cls.add_method('StartTx', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## half-duplex-ideal-phy.h: void ns3::HalfDuplexIdealPhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3NonCommunicatingNetDevice_methods(root_module, cls): - ## non-communicating-net-device.h: ns3::NonCommunicatingNetDevice::NonCommunicatingNetDevice(ns3::NonCommunicatingNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NonCommunicatingNetDevice const &', 'arg0')]) - ## non-communicating-net-device.h: ns3::NonCommunicatingNetDevice::NonCommunicatingNetDevice() [constructor] - cls.add_constructor([]) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::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')], - is_virtual=True) - ## non-communicating-net-device.h: ns3::Address ns3::NonCommunicatingNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Address ns3::NonCommunicatingNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Ptr ns3::NonCommunicatingNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: uint32_t ns3::NonCommunicatingNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: uint16_t ns3::NonCommunicatingNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Address ns3::NonCommunicatingNetDevice::GetMulticast(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'addr')], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Address ns3::NonCommunicatingNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Ptr ns3::NonCommunicatingNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: ns3::Ptr ns3::NonCommunicatingNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## non-communicating-net-device.h: static ns3::TypeId ns3::NonCommunicatingNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::Channel >', 'c')]) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::Object >', 'phy')]) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## non-communicating-net-device.h: bool ns3::NonCommunicatingNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## non-communicating-net-device.h: void ns3::NonCommunicatingNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ShannonSpectrumErrorModel_methods(root_module, cls): - ## spectrum-error-model.h: ns3::ShannonSpectrumErrorModel::ShannonSpectrumErrorModel() [constructor] - cls.add_constructor([]) - ## spectrum-error-model.h: ns3::ShannonSpectrumErrorModel::ShannonSpectrumErrorModel(ns3::ShannonSpectrumErrorModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ShannonSpectrumErrorModel const &', 'arg0')]) - ## spectrum-error-model.h: void ns3::ShannonSpectrumErrorModel::EvaluateChunk(ns3::SpectrumValue const & sinr, ns3::Time duration) [member function] - cls.add_method('EvaluateChunk', - 'void', - [param('ns3::SpectrumValue const &', 'sinr'), param('ns3::Time', 'duration')], - is_virtual=True) - ## spectrum-error-model.h: bool ns3::ShannonSpectrumErrorModel::IsRxCorrect() [member function] - cls.add_method('IsRxCorrect', - 'bool', - [], - is_virtual=True) - ## spectrum-error-model.h: void ns3::ShannonSpectrumErrorModel::StartRx(ns3::Ptr p) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'p')], - is_virtual=True) - ## spectrum-error-model.h: void ns3::ShannonSpectrumErrorModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3SpectrumAnalyzer_methods(root_module, cls): - ## spectrum-analyzer.h: ns3::SpectrumAnalyzer::SpectrumAnalyzer(ns3::SpectrumAnalyzer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumAnalyzer const &', 'arg0')]) - ## spectrum-analyzer.h: ns3::SpectrumAnalyzer::SpectrumAnalyzer() [constructor] - cls.add_constructor([]) - ## spectrum-analyzer.h: ns3::Ptr ns3::SpectrumAnalyzer::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## spectrum-analyzer.h: ns3::Ptr ns3::SpectrumAnalyzer::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## spectrum-analyzer.h: ns3::Ptr ns3::SpectrumAnalyzer::GetRxSpectrumModel() const [member function] - cls.add_method('GetRxSpectrumModel', - 'ns3::Ptr< ns3::SpectrumModel const >', - [], - is_const=True, is_virtual=True) - ## spectrum-analyzer.h: static ns3::TypeId ns3::SpectrumAnalyzer::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::SpectrumChannel >', 'c')], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::SetDevice(ns3::Ptr d) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'd')], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::SetMobility(ns3::Ptr m) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'm')], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::SetRxSpectrumModel(ns3::Ptr m) [member function] - cls.add_method('SetRxSpectrumModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumModel >', 'm')]) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::StartRx(ns3::Ptr pb, ns3::Ptr rxPowerSpectralDensity, ns3::SpectrumType st, ns3::Time duration) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'pb'), param('ns3::Ptr< ns3::SpectrumValue const >', 'rxPowerSpectralDensity'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration')], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## spectrum-analyzer.h: void ns3::SpectrumAnalyzer::GenerateReport() [member function] - cls.add_method('GenerateReport', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3SpectrumChannel_methods(root_module, cls): - ## spectrum-channel.h: ns3::SpectrumChannel::SpectrumChannel() [constructor] - cls.add_constructor([]) - ## spectrum-channel.h: ns3::SpectrumChannel::SpectrumChannel(ns3::SpectrumChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SpectrumChannel const &', 'arg0')]) - ## spectrum-channel.h: void ns3::SpectrumChannel::AddRx(ns3::Ptr phy) [member function] - cls.add_method('AddRx', - 'void', - [param('ns3::Ptr< ns3::SpectrumPhy >', 'phy')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-channel.h: void ns3::SpectrumChannel::AddSpectrumPropagationLossModel(ns3::Ptr loss) [member function] - cls.add_method('AddSpectrumPropagationLossModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'loss')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-channel.h: static ns3::TypeId ns3::SpectrumChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## spectrum-channel.h: void ns3::SpectrumChannel::SetPropagationDelayModel(ns3::Ptr delay) [member function] - cls.add_method('SetPropagationDelayModel', - 'void', - [param('ns3::Ptr< ns3::PropagationDelayModel >', 'delay')], - is_pure_virtual=True, is_virtual=True) - ## spectrum-channel.h: void ns3::SpectrumChannel::StartTx(ns3::Ptr p, ns3::Ptr txPsd, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr sender) [member function] - cls.add_method('StartTx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'sender')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3AlohaNoackNetDevice_methods(root_module, cls): - ## aloha-noack-net-device.h: ns3::AlohaNoackNetDevice::AlohaNoackNetDevice(ns3::AlohaNoackNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AlohaNoackNetDevice const &', 'arg0')]) - ## aloha-noack-net-device.h: ns3::AlohaNoackNetDevice::AlohaNoackNetDevice() [constructor] - cls.add_constructor([]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::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')], - is_virtual=True) - ## aloha-noack-net-device.h: ns3::Address ns3::AlohaNoackNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Address ns3::AlohaNoackNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Ptr ns3::AlohaNoackNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: uint32_t ns3::AlohaNoackNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: uint16_t ns3::AlohaNoackNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Address ns3::AlohaNoackNetDevice::GetMulticast(ns3::Ipv4Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'addr')], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Address ns3::AlohaNoackNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Ptr ns3::AlohaNoackNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: ns3::Ptr ns3::AlohaNoackNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## aloha-noack-net-device.h: static ns3::TypeId ns3::AlohaNoackNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::NotifyReceptionEndError() [member function] - cls.add_method('NotifyReceptionEndError', - 'void', - []) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::NotifyReceptionEndOk(ns3::Ptr p) [member function] - cls.add_method('NotifyReceptionEndOk', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::NotifyReceptionStart() [member function] - cls.add_method('NotifyReceptionStart', - 'void', - []) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::NotifyTransmissionEnd(ns3::Ptr arg0) [member function] - cls.add_method('NotifyTransmissionEnd', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'arg0')]) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetChannel(ns3::Ptr c) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::Channel >', 'c')]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetGenericPhyTxStartCallback(ns3::GenericPhyTxStartCallback c) [member function] - cls.add_method('SetGenericPhyTxStartCallback', - 'void', - [param('ns3::GenericPhyTxStartCallback', 'c')]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::Object >', 'phy')]) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::Queue >', 'queue')], - is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## aloha-noack-net-device.h: bool ns3::AlohaNoackNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## aloha-noack-net-device.h: void ns3::AlohaNoackNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3MultiModelSpectrumChannel_methods(root_module, cls): - ## multi-model-spectrum-channel.h: ns3::MultiModelSpectrumChannel::MultiModelSpectrumChannel(ns3::MultiModelSpectrumChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MultiModelSpectrumChannel const &', 'arg0')]) - ## multi-model-spectrum-channel.h: ns3::MultiModelSpectrumChannel::MultiModelSpectrumChannel() [constructor] - cls.add_constructor([]) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] - cls.add_method('AddRx', - 'void', - [param('ns3::Ptr< ns3::SpectrumPhy >', 'phy')], - is_virtual=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::AddSpectrumPropagationLossModel(ns3::Ptr loss) [member function] - cls.add_method('AddSpectrumPropagationLossModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'loss')], - is_virtual=True) - ## multi-model-spectrum-channel.h: ns3::Ptr ns3::MultiModelSpectrumChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## multi-model-spectrum-channel.h: uint32_t ns3::MultiModelSpectrumChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## multi-model-spectrum-channel.h: ns3::Ptr ns3::MultiModelSpectrumChannel::GetSpectrumPropagationLossModel() [member function] - cls.add_method('GetSpectrumPropagationLossModel', - 'ns3::Ptr< ns3::SpectrumPropagationLossModel >', - [], - is_virtual=True) - ## multi-model-spectrum-channel.h: static ns3::TypeId ns3::MultiModelSpectrumChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::SetPropagationDelayModel(ns3::Ptr delay) [member function] - cls.add_method('SetPropagationDelayModel', - 'void', - [param('ns3::Ptr< ns3::PropagationDelayModel >', 'delay')], - is_virtual=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::StartTx(ns3::Ptr p, ns3::Ptr txPsd, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr sender) [member function] - cls.add_method('StartTx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'sender')], - is_virtual=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## multi-model-spectrum-channel.h: void ns3::MultiModelSpectrumChannel::StartRx(ns3::Ptr p, ns3::Ptr rxPowerSpectrum, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr receiver) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'rxPowerSpectrum'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'receiver')], - visibility='private', is_virtual=True) - return - -def register_Ns3SingleModelSpectrumChannel_methods(root_module, cls): - ## single-model-spectrum-channel.h: ns3::SingleModelSpectrumChannel::SingleModelSpectrumChannel(ns3::SingleModelSpectrumChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SingleModelSpectrumChannel const &', 'arg0')]) - ## single-model-spectrum-channel.h: ns3::SingleModelSpectrumChannel::SingleModelSpectrumChannel() [constructor] - cls.add_constructor([]) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] - cls.add_method('AddRx', - 'void', - [param('ns3::Ptr< ns3::SpectrumPhy >', 'phy')], - is_virtual=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::AddSpectrumPropagationLossModel(ns3::Ptr loss) [member function] - cls.add_method('AddSpectrumPropagationLossModel', - 'void', - [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'loss')], - is_virtual=True) - ## single-model-spectrum-channel.h: ns3::Ptr ns3::SingleModelSpectrumChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## single-model-spectrum-channel.h: uint32_t ns3::SingleModelSpectrumChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## single-model-spectrum-channel.h: ns3::Ptr ns3::SingleModelSpectrumChannel::GetSpectrumPropagationLossModel() [member function] - cls.add_method('GetSpectrumPropagationLossModel', - 'ns3::Ptr< ns3::SpectrumPropagationLossModel >', - [], - is_virtual=True) - ## single-model-spectrum-channel.h: static ns3::TypeId ns3::SingleModelSpectrumChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::SetPropagationDelayModel(ns3::Ptr delay) [member function] - cls.add_method('SetPropagationDelayModel', - 'void', - [param('ns3::Ptr< ns3::PropagationDelayModel >', 'delay')], - is_virtual=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::StartTx(ns3::Ptr p, ns3::Ptr txPsd, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr sender) [member function] - cls.add_method('StartTx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'sender')], - is_virtual=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## single-model-spectrum-channel.h: void ns3::SingleModelSpectrumChannel::StartRx(ns3::Ptr p, ns3::Ptr rxPowerSpectrum, ns3::SpectrumType st, ns3::Time duration, ns3::Ptr receiver) [member function] - cls.add_method('StartRx', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'p'), param('ns3::Ptr< ns3::SpectrumValue >', 'rxPowerSpectrum'), param('ns3::SpectrumType', 'st'), param('ns3::Time', 'duration'), param('ns3::Ptr< ns3::SpectrumPhy >', 'receiver')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Log(ns3::SpectrumValue const & arg) [free function] - module.add_function('Log', - 'ns3::SpectrumValue', - [param('ns3::SpectrumValue const &', 'arg')]) - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Log10(ns3::SpectrumValue const & arg) [free function] - module.add_function('Log10', - 'ns3::SpectrumValue', - [param('ns3::SpectrumValue const &', 'arg')]) - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Log2(ns3::SpectrumValue const & arg) [free function] - module.add_function('Log2', - 'ns3::SpectrumValue', - [param('ns3::SpectrumValue const &', 'arg')]) - ## spectrum-value.h: extern double ns3::Norm(ns3::SpectrumValue const & x) [free function] - module.add_function('Norm', - 'double', - [param('ns3::SpectrumValue const &', 'x')]) - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Pow(ns3::SpectrumValue const & base, double exp) [free function] - module.add_function('Pow', - 'ns3::SpectrumValue', - [param('ns3::SpectrumValue const &', 'base'), param('double', 'exp')]) - ## spectrum-value.h: extern ns3::SpectrumValue ns3::Pow(double base, ns3::SpectrumValue const & exp) [free function] - module.add_function('Pow', - 'ns3::SpectrumValue', - [param('double', 'base'), param('ns3::SpectrumValue const &', 'exp')]) - ## spectrum-value.h: extern double ns3::Prod(ns3::SpectrumValue const & x) [free function] - module.add_function('Prod', - 'double', - [param('ns3::SpectrumValue const &', 'x')]) - ## spectrum-value.h: extern double ns3::Sum(ns3::SpectrumValue const & x) [free function] - module.add_function('Sum', - 'double', - [param('ns3::SpectrumValue const &', 'x')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py b/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py deleted file mode 100644 index 01bfdf7b9..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_stats.py +++ /dev/null @@ -1,592 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## data-output-interface.h: ns3::DataOutputCallback [class] - module.add_class('DataOutputCallback', allow_subclassing=True) - ## data-calculator.h: ns3::StatisticalSummary [class] - module.add_class('StatisticalSummary', allow_subclassing=True) - ## data-calculator.h: ns3::DataCalculator [class] - module.add_class('DataCalculator', parent=root_module['ns3::Object']) - ## data-collector.h: ns3::DataCollector [class] - module.add_class('DataCollector', parent=root_module['ns3::Object']) - ## data-output-interface.h: ns3::DataOutputInterface [class] - module.add_class('DataOutputInterface', parent=root_module['ns3::Object']) - ## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator [class] - module.add_class('MinMaxAvgTotalCalculator', template_parameters=['unsigned int'], parent=[root_module['ns3::DataCalculator'], root_module['ns3::StatisticalSummary']]) - ## omnet-data-output.h: ns3::OmnetDataOutput [class] - module.add_class('OmnetDataOutput', parent=root_module['ns3::DataOutputInterface']) - ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator [class] - module.add_class('PacketSizeMinMaxAvgTotalCalculator', parent=root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) - ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator [class] - module.add_class('TimeMinMaxAvgTotalCalculator', parent=root_module['ns3::DataCalculator']) - ## basic-data-calculators.h: ns3::CounterCalculator [class] - module.add_class('CounterCalculator', template_parameters=['unsigned int'], parent=root_module['ns3::DataCalculator']) - ## packet-data-calculators.h: ns3::PacketCounterCalculator [class] - module.add_class('PacketCounterCalculator', parent=root_module['ns3::CounterCalculator< unsigned int >']) - typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >', 'ns3::MetadataList') - typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >*', 'ns3::MetadataList*') - typehandlers.add_type_alias('std::list< std::pair< std::string, std::string >, std::allocator< std::pair< std::string, std::string > > >&', 'ns3::MetadataList&') - typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >', 'ns3::DataCalculatorList') - typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >*', 'ns3::DataCalculatorList*') - typehandlers.add_type_alias('std::list< ns3::Ptr< ns3::DataCalculator >, std::allocator< ns3::Ptr< ns3::DataCalculator > > >&', 'ns3::DataCalculatorList&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3DataOutputCallback_methods(root_module, root_module['ns3::DataOutputCallback']) - register_Ns3StatisticalSummary_methods(root_module, root_module['ns3::StatisticalSummary']) - register_Ns3DataCalculator_methods(root_module, root_module['ns3::DataCalculator']) - register_Ns3DataCollector_methods(root_module, root_module['ns3::DataCollector']) - register_Ns3DataOutputInterface_methods(root_module, root_module['ns3::DataOutputInterface']) - register_Ns3MinMaxAvgTotalCalculator__Unsigned_int_methods(root_module, root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) - register_Ns3OmnetDataOutput_methods(root_module, root_module['ns3::OmnetDataOutput']) - register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::PacketSizeMinMaxAvgTotalCalculator']) - register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::TimeMinMaxAvgTotalCalculator']) - register_Ns3CounterCalculator__Unsigned_int_methods(root_module, root_module['ns3::CounterCalculator< unsigned int >']) - register_Ns3PacketCounterCalculator_methods(root_module, root_module['ns3::PacketCounterCalculator']) - return - -def register_Ns3DataOutputCallback_methods(root_module, cls): - ## data-output-interface.h: ns3::DataOutputCallback::DataOutputCallback() [constructor] - cls.add_constructor([]) - ## data-output-interface.h: ns3::DataOutputCallback::DataOutputCallback(ns3::DataOutputCallback const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataOutputCallback const &', 'arg0')]) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, int val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('int', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, uint32_t val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('uint32_t', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, double val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('double', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, std::string val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('std::string', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputSingleton(std::string key, std::string variable, ns3::Time val) [member function] - cls.add_method('OutputSingleton', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('ns3::Time', 'val')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputCallback::OutputStatistic(std::string key, std::string variable, ns3::StatisticalSummary const * statSum) [member function] - cls.add_method('OutputStatistic', - 'void', - [param('std::string', 'key'), param('std::string', 'variable'), param('ns3::StatisticalSummary const *', 'statSum')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3StatisticalSummary_methods(root_module, cls): - ## data-calculator.h: ns3::StatisticalSummary::StatisticalSummary() [constructor] - cls.add_constructor([]) - ## data-calculator.h: ns3::StatisticalSummary::StatisticalSummary(ns3::StatisticalSummary const & arg0) [copy constructor] - cls.add_constructor([param('ns3::StatisticalSummary const &', 'arg0')]) - ## data-calculator.h: long int ns3::StatisticalSummary::getCount() const [member function] - cls.add_method('getCount', - 'long int', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getMax() const [member function] - cls.add_method('getMax', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getMean() const [member function] - cls.add_method('getMean', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getMin() const [member function] - cls.add_method('getMin', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getSqrSum() const [member function] - cls.add_method('getSqrSum', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getStddev() const [member function] - cls.add_method('getStddev', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getSum() const [member function] - cls.add_method('getSum', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: double ns3::StatisticalSummary::getVariance() const [member function] - cls.add_method('getVariance', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3DataCalculator_methods(root_module, cls): - ## data-calculator.h: ns3::DataCalculator::DataCalculator(ns3::DataCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataCalculator const &', 'arg0')]) - ## data-calculator.h: ns3::DataCalculator::DataCalculator() [constructor] - cls.add_constructor([]) - ## data-calculator.h: void ns3::DataCalculator::Disable() [member function] - cls.add_method('Disable', - 'void', - []) - ## data-calculator.h: void ns3::DataCalculator::Enable() [member function] - cls.add_method('Enable', - 'void', - []) - ## data-calculator.h: std::string ns3::DataCalculator::GetContext() const [member function] - cls.add_method('GetContext', - 'std::string', - [], - is_const=True) - ## data-calculator.h: bool ns3::DataCalculator::GetEnabled() const [member function] - cls.add_method('GetEnabled', - 'bool', - [], - is_const=True) - ## data-calculator.h: std::string ns3::DataCalculator::GetKey() const [member function] - cls.add_method('GetKey', - 'std::string', - [], - is_const=True) - ## data-calculator.h: void ns3::DataCalculator::Output(ns3::DataOutputCallback & callback) const [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataOutputCallback &', 'callback')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## data-calculator.h: void ns3::DataCalculator::SetContext(std::string const context) [member function] - cls.add_method('SetContext', - 'void', - [param('std::string const', 'context')]) - ## data-calculator.h: void ns3::DataCalculator::SetKey(std::string const key) [member function] - cls.add_method('SetKey', - 'void', - [param('std::string const', 'key')]) - ## data-calculator.h: void ns3::DataCalculator::Start(ns3::Time const & startTime) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time const &', 'startTime')], - is_virtual=True) - ## data-calculator.h: void ns3::DataCalculator::Stop(ns3::Time const & stopTime) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time const &', 'stopTime')], - is_virtual=True) - ## data-calculator.h: void ns3::DataCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3DataCollector_methods(root_module, cls): - ## data-collector.h: ns3::DataCollector::DataCollector(ns3::DataCollector const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataCollector const &', 'arg0')]) - ## data-collector.h: ns3::DataCollector::DataCollector() [constructor] - cls.add_constructor([]) - ## data-collector.h: void ns3::DataCollector::AddDataCalculator(ns3::Ptr datac) [member function] - cls.add_method('AddDataCalculator', - 'void', - [param('ns3::Ptr< ns3::DataCalculator >', 'datac')]) - ## data-collector.h: void ns3::DataCollector::AddMetadata(std::string key, std::string value) [member function] - cls.add_method('AddMetadata', - 'void', - [param('std::string', 'key'), param('std::string', 'value')]) - ## data-collector.h: void ns3::DataCollector::AddMetadata(std::string key, double value) [member function] - cls.add_method('AddMetadata', - 'void', - [param('std::string', 'key'), param('double', 'value')]) - ## data-collector.h: void ns3::DataCollector::AddMetadata(std::string key, uint32_t value) [member function] - cls.add_method('AddMetadata', - 'void', - [param('std::string', 'key'), param('uint32_t', 'value')]) - ## data-collector.h: std::_List_iterator > ns3::DataCollector::DataCalculatorBegin() [member function] - cls.add_method('DataCalculatorBegin', - 'std::_List_iterator< ns3::Ptr< ns3::DataCalculator > >', - []) - ## data-collector.h: std::_List_iterator > ns3::DataCollector::DataCalculatorEnd() [member function] - cls.add_method('DataCalculatorEnd', - 'std::_List_iterator< ns3::Ptr< ns3::DataCalculator > >', - []) - ## data-collector.h: void ns3::DataCollector::DescribeRun(std::string experiment, std::string strategy, std::string input, std::string runID, std::string description="") [member function] - cls.add_method('DescribeRun', - 'void', - [param('std::string', 'experiment'), param('std::string', 'strategy'), param('std::string', 'input'), param('std::string', 'runID'), param('std::string', 'description', default_value='""')]) - ## data-collector.h: std::string ns3::DataCollector::GetDescription() const [member function] - cls.add_method('GetDescription', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::string ns3::DataCollector::GetExperimentLabel() const [member function] - cls.add_method('GetExperimentLabel', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::string ns3::DataCollector::GetInputLabel() const [member function] - cls.add_method('GetInputLabel', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::string ns3::DataCollector::GetRunLabel() const [member function] - cls.add_method('GetRunLabel', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::string ns3::DataCollector::GetStrategyLabel() const [member function] - cls.add_method('GetStrategyLabel', - 'std::string', - [], - is_const=True) - ## data-collector.h: std::_List_iterator, std::allocator >, std::basic_string, std::allocator > > > ns3::DataCollector::MetadataBegin() [member function] - cls.add_method('MetadataBegin', - 'std::_List_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > >, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', - []) - ## data-collector.h: std::_List_iterator, std::allocator >, std::basic_string, std::allocator > > > ns3::DataCollector::MetadataEnd() [member function] - cls.add_method('MetadataEnd', - 'std::_List_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > >, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', - []) - ## data-collector.h: void ns3::DataCollector::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3DataOutputInterface_methods(root_module, cls): - ## data-output-interface.h: ns3::DataOutputInterface::DataOutputInterface(ns3::DataOutputInterface const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DataOutputInterface const &', 'arg0')]) - ## data-output-interface.h: ns3::DataOutputInterface::DataOutputInterface() [constructor] - cls.add_constructor([]) - ## data-output-interface.h: std::string ns3::DataOutputInterface::GetFilePrefix() const [member function] - cls.add_method('GetFilePrefix', - 'std::string', - [], - is_const=True) - ## data-output-interface.h: void ns3::DataOutputInterface::Output(ns3::DataCollector & dc) [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataCollector &', 'dc')], - is_pure_virtual=True, is_virtual=True) - ## data-output-interface.h: void ns3::DataOutputInterface::SetFilePrefix(std::string const prefix) [member function] - cls.add_method('SetFilePrefix', - 'void', - [param('std::string const', 'prefix')]) - ## data-output-interface.h: void ns3::DataOutputInterface::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3MinMaxAvgTotalCalculator__Unsigned_int_methods(root_module, cls): - ## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator::MinMaxAvgTotalCalculator(ns3::MinMaxAvgTotalCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MinMaxAvgTotalCalculator< unsigned int > const &', 'arg0')]) - ## basic-data-calculators.h: ns3::MinMaxAvgTotalCalculator::MinMaxAvgTotalCalculator() [constructor] - cls.add_constructor([]) - ## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator::Output(ns3::DataOutputCallback & callback) const [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataOutputCallback &', 'callback')], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator::Update(unsigned int const i) [member function] - cls.add_method('Update', - 'void', - [param('unsigned int const', 'i')]) - ## basic-data-calculators.h: long int ns3::MinMaxAvgTotalCalculator::getCount() const [member function] - cls.add_method('getCount', - 'long int', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getMax() const [member function] - cls.add_method('getMax', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getMean() const [member function] - cls.add_method('getMean', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getMin() const [member function] - cls.add_method('getMin', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getSqrSum() const [member function] - cls.add_method('getSqrSum', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getStddev() const [member function] - cls.add_method('getStddev', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getSum() const [member function] - cls.add_method('getSum', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: double ns3::MinMaxAvgTotalCalculator::getVariance() const [member function] - cls.add_method('getVariance', - 'double', - [], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: void ns3::MinMaxAvgTotalCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3OmnetDataOutput_methods(root_module, cls): - ## omnet-data-output.h: ns3::OmnetDataOutput::OmnetDataOutput(ns3::OmnetDataOutput const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OmnetDataOutput const &', 'arg0')]) - ## omnet-data-output.h: ns3::OmnetDataOutput::OmnetDataOutput() [constructor] - cls.add_constructor([]) - ## omnet-data-output.h: void ns3::OmnetDataOutput::Output(ns3::DataCollector & dc) [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataCollector &', 'dc')], - is_virtual=True) - ## omnet-data-output.h: void ns3::OmnetDataOutput::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, cls): - ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator::PacketSizeMinMaxAvgTotalCalculator(ns3::PacketSizeMinMaxAvgTotalCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketSizeMinMaxAvgTotalCalculator const &', 'arg0')]) - ## packet-data-calculators.h: ns3::PacketSizeMinMaxAvgTotalCalculator::PacketSizeMinMaxAvgTotalCalculator() [constructor] - cls.add_constructor([]) - ## packet-data-calculators.h: void ns3::PacketSizeMinMaxAvgTotalCalculator::FrameUpdate(std::string path, ns3::Ptr packet, ns3::Mac48Address realto) [member function] - cls.add_method('FrameUpdate', - 'void', - [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'realto')]) - ## packet-data-calculators.h: void ns3::PacketSizeMinMaxAvgTotalCalculator::PacketUpdate(std::string path, ns3::Ptr packet) [member function] - cls.add_method('PacketUpdate', - 'void', - [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## packet-data-calculators.h: void ns3::PacketSizeMinMaxAvgTotalCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, cls): - ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator::TimeMinMaxAvgTotalCalculator(ns3::TimeMinMaxAvgTotalCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TimeMinMaxAvgTotalCalculator const &', 'arg0')]) - ## time-data-calculators.h: ns3::TimeMinMaxAvgTotalCalculator::TimeMinMaxAvgTotalCalculator() [constructor] - cls.add_constructor([]) - ## time-data-calculators.h: void ns3::TimeMinMaxAvgTotalCalculator::Output(ns3::DataOutputCallback & callback) const [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataOutputCallback &', 'callback')], - is_const=True, is_virtual=True) - ## time-data-calculators.h: void ns3::TimeMinMaxAvgTotalCalculator::Update(ns3::Time const i) [member function] - cls.add_method('Update', - 'void', - [param('ns3::Time const', 'i')]) - ## time-data-calculators.h: void ns3::TimeMinMaxAvgTotalCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3CounterCalculator__Unsigned_int_methods(root_module, cls): - ## basic-data-calculators.h: ns3::CounterCalculator::CounterCalculator(ns3::CounterCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CounterCalculator< unsigned int > const &', 'arg0')]) - ## basic-data-calculators.h: ns3::CounterCalculator::CounterCalculator() [constructor] - cls.add_constructor([]) - ## basic-data-calculators.h: unsigned int ns3::CounterCalculator::GetCount() const [member function] - cls.add_method('GetCount', - 'unsigned int', - [], - is_const=True) - ## basic-data-calculators.h: void ns3::CounterCalculator::Output(ns3::DataOutputCallback & callback) const [member function] - cls.add_method('Output', - 'void', - [param('ns3::DataOutputCallback &', 'callback')], - is_const=True, is_virtual=True) - ## basic-data-calculators.h: void ns3::CounterCalculator::Update() [member function] - cls.add_method('Update', - 'void', - []) - ## basic-data-calculators.h: void ns3::CounterCalculator::Update(unsigned int const i) [member function] - cls.add_method('Update', - 'void', - [param('unsigned int const', 'i')]) - ## basic-data-calculators.h: void ns3::CounterCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3PacketCounterCalculator_methods(root_module, cls): - ## packet-data-calculators.h: ns3::PacketCounterCalculator::PacketCounterCalculator(ns3::PacketCounterCalculator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PacketCounterCalculator const &', 'arg0')]) - ## packet-data-calculators.h: ns3::PacketCounterCalculator::PacketCounterCalculator() [constructor] - cls.add_constructor([]) - ## packet-data-calculators.h: void ns3::PacketCounterCalculator::FrameUpdate(std::string path, ns3::Ptr packet, ns3::Mac48Address realto) [member function] - cls.add_method('FrameUpdate', - 'void', - [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'realto')]) - ## packet-data-calculators.h: void ns3::PacketCounterCalculator::PacketUpdate(std::string path, ns3::Ptr packet) [member function] - cls.add_method('PacketUpdate', - 'void', - [param('std::string', 'path'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## packet-data-calculators.h: void ns3::PacketCounterCalculator::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## data-calculator.h: bool ns3::isNaN(double x) [free function] - module.add_function('isNaN', - 'bool', - [param('double', 'x')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_tap_bridge.py b/bindings/python/apidefs/gcc-LP64/ns3_module_tap_bridge.py deleted file mode 100644 index c4b95df40..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_tap_bridge.py +++ /dev/null @@ -1,366 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## tap-bridge-helper.h: ns3::TapBridgeHelper [class] - module.add_class('TapBridgeHelper') - ## tap-bridge.h: ns3::TapBridge [class] - module.add_class('TapBridge', parent=root_module['ns3::NetDevice']) - ## tap-bridge.h: ns3::TapBridge::Mode [enumeration] - module.add_enum('Mode', ['ILLEGAL', 'CONFIGURE_LOCAL', 'USE_LOCAL', 'USE_BRIDGE'], outer_class=root_module['ns3::TapBridge']) - ## tap-bridge.h: ns3::TapBridgeFdReader [class] - module.add_class('TapBridgeFdReader', parent=root_module['ns3::FdReader']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3TapBridgeHelper_methods(root_module, root_module['ns3::TapBridgeHelper']) - register_Ns3TapBridge_methods(root_module, root_module['ns3::TapBridge']) - register_Ns3TapBridgeFdReader_methods(root_module, root_module['ns3::TapBridgeFdReader']) - return - -def register_Ns3TapBridgeHelper_methods(root_module, cls): - ## tap-bridge-helper.h: ns3::TapBridgeHelper::TapBridgeHelper(ns3::TapBridgeHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TapBridgeHelper const &', 'arg0')]) - ## tap-bridge-helper.h: ns3::TapBridgeHelper::TapBridgeHelper() [constructor] - cls.add_constructor([]) - ## tap-bridge-helper.h: ns3::TapBridgeHelper::TapBridgeHelper(ns3::Ipv4Address gateway) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'gateway')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(ns3::Ptr node, ns3::Ptr nd) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(std::string nodeName, ns3::Ptr nd) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('std::string', 'nodeName'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(ns3::Ptr node, std::string ndName) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('std::string', 'ndName')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(std::string nodeName, std::string ndName) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('std::string', 'nodeName'), param('std::string', 'ndName')]) - ## tap-bridge-helper.h: ns3::Ptr ns3::TapBridgeHelper::Install(ns3::Ptr node, ns3::Ptr nd, ns3::AttributeValue const & bridgeType) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::NetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('ns3::AttributeValue const &', 'bridgeType')]) - ## tap-bridge-helper.h: void ns3::TapBridgeHelper::SetAttribute(std::string n1, ns3::AttributeValue const & v1) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'n1'), param('ns3::AttributeValue const &', 'v1')]) - return - -def register_Ns3TapBridge_methods(root_module, cls): - ## tap-bridge.h: ns3::TapBridge::TapBridge(ns3::TapBridge const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TapBridge const &', 'arg0')]) - ## tap-bridge.h: ns3::TapBridge::TapBridge() [constructor] - cls.add_constructor([]) - ## tap-bridge.h: void ns3::TapBridge::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')], - is_virtual=True) - ## tap-bridge.h: ns3::Address ns3::TapBridge::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Ptr ns3::TapBridge::GetBridgedNetDevice() [member function] - cls.add_method('GetBridgedNetDevice', - 'ns3::Ptr< ns3::NetDevice >', - []) - ## tap-bridge.h: ns3::Address ns3::TapBridge::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Ptr ns3::TapBridge::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: uint32_t ns3::TapBridge::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::TapBridge::Mode ns3::TapBridge::GetMode() [member function] - cls.add_method('GetMode', - 'ns3::TapBridge::Mode', - []) - ## tap-bridge.h: uint16_t ns3::TapBridge::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Address ns3::TapBridge::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Address ns3::TapBridge::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## tap-bridge.h: ns3::Ptr ns3::TapBridge::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: static ns3::TypeId ns3::TapBridge::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## tap-bridge.h: bool ns3::TapBridge::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetBridgedNetDevice(ns3::Ptr bridgedDevice) [member function] - cls.add_method('SetBridgedNetDevice', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'bridgedDevice')]) - ## tap-bridge.h: void ns3::TapBridge::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetMode(ns3::TapBridge::Mode mode) [member function] - cls.add_method('SetMode', - 'void', - [param('ns3::TapBridge::Mode', 'mode')]) - ## tap-bridge.h: bool ns3::TapBridge::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## tap-bridge.h: void ns3::TapBridge::Start(ns3::Time tStart) [member function] - cls.add_method('Start', - 'void', - [param('ns3::Time', 'tStart')]) - ## tap-bridge.h: void ns3::TapBridge::Stop(ns3::Time tStop) [member function] - cls.add_method('Stop', - 'void', - [param('ns3::Time', 'tStop')]) - ## tap-bridge.h: bool ns3::TapBridge::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::DiscardFromBridgedDevice(ns3::Ptr device, ns3::Ptr packet, uint16_t protocol, ns3::Address const & src) [member function] - cls.add_method('DiscardFromBridgedDevice', - 'bool', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'src')], - visibility='protected') - ## tap-bridge.h: void ns3::TapBridge::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## tap-bridge.h: bool ns3::TapBridge::ReceiveFromBridgedDevice(ns3::Ptr device, ns3::Ptr packet, uint16_t protocol, ns3::Address const & src, ns3::Address const & dst, ns3::NetDevice::PacketType packetType) [member function] - cls.add_method('ReceiveFromBridgedDevice', - 'bool', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'src'), param('ns3::Address const &', 'dst'), param('ns3::NetDevice::PacketType', 'packetType')], - visibility='protected') - return - -def register_Ns3TapBridgeFdReader_methods(root_module, cls): - ## tap-bridge.h: ns3::TapBridgeFdReader::TapBridgeFdReader() [constructor] - cls.add_constructor([]) - ## tap-bridge.h: ns3::TapBridgeFdReader::TapBridgeFdReader(ns3::TapBridgeFdReader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TapBridgeFdReader const &', 'arg0')]) - ## tap-bridge.h: ns3::FdReader::Data ns3::TapBridgeFdReader::DoRead() [member function] - cls.add_method('DoRead', - 'ns3::FdReader::Data', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_tools.py b/bindings/python/apidefs/gcc-LP64/ns3_module_tools.py deleted file mode 100644 index b64995930..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_tools.py +++ /dev/null @@ -1,448 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## average.h: ns3::Average [class] - module.add_class('Average', template_parameters=['double']) - ## delay-jitter-estimation.h: ns3::DelayJitterEstimation [class] - module.add_class('DelayJitterEstimation') - ## event-garbage-collector.h: ns3::EventGarbageCollector [class] - module.add_class('EventGarbageCollector') - ## gnuplot.h: ns3::Gnuplot [class] - module.add_class('Gnuplot') - ## gnuplot.h: ns3::GnuplotCollection [class] - module.add_class('GnuplotCollection') - ## gnuplot.h: ns3::GnuplotDataset [class] - module.add_class('GnuplotDataset') - ## gnuplot.h: ns3::Gnuplot2dDataset [class] - module.add_class('Gnuplot2dDataset', parent=root_module['ns3::GnuplotDataset']) - ## gnuplot.h: ns3::Gnuplot2dDataset::Style [enumeration] - module.add_enum('Style', ['LINES', 'POINTS', 'LINES_POINTS', 'DOTS', 'IMPULSES', 'STEPS', 'FSTEPS', 'HISTEPS'], outer_class=root_module['ns3::Gnuplot2dDataset']) - ## gnuplot.h: ns3::Gnuplot2dDataset::ErrorBars [enumeration] - module.add_enum('ErrorBars', ['NONE', 'X', 'Y', 'XY'], outer_class=root_module['ns3::Gnuplot2dDataset']) - ## gnuplot.h: ns3::Gnuplot2dFunction [class] - module.add_class('Gnuplot2dFunction', parent=root_module['ns3::GnuplotDataset']) - ## gnuplot.h: ns3::Gnuplot3dDataset [class] - module.add_class('Gnuplot3dDataset', parent=root_module['ns3::GnuplotDataset']) - ## gnuplot.h: ns3::Gnuplot3dFunction [class] - module.add_class('Gnuplot3dFunction', parent=root_module['ns3::GnuplotDataset']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Average__Double_methods(root_module, root_module['ns3::Average< double >']) - register_Ns3DelayJitterEstimation_methods(root_module, root_module['ns3::DelayJitterEstimation']) - register_Ns3EventGarbageCollector_methods(root_module, root_module['ns3::EventGarbageCollector']) - register_Ns3Gnuplot_methods(root_module, root_module['ns3::Gnuplot']) - register_Ns3GnuplotCollection_methods(root_module, root_module['ns3::GnuplotCollection']) - register_Ns3GnuplotDataset_methods(root_module, root_module['ns3::GnuplotDataset']) - register_Ns3Gnuplot2dDataset_methods(root_module, root_module['ns3::Gnuplot2dDataset']) - register_Ns3Gnuplot2dFunction_methods(root_module, root_module['ns3::Gnuplot2dFunction']) - register_Ns3Gnuplot3dDataset_methods(root_module, root_module['ns3::Gnuplot3dDataset']) - register_Ns3Gnuplot3dFunction_methods(root_module, root_module['ns3::Gnuplot3dFunction']) - return - -def register_Ns3Average__Double_methods(root_module, cls): - ## average.h: ns3::Average::Average(ns3::Average const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Average< double > const &', 'arg0')]) - ## average.h: ns3::Average::Average() [constructor] - cls.add_constructor([]) - ## average.h: double ns3::Average::Avg() const [member function] - cls.add_method('Avg', - 'double', - [], - is_const=True) - ## average.h: uint32_t ns3::Average::Count() const [member function] - cls.add_method('Count', - 'uint32_t', - [], - is_const=True) - ## average.h: double ns3::Average::Error90() const [member function] - cls.add_method('Error90', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Error95() const [member function] - cls.add_method('Error95', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Error99() const [member function] - cls.add_method('Error99', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Max() const [member function] - cls.add_method('Max', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Mean() const [member function] - cls.add_method('Mean', - 'double', - [], - is_const=True) - ## average.h: double ns3::Average::Min() const [member function] - cls.add_method('Min', - 'double', - [], - is_const=True) - ## average.h: void ns3::Average::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## average.h: double ns3::Average::Stddev() const [member function] - cls.add_method('Stddev', - 'double', - [], - is_const=True) - ## average.h: void ns3::Average::Update(double const & x) [member function] - cls.add_method('Update', - 'void', - [param('double const &', 'x')]) - ## average.h: double ns3::Average::Var() const [member function] - cls.add_method('Var', - 'double', - [], - is_const=True) - return - -def register_Ns3DelayJitterEstimation_methods(root_module, cls): - ## delay-jitter-estimation.h: ns3::DelayJitterEstimation::DelayJitterEstimation(ns3::DelayJitterEstimation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DelayJitterEstimation const &', 'arg0')]) - ## delay-jitter-estimation.h: ns3::DelayJitterEstimation::DelayJitterEstimation() [constructor] - cls.add_constructor([]) - ## delay-jitter-estimation.h: ns3::Time ns3::DelayJitterEstimation::GetLastDelay() const [member function] - cls.add_method('GetLastDelay', - 'ns3::Time', - [], - is_const=True) - ## delay-jitter-estimation.h: uint64_t ns3::DelayJitterEstimation::GetLastJitter() const [member function] - cls.add_method('GetLastJitter', - 'uint64_t', - [], - is_const=True) - ## delay-jitter-estimation.h: static void ns3::DelayJitterEstimation::PrepareTx(ns3::Ptr packet) [member function] - cls.add_method('PrepareTx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')], - is_static=True) - ## delay-jitter-estimation.h: void ns3::DelayJitterEstimation::RecordRx(ns3::Ptr packet) [member function] - cls.add_method('RecordRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - return - -def register_Ns3EventGarbageCollector_methods(root_module, cls): - ## event-garbage-collector.h: ns3::EventGarbageCollector::EventGarbageCollector(ns3::EventGarbageCollector const & arg0) [copy constructor] - cls.add_constructor([param('ns3::EventGarbageCollector const &', 'arg0')]) - ## event-garbage-collector.h: ns3::EventGarbageCollector::EventGarbageCollector() [constructor] - cls.add_constructor([]) - ## event-garbage-collector.h: void ns3::EventGarbageCollector::Track(ns3::EventId event) [member function] - cls.add_method('Track', - 'void', - [param('ns3::EventId', 'event')]) - return - -def register_Ns3Gnuplot_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot::Gnuplot(ns3::Gnuplot const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot::Gnuplot(std::string const & outputFilename="", std::string const & title="") [constructor] - cls.add_constructor([param('std::string const &', 'outputFilename', default_value='""'), param('std::string const &', 'title', default_value='""')]) - ## gnuplot.h: void ns3::Gnuplot::AddDataset(ns3::GnuplotDataset const & dataset) [member function] - cls.add_method('AddDataset', - 'void', - [param('ns3::GnuplotDataset const &', 'dataset')]) - ## gnuplot.h: void ns3::Gnuplot::AppendExtra(std::string const & extra) [member function] - cls.add_method('AppendExtra', - 'void', - [param('std::string const &', 'extra')]) - ## gnuplot.h: static std::string ns3::Gnuplot::DetectTerminal(std::string const & filename) [member function] - cls.add_method('DetectTerminal', - 'std::string', - [param('std::string const &', 'filename')], - is_static=True) - ## gnuplot.h: void ns3::Gnuplot::GenerateOutput(std::ostream & os) const [member function] - cls.add_method('GenerateOutput', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## gnuplot.h: void ns3::Gnuplot::SetExtra(std::string const & extra) [member function] - cls.add_method('SetExtra', - 'void', - [param('std::string const &', 'extra')]) - ## gnuplot.h: void ns3::Gnuplot::SetLegend(std::string const & xLegend, std::string const & yLegend) [member function] - cls.add_method('SetLegend', - 'void', - [param('std::string const &', 'xLegend'), param('std::string const &', 'yLegend')]) - ## gnuplot.h: void ns3::Gnuplot::SetTerminal(std::string const & terminal) [member function] - cls.add_method('SetTerminal', - 'void', - [param('std::string const &', 'terminal')]) - ## gnuplot.h: void ns3::Gnuplot::SetTitle(std::string const & title) [member function] - cls.add_method('SetTitle', - 'void', - [param('std::string const &', 'title')]) - return - -def register_Ns3GnuplotCollection_methods(root_module, cls): - ## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(ns3::GnuplotCollection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GnuplotCollection const &', 'arg0')]) - ## gnuplot.h: ns3::GnuplotCollection::GnuplotCollection(std::string const & outputFilename) [constructor] - cls.add_constructor([param('std::string const &', 'outputFilename')]) - ## gnuplot.h: void ns3::GnuplotCollection::AddPlot(ns3::Gnuplot const & plot) [member function] - cls.add_method('AddPlot', - 'void', - [param('ns3::Gnuplot const &', 'plot')]) - ## gnuplot.h: void ns3::GnuplotCollection::GenerateOutput(std::ostream & os) const [member function] - cls.add_method('GenerateOutput', - 'void', - [param('std::ostream &', 'os')], - is_const=True) - ## gnuplot.h: ns3::Gnuplot & ns3::GnuplotCollection::GetPlot(unsigned int id) [member function] - cls.add_method('GetPlot', - 'ns3::Gnuplot &', - [param('unsigned int', 'id')]) - ## gnuplot.h: void ns3::GnuplotCollection::SetTerminal(std::string const & terminal) [member function] - cls.add_method('SetTerminal', - 'void', - [param('std::string const &', 'terminal')]) - return - -def register_Ns3GnuplotDataset_methods(root_module, cls): - ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset const & original) [copy constructor] - cls.add_constructor([param('ns3::GnuplotDataset const &', 'original')]) - ## gnuplot.h: static void ns3::GnuplotDataset::SetDefaultExtra(std::string const & extra) [member function] - cls.add_method('SetDefaultExtra', - 'void', - [param('std::string const &', 'extra')], - is_static=True) - ## gnuplot.h: void ns3::GnuplotDataset::SetExtra(std::string const & extra) [member function] - cls.add_method('SetExtra', - 'void', - [param('std::string const &', 'extra')]) - ## gnuplot.h: void ns3::GnuplotDataset::SetTitle(std::string const & title) [member function] - cls.add_method('SetTitle', - 'void', - [param('std::string const &', 'title')]) - ## gnuplot.h: ns3::GnuplotDataset::GnuplotDataset(ns3::GnuplotDataset::Data * data) [constructor] - cls.add_constructor([param('ns3::GnuplotDataset::Data *', 'data')], - visibility='protected') - return - -def register_Ns3Gnuplot2dDataset_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot2dDataset::Gnuplot2dDataset(ns3::Gnuplot2dDataset const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot2dDataset const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot2dDataset::Gnuplot2dDataset(std::string const & title="Untitled") [constructor] - cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y) [member function] - cls.add_method('Add', - 'void', - [param('double', 'x'), param('double', 'y')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y, double errorDelta) [member function] - cls.add_method('Add', - 'void', - [param('double', 'x'), param('double', 'y'), param('double', 'errorDelta')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::Add(double x, double y, double minY, double maxY) [member function] - cls.add_method('Add', - 'void', - [param('double', 'x'), param('double', 'y'), param('double', 'minY'), param('double', 'maxY')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::AddEmptyLine() [member function] - cls.add_method('AddEmptyLine', - 'void', - []) - ## gnuplot.h: static void ns3::Gnuplot2dDataset::SetDefaultErrorBars(ns3::Gnuplot2dDataset::ErrorBars errorBars) [member function] - cls.add_method('SetDefaultErrorBars', - 'void', - [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')], - is_static=True) - ## gnuplot.h: static void ns3::Gnuplot2dDataset::SetDefaultStyle(ns3::Gnuplot2dDataset::Style style) [member function] - cls.add_method('SetDefaultStyle', - 'void', - [param('ns3::Gnuplot2dDataset::Style', 'style')], - is_static=True) - ## gnuplot.h: void ns3::Gnuplot2dDataset::SetErrorBars(ns3::Gnuplot2dDataset::ErrorBars errorBars) [member function] - cls.add_method('SetErrorBars', - 'void', - [param('ns3::Gnuplot2dDataset::ErrorBars', 'errorBars')]) - ## gnuplot.h: void ns3::Gnuplot2dDataset::SetStyle(ns3::Gnuplot2dDataset::Style style) [member function] - cls.add_method('SetStyle', - 'void', - [param('ns3::Gnuplot2dDataset::Style', 'style')]) - return - -def register_Ns3Gnuplot2dFunction_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot2dFunction::Gnuplot2dFunction(ns3::Gnuplot2dFunction const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot2dFunction const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot2dFunction::Gnuplot2dFunction(std::string const & title="Untitled", std::string const & function="") [constructor] - cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"'), param('std::string const &', 'function', default_value='""')]) - ## gnuplot.h: void ns3::Gnuplot2dFunction::SetFunction(std::string const & function) [member function] - cls.add_method('SetFunction', - 'void', - [param('std::string const &', 'function')]) - return - -def register_Ns3Gnuplot3dDataset_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot3dDataset::Gnuplot3dDataset(ns3::Gnuplot3dDataset const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot3dDataset const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot3dDataset::Gnuplot3dDataset(std::string const & title="Untitled") [constructor] - cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"')]) - ## gnuplot.h: void ns3::Gnuplot3dDataset::Add(double x, double y, double z) [member function] - cls.add_method('Add', - 'void', - [param('double', 'x'), param('double', 'y'), param('double', 'z')]) - ## gnuplot.h: void ns3::Gnuplot3dDataset::AddEmptyLine() [member function] - cls.add_method('AddEmptyLine', - 'void', - []) - ## gnuplot.h: static void ns3::Gnuplot3dDataset::SetDefaultStyle(std::string const & style) [member function] - cls.add_method('SetDefaultStyle', - 'void', - [param('std::string const &', 'style')], - is_static=True) - ## gnuplot.h: void ns3::Gnuplot3dDataset::SetStyle(std::string const & style) [member function] - cls.add_method('SetStyle', - 'void', - [param('std::string const &', 'style')]) - return - -def register_Ns3Gnuplot3dFunction_methods(root_module, cls): - ## gnuplot.h: ns3::Gnuplot3dFunction::Gnuplot3dFunction(ns3::Gnuplot3dFunction const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Gnuplot3dFunction const &', 'arg0')]) - ## gnuplot.h: ns3::Gnuplot3dFunction::Gnuplot3dFunction(std::string const & title="Untitled", std::string const & function="") [constructor] - cls.add_constructor([param('std::string const &', 'title', default_value='"Untitled"'), param('std::string const &', 'function', default_value='""')]) - ## gnuplot.h: void ns3::Gnuplot3dFunction::SetFunction(std::string const & function) [member function] - cls.add_method('SetFunction', - 'void', - [param('std::string const &', 'function')]) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_topology_read.py b/bindings/python/apidefs/gcc-LP64/ns3_module_topology_read.py deleted file mode 100644 index fb8a02b1b..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_topology_read.py +++ /dev/null @@ -1,316 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## topology-reader-helper.h: ns3::TopologyReaderHelper [class] - module.add_class('TopologyReaderHelper') - ## topology-reader.h: ns3::TopologyReader [class] - module.add_class('TopologyReader', parent=root_module['ns3::Object']) - ## topology-reader.h: ns3::TopologyReader::Link [class] - module.add_class('Link', outer_class=root_module['ns3::TopologyReader']) - ## inet-topology-reader.h: ns3::InetTopologyReader [class] - module.add_class('InetTopologyReader', parent=root_module['ns3::TopologyReader']) - ## orbis-topology-reader.h: ns3::OrbisTopologyReader [class] - module.add_class('OrbisTopologyReader', parent=root_module['ns3::TopologyReader']) - ## rocketfuel-topology-reader.h: ns3::RocketfuelTopologyReader [class] - module.add_class('RocketfuelTopologyReader', parent=root_module['ns3::TopologyReader']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3TopologyReaderHelper_methods(root_module, root_module['ns3::TopologyReaderHelper']) - register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader']) - register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link']) - register_Ns3InetTopologyReader_methods(root_module, root_module['ns3::InetTopologyReader']) - register_Ns3OrbisTopologyReader_methods(root_module, root_module['ns3::OrbisTopologyReader']) - register_Ns3RocketfuelTopologyReader_methods(root_module, root_module['ns3::RocketfuelTopologyReader']) - return - -def register_Ns3TopologyReaderHelper_methods(root_module, cls): - ## topology-reader-helper.h: ns3::TopologyReaderHelper::TopologyReaderHelper(ns3::TopologyReaderHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TopologyReaderHelper const &', 'arg0')]) - ## topology-reader-helper.h: ns3::TopologyReaderHelper::TopologyReaderHelper() [constructor] - cls.add_constructor([]) - ## topology-reader-helper.h: ns3::Ptr ns3::TopologyReaderHelper::GetTopologyReader() [member function] - cls.add_method('GetTopologyReader', - 'ns3::Ptr< ns3::TopologyReader >', - []) - ## topology-reader-helper.h: void ns3::TopologyReaderHelper::SetFileName(std::string const fileName) [member function] - cls.add_method('SetFileName', - 'void', - [param('std::string const', 'fileName')]) - ## topology-reader-helper.h: void ns3::TopologyReaderHelper::SetFileType(std::string const fileType) [member function] - cls.add_method('SetFileType', - 'void', - [param('std::string const', 'fileType')]) - return - -def register_Ns3TopologyReader_methods(root_module, cls): - ## topology-reader.h: ns3::TopologyReader::TopologyReader() [constructor] - cls.add_constructor([]) - ## topology-reader.h: void ns3::TopologyReader::AddLink(ns3::TopologyReader::Link link) [member function] - cls.add_method('AddLink', - 'void', - [param('ns3::TopologyReader::Link', 'link')]) - ## topology-reader.h: std::string ns3::TopologyReader::GetFileName() const [member function] - cls.add_method('GetFileName', - 'std::string', - [], - is_const=True) - ## topology-reader.h: static ns3::TypeId ns3::TopologyReader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## topology-reader.h: std::_List_const_iterator ns3::TopologyReader::LinksBegin() const [member function] - cls.add_method('LinksBegin', - 'std::_List_const_iterator< ns3::TopologyReader::Link >', - [], - is_const=True) - ## topology-reader.h: bool ns3::TopologyReader::LinksEmpty() const [member function] - cls.add_method('LinksEmpty', - 'bool', - [], - is_const=True) - ## topology-reader.h: std::_List_const_iterator ns3::TopologyReader::LinksEnd() const [member function] - cls.add_method('LinksEnd', - 'std::_List_const_iterator< ns3::TopologyReader::Link >', - [], - is_const=True) - ## topology-reader.h: int ns3::TopologyReader::LinksSize() const [member function] - cls.add_method('LinksSize', - 'int', - [], - is_const=True) - ## topology-reader.h: ns3::NodeContainer ns3::TopologyReader::Read() [member function] - cls.add_method('Read', - 'ns3::NodeContainer', - [], - is_pure_virtual=True, is_virtual=True) - ## topology-reader.h: void ns3::TopologyReader::SetFileName(std::string const fileName) [member function] - cls.add_method('SetFileName', - 'void', - [param('std::string const', 'fileName')]) - return - -def register_Ns3TopologyReaderLink_methods(root_module, cls): - ## topology-reader.h: ns3::TopologyReader::Link::Link(ns3::TopologyReader::Link const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TopologyReader::Link const &', 'arg0')]) - ## topology-reader.h: ns3::TopologyReader::Link::Link(ns3::Ptr fromPtr, std::string fromName, ns3::Ptr toPtr, std::string toName) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'fromPtr'), param('std::string', 'fromName'), param('ns3::Ptr< ns3::Node >', 'toPtr'), param('std::string', 'toName')]) - ## topology-reader.h: std::_Rb_tree_const_iterator, std::allocator >, std::basic_string, std::allocator > > > ns3::TopologyReader::Link::AttributesBegin() [member function] - cls.add_method('AttributesBegin', - 'std::_Rb_tree_const_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', - []) - ## topology-reader.h: std::_Rb_tree_const_iterator, std::allocator >, std::basic_string, std::allocator > > > ns3::TopologyReader::Link::AttributesEnd() [member function] - cls.add_method('AttributesEnd', - 'std::_Rb_tree_const_iterator< std::pair< std::basic_string< char, std::char_traits< char >, std::allocator< char > > const, std::basic_string< char, std::char_traits< char >, std::allocator< char > > > >', - []) - ## topology-reader.h: std::string ns3::TopologyReader::Link::GetAttribute(std::string name) [member function] - cls.add_method('GetAttribute', - 'std::string', - [param('std::string', 'name')]) - ## topology-reader.h: bool ns3::TopologyReader::Link::GetAttributeFailSafe(std::string name, std::string & value) [member function] - cls.add_method('GetAttributeFailSafe', - 'bool', - [param('std::string', 'name'), param('std::string &', 'value')]) - ## topology-reader.h: ns3::Ptr ns3::TopologyReader::Link::GetFromNode() const [member function] - cls.add_method('GetFromNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## topology-reader.h: std::string ns3::TopologyReader::Link::GetFromNodeName() const [member function] - cls.add_method('GetFromNodeName', - 'std::string', - [], - is_const=True) - ## topology-reader.h: ns3::Ptr ns3::TopologyReader::Link::GetToNode() const [member function] - cls.add_method('GetToNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True) - ## topology-reader.h: std::string ns3::TopologyReader::Link::GetToNodeName() const [member function] - cls.add_method('GetToNodeName', - 'std::string', - [], - is_const=True) - ## topology-reader.h: void ns3::TopologyReader::Link::SetAttribute(std::string name, std::string & value) [member function] - cls.add_method('SetAttribute', - 'void', - [param('std::string', 'name'), param('std::string &', 'value')]) - return - -def register_Ns3InetTopologyReader_methods(root_module, cls): - ## inet-topology-reader.h: static ns3::TypeId ns3::InetTopologyReader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## inet-topology-reader.h: ns3::InetTopologyReader::InetTopologyReader() [constructor] - cls.add_constructor([]) - ## inet-topology-reader.h: ns3::NodeContainer ns3::InetTopologyReader::Read() [member function] - cls.add_method('Read', - 'ns3::NodeContainer', - [], - is_virtual=True) - return - -def register_Ns3OrbisTopologyReader_methods(root_module, cls): - ## orbis-topology-reader.h: static ns3::TypeId ns3::OrbisTopologyReader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## orbis-topology-reader.h: ns3::OrbisTopologyReader::OrbisTopologyReader() [constructor] - cls.add_constructor([]) - ## orbis-topology-reader.h: ns3::NodeContainer ns3::OrbisTopologyReader::Read() [member function] - cls.add_method('Read', - 'ns3::NodeContainer', - [], - is_virtual=True) - return - -def register_Ns3RocketfuelTopologyReader_methods(root_module, cls): - ## rocketfuel-topology-reader.h: static ns3::TypeId ns3::RocketfuelTopologyReader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rocketfuel-topology-reader.h: ns3::RocketfuelTopologyReader::RocketfuelTopologyReader() [constructor] - cls.add_constructor([]) - ## rocketfuel-topology-reader.h: ns3::NodeContainer ns3::RocketfuelTopologyReader::Read() [member function] - cls.add_method('Read', - 'ns3::NodeContainer', - [], - is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_uan.py b/bindings/python/apidefs/gcc-LP64/ns3_module_uan.py deleted file mode 100644 index 319b8c499..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_uan.py +++ /dev/null @@ -1,2912 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## uan-mac-rc.h: ns3::Reservation [class] - module.add_class('Reservation') - ## uan-prop-model.h: ns3::Tap [class] - module.add_class('Tap') - ## uan-address.h: ns3::UanAddress [class] - module.add_class('UanAddress') - ## uan-address.h: ns3::UanAddress [class] - root_module['ns3::UanAddress'].implicitly_converts_to(root_module['ns3::Address']) - ## uan-helper.h: ns3::UanHelper [class] - module.add_class('UanHelper') - ## uan-tx-mode.h: ns3::UanModesList [class] - module.add_class('UanModesList') - ## uan-transducer.h: ns3::UanPacketArrival [class] - module.add_class('UanPacketArrival') - ## uan-prop-model.h: ns3::UanPdp [class] - module.add_class('UanPdp') - ## uan-phy.h: ns3::UanPhyListener [class] - module.add_class('UanPhyListener', allow_subclassing=True) - ## uan-tx-mode.h: ns3::UanTxMode [class] - module.add_class('UanTxMode') - ## uan-tx-mode.h: ns3::UanTxMode::ModulationType [enumeration] - module.add_enum('ModulationType', ['PSK', 'QAM', 'FSK', 'OTHER'], outer_class=root_module['ns3::UanTxMode']) - ## uan-tx-mode.h: ns3::UanTxModeFactory [class] - module.add_class('UanTxModeFactory') - ## acoustic-modem-energy-model-helper.h: ns3::AcousticModemEnergyModelHelper [class] - module.add_class('AcousticModemEnergyModelHelper', parent=root_module['ns3::DeviceEnergyModelHelper']) - ## uan-header-common.h: ns3::UanHeaderCommon [class] - module.add_class('UanHeaderCommon', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcAck [class] - module.add_class('UanHeaderRcAck', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcCts [class] - module.add_class('UanHeaderRcCts', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcCtsGlobal [class] - module.add_class('UanHeaderRcCtsGlobal', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcData [class] - module.add_class('UanHeaderRcData', parent=root_module['ns3::Header']) - ## uan-header-rc.h: ns3::UanHeaderRcRts [class] - module.add_class('UanHeaderRcRts', parent=root_module['ns3::Header']) - ## uan-mac.h: ns3::UanMac [class] - module.add_class('UanMac', parent=root_module['ns3::Object']) - ## uan-mac-aloha.h: ns3::UanMacAloha [class] - module.add_class('UanMacAloha', parent=root_module['ns3::UanMac']) - ## uan-mac-cw.h: ns3::UanMacCw [class] - module.add_class('UanMacCw', parent=[root_module['ns3::UanMac'], root_module['ns3::UanPhyListener']]) - ## uan-mac-rc.h: ns3::UanMacRc [class] - module.add_class('UanMacRc', parent=root_module['ns3::UanMac']) - ## uan-mac-rc.h: ns3::UanMacRc [enumeration] - module.add_enum('', ['TYPE_DATA', 'TYPE_GWPING', 'TYPE_RTS', 'TYPE_CTS', 'TYPE_ACK'], outer_class=root_module['ns3::UanMacRc']) - ## uan-mac-rc-gw.h: ns3::UanMacRcGw [class] - module.add_class('UanMacRcGw', parent=root_module['ns3::UanMac']) - ## uan-noise-model.h: ns3::UanNoiseModel [class] - module.add_class('UanNoiseModel', parent=root_module['ns3::Object']) - ## uan-noise-model-default.h: ns3::UanNoiseModelDefault [class] - module.add_class('UanNoiseModelDefault', parent=root_module['ns3::UanNoiseModel']) - ## uan-phy.h: ns3::UanPhy [class] - module.add_class('UanPhy', parent=root_module['ns3::Object']) - ## uan-phy.h: ns3::UanPhy::State [enumeration] - module.add_enum('State', ['IDLE', 'CCABUSY', 'RX', 'TX', 'SLEEP'], outer_class=root_module['ns3::UanPhy']) - ## uan-phy.h: ns3::UanPhyCalcSinr [class] - module.add_class('UanPhyCalcSinr', parent=root_module['ns3::Object']) - ## uan-phy-gen.h: ns3::UanPhyCalcSinrDefault [class] - module.add_class('UanPhyCalcSinrDefault', parent=root_module['ns3::UanPhyCalcSinr']) - ## uan-phy-dual.h: ns3::UanPhyCalcSinrDual [class] - module.add_class('UanPhyCalcSinrDual', parent=root_module['ns3::UanPhyCalcSinr']) - ## uan-phy-gen.h: ns3::UanPhyCalcSinrFhFsk [class] - module.add_class('UanPhyCalcSinrFhFsk', parent=root_module['ns3::UanPhyCalcSinr']) - ## uan-phy-dual.h: ns3::UanPhyDual [class] - module.add_class('UanPhyDual', parent=root_module['ns3::UanPhy']) - ## uan-phy-gen.h: ns3::UanPhyGen [class] - module.add_class('UanPhyGen', parent=root_module['ns3::UanPhy']) - ## uan-phy.h: ns3::UanPhyPer [class] - module.add_class('UanPhyPer', parent=root_module['ns3::Object']) - ## uan-phy-gen.h: ns3::UanPhyPerGenDefault [class] - module.add_class('UanPhyPerGenDefault', parent=root_module['ns3::UanPhyPer']) - ## uan-phy-gen.h: ns3::UanPhyPerUmodem [class] - module.add_class('UanPhyPerUmodem', parent=root_module['ns3::UanPhyPer']) - ## uan-prop-model.h: ns3::UanPropModel [class] - module.add_class('UanPropModel', parent=root_module['ns3::Object']) - ## uan-prop-model-ideal.h: ns3::UanPropModelIdeal [class] - module.add_class('UanPropModelIdeal', parent=root_module['ns3::UanPropModel']) - ## uan-prop-model-thorp.h: ns3::UanPropModelThorp [class] - module.add_class('UanPropModelThorp', parent=root_module['ns3::UanPropModel']) - ## uan-transducer.h: ns3::UanTransducer [class] - module.add_class('UanTransducer', parent=root_module['ns3::Object']) - ## uan-transducer.h: ns3::UanTransducer::State [enumeration] - module.add_enum('State', ['TX', 'RX'], outer_class=root_module['ns3::UanTransducer']) - ## uan-transducer-hd.h: ns3::UanTransducerHd [class] - module.add_class('UanTransducerHd', parent=root_module['ns3::UanTransducer']) - ## uan-channel.h: ns3::UanChannel [class] - module.add_class('UanChannel', parent=root_module['ns3::Channel']) - ## uan-tx-mode.h: ns3::UanModesListChecker [class] - module.add_class('UanModesListChecker', parent=root_module['ns3::AttributeChecker']) - ## uan-tx-mode.h: ns3::UanModesListValue [class] - module.add_class('UanModesListValue', parent=root_module['ns3::AttributeValue']) - ## uan-net-device.h: ns3::UanNetDevice [class] - module.add_class('UanNetDevice', parent=root_module['ns3::NetDevice']) - ## acoustic-modem-energy-model.h: ns3::AcousticModemEnergyModel [class] - module.add_class('AcousticModemEnergyModel', parent=root_module['ns3::DeviceEnergyModel']) - module.add_container('std::vector< ns3::Tap >', 'ns3::Tap', container_type='vector') - module.add_container('std::list< ns3::UanPacketArrival >', 'ns3::UanPacketArrival', container_type='list') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Reservation_methods(root_module, root_module['ns3::Reservation']) - register_Ns3Tap_methods(root_module, root_module['ns3::Tap']) - register_Ns3UanAddress_methods(root_module, root_module['ns3::UanAddress']) - register_Ns3UanHelper_methods(root_module, root_module['ns3::UanHelper']) - register_Ns3UanModesList_methods(root_module, root_module['ns3::UanModesList']) - register_Ns3UanPacketArrival_methods(root_module, root_module['ns3::UanPacketArrival']) - register_Ns3UanPdp_methods(root_module, root_module['ns3::UanPdp']) - register_Ns3UanPhyListener_methods(root_module, root_module['ns3::UanPhyListener']) - register_Ns3UanTxMode_methods(root_module, root_module['ns3::UanTxMode']) - register_Ns3UanTxModeFactory_methods(root_module, root_module['ns3::UanTxModeFactory']) - register_Ns3AcousticModemEnergyModelHelper_methods(root_module, root_module['ns3::AcousticModemEnergyModelHelper']) - register_Ns3UanHeaderCommon_methods(root_module, root_module['ns3::UanHeaderCommon']) - register_Ns3UanHeaderRcAck_methods(root_module, root_module['ns3::UanHeaderRcAck']) - register_Ns3UanHeaderRcCts_methods(root_module, root_module['ns3::UanHeaderRcCts']) - register_Ns3UanHeaderRcCtsGlobal_methods(root_module, root_module['ns3::UanHeaderRcCtsGlobal']) - register_Ns3UanHeaderRcData_methods(root_module, root_module['ns3::UanHeaderRcData']) - register_Ns3UanHeaderRcRts_methods(root_module, root_module['ns3::UanHeaderRcRts']) - register_Ns3UanMac_methods(root_module, root_module['ns3::UanMac']) - register_Ns3UanMacAloha_methods(root_module, root_module['ns3::UanMacAloha']) - register_Ns3UanMacCw_methods(root_module, root_module['ns3::UanMacCw']) - register_Ns3UanMacRc_methods(root_module, root_module['ns3::UanMacRc']) - register_Ns3UanMacRcGw_methods(root_module, root_module['ns3::UanMacRcGw']) - register_Ns3UanNoiseModel_methods(root_module, root_module['ns3::UanNoiseModel']) - register_Ns3UanNoiseModelDefault_methods(root_module, root_module['ns3::UanNoiseModelDefault']) - register_Ns3UanPhy_methods(root_module, root_module['ns3::UanPhy']) - register_Ns3UanPhyCalcSinr_methods(root_module, root_module['ns3::UanPhyCalcSinr']) - register_Ns3UanPhyCalcSinrDefault_methods(root_module, root_module['ns3::UanPhyCalcSinrDefault']) - register_Ns3UanPhyCalcSinrDual_methods(root_module, root_module['ns3::UanPhyCalcSinrDual']) - register_Ns3UanPhyCalcSinrFhFsk_methods(root_module, root_module['ns3::UanPhyCalcSinrFhFsk']) - register_Ns3UanPhyDual_methods(root_module, root_module['ns3::UanPhyDual']) - register_Ns3UanPhyGen_methods(root_module, root_module['ns3::UanPhyGen']) - register_Ns3UanPhyPer_methods(root_module, root_module['ns3::UanPhyPer']) - register_Ns3UanPhyPerGenDefault_methods(root_module, root_module['ns3::UanPhyPerGenDefault']) - register_Ns3UanPhyPerUmodem_methods(root_module, root_module['ns3::UanPhyPerUmodem']) - register_Ns3UanPropModel_methods(root_module, root_module['ns3::UanPropModel']) - register_Ns3UanPropModelIdeal_methods(root_module, root_module['ns3::UanPropModelIdeal']) - register_Ns3UanPropModelThorp_methods(root_module, root_module['ns3::UanPropModelThorp']) - register_Ns3UanTransducer_methods(root_module, root_module['ns3::UanTransducer']) - register_Ns3UanTransducerHd_methods(root_module, root_module['ns3::UanTransducerHd']) - register_Ns3UanChannel_methods(root_module, root_module['ns3::UanChannel']) - register_Ns3UanModesListChecker_methods(root_module, root_module['ns3::UanModesListChecker']) - register_Ns3UanModesListValue_methods(root_module, root_module['ns3::UanModesListValue']) - register_Ns3UanNetDevice_methods(root_module, root_module['ns3::UanNetDevice']) - register_Ns3AcousticModemEnergyModel_methods(root_module, root_module['ns3::AcousticModemEnergyModel']) - return - -def register_Ns3Reservation_methods(root_module, cls): - ## uan-mac-rc.h: ns3::Reservation::Reservation(ns3::Reservation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Reservation const &', 'arg0')]) - ## uan-mac-rc.h: ns3::Reservation::Reservation() [constructor] - cls.add_constructor([]) - ## uan-mac-rc.h: ns3::Reservation::Reservation(std::list, ns3::UanAddress>, std::allocator, ns3::UanAddress> > > & list, uint8_t frameNo, uint32_t maxPkts=0) [constructor] - cls.add_constructor([param('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress > > &', 'list'), param('uint8_t', 'frameNo'), param('uint32_t', 'maxPkts', default_value='0')]) - ## uan-mac-rc.h: void ns3::Reservation::AddTimestamp(ns3::Time t) [member function] - cls.add_method('AddTimestamp', - 'void', - [param('ns3::Time', 't')]) - ## uan-mac-rc.h: uint8_t ns3::Reservation::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-mac-rc.h: uint32_t ns3::Reservation::GetLength() const [member function] - cls.add_method('GetLength', - 'uint32_t', - [], - is_const=True) - ## uan-mac-rc.h: uint32_t ns3::Reservation::GetNoFrames() const [member function] - cls.add_method('GetNoFrames', - 'uint32_t', - [], - is_const=True) - ## uan-mac-rc.h: std::list, ns3::UanAddress>, std::allocator, ns3::UanAddress> > > const & ns3::Reservation::GetPktList() const [member function] - cls.add_method('GetPktList', - 'std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress > > const &', - [], - is_const=True) - ## uan-mac-rc.h: uint8_t ns3::Reservation::GetRetryNo() const [member function] - cls.add_method('GetRetryNo', - 'uint8_t', - [], - is_const=True) - ## uan-mac-rc.h: ns3::Time ns3::Reservation::GetTimestamp(uint8_t n) const [member function] - cls.add_method('GetTimestamp', - 'ns3::Time', - [param('uint8_t', 'n')], - is_const=True) - ## uan-mac-rc.h: void ns3::Reservation::IncrementRetry() [member function] - cls.add_method('IncrementRetry', - 'void', - []) - ## uan-mac-rc.h: bool ns3::Reservation::IsTransmitted() const [member function] - cls.add_method('IsTransmitted', - 'bool', - [], - is_const=True) - ## uan-mac-rc.h: void ns3::Reservation::SetFrameNo(uint8_t fn) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'fn')]) - ## uan-mac-rc.h: void ns3::Reservation::SetTransmitted(bool t=true) [member function] - cls.add_method('SetTransmitted', - 'void', - [param('bool', 't', default_value='true')]) - return - -def register_Ns3Tap_methods(root_module, cls): - ## uan-prop-model.h: ns3::Tap::Tap(ns3::Tap const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Tap const &', 'arg0')]) - ## uan-prop-model.h: ns3::Tap::Tap() [constructor] - cls.add_constructor([]) - ## uan-prop-model.h: ns3::Tap::Tap(ns3::Time delay, std::complex amp) [constructor] - cls.add_constructor([param('ns3::Time', 'delay'), param('std::complex< double >', 'amp')]) - ## uan-prop-model.h: std::complex ns3::Tap::GetAmp() const [member function] - cls.add_method('GetAmp', - 'std::complex< double >', - [], - is_const=True) - ## uan-prop-model.h: ns3::Time ns3::Tap::GetDelay() const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [], - is_const=True) - return - -def register_Ns3UanAddress_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - cls.add_binary_comparison_operator('<') - ## uan-address.h: ns3::UanAddress::UanAddress(ns3::UanAddress const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanAddress const &', 'arg0')]) - ## uan-address.h: ns3::UanAddress::UanAddress() [constructor] - cls.add_constructor([]) - ## uan-address.h: ns3::UanAddress::UanAddress(uint8_t addr) [constructor] - cls.add_constructor([param('uint8_t', 'addr')]) - ## uan-address.h: static ns3::UanAddress ns3::UanAddress::Allocate() [member function] - cls.add_method('Allocate', - 'ns3::UanAddress', - [], - is_static=True) - ## uan-address.h: static ns3::UanAddress ns3::UanAddress::ConvertFrom(ns3::Address const & address) [member function] - cls.add_method('ConvertFrom', - 'ns3::UanAddress', - [param('ns3::Address const &', 'address')], - is_static=True) - ## uan-address.h: void ns3::UanAddress::CopyFrom(uint8_t const * pBuffer) [member function] - cls.add_method('CopyFrom', - 'void', - [param('uint8_t const *', 'pBuffer')]) - ## uan-address.h: void ns3::UanAddress::CopyTo(uint8_t * pBuffer) [member function] - cls.add_method('CopyTo', - 'void', - [param('uint8_t *', 'pBuffer')]) - ## uan-address.h: uint8_t ns3::UanAddress::GetAsInt() const [member function] - cls.add_method('GetAsInt', - 'uint8_t', - [], - is_const=True) - ## uan-address.h: static ns3::UanAddress ns3::UanAddress::GetBroadcast() [member function] - cls.add_method('GetBroadcast', - 'ns3::UanAddress', - [], - is_static=True) - ## uan-address.h: static bool ns3::UanAddress::IsMatchingType(ns3::Address const & address) [member function] - cls.add_method('IsMatchingType', - 'bool', - [param('ns3::Address const &', 'address')], - is_static=True) - return - -def register_Ns3UanHelper_methods(root_module, cls): - ## uan-helper.h: ns3::UanHelper::UanHelper(ns3::UanHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHelper const &', 'arg0')]) - ## uan-helper.h: ns3::UanHelper::UanHelper() [constructor] - cls.add_constructor([]) - ## uan-helper.h: static void ns3::UanHelper::EnableAscii(std::ostream & os, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')], - is_static=True) - ## uan-helper.h: static void ns3::UanHelper::EnableAscii(std::ostream & os, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('ns3::NetDeviceContainer', 'd')], - is_static=True) - ## uan-helper.h: static void ns3::UanHelper::EnableAscii(std::ostream & os, ns3::NodeContainer n) [member function] - cls.add_method('EnableAscii', - 'void', - [param('std::ostream &', 'os'), param('ns3::NodeContainer', 'n')], - is_static=True) - ## uan-helper.h: static void ns3::UanHelper::EnableAsciiAll(std::ostream & os) [member function] - cls.add_method('EnableAsciiAll', - 'void', - [param('std::ostream &', 'os')], - is_static=True) - ## uan-helper.h: ns3::NetDeviceContainer ns3::UanHelper::Install(ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c')], - is_const=True) - ## uan-helper.h: ns3::NetDeviceContainer ns3::UanHelper::Install(ns3::NodeContainer c, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_const=True) - ## uan-helper.h: ns3::Ptr ns3::UanHelper::Install(ns3::Ptr node, ns3::Ptr channel) const [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::UanNetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_const=True) - ## uan-helper.h: void ns3::UanHelper::SetMac(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetMac', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## uan-helper.h: void ns3::UanHelper::SetPhy(std::string phyType, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPhy', - 'void', - [param('std::string', 'phyType'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## uan-helper.h: void ns3::UanHelper::SetTransducer(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetTransducer', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - return - -def register_Ns3UanModesList_methods(root_module, cls): - cls.add_output_stream_operator() - ## uan-tx-mode.h: ns3::UanModesList::UanModesList(ns3::UanModesList const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanModesList const &', 'arg0')]) - ## uan-tx-mode.h: ns3::UanModesList::UanModesList() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: void ns3::UanModesList::AppendMode(ns3::UanTxMode mode) [member function] - cls.add_method('AppendMode', - 'void', - [param('ns3::UanTxMode', 'mode')]) - ## uan-tx-mode.h: void ns3::UanModesList::DeleteMode(uint32_t num) [member function] - cls.add_method('DeleteMode', - 'void', - [param('uint32_t', 'num')]) - ## uan-tx-mode.h: uint32_t ns3::UanModesList::GetNModes() const [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3UanPacketArrival_methods(root_module, cls): - ## uan-transducer.h: ns3::UanPacketArrival::UanPacketArrival(ns3::UanPacketArrival const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPacketArrival const &', 'arg0')]) - ## uan-transducer.h: ns3::UanPacketArrival::UanPacketArrival() [constructor] - cls.add_constructor([]) - ## uan-transducer.h: ns3::UanPacketArrival::UanPacketArrival(ns3::Ptr packet, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp, ns3::Time arrTime) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp'), param('ns3::Time', 'arrTime')]) - ## uan-transducer.h: ns3::Time ns3::UanPacketArrival::GetArrivalTime() const [member function] - cls.add_method('GetArrivalTime', - 'ns3::Time', - [], - is_const=True) - ## uan-transducer.h: ns3::Ptr ns3::UanPacketArrival::GetPacket() const [member function] - cls.add_method('GetPacket', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## uan-transducer.h: ns3::UanPdp ns3::UanPacketArrival::GetPdp() const [member function] - cls.add_method('GetPdp', - 'ns3::UanPdp', - [], - is_const=True) - ## uan-transducer.h: double ns3::UanPacketArrival::GetRxPowerDb() const [member function] - cls.add_method('GetRxPowerDb', - 'double', - [], - is_const=True) - ## uan-transducer.h: ns3::UanTxMode const & ns3::UanPacketArrival::GetTxMode() const [member function] - cls.add_method('GetTxMode', - 'ns3::UanTxMode const &', - [], - is_const=True) - return - -def register_Ns3UanPdp_methods(root_module, cls): - cls.add_output_stream_operator() - ## uan-prop-model.h: ns3::UanPdp::UanPdp(ns3::UanPdp const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPdp const &', 'arg0')]) - ## uan-prop-model.h: ns3::UanPdp::UanPdp() [constructor] - cls.add_constructor([]) - ## uan-prop-model.h: ns3::UanPdp::UanPdp(std::vector > taps, ns3::Time resolution) [constructor] - cls.add_constructor([param('std::vector< ns3::Tap >', 'taps'), param('ns3::Time', 'resolution')]) - ## uan-prop-model.h: ns3::UanPdp::UanPdp(std::vector,std::allocator > > arrivals, ns3::Time resolution) [constructor] - cls.add_constructor([param('std::vector< std::complex< double > >', 'arrivals'), param('ns3::Time', 'resolution')]) - ## uan-prop-model.h: ns3::UanPdp::UanPdp(std::vector > arrivals, ns3::Time resolution) [constructor] - cls.add_constructor([param('std::vector< double >', 'arrivals'), param('ns3::Time', 'resolution')]) - ## uan-prop-model.h: static ns3::UanPdp ns3::UanPdp::CreateImpulsePdp() [member function] - cls.add_method('CreateImpulsePdp', - 'ns3::UanPdp', - [], - is_static=True) - ## uan-prop-model.h: __gnu_cxx::__normal_iterator > > ns3::UanPdp::GetBegin() const [member function] - cls.add_method('GetBegin', - '__gnu_cxx::__normal_iterator< ns3::Tap const *, std::vector< ns3::Tap > >', - [], - is_const=True) - ## uan-prop-model.h: __gnu_cxx::__normal_iterator > > ns3::UanPdp::GetEnd() const [member function] - cls.add_method('GetEnd', - '__gnu_cxx::__normal_iterator< ns3::Tap const *, std::vector< ns3::Tap > >', - [], - is_const=True) - ## uan-prop-model.h: uint32_t ns3::UanPdp::GetNTaps() const [member function] - cls.add_method('GetNTaps', - 'uint32_t', - [], - is_const=True) - ## uan-prop-model.h: ns3::Time ns3::UanPdp::GetResolution() const [member function] - cls.add_method('GetResolution', - 'ns3::Time', - [], - is_const=True) - ## uan-prop-model.h: ns3::Tap const & ns3::UanPdp::GetTap(uint32_t i) const [member function] - cls.add_method('GetTap', - 'ns3::Tap const &', - [param('uint32_t', 'i')], - is_const=True) - ## uan-prop-model.h: void ns3::UanPdp::SetNTaps(uint32_t nTaps) [member function] - cls.add_method('SetNTaps', - 'void', - [param('uint32_t', 'nTaps')]) - ## uan-prop-model.h: void ns3::UanPdp::SetResolution(ns3::Time resolution) [member function] - cls.add_method('SetResolution', - 'void', - [param('ns3::Time', 'resolution')]) - ## uan-prop-model.h: void ns3::UanPdp::SetTap(std::complex arrival, uint32_t index) [member function] - cls.add_method('SetTap', - 'void', - [param('std::complex< double >', 'arrival'), param('uint32_t', 'index')]) - ## uan-prop-model.h: std::complex ns3::UanPdp::SumTapsC(ns3::Time begin, ns3::Time end) const [member function] - cls.add_method('SumTapsC', - 'std::complex< double >', - [param('ns3::Time', 'begin'), param('ns3::Time', 'end')], - is_const=True) - ## uan-prop-model.h: std::complex ns3::UanPdp::SumTapsFromMaxC(ns3::Time delay, ns3::Time duration) const [member function] - cls.add_method('SumTapsFromMaxC', - 'std::complex< double >', - [param('ns3::Time', 'delay'), param('ns3::Time', 'duration')], - is_const=True) - ## uan-prop-model.h: double ns3::UanPdp::SumTapsFromMaxNc(ns3::Time delay, ns3::Time duration) const [member function] - cls.add_method('SumTapsFromMaxNc', - 'double', - [param('ns3::Time', 'delay'), param('ns3::Time', 'duration')], - is_const=True) - ## uan-prop-model.h: double ns3::UanPdp::SumTapsNc(ns3::Time begin, ns3::Time end) const [member function] - cls.add_method('SumTapsNc', - 'double', - [param('ns3::Time', 'begin'), param('ns3::Time', 'end')], - is_const=True) - return - -def register_Ns3UanPhyListener_methods(root_module, cls): - ## uan-phy.h: ns3::UanPhyListener::UanPhyListener() [constructor] - cls.add_constructor([]) - ## uan-phy.h: ns3::UanPhyListener::UanPhyListener(ns3::UanPhyListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyListener const &', 'arg0')]) - ## uan-phy.h: void ns3::UanPhyListener::NotifyCcaEnd() [member function] - cls.add_method('NotifyCcaEnd', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyCcaStart() [member function] - cls.add_method('NotifyCcaStart', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyRxEndError() [member function] - cls.add_method('NotifyRxEndError', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyRxEndOk() [member function] - cls.add_method('NotifyRxEndOk', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyRxStart() [member function] - cls.add_method('NotifyRxStart', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyListener::NotifyTxStart(ns3::Time duration) [member function] - cls.add_method('NotifyTxStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanTxMode_methods(root_module, cls): - cls.add_output_stream_operator() - ## uan-tx-mode.h: ns3::UanTxMode::UanTxMode(ns3::UanTxMode const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanTxMode const &', 'arg0')]) - ## uan-tx-mode.h: ns3::UanTxMode::UanTxMode() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetBandwidthHz() const [member function] - cls.add_method('GetBandwidthHz', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetCenterFreqHz() const [member function] - cls.add_method('GetCenterFreqHz', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetConstellationSize() const [member function] - cls.add_method('GetConstellationSize', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetDataRateBps() const [member function] - cls.add_method('GetDataRateBps', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: ns3::UanTxMode::ModulationType ns3::UanTxMode::GetModType() const [member function] - cls.add_method('GetModType', - 'ns3::UanTxMode::ModulationType', - [], - is_const=True) - ## uan-tx-mode.h: std::string ns3::UanTxMode::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetPhyRateSps() const [member function] - cls.add_method('GetPhyRateSps', - 'uint32_t', - [], - is_const=True) - ## uan-tx-mode.h: uint32_t ns3::UanTxMode::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - return - -def register_Ns3UanTxModeFactory_methods(root_module, cls): - ## uan-tx-mode.h: ns3::UanTxModeFactory::UanTxModeFactory(ns3::UanTxModeFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanTxModeFactory const &', 'arg0')]) - ## uan-tx-mode.h: ns3::UanTxModeFactory::UanTxModeFactory() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: static ns3::UanTxMode ns3::UanTxModeFactory::CreateMode(ns3::UanTxMode::ModulationType type, uint32_t dataRateBps, uint32_t phyRateSps, uint32_t cfHz, uint32_t bwHz, uint32_t constSize, std::string name) [member function] - cls.add_method('CreateMode', - 'ns3::UanTxMode', - [param('ns3::UanTxMode::ModulationType', 'type'), param('uint32_t', 'dataRateBps'), param('uint32_t', 'phyRateSps'), param('uint32_t', 'cfHz'), param('uint32_t', 'bwHz'), param('uint32_t', 'constSize'), param('std::string', 'name')], - is_static=True) - ## uan-tx-mode.h: static ns3::UanTxMode ns3::UanTxModeFactory::GetMode(std::string name) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('std::string', 'name')], - is_static=True) - ## uan-tx-mode.h: static ns3::UanTxMode ns3::UanTxModeFactory::GetMode(uint32_t uid) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('uint32_t', 'uid')], - is_static=True) - return - -def register_Ns3AcousticModemEnergyModelHelper_methods(root_module, cls): - ## acoustic-modem-energy-model-helper.h: ns3::AcousticModemEnergyModelHelper::AcousticModemEnergyModelHelper(ns3::AcousticModemEnergyModelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AcousticModemEnergyModelHelper const &', 'arg0')]) - ## acoustic-modem-energy-model-helper.h: ns3::AcousticModemEnergyModelHelper::AcousticModemEnergyModelHelper() [constructor] - cls.add_constructor([]) - ## acoustic-modem-energy-model-helper.h: void ns3::AcousticModemEnergyModelHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')], - is_virtual=True) - ## acoustic-modem-energy-model-helper.h: void ns3::AcousticModemEnergyModelHelper::SetDepletionCallback(ns3::Callback callback) [member function] - cls.add_method('SetDepletionCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## acoustic-modem-energy-model-helper.h: ns3::Ptr ns3::AcousticModemEnergyModelHelper::DoInstall(ns3::Ptr device, ns3::Ptr source) const [member function] - cls.add_method('DoInstall', - 'ns3::Ptr< ns3::DeviceEnergyModel >', - [param('ns3::Ptr< ns3::NetDevice >', 'device'), param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3UanHeaderCommon_methods(root_module, cls): - ## uan-header-common.h: ns3::UanHeaderCommon::UanHeaderCommon(ns3::UanHeaderCommon const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderCommon const &', 'arg0')]) - ## uan-header-common.h: ns3::UanHeaderCommon::UanHeaderCommon() [constructor] - cls.add_constructor([]) - ## uan-header-common.h: ns3::UanHeaderCommon::UanHeaderCommon(ns3::UanAddress const src, ns3::UanAddress const dest, uint8_t type) [constructor] - cls.add_constructor([param('ns3::UanAddress const', 'src'), param('ns3::UanAddress const', 'dest'), param('uint8_t', 'type')]) - ## uan-header-common.h: uint32_t ns3::UanHeaderCommon::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-common.h: ns3::UanAddress ns3::UanHeaderCommon::GetDest() const [member function] - cls.add_method('GetDest', - 'ns3::UanAddress', - [], - is_const=True) - ## uan-header-common.h: ns3::TypeId ns3::UanHeaderCommon::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-common.h: uint32_t ns3::UanHeaderCommon::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-common.h: ns3::UanAddress ns3::UanHeaderCommon::GetSrc() const [member function] - cls.add_method('GetSrc', - 'ns3::UanAddress', - [], - is_const=True) - ## uan-header-common.h: uint8_t ns3::UanHeaderCommon::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## uan-header-common.h: static ns3::TypeId ns3::UanHeaderCommon::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-common.h: void ns3::UanHeaderCommon::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-common.h: void ns3::UanHeaderCommon::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-common.h: void ns3::UanHeaderCommon::SetDest(ns3::UanAddress dest) [member function] - cls.add_method('SetDest', - 'void', - [param('ns3::UanAddress', 'dest')]) - ## uan-header-common.h: void ns3::UanHeaderCommon::SetSrc(ns3::UanAddress src) [member function] - cls.add_method('SetSrc', - 'void', - [param('ns3::UanAddress', 'src')]) - ## uan-header-common.h: void ns3::UanHeaderCommon::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3UanHeaderRcAck_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcAck::UanHeaderRcAck(ns3::UanHeaderRcAck const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcAck const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcAck::UanHeaderRcAck() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: void ns3::UanHeaderRcAck::AddNackedFrame(uint8_t frame) [member function] - cls.add_method('AddNackedFrame', - 'void', - [param('uint8_t', 'frame')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcAck::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcAck::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcAck::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: std::set, std::allocator > const & ns3::UanHeaderRcAck::GetNackedFrames() const [member function] - cls.add_method('GetNackedFrames', - 'std::set< unsigned char > const &', - [], - is_const=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcAck::GetNoNacks() const [member function] - cls.add_method('GetNoNacks', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcAck::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcAck::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: void ns3::UanHeaderRcAck::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcAck::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcAck::SetFrameNo(uint8_t frameNo) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'frameNo')]) - return - -def register_Ns3UanHeaderRcCts_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcCts::UanHeaderRcCts(ns3::UanHeaderRcCts const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcCts const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcCts::UanHeaderRcCts() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: ns3::UanHeaderRcCts::UanHeaderRcCts(uint8_t frameNo, uint8_t retryNo, ns3::Time rtsTs, ns3::Time delay, ns3::UanAddress addr) [constructor] - cls.add_constructor([param('uint8_t', 'frameNo'), param('uint8_t', 'retryNo'), param('ns3::Time', 'rtsTs'), param('ns3::Time', 'delay'), param('ns3::UanAddress', 'addr')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcCts::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: ns3::UanAddress ns3::UanHeaderRcCts::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::UanAddress', - [], - is_const=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcCts::GetDelayToTx() const [member function] - cls.add_method('GetDelayToTx', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcCts::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcCts::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcCts::GetRetryNo() const [member function] - cls.add_method('GetRetryNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcCts::GetRtsTimeStamp() const [member function] - cls.add_method('GetRtsTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcCts::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcCts::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetDelayToTx(ns3::Time delay) [member function] - cls.add_method('SetDelayToTx', - 'void', - [param('ns3::Time', 'delay')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetFrameNo(uint8_t frameNo) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'frameNo')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetRetryNo(uint8_t no) [member function] - cls.add_method('SetRetryNo', - 'void', - [param('uint8_t', 'no')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCts::SetRtsTimeStamp(ns3::Time timeStamp) [member function] - cls.add_method('SetRtsTimeStamp', - 'void', - [param('ns3::Time', 'timeStamp')]) - return - -def register_Ns3UanHeaderRcCtsGlobal_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcCtsGlobal::UanHeaderRcCtsGlobal(ns3::UanHeaderRcCtsGlobal const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcCtsGlobal const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcCtsGlobal::UanHeaderRcCtsGlobal() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: ns3::UanHeaderRcCtsGlobal::UanHeaderRcCtsGlobal(ns3::Time wt, ns3::Time ts, uint16_t rate, uint16_t retryRate) [constructor] - cls.add_constructor([param('ns3::Time', 'wt'), param('ns3::Time', 'ts'), param('uint16_t', 'rate'), param('uint16_t', 'retryRate')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcCtsGlobal::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcCtsGlobal::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: uint16_t ns3::UanHeaderRcCtsGlobal::GetRateNum() const [member function] - cls.add_method('GetRateNum', - 'uint16_t', - [], - is_const=True) - ## uan-header-rc.h: uint16_t ns3::UanHeaderRcCtsGlobal::GetRetryRate() const [member function] - cls.add_method('GetRetryRate', - 'uint16_t', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcCtsGlobal::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcCtsGlobal::GetTxTimeStamp() const [member function] - cls.add_method('GetTxTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcCtsGlobal::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcCtsGlobal::GetWindowTime() const [member function] - cls.add_method('GetWindowTime', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::SetRateNum(uint16_t rate) [member function] - cls.add_method('SetRateNum', - 'void', - [param('uint16_t', 'rate')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::SetRetryRate(uint16_t rate) [member function] - cls.add_method('SetRetryRate', - 'void', - [param('uint16_t', 'rate')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::SetTxTimeStamp(ns3::Time timeStamp) [member function] - cls.add_method('SetTxTimeStamp', - 'void', - [param('ns3::Time', 'timeStamp')]) - ## uan-header-rc.h: void ns3::UanHeaderRcCtsGlobal::SetWindowTime(ns3::Time t) [member function] - cls.add_method('SetWindowTime', - 'void', - [param('ns3::Time', 't')]) - return - -def register_Ns3UanHeaderRcData_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcData::UanHeaderRcData(ns3::UanHeaderRcData const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcData const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcData::UanHeaderRcData() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: ns3::UanHeaderRcData::UanHeaderRcData(uint8_t frameNum, ns3::Time propDelay) [constructor] - cls.add_constructor([param('uint8_t', 'frameNum'), param('ns3::Time', 'propDelay')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcData::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcData::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcData::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcData::GetPropDelay() const [member function] - cls.add_method('GetPropDelay', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcData::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcData::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: void ns3::UanHeaderRcData::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcData::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcData::SetFrameNo(uint8_t frameNum) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'frameNum')]) - ## uan-header-rc.h: void ns3::UanHeaderRcData::SetPropDelay(ns3::Time propDelay) [member function] - cls.add_method('SetPropDelay', - 'void', - [param('ns3::Time', 'propDelay')]) - return - -def register_Ns3UanHeaderRcRts_methods(root_module, cls): - ## uan-header-rc.h: ns3::UanHeaderRcRts::UanHeaderRcRts(ns3::UanHeaderRcRts const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanHeaderRcRts const &', 'arg0')]) - ## uan-header-rc.h: ns3::UanHeaderRcRts::UanHeaderRcRts() [constructor] - cls.add_constructor([]) - ## uan-header-rc.h: ns3::UanHeaderRcRts::UanHeaderRcRts(uint8_t frameNo, uint8_t retryNo, uint8_t noFrames, uint16_t length, ns3::Time ts) [constructor] - cls.add_constructor([param('uint8_t', 'frameNo'), param('uint8_t', 'retryNo'), param('uint8_t', 'noFrames'), param('uint16_t', 'length'), param('ns3::Time', 'ts')]) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcRts::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcRts::GetFrameNo() const [member function] - cls.add_method('GetFrameNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: ns3::TypeId ns3::UanHeaderRcRts::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: uint16_t ns3::UanHeaderRcRts::GetLength() const [member function] - cls.add_method('GetLength', - 'uint16_t', - [], - is_const=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcRts::GetNoFrames() const [member function] - cls.add_method('GetNoFrames', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: uint8_t ns3::UanHeaderRcRts::GetRetryNo() const [member function] - cls.add_method('GetRetryNo', - 'uint8_t', - [], - is_const=True) - ## uan-header-rc.h: uint32_t ns3::UanHeaderRcRts::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-header-rc.h: ns3::Time ns3::UanHeaderRcRts::GetTimeStamp() const [member function] - cls.add_method('GetTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## uan-header-rc.h: static ns3::TypeId ns3::UanHeaderRcRts::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetFrameNo(uint8_t fno) [member function] - cls.add_method('SetFrameNo', - 'void', - [param('uint8_t', 'fno')]) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetLength(uint16_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint16_t', 'length')]) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetNoFrames(uint8_t no) [member function] - cls.add_method('SetNoFrames', - 'void', - [param('uint8_t', 'no')]) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetRetryNo(uint8_t no) [member function] - cls.add_method('SetRetryNo', - 'void', - [param('uint8_t', 'no')]) - ## uan-header-rc.h: void ns3::UanHeaderRcRts::SetTimeStamp(ns3::Time timeStamp) [member function] - cls.add_method('SetTimeStamp', - 'void', - [param('ns3::Time', 'timeStamp')]) - return - -def register_Ns3UanMac_methods(root_module, cls): - ## uan-mac.h: ns3::UanMac::UanMac() [constructor] - cls.add_constructor([]) - ## uan-mac.h: ns3::UanMac::UanMac(ns3::UanMac const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMac const &', 'arg0')]) - ## uan-mac.h: void ns3::UanMac::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: void ns3::UanMac::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: bool ns3::UanMac::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: ns3::Address ns3::UanMac::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: ns3::Address ns3::UanMac::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-mac.h: void ns3::UanMac::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_pure_virtual=True, is_virtual=True) - ## uan-mac.h: void ns3::UanMac::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanMacAloha_methods(root_module, cls): - ## uan-mac-aloha.h: ns3::UanMacAloha::UanMacAloha(ns3::UanMacAloha const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMacAloha const &', 'arg0')]) - ## uan-mac-aloha.h: ns3::UanMacAloha::UanMacAloha() [constructor] - cls.add_constructor([]) - ## uan-mac-aloha.h: void ns3::UanMacAloha::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_virtual=True) - ## uan-mac-aloha.h: void ns3::UanMacAloha::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-mac-aloha.h: bool ns3::UanMacAloha::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-mac-aloha.h: ns3::Address ns3::UanMacAloha::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_virtual=True) - ## uan-mac-aloha.h: ns3::Address ns3::UanMacAloha::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-mac-aloha.h: static ns3::TypeId ns3::UanMacAloha::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-mac-aloha.h: void ns3::UanMacAloha::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_virtual=True) - ## uan-mac-aloha.h: void ns3::UanMacAloha::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-mac-aloha.h: void ns3::UanMacAloha::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanMacCw_methods(root_module, cls): - ## uan-mac-cw.h: ns3::UanMacCw::UanMacCw(ns3::UanMacCw const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMacCw const &', 'arg0')]) - ## uan-mac-cw.h: ns3::UanMacCw::UanMacCw() [constructor] - cls.add_constructor([]) - ## uan-mac-cw.h: void ns3::UanMacCw::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: bool ns3::UanMacCw::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-mac-cw.h: ns3::Address ns3::UanMacCw::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_virtual=True) - ## uan-mac-cw.h: ns3::Address ns3::UanMacCw::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-mac-cw.h: uint32_t ns3::UanMacCw::GetCw() [member function] - cls.add_method('GetCw', - 'uint32_t', - [], - is_virtual=True) - ## uan-mac-cw.h: ns3::Time ns3::UanMacCw::GetSlotTime() [member function] - cls.add_method('GetSlotTime', - 'ns3::Time', - [], - is_virtual=True) - ## uan-mac-cw.h: static ns3::TypeId ns3::UanMacCw::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyCcaEnd() [member function] - cls.add_method('NotifyCcaEnd', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyCcaStart() [member function] - cls.add_method('NotifyCcaStart', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyRxEndError() [member function] - cls.add_method('NotifyRxEndError', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyRxEndOk() [member function] - cls.add_method('NotifyRxEndOk', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyRxStart() [member function] - cls.add_method('NotifyRxStart', - 'void', - [], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::NotifyTxStart(ns3::Time duration) [member function] - cls.add_method('NotifyTxStart', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::SetCw(uint32_t cw) [member function] - cls.add_method('SetCw', - 'void', - [param('uint32_t', 'cw')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::SetSlotTime(ns3::Time duration) [member function] - cls.add_method('SetSlotTime', - 'void', - [param('ns3::Time', 'duration')], - is_virtual=True) - ## uan-mac-cw.h: void ns3::UanMacCw::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanMacRc_methods(root_module, cls): - ## uan-mac-rc.h: ns3::UanMacRc::UanMacRc(ns3::UanMacRc const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMacRc const &', 'arg0')]) - ## uan-mac-rc.h: ns3::UanMacRc::UanMacRc() [constructor] - cls.add_constructor([]) - ## uan-mac-rc.h: void ns3::UanMacRc::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_virtual=True) - ## uan-mac-rc.h: void ns3::UanMacRc::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-mac-rc.h: bool ns3::UanMacRc::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-mac-rc.h: ns3::Address ns3::UanMacRc::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_virtual=True) - ## uan-mac-rc.h: ns3::Address ns3::UanMacRc::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-mac-rc.h: static ns3::TypeId ns3::UanMacRc::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-mac-rc.h: void ns3::UanMacRc::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_virtual=True) - ## uan-mac-rc.h: void ns3::UanMacRc::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-mac-rc.h: void ns3::UanMacRc::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanMacRcGw_methods(root_module, cls): - ## uan-mac-rc-gw.h: ns3::UanMacRcGw::UanMacRcGw(ns3::UanMacRcGw const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanMacRcGw const &', 'arg0')]) - ## uan-mac-rc-gw.h: ns3::UanMacRcGw::UanMacRcGw() [constructor] - cls.add_constructor([]) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::AttachPhy(ns3::Ptr phy) [member function] - cls.add_method('AttachPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_virtual=True) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-mac-rc-gw.h: bool ns3::UanMacRcGw::Enqueue(ns3::Ptr pkt, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-mac-rc-gw.h: ns3::Address ns3::UanMacRcGw::GetAddress() [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_virtual=True) - ## uan-mac-rc-gw.h: ns3::Address ns3::UanMacRcGw::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-mac-rc-gw.h: static ns3::TypeId ns3::UanMacRcGw::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::SetAddress(ns3::UanAddress addr) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::UanAddress', 'addr')], - is_virtual=True) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::SetForwardUpCb(ns3::Callback, ns3::UanAddress const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetForwardUpCb', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::UanAddress const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-mac-rc-gw.h: void ns3::UanMacRcGw::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanNoiseModel_methods(root_module, cls): - ## uan-noise-model.h: ns3::UanNoiseModel::UanNoiseModel() [constructor] - cls.add_constructor([]) - ## uan-noise-model.h: ns3::UanNoiseModel::UanNoiseModel(ns3::UanNoiseModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanNoiseModel const &', 'arg0')]) - ## uan-noise-model.h: void ns3::UanNoiseModel::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-noise-model.h: void ns3::UanNoiseModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## uan-noise-model.h: double ns3::UanNoiseModel::GetNoiseDbHz(double fKhz) const [member function] - cls.add_method('GetNoiseDbHz', - 'double', - [param('double', 'fKhz')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3UanNoiseModelDefault_methods(root_module, cls): - ## uan-noise-model-default.h: ns3::UanNoiseModelDefault::UanNoiseModelDefault(ns3::UanNoiseModelDefault const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanNoiseModelDefault const &', 'arg0')]) - ## uan-noise-model-default.h: ns3::UanNoiseModelDefault::UanNoiseModelDefault() [constructor] - cls.add_constructor([]) - ## uan-noise-model-default.h: double ns3::UanNoiseModelDefault::GetNoiseDbHz(double fKhz) const [member function] - cls.add_method('GetNoiseDbHz', - 'double', - [param('double', 'fKhz')], - is_const=True, is_virtual=True) - ## uan-noise-model-default.h: static ns3::TypeId ns3::UanNoiseModelDefault::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhy_methods(root_module, cls): - ## uan-phy.h: ns3::UanPhy::UanPhy() [constructor] - cls.add_constructor([]) - ## uan-phy.h: ns3::UanPhy::UanPhy(ns3::UanPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhy const &', 'arg0')]) - ## uan-phy.h: void ns3::UanPhy::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::EnergyDepletionHandler() [member function] - cls.add_method('EnergyDepletionHandler', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: double ns3::UanPhy::GetCcaThresholdDb() [member function] - cls.add_method('GetCcaThresholdDb', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: ns3::Ptr ns3::UanPhy::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-phy.h: ns3::Ptr ns3::UanPhy::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::UanNetDevice >', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: ns3::UanTxMode ns3::UanPhy::GetMode(uint32_t n) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('uint32_t', 'n')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: uint32_t ns3::UanPhy::GetNModes() [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: ns3::Ptr ns3::UanPhy::GetPacketRx() const [member function] - cls.add_method('GetPacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-phy.h: double ns3::UanPhy::GetRxGainDb() [member function] - cls.add_method('GetRxGainDb', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: double ns3::UanPhy::GetRxThresholdDb() [member function] - cls.add_method('GetRxThresholdDb', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: ns3::Ptr ns3::UanPhy::GetTransducer() [member function] - cls.add_method('GetTransducer', - 'ns3::Ptr< ns3::UanTransducer >', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: double ns3::UanPhy::GetTxPowerDb() [member function] - cls.add_method('GetTxPowerDb', - 'double', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateSleep() [member function] - cls.add_method('IsStateSleep', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: bool ns3::UanPhy::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::NotifyIntChange() [member function] - cls.add_method('NotifyIntChange', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::NotifyTransStartTx(ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('NotifyTransStartTx', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::RegisterListener(ns3::UanPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::UanPhyListener *', 'listener')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SendPacket(ns3::Ptr pkt, uint32_t modeNum) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('uint32_t', 'modeNum')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetCcaThresholdDb(double thresh) [member function] - cls.add_method('SetCcaThresholdDb', - 'void', - [param('double', 'thresh')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::UanNetDevice >', 'device')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetEnergyModelCallback(ns3::Callback callback) [member function] - cls.add_method('SetEnergyModelCallback', - 'void', - [param('ns3::Callback< void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::UanMac >', 'mac')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetReceiveErrorCallback(ns3::Callback, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetReceiveOkCallback(ns3::Callback, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetRxGainDb(double gain) [member function] - cls.add_method('SetRxGainDb', - 'void', - [param('double', 'gain')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetRxThresholdDb(double thresh) [member function] - cls.add_method('SetRxThresholdDb', - 'void', - [param('double', 'thresh')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetTransducer(ns3::Ptr trans) [member function] - cls.add_method('SetTransducer', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'trans')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::SetTxPowerDb(double txpwr) [member function] - cls.add_method('SetTxPowerDb', - 'void', - [param('double', 'txpwr')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhy::StartRxPacket(ns3::Ptr pkt, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('StartRxPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanPhyCalcSinr_methods(root_module, cls): - ## uan-phy.h: ns3::UanPhyCalcSinr::UanPhyCalcSinr() [constructor] - cls.add_constructor([]) - ## uan-phy.h: ns3::UanPhyCalcSinr::UanPhyCalcSinr(ns3::UanPhyCalcSinr const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyCalcSinr const &', 'arg0')]) - ## uan-phy.h: double ns3::UanPhyCalcSinr::CalcSinrDb(ns3::Ptr pkt, ns3::Time arrTime, double rxPowerDb, double ambNoiseDb, ns3::UanTxMode mode, ns3::UanPdp pdp, std::list > const & arrivalList) const [member function] - cls.add_method('CalcSinrDb', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Time', 'arrTime'), param('double', 'rxPowerDb'), param('double', 'ambNoiseDb'), param('ns3::UanTxMode', 'mode'), param('ns3::UanPdp', 'pdp'), param('std::list< ns3::UanPacketArrival > const &', 'arrivalList')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyCalcSinr::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-phy.h: double ns3::UanPhyCalcSinr::DbToKp(double db) const [member function] - cls.add_method('DbToKp', - 'double', - [param('double', 'db')], - is_const=True) - ## uan-phy.h: void ns3::UanPhyCalcSinr::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## uan-phy.h: double ns3::UanPhyCalcSinr::KpToDb(double kp) const [member function] - cls.add_method('KpToDb', - 'double', - [param('double', 'kp')], - is_const=True) - return - -def register_Ns3UanPhyCalcSinrDefault_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyCalcSinrDefault::UanPhyCalcSinrDefault(ns3::UanPhyCalcSinrDefault const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyCalcSinrDefault const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyCalcSinrDefault::UanPhyCalcSinrDefault() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: double ns3::UanPhyCalcSinrDefault::CalcSinrDb(ns3::Ptr pkt, ns3::Time arrTime, double rxPowerDb, double ambNoiseDb, ns3::UanTxMode mode, ns3::UanPdp pdp, std::list > const & arrivalList) const [member function] - cls.add_method('CalcSinrDb', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Time', 'arrTime'), param('double', 'rxPowerDb'), param('double', 'ambNoiseDb'), param('ns3::UanTxMode', 'mode'), param('ns3::UanPdp', 'pdp'), param('std::list< ns3::UanPacketArrival > const &', 'arrivalList')], - is_const=True, is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyCalcSinrDefault::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhyCalcSinrDual_methods(root_module, cls): - ## uan-phy-dual.h: ns3::UanPhyCalcSinrDual::UanPhyCalcSinrDual(ns3::UanPhyCalcSinrDual const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyCalcSinrDual const &', 'arg0')]) - ## uan-phy-dual.h: ns3::UanPhyCalcSinrDual::UanPhyCalcSinrDual() [constructor] - cls.add_constructor([]) - ## uan-phy-dual.h: double ns3::UanPhyCalcSinrDual::CalcSinrDb(ns3::Ptr pkt, ns3::Time arrTime, double rxPowerDb, double ambNoiseDb, ns3::UanTxMode mode, ns3::UanPdp pdp, std::list > const & arrivalList) const [member function] - cls.add_method('CalcSinrDb', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Time', 'arrTime'), param('double', 'rxPowerDb'), param('double', 'ambNoiseDb'), param('ns3::UanTxMode', 'mode'), param('ns3::UanPdp', 'pdp'), param('std::list< ns3::UanPacketArrival > const &', 'arrivalList')], - is_const=True, is_virtual=True) - ## uan-phy-dual.h: static ns3::TypeId ns3::UanPhyCalcSinrDual::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhyCalcSinrFhFsk_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyCalcSinrFhFsk::UanPhyCalcSinrFhFsk(ns3::UanPhyCalcSinrFhFsk const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyCalcSinrFhFsk const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyCalcSinrFhFsk::UanPhyCalcSinrFhFsk() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: double ns3::UanPhyCalcSinrFhFsk::CalcSinrDb(ns3::Ptr pkt, ns3::Time arrTime, double rxPowerDb, double ambNoiseDb, ns3::UanTxMode mode, ns3::UanPdp pdp, std::list > const & arrivalList) const [member function] - cls.add_method('CalcSinrDb', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::Time', 'arrTime'), param('double', 'rxPowerDb'), param('double', 'ambNoiseDb'), param('ns3::UanTxMode', 'mode'), param('ns3::UanPdp', 'pdp'), param('std::list< ns3::UanPacketArrival > const &', 'arrivalList')], - is_const=True, is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyCalcSinrFhFsk::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhyDual_methods(root_module, cls): - ## uan-phy-dual.h: ns3::UanPhyDual::UanPhyDual(ns3::UanPhyDual const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyDual const &', 'arg0')]) - ## uan-phy-dual.h: ns3::UanPhyDual::UanPhyDual() [constructor] - cls.add_constructor([]) - ## uan-phy-dual.h: void ns3::UanPhyDual::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::EnergyDepletionHandler() [member function] - cls.add_method('EnergyDepletionHandler', - 'void', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetCcaThresholdDb() [member function] - cls.add_method('GetCcaThresholdDb', - 'double', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetCcaThresholdPhy1() const [member function] - cls.add_method('GetCcaThresholdPhy1', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetCcaThresholdPhy2() const [member function] - cls.add_method('GetCcaThresholdPhy2', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_const=True, is_virtual=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::UanNetDevice >', - [], - is_virtual=True) - ## uan-phy-dual.h: ns3::UanTxMode ns3::UanPhyDual::GetMode(uint32_t n) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('uint32_t', 'n')], - is_virtual=True) - ## uan-phy-dual.h: ns3::UanModesList ns3::UanPhyDual::GetModesPhy1() const [member function] - cls.add_method('GetModesPhy1', - 'ns3::UanModesList', - [], - is_const=True) - ## uan-phy-dual.h: ns3::UanModesList ns3::UanPhyDual::GetModesPhy2() const [member function] - cls.add_method('GetModesPhy2', - 'ns3::UanModesList', - [], - is_const=True) - ## uan-phy-dual.h: uint32_t ns3::UanPhyDual::GetNModes() [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_virtual=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPacketRx() const [member function] - cls.add_method('GetPacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True, is_virtual=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPerModelPhy1() const [member function] - cls.add_method('GetPerModelPhy1', - 'ns3::Ptr< ns3::UanPhyPer >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPerModelPhy2() const [member function] - cls.add_method('GetPerModelPhy2', - 'ns3::Ptr< ns3::UanPhyPer >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPhy1PacketRx() const [member function] - cls.add_method('GetPhy1PacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetPhy2PacketRx() const [member function] - cls.add_method('GetPhy2PacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetRxGainDb() [member function] - cls.add_method('GetRxGainDb', - 'double', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetRxGainDbPhy1() const [member function] - cls.add_method('GetRxGainDbPhy1', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetRxGainDbPhy2() const [member function] - cls.add_method('GetRxGainDbPhy2', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetRxThresholdDb() [member function] - cls.add_method('GetRxThresholdDb', - 'double', - [], - is_virtual=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetSinrModelPhy1() const [member function] - cls.add_method('GetSinrModelPhy1', - 'ns3::Ptr< ns3::UanPhyCalcSinr >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetSinrModelPhy2() const [member function] - cls.add_method('GetSinrModelPhy2', - 'ns3::Ptr< ns3::UanPhyCalcSinr >', - [], - is_const=True) - ## uan-phy-dual.h: ns3::Ptr ns3::UanPhyDual::GetTransducer() [member function] - cls.add_method('GetTransducer', - 'ns3::Ptr< ns3::UanTransducer >', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetTxPowerDb() [member function] - cls.add_method('GetTxPowerDb', - 'double', - [], - is_virtual=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetTxPowerDbPhy1() const [member function] - cls.add_method('GetTxPowerDbPhy1', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: double ns3::UanPhyDual::GetTxPowerDbPhy2() const [member function] - cls.add_method('GetTxPowerDbPhy2', - 'double', - [], - is_const=True) - ## uan-phy-dual.h: static ns3::TypeId ns3::UanPhyDual::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy1Idle() [member function] - cls.add_method('IsPhy1Idle', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy1Rx() [member function] - cls.add_method('IsPhy1Rx', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy1Tx() [member function] - cls.add_method('IsPhy1Tx', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy2Idle() [member function] - cls.add_method('IsPhy2Idle', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy2Rx() [member function] - cls.add_method('IsPhy2Rx', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsPhy2Tx() [member function] - cls.add_method('IsPhy2Tx', - 'bool', - []) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateSleep() [member function] - cls.add_method('IsStateSleep', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: bool ns3::UanPhyDual::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::NotifyIntChange() [member function] - cls.add_method('NotifyIntChange', - 'void', - [], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::NotifyTransStartTx(ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('NotifyTransStartTx', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::RegisterListener(ns3::UanPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::UanPhyListener *', 'listener')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SendPacket(ns3::Ptr pkt, uint32_t modeNum) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('uint32_t', 'modeNum')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetCcaThresholdDb(double thresh) [member function] - cls.add_method('SetCcaThresholdDb', - 'void', - [param('double', 'thresh')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetCcaThresholdPhy1(double thresh) [member function] - cls.add_method('SetCcaThresholdPhy1', - 'void', - [param('double', 'thresh')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetCcaThresholdPhy2(double thresh) [member function] - cls.add_method('SetCcaThresholdPhy2', - 'void', - [param('double', 'thresh')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::UanNetDevice >', 'device')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetEnergyModelCallback(ns3::Callback callback) [member function] - cls.add_method('SetEnergyModelCallback', - 'void', - [param('ns3::Callback< void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::UanMac >', 'mac')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetModesPhy1(ns3::UanModesList modes) [member function] - cls.add_method('SetModesPhy1', - 'void', - [param('ns3::UanModesList', 'modes')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetModesPhy2(ns3::UanModesList modes) [member function] - cls.add_method('SetModesPhy2', - 'void', - [param('ns3::UanModesList', 'modes')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetPerModelPhy1(ns3::Ptr per) [member function] - cls.add_method('SetPerModelPhy1', - 'void', - [param('ns3::Ptr< ns3::UanPhyPer >', 'per')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetPerModelPhy2(ns3::Ptr per) [member function] - cls.add_method('SetPerModelPhy2', - 'void', - [param('ns3::Ptr< ns3::UanPhyPer >', 'per')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetReceiveErrorCallback(ns3::Callback, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetReceiveOkCallback(ns3::Callback, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetRxGainDb(double gain) [member function] - cls.add_method('SetRxGainDb', - 'void', - [param('double', 'gain')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetRxGainDbPhy1(double gain) [member function] - cls.add_method('SetRxGainDbPhy1', - 'void', - [param('double', 'gain')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetRxGainDbPhy2(double gain) [member function] - cls.add_method('SetRxGainDbPhy2', - 'void', - [param('double', 'gain')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetRxThresholdDb(double thresh) [member function] - cls.add_method('SetRxThresholdDb', - 'void', - [param('double', 'thresh')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetSinrModelPhy1(ns3::Ptr calcSinr) [member function] - cls.add_method('SetSinrModelPhy1', - 'void', - [param('ns3::Ptr< ns3::UanPhyCalcSinr >', 'calcSinr')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetSinrModelPhy2(ns3::Ptr calcSinr) [member function] - cls.add_method('SetSinrModelPhy2', - 'void', - [param('ns3::Ptr< ns3::UanPhyCalcSinr >', 'calcSinr')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetTransducer(ns3::Ptr trans) [member function] - cls.add_method('SetTransducer', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'trans')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetTxPowerDb(double txpwr) [member function] - cls.add_method('SetTxPowerDb', - 'void', - [param('double', 'txpwr')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetTxPowerDbPhy1(double arg0) [member function] - cls.add_method('SetTxPowerDbPhy1', - 'void', - [param('double', 'arg0')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::SetTxPowerDbPhy2(double arg0) [member function] - cls.add_method('SetTxPowerDbPhy2', - 'void', - [param('double', 'arg0')]) - ## uan-phy-dual.h: void ns3::UanPhyDual::StartRxPacket(ns3::Ptr pkt, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('StartRxPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_virtual=True) - ## uan-phy-dual.h: void ns3::UanPhyDual::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanPhyGen_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyGen::UanPhyGen(ns3::UanPhyGen const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyGen const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyGen::UanPhyGen() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: void ns3::UanPhyGen::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::EnergyDepletionHandler() [member function] - cls.add_method('EnergyDepletionHandler', - 'void', - [], - is_virtual=True) - ## uan-phy-gen.h: double ns3::UanPhyGen::GetCcaThresholdDb() [member function] - cls.add_method('GetCcaThresholdDb', - 'double', - [], - is_virtual=True) - ## uan-phy-gen.h: ns3::Ptr ns3::UanPhyGen::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_const=True, is_virtual=True) - ## uan-phy-gen.h: static ns3::UanModesList ns3::UanPhyGen::GetDefaultModes() [member function] - cls.add_method('GetDefaultModes', - 'ns3::UanModesList', - [], - is_static=True) - ## uan-phy-gen.h: ns3::Ptr ns3::UanPhyGen::GetDevice() [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::UanNetDevice >', - [], - is_virtual=True) - ## uan-phy-gen.h: ns3::UanTxMode ns3::UanPhyGen::GetMode(uint32_t n) [member function] - cls.add_method('GetMode', - 'ns3::UanTxMode', - [param('uint32_t', 'n')], - is_virtual=True) - ## uan-phy-gen.h: uint32_t ns3::UanPhyGen::GetNModes() [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_virtual=True) - ## uan-phy-gen.h: ns3::Ptr ns3::UanPhyGen::GetPacketRx() const [member function] - cls.add_method('GetPacketRx', - 'ns3::Ptr< ns3::Packet >', - [], - is_const=True, is_virtual=True) - ## uan-phy-gen.h: double ns3::UanPhyGen::GetRxGainDb() [member function] - cls.add_method('GetRxGainDb', - 'double', - [], - is_virtual=True) - ## uan-phy-gen.h: double ns3::UanPhyGen::GetRxThresholdDb() [member function] - cls.add_method('GetRxThresholdDb', - 'double', - [], - is_virtual=True) - ## uan-phy-gen.h: ns3::Ptr ns3::UanPhyGen::GetTransducer() [member function] - cls.add_method('GetTransducer', - 'ns3::Ptr< ns3::UanTransducer >', - [], - is_virtual=True) - ## uan-phy-gen.h: double ns3::UanPhyGen::GetTxPowerDb() [member function] - cls.add_method('GetTxPowerDb', - 'double', - [], - is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyGen::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateSleep() [member function] - cls.add_method('IsStateSleep', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: bool ns3::UanPhyGen::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::NotifyIntChange() [member function] - cls.add_method('NotifyIntChange', - 'void', - [], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::NotifyTransStartTx(ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('NotifyTransStartTx', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::RegisterListener(ns3::UanPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::UanPhyListener *', 'listener')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SendPacket(ns3::Ptr pkt, uint32_t modeNum) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('uint32_t', 'modeNum')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetCcaThresholdDb(double thresh) [member function] - cls.add_method('SetCcaThresholdDb', - 'void', - [param('double', 'thresh')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'channel')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::UanNetDevice >', 'device')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetEnergyModelCallback(ns3::Callback cb) [member function] - cls.add_method('SetEnergyModelCallback', - 'void', - [param('ns3::Callback< void, int, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::UanMac >', 'mac')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetReceiveErrorCallback(ns3::Callback, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetReceiveOkCallback(ns3::Callback, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::UanTxMode, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetRxGainDb(double gain) [member function] - cls.add_method('SetRxGainDb', - 'void', - [param('double', 'gain')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetRxThresholdDb(double thresh) [member function] - cls.add_method('SetRxThresholdDb', - 'void', - [param('double', 'thresh')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetTransducer(ns3::Ptr trans) [member function] - cls.add_method('SetTransducer', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'trans')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::SetTxPowerDb(double txpwr) [member function] - cls.add_method('SetTxPowerDb', - 'void', - [param('double', 'txpwr')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::StartRxPacket(ns3::Ptr pkt, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('StartRxPacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_virtual=True) - ## uan-phy-gen.h: void ns3::UanPhyGen::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanPhyPer_methods(root_module, cls): - ## uan-phy.h: ns3::UanPhyPer::UanPhyPer() [constructor] - cls.add_constructor([]) - ## uan-phy.h: ns3::UanPhyPer::UanPhyPer(ns3::UanPhyPer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyPer const &', 'arg0')]) - ## uan-phy.h: double ns3::UanPhyPer::CalcPer(ns3::Ptr pkt, double sinrDb, ns3::UanTxMode mode) [member function] - cls.add_method('CalcPer', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'sinrDb'), param('ns3::UanTxMode', 'mode')], - is_pure_virtual=True, is_virtual=True) - ## uan-phy.h: void ns3::UanPhyPer::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-phy.h: void ns3::UanPhyPer::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - return - -def register_Ns3UanPhyPerGenDefault_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyPerGenDefault::UanPhyPerGenDefault(ns3::UanPhyPerGenDefault const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyPerGenDefault const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyPerGenDefault::UanPhyPerGenDefault() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: double ns3::UanPhyPerGenDefault::CalcPer(ns3::Ptr pkt, double sinrDb, ns3::UanTxMode mode) [member function] - cls.add_method('CalcPer', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'sinrDb'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyPerGenDefault::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPhyPerUmodem_methods(root_module, cls): - ## uan-phy-gen.h: ns3::UanPhyPerUmodem::UanPhyPerUmodem(ns3::UanPhyPerUmodem const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPhyPerUmodem const &', 'arg0')]) - ## uan-phy-gen.h: ns3::UanPhyPerUmodem::UanPhyPerUmodem() [constructor] - cls.add_constructor([]) - ## uan-phy-gen.h: double ns3::UanPhyPerUmodem::CalcPer(ns3::Ptr pkt, double sinrDb, ns3::UanTxMode mode) [member function] - cls.add_method('CalcPer', - 'double', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('double', 'sinrDb'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-phy-gen.h: static ns3::TypeId ns3::UanPhyPerUmodem::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPropModel_methods(root_module, cls): - ## uan-prop-model.h: ns3::UanPropModel::UanPropModel() [constructor] - cls.add_constructor([]) - ## uan-prop-model.h: ns3::UanPropModel::UanPropModel(ns3::UanPropModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPropModel const &', 'arg0')]) - ## uan-prop-model.h: void ns3::UanPropModel::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-prop-model.h: void ns3::UanPropModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## uan-prop-model.h: ns3::Time ns3::UanPropModel::GetDelay(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_pure_virtual=True, is_virtual=True) - ## uan-prop-model.h: double ns3::UanPropModel::GetPathLossDb(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode txMode) [member function] - cls.add_method('GetPathLossDb', - 'double', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - ## uan-prop-model.h: ns3::UanPdp ns3::UanPropModel::GetPdp(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPdp', - 'ns3::UanPdp', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanPropModelIdeal_methods(root_module, cls): - ## uan-prop-model-ideal.h: ns3::UanPropModelIdeal::UanPropModelIdeal(ns3::UanPropModelIdeal const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPropModelIdeal const &', 'arg0')]) - ## uan-prop-model-ideal.h: ns3::UanPropModelIdeal::UanPropModelIdeal() [constructor] - cls.add_constructor([]) - ## uan-prop-model-ideal.h: ns3::Time ns3::UanPropModelIdeal::GetDelay(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-ideal.h: double ns3::UanPropModelIdeal::GetPathLossDb(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPathLossDb', - 'double', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-ideal.h: ns3::UanPdp ns3::UanPropModelIdeal::GetPdp(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPdp', - 'ns3::UanPdp', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-ideal.h: static ns3::TypeId ns3::UanPropModelIdeal::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanPropModelThorp_methods(root_module, cls): - ## uan-prop-model-thorp.h: ns3::UanPropModelThorp::UanPropModelThorp(ns3::UanPropModelThorp const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanPropModelThorp const &', 'arg0')]) - ## uan-prop-model-thorp.h: ns3::UanPropModelThorp::UanPropModelThorp() [constructor] - cls.add_constructor([]) - ## uan-prop-model-thorp.h: ns3::Time ns3::UanPropModelThorp::GetDelay(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-thorp.h: double ns3::UanPropModelThorp::GetPathLossDb(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPathLossDb', - 'double', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-thorp.h: ns3::UanPdp ns3::UanPropModelThorp::GetPdp(ns3::Ptr a, ns3::Ptr b, ns3::UanTxMode mode) [member function] - cls.add_method('GetPdp', - 'ns3::UanPdp', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('ns3::UanTxMode', 'mode')], - is_virtual=True) - ## uan-prop-model-thorp.h: static ns3::TypeId ns3::UanPropModelThorp::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3UanTransducer_methods(root_module, cls): - ## uan-transducer.h: ns3::UanTransducer::UanTransducer() [constructor] - cls.add_constructor([]) - ## uan-transducer.h: ns3::UanTransducer::UanTransducer(ns3::UanTransducer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanTransducer const &', 'arg0')]) - ## uan-transducer.h: void ns3::UanTransducer::AddPhy(ns3::Ptr phy) [member function] - cls.add_method('AddPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')], - is_pure_virtual=True, is_virtual=True) - ## uan-transducer.h: void ns3::UanTransducer::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## uan-transducer.h: std::list > const & ns3::UanTransducer::GetArrivalList() const [member function] - cls.add_method('GetArrivalList', - 'std::list< ns3::UanPacketArrival > const &', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: ns3::Ptr ns3::UanTransducer::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: std::list, std::allocator > > const & ns3::UanTransducer::GetPhyList() const [member function] - cls.add_method('GetPhyList', - 'std::list< ns3::Ptr< ns3::UanPhy > > const &', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: ns3::UanTransducer::State ns3::UanTransducer::GetState() const [member function] - cls.add_method('GetState', - 'ns3::UanTransducer::State', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: bool ns3::UanTransducer::IsRx() const [member function] - cls.add_method('IsRx', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: bool ns3::UanTransducer::IsTx() const [member function] - cls.add_method('IsTx', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## uan-transducer.h: void ns3::UanTransducer::Receive(ns3::Ptr packet, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_pure_virtual=True, is_virtual=True) - ## uan-transducer.h: void ns3::UanTransducer::SetChannel(ns3::Ptr chan) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'chan')], - is_pure_virtual=True, is_virtual=True) - ## uan-transducer.h: void ns3::UanTransducer::Transmit(ns3::Ptr src, ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('Transmit', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'src'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UanTransducerHd_methods(root_module, cls): - ## uan-transducer-hd.h: ns3::UanTransducerHd::UanTransducerHd(ns3::UanTransducerHd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanTransducerHd const &', 'arg0')]) - ## uan-transducer-hd.h: ns3::UanTransducerHd::UanTransducerHd() [constructor] - cls.add_constructor([]) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::AddPhy(ns3::Ptr arg0) [member function] - cls.add_method('AddPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'arg0')], - is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::Clear() [member function] - cls.add_method('Clear', - 'void', - [], - is_virtual=True) - ## uan-transducer-hd.h: std::list > const & ns3::UanTransducerHd::GetArrivalList() const [member function] - cls.add_method('GetArrivalList', - 'std::list< ns3::UanPacketArrival > const &', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: ns3::Ptr ns3::UanTransducerHd::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::UanChannel >', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: std::list, std::allocator > > const & ns3::UanTransducerHd::GetPhyList() const [member function] - cls.add_method('GetPhyList', - 'std::list< ns3::Ptr< ns3::UanPhy > > const &', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: ns3::UanTransducer::State ns3::UanTransducerHd::GetState() const [member function] - cls.add_method('GetState', - 'ns3::UanTransducer::State', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: static ns3::TypeId ns3::UanTransducerHd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-transducer-hd.h: bool ns3::UanTransducerHd::IsRx() const [member function] - cls.add_method('IsRx', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: bool ns3::UanTransducerHd::IsTx() const [member function] - cls.add_method('IsTx', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::Receive(ns3::Ptr packet, double rxPowerDb, ns3::UanTxMode txMode, ns3::UanPdp pdp) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDb'), param('ns3::UanTxMode', 'txMode'), param('ns3::UanPdp', 'pdp')], - is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::SetChannel(ns3::Ptr chan) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'chan')], - is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::Transmit(ns3::Ptr src, ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txMode) [member function] - cls.add_method('Transmit', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'src'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txMode')], - is_virtual=True) - ## uan-transducer-hd.h: void ns3::UanTransducerHd::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanChannel_methods(root_module, cls): - ## uan-channel.h: ns3::UanChannel::UanChannel(ns3::UanChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanChannel const &', 'arg0')]) - ## uan-channel.h: ns3::UanChannel::UanChannel() [constructor] - cls.add_constructor([]) - ## uan-channel.h: void ns3::UanChannel::AddDevice(ns3::Ptr dev, ns3::Ptr trans) [member function] - cls.add_method('AddDevice', - 'void', - [param('ns3::Ptr< ns3::UanNetDevice >', 'dev'), param('ns3::Ptr< ns3::UanTransducer >', 'trans')]) - ## uan-channel.h: void ns3::UanChannel::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## uan-channel.h: ns3::Ptr ns3::UanChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## uan-channel.h: uint32_t ns3::UanChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-channel.h: double ns3::UanChannel::GetNoiseDbHz(double fKhz) [member function] - cls.add_method('GetNoiseDbHz', - 'double', - [param('double', 'fKhz')]) - ## uan-channel.h: static ns3::TypeId ns3::UanChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-channel.h: void ns3::UanChannel::SetNoiseModel(ns3::Ptr noise) [member function] - cls.add_method('SetNoiseModel', - 'void', - [param('ns3::Ptr< ns3::UanNoiseModel >', 'noise')]) - ## uan-channel.h: void ns3::UanChannel::SetPropagationModel(ns3::Ptr prop) [member function] - cls.add_method('SetPropagationModel', - 'void', - [param('ns3::Ptr< ns3::UanPropModel >', 'prop')]) - ## uan-channel.h: void ns3::UanChannel::TxPacket(ns3::Ptr src, ns3::Ptr packet, double txPowerDb, ns3::UanTxMode txmode) [member function] - cls.add_method('TxPacket', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'src'), param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'txPowerDb'), param('ns3::UanTxMode', 'txmode')]) - ## uan-channel.h: void ns3::UanChannel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_Ns3UanModesListChecker_methods(root_module, cls): - ## uan-tx-mode.h: ns3::UanModesListChecker::UanModesListChecker() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: ns3::UanModesListChecker::UanModesListChecker(ns3::UanModesListChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanModesListChecker const &', 'arg0')]) - return - -def register_Ns3UanModesListValue_methods(root_module, cls): - ## uan-tx-mode.h: ns3::UanModesListValue::UanModesListValue() [constructor] - cls.add_constructor([]) - ## uan-tx-mode.h: ns3::UanModesListValue::UanModesListValue(ns3::UanModesListValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanModesListValue const &', 'arg0')]) - ## uan-tx-mode.h: ns3::UanModesListValue::UanModesListValue(ns3::UanModesList const & value) [constructor] - cls.add_constructor([param('ns3::UanModesList const &', 'value')]) - ## uan-tx-mode.h: ns3::Ptr ns3::UanModesListValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## uan-tx-mode.h: bool ns3::UanModesListValue::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) - ## uan-tx-mode.h: ns3::UanModesList ns3::UanModesListValue::Get() const [member function] - cls.add_method('Get', - 'ns3::UanModesList', - [], - is_const=True) - ## uan-tx-mode.h: std::string ns3::UanModesListValue::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) - ## uan-tx-mode.h: void ns3::UanModesListValue::Set(ns3::UanModesList const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::UanModesList const &', 'value')]) - return - -def register_Ns3UanNetDevice_methods(root_module, cls): - ## uan-net-device.h: ns3::UanNetDevice::UanNetDevice(ns3::UanNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UanNetDevice const &', 'arg0')]) - ## uan-net-device.h: ns3::UanNetDevice::UanNetDevice() [constructor] - cls.add_constructor([]) - ## uan-net-device.h: void ns3::UanNetDevice::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')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::Clear() [member function] - cls.add_method('Clear', - 'void', - []) - ## uan-net-device.h: ns3::Address ns3::UanNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Address ns3::UanNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: uint32_t ns3::UanNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetMac() const [member function] - cls.add_method('GetMac', - 'ns3::Ptr< ns3::UanMac >', - [], - is_const=True) - ## uan-net-device.h: uint16_t ns3::UanNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Address ns3::UanNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Address ns3::UanNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::UanPhy >', - [], - is_const=True) - ## uan-net-device.h: ns3::Ptr ns3::UanNetDevice::GetTransducer() const [member function] - cls.add_method('GetTransducer', - 'ns3::Ptr< ns3::UanTransducer >', - [], - is_const=True) - ## uan-net-device.h: static ns3::TypeId ns3::UanNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-net-device.h: bool ns3::UanNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::UanChannel >', 'channel')]) - ## uan-net-device.h: void ns3::UanNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::UanMac >', 'mac')]) - ## uan-net-device.h: bool ns3::UanNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::UanPhy >', 'phy')]) - ## uan-net-device.h: void ns3::UanNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::SetTransducer(ns3::Ptr trans) [member function] - cls.add_method('SetTransducer', - 'void', - [param('ns3::Ptr< ns3::UanTransducer >', 'trans')]) - ## uan-net-device.h: bool ns3::UanNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## uan-net-device.h: void ns3::UanNetDevice::ForwardUp(ns3::Ptr pkt, ns3::UanAddress const & src) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'pkt'), param('ns3::UanAddress const &', 'src')], - visibility='private', is_virtual=True) - return - -def register_Ns3AcousticModemEnergyModel_methods(root_module, cls): - ## acoustic-modem-energy-model.h: ns3::AcousticModemEnergyModel::AcousticModemEnergyModel(ns3::AcousticModemEnergyModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AcousticModemEnergyModel const &', 'arg0')]) - ## acoustic-modem-energy-model.h: ns3::AcousticModemEnergyModel::AcousticModemEnergyModel() [constructor] - cls.add_constructor([]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::ChangeState(int newState) [member function] - cls.add_method('ChangeState', - 'void', - [param('int', 'newState')], - is_virtual=True) - ## acoustic-modem-energy-model.h: int ns3::AcousticModemEnergyModel::GetCurrentState() const [member function] - cls.add_method('GetCurrentState', - 'int', - [], - is_const=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetIdlePowerW() const [member function] - cls.add_method('GetIdlePowerW', - 'double', - [], - is_const=True) - ## acoustic-modem-energy-model.h: ns3::Ptr ns3::AcousticModemEnergyModel::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetRxPowerW() const [member function] - cls.add_method('GetRxPowerW', - 'double', - [], - is_const=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetSleepPowerW() const [member function] - cls.add_method('GetSleepPowerW', - 'double', - [], - is_const=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetTotalEnergyConsumption() const [member function] - cls.add_method('GetTotalEnergyConsumption', - 'double', - [], - is_const=True, is_virtual=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::GetTxPowerW() const [member function] - cls.add_method('GetTxPowerW', - 'double', - [], - is_const=True) - ## acoustic-modem-energy-model.h: static ns3::TypeId ns3::AcousticModemEnergyModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::HandleEnergyDepletion() [member function] - cls.add_method('HandleEnergyDepletion', - 'void', - [], - is_virtual=True) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetEnergyDepletionCallback(ns3::Callback callback) [member function] - cls.add_method('SetEnergyDepletionCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetEnergySource(ns3::Ptr source) [member function] - cls.add_method('SetEnergySource', - 'void', - [param('ns3::Ptr< ns3::EnergySource >', 'source')], - is_virtual=True) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetIdlePowerW(double idlePowerW) [member function] - cls.add_method('SetIdlePowerW', - 'void', - [param('double', 'idlePowerW')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetRxPowerW(double rxPowerW) [member function] - cls.add_method('SetRxPowerW', - 'void', - [param('double', 'rxPowerW')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetSleepPowerW(double sleepPowerW) [member function] - cls.add_method('SetSleepPowerW', - 'void', - [param('double', 'sleepPowerW')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::SetTxPowerW(double txPowerW) [member function] - cls.add_method('SetTxPowerW', - 'void', - [param('double', 'txPowerW')]) - ## acoustic-modem-energy-model.h: void ns3::AcousticModemEnergyModel::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## acoustic-modem-energy-model.h: double ns3::AcousticModemEnergyModel::DoGetCurrentA() const [member function] - cls.add_method('DoGetCurrentA', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## uan-tx-mode.h: extern ns3::Ptr ns3::MakeUanModesListChecker() [free function] - module.add_function('MakeUanModesListChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_virtual_net_device.py b/bindings/python/apidefs/gcc-LP64/ns3_module_virtual_net_device.py deleted file mode 100644 index b02cf7e2b..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_virtual_net_device.py +++ /dev/null @@ -1,299 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## virtual-net-device.h: ns3::VirtualNetDevice [class] - module.add_class('VirtualNetDevice', parent=root_module['ns3::NetDevice']) - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3VirtualNetDevice_methods(root_module, root_module['ns3::VirtualNetDevice']) - return - -def register_Ns3VirtualNetDevice_methods(root_module, cls): - ## virtual-net-device.h: ns3::VirtualNetDevice::VirtualNetDevice(ns3::VirtualNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::VirtualNetDevice const &', 'arg0')]) - ## virtual-net-device.h: ns3::VirtualNetDevice::VirtualNetDevice() [constructor] - cls.add_constructor([]) - ## virtual-net-device.h: void ns3::VirtualNetDevice::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')], - is_virtual=True) - ## virtual-net-device.h: ns3::Address ns3::VirtualNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Address ns3::VirtualNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Ptr ns3::VirtualNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: uint32_t ns3::VirtualNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: uint16_t ns3::VirtualNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Address ns3::VirtualNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Address ns3::VirtualNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## virtual-net-device.h: ns3::Ptr ns3::VirtualNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: static ns3::TypeId ns3::VirtualNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::Receive(ns3::Ptr packet, uint16_t protocol, ns3::Address const & source, ns3::Address const & destination, ns3::NetDevice::PacketType packetType) [member function] - cls.add_method('Receive', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('uint16_t', 'protocol'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'destination'), param('ns3::NetDevice::PacketType', 'packetType')]) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetIsPointToPoint(bool isPointToPoint) [member function] - cls.add_method('SetIsPointToPoint', - 'void', - [param('bool', 'isPointToPoint')]) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetNeedsArp(bool needsArp) [member function] - cls.add_method('SetNeedsArp', - 'void', - [param('bool', 'needsArp')]) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetSendCallback(ns3::Callback, ns3::Address const&, ns3::Address const&, unsigned short, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> transmitCb) [member function] - cls.add_method('SetSendCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::Packet >, ns3::Address const &, ns3::Address const &, unsigned short, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'transmitCb')]) - ## virtual-net-device.h: void ns3::VirtualNetDevice::SetSupportsSendFrom(bool supportsSendFrom) [member function] - cls.add_method('SetSupportsSendFrom', - 'void', - [param('bool', 'supportsSendFrom')]) - ## virtual-net-device.h: bool ns3::VirtualNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## virtual-net-device.h: void ns3::VirtualNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_visualizer.py b/bindings/python/apidefs/gcc-LP64/ns3_module_visualizer.py deleted file mode 100644 index 12e1ce12e..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_visualizer.py +++ /dev/null @@ -1,357 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## pyviz.h: ns3::PyViz [class] - module.add_class('PyViz') - ## pyviz.h: ns3::PyViz::PacketCaptureMode [enumeration] - module.add_enum('PacketCaptureMode', ['PACKET_CAPTURE_DISABLED', 'PACKET_CAPTURE_FILTER_HEADERS_OR', 'PACKET_CAPTURE_FILTER_HEADERS_AND'], outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::LastPacketsSample [struct] - module.add_class('LastPacketsSample', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics [struct] - module.add_class('NetDeviceStatistics', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::NodeStatistics [struct] - module.add_class('NodeStatistics', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions [struct] - module.add_class('PacketCaptureOptions', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::PacketDropSample [struct] - module.add_class('PacketDropSample', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::PacketSample [struct] - module.add_class('PacketSample', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::RxPacketSample [struct] - module.add_class('RxPacketSample', parent=root_module['ns3::PyViz::PacketSample'], outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::TransmissionSample [struct] - module.add_class('TransmissionSample', outer_class=root_module['ns3::PyViz']) - ## pyviz.h: ns3::PyViz::TxPacketSample [struct] - module.add_class('TxPacketSample', parent=root_module['ns3::PyViz::PacketSample'], outer_class=root_module['ns3::PyViz']) - module.add_container('std::vector< ns3::PyViz::RxPacketSample >', 'ns3::PyViz::RxPacketSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::TxPacketSample >', 'ns3::PyViz::TxPacketSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::PacketSample >', 'ns3::PyViz::PacketSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::TransmissionSample >', 'ns3::PyViz::TransmissionSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::PacketDropSample >', 'ns3::PyViz::PacketDropSample', container_type='vector') - module.add_container('std::vector< ns3::PyViz::NetDeviceStatistics >', 'ns3::PyViz::NetDeviceStatistics', container_type='vector') - module.add_container('std::vector< ns3::PyViz::NodeStatistics >', 'ns3::PyViz::NodeStatistics', container_type='vector') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3PyViz_methods(root_module, root_module['ns3::PyViz']) - register_Ns3PyVizLastPacketsSample_methods(root_module, root_module['ns3::PyViz::LastPacketsSample']) - register_Ns3PyVizNetDeviceStatistics_methods(root_module, root_module['ns3::PyViz::NetDeviceStatistics']) - register_Ns3PyVizNodeStatistics_methods(root_module, root_module['ns3::PyViz::NodeStatistics']) - register_Ns3PyVizPacketCaptureOptions_methods(root_module, root_module['ns3::PyViz::PacketCaptureOptions']) - register_Ns3PyVizPacketDropSample_methods(root_module, root_module['ns3::PyViz::PacketDropSample']) - register_Ns3PyVizPacketSample_methods(root_module, root_module['ns3::PyViz::PacketSample']) - register_Ns3PyVizRxPacketSample_methods(root_module, root_module['ns3::PyViz::RxPacketSample']) - register_Ns3PyVizTransmissionSample_methods(root_module, root_module['ns3::PyViz::TransmissionSample']) - register_Ns3PyVizTxPacketSample_methods(root_module, root_module['ns3::PyViz::TxPacketSample']) - return - -def register_Ns3PyViz_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::PyViz(ns3::PyViz const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::PyViz() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::LastPacketsSample ns3::PyViz::GetLastPackets(uint32_t nodeId) const [member function] - cls.add_method('GetLastPackets', - 'ns3::PyViz::LastPacketsSample', - [param('uint32_t', 'nodeId')], - is_const=True) - ## pyviz.h: std::vector > ns3::PyViz::GetNodesStatistics() const [member function] - cls.add_method('GetNodesStatistics', - 'std::vector< ns3::PyViz::NodeStatistics >', - [], - is_const=True) - ## pyviz.h: std::vector > ns3::PyViz::GetPacketDropSamples() const [member function] - cls.add_method('GetPacketDropSamples', - 'std::vector< ns3::PyViz::PacketDropSample >', - [], - is_const=True) - ## pyviz.h: std::vector > ns3::PyViz::GetPauseMessages() const [member function] - cls.add_method('GetPauseMessages', - 'std::vector< std::string >', - [], - is_const=True) - ## pyviz.h: std::vector > ns3::PyViz::GetTransmissionSamples() const [member function] - cls.add_method('GetTransmissionSamples', - 'std::vector< ns3::PyViz::TransmissionSample >', - [], - is_const=True) - ## pyviz.h: static void ns3::PyViz::LineClipping(double boundsX1, double boundsY1, double boundsX2, double boundsY2, double & lineX1, double & lineY1, double & lineX2, double & lineY2) [member function] - cls.add_method('LineClipping', - 'void', - [param('double', 'boundsX1'), param('double', 'boundsY1'), param('double', 'boundsX2'), param('double', 'boundsY2'), param('double &', 'lineX1', direction=3), param('double &', 'lineY1', direction=3), param('double &', 'lineX2', direction=3), param('double &', 'lineY2', direction=3)], - is_static=True) - ## pyviz.h: static void ns3::PyViz::Pause(std::string const & message) [member function] - cls.add_method('Pause', - 'void', - [param('std::string const &', 'message')], - is_static=True) - ## pyviz.h: void ns3::PyViz::RegisterCsmaLikeDevice(std::string const & deviceTypeName) [member function] - cls.add_method('RegisterCsmaLikeDevice', - 'void', - [param('std::string const &', 'deviceTypeName')]) - ## pyviz.h: void ns3::PyViz::RegisterDropTracePath(std::string const & tracePath) [member function] - cls.add_method('RegisterDropTracePath', - 'void', - [param('std::string const &', 'tracePath')]) - ## pyviz.h: void ns3::PyViz::RegisterPointToPointLikeDevice(std::string const & deviceTypeName) [member function] - cls.add_method('RegisterPointToPointLikeDevice', - 'void', - [param('std::string const &', 'deviceTypeName')]) - ## pyviz.h: void ns3::PyViz::RegisterWifiLikeDevice(std::string const & deviceTypeName) [member function] - cls.add_method('RegisterWifiLikeDevice', - 'void', - [param('std::string const &', 'deviceTypeName')]) - ## pyviz.h: void ns3::PyViz::SetNodesOfInterest(std::set, std::allocator > nodes) [member function] - cls.add_method('SetNodesOfInterest', - 'void', - [param('std::set< unsigned int >', 'nodes')]) - ## pyviz.h: void ns3::PyViz::SetPacketCaptureOptions(uint32_t nodeId, ns3::PyViz::PacketCaptureOptions options) [member function] - cls.add_method('SetPacketCaptureOptions', - 'void', - [param('uint32_t', 'nodeId'), param('ns3::PyViz::PacketCaptureOptions', 'options')]) - ## pyviz.h: void ns3::PyViz::SimulatorRunUntil(ns3::Time time) [member function] - cls.add_method('SimulatorRunUntil', - 'void', - [param('ns3::Time', 'time')]) - return - -def register_Ns3PyVizLastPacketsSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::LastPacketsSample::LastPacketsSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::LastPacketsSample::LastPacketsSample(ns3::PyViz::LastPacketsSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::LastPacketsSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::LastPacketsSample::lastDroppedPackets [variable] - cls.add_instance_attribute('lastDroppedPackets', 'std::vector< ns3::PyViz::PacketSample >', is_const=False) - ## pyviz.h: ns3::PyViz::LastPacketsSample::lastReceivedPackets [variable] - cls.add_instance_attribute('lastReceivedPackets', 'std::vector< ns3::PyViz::RxPacketSample >', is_const=False) - ## pyviz.h: ns3::PyViz::LastPacketsSample::lastTransmittedPackets [variable] - cls.add_instance_attribute('lastTransmittedPackets', 'std::vector< ns3::PyViz::TxPacketSample >', is_const=False) - return - -def register_Ns3PyVizNetDeviceStatistics_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::NetDeviceStatistics(ns3::PyViz::NetDeviceStatistics const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::NetDeviceStatistics const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::NetDeviceStatistics() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::receivedBytes [variable] - cls.add_instance_attribute('receivedBytes', 'uint64_t', is_const=False) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::receivedPackets [variable] - cls.add_instance_attribute('receivedPackets', 'uint32_t', is_const=False) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::transmittedBytes [variable] - cls.add_instance_attribute('transmittedBytes', 'uint64_t', is_const=False) - ## pyviz.h: ns3::PyViz::NetDeviceStatistics::transmittedPackets [variable] - cls.add_instance_attribute('transmittedPackets', 'uint32_t', is_const=False) - return - -def register_Ns3PyVizNodeStatistics_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::NodeStatistics::NodeStatistics() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::NodeStatistics::NodeStatistics(ns3::PyViz::NodeStatistics const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::NodeStatistics const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::NodeStatistics::nodeId [variable] - cls.add_instance_attribute('nodeId', 'uint32_t', is_const=False) - ## pyviz.h: ns3::PyViz::NodeStatistics::statistics [variable] - cls.add_instance_attribute('statistics', 'std::vector< ns3::PyViz::NetDeviceStatistics >', is_const=False) - return - -def register_Ns3PyVizPacketCaptureOptions_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::PacketCaptureOptions() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::PacketCaptureOptions(ns3::PyViz::PacketCaptureOptions const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::PacketCaptureOptions const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::headers [variable] - cls.add_instance_attribute('headers', 'std::set< ns3::TypeId >', is_const=False) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::mode [variable] - cls.add_instance_attribute('mode', 'ns3::PyViz::PacketCaptureMode', is_const=False) - ## pyviz.h: ns3::PyViz::PacketCaptureOptions::numLastPackets [variable] - cls.add_instance_attribute('numLastPackets', 'uint32_t', is_const=False) - return - -def register_Ns3PyVizPacketDropSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::PacketDropSample::PacketDropSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::PacketDropSample::PacketDropSample(ns3::PyViz::PacketDropSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::PacketDropSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::PacketDropSample::bytes [variable] - cls.add_instance_attribute('bytes', 'uint32_t', is_const=False) - ## pyviz.h: ns3::PyViz::PacketDropSample::transmitter [variable] - cls.add_instance_attribute('transmitter', 'ns3::Ptr< ns3::Node >', is_const=False) - return - -def register_Ns3PyVizPacketSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::PacketSample::PacketSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::PacketSample::PacketSample(ns3::PyViz::PacketSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::PacketSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::PacketSample::device [variable] - cls.add_instance_attribute('device', 'ns3::Ptr< ns3::NetDevice >', is_const=False) - ## pyviz.h: ns3::PyViz::PacketSample::packet [variable] - cls.add_instance_attribute('packet', 'ns3::Ptr< ns3::Packet >', is_const=False) - ## pyviz.h: ns3::PyViz::PacketSample::time [variable] - cls.add_instance_attribute('time', 'ns3::Time', is_const=False) - return - -def register_Ns3PyVizRxPacketSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::RxPacketSample::RxPacketSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::RxPacketSample::RxPacketSample(ns3::PyViz::RxPacketSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::RxPacketSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::RxPacketSample::from [variable] - cls.add_instance_attribute('from', 'ns3::Mac48Address', is_const=False) - return - -def register_Ns3PyVizTransmissionSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::TransmissionSample::TransmissionSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::TransmissionSample::TransmissionSample(ns3::PyViz::TransmissionSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::TransmissionSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::TransmissionSample::bytes [variable] - cls.add_instance_attribute('bytes', 'uint32_t', is_const=False) - ## pyviz.h: ns3::PyViz::TransmissionSample::channel [variable] - cls.add_instance_attribute('channel', 'ns3::Ptr< ns3::Channel >', is_const=False) - ## pyviz.h: ns3::PyViz::TransmissionSample::receiver [variable] - cls.add_instance_attribute('receiver', 'ns3::Ptr< ns3::Node >', is_const=False) - ## pyviz.h: ns3::PyViz::TransmissionSample::transmitter [variable] - cls.add_instance_attribute('transmitter', 'ns3::Ptr< ns3::Node >', is_const=False) - return - -def register_Ns3PyVizTxPacketSample_methods(root_module, cls): - ## pyviz.h: ns3::PyViz::TxPacketSample::TxPacketSample() [constructor] - cls.add_constructor([]) - ## pyviz.h: ns3::PyViz::TxPacketSample::TxPacketSample(ns3::PyViz::TxPacketSample const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PyViz::TxPacketSample const &', 'arg0')]) - ## pyviz.h: ns3::PyViz::TxPacketSample::to [variable] - cls.add_instance_attribute('to', 'ns3::Mac48Address', is_const=False) - return - -def register_functions(root_module): - module = root_module - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_wifi.py b/bindings/python/apidefs/gcc-LP64/ns3_module_wifi.py deleted file mode 100644 index 23f6fbbb0..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_wifi.py +++ /dev/null @@ -1,6413 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## wifi-mac-header.h: ns3::WifiMacType [enumeration] - module.add_enum('WifiMacType', ['WIFI_MAC_CTL_RTS', 'WIFI_MAC_CTL_CTS', 'WIFI_MAC_CTL_ACK', 'WIFI_MAC_CTL_BACKREQ', 'WIFI_MAC_CTL_BACKRESP', 'WIFI_MAC_MGT_BEACON', 'WIFI_MAC_MGT_ASSOCIATION_REQUEST', 'WIFI_MAC_MGT_ASSOCIATION_RESPONSE', 'WIFI_MAC_MGT_DISASSOCIATION', 'WIFI_MAC_MGT_REASSOCIATION_REQUEST', 'WIFI_MAC_MGT_REASSOCIATION_RESPONSE', 'WIFI_MAC_MGT_PROBE_REQUEST', 'WIFI_MAC_MGT_PROBE_RESPONSE', 'WIFI_MAC_MGT_AUTHENTICATION', 'WIFI_MAC_MGT_DEAUTHENTICATION', 'WIFI_MAC_MGT_ACTION', 'WIFI_MAC_MGT_ACTION_NO_ACK', 'WIFI_MAC_MGT_MULTIHOP_ACTION', 'WIFI_MAC_DATA', 'WIFI_MAC_DATA_CFACK', 'WIFI_MAC_DATA_CFPOLL', 'WIFI_MAC_DATA_CFACK_CFPOLL', 'WIFI_MAC_DATA_NULL', 'WIFI_MAC_DATA_NULL_CFACK', 'WIFI_MAC_DATA_NULL_CFPOLL', 'WIFI_MAC_DATA_NULL_CFACK_CFPOLL', 'WIFI_MAC_QOSDATA', 'WIFI_MAC_QOSDATA_CFACK', 'WIFI_MAC_QOSDATA_CFPOLL', 'WIFI_MAC_QOSDATA_CFACK_CFPOLL', 'WIFI_MAC_QOSDATA_NULL', 'WIFI_MAC_QOSDATA_NULL_CFPOLL', 'WIFI_MAC_QOSDATA_NULL_CFACK_CFPOLL']) - ## wifi-preamble.h: ns3::WifiPreamble [enumeration] - module.add_enum('WifiPreamble', ['WIFI_PREAMBLE_LONG', 'WIFI_PREAMBLE_SHORT']) - ## wifi-mode.h: ns3::WifiModulationClass [enumeration] - module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT']) - ## wifi-phy-standard.h: ns3::WifiPhyStandard [enumeration] - module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH']) - ## qos-utils.h: ns3::AcIndex [enumeration] - module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF']) - ## ctrl-headers.h: ns3::BlockAckType [enumeration] - module.add_enum('BlockAckType', ['BASIC_BLOCK_ACK', 'COMPRESSED_BLOCK_ACK', 'MULTI_TID_BLOCK_ACK']) - ## qos-tag.h: ns3::UserPriority [enumeration] - module.add_enum('UserPriority', ['UP_BK', 'UP_BE', 'UP_EE', 'UP_CL', 'UP_VI', 'UP_VO', 'UP_NC']) - ## wifi-mode.h: ns3::WifiCodeRate [enumeration] - module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2']) - ## edca-txop-n.h: ns3::TypeOfStation [enumeration] - module.add_enum('TypeOfStation', ['STA', 'AP', 'ADHOC_STA', 'MESH']) - ## athstats-helper.h: ns3::AthstatsHelper [class] - module.add_class('AthstatsHelper') - ## block-ack-manager.h: ns3::Bar [struct] - module.add_class('Bar') - ## block-ack-agreement.h: ns3::BlockAckAgreement [class] - module.add_class('BlockAckAgreement') - ## block-ack-cache.h: ns3::BlockAckCache [class] - module.add_class('BlockAckCache') - ## block-ack-manager.h: ns3::BlockAckManager [class] - module.add_class('BlockAckManager') - ## capability-information.h: ns3::CapabilityInformation [class] - module.add_class('CapabilityInformation') - ## dcf-manager.h: ns3::DcfManager [class] - module.add_class('DcfManager') - ## dcf-manager.h: ns3::DcfState [class] - module.add_class('DcfState', allow_subclassing=True) - ## dsss-error-rate-model.h: ns3::DsssErrorRateModel [class] - module.add_class('DsssErrorRateModel') - ## interference-helper.h: ns3::InterferenceHelper [class] - module.add_class('InterferenceHelper') - ## interference-helper.h: ns3::InterferenceHelper::SnrPer [struct] - module.add_class('SnrPer', outer_class=root_module['ns3::InterferenceHelper']) - ## mac-low.h: ns3::MacLowBlockAckEventListener [class] - module.add_class('MacLowBlockAckEventListener', allow_subclassing=True) - ## mac-low.h: ns3::MacLowDcfListener [class] - module.add_class('MacLowDcfListener', allow_subclassing=True) - ## mac-low.h: ns3::MacLowTransmissionListener [class] - module.add_class('MacLowTransmissionListener', allow_subclassing=True) - ## mac-low.h: ns3::MacLowTransmissionParameters [class] - module.add_class('MacLowTransmissionParameters') - ## mac-rx-middle.h: ns3::MacRxMiddle [class] - module.add_class('MacRxMiddle') - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement [class] - module.add_class('OriginatorBlockAckAgreement', parent=root_module['ns3::BlockAckAgreement']) - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement::State [enumeration] - module.add_enum('State', ['PENDING', 'ESTABLISHED', 'INACTIVE', 'UNSUCCESSFUL'], outer_class=root_module['ns3::OriginatorBlockAckAgreement']) - ## minstrel-wifi-manager.h: ns3::RateInfo [struct] - module.add_class('RateInfo') - ## status-code.h: ns3::StatusCode [class] - module.add_class('StatusCode') - ## wifi-helper.h: ns3::WifiHelper [class] - module.add_class('WifiHelper') - ## wifi-helper.h: ns3::WifiMacHelper [class] - module.add_class('WifiMacHelper', allow_subclassing=True) - ## wifi-mode.h: ns3::WifiMode [class] - module.add_class('WifiMode') - ## wifi-mode.h: ns3::WifiModeFactory [class] - module.add_class('WifiModeFactory') - ## wifi-helper.h: ns3::WifiPhyHelper [class] - module.add_class('WifiPhyHelper', allow_subclassing=True) - ## wifi-phy.h: ns3::WifiPhyListener [class] - module.add_class('WifiPhyListener', allow_subclassing=True) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation [struct] - module.add_class('WifiRemoteStation') - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationInfo [class] - module.add_class('WifiRemoteStationInfo') - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState [struct] - module.add_class('WifiRemoteStationState') - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState [enumeration] - module.add_enum('', ['BRAND_NEW', 'DISASSOC', 'WAIT_ASSOC_TX_OK', 'GOT_ASSOC_TX_OK'], outer_class=root_module['ns3::WifiRemoteStationState']) - ## yans-wifi-helper.h: ns3::YansWifiChannelHelper [class] - module.add_class('YansWifiChannelHelper') - ## yans-wifi-helper.h: ns3::YansWifiPhyHelper [class] - module.add_class('YansWifiPhyHelper', parent=[root_module['ns3::WifiPhyHelper'], root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes [enumeration] - module.add_enum('SupportedPcapDataLinkTypes', ['DLT_IEEE802_11', 'DLT_PRISM_HEADER', 'DLT_IEEE802_11_RADIO'], outer_class=root_module['ns3::YansWifiPhyHelper']) - ## mgt-headers.h: ns3::MgtAddBaRequestHeader [class] - module.add_class('MgtAddBaRequestHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtAddBaResponseHeader [class] - module.add_class('MgtAddBaResponseHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtAssocRequestHeader [class] - module.add_class('MgtAssocRequestHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtAssocResponseHeader [class] - module.add_class('MgtAssocResponseHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtDelBaHeader [class] - module.add_class('MgtDelBaHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtProbeRequestHeader [class] - module.add_class('MgtProbeRequestHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::MgtProbeResponseHeader [class] - module.add_class('MgtProbeResponseHeader', parent=root_module['ns3::Header']) - ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper [class] - module.add_class('NqosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) - ## qos-tag.h: ns3::QosTag [class] - module.add_class('QosTag', parent=root_module['ns3::Tag']) - ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper [class] - module.add_class('QosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) - ## simple-ref-count.h: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::InterferenceHelper::Event', '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: ns3::SimpleRefCount > [class] - module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::WifiInformationElement', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) - ## mgt-headers.h: ns3::WifiActionHeader [class] - module.add_class('WifiActionHeader', parent=root_module['ns3::Header']) - ## mgt-headers.h: ns3::WifiActionHeader::CategoryValue [enumeration] - module.add_enum('CategoryValue', ['BLOCK_ACK', 'MESH_PEERING_MGT', 'MESH_LINK_METRIC', 'MESH_PATH_SELECTION', 'MESH_INTERWORKING', 'MESH_RESOURCE_COORDINATION', 'MESH_PROXY_FORWARDING'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::PeerLinkMgtActionValue [enumeration] - module.add_enum('PeerLinkMgtActionValue', ['PEER_LINK_OPEN', 'PEER_LINK_CONFIRM', 'PEER_LINK_CLOSE'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::LinkMetricActionValue [enumeration] - module.add_enum('LinkMetricActionValue', ['LINK_METRIC_REQUEST', 'LINK_METRIC_REPORT'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::PathSelectionActionValue [enumeration] - module.add_enum('PathSelectionActionValue', ['PATH_SELECTION'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::InterworkActionValue [enumeration] - module.add_enum('InterworkActionValue', ['PORTAL_ANNOUNCEMENT'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::ResourceCoordinationActionValue [enumeration] - module.add_enum('ResourceCoordinationActionValue', ['CONGESTION_CONTROL_NOTIFICATION', 'MDA_SETUP_REQUEST', 'MDA_SETUP_REPLY', 'MDAOP_ADVERTISMENT_REQUEST', 'MDAOP_ADVERTISMENTS', 'MDAOP_SET_TEARDOWN', 'BEACON_TIMING_REQUEST', 'BEACON_TIMING_RESPONSE', 'TBTT_ADJUSTMENT_REQUEST', 'MESH_CHANNEL_SWITCH_ANNOUNCEMENT'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::BlockAckActionValue [enumeration] - module.add_enum('BlockAckActionValue', ['BLOCK_ACK_ADDBA_REQUEST', 'BLOCK_ACK_ADDBA_RESPONSE', 'BLOCK_ACK_DELBA'], outer_class=root_module['ns3::WifiActionHeader']) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue [union] - module.add_class('ActionValue', outer_class=root_module['ns3::WifiActionHeader']) - ## wifi-information-element.h: ns3::WifiInformationElement [class] - module.add_class('WifiInformationElement', parent=root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) - ## wifi-information-element-vector.h: ns3::WifiInformationElementVector [class] - module.add_class('WifiInformationElementVector', parent=root_module['ns3::Header']) - ## wifi-mac.h: ns3::WifiMac [class] - module.add_class('WifiMac', parent=root_module['ns3::Object']) - ## wifi-mac-header.h: ns3::WifiMacHeader [class] - module.add_class('WifiMacHeader', parent=root_module['ns3::Header']) - ## wifi-mac-header.h: ns3::WifiMacHeader::QosAckPolicy [enumeration] - module.add_enum('QosAckPolicy', ['NORMAL_ACK', 'NO_ACK', 'NO_EXPLICIT_ACK', 'BLOCK_ACK'], outer_class=root_module['ns3::WifiMacHeader']) - ## wifi-mac-header.h: ns3::WifiMacHeader::AddressType [enumeration] - module.add_enum('AddressType', ['ADDR1', 'ADDR2', 'ADDR3', 'ADDR4'], outer_class=root_module['ns3::WifiMacHeader']) - ## wifi-phy.h: ns3::WifiPhy [class] - module.add_class('WifiPhy', parent=root_module['ns3::Object']) - ## wifi-phy.h: ns3::WifiPhy::State [enumeration] - module.add_enum('State', ['IDLE', 'CCA_BUSY', 'TX', 'RX', 'SWITCHING'], outer_class=root_module['ns3::WifiPhy']) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationManager [class] - module.add_class('WifiRemoteStationManager', parent=root_module['ns3::Object']) - ## yans-wifi-phy.h: ns3::YansWifiPhy [class] - module.add_class('YansWifiPhy', parent=root_module['ns3::WifiPhy']) - ## aarf-wifi-manager.h: ns3::AarfWifiManager [class] - module.add_class('AarfWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## aarfcd-wifi-manager.h: ns3::AarfcdWifiManager [class] - module.add_class('AarfcdWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## amrr-wifi-manager.h: ns3::AmrrWifiManager [class] - module.add_class('AmrrWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## amsdu-subframe-header.h: ns3::AmsduSubframeHeader [class] - module.add_class('AmsduSubframeHeader', parent=root_module['ns3::Header']) - ## arf-wifi-manager.h: ns3::ArfWifiManager [class] - module.add_class('ArfWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## athstats-helper.h: ns3::AthstatsWifiTraceSink [class] - module.add_class('AthstatsWifiTraceSink', parent=root_module['ns3::Object']) - ## cara-wifi-manager.h: ns3::CaraWifiManager [class] - module.add_class('CaraWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## constant-rate-wifi-manager.h: ns3::ConstantRateWifiManager [class] - module.add_class('ConstantRateWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## ctrl-headers.h: ns3::CtrlBAckRequestHeader [class] - module.add_class('CtrlBAckRequestHeader', parent=root_module['ns3::Header']) - ## ctrl-headers.h: ns3::CtrlBAckResponseHeader [class] - module.add_class('CtrlBAckResponseHeader', parent=root_module['ns3::Header']) - ## dcf.h: ns3::Dcf [class] - module.add_class('Dcf', parent=root_module['ns3::Object']) - ## edca-txop-n.h: ns3::EdcaTxopN [class] - module.add_class('EdcaTxopN', parent=root_module['ns3::Dcf']) - ## error-rate-model.h: ns3::ErrorRateModel [class] - module.add_class('ErrorRateModel', parent=root_module['ns3::Object']) - ## supported-rates.h: ns3::ExtendedSupportedRatesIE [class] - module.add_class('ExtendedSupportedRatesIE', parent=root_module['ns3::WifiInformationElement']) - ## ideal-wifi-manager.h: ns3::IdealWifiManager [class] - module.add_class('IdealWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## mac-low.h: ns3::MacLow [class] - module.add_class('MacLow', parent=root_module['ns3::Object']) - ## mgt-headers.h: ns3::MgtBeaconHeader [class] - module.add_class('MgtBeaconHeader', parent=root_module['ns3::MgtProbeResponseHeader']) - ## minstrel-wifi-manager.h: ns3::MinstrelWifiManager [class] - module.add_class('MinstrelWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## msdu-aggregator.h: ns3::MsduAggregator [class] - module.add_class('MsduAggregator', parent=root_module['ns3::Object']) - ## nist-error-rate-model.h: ns3::NistErrorRateModel [class] - module.add_class('NistErrorRateModel', parent=root_module['ns3::ErrorRateModel']) - ## onoe-wifi-manager.h: ns3::OnoeWifiManager [class] - module.add_class('OnoeWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## regular-wifi-mac.h: ns3::RegularWifiMac [class] - module.add_class('RegularWifiMac', parent=root_module['ns3::WifiMac']) - ## rraa-wifi-manager.h: ns3::RraaWifiManager [class] - module.add_class('RraaWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) - ## ssid.h: ns3::Ssid [class] - module.add_class('Ssid', parent=root_module['ns3::WifiInformationElement']) - ## ssid.h: ns3::SsidChecker [class] - module.add_class('SsidChecker', parent=root_module['ns3::AttributeChecker']) - ## ssid.h: ns3::SsidValue [class] - module.add_class('SsidValue', parent=root_module['ns3::AttributeValue']) - ## sta-wifi-mac.h: ns3::StaWifiMac [class] - module.add_class('StaWifiMac', parent=root_module['ns3::RegularWifiMac']) - ## supported-rates.h: ns3::SupportedRates [class] - module.add_class('SupportedRates', parent=root_module['ns3::WifiInformationElement']) - ## wifi-channel.h: ns3::WifiChannel [class] - module.add_class('WifiChannel', parent=root_module['ns3::Channel']) - ## wifi-mode.h: ns3::WifiModeChecker [class] - module.add_class('WifiModeChecker', parent=root_module['ns3::AttributeChecker']) - ## wifi-mode.h: ns3::WifiModeValue [class] - module.add_class('WifiModeValue', parent=root_module['ns3::AttributeValue']) - ## wifi-net-device.h: ns3::WifiNetDevice [class] - module.add_class('WifiNetDevice', parent=root_module['ns3::NetDevice']) - ## yans-error-rate-model.h: ns3::YansErrorRateModel [class] - module.add_class('YansErrorRateModel', parent=root_module['ns3::ErrorRateModel']) - ## yans-wifi-channel.h: ns3::YansWifiChannel [class] - module.add_class('YansWifiChannel', parent=root_module['ns3::WifiChannel']) - ## adhoc-wifi-mac.h: ns3::AdhocWifiMac [class] - module.add_class('AdhocWifiMac', parent=root_module['ns3::RegularWifiMac']) - ## ap-wifi-mac.h: ns3::ApWifiMac [class] - module.add_class('ApWifiMac', parent=root_module['ns3::RegularWifiMac']) - ## dca-txop.h: ns3::DcaTxop [class] - module.add_class('DcaTxop', parent=root_module['ns3::Dcf']) - module.add_container('ns3::WifiModeList', 'ns3::WifiMode', container_type='vector') - typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >', 'ns3::WifiModeList') - typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >*', 'ns3::WifiModeList*') - typehandlers.add_type_alias('std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > >&', 'ns3::WifiModeList&') - typehandlers.add_type_alias('uint8_t', 'ns3::WifiInformationElementId') - typehandlers.add_type_alias('uint8_t*', 'ns3::WifiInformationElementId*') - typehandlers.add_type_alias('uint8_t&', 'ns3::WifiInformationElementId&') - typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >', 'ns3::WifiModeListIterator') - typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >*', 'ns3::WifiModeListIterator*') - typehandlers.add_type_alias('__gnu_cxx::__normal_iterator< ns3::WifiMode const *, std::vector< ns3::WifiMode, std::allocator< ns3::WifiMode > > >&', 'ns3::WifiModeListIterator&') - typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >', 'ns3::MinstrelRate') - typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >*', 'ns3::MinstrelRate*') - typehandlers.add_type_alias('std::vector< ns3::RateInfo, std::allocator< ns3::RateInfo > >&', 'ns3::MinstrelRate&') - typehandlers.add_type_alias('std::vector< std::vector< unsigned int, std::allocator< unsigned int > >, std::allocator< std::vector< unsigned int, std::allocator< unsigned int > > > >', 'ns3::SampleRate') - typehandlers.add_type_alias('std::vector< std::vector< unsigned int, std::allocator< unsigned int > >, std::allocator< std::vector< unsigned int, std::allocator< unsigned int > > > >*', 'ns3::SampleRate*') - typehandlers.add_type_alias('std::vector< std::vector< unsigned int, std::allocator< unsigned int > >, std::allocator< std::vector< unsigned int, std::allocator< unsigned int > > > >&', 'ns3::SampleRate&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3AthstatsHelper_methods(root_module, root_module['ns3::AthstatsHelper']) - register_Ns3Bar_methods(root_module, root_module['ns3::Bar']) - register_Ns3BlockAckAgreement_methods(root_module, root_module['ns3::BlockAckAgreement']) - register_Ns3BlockAckCache_methods(root_module, root_module['ns3::BlockAckCache']) - register_Ns3BlockAckManager_methods(root_module, root_module['ns3::BlockAckManager']) - register_Ns3CapabilityInformation_methods(root_module, root_module['ns3::CapabilityInformation']) - register_Ns3DcfManager_methods(root_module, root_module['ns3::DcfManager']) - register_Ns3DcfState_methods(root_module, root_module['ns3::DcfState']) - register_Ns3DsssErrorRateModel_methods(root_module, root_module['ns3::DsssErrorRateModel']) - register_Ns3InterferenceHelper_methods(root_module, root_module['ns3::InterferenceHelper']) - register_Ns3InterferenceHelperSnrPer_methods(root_module, root_module['ns3::InterferenceHelper::SnrPer']) - register_Ns3MacLowBlockAckEventListener_methods(root_module, root_module['ns3::MacLowBlockAckEventListener']) - register_Ns3MacLowDcfListener_methods(root_module, root_module['ns3::MacLowDcfListener']) - register_Ns3MacLowTransmissionListener_methods(root_module, root_module['ns3::MacLowTransmissionListener']) - register_Ns3MacLowTransmissionParameters_methods(root_module, root_module['ns3::MacLowTransmissionParameters']) - register_Ns3MacRxMiddle_methods(root_module, root_module['ns3::MacRxMiddle']) - register_Ns3OriginatorBlockAckAgreement_methods(root_module, root_module['ns3::OriginatorBlockAckAgreement']) - register_Ns3RateInfo_methods(root_module, root_module['ns3::RateInfo']) - register_Ns3StatusCode_methods(root_module, root_module['ns3::StatusCode']) - register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) - register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) - register_Ns3WifiMode_methods(root_module, root_module['ns3::WifiMode']) - register_Ns3WifiModeFactory_methods(root_module, root_module['ns3::WifiModeFactory']) - register_Ns3WifiPhyHelper_methods(root_module, root_module['ns3::WifiPhyHelper']) - register_Ns3WifiPhyListener_methods(root_module, root_module['ns3::WifiPhyListener']) - register_Ns3WifiRemoteStation_methods(root_module, root_module['ns3::WifiRemoteStation']) - register_Ns3WifiRemoteStationInfo_methods(root_module, root_module['ns3::WifiRemoteStationInfo']) - register_Ns3WifiRemoteStationState_methods(root_module, root_module['ns3::WifiRemoteStationState']) - register_Ns3YansWifiChannelHelper_methods(root_module, root_module['ns3::YansWifiChannelHelper']) - register_Ns3YansWifiPhyHelper_methods(root_module, root_module['ns3::YansWifiPhyHelper']) - register_Ns3MgtAddBaRequestHeader_methods(root_module, root_module['ns3::MgtAddBaRequestHeader']) - register_Ns3MgtAddBaResponseHeader_methods(root_module, root_module['ns3::MgtAddBaResponseHeader']) - register_Ns3MgtAssocRequestHeader_methods(root_module, root_module['ns3::MgtAssocRequestHeader']) - register_Ns3MgtAssocResponseHeader_methods(root_module, root_module['ns3::MgtAssocResponseHeader']) - register_Ns3MgtDelBaHeader_methods(root_module, root_module['ns3::MgtDelBaHeader']) - register_Ns3MgtProbeRequestHeader_methods(root_module, root_module['ns3::MgtProbeRequestHeader']) - register_Ns3MgtProbeResponseHeader_methods(root_module, root_module['ns3::MgtProbeResponseHeader']) - register_Ns3NqosWifiMacHelper_methods(root_module, root_module['ns3::NqosWifiMacHelper']) - register_Ns3QosTag_methods(root_module, root_module['ns3::QosTag']) - register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) - register_Ns3WifiActionHeader_methods(root_module, root_module['ns3::WifiActionHeader']) - register_Ns3WifiActionHeaderActionValue_methods(root_module, root_module['ns3::WifiActionHeader::ActionValue']) - register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement']) - register_Ns3WifiInformationElementVector_methods(root_module, root_module['ns3::WifiInformationElementVector']) - register_Ns3WifiMac_methods(root_module, root_module['ns3::WifiMac']) - register_Ns3WifiMacHeader_methods(root_module, root_module['ns3::WifiMacHeader']) - register_Ns3WifiPhy_methods(root_module, root_module['ns3::WifiPhy']) - register_Ns3WifiRemoteStationManager_methods(root_module, root_module['ns3::WifiRemoteStationManager']) - register_Ns3YansWifiPhy_methods(root_module, root_module['ns3::YansWifiPhy']) - register_Ns3AarfWifiManager_methods(root_module, root_module['ns3::AarfWifiManager']) - register_Ns3AarfcdWifiManager_methods(root_module, root_module['ns3::AarfcdWifiManager']) - register_Ns3AmrrWifiManager_methods(root_module, root_module['ns3::AmrrWifiManager']) - register_Ns3AmsduSubframeHeader_methods(root_module, root_module['ns3::AmsduSubframeHeader']) - register_Ns3ArfWifiManager_methods(root_module, root_module['ns3::ArfWifiManager']) - register_Ns3AthstatsWifiTraceSink_methods(root_module, root_module['ns3::AthstatsWifiTraceSink']) - register_Ns3CaraWifiManager_methods(root_module, root_module['ns3::CaraWifiManager']) - register_Ns3ConstantRateWifiManager_methods(root_module, root_module['ns3::ConstantRateWifiManager']) - register_Ns3CtrlBAckRequestHeader_methods(root_module, root_module['ns3::CtrlBAckRequestHeader']) - register_Ns3CtrlBAckResponseHeader_methods(root_module, root_module['ns3::CtrlBAckResponseHeader']) - register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf']) - register_Ns3EdcaTxopN_methods(root_module, root_module['ns3::EdcaTxopN']) - register_Ns3ErrorRateModel_methods(root_module, root_module['ns3::ErrorRateModel']) - register_Ns3ExtendedSupportedRatesIE_methods(root_module, root_module['ns3::ExtendedSupportedRatesIE']) - register_Ns3IdealWifiManager_methods(root_module, root_module['ns3::IdealWifiManager']) - register_Ns3MacLow_methods(root_module, root_module['ns3::MacLow']) - register_Ns3MgtBeaconHeader_methods(root_module, root_module['ns3::MgtBeaconHeader']) - register_Ns3MinstrelWifiManager_methods(root_module, root_module['ns3::MinstrelWifiManager']) - register_Ns3MsduAggregator_methods(root_module, root_module['ns3::MsduAggregator']) - register_Ns3NistErrorRateModel_methods(root_module, root_module['ns3::NistErrorRateModel']) - register_Ns3OnoeWifiManager_methods(root_module, root_module['ns3::OnoeWifiManager']) - register_Ns3RegularWifiMac_methods(root_module, root_module['ns3::RegularWifiMac']) - register_Ns3RraaWifiManager_methods(root_module, root_module['ns3::RraaWifiManager']) - register_Ns3Ssid_methods(root_module, root_module['ns3::Ssid']) - register_Ns3SsidChecker_methods(root_module, root_module['ns3::SsidChecker']) - register_Ns3SsidValue_methods(root_module, root_module['ns3::SsidValue']) - register_Ns3StaWifiMac_methods(root_module, root_module['ns3::StaWifiMac']) - register_Ns3SupportedRates_methods(root_module, root_module['ns3::SupportedRates']) - register_Ns3WifiChannel_methods(root_module, root_module['ns3::WifiChannel']) - register_Ns3WifiModeChecker_methods(root_module, root_module['ns3::WifiModeChecker']) - register_Ns3WifiModeValue_methods(root_module, root_module['ns3::WifiModeValue']) - register_Ns3WifiNetDevice_methods(root_module, root_module['ns3::WifiNetDevice']) - register_Ns3YansErrorRateModel_methods(root_module, root_module['ns3::YansErrorRateModel']) - register_Ns3YansWifiChannel_methods(root_module, root_module['ns3::YansWifiChannel']) - register_Ns3AdhocWifiMac_methods(root_module, root_module['ns3::AdhocWifiMac']) - register_Ns3ApWifiMac_methods(root_module, root_module['ns3::ApWifiMac']) - register_Ns3DcaTxop_methods(root_module, root_module['ns3::DcaTxop']) - return - -def register_Ns3AthstatsHelper_methods(root_module, cls): - ## athstats-helper.h: ns3::AthstatsHelper::AthstatsHelper(ns3::AthstatsHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AthstatsHelper const &', 'arg0')]) - ## athstats-helper.h: ns3::AthstatsHelper::AthstatsHelper() [constructor] - cls.add_constructor([]) - ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, uint32_t nodeid, uint32_t deviceid) [member function] - cls.add_method('EnableAthstats', - 'void', - [param('std::string', 'filename'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid')]) - ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, ns3::Ptr nd) [member function] - cls.add_method('EnableAthstats', - 'void', - [param('std::string', 'filename'), param('ns3::Ptr< ns3::NetDevice >', 'nd')]) - ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, ns3::NetDeviceContainer d) [member function] - cls.add_method('EnableAthstats', - 'void', - [param('std::string', 'filename'), param('ns3::NetDeviceContainer', 'd')]) - ## athstats-helper.h: void ns3::AthstatsHelper::EnableAthstats(std::string filename, ns3::NodeContainer n) [member function] - cls.add_method('EnableAthstats', - 'void', - [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')]) - return - -def register_Ns3Bar_methods(root_module, cls): - ## block-ack-manager.h: ns3::Bar::Bar(ns3::Bar const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Bar const &', 'arg0')]) - ## block-ack-manager.h: ns3::Bar::Bar() [constructor] - cls.add_constructor([]) - ## block-ack-manager.h: ns3::Bar::Bar(ns3::Ptr packet, ns3::Mac48Address recipient, uint8_t tid, bool immediate) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('bool', 'immediate')]) - ## block-ack-manager.h: ns3::Bar::bar [variable] - cls.add_instance_attribute('bar', 'ns3::Ptr< ns3::Packet const >', is_const=False) - ## block-ack-manager.h: ns3::Bar::immediate [variable] - cls.add_instance_attribute('immediate', 'bool', is_const=False) - ## block-ack-manager.h: ns3::Bar::recipient [variable] - cls.add_instance_attribute('recipient', 'ns3::Mac48Address', is_const=False) - ## block-ack-manager.h: ns3::Bar::tid [variable] - cls.add_instance_attribute('tid', 'uint8_t', is_const=False) - return - -def register_Ns3BlockAckAgreement_methods(root_module, cls): - ## block-ack-agreement.h: ns3::BlockAckAgreement::BlockAckAgreement(ns3::BlockAckAgreement const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BlockAckAgreement const &', 'arg0')]) - ## block-ack-agreement.h: ns3::BlockAckAgreement::BlockAckAgreement() [constructor] - cls.add_constructor([]) - ## block-ack-agreement.h: ns3::BlockAckAgreement::BlockAckAgreement(ns3::Mac48Address peer, uint8_t tid) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'peer'), param('uint8_t', 'tid')]) - ## block-ack-agreement.h: uint16_t ns3::BlockAckAgreement::GetBufferSize() const [member function] - cls.add_method('GetBufferSize', - 'uint16_t', - [], - is_const=True) - ## block-ack-agreement.h: ns3::Mac48Address ns3::BlockAckAgreement::GetPeer() const [member function] - cls.add_method('GetPeer', - 'ns3::Mac48Address', - [], - is_const=True) - ## block-ack-agreement.h: uint16_t ns3::BlockAckAgreement::GetStartingSequence() const [member function] - cls.add_method('GetStartingSequence', - 'uint16_t', - [], - is_const=True) - ## block-ack-agreement.h: uint16_t ns3::BlockAckAgreement::GetStartingSequenceControl() const [member function] - cls.add_method('GetStartingSequenceControl', - 'uint16_t', - [], - is_const=True) - ## block-ack-agreement.h: uint8_t ns3::BlockAckAgreement::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## block-ack-agreement.h: uint16_t ns3::BlockAckAgreement::GetTimeout() const [member function] - cls.add_method('GetTimeout', - 'uint16_t', - [], - is_const=True) - ## block-ack-agreement.h: bool ns3::BlockAckAgreement::IsAmsduSupported() const [member function] - cls.add_method('IsAmsduSupported', - 'bool', - [], - is_const=True) - ## block-ack-agreement.h: bool ns3::BlockAckAgreement::IsImmediateBlockAck() const [member function] - cls.add_method('IsImmediateBlockAck', - 'bool', - [], - is_const=True) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetAmsduSupport(bool supported) [member function] - cls.add_method('SetAmsduSupport', - 'void', - [param('bool', 'supported')]) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetBufferSize(uint16_t bufferSize) [member function] - cls.add_method('SetBufferSize', - 'void', - [param('uint16_t', 'bufferSize')]) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetDelayedBlockAck() [member function] - cls.add_method('SetDelayedBlockAck', - 'void', - []) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetImmediateBlockAck() [member function] - cls.add_method('SetImmediateBlockAck', - 'void', - []) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetStartingSequence(uint16_t seq) [member function] - cls.add_method('SetStartingSequence', - 'void', - [param('uint16_t', 'seq')]) - ## block-ack-agreement.h: void ns3::BlockAckAgreement::SetTimeout(uint16_t timeout) [member function] - cls.add_method('SetTimeout', - 'void', - [param('uint16_t', 'timeout')]) - return - -def register_Ns3BlockAckCache_methods(root_module, cls): - ## block-ack-cache.h: ns3::BlockAckCache::BlockAckCache() [constructor] - cls.add_constructor([]) - ## block-ack-cache.h: ns3::BlockAckCache::BlockAckCache(ns3::BlockAckCache const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BlockAckCache const &', 'arg0')]) - ## block-ack-cache.h: void ns3::BlockAckCache::FillBlockAckBitmap(ns3::CtrlBAckResponseHeader * blockAckHeader) [member function] - cls.add_method('FillBlockAckBitmap', - 'void', - [param('ns3::CtrlBAckResponseHeader *', 'blockAckHeader')]) - ## block-ack-cache.h: void ns3::BlockAckCache::Init(uint16_t winStart, uint16_t winSize) [member function] - cls.add_method('Init', - 'void', - [param('uint16_t', 'winStart'), param('uint16_t', 'winSize')]) - ## block-ack-cache.h: void ns3::BlockAckCache::UpdateWithBlockAckReq(uint16_t startingSeq) [member function] - cls.add_method('UpdateWithBlockAckReq', - 'void', - [param('uint16_t', 'startingSeq')]) - ## block-ack-cache.h: void ns3::BlockAckCache::UpdateWithMpdu(ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('UpdateWithMpdu', - 'void', - [param('ns3::WifiMacHeader const *', 'hdr')]) - return - -def register_Ns3BlockAckManager_methods(root_module, cls): - ## block-ack-manager.h: ns3::BlockAckManager::BlockAckManager() [constructor] - cls.add_constructor([]) - ## block-ack-manager.h: void ns3::BlockAckManager::CreateAgreement(ns3::MgtAddBaRequestHeader const * reqHdr, ns3::Mac48Address recipient) [member function] - cls.add_method('CreateAgreement', - 'void', - [param('ns3::MgtAddBaRequestHeader const *', 'reqHdr'), param('ns3::Mac48Address', 'recipient')]) - ## block-ack-manager.h: void ns3::BlockAckManager::DestroyAgreement(ns3::Mac48Address recipient, uint8_t tid) [member function] - cls.add_method('DestroyAgreement', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) - ## block-ack-manager.h: bool ns3::BlockAckManager::ExistsAgreement(ns3::Mac48Address recipient, uint8_t tid) const [member function] - cls.add_method('ExistsAgreement', - 'bool', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')], - is_const=True) - ## block-ack-manager.h: bool ns3::BlockAckManager::ExistsAgreementInState(ns3::Mac48Address recipient, uint8_t tid, ns3::OriginatorBlockAckAgreement::State state) const [member function] - cls.add_method('ExistsAgreementInState', - 'bool', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('ns3::OriginatorBlockAckAgreement::State', 'state')], - is_const=True) - ## block-ack-manager.h: uint32_t ns3::BlockAckManager::GetNBufferedPackets(ns3::Mac48Address recipient, uint8_t tid) const [member function] - cls.add_method('GetNBufferedPackets', - 'uint32_t', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')], - is_const=True) - ## block-ack-manager.h: uint32_t ns3::BlockAckManager::GetNRetryNeededPackets(ns3::Mac48Address recipient, uint8_t tid) const [member function] - cls.add_method('GetNRetryNeededPackets', - 'uint32_t', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')], - is_const=True) - ## block-ack-manager.h: ns3::Ptr ns3::BlockAckManager::GetNextPacket(ns3::WifiMacHeader & hdr) [member function] - cls.add_method('GetNextPacket', - 'ns3::Ptr< ns3::Packet const >', - [param('ns3::WifiMacHeader &', 'hdr')]) - ## block-ack-manager.h: uint32_t ns3::BlockAckManager::GetNextPacketSize() const [member function] - cls.add_method('GetNextPacketSize', - 'uint32_t', - [], - is_const=True) - ## block-ack-manager.h: uint16_t ns3::BlockAckManager::GetSeqNumOfNextRetryPacket(ns3::Mac48Address recipient, uint8_t tid) const [member function] - cls.add_method('GetSeqNumOfNextRetryPacket', - 'uint16_t', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')], - is_const=True) - ## block-ack-manager.h: bool ns3::BlockAckManager::HasBar(ns3::Bar & bar) [member function] - cls.add_method('HasBar', - 'bool', - [param('ns3::Bar &', 'bar')]) - ## block-ack-manager.h: bool ns3::BlockAckManager::HasOtherFragments(uint16_t sequenceNumber) const [member function] - cls.add_method('HasOtherFragments', - 'bool', - [param('uint16_t', 'sequenceNumber')], - is_const=True) - ## block-ack-manager.h: bool ns3::BlockAckManager::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## block-ack-manager.h: void ns3::BlockAckManager::NotifyAgreementEstablished(ns3::Mac48Address recipient, uint8_t tid, uint16_t startingSeq) [member function] - cls.add_method('NotifyAgreementEstablished', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'startingSeq')]) - ## block-ack-manager.h: void ns3::BlockAckManager::NotifyAgreementUnsuccessful(ns3::Mac48Address recipient, uint8_t tid) [member function] - cls.add_method('NotifyAgreementUnsuccessful', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) - ## block-ack-manager.h: void ns3::BlockAckManager::NotifyGotBlockAck(ns3::CtrlBAckResponseHeader const * blockAck, ns3::Mac48Address recipient) [member function] - cls.add_method('NotifyGotBlockAck', - 'void', - [param('ns3::CtrlBAckResponseHeader const *', 'blockAck'), param('ns3::Mac48Address', 'recipient')]) - ## block-ack-manager.h: void ns3::BlockAckManager::NotifyMpduTransmission(ns3::Mac48Address recipient, uint8_t tid, uint16_t nextSeqNumber) [member function] - cls.add_method('NotifyMpduTransmission', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'nextSeqNumber')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetBlockAckInactivityCallback(ns3::Callback callback) [member function] - cls.add_method('SetBlockAckInactivityCallback', - 'void', - [param('ns3::Callback< void, ns3::Mac48Address, unsigned char, bool, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetBlockAckThreshold(uint8_t nPackets) [member function] - cls.add_method('SetBlockAckThreshold', - 'void', - [param('uint8_t', 'nPackets')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetBlockAckType(ns3::BlockAckType bAckType) [member function] - cls.add_method('SetBlockAckType', - 'void', - [param('ns3::BlockAckType', 'bAckType')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetBlockDestinationCallback(ns3::Callback callback) [member function] - cls.add_method('SetBlockDestinationCallback', - 'void', - [param('ns3::Callback< void, ns3::Mac48Address, unsigned char, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetMaxPacketDelay(ns3::Time maxDelay) [member function] - cls.add_method('SetMaxPacketDelay', - 'void', - [param('ns3::Time', 'maxDelay')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetQueue(ns3::Ptr queue) [member function] - cls.add_method('SetQueue', - 'void', - [param('ns3::Ptr< ns3::WifiMacQueue >', 'queue')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetTxMiddle(ns3::MacTxMiddle * txMiddle) [member function] - cls.add_method('SetTxMiddle', - 'void', - [param('ns3::MacTxMiddle *', 'txMiddle')]) - ## block-ack-manager.h: void ns3::BlockAckManager::SetUnblockDestinationCallback(ns3::Callback callback) [member function] - cls.add_method('SetUnblockDestinationCallback', - 'void', - [param('ns3::Callback< void, ns3::Mac48Address, unsigned char, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## block-ack-manager.h: void ns3::BlockAckManager::StorePacket(ns3::Ptr packet, ns3::WifiMacHeader const & hdr, ns3::Time tStamp) [member function] - cls.add_method('StorePacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr'), param('ns3::Time', 'tStamp')]) - ## block-ack-manager.h: bool ns3::BlockAckManager::SwitchToBlockAckIfNeeded(ns3::Mac48Address recipient, uint8_t tid, uint16_t startingSeq) [member function] - cls.add_method('SwitchToBlockAckIfNeeded', - 'bool', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid'), param('uint16_t', 'startingSeq')]) - ## block-ack-manager.h: void ns3::BlockAckManager::TearDownBlockAck(ns3::Mac48Address recipient, uint8_t tid) [member function] - cls.add_method('TearDownBlockAck', - 'void', - [param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) - ## block-ack-manager.h: void ns3::BlockAckManager::UpdateAgreement(ns3::MgtAddBaResponseHeader const * respHdr, ns3::Mac48Address recipient) [member function] - cls.add_method('UpdateAgreement', - 'void', - [param('ns3::MgtAddBaResponseHeader const *', 'respHdr'), param('ns3::Mac48Address', 'recipient')]) - return - -def register_Ns3CapabilityInformation_methods(root_module, cls): - ## capability-information.h: ns3::CapabilityInformation::CapabilityInformation(ns3::CapabilityInformation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CapabilityInformation const &', 'arg0')]) - ## capability-information.h: ns3::CapabilityInformation::CapabilityInformation() [constructor] - cls.add_constructor([]) - ## capability-information.h: ns3::Buffer::Iterator ns3::CapabilityInformation::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## capability-information.h: uint32_t ns3::CapabilityInformation::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## capability-information.h: bool ns3::CapabilityInformation::IsEss() const [member function] - cls.add_method('IsEss', - 'bool', - [], - is_const=True) - ## capability-information.h: bool ns3::CapabilityInformation::IsIbss() const [member function] - cls.add_method('IsIbss', - 'bool', - [], - is_const=True) - ## capability-information.h: ns3::Buffer::Iterator ns3::CapabilityInformation::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## capability-information.h: void ns3::CapabilityInformation::SetEss() [member function] - cls.add_method('SetEss', - 'void', - []) - ## capability-information.h: void ns3::CapabilityInformation::SetIbss() [member function] - cls.add_method('SetIbss', - 'void', - []) - return - -def register_Ns3DcfManager_methods(root_module, cls): - ## dcf-manager.h: ns3::DcfManager::DcfManager(ns3::DcfManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DcfManager const &', 'arg0')]) - ## dcf-manager.h: ns3::DcfManager::DcfManager() [constructor] - cls.add_constructor([]) - ## dcf-manager.h: void ns3::DcfManager::Add(ns3::DcfState * dcf) [member function] - cls.add_method('Add', - 'void', - [param('ns3::DcfState *', 'dcf')]) - ## dcf-manager.h: ns3::Time ns3::DcfManager::GetEifsNoDifs() const [member function] - cls.add_method('GetEifsNoDifs', - 'ns3::Time', - [], - is_const=True) - ## dcf-manager.h: void ns3::DcfManager::NotifyAckTimeoutResetNow() [member function] - cls.add_method('NotifyAckTimeoutResetNow', - 'void', - []) - ## dcf-manager.h: void ns3::DcfManager::NotifyAckTimeoutStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyAckTimeoutStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyCtsTimeoutResetNow() [member function] - cls.add_method('NotifyCtsTimeoutResetNow', - 'void', - []) - ## dcf-manager.h: void ns3::DcfManager::NotifyCtsTimeoutStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyCtsTimeoutStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyMaybeCcaBusyStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyMaybeCcaBusyStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyNavResetNow(ns3::Time duration) [member function] - cls.add_method('NotifyNavResetNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyNavStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyNavStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyRxEndErrorNow() [member function] - cls.add_method('NotifyRxEndErrorNow', - 'void', - []) - ## dcf-manager.h: void ns3::DcfManager::NotifyRxEndOkNow() [member function] - cls.add_method('NotifyRxEndOkNow', - 'void', - []) - ## dcf-manager.h: void ns3::DcfManager::NotifyRxStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyRxStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifySwitchingStartNow(ns3::Time duration) [member function] - cls.add_method('NotifySwitchingStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::NotifyTxStartNow(ns3::Time duration) [member function] - cls.add_method('NotifyTxStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## dcf-manager.h: void ns3::DcfManager::RequestAccess(ns3::DcfState * state) [member function] - cls.add_method('RequestAccess', - 'void', - [param('ns3::DcfState *', 'state')]) - ## dcf-manager.h: void ns3::DcfManager::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function] - cls.add_method('SetEifsNoDifs', - 'void', - [param('ns3::Time', 'eifsNoDifs')]) - ## dcf-manager.h: void ns3::DcfManager::SetSifs(ns3::Time sifs) [member function] - cls.add_method('SetSifs', - 'void', - [param('ns3::Time', 'sifs')]) - ## dcf-manager.h: void ns3::DcfManager::SetSlot(ns3::Time slotTime) [member function] - cls.add_method('SetSlot', - 'void', - [param('ns3::Time', 'slotTime')]) - ## dcf-manager.h: void ns3::DcfManager::SetupLowListener(ns3::Ptr low) [member function] - cls.add_method('SetupLowListener', - 'void', - [param('ns3::Ptr< ns3::MacLow >', 'low')]) - ## dcf-manager.h: void ns3::DcfManager::SetupPhyListener(ns3::Ptr phy) [member function] - cls.add_method('SetupPhyListener', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')]) - return - -def register_Ns3DcfState_methods(root_module, cls): - ## dcf-manager.h: ns3::DcfState::DcfState(ns3::DcfState const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DcfState const &', 'arg0')]) - ## dcf-manager.h: ns3::DcfState::DcfState() [constructor] - cls.add_constructor([]) - ## dcf-manager.h: uint32_t ns3::DcfState::GetAifsn() const [member function] - cls.add_method('GetAifsn', - 'uint32_t', - [], - is_const=True) - ## dcf-manager.h: uint32_t ns3::DcfState::GetCw() const [member function] - cls.add_method('GetCw', - 'uint32_t', - [], - is_const=True) - ## dcf-manager.h: uint32_t ns3::DcfState::GetCwMax() const [member function] - cls.add_method('GetCwMax', - 'uint32_t', - [], - is_const=True) - ## dcf-manager.h: uint32_t ns3::DcfState::GetCwMin() const [member function] - cls.add_method('GetCwMin', - 'uint32_t', - [], - is_const=True) - ## dcf-manager.h: bool ns3::DcfState::IsAccessRequested() const [member function] - cls.add_method('IsAccessRequested', - 'bool', - [], - is_const=True) - ## dcf-manager.h: void ns3::DcfState::ResetCw() [member function] - cls.add_method('ResetCw', - 'void', - []) - ## dcf-manager.h: void ns3::DcfState::SetAifsn(uint32_t aifsn) [member function] - cls.add_method('SetAifsn', - 'void', - [param('uint32_t', 'aifsn')]) - ## dcf-manager.h: void ns3::DcfState::SetCwMax(uint32_t maxCw) [member function] - cls.add_method('SetCwMax', - 'void', - [param('uint32_t', 'maxCw')]) - ## dcf-manager.h: void ns3::DcfState::SetCwMin(uint32_t minCw) [member function] - cls.add_method('SetCwMin', - 'void', - [param('uint32_t', 'minCw')]) - ## dcf-manager.h: void ns3::DcfState::StartBackoffNow(uint32_t nSlots) [member function] - cls.add_method('StartBackoffNow', - 'void', - [param('uint32_t', 'nSlots')]) - ## dcf-manager.h: void ns3::DcfState::UpdateFailedCw() [member function] - cls.add_method('UpdateFailedCw', - 'void', - []) - ## dcf-manager.h: void ns3::DcfState::DoNotifyAccessGranted() [member function] - cls.add_method('DoNotifyAccessGranted', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## dcf-manager.h: void ns3::DcfState::DoNotifyChannelSwitching() [member function] - cls.add_method('DoNotifyChannelSwitching', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## dcf-manager.h: void ns3::DcfState::DoNotifyCollision() [member function] - cls.add_method('DoNotifyCollision', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## dcf-manager.h: void ns3::DcfState::DoNotifyInternalCollision() [member function] - cls.add_method('DoNotifyInternalCollision', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3DsssErrorRateModel_methods(root_module, cls): - ## dsss-error-rate-model.h: ns3::DsssErrorRateModel::DsssErrorRateModel() [constructor] - cls.add_constructor([]) - ## dsss-error-rate-model.h: ns3::DsssErrorRateModel::DsssErrorRateModel(ns3::DsssErrorRateModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsssErrorRateModel const &', 'arg0')]) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::DqpskFunction(double x) [member function] - cls.add_method('DqpskFunction', - 'double', - [param('double', 'x')], - is_static=True) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::GetDsssDbpskSuccessRate(double sinr, uint32_t nbits) [member function] - cls.add_method('GetDsssDbpskSuccessRate', - 'double', - [param('double', 'sinr'), param('uint32_t', 'nbits')], - is_static=True) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::GetDsssDqpskCck11SuccessRate(double sinr, uint32_t nbits) [member function] - cls.add_method('GetDsssDqpskCck11SuccessRate', - 'double', - [param('double', 'sinr'), param('uint32_t', 'nbits')], - is_static=True) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::GetDsssDqpskCck5_5SuccessRate(double sinr, uint32_t nbits) [member function] - cls.add_method('GetDsssDqpskCck5_5SuccessRate', - 'double', - [param('double', 'sinr'), param('uint32_t', 'nbits')], - is_static=True) - ## dsss-error-rate-model.h: static double ns3::DsssErrorRateModel::GetDsssDqpskSuccessRate(double sinr, uint32_t nbits) [member function] - cls.add_method('GetDsssDqpskSuccessRate', - 'double', - [param('double', 'sinr'), param('uint32_t', 'nbits')], - is_static=True) - return - -def register_Ns3InterferenceHelper_methods(root_module, cls): - ## interference-helper.h: ns3::InterferenceHelper::InterferenceHelper() [constructor] - cls.add_constructor([]) - ## interference-helper.h: ns3::Ptr ns3::InterferenceHelper::Add(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble, ns3::Time duration, double rxPower) [member function] - cls.add_method('Add', - 'ns3::Ptr< ns3::InterferenceHelper::Event >', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble'), param('ns3::Time', 'duration'), param('double', 'rxPower')]) - ## interference-helper.h: ns3::InterferenceHelper::SnrPer ns3::InterferenceHelper::CalculateSnrPer(ns3::Ptr event) [member function] - cls.add_method('CalculateSnrPer', - 'ns3::InterferenceHelper::SnrPer', - [param('ns3::Ptr< ns3::InterferenceHelper::Event >', 'event')]) - ## interference-helper.h: static ns3::Time ns3::InterferenceHelper::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] - cls.add_method('CalculateTxDuration', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_static=True) - ## interference-helper.h: void ns3::InterferenceHelper::EraseEvents() [member function] - cls.add_method('EraseEvents', - 'void', - []) - ## interference-helper.h: ns3::Time ns3::InterferenceHelper::GetEnergyDuration(double energyW) [member function] - cls.add_method('GetEnergyDuration', - 'ns3::Time', - [param('double', 'energyW')]) - ## interference-helper.h: ns3::Ptr ns3::InterferenceHelper::GetErrorRateModel() const [member function] - cls.add_method('GetErrorRateModel', - 'ns3::Ptr< ns3::ErrorRateModel >', - [], - is_const=True) - ## interference-helper.h: double ns3::InterferenceHelper::GetNoiseFigure() const [member function] - cls.add_method('GetNoiseFigure', - 'double', - [], - is_const=True) - ## interference-helper.h: static uint32_t ns3::InterferenceHelper::GetPayloadDurationMicroSeconds(uint32_t size, ns3::WifiMode payloadMode) [member function] - cls.add_method('GetPayloadDurationMicroSeconds', - 'uint32_t', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode')], - is_static=True) - ## interference-helper.h: static uint32_t ns3::InterferenceHelper::GetPlcpHeaderDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] - cls.add_method('GetPlcpHeaderDurationMicroSeconds', - 'uint32_t', - [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_static=True) - ## interference-helper.h: static ns3::WifiMode ns3::InterferenceHelper::GetPlcpHeaderMode(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] - cls.add_method('GetPlcpHeaderMode', - 'ns3::WifiMode', - [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_static=True) - ## interference-helper.h: static uint32_t ns3::InterferenceHelper::GetPlcpPreambleDurationMicroSeconds(ns3::WifiMode mode, ns3::WifiPreamble preamble) [member function] - cls.add_method('GetPlcpPreambleDurationMicroSeconds', - 'uint32_t', - [param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble')], - is_static=True) - ## interference-helper.h: void ns3::InterferenceHelper::NotifyRxEnd() [member function] - cls.add_method('NotifyRxEnd', - 'void', - []) - ## interference-helper.h: void ns3::InterferenceHelper::NotifyRxStart() [member function] - cls.add_method('NotifyRxStart', - 'void', - []) - ## interference-helper.h: void ns3::InterferenceHelper::SetErrorRateModel(ns3::Ptr rate) [member function] - cls.add_method('SetErrorRateModel', - 'void', - [param('ns3::Ptr< ns3::ErrorRateModel >', 'rate')]) - ## interference-helper.h: void ns3::InterferenceHelper::SetNoiseFigure(double value) [member function] - cls.add_method('SetNoiseFigure', - 'void', - [param('double', 'value')]) - return - -def register_Ns3InterferenceHelperSnrPer_methods(root_module, cls): - ## interference-helper.h: ns3::InterferenceHelper::SnrPer::SnrPer() [constructor] - cls.add_constructor([]) - ## interference-helper.h: ns3::InterferenceHelper::SnrPer::SnrPer(ns3::InterferenceHelper::SnrPer const & arg0) [copy constructor] - cls.add_constructor([param('ns3::InterferenceHelper::SnrPer const &', 'arg0')]) - ## interference-helper.h: ns3::InterferenceHelper::SnrPer::per [variable] - cls.add_instance_attribute('per', 'double', is_const=False) - ## interference-helper.h: ns3::InterferenceHelper::SnrPer::snr [variable] - cls.add_instance_attribute('snr', 'double', is_const=False) - return - -def register_Ns3MacLowBlockAckEventListener_methods(root_module, cls): - ## mac-low.h: ns3::MacLowBlockAckEventListener::MacLowBlockAckEventListener(ns3::MacLowBlockAckEventListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLowBlockAckEventListener const &', 'arg0')]) - ## mac-low.h: ns3::MacLowBlockAckEventListener::MacLowBlockAckEventListener() [constructor] - cls.add_constructor([]) - ## mac-low.h: void ns3::MacLowBlockAckEventListener::BlockAckInactivityTimeout(ns3::Mac48Address originator, uint8_t tid) [member function] - cls.add_method('BlockAckInactivityTimeout', - 'void', - [param('ns3::Mac48Address', 'originator'), param('uint8_t', 'tid')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3MacLowDcfListener_methods(root_module, cls): - ## mac-low.h: ns3::MacLowDcfListener::MacLowDcfListener(ns3::MacLowDcfListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLowDcfListener const &', 'arg0')]) - ## mac-low.h: ns3::MacLowDcfListener::MacLowDcfListener() [constructor] - cls.add_constructor([]) - ## mac-low.h: void ns3::MacLowDcfListener::AckTimeoutReset() [member function] - cls.add_method('AckTimeoutReset', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::AckTimeoutStart(ns3::Time duration) [member function] - cls.add_method('AckTimeoutStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::CtsTimeoutReset() [member function] - cls.add_method('CtsTimeoutReset', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::CtsTimeoutStart(ns3::Time duration) [member function] - cls.add_method('CtsTimeoutStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::NavReset(ns3::Time duration) [member function] - cls.add_method('NavReset', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowDcfListener::NavStart(ns3::Time duration) [member function] - cls.add_method('NavStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3MacLowTransmissionListener_methods(root_module, cls): - ## mac-low.h: ns3::MacLowTransmissionListener::MacLowTransmissionListener(ns3::MacLowTransmissionListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLowTransmissionListener const &', 'arg0')]) - ## mac-low.h: ns3::MacLowTransmissionListener::MacLowTransmissionListener() [constructor] - cls.add_constructor([]) - ## mac-low.h: void ns3::MacLowTransmissionListener::Cancel() [member function] - cls.add_method('Cancel', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::GotAck(double snr, ns3::WifiMode txMode) [member function] - cls.add_method('GotAck', - 'void', - [param('double', 'snr'), param('ns3::WifiMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::GotBlockAck(ns3::CtrlBAckResponseHeader const * blockAck, ns3::Mac48Address source) [member function] - cls.add_method('GotBlockAck', - 'void', - [param('ns3::CtrlBAckResponseHeader const *', 'blockAck'), param('ns3::Mac48Address', 'source')], - is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::GotCts(double snr, ns3::WifiMode txMode) [member function] - cls.add_method('GotCts', - 'void', - [param('double', 'snr'), param('ns3::WifiMode', 'txMode')], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::MissedAck() [member function] - cls.add_method('MissedAck', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::MissedBlockAck() [member function] - cls.add_method('MissedBlockAck', - 'void', - [], - is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::MissedCts() [member function] - cls.add_method('MissedCts', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## mac-low.h: void ns3::MacLowTransmissionListener::StartNext() [member function] - cls.add_method('StartNext', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3MacLowTransmissionParameters_methods(root_module, cls): - cls.add_output_stream_operator() - ## mac-low.h: ns3::MacLowTransmissionParameters::MacLowTransmissionParameters(ns3::MacLowTransmissionParameters const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLowTransmissionParameters const &', 'arg0')]) - ## mac-low.h: ns3::MacLowTransmissionParameters::MacLowTransmissionParameters() [constructor] - cls.add_constructor([]) - ## mac-low.h: void ns3::MacLowTransmissionParameters::DisableAck() [member function] - cls.add_method('DisableAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::DisableNextData() [member function] - cls.add_method('DisableNextData', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::DisableOverrideDurationId() [member function] - cls.add_method('DisableOverrideDurationId', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::DisableRts() [member function] - cls.add_method('DisableRts', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableAck() [member function] - cls.add_method('EnableAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableBasicBlockAck() [member function] - cls.add_method('EnableBasicBlockAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableCompressedBlockAck() [member function] - cls.add_method('EnableCompressedBlockAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableFastAck() [member function] - cls.add_method('EnableFastAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableMultiTidBlockAck() [member function] - cls.add_method('EnableMultiTidBlockAck', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableNextData(uint32_t size) [member function] - cls.add_method('EnableNextData', - 'void', - [param('uint32_t', 'size')]) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableOverrideDurationId(ns3::Time durationId) [member function] - cls.add_method('EnableOverrideDurationId', - 'void', - [param('ns3::Time', 'durationId')]) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableRts() [member function] - cls.add_method('EnableRts', - 'void', - []) - ## mac-low.h: void ns3::MacLowTransmissionParameters::EnableSuperFastAck() [member function] - cls.add_method('EnableSuperFastAck', - 'void', - []) - ## mac-low.h: ns3::Time ns3::MacLowTransmissionParameters::GetDurationId() const [member function] - cls.add_method('GetDurationId', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: uint32_t ns3::MacLowTransmissionParameters::GetNextPacketSize() const [member function] - cls.add_method('GetNextPacketSize', - 'uint32_t', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::HasDurationId() const [member function] - cls.add_method('HasDurationId', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::HasNextPacket() const [member function] - cls.add_method('HasNextPacket', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustSendRts() const [member function] - cls.add_method('MustSendRts', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitAck() const [member function] - cls.add_method('MustWaitAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitBasicBlockAck() const [member function] - cls.add_method('MustWaitBasicBlockAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitCompressedBlockAck() const [member function] - cls.add_method('MustWaitCompressedBlockAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitFastAck() const [member function] - cls.add_method('MustWaitFastAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitMultiTidBlockAck() const [member function] - cls.add_method('MustWaitMultiTidBlockAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitNormalAck() const [member function] - cls.add_method('MustWaitNormalAck', - 'bool', - [], - is_const=True) - ## mac-low.h: bool ns3::MacLowTransmissionParameters::MustWaitSuperFastAck() const [member function] - cls.add_method('MustWaitSuperFastAck', - 'bool', - [], - is_const=True) - return - -def register_Ns3MacRxMiddle_methods(root_module, cls): - ## mac-rx-middle.h: ns3::MacRxMiddle::MacRxMiddle(ns3::MacRxMiddle const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacRxMiddle const &', 'arg0')]) - ## mac-rx-middle.h: ns3::MacRxMiddle::MacRxMiddle() [constructor] - cls.add_constructor([]) - ## mac-rx-middle.h: void ns3::MacRxMiddle::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')]) - ## mac-rx-middle.h: void ns3::MacRxMiddle::SetForwardCallback(ns3::Callback, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function] - cls.add_method('SetForwardCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::WifiMacHeader const *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - return - -def register_Ns3OriginatorBlockAckAgreement_methods(root_module, cls): - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement::OriginatorBlockAckAgreement(ns3::OriginatorBlockAckAgreement const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OriginatorBlockAckAgreement const &', 'arg0')]) - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement::OriginatorBlockAckAgreement() [constructor] - cls.add_constructor([]) - ## originator-block-ack-agreement.h: ns3::OriginatorBlockAckAgreement::OriginatorBlockAckAgreement(ns3::Mac48Address recipient, uint8_t tid) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'recipient'), param('uint8_t', 'tid')]) - ## originator-block-ack-agreement.h: void ns3::OriginatorBlockAckAgreement::CompleteExchange() [member function] - cls.add_method('CompleteExchange', - 'void', - []) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsBlockAckRequestNeeded() const [member function] - cls.add_method('IsBlockAckRequestNeeded', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsEstablished() const [member function] - cls.add_method('IsEstablished', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsInactive() const [member function] - cls.add_method('IsInactive', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsPending() const [member function] - cls.add_method('IsPending', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: bool ns3::OriginatorBlockAckAgreement::IsUnsuccessful() const [member function] - cls.add_method('IsUnsuccessful', - 'bool', - [], - is_const=True) - ## originator-block-ack-agreement.h: void ns3::OriginatorBlockAckAgreement::NotifyMpduTransmission(uint16_t nextSeqNumber) [member function] - cls.add_method('NotifyMpduTransmission', - 'void', - [param('uint16_t', 'nextSeqNumber')]) - ## originator-block-ack-agreement.h: void ns3::OriginatorBlockAckAgreement::SetState(ns3::OriginatorBlockAckAgreement::State state) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::OriginatorBlockAckAgreement::State', 'state')]) - return - -def register_Ns3RateInfo_methods(root_module, cls): - ## minstrel-wifi-manager.h: ns3::RateInfo::RateInfo() [constructor] - cls.add_constructor([]) - ## minstrel-wifi-manager.h: ns3::RateInfo::RateInfo(ns3::RateInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RateInfo const &', 'arg0')]) - ## minstrel-wifi-manager.h: ns3::RateInfo::adjustedRetryCount [variable] - cls.add_instance_attribute('adjustedRetryCount', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::attemptHist [variable] - cls.add_instance_attribute('attemptHist', 'uint64_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::ewmaProb [variable] - cls.add_instance_attribute('ewmaProb', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::numRateAttempt [variable] - cls.add_instance_attribute('numRateAttempt', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::numRateSuccess [variable] - cls.add_instance_attribute('numRateSuccess', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::perfectTxTime [variable] - cls.add_instance_attribute('perfectTxTime', 'ns3::Time', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::prevNumRateAttempt [variable] - cls.add_instance_attribute('prevNumRateAttempt', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::prevNumRateSuccess [variable] - cls.add_instance_attribute('prevNumRateSuccess', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::prob [variable] - cls.add_instance_attribute('prob', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::retryCount [variable] - cls.add_instance_attribute('retryCount', 'uint32_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::successHist [variable] - cls.add_instance_attribute('successHist', 'uint64_t', is_const=False) - ## minstrel-wifi-manager.h: ns3::RateInfo::throughput [variable] - cls.add_instance_attribute('throughput', 'uint32_t', is_const=False) - return - -def register_Ns3StatusCode_methods(root_module, cls): - cls.add_output_stream_operator() - ## status-code.h: ns3::StatusCode::StatusCode(ns3::StatusCode const & arg0) [copy constructor] - cls.add_constructor([param('ns3::StatusCode const &', 'arg0')]) - ## status-code.h: ns3::StatusCode::StatusCode() [constructor] - cls.add_constructor([]) - ## status-code.h: ns3::Buffer::Iterator ns3::StatusCode::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## status-code.h: uint32_t ns3::StatusCode::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True) - ## status-code.h: bool ns3::StatusCode::IsSuccess() const [member function] - cls.add_method('IsSuccess', - 'bool', - [], - is_const=True) - ## status-code.h: ns3::Buffer::Iterator ns3::StatusCode::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## status-code.h: void ns3::StatusCode::SetFailure() [member function] - cls.add_method('SetFailure', - 'void', - []) - ## status-code.h: void ns3::StatusCode::SetSuccess() [member function] - cls.add_method('SetSuccess', - 'void', - []) - return - -def register_Ns3WifiHelper_methods(root_module, cls): - ## wifi-helper.h: ns3::WifiHelper::WifiHelper(ns3::WifiHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiHelper const &', 'arg0')]) - ## wifi-helper.h: ns3::WifiHelper::WifiHelper() [constructor] - cls.add_constructor([]) - ## wifi-helper.h: static ns3::WifiHelper ns3::WifiHelper::Default() [member function] - cls.add_method('Default', - 'ns3::WifiHelper', - [], - is_static=True) - ## wifi-helper.h: static void ns3::WifiHelper::EnableLogComponents() [member function] - cls.add_method('EnableLogComponents', - 'void', - [], - is_static=True) - ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::WifiPhyHelper const & phy, ns3::WifiMacHelper const & mac, ns3::NodeContainer c) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('ns3::NodeContainer', 'c')], - is_const=True) - ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::WifiPhyHelper const & phy, ns3::WifiMacHelper const & mac, ns3::Ptr node) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('ns3::Ptr< ns3::Node >', 'node')], - is_const=True) - ## wifi-helper.h: ns3::NetDeviceContainer ns3::WifiHelper::Install(ns3::WifiPhyHelper const & phy, ns3::WifiMacHelper const & mac, std::string nodeName) const [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::WifiPhyHelper const &', 'phy'), param('ns3::WifiMacHelper const &', 'mac'), param('std::string', 'nodeName')], - is_const=True) - ## wifi-helper.h: void ns3::WifiHelper::SetRemoteStationManager(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetRemoteStationManager', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## wifi-helper.h: void ns3::WifiHelper::SetStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('SetStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')]) - return - -def register_Ns3WifiMacHelper_methods(root_module, cls): - ## wifi-helper.h: ns3::WifiMacHelper::WifiMacHelper() [constructor] - cls.add_constructor([]) - ## wifi-helper.h: ns3::WifiMacHelper::WifiMacHelper(ns3::WifiMacHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiMacHelper const &', 'arg0')]) - ## wifi-helper.h: ns3::Ptr ns3::WifiMacHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiMac >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3WifiMode_methods(root_module, cls): - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## wifi-mode.h: ns3::WifiMode::WifiMode(ns3::WifiMode const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiMode const &', 'arg0')]) - ## wifi-mode.h: ns3::WifiMode::WifiMode() [constructor] - cls.add_constructor([]) - ## wifi-mode.h: ns3::WifiMode::WifiMode(std::string name) [constructor] - cls.add_constructor([param('std::string', 'name')]) - ## wifi-mode.h: uint32_t ns3::WifiMode::GetBandwidth() const [member function] - cls.add_method('GetBandwidth', - 'uint32_t', - [], - is_const=True) - ## wifi-mode.h: ns3::WifiCodeRate ns3::WifiMode::GetCodeRate() const [member function] - cls.add_method('GetCodeRate', - 'ns3::WifiCodeRate', - [], - is_const=True) - ## wifi-mode.h: uint8_t ns3::WifiMode::GetConstellationSize() const [member function] - cls.add_method('GetConstellationSize', - 'uint8_t', - [], - is_const=True) - ## wifi-mode.h: uint32_t ns3::WifiMode::GetDataRate() const [member function] - cls.add_method('GetDataRate', - 'uint32_t', - [], - is_const=True) - ## wifi-mode.h: ns3::WifiModulationClass ns3::WifiMode::GetModulationClass() const [member function] - cls.add_method('GetModulationClass', - 'ns3::WifiModulationClass', - [], - is_const=True) - ## wifi-mode.h: uint32_t ns3::WifiMode::GetPhyRate() const [member function] - cls.add_method('GetPhyRate', - 'uint32_t', - [], - is_const=True) - ## wifi-mode.h: uint32_t ns3::WifiMode::GetUid() const [member function] - cls.add_method('GetUid', - 'uint32_t', - [], - is_const=True) - ## wifi-mode.h: std::string ns3::WifiMode::GetUniqueName() const [member function] - cls.add_method('GetUniqueName', - 'std::string', - [], - is_const=True) - ## wifi-mode.h: bool ns3::WifiMode::IsMandatory() const [member function] - cls.add_method('IsMandatory', - 'bool', - [], - is_const=True) - return - -def register_Ns3WifiModeFactory_methods(root_module, cls): - ## wifi-mode.h: ns3::WifiModeFactory::WifiModeFactory(ns3::WifiModeFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiModeFactory const &', 'arg0')]) - ## wifi-mode.h: static ns3::WifiMode ns3::WifiModeFactory::CreateWifiMode(std::string uniqueName, ns3::WifiModulationClass modClass, bool isMandatory, uint32_t bandwidth, uint32_t dataRate, ns3::WifiCodeRate codingRate, uint8_t constellationSize) [member function] - cls.add_method('CreateWifiMode', - 'ns3::WifiMode', - [param('std::string', 'uniqueName'), param('ns3::WifiModulationClass', 'modClass'), param('bool', 'isMandatory'), param('uint32_t', 'bandwidth'), param('uint32_t', 'dataRate'), param('ns3::WifiCodeRate', 'codingRate'), param('uint8_t', 'constellationSize')], - is_static=True) - return - -def register_Ns3WifiPhyHelper_methods(root_module, cls): - ## wifi-helper.h: ns3::WifiPhyHelper::WifiPhyHelper() [constructor] - cls.add_constructor([]) - ## wifi-helper.h: ns3::WifiPhyHelper::WifiPhyHelper(ns3::WifiPhyHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiPhyHelper const &', 'arg0')]) - ## wifi-helper.h: ns3::Ptr ns3::WifiPhyHelper::Create(ns3::Ptr node, ns3::Ptr device) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiPhy >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WifiNetDevice >', 'device')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3WifiPhyListener_methods(root_module, cls): - ## wifi-phy.h: ns3::WifiPhyListener::WifiPhyListener() [constructor] - cls.add_constructor([]) - ## wifi-phy.h: ns3::WifiPhyListener::WifiPhyListener(ns3::WifiPhyListener const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiPhyListener const &', 'arg0')]) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyMaybeCcaBusyStart(ns3::Time duration) [member function] - cls.add_method('NotifyMaybeCcaBusyStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyRxEndError() [member function] - cls.add_method('NotifyRxEndError', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyRxEndOk() [member function] - cls.add_method('NotifyRxEndOk', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyRxStart(ns3::Time duration) [member function] - cls.add_method('NotifyRxStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifySwitchingStart(ns3::Time duration) [member function] - cls.add_method('NotifySwitchingStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhyListener::NotifyTxStart(ns3::Time duration) [member function] - cls.add_method('NotifyTxStart', - 'void', - [param('ns3::Time', 'duration')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3WifiRemoteStation_methods(root_module, cls): - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::WifiRemoteStation() [constructor] - cls.add_constructor([]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::WifiRemoteStation(ns3::WifiRemoteStation const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRemoteStation const &', 'arg0')]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::m_slrc [variable] - cls.add_instance_attribute('m_slrc', 'uint32_t', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::m_ssrc [variable] - cls.add_instance_attribute('m_ssrc', 'uint32_t', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::m_state [variable] - cls.add_instance_attribute('m_state', 'ns3::WifiRemoteStationState *', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation::m_tid [variable] - cls.add_instance_attribute('m_tid', 'uint8_t', is_const=False) - return - -def register_Ns3WifiRemoteStationInfo_methods(root_module, cls): - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationInfo::WifiRemoteStationInfo(ns3::WifiRemoteStationInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRemoteStationInfo const &', 'arg0')]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationInfo::WifiRemoteStationInfo() [constructor] - cls.add_constructor([]) - ## wifi-remote-station-manager.h: double ns3::WifiRemoteStationInfo::GetFrameErrorRate() const [member function] - cls.add_method('GetFrameErrorRate', - 'double', - [], - is_const=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationInfo::NotifyTxFailed() [member function] - cls.add_method('NotifyTxFailed', - 'void', - []) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationInfo::NotifyTxSuccess(uint32_t retryCounter) [member function] - cls.add_method('NotifyTxSuccess', - 'void', - [param('uint32_t', 'retryCounter')]) - return - -def register_Ns3WifiRemoteStationState_methods(root_module, cls): - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::WifiRemoteStationState() [constructor] - cls.add_constructor([]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::WifiRemoteStationState(ns3::WifiRemoteStationState const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRemoteStationState const &', 'arg0')]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::m_address [variable] - cls.add_instance_attribute('m_address', 'ns3::Mac48Address', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::m_info [variable] - cls.add_instance_attribute('m_info', 'ns3::WifiRemoteStationInfo', is_const=False) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationState::m_operationalRateSet [variable] - cls.add_instance_attribute('m_operationalRateSet', 'ns3::WifiModeList', is_const=False) - return - -def register_Ns3YansWifiChannelHelper_methods(root_module, cls): - ## yans-wifi-helper.h: ns3::YansWifiChannelHelper::YansWifiChannelHelper(ns3::YansWifiChannelHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::YansWifiChannelHelper const &', 'arg0')]) - ## yans-wifi-helper.h: ns3::YansWifiChannelHelper::YansWifiChannelHelper() [constructor] - cls.add_constructor([]) - ## yans-wifi-helper.h: void ns3::YansWifiChannelHelper::AddPropagationLoss(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('AddPropagationLoss', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## yans-wifi-helper.h: ns3::Ptr ns3::YansWifiChannelHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::YansWifiChannel >', - [], - is_const=True) - ## yans-wifi-helper.h: static ns3::YansWifiChannelHelper ns3::YansWifiChannelHelper::Default() [member function] - cls.add_method('Default', - 'ns3::YansWifiChannelHelper', - [], - is_static=True) - ## yans-wifi-helper.h: void ns3::YansWifiChannelHelper::SetPropagationDelay(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetPropagationDelay', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - return - -def register_Ns3YansWifiPhyHelper_methods(root_module, cls): - ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::YansWifiPhyHelper(ns3::YansWifiPhyHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::YansWifiPhyHelper const &', 'arg0')]) - ## yans-wifi-helper.h: ns3::YansWifiPhyHelper::YansWifiPhyHelper() [constructor] - cls.add_constructor([]) - ## yans-wifi-helper.h: static ns3::YansWifiPhyHelper ns3::YansWifiPhyHelper::Default() [member function] - cls.add_method('Default', - 'ns3::YansWifiPhyHelper', - [], - is_static=True) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::Set(std::string name, ns3::AttributeValue const & v) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'v')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::YansWifiChannel >', 'channel')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetChannel(std::string channelName) [member function] - cls.add_method('SetChannel', - 'void', - [param('std::string', 'channelName')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetErrorRateModel(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetErrorRateModel', - 'void', - [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::SetPcapDataLinkType(ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes dlt) [member function] - cls.add_method('SetPcapDataLinkType', - 'void', - [param('ns3::YansWifiPhyHelper::SupportedPcapDataLinkTypes', 'dlt')]) - ## yans-wifi-helper.h: ns3::Ptr ns3::YansWifiPhyHelper::Create(ns3::Ptr node, ns3::Ptr device) const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiPhy >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WifiNetDevice >', 'device')], - is_const=True, visibility='private', is_virtual=True) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## yans-wifi-helper.h: void ns3::YansWifiPhyHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool promiscuous, bool explicitFilename) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'promiscuous'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - return - -def register_Ns3MgtAddBaRequestHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtAddBaRequestHeader::MgtAddBaRequestHeader(ns3::MgtAddBaRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtAddBaRequestHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtAddBaRequestHeader::MgtAddBaRequestHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtAddBaRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaRequestHeader::GetBufferSize() const [member function] - cls.add_method('GetBufferSize', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtAddBaRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtAddBaRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaRequestHeader::GetStartingSequence() const [member function] - cls.add_method('GetStartingSequence', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: uint8_t ns3::MgtAddBaRequestHeader::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaRequestHeader::GetTimeout() const [member function] - cls.add_method('GetTimeout', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtAddBaRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: bool ns3::MgtAddBaRequestHeader::IsAmsduSupported() const [member function] - cls.add_method('IsAmsduSupported', - 'bool', - [], - is_const=True) - ## mgt-headers.h: bool ns3::MgtAddBaRequestHeader::IsImmediateBlockAck() const [member function] - cls.add_method('IsImmediateBlockAck', - 'bool', - [], - is_const=True) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetAmsduSupport(bool supported) [member function] - cls.add_method('SetAmsduSupport', - 'void', - [param('bool', 'supported')]) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetBufferSize(uint16_t size) [member function] - cls.add_method('SetBufferSize', - 'void', - [param('uint16_t', 'size')]) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetDelayedBlockAck() [member function] - cls.add_method('SetDelayedBlockAck', - 'void', - []) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetImmediateBlockAck() [member function] - cls.add_method('SetImmediateBlockAck', - 'void', - []) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetStartingSequence(uint16_t seq) [member function] - cls.add_method('SetStartingSequence', - 'void', - [param('uint16_t', 'seq')]) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetTid(uint8_t tid) [member function] - cls.add_method('SetTid', - 'void', - [param('uint8_t', 'tid')]) - ## mgt-headers.h: void ns3::MgtAddBaRequestHeader::SetTimeout(uint16_t timeout) [member function] - cls.add_method('SetTimeout', - 'void', - [param('uint16_t', 'timeout')]) - return - -def register_Ns3MgtAddBaResponseHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtAddBaResponseHeader::MgtAddBaResponseHeader(ns3::MgtAddBaResponseHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtAddBaResponseHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtAddBaResponseHeader::MgtAddBaResponseHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtAddBaResponseHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaResponseHeader::GetBufferSize() const [member function] - cls.add_method('GetBufferSize', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtAddBaResponseHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtAddBaResponseHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::StatusCode ns3::MgtAddBaResponseHeader::GetStatusCode() const [member function] - cls.add_method('GetStatusCode', - 'ns3::StatusCode', - [], - is_const=True) - ## mgt-headers.h: uint8_t ns3::MgtAddBaResponseHeader::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## mgt-headers.h: uint16_t ns3::MgtAddBaResponseHeader::GetTimeout() const [member function] - cls.add_method('GetTimeout', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtAddBaResponseHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: bool ns3::MgtAddBaResponseHeader::IsAmsduSupported() const [member function] - cls.add_method('IsAmsduSupported', - 'bool', - [], - is_const=True) - ## mgt-headers.h: bool ns3::MgtAddBaResponseHeader::IsImmediateBlockAck() const [member function] - cls.add_method('IsImmediateBlockAck', - 'bool', - [], - is_const=True) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetAmsduSupport(bool supported) [member function] - cls.add_method('SetAmsduSupport', - 'void', - [param('bool', 'supported')]) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetBufferSize(uint16_t size) [member function] - cls.add_method('SetBufferSize', - 'void', - [param('uint16_t', 'size')]) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetDelayedBlockAck() [member function] - cls.add_method('SetDelayedBlockAck', - 'void', - []) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetImmediateBlockAck() [member function] - cls.add_method('SetImmediateBlockAck', - 'void', - []) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetStatusCode(ns3::StatusCode code) [member function] - cls.add_method('SetStatusCode', - 'void', - [param('ns3::StatusCode', 'code')]) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetTid(uint8_t tid) [member function] - cls.add_method('SetTid', - 'void', - [param('uint8_t', 'tid')]) - ## mgt-headers.h: void ns3::MgtAddBaResponseHeader::SetTimeout(uint16_t timeout) [member function] - cls.add_method('SetTimeout', - 'void', - [param('uint16_t', 'timeout')]) - return - -def register_Ns3MgtAssocRequestHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtAssocRequestHeader::MgtAssocRequestHeader(ns3::MgtAssocRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtAssocRequestHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtAssocRequestHeader::MgtAssocRequestHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtAssocRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtAssocRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint16_t ns3::MgtAssocRequestHeader::GetListenInterval() const [member function] - cls.add_method('GetListenInterval', - 'uint16_t', - [], - is_const=True) - ## mgt-headers.h: uint32_t ns3::MgtAssocRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::Ssid ns3::MgtAssocRequestHeader::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_const=True) - ## mgt-headers.h: ns3::SupportedRates ns3::MgtAssocRequestHeader::GetSupportedRates() const [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtAssocRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::SetListenInterval(uint16_t interval) [member function] - cls.add_method('SetListenInterval', - 'void', - [param('uint16_t', 'interval')]) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')]) - ## mgt-headers.h: void ns3::MgtAssocRequestHeader::SetSupportedRates(ns3::SupportedRates rates) [member function] - cls.add_method('SetSupportedRates', - 'void', - [param('ns3::SupportedRates', 'rates')]) - return - -def register_Ns3MgtAssocResponseHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtAssocResponseHeader::MgtAssocResponseHeader(ns3::MgtAssocResponseHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtAssocResponseHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtAssocResponseHeader::MgtAssocResponseHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtAssocResponseHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtAssocResponseHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtAssocResponseHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::StatusCode ns3::MgtAssocResponseHeader::GetStatusCode() [member function] - cls.add_method('GetStatusCode', - 'ns3::StatusCode', - []) - ## mgt-headers.h: ns3::SupportedRates ns3::MgtAssocResponseHeader::GetSupportedRates() [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - []) - ## mgt-headers.h: static ns3::TypeId ns3::MgtAssocResponseHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::MgtAssocResponseHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAssocResponseHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtAssocResponseHeader::SetStatusCode(ns3::StatusCode code) [member function] - cls.add_method('SetStatusCode', - 'void', - [param('ns3::StatusCode', 'code')]) - ## mgt-headers.h: void ns3::MgtAssocResponseHeader::SetSupportedRates(ns3::SupportedRates rates) [member function] - cls.add_method('SetSupportedRates', - 'void', - [param('ns3::SupportedRates', 'rates')]) - return - -def register_Ns3MgtDelBaHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtDelBaHeader::MgtDelBaHeader(ns3::MgtDelBaHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtDelBaHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtDelBaHeader::MgtDelBaHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtDelBaHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtDelBaHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtDelBaHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint8_t ns3::MgtDelBaHeader::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtDelBaHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: bool ns3::MgtDelBaHeader::IsByOriginator() const [member function] - cls.add_method('IsByOriginator', - 'bool', - [], - is_const=True) - ## mgt-headers.h: void ns3::MgtDelBaHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtDelBaHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtDelBaHeader::SetByOriginator() [member function] - cls.add_method('SetByOriginator', - 'void', - []) - ## mgt-headers.h: void ns3::MgtDelBaHeader::SetByRecipient() [member function] - cls.add_method('SetByRecipient', - 'void', - []) - ## mgt-headers.h: void ns3::MgtDelBaHeader::SetTid(uint8_t arg0) [member function] - cls.add_method('SetTid', - 'void', - [param('uint8_t', 'arg0')]) - return - -def register_Ns3MgtProbeRequestHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtProbeRequestHeader::MgtProbeRequestHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: ns3::MgtProbeRequestHeader::MgtProbeRequestHeader(ns3::MgtProbeRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtProbeRequestHeader const &', 'arg0')]) - ## mgt-headers.h: uint32_t ns3::MgtProbeRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtProbeRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtProbeRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::Ssid ns3::MgtProbeRequestHeader::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_const=True) - ## mgt-headers.h: ns3::SupportedRates ns3::MgtProbeRequestHeader::GetSupportedRates() const [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - [], - is_const=True) - ## mgt-headers.h: static ns3::TypeId ns3::MgtProbeRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::MgtProbeRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtProbeRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtProbeRequestHeader::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')]) - ## mgt-headers.h: void ns3::MgtProbeRequestHeader::SetSupportedRates(ns3::SupportedRates rates) [member function] - cls.add_method('SetSupportedRates', - 'void', - [param('ns3::SupportedRates', 'rates')]) - return - -def register_Ns3MgtProbeResponseHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtProbeResponseHeader::MgtProbeResponseHeader(ns3::MgtProbeResponseHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtProbeResponseHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::MgtProbeResponseHeader::MgtProbeResponseHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::MgtProbeResponseHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: uint64_t ns3::MgtProbeResponseHeader::GetBeaconIntervalUs() const [member function] - cls.add_method('GetBeaconIntervalUs', - 'uint64_t', - [], - is_const=True) - ## mgt-headers.h: ns3::TypeId ns3::MgtProbeResponseHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::MgtProbeResponseHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: ns3::Ssid ns3::MgtProbeResponseHeader::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_const=True) - ## mgt-headers.h: ns3::SupportedRates ns3::MgtProbeResponseHeader::GetSupportedRates() const [member function] - cls.add_method('GetSupportedRates', - 'ns3::SupportedRates', - [], - is_const=True) - ## mgt-headers.h: uint64_t ns3::MgtProbeResponseHeader::GetTimestamp() [member function] - cls.add_method('GetTimestamp', - 'uint64_t', - []) - ## mgt-headers.h: static ns3::TypeId ns3::MgtProbeResponseHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::SetBeaconIntervalUs(uint64_t us) [member function] - cls.add_method('SetBeaconIntervalUs', - 'void', - [param('uint64_t', 'us')]) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')]) - ## mgt-headers.h: void ns3::MgtProbeResponseHeader::SetSupportedRates(ns3::SupportedRates rates) [member function] - cls.add_method('SetSupportedRates', - 'void', - [param('ns3::SupportedRates', 'rates')]) - return - -def register_Ns3NqosWifiMacHelper_methods(root_module, cls): - ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper::NqosWifiMacHelper(ns3::NqosWifiMacHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NqosWifiMacHelper const &', 'arg0')]) - ## nqos-wifi-mac-helper.h: ns3::NqosWifiMacHelper::NqosWifiMacHelper() [constructor] - cls.add_constructor([]) - ## nqos-wifi-mac-helper.h: static ns3::NqosWifiMacHelper ns3::NqosWifiMacHelper::Default() [member function] - cls.add_method('Default', - 'ns3::NqosWifiMacHelper', - [], - is_static=True) - ## nqos-wifi-mac-helper.h: void ns3::NqosWifiMacHelper::SetType(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetType', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## nqos-wifi-mac-helper.h: ns3::Ptr ns3::NqosWifiMacHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiMac >', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3QosTag_methods(root_module, cls): - ## qos-tag.h: ns3::QosTag::QosTag(ns3::QosTag const & arg0) [copy constructor] - cls.add_constructor([param('ns3::QosTag const &', 'arg0')]) - ## qos-tag.h: ns3::QosTag::QosTag() [constructor] - cls.add_constructor([]) - ## qos-tag.h: ns3::QosTag::QosTag(uint8_t tid) [constructor] - cls.add_constructor([param('uint8_t', 'tid')]) - ## qos-tag.h: void ns3::QosTag::Deserialize(ns3::TagBuffer i) [member function] - cls.add_method('Deserialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_virtual=True) - ## qos-tag.h: ns3::TypeId ns3::QosTag::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## qos-tag.h: uint32_t ns3::QosTag::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## qos-tag.h: uint8_t ns3::QosTag::GetTid() const [member function] - cls.add_method('GetTid', - 'uint8_t', - [], - is_const=True) - ## qos-tag.h: static ns3::TypeId ns3::QosTag::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## qos-tag.h: void ns3::QosTag::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## qos-tag.h: void ns3::QosTag::Serialize(ns3::TagBuffer i) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::TagBuffer', 'i')], - is_const=True, is_virtual=True) - ## qos-tag.h: void ns3::QosTag::SetTid(uint8_t tid) [member function] - cls.add_method('SetTid', - 'void', - [param('uint8_t', 'tid')]) - ## qos-tag.h: void ns3::QosTag::SetUserPriority(ns3::UserPriority up) [member function] - cls.add_method('SetUserPriority', - 'void', - [param('ns3::UserPriority', 'up')]) - return - -def register_Ns3QosWifiMacHelper_methods(root_module, cls): - ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper(ns3::QosWifiMacHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::QosWifiMacHelper const &', 'arg0')]) - ## qos-wifi-mac-helper.h: ns3::QosWifiMacHelper::QosWifiMacHelper() [constructor] - cls.add_constructor([]) - ## qos-wifi-mac-helper.h: static ns3::QosWifiMacHelper ns3::QosWifiMacHelper::Default() [member function] - cls.add_method('Default', - 'ns3::QosWifiMacHelper', - [], - is_static=True) - ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetBlockAckInactivityTimeoutForAc(ns3::AcIndex ac, uint16_t timeout) [member function] - cls.add_method('SetBlockAckInactivityTimeoutForAc', - 'void', - [param('ns3::AcIndex', 'ac'), param('uint16_t', 'timeout')]) - ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetBlockAckThresholdForAc(ns3::AcIndex ac, uint8_t threshold) [member function] - cls.add_method('SetBlockAckThresholdForAc', - 'void', - [param('ns3::AcIndex', 'ac'), param('uint8_t', 'threshold')]) - ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetMsduAggregatorForAc(ns3::AcIndex ac, std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetMsduAggregatorForAc', - 'void', - [param('ns3::AcIndex', 'ac'), param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()')]) - ## qos-wifi-mac-helper.h: void ns3::QosWifiMacHelper::SetType(std::string type, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] - cls.add_method('SetType', - 'void', - [param('std::string', 'type'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) - ## qos-wifi-mac-helper.h: ns3::Ptr ns3::QosWifiMacHelper::Create() const [member function] - cls.add_method('Create', - 'ns3::Ptr< ns3::WifiMac >', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiActionHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::WifiActionHeader::WifiActionHeader(ns3::WifiActionHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiActionHeader const &', 'arg0')]) - ## mgt-headers.h: ns3::WifiActionHeader::WifiActionHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: uint32_t ns3::WifiActionHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue ns3::WifiActionHeader::GetAction() [member function] - cls.add_method('GetAction', - 'ns3::WifiActionHeader::ActionValue', - []) - ## mgt-headers.h: ns3::WifiActionHeader::CategoryValue ns3::WifiActionHeader::GetCategory() [member function] - cls.add_method('GetCategory', - 'ns3::WifiActionHeader::CategoryValue', - []) - ## mgt-headers.h: ns3::TypeId ns3::WifiActionHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: uint32_t ns3::WifiActionHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mgt-headers.h: static ns3::TypeId ns3::WifiActionHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mgt-headers.h: void ns3::WifiActionHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::WifiActionHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mgt-headers.h: void ns3::WifiActionHeader::SetAction(ns3::WifiActionHeader::CategoryValue type, ns3::WifiActionHeader::ActionValue action) [member function] - cls.add_method('SetAction', - 'void', - [param('ns3::WifiActionHeader::CategoryValue', 'type'), param('ns3::WifiActionHeader::ActionValue', 'action')]) - return - -def register_Ns3WifiActionHeaderActionValue_methods(root_module, cls): - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::ActionValue() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::ActionValue(ns3::WifiActionHeader::ActionValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiActionHeader::ActionValue const &', 'arg0')]) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::blockAck [variable] - cls.add_instance_attribute('blockAck', 'ns3::WifiActionHeader::BlockAckActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::interwork [variable] - cls.add_instance_attribute('interwork', 'ns3::WifiActionHeader::InterworkActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::linkMetrtic [variable] - cls.add_instance_attribute('linkMetrtic', 'ns3::WifiActionHeader::LinkMetricActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::pathSelection [variable] - cls.add_instance_attribute('pathSelection', 'ns3::WifiActionHeader::PathSelectionActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::peerLink [variable] - cls.add_instance_attribute('peerLink', 'ns3::WifiActionHeader::PeerLinkMgtActionValue', is_const=False) - ## mgt-headers.h: ns3::WifiActionHeader::ActionValue::resourceCoordination [variable] - cls.add_instance_attribute('resourceCoordination', 'ns3::WifiActionHeader::ResourceCoordinationActionValue', is_const=False) - return - -def register_Ns3WifiInformationElement_methods(root_module, cls): - cls.add_binary_comparison_operator('<') - cls.add_binary_comparison_operator('==') - ## wifi-information-element.h: ns3::WifiInformationElement::WifiInformationElement() [constructor] - cls.add_constructor([]) - ## wifi-information-element.h: ns3::WifiInformationElement::WifiInformationElement(ns3::WifiInformationElement const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiInformationElement const &', 'arg0')]) - ## wifi-information-element.h: ns3::Buffer::Iterator ns3::WifiInformationElement::Deserialize(ns3::Buffer::Iterator i) [member function] - cls.add_method('Deserialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')]) - ## wifi-information-element.h: ns3::Buffer::Iterator ns3::WifiInformationElement::DeserializeIfPresent(ns3::Buffer::Iterator i) [member function] - cls.add_method('DeserializeIfPresent', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')]) - ## wifi-information-element.h: uint8_t ns3::WifiInformationElement::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_pure_virtual=True, is_virtual=True) - ## wifi-information-element.h: ns3::WifiInformationElementId ns3::WifiInformationElement::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-information-element.h: uint8_t ns3::WifiInformationElement::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-information-element.h: uint16_t ns3::WifiInformationElement::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint16_t', - [], - is_const=True) - ## wifi-information-element.h: void ns3::WifiInformationElement::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wifi-information-element.h: ns3::Buffer::Iterator ns3::WifiInformationElement::Serialize(ns3::Buffer::Iterator i) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'i')], - is_const=True) - ## wifi-information-element.h: void ns3::WifiInformationElement::SerializeInformationField(ns3::Buffer::Iterator start) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3WifiInformationElementVector_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector(ns3::WifiInformationElementVector const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiInformationElementVector const &', 'arg0')]) - ## wifi-information-element-vector.h: ns3::WifiInformationElementVector::WifiInformationElementVector() [constructor] - cls.add_constructor([]) - ## wifi-information-element-vector.h: bool ns3::WifiInformationElementVector::AddInformationElement(ns3::Ptr element) [member function] - cls.add_method('AddInformationElement', - 'bool', - [param('ns3::Ptr< ns3::WifiInformationElement >', 'element')]) - ## wifi-information-element-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::WifiInformationElementVector::Begin() [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::WifiInformationElement >, std::vector< ns3::Ptr< ns3::WifiInformationElement > > >', - []) - ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::DeserializeSingleIe(ns3::Buffer::Iterator start) [member function] - cls.add_method('DeserializeSingleIe', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wifi-information-element-vector.h: __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::WifiInformationElementVector::End() [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::WifiInformationElement >, std::vector< ns3::Ptr< ns3::WifiInformationElement > > >', - []) - ## wifi-information-element-vector.h: ns3::Ptr ns3::WifiInformationElementVector::FindFirst(ns3::WifiInformationElementId id) const [member function] - cls.add_method('FindFirst', - 'ns3::Ptr< ns3::WifiInformationElement >', - [param('ns3::WifiInformationElementId', 'id')], - is_const=True) - ## wifi-information-element-vector.h: ns3::TypeId ns3::WifiInformationElementVector::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wifi-information-element-vector.h: static ns3::TypeId ns3::WifiInformationElementVector::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wifi-information-element-vector.h: void ns3::WifiInformationElementVector::SetMaxSize(uint16_t size) [member function] - cls.add_method('SetMaxSize', - 'void', - [param('uint16_t', 'size')]) - ## wifi-information-element-vector.h: uint32_t ns3::WifiInformationElementVector::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True, visibility='protected') - return - -def register_Ns3WifiMac_methods(root_module, cls): - ## wifi-mac.h: ns3::WifiMac::WifiMac() [constructor] - cls.add_constructor([]) - ## wifi-mac.h: ns3::WifiMac::WifiMac(ns3::WifiMac const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiMac const &', 'arg0')]) - ## wifi-mac.h: void ns3::WifiMac::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('ConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')]) - ## wifi-mac.h: void ns3::WifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetAckTimeout() const [member function] - cls.add_method('GetAckTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Mac48Address ns3::WifiMac::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetBasicBlockAckTimeout() const [member function] - cls.add_method('GetBasicBlockAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Mac48Address ns3::WifiMac::GetBssid() const [member function] - cls.add_method('GetBssid', - 'ns3::Mac48Address', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetCompressedBlockAckTimeout() const [member function] - cls.add_method('GetCompressedBlockAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetCtsTimeout() const [member function] - cls.add_method('GetCtsTimeout', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetEifsNoDifs() const [member function] - cls.add_method('GetEifsNoDifs', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetMaxPropagationDelay() const [member function] - cls.add_method('GetMaxPropagationDelay', - 'ns3::Time', - [], - is_const=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetMsduLifetime() const [member function] - cls.add_method('GetMsduLifetime', - 'ns3::Time', - [], - is_const=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetPifs() const [member function] - cls.add_method('GetPifs', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetSifs() const [member function] - cls.add_method('GetSifs', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Time ns3::WifiMac::GetSlot() const [member function] - cls.add_method('GetSlot', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: ns3::Ssid ns3::WifiMac::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: static ns3::TypeId ns3::WifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-mac.h: void ns3::WifiMac::NotifyPromiscRx(ns3::Ptr packet) [member function] - cls.add_method('NotifyPromiscRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::NotifyRx(ns3::Ptr packet) [member function] - cls.add_method('NotifyRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::NotifyRxDrop(ns3::Ptr packet) [member function] - cls.add_method('NotifyRxDrop', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::NotifyTx(ns3::Ptr packet) [member function] - cls.add_method('NotifyTx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::NotifyTxDrop(ns3::Ptr packet) [member function] - cls.add_method('NotifyTxDrop', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-mac.h: void ns3::WifiMac::SetAckTimeout(ns3::Time ackTimeout) [member function] - cls.add_method('SetAckTimeout', - 'void', - [param('ns3::Time', 'ackTimeout')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'address')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetBasicBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetBasicBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')], - is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetCompressedBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetCompressedBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')], - is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetCtsTimeout(ns3::Time ctsTimeout) [member function] - cls.add_method('SetCtsTimeout', - 'void', - [param('ns3::Time', 'ctsTimeout')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function] - cls.add_method('SetEifsNoDifs', - 'void', - [param('ns3::Time', 'eifsNoDifs')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetForwardUpCallback(ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> upCallback) [member function] - cls.add_method('SetForwardUpCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'upCallback')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetLinkDownCallback(ns3::Callback linkDown) [member function] - cls.add_method('SetLinkDownCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkDown')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetMaxPropagationDelay(ns3::Time delay) [member function] - cls.add_method('SetMaxPropagationDelay', - 'void', - [param('ns3::Time', 'delay')]) - ## wifi-mac.h: void ns3::WifiMac::SetPifs(ns3::Time pifs) [member function] - cls.add_method('SetPifs', - 'void', - [param('ns3::Time', 'pifs')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetSifs(ns3::Time sifs) [member function] - cls.add_method('SetSifs', - 'void', - [param('ns3::Time', 'sifs')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetSlot(ns3::Time slotTime) [member function] - cls.add_method('SetSlot', - 'void', - [param('ns3::Time', 'slotTime')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetWifiPhy(ns3::Ptr phy) [member function] - cls.add_method('SetWifiPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::SetWifiRemoteStationManager(ns3::Ptr stationManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'stationManager')], - is_pure_virtual=True, is_virtual=True) - ## wifi-mac.h: bool ns3::WifiMac::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-mac.h: void ns3::WifiMac::ConfigureCCHDcf(ns3::Ptr dcf, uint32_t cwmin, uint32_t cwmax, ns3::AcIndex ac) [member function] - cls.add_method('ConfigureCCHDcf', - 'void', - [param('ns3::Ptr< ns3::Dcf >', 'dcf'), param('uint32_t', 'cwmin'), param('uint32_t', 'cwmax'), param('ns3::AcIndex', 'ac')], - visibility='protected') - ## wifi-mac.h: void ns3::WifiMac::ConfigureDcf(ns3::Ptr dcf, uint32_t cwmin, uint32_t cwmax, ns3::AcIndex ac) [member function] - cls.add_method('ConfigureDcf', - 'void', - [param('ns3::Ptr< ns3::Dcf >', 'dcf'), param('uint32_t', 'cwmin'), param('uint32_t', 'cwmax'), param('ns3::AcIndex', 'ac')], - visibility='protected') - ## wifi-mac.h: void ns3::WifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('FinishConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3WifiMacHeader_methods(root_module, cls): - ## wifi-mac-header.h: ns3::WifiMacHeader::WifiMacHeader(ns3::WifiMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiMacHeader const &', 'arg0')]) - ## wifi-mac-header.h: ns3::WifiMacHeader::WifiMacHeader() [constructor] - cls.add_constructor([]) - ## wifi-mac-header.h: uint32_t ns3::WifiMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wifi-mac-header.h: ns3::Mac48Address ns3::WifiMacHeader::GetAddr1() const [member function] - cls.add_method('GetAddr1', - 'ns3::Mac48Address', - [], - is_const=True) - ## wifi-mac-header.h: ns3::Mac48Address ns3::WifiMacHeader::GetAddr2() const [member function] - cls.add_method('GetAddr2', - 'ns3::Mac48Address', - [], - is_const=True) - ## wifi-mac-header.h: ns3::Mac48Address ns3::WifiMacHeader::GetAddr3() const [member function] - cls.add_method('GetAddr3', - 'ns3::Mac48Address', - [], - is_const=True) - ## wifi-mac-header.h: ns3::Mac48Address ns3::WifiMacHeader::GetAddr4() const [member function] - cls.add_method('GetAddr4', - 'ns3::Mac48Address', - [], - is_const=True) - ## wifi-mac-header.h: ns3::Time ns3::WifiMacHeader::GetDuration() const [member function] - cls.add_method('GetDuration', - 'ns3::Time', - [], - is_const=True) - ## wifi-mac-header.h: uint16_t ns3::WifiMacHeader::GetFragmentNumber() const [member function] - cls.add_method('GetFragmentNumber', - 'uint16_t', - [], - is_const=True) - ## wifi-mac-header.h: ns3::TypeId ns3::WifiMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wifi-mac-header.h: ns3::WifiMacHeader::QosAckPolicy ns3::WifiMacHeader::GetQosAckPolicy() const [member function] - cls.add_method('GetQosAckPolicy', - 'ns3::WifiMacHeader::QosAckPolicy', - [], - is_const=True) - ## wifi-mac-header.h: uint8_t ns3::WifiMacHeader::GetQosTid() const [member function] - cls.add_method('GetQosTid', - 'uint8_t', - [], - is_const=True) - ## wifi-mac-header.h: uint8_t ns3::WifiMacHeader::GetQosTxopLimit() const [member function] - cls.add_method('GetQosTxopLimit', - 'uint8_t', - [], - is_const=True) - ## wifi-mac-header.h: uint16_t ns3::WifiMacHeader::GetRawDuration() const [member function] - cls.add_method('GetRawDuration', - 'uint16_t', - [], - is_const=True) - ## wifi-mac-header.h: uint16_t ns3::WifiMacHeader::GetSequenceControl() const [member function] - cls.add_method('GetSequenceControl', - 'uint16_t', - [], - is_const=True) - ## wifi-mac-header.h: uint16_t ns3::WifiMacHeader::GetSequenceNumber() const [member function] - cls.add_method('GetSequenceNumber', - 'uint16_t', - [], - is_const=True) - ## wifi-mac-header.h: uint32_t ns3::WifiMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wifi-mac-header.h: uint32_t ns3::WifiMacHeader::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## wifi-mac-header.h: ns3::WifiMacType ns3::WifiMacHeader::GetType() const [member function] - cls.add_method('GetType', - 'ns3::WifiMacType', - [], - is_const=True) - ## wifi-mac-header.h: static ns3::TypeId ns3::WifiMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-mac-header.h: char const * ns3::WifiMacHeader::GetTypeString() const [member function] - cls.add_method('GetTypeString', - 'char const *', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAck() const [member function] - cls.add_method('IsAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAction() const [member function] - cls.add_method('IsAction', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAssocReq() const [member function] - cls.add_method('IsAssocReq', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAssocResp() const [member function] - cls.add_method('IsAssocResp', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsAuthentication() const [member function] - cls.add_method('IsAuthentication', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsBeacon() const [member function] - cls.add_method('IsBeacon', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsBlockAck() const [member function] - cls.add_method('IsBlockAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsBlockAckReq() const [member function] - cls.add_method('IsBlockAckReq', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsCfpoll() const [member function] - cls.add_method('IsCfpoll', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsCtl() const [member function] - cls.add_method('IsCtl', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsCts() const [member function] - cls.add_method('IsCts', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsData() const [member function] - cls.add_method('IsData', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsDeauthentication() const [member function] - cls.add_method('IsDeauthentication', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsDisassociation() const [member function] - cls.add_method('IsDisassociation', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsFromDs() const [member function] - cls.add_method('IsFromDs', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsMgt() const [member function] - cls.add_method('IsMgt', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsMoreFragments() const [member function] - cls.add_method('IsMoreFragments', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsMultihopAction() const [member function] - cls.add_method('IsMultihopAction', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsProbeReq() const [member function] - cls.add_method('IsProbeReq', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsProbeResp() const [member function] - cls.add_method('IsProbeResp', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosAck() const [member function] - cls.add_method('IsQosAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosAmsdu() const [member function] - cls.add_method('IsQosAmsdu', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosBlockAck() const [member function] - cls.add_method('IsQosBlockAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosData() const [member function] - cls.add_method('IsQosData', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosEosp() const [member function] - cls.add_method('IsQosEosp', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsQosNoAck() const [member function] - cls.add_method('IsQosNoAck', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsReassocReq() const [member function] - cls.add_method('IsReassocReq', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsReassocResp() const [member function] - cls.add_method('IsReassocResp', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsRetry() const [member function] - cls.add_method('IsRetry', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsRts() const [member function] - cls.add_method('IsRts', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: bool ns3::WifiMacHeader::IsToDs() const [member function] - cls.add_method('IsToDs', - 'bool', - [], - is_const=True) - ## wifi-mac-header.h: void ns3::WifiMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wifi-mac-header.h: void ns3::WifiMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAction() [member function] - cls.add_method('SetAction', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAddr1(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr1', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAddr2(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr2', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAddr3(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr3', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAddr4(ns3::Mac48Address address) [member function] - cls.add_method('SetAddr4', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAssocReq() [member function] - cls.add_method('SetAssocReq', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetAssocResp() [member function] - cls.add_method('SetAssocResp', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetBeacon() [member function] - cls.add_method('SetBeacon', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetBlockAck() [member function] - cls.add_method('SetBlockAck', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetBlockAckReq() [member function] - cls.add_method('SetBlockAckReq', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDsFrom() [member function] - cls.add_method('SetDsFrom', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDsNotFrom() [member function] - cls.add_method('SetDsNotFrom', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDsNotTo() [member function] - cls.add_method('SetDsNotTo', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDsTo() [member function] - cls.add_method('SetDsTo', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetDuration(ns3::Time duration) [member function] - cls.add_method('SetDuration', - 'void', - [param('ns3::Time', 'duration')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetFragmentNumber(uint8_t frag) [member function] - cls.add_method('SetFragmentNumber', - 'void', - [param('uint8_t', 'frag')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetId(uint16_t id) [member function] - cls.add_method('SetId', - 'void', - [param('uint16_t', 'id')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetMoreFragments() [member function] - cls.add_method('SetMoreFragments', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetMultihopAction() [member function] - cls.add_method('SetMultihopAction', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetNoMoreFragments() [member function] - cls.add_method('SetNoMoreFragments', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetNoRetry() [member function] - cls.add_method('SetNoRetry', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetProbeReq() [member function] - cls.add_method('SetProbeReq', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetProbeResp() [member function] - cls.add_method('SetProbeResp', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosAckPolicy(ns3::WifiMacHeader::QosAckPolicy arg0) [member function] - cls.add_method('SetQosAckPolicy', - 'void', - [param('ns3::WifiMacHeader::QosAckPolicy', 'arg0')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosAmsdu() [member function] - cls.add_method('SetQosAmsdu', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosBlockAck() [member function] - cls.add_method('SetQosBlockAck', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosEosp() [member function] - cls.add_method('SetQosEosp', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosNoAck() [member function] - cls.add_method('SetQosNoAck', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosNoAmsdu() [member function] - cls.add_method('SetQosNoAmsdu', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosNoEosp() [member function] - cls.add_method('SetQosNoEosp', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosNormalAck() [member function] - cls.add_method('SetQosNormalAck', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosTid(uint8_t tid) [member function] - cls.add_method('SetQosTid', - 'void', - [param('uint8_t', 'tid')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetQosTxopLimit(uint8_t txop) [member function] - cls.add_method('SetQosTxopLimit', - 'void', - [param('uint8_t', 'txop')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetRawDuration(uint16_t duration) [member function] - cls.add_method('SetRawDuration', - 'void', - [param('uint16_t', 'duration')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetRetry() [member function] - cls.add_method('SetRetry', - 'void', - []) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetSequenceNumber(uint16_t seq) [member function] - cls.add_method('SetSequenceNumber', - 'void', - [param('uint16_t', 'seq')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetType(ns3::WifiMacType type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::WifiMacType', 'type')]) - ## wifi-mac-header.h: void ns3::WifiMacHeader::SetTypeData() [member function] - cls.add_method('SetTypeData', - 'void', - []) - return - -def register_Ns3WifiPhy_methods(root_module, cls): - ## wifi-phy.h: ns3::WifiPhy::WifiPhy(ns3::WifiPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiPhy const &', 'arg0')]) - ## wifi-phy.h: ns3::WifiPhy::WifiPhy() [constructor] - cls.add_constructor([]) - ## wifi-phy.h: double ns3::WifiPhy::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function] - cls.add_method('CalculateSnr', - 'double', - [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) const [member function] - cls.add_method('CalculateTxDuration', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('ConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: ns3::Ptr ns3::WifiPhy::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::WifiChannel >', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: uint16_t ns3::WifiPhy::GetChannelNumber() const [member function] - cls.add_method('GetChannelNumber', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: ns3::Time ns3::WifiPhy::GetDelayUntilIdle() [member function] - cls.add_method('GetDelayUntilIdle', - 'ns3::Time', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetDsssRate11Mbps() [member function] - cls.add_method('GetDsssRate11Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetDsssRate1Mbps() [member function] - cls.add_method('GetDsssRate1Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetDsssRate2Mbps() [member function] - cls.add_method('GetDsssRate2Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetDsssRate5_5Mbps() [member function] - cls.add_method('GetDsssRate5_5Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate12Mbps() [member function] - cls.add_method('GetErpOfdmRate12Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate18Mbps() [member function] - cls.add_method('GetErpOfdmRate18Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate24Mbps() [member function] - cls.add_method('GetErpOfdmRate24Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate36Mbps() [member function] - cls.add_method('GetErpOfdmRate36Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate48Mbps() [member function] - cls.add_method('GetErpOfdmRate48Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate54Mbps() [member function] - cls.add_method('GetErpOfdmRate54Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate6Mbps() [member function] - cls.add_method('GetErpOfdmRate6Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetErpOfdmRate9Mbps() [member function] - cls.add_method('GetErpOfdmRate9Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: ns3::Time ns3::WifiPhy::GetLastRxStartTime() const [member function] - cls.add_method('GetLastRxStartTime', - 'ns3::Time', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: ns3::WifiMode ns3::WifiPhy::GetMode(uint32_t mode) const [member function] - cls.add_method('GetMode', - 'ns3::WifiMode', - [param('uint32_t', 'mode')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: uint32_t ns3::WifiPhy::GetNModes() const [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: uint32_t ns3::WifiPhy::GetNTxPower() const [member function] - cls.add_method('GetNTxPower', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate12Mbps() [member function] - cls.add_method('GetOfdmRate12Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate12MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate12MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate12MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate12MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate13_5MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate13_5MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate18Mbps() [member function] - cls.add_method('GetOfdmRate18Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate18MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate18MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate1_5MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate1_5MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate24Mbps() [member function] - cls.add_method('GetOfdmRate24Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate24MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate24MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate27MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate27MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate2_25MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate2_25MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate36Mbps() [member function] - cls.add_method('GetOfdmRate36Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate3MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate3MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate3MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate3MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate48Mbps() [member function] - cls.add_method('GetOfdmRate48Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate4_5MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate4_5MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate4_5MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate4_5MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate54Mbps() [member function] - cls.add_method('GetOfdmRate54Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate6Mbps() [member function] - cls.add_method('GetOfdmRate6Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate6MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate6MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate6MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate6MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate9Mbps() [member function] - cls.add_method('GetOfdmRate9Mbps', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate9MbpsBW10MHz() [member function] - cls.add_method('GetOfdmRate9MbpsBW10MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: static ns3::WifiMode ns3::WifiPhy::GetOfdmRate9MbpsBW5MHz() [member function] - cls.add_method('GetOfdmRate9MbpsBW5MHz', - 'ns3::WifiMode', - [], - is_static=True) - ## wifi-phy.h: ns3::Time ns3::WifiPhy::GetStateDuration() [member function] - cls.add_method('GetStateDuration', - 'ns3::Time', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: double ns3::WifiPhy::GetTxPowerEnd() const [member function] - cls.add_method('GetTxPowerEnd', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: double ns3::WifiPhy::GetTxPowerStart() const [member function] - cls.add_method('GetTxPowerStart', - 'double', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h: static ns3::TypeId ns3::WifiPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateSwitching() [member function] - cls.add_method('IsStateSwitching', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: bool ns3::WifiPhy::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::NotifyPromiscSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] - cls.add_method('NotifyPromiscSniffRx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('double', 'signalDbm'), param('double', 'noiseDbm')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyPromiscSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] - cls.add_method('NotifyPromiscSniffTx', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyRxBegin(ns3::Ptr packet) [member function] - cls.add_method('NotifyRxBegin', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyRxDrop(ns3::Ptr packet) [member function] - cls.add_method('NotifyRxDrop', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyRxEnd(ns3::Ptr packet) [member function] - cls.add_method('NotifyRxEnd', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyTxBegin(ns3::Ptr packet) [member function] - cls.add_method('NotifyTxBegin', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyTxDrop(ns3::Ptr packet) [member function] - cls.add_method('NotifyTxDrop', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::NotifyTxEnd(ns3::Ptr packet) [member function] - cls.add_method('NotifyTxEnd', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-phy.h: void ns3::WifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::WifiPhyListener *', 'listener')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::SendPacket(ns3::Ptr packet, ns3::WifiMode mode, ns3::WifiPreamble preamble, uint8_t txPowerLevel) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble'), param('uint8_t', 'txPowerLevel')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::SetChannelNumber(uint16_t id) [member function] - cls.add_method('SetChannelNumber', - 'void', - [param('uint16_t', 'id')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::SetReceiveErrorCallback(ns3::Callback,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h: void ns3::WifiPhy::SetReceiveOkCallback(ns3::Callback,double,ns3::WifiMode,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::WifiMode, ns3::WifiPreamble, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3WifiRemoteStationManager_methods(root_module, cls): - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationManager::WifiRemoteStationManager(ns3::WifiRemoteStationManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiRemoteStationManager const &', 'arg0')]) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationManager::WifiRemoteStationManager() [constructor] - cls.add_constructor([]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::AddBasicMode(ns3::WifiMode mode) [member function] - cls.add_method('AddBasicMode', - 'void', - [param('ns3::WifiMode', 'mode')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::AddSupportedMode(ns3::Mac48Address address, ns3::WifiMode mode) [member function] - cls.add_method('AddSupportedMode', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'mode')]) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetAckMode(ns3::Mac48Address address, ns3::WifiMode dataMode) [member function] - cls.add_method('GetAckMode', - 'ns3::WifiMode', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'dataMode')]) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetBasicMode(uint32_t i) const [member function] - cls.add_method('GetBasicMode', - 'ns3::WifiMode', - [param('uint32_t', 'i')], - is_const=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetCtsMode(ns3::Mac48Address address, ns3::WifiMode rtsMode) [member function] - cls.add_method('GetCtsMode', - 'ns3::WifiMode', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMode', 'rtsMode')]) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetDataMode(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fullPacketSize) [member function] - cls.add_method('GetDataMode', - 'ns3::WifiMode', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fullPacketSize')]) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetDefaultMode() const [member function] - cls.add_method('GetDefaultMode', - 'ns3::WifiMode', - [], - is_const=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetFragmentOffset(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fragmentNumber) [member function] - cls.add_method('GetFragmentOffset', - 'uint32_t', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fragmentNumber')]) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetFragmentSize(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fragmentNumber) [member function] - cls.add_method('GetFragmentSize', - 'uint32_t', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fragmentNumber')]) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetFragmentationThreshold() const [member function] - cls.add_method('GetFragmentationThreshold', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: ns3::WifiRemoteStationInfo ns3::WifiRemoteStationManager::GetInfo(ns3::Mac48Address address) [member function] - cls.add_method('GetInfo', - 'ns3::WifiRemoteStationInfo', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetMaxSlrc() const [member function] - cls.add_method('GetMaxSlrc', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetMaxSsrc() const [member function] - cls.add_method('GetMaxSsrc', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetNBasicModes() const [member function] - cls.add_method('GetNBasicModes', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetNonUnicastMode() const [member function] - cls.add_method('GetNonUnicastMode', - 'ns3::WifiMode', - [], - is_const=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetRtsCtsThreshold() const [member function] - cls.add_method('GetRtsCtsThreshold', - 'uint32_t', - [], - is_const=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetRtsMode(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('GetRtsMode', - 'ns3::WifiMode', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: static ns3::TypeId ns3::WifiRemoteStationManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsAssociated(ns3::Mac48Address address) const [member function] - cls.add_method('IsAssociated', - 'bool', - [param('ns3::Mac48Address', 'address')], - is_const=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsBrandNew(ns3::Mac48Address address) const [member function] - cls.add_method('IsBrandNew', - 'bool', - [param('ns3::Mac48Address', 'address')], - is_const=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsLastFragment(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fragmentNumber) [member function] - cls.add_method('IsLastFragment', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fragmentNumber')]) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsWaitAssocTxOk(ns3::Mac48Address address) const [member function] - cls.add_method('IsWaitAssocTxOk', - 'bool', - [param('ns3::Mac48Address', 'address')], - is_const=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::NeedDataRetransmission(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('NeedDataRetransmission', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::NeedFragmentation(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('NeedFragmentation', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::NeedRts(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('NeedRts', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::NeedRtsRetransmission(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet) [member function] - cls.add_method('NeedRtsRetransmission', - 'bool', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::PrepareForQueue(ns3::Mac48Address address, ns3::WifiMacHeader const * header, ns3::Ptr packet, uint32_t fullPacketSize) [member function] - cls.add_method('PrepareForQueue', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint32_t', 'fullPacketSize')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::RecordDisassociated(ns3::Mac48Address address) [member function] - cls.add_method('RecordDisassociated', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::RecordGotAssocTxFailed(ns3::Mac48Address address) [member function] - cls.add_method('RecordGotAssocTxFailed', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::RecordGotAssocTxOk(ns3::Mac48Address address) [member function] - cls.add_method('RecordGotAssocTxOk', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::RecordWaitAssocTxOk(ns3::Mac48Address address) [member function] - cls.add_method('RecordWaitAssocTxOk', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportDataFailed(ns3::Mac48Address address, ns3::WifiMacHeader const * header) [member function] - cls.add_method('ReportDataFailed', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportDataOk(ns3::Mac48Address address, ns3::WifiMacHeader const * header, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('ReportDataOk', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportFinalDataFailed(ns3::Mac48Address address, ns3::WifiMacHeader const * header) [member function] - cls.add_method('ReportFinalDataFailed', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportFinalRtsFailed(ns3::Mac48Address address, ns3::WifiMacHeader const * header) [member function] - cls.add_method('ReportFinalRtsFailed', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportRtsFailed(ns3::Mac48Address address, ns3::WifiMacHeader const * header) [member function] - cls.add_method('ReportRtsFailed', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportRtsOk(ns3::Mac48Address address, ns3::WifiMacHeader const * header, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('ReportRtsOk', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::ReportRxOk(ns3::Mac48Address address, ns3::WifiMacHeader const * header, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('ReportRxOk', - 'void', - [param('ns3::Mac48Address', 'address'), param('ns3::WifiMacHeader const *', 'header'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::Reset() [member function] - cls.add_method('Reset', - 'void', - []) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::Reset(ns3::Mac48Address address) [member function] - cls.add_method('Reset', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetFragmentationThreshold(uint32_t threshold) [member function] - cls.add_method('SetFragmentationThreshold', - 'void', - [param('uint32_t', 'threshold')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetMaxSlrc(uint32_t maxSlrc) [member function] - cls.add_method('SetMaxSlrc', - 'void', - [param('uint32_t', 'maxSlrc')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetMaxSsrc(uint32_t maxSsrc) [member function] - cls.add_method('SetMaxSsrc', - 'void', - [param('uint32_t', 'maxSsrc')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetRtsCtsThreshold(uint32_t threshold) [member function] - cls.add_method('SetRtsCtsThreshold', - 'void', - [param('uint32_t', 'threshold')]) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::SetupPhy(ns3::Ptr phy) [member function] - cls.add_method('SetupPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## wifi-remote-station-manager.h: uint32_t ns3::WifiRemoteStationManager::GetNSupported(ns3::WifiRemoteStation const * station) const [member function] - cls.add_method('GetNSupported', - 'uint32_t', - [param('ns3::WifiRemoteStation const *', 'station')], - is_const=True, visibility='protected') - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::GetSupported(ns3::WifiRemoteStation const * station, uint32_t i) const [member function] - cls.add_method('GetSupported', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation const *', 'station'), param('uint32_t', 'i')], - is_const=True, visibility='protected') - ## wifi-remote-station-manager.h: ns3::WifiRemoteStation * ns3::WifiRemoteStationManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: ns3::WifiMode ns3::WifiRemoteStationManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::DoNeedDataRetransmission(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedDataRetransmission', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::DoNeedFragmentation(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedFragmentation', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::DoNeedRts(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRts', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::DoNeedRtsRetransmission(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRtsRetransmission', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: void ns3::WifiRemoteStationManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wifi-remote-station-manager.h: bool ns3::WifiRemoteStationManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3YansWifiPhy_methods(root_module, cls): - ## yans-wifi-phy.h: static ns3::TypeId ns3::YansWifiPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## yans-wifi-phy.h: ns3::YansWifiPhy::YansWifiPhy() [constructor] - cls.add_constructor([]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetChannel(ns3::Ptr channel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::YansWifiChannel >', 'channel')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetChannelNumber(uint16_t id) [member function] - cls.add_method('SetChannelNumber', - 'void', - [param('uint16_t', 'id')], - is_virtual=True) - ## yans-wifi-phy.h: uint16_t ns3::YansWifiPhy::GetChannelNumber() const [member function] - cls.add_method('GetChannelNumber', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetChannelFrequencyMhz() const [member function] - cls.add_method('GetChannelFrequencyMhz', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::StartReceivePacket(ns3::Ptr packet, double rxPowerDbm, ns3::WifiMode mode, ns3::WifiPreamble preamble) [member function] - cls.add_method('StartReceivePacket', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxPowerDbm'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxNoiseFigure(double noiseFigureDb) [member function] - cls.add_method('SetRxNoiseFigure', - 'void', - [param('double', 'noiseFigureDb')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxPowerStart(double start) [member function] - cls.add_method('SetTxPowerStart', - 'void', - [param('double', 'start')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxPowerEnd(double end) [member function] - cls.add_method('SetTxPowerEnd', - 'void', - [param('double', 'end')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetNTxPower(uint32_t n) [member function] - cls.add_method('SetNTxPower', - 'void', - [param('uint32_t', 'n')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetTxGain(double gain) [member function] - cls.add_method('SetTxGain', - 'void', - [param('double', 'gain')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetRxGain(double gain) [member function] - cls.add_method('SetRxGain', - 'void', - [param('double', 'gain')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetEdThreshold(double threshold) [member function] - cls.add_method('SetEdThreshold', - 'void', - [param('double', 'threshold')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetCcaMode1Threshold(double threshold) [member function] - cls.add_method('SetCcaMode1Threshold', - 'void', - [param('double', 'threshold')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetErrorRateModel(ns3::Ptr rate) [member function] - cls.add_method('SetErrorRateModel', - 'void', - [param('ns3::Ptr< ns3::ErrorRateModel >', 'rate')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::Object >', 'device')]) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetMobility(ns3::Ptr mobility) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'mobility')]) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxNoiseFigure() const [member function] - cls.add_method('GetRxNoiseFigure', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxGain() const [member function] - cls.add_method('GetTxGain', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetRxGain() const [member function] - cls.add_method('GetRxGain', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetEdThreshold() const [member function] - cls.add_method('GetEdThreshold', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetCcaMode1Threshold() const [member function] - cls.add_method('GetCcaMode1Threshold', - 'double', - [], - is_const=True) - ## yans-wifi-phy.h: ns3::Ptr ns3::YansWifiPhy::GetErrorRateModel() const [member function] - cls.add_method('GetErrorRateModel', - 'ns3::Ptr< ns3::ErrorRateModel >', - [], - is_const=True) - ## yans-wifi-phy.h: ns3::Ptr ns3::YansWifiPhy::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::Object >', - [], - is_const=True) - ## yans-wifi-phy.h: ns3::Ptr ns3::YansWifiPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - []) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxPowerStart() const [member function] - cls.add_method('GetTxPowerStart', - 'double', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::GetTxPowerEnd() const [member function] - cls.add_method('GetTxPowerEnd', - 'double', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: uint32_t ns3::YansWifiPhy::GetNTxPower() const [member function] - cls.add_method('GetNTxPower', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetReceiveOkCallback(ns3::Callback,double,ns3::WifiMode,ns3::WifiPreamble,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveOkCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, double, ns3::WifiMode, ns3::WifiPreamble, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SetReceiveErrorCallback(ns3::Callback,double,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveErrorCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet const >, double, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::SendPacket(ns3::Ptr packet, ns3::WifiMode mode, ns3::WifiPreamble preamble, uint8_t txPowerLevel) [member function] - cls.add_method('SendPacket', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble'), param('uint8_t', 'txPowerLevel')], - is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::RegisterListener(ns3::WifiPhyListener * listener) [member function] - cls.add_method('RegisterListener', - 'void', - [param('ns3::WifiPhyListener *', 'listener')], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateCcaBusy() [member function] - cls.add_method('IsStateCcaBusy', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateIdle() [member function] - cls.add_method('IsStateIdle', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateBusy() [member function] - cls.add_method('IsStateBusy', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateRx() [member function] - cls.add_method('IsStateRx', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateTx() [member function] - cls.add_method('IsStateTx', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: bool ns3::YansWifiPhy::IsStateSwitching() [member function] - cls.add_method('IsStateSwitching', - 'bool', - [], - is_virtual=True) - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetStateDuration() [member function] - cls.add_method('GetStateDuration', - 'ns3::Time', - [], - is_virtual=True) - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetDelayUntilIdle() [member function] - cls.add_method('GetDelayUntilIdle', - 'ns3::Time', - [], - is_virtual=True) - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::GetLastRxStartTime() const [member function] - cls.add_method('GetLastRxStartTime', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: ns3::Time ns3::YansWifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) const [member function] - cls.add_method('CalculateTxDuration', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: uint32_t ns3::YansWifiPhy::GetNModes() const [member function] - cls.add_method('GetNModes', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: ns3::WifiMode ns3::YansWifiPhy::GetMode(uint32_t mode) const [member function] - cls.add_method('GetMode', - 'ns3::WifiMode', - [param('uint32_t', 'mode')], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: double ns3::YansWifiPhy::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function] - cls.add_method('CalculateSnr', - 'double', - [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: ns3::Ptr ns3::YansWifiPhy::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::WifiChannel >', - [], - is_const=True, is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('ConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - is_virtual=True) - ## yans-wifi-phy.h: void ns3::YansWifiPhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3AarfWifiManager_methods(root_module, cls): - ## aarf-wifi-manager.h: ns3::AarfWifiManager::AarfWifiManager(ns3::AarfWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AarfWifiManager const &', 'arg0')]) - ## aarf-wifi-manager.h: ns3::AarfWifiManager::AarfWifiManager() [constructor] - cls.add_constructor([]) - ## aarf-wifi-manager.h: static ns3::TypeId ns3::AarfWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aarf-wifi-manager.h: ns3::WifiRemoteStation * ns3::AarfWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: ns3::WifiMode ns3::AarfWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: ns3::WifiMode ns3::AarfWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: void ns3::AarfWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## aarf-wifi-manager.h: bool ns3::AarfWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3AarfcdWifiManager_methods(root_module, cls): - ## aarfcd-wifi-manager.h: ns3::AarfcdWifiManager::AarfcdWifiManager(ns3::AarfcdWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AarfcdWifiManager const &', 'arg0')]) - ## aarfcd-wifi-manager.h: ns3::AarfcdWifiManager::AarfcdWifiManager() [constructor] - cls.add_constructor([]) - ## aarfcd-wifi-manager.h: static ns3::TypeId ns3::AarfcdWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## aarfcd-wifi-manager.h: ns3::WifiRemoteStation * ns3::AarfcdWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: ns3::WifiMode ns3::AarfcdWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: ns3::WifiMode ns3::AarfcdWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: bool ns3::AarfcdWifiManager::DoNeedRts(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRts', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: void ns3::AarfcdWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## aarfcd-wifi-manager.h: bool ns3::AarfcdWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3AmrrWifiManager_methods(root_module, cls): - ## amrr-wifi-manager.h: ns3::AmrrWifiManager::AmrrWifiManager(ns3::AmrrWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AmrrWifiManager const &', 'arg0')]) - ## amrr-wifi-manager.h: ns3::AmrrWifiManager::AmrrWifiManager() [constructor] - cls.add_constructor([]) - ## amrr-wifi-manager.h: static ns3::TypeId ns3::AmrrWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## amrr-wifi-manager.h: ns3::WifiRemoteStation * ns3::AmrrWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: ns3::WifiMode ns3::AmrrWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: ns3::WifiMode ns3::AmrrWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: void ns3::AmrrWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## amrr-wifi-manager.h: bool ns3::AmrrWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3AmsduSubframeHeader_methods(root_module, cls): - ## amsdu-subframe-header.h: ns3::AmsduSubframeHeader::AmsduSubframeHeader(ns3::AmsduSubframeHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AmsduSubframeHeader const &', 'arg0')]) - ## amsdu-subframe-header.h: ns3::AmsduSubframeHeader::AmsduSubframeHeader() [constructor] - cls.add_constructor([]) - ## amsdu-subframe-header.h: uint32_t ns3::AmsduSubframeHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## amsdu-subframe-header.h: ns3::Mac48Address ns3::AmsduSubframeHeader::GetDestinationAddr() const [member function] - cls.add_method('GetDestinationAddr', - 'ns3::Mac48Address', - [], - is_const=True) - ## amsdu-subframe-header.h: ns3::TypeId ns3::AmsduSubframeHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## amsdu-subframe-header.h: uint16_t ns3::AmsduSubframeHeader::GetLength() const [member function] - cls.add_method('GetLength', - 'uint16_t', - [], - is_const=True) - ## amsdu-subframe-header.h: uint32_t ns3::AmsduSubframeHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## amsdu-subframe-header.h: ns3::Mac48Address ns3::AmsduSubframeHeader::GetSourceAddr() const [member function] - cls.add_method('GetSourceAddr', - 'ns3::Mac48Address', - [], - is_const=True) - ## amsdu-subframe-header.h: static ns3::TypeId ns3::AmsduSubframeHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::SetDestinationAddr(ns3::Mac48Address to) [member function] - cls.add_method('SetDestinationAddr', - 'void', - [param('ns3::Mac48Address', 'to')]) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::SetLength(uint16_t arg0) [member function] - cls.add_method('SetLength', - 'void', - [param('uint16_t', 'arg0')]) - ## amsdu-subframe-header.h: void ns3::AmsduSubframeHeader::SetSourceAddr(ns3::Mac48Address to) [member function] - cls.add_method('SetSourceAddr', - 'void', - [param('ns3::Mac48Address', 'to')]) - return - -def register_Ns3ArfWifiManager_methods(root_module, cls): - ## arf-wifi-manager.h: ns3::ArfWifiManager::ArfWifiManager(ns3::ArfWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ArfWifiManager const &', 'arg0')]) - ## arf-wifi-manager.h: ns3::ArfWifiManager::ArfWifiManager() [constructor] - cls.add_constructor([]) - ## arf-wifi-manager.h: static ns3::TypeId ns3::ArfWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## arf-wifi-manager.h: ns3::WifiRemoteStation * ns3::ArfWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## arf-wifi-manager.h: ns3::WifiMode ns3::ArfWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: ns3::WifiMode ns3::ArfWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: void ns3::ArfWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## arf-wifi-manager.h: bool ns3::ArfWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3AthstatsWifiTraceSink_methods(root_module, cls): - ## athstats-helper.h: ns3::AthstatsWifiTraceSink::AthstatsWifiTraceSink(ns3::AthstatsWifiTraceSink const & arg0) [copy constructor] - cls.add_constructor([param('ns3::AthstatsWifiTraceSink const &', 'arg0')]) - ## athstats-helper.h: ns3::AthstatsWifiTraceSink::AthstatsWifiTraceSink() [constructor] - cls.add_constructor([]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::DevRxTrace(std::string context, ns3::Ptr p) [member function] - cls.add_method('DevRxTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::DevTxTrace(std::string context, ns3::Ptr p) [member function] - cls.add_method('DevTxTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'p')]) - ## athstats-helper.h: static ns3::TypeId ns3::AthstatsWifiTraceSink::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::Open(std::string const & name) [member function] - cls.add_method('Open', - 'void', - [param('std::string const &', 'name')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyRxErrorTrace(std::string context, ns3::Ptr packet, double snr) [member function] - cls.add_method('PhyRxErrorTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'snr')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyRxOkTrace(std::string context, ns3::Ptr packet, double snr, ns3::WifiMode mode, ns3::WifiPreamble preamble) [member function] - cls.add_method('PhyRxOkTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'snr'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyStateTrace(std::string context, ns3::Time start, ns3::Time duration, ns3::WifiPhy::State state) [member function] - cls.add_method('PhyStateTrace', - 'void', - [param('std::string', 'context'), param('ns3::Time', 'start'), param('ns3::Time', 'duration'), param('ns3::WifiPhy::State', 'state')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::PhyTxTrace(std::string context, ns3::Ptr packet, ns3::WifiMode mode, ns3::WifiPreamble preamble, uint8_t txPower) [member function] - cls.add_method('PhyTxTrace', - 'void', - [param('std::string', 'context'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMode', 'mode'), param('ns3::WifiPreamble', 'preamble'), param('uint8_t', 'txPower')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxDataFailedTrace(std::string context, ns3::Mac48Address address) [member function] - cls.add_method('TxDataFailedTrace', - 'void', - [param('std::string', 'context'), param('ns3::Mac48Address', 'address')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxFinalDataFailedTrace(std::string context, ns3::Mac48Address address) [member function] - cls.add_method('TxFinalDataFailedTrace', - 'void', - [param('std::string', 'context'), param('ns3::Mac48Address', 'address')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxFinalRtsFailedTrace(std::string context, ns3::Mac48Address address) [member function] - cls.add_method('TxFinalRtsFailedTrace', - 'void', - [param('std::string', 'context'), param('ns3::Mac48Address', 'address')]) - ## athstats-helper.h: void ns3::AthstatsWifiTraceSink::TxRtsFailedTrace(std::string context, ns3::Mac48Address address) [member function] - cls.add_method('TxRtsFailedTrace', - 'void', - [param('std::string', 'context'), param('ns3::Mac48Address', 'address')]) - return - -def register_Ns3CaraWifiManager_methods(root_module, cls): - ## cara-wifi-manager.h: ns3::CaraWifiManager::CaraWifiManager(ns3::CaraWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CaraWifiManager const &', 'arg0')]) - ## cara-wifi-manager.h: ns3::CaraWifiManager::CaraWifiManager() [constructor] - cls.add_constructor([]) - ## cara-wifi-manager.h: static ns3::TypeId ns3::CaraWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## cara-wifi-manager.h: ns3::WifiRemoteStation * ns3::CaraWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## cara-wifi-manager.h: ns3::WifiMode ns3::CaraWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: ns3::WifiMode ns3::CaraWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: bool ns3::CaraWifiManager::DoNeedRts(ns3::WifiRemoteStation * station, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRts', - 'bool', - [param('ns3::WifiRemoteStation *', 'station'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: void ns3::CaraWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## cara-wifi-manager.h: bool ns3::CaraWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3ConstantRateWifiManager_methods(root_module, cls): - ## constant-rate-wifi-manager.h: ns3::ConstantRateWifiManager::ConstantRateWifiManager(ns3::ConstantRateWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantRateWifiManager const &', 'arg0')]) - ## constant-rate-wifi-manager.h: ns3::ConstantRateWifiManager::ConstantRateWifiManager() [constructor] - cls.add_constructor([]) - ## constant-rate-wifi-manager.h: static ns3::TypeId ns3::ConstantRateWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## constant-rate-wifi-manager.h: ns3::WifiRemoteStation * ns3::ConstantRateWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: ns3::WifiMode ns3::ConstantRateWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: ns3::WifiMode ns3::ConstantRateWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: void ns3::ConstantRateWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## constant-rate-wifi-manager.h: bool ns3::ConstantRateWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3CtrlBAckRequestHeader_methods(root_module, cls): - ## ctrl-headers.h: ns3::CtrlBAckRequestHeader::CtrlBAckRequestHeader(ns3::CtrlBAckRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CtrlBAckRequestHeader const &', 'arg0')]) - ## ctrl-headers.h: ns3::CtrlBAckRequestHeader::CtrlBAckRequestHeader() [constructor] - cls.add_constructor([]) - ## ctrl-headers.h: uint32_t ns3::CtrlBAckRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ctrl-headers.h: ns3::TypeId ns3::CtrlBAckRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ctrl-headers.h: uint32_t ns3::CtrlBAckRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ctrl-headers.h: uint16_t ns3::CtrlBAckRequestHeader::GetStartingSequence() const [member function] - cls.add_method('GetStartingSequence', - 'uint16_t', - [], - is_const=True) - ## ctrl-headers.h: uint16_t ns3::CtrlBAckRequestHeader::GetStartingSequenceControl() const [member function] - cls.add_method('GetStartingSequenceControl', - 'uint16_t', - [], - is_const=True) - ## ctrl-headers.h: uint8_t ns3::CtrlBAckRequestHeader::GetTidInfo() const [member function] - cls.add_method('GetTidInfo', - 'uint8_t', - [], - is_const=True) - ## ctrl-headers.h: static ns3::TypeId ns3::CtrlBAckRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ctrl-headers.h: bool ns3::CtrlBAckRequestHeader::IsBasic() const [member function] - cls.add_method('IsBasic', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckRequestHeader::IsCompressed() const [member function] - cls.add_method('IsCompressed', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckRequestHeader::IsMultiTid() const [member function] - cls.add_method('IsMultiTid', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckRequestHeader::MustSendHtImmediateAck() const [member function] - cls.add_method('MustSendHtImmediateAck', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::SetHtImmediateAck(bool immediateAck) [member function] - cls.add_method('SetHtImmediateAck', - 'void', - [param('bool', 'immediateAck')]) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::SetStartingSequence(uint16_t seq) [member function] - cls.add_method('SetStartingSequence', - 'void', - [param('uint16_t', 'seq')]) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::SetTidInfo(uint8_t tid) [member function] - cls.add_method('SetTidInfo', - 'void', - [param('uint8_t', 'tid')]) - ## ctrl-headers.h: void ns3::CtrlBAckRequestHeader::SetType(ns3::BlockAckType type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::BlockAckType', 'type')]) - return - -def register_Ns3CtrlBAckResponseHeader_methods(root_module, cls): - ## ctrl-headers.h: ns3::CtrlBAckResponseHeader::CtrlBAckResponseHeader(ns3::CtrlBAckResponseHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CtrlBAckResponseHeader const &', 'arg0')]) - ## ctrl-headers.h: ns3::CtrlBAckResponseHeader::CtrlBAckResponseHeader() [constructor] - cls.add_constructor([]) - ## ctrl-headers.h: uint32_t ns3::CtrlBAckResponseHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ctrl-headers.h: uint16_t const * ns3::CtrlBAckResponseHeader::GetBitmap() const [member function] - cls.add_method('GetBitmap', - 'uint16_t const *', - [], - is_const=True) - ## ctrl-headers.h: uint64_t ns3::CtrlBAckResponseHeader::GetCompressedBitmap() const [member function] - cls.add_method('GetCompressedBitmap', - 'uint64_t', - [], - is_const=True) - ## ctrl-headers.h: ns3::TypeId ns3::CtrlBAckResponseHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ctrl-headers.h: uint32_t ns3::CtrlBAckResponseHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ctrl-headers.h: uint16_t ns3::CtrlBAckResponseHeader::GetStartingSequence() const [member function] - cls.add_method('GetStartingSequence', - 'uint16_t', - [], - is_const=True) - ## ctrl-headers.h: uint16_t ns3::CtrlBAckResponseHeader::GetStartingSequenceControl() const [member function] - cls.add_method('GetStartingSequenceControl', - 'uint16_t', - [], - is_const=True) - ## ctrl-headers.h: uint8_t ns3::CtrlBAckResponseHeader::GetTidInfo() const [member function] - cls.add_method('GetTidInfo', - 'uint8_t', - [], - is_const=True) - ## ctrl-headers.h: static ns3::TypeId ns3::CtrlBAckResponseHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsBasic() const [member function] - cls.add_method('IsBasic', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsCompressed() const [member function] - cls.add_method('IsCompressed', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsFragmentReceived(uint16_t seq, uint8_t frag) const [member function] - cls.add_method('IsFragmentReceived', - 'bool', - [param('uint16_t', 'seq'), param('uint8_t', 'frag')], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsMultiTid() const [member function] - cls.add_method('IsMultiTid', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::IsPacketReceived(uint16_t seq) const [member function] - cls.add_method('IsPacketReceived', - 'bool', - [param('uint16_t', 'seq')], - is_const=True) - ## ctrl-headers.h: bool ns3::CtrlBAckResponseHeader::MustSendHtImmediateAck() const [member function] - cls.add_method('MustSendHtImmediateAck', - 'bool', - [], - is_const=True) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::ResetBitmap() [member function] - cls.add_method('ResetBitmap', - 'void', - []) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetHtImmediateAck(bool immeadiateAck) [member function] - cls.add_method('SetHtImmediateAck', - 'void', - [param('bool', 'immeadiateAck')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetReceivedFragment(uint16_t seq, uint8_t frag) [member function] - cls.add_method('SetReceivedFragment', - 'void', - [param('uint16_t', 'seq'), param('uint8_t', 'frag')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetReceivedPacket(uint16_t seq) [member function] - cls.add_method('SetReceivedPacket', - 'void', - [param('uint16_t', 'seq')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetStartingSequence(uint16_t seq) [member function] - cls.add_method('SetStartingSequence', - 'void', - [param('uint16_t', 'seq')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetStartingSequenceControl(uint16_t seqControl) [member function] - cls.add_method('SetStartingSequenceControl', - 'void', - [param('uint16_t', 'seqControl')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetTidInfo(uint8_t tid) [member function] - cls.add_method('SetTidInfo', - 'void', - [param('uint8_t', 'tid')]) - ## ctrl-headers.h: void ns3::CtrlBAckResponseHeader::SetType(ns3::BlockAckType type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::BlockAckType', 'type')]) - return - -def register_Ns3Dcf_methods(root_module, cls): - ## dcf.h: ns3::Dcf::Dcf() [constructor] - cls.add_constructor([]) - ## dcf.h: ns3::Dcf::Dcf(ns3::Dcf const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Dcf const &', 'arg0')]) - ## dcf.h: uint32_t ns3::Dcf::GetAifsn() const [member function] - cls.add_method('GetAifsn', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## dcf.h: uint32_t ns3::Dcf::GetMaxCw() const [member function] - cls.add_method('GetMaxCw', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## dcf.h: uint32_t ns3::Dcf::GetMinCw() const [member function] - cls.add_method('GetMinCw', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## dcf.h: static ns3::TypeId ns3::Dcf::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dcf.h: void ns3::Dcf::SetAifsn(uint32_t aifsn) [member function] - cls.add_method('SetAifsn', - 'void', - [param('uint32_t', 'aifsn')], - is_pure_virtual=True, is_virtual=True) - ## dcf.h: void ns3::Dcf::SetMaxCw(uint32_t maxCw) [member function] - cls.add_method('SetMaxCw', - 'void', - [param('uint32_t', 'maxCw')], - is_pure_virtual=True, is_virtual=True) - ## dcf.h: void ns3::Dcf::SetMinCw(uint32_t minCw) [member function] - cls.add_method('SetMinCw', - 'void', - [param('uint32_t', 'minCw')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3EdcaTxopN_methods(root_module, cls): - ## edca-txop-n.h: static ns3::TypeId ns3::EdcaTxopN::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## edca-txop-n.h: ns3::EdcaTxopN::EdcaTxopN() [constructor] - cls.add_constructor([]) - ## edca-txop-n.h: void ns3::EdcaTxopN::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetLow(ns3::Ptr low) [member function] - cls.add_method('SetLow', - 'void', - [param('ns3::Ptr< ns3::MacLow >', 'low')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetTxMiddle(ns3::MacTxMiddle * txMiddle) [member function] - cls.add_method('SetTxMiddle', - 'void', - [param('ns3::MacTxMiddle *', 'txMiddle')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetManager(ns3::DcfManager * manager) [member function] - cls.add_method('SetManager', - 'void', - [param('ns3::DcfManager *', 'manager')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetTxOkCallback(ns3::Callback callback) [member function] - cls.add_method('SetTxOkCallback', - 'void', - [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetTxFailedCallback(ns3::Callback callback) [member function] - cls.add_method('SetTxFailedCallback', - 'void', - [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetWifiRemoteStationManager(ns3::Ptr remoteManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'remoteManager')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetTypeOfStation(ns3::TypeOfStation type) [member function] - cls.add_method('SetTypeOfStation', - 'void', - [param('ns3::TypeOfStation', 'type')]) - ## edca-txop-n.h: ns3::TypeOfStation ns3::EdcaTxopN::GetTypeOfStation() const [member function] - cls.add_method('GetTypeOfStation', - 'ns3::TypeOfStation', - [], - is_const=True) - ## edca-txop-n.h: ns3::Ptr ns3::EdcaTxopN::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::WifiMacQueue >', - [], - is_const=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetMinCw(uint32_t minCw) [member function] - cls.add_method('SetMinCw', - 'void', - [param('uint32_t', 'minCw')], - is_virtual=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetMaxCw(uint32_t maxCw) [member function] - cls.add_method('SetMaxCw', - 'void', - [param('uint32_t', 'maxCw')], - is_virtual=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetAifsn(uint32_t aifsn) [member function] - cls.add_method('SetAifsn', - 'void', - [param('uint32_t', 'aifsn')], - is_virtual=True) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetMinCw() const [member function] - cls.add_method('GetMinCw', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetMaxCw() const [member function] - cls.add_method('GetMaxCw', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetAifsn() const [member function] - cls.add_method('GetAifsn', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## edca-txop-n.h: ns3::Ptr ns3::EdcaTxopN::Low() [member function] - cls.add_method('Low', - 'ns3::Ptr< ns3::MacLow >', - []) - ## edca-txop-n.h: ns3::Ptr ns3::EdcaTxopN::GetMsduAggregator() const [member function] - cls.add_method('GetMsduAggregator', - 'ns3::Ptr< ns3::MsduAggregator >', - [], - is_const=True) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedsAccess() const [member function] - cls.add_method('NeedsAccess', - 'bool', - [], - is_const=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::NotifyAccessGranted() [member function] - cls.add_method('NotifyAccessGranted', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::NotifyInternalCollision() [member function] - cls.add_method('NotifyInternalCollision', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::NotifyCollision() [member function] - cls.add_method('NotifyCollision', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::NotifyChannelSwitching() [member function] - cls.add_method('NotifyChannelSwitching', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotCts(double snr, ns3::WifiMode txMode) [member function] - cls.add_method('GotCts', - 'void', - [param('double', 'snr'), param('ns3::WifiMode', 'txMode')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::MissedCts() [member function] - cls.add_method('MissedCts', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotAck(double snr, ns3::WifiMode txMode) [member function] - cls.add_method('GotAck', - 'void', - [param('double', 'snr'), param('ns3::WifiMode', 'txMode')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotBlockAck(ns3::CtrlBAckResponseHeader const * blockAck, ns3::Mac48Address recipient) [member function] - cls.add_method('GotBlockAck', - 'void', - [param('ns3::CtrlBAckResponseHeader const *', 'blockAck'), param('ns3::Mac48Address', 'recipient')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::MissedBlockAck() [member function] - cls.add_method('MissedBlockAck', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotAddBaResponse(ns3::MgtAddBaResponseHeader const * respHdr, ns3::Mac48Address recipient) [member function] - cls.add_method('GotAddBaResponse', - 'void', - [param('ns3::MgtAddBaResponseHeader const *', 'respHdr'), param('ns3::Mac48Address', 'recipient')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::GotDelBaFrame(ns3::MgtDelBaHeader const * delBaHdr, ns3::Mac48Address recipient) [member function] - cls.add_method('GotDelBaFrame', - 'void', - [param('ns3::MgtDelBaHeader const *', 'delBaHdr'), param('ns3::Mac48Address', 'recipient')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::MissedAck() [member function] - cls.add_method('MissedAck', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::StartNext() [member function] - cls.add_method('StartNext', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::Cancel() [member function] - cls.add_method('Cancel', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::RestartAccessIfNeeded() [member function] - cls.add_method('RestartAccessIfNeeded', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::StartAccessIfNeeded() [member function] - cls.add_method('StartAccessIfNeeded', - 'void', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedRts() [member function] - cls.add_method('NeedRts', - 'bool', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedRtsRetransmission() [member function] - cls.add_method('NeedRtsRetransmission', - 'bool', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedDataRetransmission() [member function] - cls.add_method('NeedDataRetransmission', - 'bool', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::NeedFragmentation() const [member function] - cls.add_method('NeedFragmentation', - 'bool', - [], - is_const=True) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetNextFragmentSize() [member function] - cls.add_method('GetNextFragmentSize', - 'uint32_t', - []) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetFragmentSize() [member function] - cls.add_method('GetFragmentSize', - 'uint32_t', - []) - ## edca-txop-n.h: uint32_t ns3::EdcaTxopN::GetFragmentOffset() [member function] - cls.add_method('GetFragmentOffset', - 'uint32_t', - []) - ## edca-txop-n.h: bool ns3::EdcaTxopN::IsLastFragment() const [member function] - cls.add_method('IsLastFragment', - 'bool', - [], - is_const=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::NextFragment() [member function] - cls.add_method('NextFragment', - 'void', - []) - ## edca-txop-n.h: ns3::Ptr ns3::EdcaTxopN::GetFragmentPacket(ns3::WifiMacHeader * hdr) [member function] - cls.add_method('GetFragmentPacket', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::WifiMacHeader *', 'hdr')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetAccessCategory(ns3::AcIndex ac) [member function] - cls.add_method('SetAccessCategory', - 'void', - [param('ns3::AcIndex', 'ac')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::Queue(ns3::Ptr packet, ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('Queue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetMsduAggregator(ns3::Ptr aggr) [member function] - cls.add_method('SetMsduAggregator', - 'void', - [param('ns3::Ptr< ns3::MsduAggregator >', 'aggr')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::PushFront(ns3::Ptr packet, ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('PushFront', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::CompleteConfig() [member function] - cls.add_method('CompleteConfig', - 'void', - []) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetBlockAckThreshold(uint8_t threshold) [member function] - cls.add_method('SetBlockAckThreshold', - 'void', - [param('uint8_t', 'threshold')]) - ## edca-txop-n.h: uint8_t ns3::EdcaTxopN::GetBlockAckThreshold() const [member function] - cls.add_method('GetBlockAckThreshold', - 'uint8_t', - [], - is_const=True) - ## edca-txop-n.h: void ns3::EdcaTxopN::SetBlockAckInactivityTimeout(uint16_t timeout) [member function] - cls.add_method('SetBlockAckInactivityTimeout', - 'void', - [param('uint16_t', 'timeout')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::SendDelbaFrame(ns3::Mac48Address addr, uint8_t tid, bool byOriginator) [member function] - cls.add_method('SendDelbaFrame', - 'void', - [param('ns3::Mac48Address', 'addr'), param('uint8_t', 'tid'), param('bool', 'byOriginator')]) - ## edca-txop-n.h: void ns3::EdcaTxopN::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3ErrorRateModel_methods(root_module, cls): - ## error-rate-model.h: ns3::ErrorRateModel::ErrorRateModel() [constructor] - cls.add_constructor([]) - ## error-rate-model.h: ns3::ErrorRateModel::ErrorRateModel(ns3::ErrorRateModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ErrorRateModel const &', 'arg0')]) - ## error-rate-model.h: double ns3::ErrorRateModel::CalculateSnr(ns3::WifiMode txMode, double ber) const [member function] - cls.add_method('CalculateSnr', - 'double', - [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], - is_const=True) - ## error-rate-model.h: double ns3::ErrorRateModel::GetChunkSuccessRate(ns3::WifiMode mode, double snr, uint32_t nbits) const [member function] - cls.add_method('GetChunkSuccessRate', - 'double', - [param('ns3::WifiMode', 'mode'), param('double', 'snr'), param('uint32_t', 'nbits')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## error-rate-model.h: static ns3::TypeId ns3::ErrorRateModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3ExtendedSupportedRatesIE_methods(root_module, cls): - ## supported-rates.h: ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE(ns3::ExtendedSupportedRatesIE const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ExtendedSupportedRatesIE const &', 'arg0')]) - ## supported-rates.h: ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE() [constructor] - cls.add_constructor([]) - ## supported-rates.h: ns3::ExtendedSupportedRatesIE::ExtendedSupportedRatesIE(ns3::SupportedRates * rates) [constructor] - cls.add_constructor([param('ns3::SupportedRates *', 'rates')]) - ## supported-rates.h: uint8_t ns3::ExtendedSupportedRatesIE::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## supported-rates.h: ns3::WifiInformationElementId ns3::ExtendedSupportedRatesIE::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## supported-rates.h: uint8_t ns3::ExtendedSupportedRatesIE::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## supported-rates.h: uint16_t ns3::ExtendedSupportedRatesIE::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint16_t', - [], - is_const=True) - ## supported-rates.h: ns3::Buffer::Iterator ns3::ExtendedSupportedRatesIE::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## supported-rates.h: void ns3::ExtendedSupportedRatesIE::SerializeInformationField(ns3::Buffer::Iterator start) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3IdealWifiManager_methods(root_module, cls): - ## ideal-wifi-manager.h: ns3::IdealWifiManager::IdealWifiManager(ns3::IdealWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IdealWifiManager const &', 'arg0')]) - ## ideal-wifi-manager.h: ns3::IdealWifiManager::IdealWifiManager() [constructor] - cls.add_constructor([]) - ## ideal-wifi-manager.h: static ns3::TypeId ns3::IdealWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::SetupPhy(ns3::Ptr phy) [member function] - cls.add_method('SetupPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_virtual=True) - ## ideal-wifi-manager.h: ns3::WifiRemoteStation * ns3::IdealWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: ns3::WifiMode ns3::IdealWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: ns3::WifiMode ns3::IdealWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: void ns3::IdealWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## ideal-wifi-manager.h: bool ns3::IdealWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3MacLow_methods(root_module, cls): - ## mac-low.h: ns3::MacLow::MacLow(ns3::MacLow const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacLow const &', 'arg0')]) - ## mac-low.h: ns3::MacLow::MacLow() [constructor] - cls.add_constructor([]) - ## mac-low.h: ns3::Time ns3::MacLow::CalculateTransmissionTime(ns3::Ptr packet, ns3::WifiMacHeader const * hdr, ns3::MacLowTransmissionParameters const & parameters) const [member function] - cls.add_method('CalculateTransmissionTime', - 'ns3::Time', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr'), param('ns3::MacLowTransmissionParameters const &', 'parameters')], - is_const=True) - ## mac-low.h: void ns3::MacLow::CreateBlockAckAgreement(ns3::MgtAddBaResponseHeader const * respHdr, ns3::Mac48Address originator, uint16_t startingSeq) [member function] - cls.add_method('CreateBlockAckAgreement', - 'void', - [param('ns3::MgtAddBaResponseHeader const *', 'respHdr'), param('ns3::Mac48Address', 'originator'), param('uint16_t', 'startingSeq')]) - ## mac-low.h: void ns3::MacLow::DestroyBlockAckAgreement(ns3::Mac48Address originator, uint8_t tid) [member function] - cls.add_method('DestroyBlockAckAgreement', - 'void', - [param('ns3::Mac48Address', 'originator'), param('uint8_t', 'tid')]) - ## mac-low.h: ns3::Time ns3::MacLow::GetAckTimeout() const [member function] - cls.add_method('GetAckTimeout', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Mac48Address ns3::MacLow::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetBasicBlockAckTimeout() const [member function] - cls.add_method('GetBasicBlockAckTimeout', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Mac48Address ns3::MacLow::GetBssid() const [member function] - cls.add_method('GetBssid', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetCompressedBlockAckTimeout() const [member function] - cls.add_method('GetCompressedBlockAckTimeout', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetCtsTimeout() const [member function] - cls.add_method('GetCtsTimeout', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetPifs() const [member function] - cls.add_method('GetPifs', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetSifs() const [member function] - cls.add_method('GetSifs', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: ns3::Time ns3::MacLow::GetSlotTime() const [member function] - cls.add_method('GetSlotTime', - 'ns3::Time', - [], - is_const=True) - ## mac-low.h: void ns3::MacLow::NotifySwitchingStartNow(ns3::Time duration) [member function] - cls.add_method('NotifySwitchingStartNow', - 'void', - [param('ns3::Time', 'duration')]) - ## mac-low.h: void ns3::MacLow::ReceiveError(ns3::Ptr packet, double rxSnr) [member function] - cls.add_method('ReceiveError', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'rxSnr')]) - ## mac-low.h: void ns3::MacLow::ReceiveOk(ns3::Ptr packet, double rxSnr, ns3::WifiMode txMode, ns3::WifiPreamble preamble) [member function] - cls.add_method('ReceiveOk', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode'), param('ns3::WifiPreamble', 'preamble')]) - ## mac-low.h: void ns3::MacLow::RegisterBlockAckListenerForAc(ns3::AcIndex ac, ns3::MacLowBlockAckEventListener * listener) [member function] - cls.add_method('RegisterBlockAckListenerForAc', - 'void', - [param('ns3::AcIndex', 'ac'), param('ns3::MacLowBlockAckEventListener *', 'listener')]) - ## mac-low.h: void ns3::MacLow::RegisterDcfListener(ns3::MacLowDcfListener * listener) [member function] - cls.add_method('RegisterDcfListener', - 'void', - [param('ns3::MacLowDcfListener *', 'listener')]) - ## mac-low.h: void ns3::MacLow::SetAckTimeout(ns3::Time ackTimeout) [member function] - cls.add_method('SetAckTimeout', - 'void', - [param('ns3::Time', 'ackTimeout')]) - ## mac-low.h: void ns3::MacLow::SetAddress(ns3::Mac48Address ad) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'ad')]) - ## mac-low.h: void ns3::MacLow::SetBasicBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetBasicBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')]) - ## mac-low.h: void ns3::MacLow::SetBssid(ns3::Mac48Address ad) [member function] - cls.add_method('SetBssid', - 'void', - [param('ns3::Mac48Address', 'ad')]) - ## mac-low.h: void ns3::MacLow::SetCompressedBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetCompressedBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')]) - ## mac-low.h: void ns3::MacLow::SetCtsTimeout(ns3::Time ctsTimeout) [member function] - cls.add_method('SetCtsTimeout', - 'void', - [param('ns3::Time', 'ctsTimeout')]) - ## mac-low.h: void ns3::MacLow::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')]) - ## mac-low.h: void ns3::MacLow::SetPifs(ns3::Time pifs) [member function] - cls.add_method('SetPifs', - 'void', - [param('ns3::Time', 'pifs')]) - ## mac-low.h: void ns3::MacLow::SetRxCallback(ns3::Callback, ns3::WifiMacHeader const*, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function] - cls.add_method('SetRxCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::WifiMacHeader const *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## mac-low.h: void ns3::MacLow::SetSifs(ns3::Time sifs) [member function] - cls.add_method('SetSifs', - 'void', - [param('ns3::Time', 'sifs')]) - ## mac-low.h: void ns3::MacLow::SetSlotTime(ns3::Time slotTime) [member function] - cls.add_method('SetSlotTime', - 'void', - [param('ns3::Time', 'slotTime')]) - ## mac-low.h: void ns3::MacLow::SetWifiRemoteStationManager(ns3::Ptr manager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'manager')]) - ## mac-low.h: void ns3::MacLow::StartTransmission(ns3::Ptr packet, ns3::WifiMacHeader const * hdr, ns3::MacLowTransmissionParameters parameters, ns3::MacLowTransmissionListener * listener) [member function] - cls.add_method('StartTransmission', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr'), param('ns3::MacLowTransmissionParameters', 'parameters'), param('ns3::MacLowTransmissionListener *', 'listener')]) - ## mac-low.h: void ns3::MacLow::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3MgtBeaconHeader_methods(root_module, cls): - ## mgt-headers.h: ns3::MgtBeaconHeader::MgtBeaconHeader() [constructor] - cls.add_constructor([]) - ## mgt-headers.h: ns3::MgtBeaconHeader::MgtBeaconHeader(ns3::MgtBeaconHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MgtBeaconHeader const &', 'arg0')]) - return - -def register_Ns3MinstrelWifiManager_methods(root_module, cls): - ## minstrel-wifi-manager.h: ns3::MinstrelWifiManager::MinstrelWifiManager(ns3::MinstrelWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MinstrelWifiManager const &', 'arg0')]) - ## minstrel-wifi-manager.h: ns3::MinstrelWifiManager::MinstrelWifiManager() [constructor] - cls.add_constructor([]) - ## minstrel-wifi-manager.h: static ns3::TypeId ns3::MinstrelWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::SetupPhy(ns3::Ptr phy) [member function] - cls.add_method('SetupPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_virtual=True) - ## minstrel-wifi-manager.h: ns3::WifiRemoteStation * ns3::MinstrelWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: ns3::WifiMode ns3::MinstrelWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: ns3::WifiMode ns3::MinstrelWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: void ns3::MinstrelWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## minstrel-wifi-manager.h: bool ns3::MinstrelWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3MsduAggregator_methods(root_module, cls): - ## msdu-aggregator.h: ns3::MsduAggregator::MsduAggregator() [constructor] - cls.add_constructor([]) - ## msdu-aggregator.h: ns3::MsduAggregator::MsduAggregator(ns3::MsduAggregator const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MsduAggregator const &', 'arg0')]) - ## msdu-aggregator.h: bool ns3::MsduAggregator::Aggregate(ns3::Ptr packet, ns3::Ptr aggregatedPacket, ns3::Mac48Address src, ns3::Mac48Address dest) [member function] - cls.add_method('Aggregate', - 'bool', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Ptr< ns3::Packet >', 'aggregatedPacket'), param('ns3::Mac48Address', 'src'), param('ns3::Mac48Address', 'dest')], - is_pure_virtual=True, is_virtual=True) - ## msdu-aggregator.h: static std::list, ns3::AmsduSubframeHeader>, std::allocator, ns3::AmsduSubframeHeader> > > ns3::MsduAggregator::Deaggregate(ns3::Ptr aggregatedPacket) [member function] - cls.add_method('Deaggregate', - 'std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader > >', - [param('ns3::Ptr< ns3::Packet >', 'aggregatedPacket')], - is_static=True) - ## msdu-aggregator.h: static ns3::TypeId ns3::MsduAggregator::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3NistErrorRateModel_methods(root_module, cls): - ## nist-error-rate-model.h: ns3::NistErrorRateModel::NistErrorRateModel(ns3::NistErrorRateModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::NistErrorRateModel const &', 'arg0')]) - ## nist-error-rate-model.h: ns3::NistErrorRateModel::NistErrorRateModel() [constructor] - cls.add_constructor([]) - ## nist-error-rate-model.h: double ns3::NistErrorRateModel::GetChunkSuccessRate(ns3::WifiMode mode, double snr, uint32_t nbits) const [member function] - cls.add_method('GetChunkSuccessRate', - 'double', - [param('ns3::WifiMode', 'mode'), param('double', 'snr'), param('uint32_t', 'nbits')], - is_const=True, is_virtual=True) - ## nist-error-rate-model.h: static ns3::TypeId ns3::NistErrorRateModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3OnoeWifiManager_methods(root_module, cls): - ## onoe-wifi-manager.h: ns3::OnoeWifiManager::OnoeWifiManager(ns3::OnoeWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OnoeWifiManager const &', 'arg0')]) - ## onoe-wifi-manager.h: ns3::OnoeWifiManager::OnoeWifiManager() [constructor] - cls.add_constructor([]) - ## onoe-wifi-manager.h: static ns3::TypeId ns3::OnoeWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## onoe-wifi-manager.h: ns3::WifiRemoteStation * ns3::OnoeWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: ns3::WifiMode ns3::OnoeWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: ns3::WifiMode ns3::OnoeWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: void ns3::OnoeWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## onoe-wifi-manager.h: bool ns3::OnoeWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3RegularWifiMac_methods(root_module, cls): - ## regular-wifi-mac.h: static ns3::TypeId ns3::RegularWifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## regular-wifi-mac.h: ns3::RegularWifiMac::RegularWifiMac() [constructor] - cls.add_constructor([]) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetSlot(ns3::Time slotTime) [member function] - cls.add_method('SetSlot', - 'void', - [param('ns3::Time', 'slotTime')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetSifs(ns3::Time sifs) [member function] - cls.add_method('SetSifs', - 'void', - [param('ns3::Time', 'sifs')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetEifsNoDifs(ns3::Time eifsNoDifs) [member function] - cls.add_method('SetEifsNoDifs', - 'void', - [param('ns3::Time', 'eifsNoDifs')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetPifs(ns3::Time pifs) [member function] - cls.add_method('SetPifs', - 'void', - [param('ns3::Time', 'pifs')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetCtsTimeout(ns3::Time ctsTimeout) [member function] - cls.add_method('SetCtsTimeout', - 'void', - [param('ns3::Time', 'ctsTimeout')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetAckTimeout(ns3::Time ackTimeout) [member function] - cls.add_method('SetAckTimeout', - 'void', - [param('ns3::Time', 'ackTimeout')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetPifs() const [member function] - cls.add_method('GetPifs', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetSifs() const [member function] - cls.add_method('GetSifs', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetSlot() const [member function] - cls.add_method('GetSlot', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetEifsNoDifs() const [member function] - cls.add_method('GetEifsNoDifs', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetCtsTimeout() const [member function] - cls.add_method('GetCtsTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetAckTimeout() const [member function] - cls.add_method('GetAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Mac48Address ns3::RegularWifiMac::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Mac48Address', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: ns3::Ssid ns3::RegularWifiMac::GetSsid() const [member function] - cls.add_method('GetSsid', - 'ns3::Ssid', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'address')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetSsid(ns3::Ssid ssid) [member function] - cls.add_method('SetSsid', - 'void', - [param('ns3::Ssid', 'ssid')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetBssid(ns3::Mac48Address bssid) [member function] - cls.add_method('SetBssid', - 'void', - [param('ns3::Mac48Address', 'bssid')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Mac48Address ns3::RegularWifiMac::GetBssid() const [member function] - cls.add_method('GetBssid', - 'ns3::Mac48Address', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')], - is_virtual=True) - ## regular-wifi-mac.h: bool ns3::RegularWifiMac::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_pure_virtual=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetWifiPhy(ns3::Ptr phy) [member function] - cls.add_method('SetWifiPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Ptr ns3::RegularWifiMac::GetWifiPhy() const [member function] - cls.add_method('GetWifiPhy', - 'ns3::Ptr< ns3::WifiPhy >', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetWifiRemoteStationManager(ns3::Ptr stationManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'stationManager')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Ptr ns3::RegularWifiMac::GetWifiRemoteStationManager() const [member function] - cls.add_method('GetWifiRemoteStationManager', - 'ns3::Ptr< ns3::WifiRemoteStationManager >', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetForwardUpCallback(ns3::Callback, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> upCallback) [member function] - cls.add_method('SetForwardUpCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::Packet >, ns3::Mac48Address, ns3::Mac48Address, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'upCallback')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetLinkDownCallback(ns3::Callback linkDown) [member function] - cls.add_method('SetLinkDownCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkDown')], - is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetBasicBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetBasicBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetBasicBlockAckTimeout() const [member function] - cls.add_method('GetBasicBlockAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetCompressedBlockAckTimeout(ns3::Time blockAckTimeout) [member function] - cls.add_method('SetCompressedBlockAckTimeout', - 'void', - [param('ns3::Time', 'blockAckTimeout')], - is_virtual=True) - ## regular-wifi-mac.h: ns3::Time ns3::RegularWifiMac::GetCompressedBlockAckTimeout() const [member function] - cls.add_method('GetCompressedBlockAckTimeout', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::FinishConfigureStandard(ns3::WifiPhyStandard standard) [member function] - cls.add_method('FinishConfigureStandard', - 'void', - [param('ns3::WifiPhyStandard', 'standard')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetTypeOfStation(ns3::TypeOfStation type) [member function] - cls.add_method('SetTypeOfStation', - 'void', - [param('ns3::TypeOfStation', 'type')], - visibility='protected') - ## regular-wifi-mac.h: void ns3::RegularWifiMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::TxOk(ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('TxOk', - 'void', - [param('ns3::WifiMacHeader const &', 'hdr')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::TxFailed(ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('TxFailed', - 'void', - [param('ns3::WifiMacHeader const &', 'hdr')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::ForwardUp(ns3::Ptr packet, ns3::Mac48Address from, ns3::Mac48Address to) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address', 'from'), param('ns3::Mac48Address', 'to')], - visibility='protected') - ## regular-wifi-mac.h: void ns3::RegularWifiMac::DeaggregateAmsduAndForward(ns3::Ptr aggregatedPacket, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('DeaggregateAmsduAndForward', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'aggregatedPacket'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SendAddBaResponse(ns3::MgtAddBaRequestHeader const * reqHdr, ns3::Mac48Address originator) [member function] - cls.add_method('SendAddBaResponse', - 'void', - [param('ns3::MgtAddBaRequestHeader const *', 'reqHdr'), param('ns3::Mac48Address', 'originator')], - visibility='protected', is_virtual=True) - ## regular-wifi-mac.h: void ns3::RegularWifiMac::SetQosSupported(bool enable) [member function] - cls.add_method('SetQosSupported', - 'void', - [param('bool', 'enable')], - visibility='protected') - ## regular-wifi-mac.h: bool ns3::RegularWifiMac::GetQosSupported() const [member function] - cls.add_method('GetQosSupported', - 'bool', - [], - is_const=True, visibility='protected') - return - -def register_Ns3RraaWifiManager_methods(root_module, cls): - ## rraa-wifi-manager.h: ns3::RraaWifiManager::RraaWifiManager(ns3::RraaWifiManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RraaWifiManager const &', 'arg0')]) - ## rraa-wifi-manager.h: ns3::RraaWifiManager::RraaWifiManager() [constructor] - cls.add_constructor([]) - ## rraa-wifi-manager.h: static ns3::TypeId ns3::RraaWifiManager::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## rraa-wifi-manager.h: ns3::WifiRemoteStation * ns3::RraaWifiManager::DoCreateStation() const [member function] - cls.add_method('DoCreateStation', - 'ns3::WifiRemoteStation *', - [], - is_const=True, visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: ns3::WifiMode ns3::RraaWifiManager::DoGetDataMode(ns3::WifiRemoteStation * station, uint32_t size) [member function] - cls.add_method('DoGetDataMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station'), param('uint32_t', 'size')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: ns3::WifiMode ns3::RraaWifiManager::DoGetRtsMode(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoGetRtsMode', - 'ns3::WifiMode', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: bool ns3::RraaWifiManager::DoNeedRts(ns3::WifiRemoteStation * st, ns3::Ptr packet, bool normally) [member function] - cls.add_method('DoNeedRts', - 'bool', - [param('ns3::WifiRemoteStation *', 'st'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('bool', 'normally')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportDataOk(ns3::WifiRemoteStation * station, double ackSnr, ns3::WifiMode ackMode, double dataSnr) [member function] - cls.add_method('DoReportDataOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ackSnr'), param('ns3::WifiMode', 'ackMode'), param('double', 'dataSnr')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportFinalDataFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalDataFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportFinalRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportFinalRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportRtsFailed(ns3::WifiRemoteStation * station) [member function] - cls.add_method('DoReportRtsFailed', - 'void', - [param('ns3::WifiRemoteStation *', 'station')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportRtsOk(ns3::WifiRemoteStation * station, double ctsSnr, ns3::WifiMode ctsMode, double rtsSnr) [member function] - cls.add_method('DoReportRtsOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'ctsSnr'), param('ns3::WifiMode', 'ctsMode'), param('double', 'rtsSnr')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: void ns3::RraaWifiManager::DoReportRxOk(ns3::WifiRemoteStation * station, double rxSnr, ns3::WifiMode txMode) [member function] - cls.add_method('DoReportRxOk', - 'void', - [param('ns3::WifiRemoteStation *', 'station'), param('double', 'rxSnr'), param('ns3::WifiMode', 'txMode')], - visibility='private', is_virtual=True) - ## rraa-wifi-manager.h: bool ns3::RraaWifiManager::IsLowLatency() const [member function] - cls.add_method('IsLowLatency', - 'bool', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3Ssid_methods(root_module, cls): - cls.add_output_stream_operator() - ## ssid.h: ns3::Ssid::Ssid(ns3::Ssid const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ssid const &', 'arg0')]) - ## ssid.h: ns3::Ssid::Ssid() [constructor] - cls.add_constructor([]) - ## ssid.h: ns3::Ssid::Ssid(std::string s) [constructor] - cls.add_constructor([param('std::string', 's')]) - ## ssid.h: ns3::Ssid::Ssid(char const * ssid, uint8_t length) [constructor] - cls.add_constructor([param('char const *', 'ssid'), param('uint8_t', 'length')]) - ## ssid.h: uint8_t ns3::Ssid::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## ssid.h: ns3::WifiInformationElementId ns3::Ssid::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## ssid.h: uint8_t ns3::Ssid::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## ssid.h: bool ns3::Ssid::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## ssid.h: bool ns3::Ssid::IsEqual(ns3::Ssid const & o) const [member function] - cls.add_method('IsEqual', - 'bool', - [param('ns3::Ssid const &', 'o')], - is_const=True) - ## ssid.h: char * ns3::Ssid::PeekString() const [member function] - cls.add_method('PeekString', - 'char *', - [], - is_const=True) - ## ssid.h: void ns3::Ssid::SerializeInformationField(ns3::Buffer::Iterator start) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3SsidChecker_methods(root_module, cls): - ## ssid.h: ns3::SsidChecker::SsidChecker() [constructor] - cls.add_constructor([]) - ## ssid.h: ns3::SsidChecker::SsidChecker(ns3::SsidChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SsidChecker const &', 'arg0')]) - return - -def register_Ns3SsidValue_methods(root_module, cls): - ## ssid.h: ns3::SsidValue::SsidValue() [constructor] - cls.add_constructor([]) - ## ssid.h: ns3::SsidValue::SsidValue(ns3::SsidValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SsidValue const &', 'arg0')]) - ## ssid.h: ns3::SsidValue::SsidValue(ns3::Ssid const & value) [constructor] - cls.add_constructor([param('ns3::Ssid const &', 'value')]) - ## ssid.h: ns3::Ptr ns3::SsidValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## ssid.h: bool ns3::SsidValue::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) - ## ssid.h: ns3::Ssid ns3::SsidValue::Get() const [member function] - cls.add_method('Get', - 'ns3::Ssid', - [], - is_const=True) - ## ssid.h: std::string ns3::SsidValue::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) - ## ssid.h: void ns3::SsidValue::Set(ns3::Ssid const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::Ssid const &', 'value')]) - return - -def register_Ns3StaWifiMac_methods(root_module, cls): - ## sta-wifi-mac.h: static ns3::TypeId ns3::StaWifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## sta-wifi-mac.h: ns3::StaWifiMac::StaWifiMac() [constructor] - cls.add_constructor([]) - ## sta-wifi-mac.h: void ns3::StaWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - ## sta-wifi-mac.h: void ns3::StaWifiMac::SetMaxMissedBeacons(uint32_t missed) [member function] - cls.add_method('SetMaxMissedBeacons', - 'void', - [param('uint32_t', 'missed')]) - ## sta-wifi-mac.h: void ns3::StaWifiMac::SetProbeRequestTimeout(ns3::Time timeout) [member function] - cls.add_method('SetProbeRequestTimeout', - 'void', - [param('ns3::Time', 'timeout')]) - ## sta-wifi-mac.h: void ns3::StaWifiMac::SetAssocRequestTimeout(ns3::Time timeout) [member function] - cls.add_method('SetAssocRequestTimeout', - 'void', - [param('ns3::Time', 'timeout')]) - ## sta-wifi-mac.h: void ns3::StaWifiMac::StartActiveAssociation() [member function] - cls.add_method('StartActiveAssociation', - 'void', - []) - ## sta-wifi-mac.h: void ns3::StaWifiMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - return - -def register_Ns3SupportedRates_methods(root_module, cls): - cls.add_output_stream_operator() - ## supported-rates.h: ns3::SupportedRates::SupportedRates(ns3::SupportedRates const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SupportedRates const &', 'arg0')]) - ## supported-rates.h: ns3::SupportedRates::SupportedRates() [constructor] - cls.add_constructor([]) - ## supported-rates.h: void ns3::SupportedRates::AddSupportedRate(uint32_t bs) [member function] - cls.add_method('AddSupportedRate', - 'void', - [param('uint32_t', 'bs')]) - ## supported-rates.h: uint8_t ns3::SupportedRates::DeserializeInformationField(ns3::Buffer::Iterator start, uint8_t length) [member function] - cls.add_method('DeserializeInformationField', - 'uint8_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint8_t', 'length')], - is_virtual=True) - ## supported-rates.h: ns3::WifiInformationElementId ns3::SupportedRates::ElementId() const [member function] - cls.add_method('ElementId', - 'ns3::WifiInformationElementId', - [], - is_const=True, is_virtual=True) - ## supported-rates.h: uint8_t ns3::SupportedRates::GetInformationFieldSize() const [member function] - cls.add_method('GetInformationFieldSize', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## supported-rates.h: uint8_t ns3::SupportedRates::GetNRates() const [member function] - cls.add_method('GetNRates', - 'uint8_t', - [], - is_const=True) - ## supported-rates.h: uint32_t ns3::SupportedRates::GetRate(uint8_t i) const [member function] - cls.add_method('GetRate', - 'uint32_t', - [param('uint8_t', 'i')], - is_const=True) - ## supported-rates.h: bool ns3::SupportedRates::IsBasicRate(uint32_t bs) const [member function] - cls.add_method('IsBasicRate', - 'bool', - [param('uint32_t', 'bs')], - is_const=True) - ## supported-rates.h: bool ns3::SupportedRates::IsSupportedRate(uint32_t bs) const [member function] - cls.add_method('IsSupportedRate', - 'bool', - [param('uint32_t', 'bs')], - is_const=True) - ## supported-rates.h: void ns3::SupportedRates::SerializeInformationField(ns3::Buffer::Iterator start) const [member function] - cls.add_method('SerializeInformationField', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## supported-rates.h: void ns3::SupportedRates::SetBasicRate(uint32_t bs) [member function] - cls.add_method('SetBasicRate', - 'void', - [param('uint32_t', 'bs')]) - ## supported-rates.h: ns3::SupportedRates::extended [variable] - cls.add_instance_attribute('extended', 'ns3::ExtendedSupportedRatesIE', is_const=False) - return - -def register_Ns3WifiChannel_methods(root_module, cls): - ## wifi-channel.h: ns3::WifiChannel::WifiChannel() [constructor] - cls.add_constructor([]) - ## wifi-channel.h: ns3::WifiChannel::WifiChannel(ns3::WifiChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiChannel const &', 'arg0')]) - ## wifi-channel.h: static ns3::TypeId ns3::WifiChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3WifiModeChecker_methods(root_module, cls): - ## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker() [constructor] - cls.add_constructor([]) - ## wifi-mode.h: ns3::WifiModeChecker::WifiModeChecker(ns3::WifiModeChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiModeChecker const &', 'arg0')]) - return - -def register_Ns3WifiModeValue_methods(root_module, cls): - ## wifi-mode.h: ns3::WifiModeValue::WifiModeValue() [constructor] - cls.add_constructor([]) - ## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiModeValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiModeValue const &', 'arg0')]) - ## wifi-mode.h: ns3::WifiModeValue::WifiModeValue(ns3::WifiMode const & value) [constructor] - cls.add_constructor([param('ns3::WifiMode const &', 'value')]) - ## wifi-mode.h: ns3::Ptr ns3::WifiModeValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ptr< ns3::AttributeValue >', - [], - is_const=True, is_virtual=True) - ## wifi-mode.h: bool ns3::WifiModeValue::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) - ## wifi-mode.h: ns3::WifiMode ns3::WifiModeValue::Get() const [member function] - cls.add_method('Get', - 'ns3::WifiMode', - [], - is_const=True) - ## wifi-mode.h: std::string ns3::WifiModeValue::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) - ## wifi-mode.h: void ns3::WifiModeValue::Set(ns3::WifiMode const & value) [member function] - cls.add_method('Set', - 'void', - [param('ns3::WifiMode const &', 'value')]) - return - -def register_Ns3WifiNetDevice_methods(root_module, cls): - ## wifi-net-device.h: ns3::WifiNetDevice::WifiNetDevice(ns3::WifiNetDevice const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WifiNetDevice const &', 'arg0')]) - ## wifi-net-device.h: ns3::WifiNetDevice::WifiNetDevice() [constructor] - cls.add_constructor([]) - ## wifi-net-device.h: void ns3::WifiNetDevice::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')], - is_virtual=True) - ## wifi-net-device.h: ns3::Address ns3::WifiNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Address ns3::WifiNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: uint32_t ns3::WifiNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetMac() const [member function] - cls.add_method('GetMac', - 'ns3::Ptr< ns3::WifiMac >', - [], - is_const=True) - ## wifi-net-device.h: uint16_t ns3::WifiNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Address ns3::WifiNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Address ns3::WifiNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::WifiPhy >', - [], - is_const=True) - ## wifi-net-device.h: ns3::Ptr ns3::WifiNetDevice::GetRemoteStationManager() const [member function] - cls.add_method('GetRemoteStationManager', - 'ns3::Ptr< ns3::WifiRemoteStationManager >', - [], - is_const=True) - ## wifi-net-device.h: static ns3::TypeId ns3::WifiNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## wifi-net-device.h: bool ns3::WifiNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetMac(ns3::Ptr mac) [member function] - cls.add_method('SetMac', - 'void', - [param('ns3::Ptr< ns3::WifiMac >', 'mac')]) - ## wifi-net-device.h: bool ns3::WifiNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::WifiPhy >', 'phy')]) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::SetRemoteStationManager(ns3::Ptr manager) [member function] - cls.add_method('SetRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'manager')]) - ## wifi-net-device.h: bool ns3::WifiNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## wifi-net-device.h: void ns3::WifiNetDevice::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3YansErrorRateModel_methods(root_module, cls): - ## yans-error-rate-model.h: ns3::YansErrorRateModel::YansErrorRateModel(ns3::YansErrorRateModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::YansErrorRateModel const &', 'arg0')]) - ## yans-error-rate-model.h: ns3::YansErrorRateModel::YansErrorRateModel() [constructor] - cls.add_constructor([]) - ## yans-error-rate-model.h: double ns3::YansErrorRateModel::GetChunkSuccessRate(ns3::WifiMode mode, double snr, uint32_t nbits) const [member function] - cls.add_method('GetChunkSuccessRate', - 'double', - [param('ns3::WifiMode', 'mode'), param('double', 'snr'), param('uint32_t', 'nbits')], - is_const=True, is_virtual=True) - ## yans-error-rate-model.h: static ns3::TypeId ns3::YansErrorRateModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - -def register_Ns3YansWifiChannel_methods(root_module, cls): - ## yans-wifi-channel.h: static ns3::TypeId ns3::YansWifiChannel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## yans-wifi-channel.h: ns3::YansWifiChannel::YansWifiChannel() [constructor] - cls.add_constructor([]) - ## yans-wifi-channel.h: uint32_t ns3::YansWifiChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## yans-wifi-channel.h: ns3::Ptr ns3::YansWifiChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## yans-wifi-channel.h: void ns3::YansWifiChannel::Add(ns3::Ptr phy) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ptr< ns3::YansWifiPhy >', 'phy')]) - ## yans-wifi-channel.h: void ns3::YansWifiChannel::SetPropagationLossModel(ns3::Ptr loss) [member function] - cls.add_method('SetPropagationLossModel', - 'void', - [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')]) - ## yans-wifi-channel.h: void ns3::YansWifiChannel::SetPropagationDelayModel(ns3::Ptr delay) [member function] - cls.add_method('SetPropagationDelayModel', - 'void', - [param('ns3::Ptr< ns3::PropagationDelayModel >', 'delay')]) - ## yans-wifi-channel.h: void ns3::YansWifiChannel::Send(ns3::Ptr sender, ns3::Ptr packet, double txPowerDbm, ns3::WifiMode wifiMode, ns3::WifiPreamble preamble) const [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::YansWifiPhy >', 'sender'), param('ns3::Ptr< ns3::Packet const >', 'packet'), param('double', 'txPowerDbm'), param('ns3::WifiMode', 'wifiMode'), param('ns3::WifiPreamble', 'preamble')], - is_const=True) - return - -def register_Ns3AdhocWifiMac_methods(root_module, cls): - ## adhoc-wifi-mac.h: static ns3::TypeId ns3::AdhocWifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## adhoc-wifi-mac.h: ns3::AdhocWifiMac::AdhocWifiMac() [constructor] - cls.add_constructor([]) - ## adhoc-wifi-mac.h: void ns3::AdhocWifiMac::SetAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'address')], - is_virtual=True) - ## adhoc-wifi-mac.h: void ns3::AdhocWifiMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_virtual=True) - ## adhoc-wifi-mac.h: void ns3::AdhocWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - ## adhoc-wifi-mac.h: void ns3::AdhocWifiMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - return - -def register_Ns3ApWifiMac_methods(root_module, cls): - ## ap-wifi-mac.h: static ns3::TypeId ns3::ApWifiMac::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ap-wifi-mac.h: ns3::ApWifiMac::ApWifiMac() [constructor] - cls.add_constructor([]) - ## ap-wifi-mac.h: void ns3::ApWifiMac::SetWifiRemoteStationManager(ns3::Ptr stationManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'stationManager')], - is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::SetLinkUpCallback(ns3::Callback linkUp) [member function] - cls.add_method('SetLinkUpCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'linkUp')], - is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to')], - is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] - cls.add_method('Enqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Mac48Address', 'to'), param('ns3::Mac48Address', 'from')], - is_virtual=True) - ## ap-wifi-mac.h: bool ns3::ApWifiMac::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::SetAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Mac48Address', 'address')], - is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::SetBeaconInterval(ns3::Time interval) [member function] - cls.add_method('SetBeaconInterval', - 'void', - [param('ns3::Time', 'interval')]) - ## ap-wifi-mac.h: ns3::Time ns3::ApWifiMac::GetBeaconInterval() const [member function] - cls.add_method('GetBeaconInterval', - 'ns3::Time', - [], - is_const=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::StartBeaconing() [member function] - cls.add_method('StartBeaconing', - 'void', - []) - ## ap-wifi-mac.h: void ns3::ApWifiMac::Receive(ns3::Ptr packet, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('Receive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::TxOk(ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('TxOk', - 'void', - [param('ns3::WifiMacHeader const &', 'hdr')], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::TxFailed(ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('TxFailed', - 'void', - [param('ns3::WifiMacHeader const &', 'hdr')], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::DeaggregateAmsduAndForward(ns3::Ptr aggregatedPacket, ns3::WifiMacHeader const * hdr) [member function] - cls.add_method('DeaggregateAmsduAndForward', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'aggregatedPacket'), param('ns3::WifiMacHeader const *', 'hdr')], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## ap-wifi-mac.h: void ns3::ApWifiMac::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3DcaTxop_methods(root_module, cls): - ## dca-txop.h: static ns3::TypeId ns3::DcaTxop::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dca-txop.h: ns3::DcaTxop::DcaTxop() [constructor] - cls.add_constructor([]) - ## dca-txop.h: void ns3::DcaTxop::SetLow(ns3::Ptr low) [member function] - cls.add_method('SetLow', - 'void', - [param('ns3::Ptr< ns3::MacLow >', 'low')]) - ## dca-txop.h: void ns3::DcaTxop::SetManager(ns3::DcfManager * manager) [member function] - cls.add_method('SetManager', - 'void', - [param('ns3::DcfManager *', 'manager')]) - ## dca-txop.h: void ns3::DcaTxop::SetWifiRemoteStationManager(ns3::Ptr remoteManager) [member function] - cls.add_method('SetWifiRemoteStationManager', - 'void', - [param('ns3::Ptr< ns3::WifiRemoteStationManager >', 'remoteManager')]) - ## dca-txop.h: void ns3::DcaTxop::SetTxOkCallback(ns3::Callback callback) [member function] - cls.add_method('SetTxOkCallback', - 'void', - [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## dca-txop.h: void ns3::DcaTxop::SetTxFailedCallback(ns3::Callback callback) [member function] - cls.add_method('SetTxFailedCallback', - 'void', - [param('ns3::Callback< void, ns3::WifiMacHeader const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## dca-txop.h: ns3::Ptr ns3::DcaTxop::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::WifiMacQueue >', - [], - is_const=True) - ## dca-txop.h: void ns3::DcaTxop::SetMinCw(uint32_t minCw) [member function] - cls.add_method('SetMinCw', - 'void', - [param('uint32_t', 'minCw')], - is_virtual=True) - ## dca-txop.h: void ns3::DcaTxop::SetMaxCw(uint32_t maxCw) [member function] - cls.add_method('SetMaxCw', - 'void', - [param('uint32_t', 'maxCw')], - is_virtual=True) - ## dca-txop.h: void ns3::DcaTxop::SetAifsn(uint32_t aifsn) [member function] - cls.add_method('SetAifsn', - 'void', - [param('uint32_t', 'aifsn')], - is_virtual=True) - ## dca-txop.h: uint32_t ns3::DcaTxop::GetMinCw() const [member function] - cls.add_method('GetMinCw', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dca-txop.h: uint32_t ns3::DcaTxop::GetMaxCw() const [member function] - cls.add_method('GetMaxCw', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dca-txop.h: uint32_t ns3::DcaTxop::GetAifsn() const [member function] - cls.add_method('GetAifsn', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dca-txop.h: void ns3::DcaTxop::Queue(ns3::Ptr packet, ns3::WifiMacHeader const & hdr) [member function] - cls.add_method('Queue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::WifiMacHeader const &', 'hdr')]) - ## dca-txop.h: void ns3::DcaTxop::DoStart() [member function] - cls.add_method('DoStart', - 'void', - [], - visibility='private', is_virtual=True) - ## dca-txop.h: void ns3::DcaTxop::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## ssid.h: extern ns3::Ptr ns3::MakeSsidChecker() [free function] - module.add_function('MakeSsidChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## wifi-mode.h: extern ns3::Ptr ns3::MakeWifiModeChecker() [free function] - module.add_function('MakeWifiModeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - []) - ## qos-utils.h: extern uint8_t ns3::QosUtilsGetTidForPacket(ns3::Ptr packet) [free function] - module.add_function('QosUtilsGetTidForPacket', - 'uint8_t', - [param('ns3::Ptr< ns3::Packet const >', 'packet')]) - ## qos-utils.h: extern bool ns3::QosUtilsIsOldPacket(uint16_t startingSeq, uint16_t seqNumber) [free function] - module.add_function('QosUtilsIsOldPacket', - 'bool', - [param('uint16_t', 'startingSeq'), param('uint16_t', 'seqNumber')]) - ## qos-utils.h: extern uint32_t ns3::QosUtilsMapSeqControlToUniqueInteger(uint16_t seqControl, uint16_t endSequence) [free function] - module.add_function('QosUtilsMapSeqControlToUniqueInteger', - 'uint32_t', - [param('uint16_t', 'seqControl'), param('uint16_t', 'endSequence')]) - ## qos-utils.h: extern ns3::AcIndex ns3::QosUtilsMapTidToAc(uint8_t tid) [free function] - module.add_function('QosUtilsMapTidToAc', - 'ns3::AcIndex', - [param('uint8_t', 'tid')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3_module_wimax.py b/bindings/python/apidefs/gcc-LP64/ns3_module_wimax.py deleted file mode 100644 index b5c5ca2ce..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3_module_wimax.py +++ /dev/null @@ -1,6728 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - -def register_types(module): - root_module = module.get_root() - - ## ul-job.h: ns3::ReqType [enumeration] - module.add_enum('ReqType', ['DATA', 'UNICAST_POLLING']) - ## cid.h: ns3::Cid [class] - module.add_class('Cid') - ## cid.h: ns3::Cid::Type [enumeration] - module.add_enum('Type', ['BROADCAST', 'INITIAL_RANGING', 'BASIC', 'PRIMARY', 'TRANSPORT', 'MULTICAST', 'PADDING'], outer_class=root_module['ns3::Cid']) - ## cid-factory.h: ns3::CidFactory [class] - module.add_class('CidFactory') - ## cs-parameters.h: ns3::CsParameters [class] - module.add_class('CsParameters') - ## cs-parameters.h: ns3::CsParameters::Action [enumeration] - module.add_enum('Action', ['ADD', 'REPLACE', 'DELETE'], outer_class=root_module['ns3::CsParameters']) - ## dl-mac-messages.h: ns3::DcdChannelEncodings [class] - module.add_class('DcdChannelEncodings', allow_subclassing=True) - ## ofdm-downlink-frame-prefix.h: ns3::DlFramePrefixIe [class] - module.add_class('DlFramePrefixIe') - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord [class] - module.add_class('IpcsClassifierRecord') - ## dl-mac-messages.h: ns3::OfdmDcdChannelEncodings [class] - module.add_class('OfdmDcdChannelEncodings', parent=root_module['ns3::DcdChannelEncodings']) - ## dl-mac-messages.h: ns3::OfdmDlBurstProfile [class] - module.add_class('OfdmDlBurstProfile') - ## dl-mac-messages.h: ns3::OfdmDlBurstProfile::Diuc [enumeration] - module.add_enum('Diuc', ['DIUC_STC_ZONE', 'DIUC_BURST_PROFILE_1', 'DIUC_BURST_PROFILE_2', 'DIUC_BURST_PROFILE_3', 'DIUC_BURST_PROFILE_4', 'DIUC_BURST_PROFILE_5', 'DIUC_BURST_PROFILE_6', 'DIUC_BURST_PROFILE_7', 'DIUC_BURST_PROFILE_8', 'DIUC_BURST_PROFILE_9', 'DIUC_BURST_PROFILE_10', 'DIUC_BURST_PROFILE_11', 'DIUC_GAP', 'DIUC_END_OF_MAP'], outer_class=root_module['ns3::OfdmDlBurstProfile']) - ## dl-mac-messages.h: ns3::OfdmDlMapIe [class] - module.add_class('OfdmDlMapIe') - ## ul-mac-messages.h: ns3::OfdmUlBurstProfile [class] - module.add_class('OfdmUlBurstProfile') - ## ul-mac-messages.h: ns3::OfdmUlBurstProfile::Uiuc [enumeration] - module.add_enum('Uiuc', ['UIUC_INITIAL_RANGING', 'UIUC_REQ_REGION_FULL', 'UIUC_REQ_REGION_FOCUSED', 'UIUC_FOCUSED_CONTENTION_IE', 'UIUC_BURST_PROFILE_5', 'UIUC_BURST_PROFILE_6', 'UIUC_BURST_PROFILE_7', 'UIUC_BURST_PROFILE_8', 'UIUC_BURST_PROFILE_9', 'UIUC_BURST_PROFILE_10', 'UIUC_BURST_PROFILE_11', 'UIUC_BURST_PROFILE_12', 'UIUC_SUBCH_NETWORK_ENTRY', 'UIUC_END_OF_MAP'], outer_class=root_module['ns3::OfdmUlBurstProfile']) - ## ul-mac-messages.h: ns3::OfdmUlMapIe [class] - module.add_class('OfdmUlMapIe') - ## snr-to-block-error-rate-manager.h: ns3::SNRToBlockErrorRateManager [class] - module.add_class('SNRToBlockErrorRateManager') - ## snr-to-block-error-rate-record.h: ns3::SNRToBlockErrorRateRecord [class] - module.add_class('SNRToBlockErrorRateRecord') - ## ss-record.h: ns3::SSRecord [class] - module.add_class('SSRecord') - ## send-params.h: ns3::SendParams [class] - module.add_class('SendParams') - ## service-flow.h: ns3::ServiceFlow [class] - module.add_class('ServiceFlow') - ## service-flow.h: ns3::ServiceFlow::Direction [enumeration] - module.add_enum('Direction', ['SF_DIRECTION_DOWN', 'SF_DIRECTION_UP'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow.h: ns3::ServiceFlow::Type [enumeration] - module.add_enum('Type', ['SF_TYPE_PROVISIONED', 'SF_TYPE_ADMITTED', 'SF_TYPE_ACTIVE'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow.h: ns3::ServiceFlow::SchedulingType [enumeration] - module.add_enum('SchedulingType', ['SF_TYPE_NONE', 'SF_TYPE_UNDEF', 'SF_TYPE_BE', 'SF_TYPE_NRTPS', 'SF_TYPE_RTPS', 'SF_TYPE_UGS', 'SF_TYPE_ALL'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow.h: ns3::ServiceFlow::CsSpecification [enumeration] - module.add_enum('CsSpecification', ['ATM', 'IPV4', 'IPV6', 'ETHERNET', 'VLAN', 'IPV4_OVER_ETHERNET', 'IPV6_OVER_ETHERNET', 'IPV4_OVER_VLAN', 'IPV6_OVER_VLAN'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow.h: ns3::ServiceFlow::ModulationType [enumeration] - module.add_enum('ModulationType', ['MODULATION_TYPE_BPSK_12', 'MODULATION_TYPE_QPSK_12', 'MODULATION_TYPE_QPSK_34', 'MODULATION_TYPE_QAM16_12', 'MODULATION_TYPE_QAM16_34', 'MODULATION_TYPE_QAM64_23', 'MODULATION_TYPE_QAM64_34'], outer_class=root_module['ns3::ServiceFlow']) - ## service-flow-record.h: ns3::ServiceFlowRecord [class] - module.add_class('ServiceFlowRecord') - ## wimax-tlv.h: ns3::TlvValue [class] - module.add_class('TlvValue', allow_subclassing=True) - ## wimax-tlv.h: ns3::TosTlvValue [class] - module.add_class('TosTlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::U16TlvValue [class] - module.add_class('U16TlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::U32TlvValue [class] - module.add_class('U32TlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::U8TlvValue [class] - module.add_class('U8TlvValue', parent=root_module['ns3::TlvValue']) - ## ul-mac-messages.h: ns3::UcdChannelEncodings [class] - module.add_class('UcdChannelEncodings', allow_subclassing=True) - ## wimax-tlv.h: ns3::VectorTlvValue [class] - module.add_class('VectorTlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-helper.h: ns3::WimaxHelper [class] - module.add_class('WimaxHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) - ## wimax-helper.h: ns3::WimaxHelper::NetDeviceType [enumeration] - module.add_enum('NetDeviceType', ['DEVICE_TYPE_SUBSCRIBER_STATION', 'DEVICE_TYPE_BASE_STATION'], outer_class=root_module['ns3::WimaxHelper']) - ## wimax-helper.h: ns3::WimaxHelper::PhyType [enumeration] - module.add_enum('PhyType', ['SIMPLE_PHY_TYPE_OFDM'], outer_class=root_module['ns3::WimaxHelper']) - ## wimax-helper.h: ns3::WimaxHelper::SchedulerType [enumeration] - module.add_enum('SchedulerType', ['SCHED_TYPE_SIMPLE', 'SCHED_TYPE_RTPS', 'SCHED_TYPE_MBQOS'], outer_class=root_module['ns3::WimaxHelper']) - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam [class] - module.add_class('simpleOfdmSendParam') - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue [class] - module.add_class('ClassificationRuleVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue::ClassificationRuleTlvType [enumeration] - module.add_enum('ClassificationRuleTlvType', ['Priority', 'ToS', 'Protocol', 'IP_src', 'IP_dst', 'Port_src', 'Port_dst', 'Index'], outer_class=root_module['ns3::ClassificationRuleVectorTlvValue']) - ## wimax-tlv.h: ns3::CsParamVectorTlvValue [class] - module.add_class('CsParamVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) - ## wimax-tlv.h: ns3::CsParamVectorTlvValue::Type [enumeration] - module.add_enum('Type', ['Classifier_DSC_Action', 'Packet_Classification_Rule'], outer_class=root_module['ns3::CsParamVectorTlvValue']) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue [class] - module.add_class('Ipv4AddressTlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr [struct] - module.add_class('ipv4Addr', outer_class=root_module['ns3::Ipv4AddressTlvValue']) - ## wimax-mac-header.h: ns3::MacHeaderType [class] - module.add_class('MacHeaderType', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::MacHeaderType::HeaderType [enumeration] - module.add_enum('HeaderType', ['HEADER_TYPE_GENERIC', 'HEADER_TYPE_BANDWIDTH'], outer_class=root_module['ns3::MacHeaderType']) - ## mac-messages.h: ns3::ManagementMessageType [class] - module.add_class('ManagementMessageType', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::ManagementMessageType::MessageType [enumeration] - module.add_enum('MessageType', ['MESSAGE_TYPE_UCD', 'MESSAGE_TYPE_DCD', 'MESSAGE_TYPE_DL_MAP', 'MESSAGE_TYPE_UL_MAP', 'MESSAGE_TYPE_RNG_REQ', 'MESSAGE_TYPE_RNG_RSP', 'MESSAGE_TYPE_REG_REQ', 'MESSAGE_TYPE_REG_RSP', 'MESSAGE_TYPE_DSA_REQ', 'MESSAGE_TYPE_DSA_RSP', 'MESSAGE_TYPE_DSA_ACK'], outer_class=root_module['ns3::ManagementMessageType']) - ## ofdm-downlink-frame-prefix.h: ns3::OfdmDownlinkFramePrefix [class] - module.add_class('OfdmDownlinkFramePrefix', parent=root_module['ns3::Header']) - ## send-params.h: ns3::OfdmSendParams [class] - module.add_class('OfdmSendParams', parent=root_module['ns3::SendParams']) - ## ul-mac-messages.h: ns3::OfdmUcdChannelEncodings [class] - module.add_class('OfdmUcdChannelEncodings', parent=root_module['ns3::UcdChannelEncodings']) - ## wimax-tlv.h: ns3::PortRangeTlvValue [class] - module.add_class('PortRangeTlvValue', parent=root_module['ns3::TlvValue']) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange [struct] - module.add_class('PortRange', outer_class=root_module['ns3::PortRangeTlvValue']) - ## ul-job.h: ns3::PriorityUlJob [class] - module.add_class('PriorityUlJob', parent=root_module['ns3::Object']) - ## wimax-tlv.h: ns3::ProtocolTlvValue [class] - module.add_class('ProtocolTlvValue', parent=root_module['ns3::TlvValue']) - ## mac-messages.h: ns3::RngReq [class] - module.add_class('RngReq', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::RngRsp [class] - module.add_class('RngRsp', parent=root_module['ns3::Header']) - ## ss-manager.h: ns3::SSManager [class] - module.add_class('SSManager', parent=root_module['ns3::Object']) - ## service-flow-manager.h: ns3::ServiceFlowManager [class] - module.add_class('ServiceFlowManager', parent=root_module['ns3::Object']) - ## service-flow-manager.h: ns3::ServiceFlowManager::ConfirmationCode [enumeration] - module.add_enum('ConfirmationCode', ['CONFIRMATION_CODE_SUCCESS', 'CONFIRMATION_CODE_REJECT'], outer_class=root_module['ns3::ServiceFlowManager']) - ## wimax-tlv.h: ns3::SfVectorTlvValue [class] - module.add_class('SfVectorTlvValue', parent=root_module['ns3::VectorTlvValue']) - ## wimax-tlv.h: ns3::SfVectorTlvValue::Type [enumeration] - module.add_enum('Type', ['SFID', 'CID', 'Service_Class_Name', 'reserved1', 'QoS_Parameter_Set_Type', 'Traffic_Priority', 'Maximum_Sustained_Traffic_Rate', 'Maximum_Traffic_Burst', 'Minimum_Reserved_Traffic_Rate', 'Minimum_Tolerable_Traffic_Rate', 'Service_Flow_Scheduling_Type', 'Request_Transmission_Policy', 'Tolerated_Jitter', 'Maximum_Latency', 'Fixed_length_versus_Variable_length_SDU_Indicator', 'SDU_Size', 'Target_SAID', 'ARQ_Enable', 'ARQ_WINDOW_SIZE', 'ARQ_RETRY_TIMEOUT_Transmitter_Delay', 'ARQ_RETRY_TIMEOUT_Receiver_Delay', 'ARQ_BLOCK_LIFETIME', 'ARQ_SYNC_LOSS', 'ARQ_DELIVER_IN_ORDER', 'ARQ_PURGE_TIMEOUT', 'ARQ_BLOCK_SIZE', 'reserved2', 'CS_Specification', 'IPV4_CS_Parameters'], outer_class=root_module['ns3::SfVectorTlvValue']) - ## ss-service-flow-manager.h: ns3::SsServiceFlowManager [class] - module.add_class('SsServiceFlowManager', parent=root_module['ns3::ServiceFlowManager']) - ## ss-service-flow-manager.h: ns3::SsServiceFlowManager::ConfirmationCode [enumeration] - module.add_enum('ConfirmationCode', ['CONFIRMATION_CODE_SUCCESS', 'CONFIRMATION_CODE_REJECT'], outer_class=root_module['ns3::SsServiceFlowManager']) - ## wimax-tlv.h: ns3::Tlv [class] - module.add_class('Tlv', parent=root_module['ns3::Header']) - ## wimax-tlv.h: ns3::Tlv::CommonTypes [enumeration] - module.add_enum('CommonTypes', ['HMAC_TUPLE', 'MAC_VERSION_ENCODING', 'CURRENT_TRANSMIT_POWER', 'DOWNLINK_SERVICE_FLOW', 'UPLINK_SERVICE_FLOW', 'VENDOR_ID_EMCODING', 'VENDOR_SPECIFIC_INFORMATION'], outer_class=root_module['ns3::Tlv']) - ## ul-mac-messages.h: ns3::Ucd [class] - module.add_class('Ucd', parent=root_module['ns3::Header']) - ## ul-job.h: ns3::UlJob [class] - module.add_class('UlJob', parent=root_module['ns3::Object']) - ## ul-job.h: ns3::UlJob::JobPriority [enumeration] - module.add_enum('JobPriority', ['LOW', 'INTERMEDIATE', 'HIGH'], outer_class=root_module['ns3::UlJob']) - ## ul-mac-messages.h: ns3::UlMap [class] - module.add_class('UlMap', parent=root_module['ns3::Header']) - ## bs-uplink-scheduler.h: ns3::UplinkScheduler [class] - module.add_class('UplinkScheduler', parent=root_module['ns3::Object']) - ## bs-uplink-scheduler-mbqos.h: ns3::UplinkSchedulerMBQoS [class] - module.add_class('UplinkSchedulerMBQoS', parent=root_module['ns3::UplinkScheduler']) - ## bs-uplink-scheduler-rtps.h: ns3::UplinkSchedulerRtps [class] - module.add_class('UplinkSchedulerRtps', parent=root_module['ns3::UplinkScheduler']) - ## bs-uplink-scheduler-simple.h: ns3::UplinkSchedulerSimple [class] - module.add_class('UplinkSchedulerSimple', parent=root_module['ns3::UplinkScheduler']) - ## wimax-connection.h: ns3::WimaxConnection [class] - module.add_class('WimaxConnection', parent=root_module['ns3::Object']) - ## wimax-mac-queue.h: ns3::WimaxMacQueue [class] - module.add_class('WimaxMacQueue', parent=root_module['ns3::Object']) - ## wimax-mac-to-mac-header.h: ns3::WimaxMacToMacHeader [class] - module.add_class('WimaxMacToMacHeader', parent=root_module['ns3::Header']) - ## wimax-phy.h: ns3::WimaxPhy [class] - module.add_class('WimaxPhy', parent=root_module['ns3::Object']) - ## wimax-phy.h: ns3::WimaxPhy::ModulationType [enumeration] - module.add_enum('ModulationType', ['MODULATION_TYPE_BPSK_12', 'MODULATION_TYPE_QPSK_12', 'MODULATION_TYPE_QPSK_34', 'MODULATION_TYPE_QAM16_12', 'MODULATION_TYPE_QAM16_34', 'MODULATION_TYPE_QAM64_23', 'MODULATION_TYPE_QAM64_34'], outer_class=root_module['ns3::WimaxPhy']) - ## wimax-phy.h: ns3::WimaxPhy::PhyState [enumeration] - module.add_enum('PhyState', ['PHY_STATE_IDLE', 'PHY_STATE_SCANNING', 'PHY_STATE_TX', 'PHY_STATE_RX'], outer_class=root_module['ns3::WimaxPhy']) - ## wimax-phy.h: ns3::WimaxPhy::PhyType [enumeration] - module.add_enum('PhyType', ['SimpleWimaxPhy', 'simpleOfdmWimaxPhy'], outer_class=root_module['ns3::WimaxPhy']) - ## bs-scheduler.h: ns3::BSScheduler [class] - module.add_class('BSScheduler', parent=root_module['ns3::Object']) - ## bs-scheduler-rtps.h: ns3::BSSchedulerRtps [class] - module.add_class('BSSchedulerRtps', parent=root_module['ns3::BSScheduler']) - ## bs-scheduler-simple.h: ns3::BSSchedulerSimple [class] - module.add_class('BSSchedulerSimple', parent=root_module['ns3::BSScheduler']) - ## wimax-mac-header.h: ns3::BandwidthRequestHeader [class] - module.add_class('BandwidthRequestHeader', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::BandwidthRequestHeader::HeaderType [enumeration] - module.add_enum('HeaderType', ['HEADER_TYPE_INCREMENTAL', 'HEADER_TYPE_AGGREGATE'], outer_class=root_module['ns3::BandwidthRequestHeader']) - ## bs-service-flow-manager.h: ns3::BsServiceFlowManager [class] - module.add_class('BsServiceFlowManager', parent=root_module['ns3::ServiceFlowManager']) - ## bs-service-flow-manager.h: ns3::BsServiceFlowManager::ConfirmationCode [enumeration] - module.add_enum('ConfirmationCode', ['CONFIRMATION_CODE_SUCCESS', 'CONFIRMATION_CODE_REJECT'], outer_class=root_module['ns3::BsServiceFlowManager']) - ## connection-manager.h: ns3::ConnectionManager [class] - module.add_class('ConnectionManager', parent=root_module['ns3::Object']) - ## dl-mac-messages.h: ns3::Dcd [class] - module.add_class('Dcd', parent=root_module['ns3::Header']) - ## dl-mac-messages.h: ns3::DlMap [class] - module.add_class('DlMap', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::DsaAck [class] - module.add_class('DsaAck', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::DsaReq [class] - module.add_class('DsaReq', parent=root_module['ns3::Header']) - ## mac-messages.h: ns3::DsaRsp [class] - module.add_class('DsaRsp', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::FragmentationSubheader [class] - module.add_class('FragmentationSubheader', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::GenericMacHeader [class] - module.add_class('GenericMacHeader', parent=root_module['ns3::Header']) - ## wimax-mac-header.h: ns3::GrantManagementSubheader [class] - module.add_class('GrantManagementSubheader', parent=root_module['ns3::Header']) - ## ipcs-classifier.h: ns3::IpcsClassifier [class] - module.add_class('IpcsClassifier', parent=root_module['ns3::Object']) - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy [class] - module.add_class('SimpleOfdmWimaxPhy', parent=root_module['ns3::WimaxPhy']) - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy::FrameDurationCode [enumeration] - module.add_enum('FrameDurationCode', ['FRAME_DURATION_2_POINT_5_MS', 'FRAME_DURATION_4_MS', 'FRAME_DURATION_5_MS', 'FRAME_DURATION_8_MS', 'FRAME_DURATION_10_MS', 'FRAME_DURATION_12_POINT_5_MS', 'FRAME_DURATION_20_MS'], outer_class=root_module['ns3::SimpleOfdmWimaxPhy']) - ## wimax-channel.h: ns3::WimaxChannel [class] - module.add_class('WimaxChannel', parent=root_module['ns3::Channel']) - ## wimax-net-device.h: ns3::WimaxNetDevice [class] - module.add_class('WimaxNetDevice', parent=root_module['ns3::NetDevice']) - ## wimax-net-device.h: ns3::WimaxNetDevice::Direction [enumeration] - module.add_enum('Direction', ['DIRECTION_DOWNLINK', 'DIRECTION_UPLINK'], outer_class=root_module['ns3::WimaxNetDevice']) - ## wimax-net-device.h: ns3::WimaxNetDevice::RangingStatus [enumeration] - module.add_enum('RangingStatus', ['RANGING_STATUS_EXPIRED', 'RANGING_STATUS_CONTINUE', 'RANGING_STATUS_ABORT', 'RANGING_STATUS_SUCCESS'], outer_class=root_module['ns3::WimaxNetDevice']) - ## bs-net-device.h: ns3::BaseStationNetDevice [class] - module.add_class('BaseStationNetDevice', parent=root_module['ns3::WimaxNetDevice']) - ## bs-net-device.h: ns3::BaseStationNetDevice::State [enumeration] - module.add_enum('State', ['BS_STATE_DL_SUB_FRAME', 'BS_STATE_UL_SUB_FRAME', 'BS_STATE_TTG', 'BS_STATE_RTG'], outer_class=root_module['ns3::BaseStationNetDevice']) - ## bs-net-device.h: ns3::BaseStationNetDevice::MacPreamble [enumeration] - module.add_enum('MacPreamble', ['SHORT_PREAMBLE', 'LONG_PREAMBLE'], outer_class=root_module['ns3::BaseStationNetDevice']) - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel [class] - module.add_class('SimpleOfdmWimaxChannel', parent=root_module['ns3::WimaxChannel']) - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel::PropModel [enumeration] - module.add_enum('PropModel', ['RANDOM_PROPAGATION', 'FRIIS_PROPAGATION', 'LOG_DISTANCE_PROPAGATION', 'COST231_PROPAGATION'], outer_class=root_module['ns3::SimpleOfdmWimaxChannel']) - ## ss-net-device.h: ns3::SubscriberStationNetDevice [class] - module.add_class('SubscriberStationNetDevice', parent=root_module['ns3::WimaxNetDevice']) - ## ss-net-device.h: ns3::SubscriberStationNetDevice::State [enumeration] - module.add_enum('State', ['SS_STATE_IDLE', 'SS_STATE_SCANNING', 'SS_STATE_SYNCHRONIZING', 'SS_STATE_ACQUIRING_PARAMETERS', 'SS_STATE_WAITING_REG_RANG_INTRVL', 'SS_STATE_WAITING_INV_RANG_INTRVL', 'SS_STATE_WAITING_RNG_RSP', 'SS_STATE_ADJUSTING_PARAMETERS', 'SS_STATE_REGISTERED', 'SS_STATE_TRANSMITTING', 'SS_STATE_STOPPED'], outer_class=root_module['ns3::SubscriberStationNetDevice']) - ## ss-net-device.h: ns3::SubscriberStationNetDevice::EventType [enumeration] - module.add_enum('EventType', ['EVENT_NONE', 'EVENT_WAIT_FOR_RNG_RSP', 'EVENT_DL_MAP_SYNC_TIMEOUT', 'EVENT_LOST_DL_MAP', 'EVENT_LOST_UL_MAP', 'EVENT_DCD_WAIT_TIMEOUT', 'EVENT_UCD_WAIT_TIMEOUT', 'EVENT_RANG_OPP_WAIT_TIMEOUT'], outer_class=root_module['ns3::SubscriberStationNetDevice']) - module.add_container('std::vector< ns3::DlFramePrefixIe >', 'ns3::DlFramePrefixIe', container_type='vector') - module.add_container('std::vector< ns3::OfdmUlBurstProfile >', 'ns3::OfdmUlBurstProfile', container_type='vector') - module.add_container('std::list< ns3::OfdmUlMapIe >', 'ns3::OfdmUlMapIe', container_type='list') - module.add_container('std::deque< ns3::WimaxMacQueue::QueueElement >', 'ns3::WimaxMacQueue::QueueElement', container_type='dequeue') - module.add_container('std::vector< ns3::OfdmDlBurstProfile >', 'ns3::OfdmDlBurstProfile', container_type='vector') - module.add_container('std::list< ns3::OfdmDlMapIe >', 'ns3::OfdmDlMapIe', container_type='list') - typehandlers.add_type_alias('std::vector< bool, std::allocator< bool > >', 'ns3::bvec') - typehandlers.add_type_alias('std::vector< bool, std::allocator< bool > >*', 'ns3::bvec*') - typehandlers.add_type_alias('std::vector< bool, std::allocator< bool > >&', 'ns3::bvec&') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - register_Ns3Cid_methods(root_module, root_module['ns3::Cid']) - register_Ns3CidFactory_methods(root_module, root_module['ns3::CidFactory']) - register_Ns3CsParameters_methods(root_module, root_module['ns3::CsParameters']) - register_Ns3DcdChannelEncodings_methods(root_module, root_module['ns3::DcdChannelEncodings']) - register_Ns3DlFramePrefixIe_methods(root_module, root_module['ns3::DlFramePrefixIe']) - register_Ns3IpcsClassifierRecord_methods(root_module, root_module['ns3::IpcsClassifierRecord']) - register_Ns3OfdmDcdChannelEncodings_methods(root_module, root_module['ns3::OfdmDcdChannelEncodings']) - register_Ns3OfdmDlBurstProfile_methods(root_module, root_module['ns3::OfdmDlBurstProfile']) - register_Ns3OfdmDlMapIe_methods(root_module, root_module['ns3::OfdmDlMapIe']) - register_Ns3OfdmUlBurstProfile_methods(root_module, root_module['ns3::OfdmUlBurstProfile']) - register_Ns3OfdmUlMapIe_methods(root_module, root_module['ns3::OfdmUlMapIe']) - register_Ns3SNRToBlockErrorRateManager_methods(root_module, root_module['ns3::SNRToBlockErrorRateManager']) - register_Ns3SNRToBlockErrorRateRecord_methods(root_module, root_module['ns3::SNRToBlockErrorRateRecord']) - register_Ns3SSRecord_methods(root_module, root_module['ns3::SSRecord']) - register_Ns3SendParams_methods(root_module, root_module['ns3::SendParams']) - register_Ns3ServiceFlow_methods(root_module, root_module['ns3::ServiceFlow']) - register_Ns3ServiceFlowRecord_methods(root_module, root_module['ns3::ServiceFlowRecord']) - register_Ns3TlvValue_methods(root_module, root_module['ns3::TlvValue']) - register_Ns3TosTlvValue_methods(root_module, root_module['ns3::TosTlvValue']) - register_Ns3U16TlvValue_methods(root_module, root_module['ns3::U16TlvValue']) - register_Ns3U32TlvValue_methods(root_module, root_module['ns3::U32TlvValue']) - register_Ns3U8TlvValue_methods(root_module, root_module['ns3::U8TlvValue']) - register_Ns3UcdChannelEncodings_methods(root_module, root_module['ns3::UcdChannelEncodings']) - register_Ns3VectorTlvValue_methods(root_module, root_module['ns3::VectorTlvValue']) - register_Ns3WimaxHelper_methods(root_module, root_module['ns3::WimaxHelper']) - register_Ns3SimpleOfdmSendParam_methods(root_module, root_module['ns3::simpleOfdmSendParam']) - register_Ns3ClassificationRuleVectorTlvValue_methods(root_module, root_module['ns3::ClassificationRuleVectorTlvValue']) - register_Ns3CsParamVectorTlvValue_methods(root_module, root_module['ns3::CsParamVectorTlvValue']) - register_Ns3Ipv4AddressTlvValue_methods(root_module, root_module['ns3::Ipv4AddressTlvValue']) - register_Ns3Ipv4AddressTlvValueIpv4Addr_methods(root_module, root_module['ns3::Ipv4AddressTlvValue::ipv4Addr']) - register_Ns3MacHeaderType_methods(root_module, root_module['ns3::MacHeaderType']) - register_Ns3ManagementMessageType_methods(root_module, root_module['ns3::ManagementMessageType']) - register_Ns3OfdmDownlinkFramePrefix_methods(root_module, root_module['ns3::OfdmDownlinkFramePrefix']) - register_Ns3OfdmSendParams_methods(root_module, root_module['ns3::OfdmSendParams']) - register_Ns3OfdmUcdChannelEncodings_methods(root_module, root_module['ns3::OfdmUcdChannelEncodings']) - register_Ns3PortRangeTlvValue_methods(root_module, root_module['ns3::PortRangeTlvValue']) - register_Ns3PortRangeTlvValuePortRange_methods(root_module, root_module['ns3::PortRangeTlvValue::PortRange']) - register_Ns3PriorityUlJob_methods(root_module, root_module['ns3::PriorityUlJob']) - register_Ns3ProtocolTlvValue_methods(root_module, root_module['ns3::ProtocolTlvValue']) - register_Ns3RngReq_methods(root_module, root_module['ns3::RngReq']) - register_Ns3RngRsp_methods(root_module, root_module['ns3::RngRsp']) - register_Ns3SSManager_methods(root_module, root_module['ns3::SSManager']) - register_Ns3ServiceFlowManager_methods(root_module, root_module['ns3::ServiceFlowManager']) - register_Ns3SfVectorTlvValue_methods(root_module, root_module['ns3::SfVectorTlvValue']) - register_Ns3SsServiceFlowManager_methods(root_module, root_module['ns3::SsServiceFlowManager']) - register_Ns3Tlv_methods(root_module, root_module['ns3::Tlv']) - register_Ns3Ucd_methods(root_module, root_module['ns3::Ucd']) - register_Ns3UlJob_methods(root_module, root_module['ns3::UlJob']) - register_Ns3UlMap_methods(root_module, root_module['ns3::UlMap']) - register_Ns3UplinkScheduler_methods(root_module, root_module['ns3::UplinkScheduler']) - register_Ns3UplinkSchedulerMBQoS_methods(root_module, root_module['ns3::UplinkSchedulerMBQoS']) - register_Ns3UplinkSchedulerRtps_methods(root_module, root_module['ns3::UplinkSchedulerRtps']) - register_Ns3UplinkSchedulerSimple_methods(root_module, root_module['ns3::UplinkSchedulerSimple']) - register_Ns3WimaxConnection_methods(root_module, root_module['ns3::WimaxConnection']) - register_Ns3WimaxMacQueue_methods(root_module, root_module['ns3::WimaxMacQueue']) - register_Ns3WimaxMacToMacHeader_methods(root_module, root_module['ns3::WimaxMacToMacHeader']) - register_Ns3WimaxPhy_methods(root_module, root_module['ns3::WimaxPhy']) - register_Ns3BSScheduler_methods(root_module, root_module['ns3::BSScheduler']) - register_Ns3BSSchedulerRtps_methods(root_module, root_module['ns3::BSSchedulerRtps']) - register_Ns3BSSchedulerSimple_methods(root_module, root_module['ns3::BSSchedulerSimple']) - register_Ns3BandwidthRequestHeader_methods(root_module, root_module['ns3::BandwidthRequestHeader']) - register_Ns3BsServiceFlowManager_methods(root_module, root_module['ns3::BsServiceFlowManager']) - register_Ns3ConnectionManager_methods(root_module, root_module['ns3::ConnectionManager']) - register_Ns3Dcd_methods(root_module, root_module['ns3::Dcd']) - register_Ns3DlMap_methods(root_module, root_module['ns3::DlMap']) - register_Ns3DsaAck_methods(root_module, root_module['ns3::DsaAck']) - register_Ns3DsaReq_methods(root_module, root_module['ns3::DsaReq']) - register_Ns3DsaRsp_methods(root_module, root_module['ns3::DsaRsp']) - register_Ns3FragmentationSubheader_methods(root_module, root_module['ns3::FragmentationSubheader']) - register_Ns3GenericMacHeader_methods(root_module, root_module['ns3::GenericMacHeader']) - register_Ns3GrantManagementSubheader_methods(root_module, root_module['ns3::GrantManagementSubheader']) - register_Ns3IpcsClassifier_methods(root_module, root_module['ns3::IpcsClassifier']) - register_Ns3SimpleOfdmWimaxPhy_methods(root_module, root_module['ns3::SimpleOfdmWimaxPhy']) - register_Ns3WimaxChannel_methods(root_module, root_module['ns3::WimaxChannel']) - register_Ns3WimaxNetDevice_methods(root_module, root_module['ns3::WimaxNetDevice']) - register_Ns3BaseStationNetDevice_methods(root_module, root_module['ns3::BaseStationNetDevice']) - register_Ns3SimpleOfdmWimaxChannel_methods(root_module, root_module['ns3::SimpleOfdmWimaxChannel']) - register_Ns3SubscriberStationNetDevice_methods(root_module, root_module['ns3::SubscriberStationNetDevice']) - return - -def register_Ns3Cid_methods(root_module, cls): - cls.add_binary_comparison_operator('!=') - cls.add_output_stream_operator() - cls.add_binary_comparison_operator('==') - ## cid.h: ns3::Cid::Cid(ns3::Cid const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Cid const &', 'arg0')]) - ## cid.h: ns3::Cid::Cid() [constructor] - cls.add_constructor([]) - ## cid.h: ns3::Cid::Cid(uint16_t cid) [constructor] - cls.add_constructor([param('uint16_t', 'cid')]) - ## cid.h: static ns3::Cid ns3::Cid::Broadcast() [member function] - cls.add_method('Broadcast', - 'ns3::Cid', - [], - is_static=True) - ## cid.h: uint16_t ns3::Cid::GetIdentifier() const [member function] - cls.add_method('GetIdentifier', - 'uint16_t', - [], - is_const=True) - ## cid.h: static ns3::Cid ns3::Cid::InitialRanging() [member function] - cls.add_method('InitialRanging', - 'ns3::Cid', - [], - is_static=True) - ## cid.h: bool ns3::Cid::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True) - ## cid.h: bool ns3::Cid::IsInitialRanging() const [member function] - cls.add_method('IsInitialRanging', - 'bool', - [], - is_const=True) - ## cid.h: bool ns3::Cid::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True) - ## cid.h: bool ns3::Cid::IsPadding() const [member function] - cls.add_method('IsPadding', - 'bool', - [], - is_const=True) - ## cid.h: static ns3::Cid ns3::Cid::Padding() [member function] - cls.add_method('Padding', - 'ns3::Cid', - [], - is_static=True) - return - -def register_Ns3CidFactory_methods(root_module, cls): - ## cid-factory.h: ns3::CidFactory::CidFactory(ns3::CidFactory const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CidFactory const &', 'arg0')]) - ## cid-factory.h: ns3::CidFactory::CidFactory() [constructor] - cls.add_constructor([]) - ## cid-factory.h: ns3::Cid ns3::CidFactory::Allocate(ns3::Cid::Type type) [member function] - cls.add_method('Allocate', - 'ns3::Cid', - [param('ns3::Cid::Type', 'type')]) - ## cid-factory.h: ns3::Cid ns3::CidFactory::AllocateBasic() [member function] - cls.add_method('AllocateBasic', - 'ns3::Cid', - []) - ## cid-factory.h: ns3::Cid ns3::CidFactory::AllocateMulticast() [member function] - cls.add_method('AllocateMulticast', - 'ns3::Cid', - []) - ## cid-factory.h: ns3::Cid ns3::CidFactory::AllocatePrimary() [member function] - cls.add_method('AllocatePrimary', - 'ns3::Cid', - []) - ## cid-factory.h: ns3::Cid ns3::CidFactory::AllocateTransportOrSecondary() [member function] - cls.add_method('AllocateTransportOrSecondary', - 'ns3::Cid', - []) - ## cid-factory.h: void ns3::CidFactory::FreeCid(ns3::Cid cid) [member function] - cls.add_method('FreeCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## cid-factory.h: bool ns3::CidFactory::IsBasic(ns3::Cid cid) const [member function] - cls.add_method('IsBasic', - 'bool', - [param('ns3::Cid', 'cid')], - is_const=True) - ## cid-factory.h: bool ns3::CidFactory::IsPrimary(ns3::Cid cid) const [member function] - cls.add_method('IsPrimary', - 'bool', - [param('ns3::Cid', 'cid')], - is_const=True) - ## cid-factory.h: bool ns3::CidFactory::IsTransport(ns3::Cid cid) const [member function] - cls.add_method('IsTransport', - 'bool', - [param('ns3::Cid', 'cid')], - is_const=True) - return - -def register_Ns3CsParameters_methods(root_module, cls): - ## cs-parameters.h: ns3::CsParameters::CsParameters(ns3::CsParameters const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsParameters const &', 'arg0')]) - ## cs-parameters.h: ns3::CsParameters::CsParameters() [constructor] - cls.add_constructor([]) - ## cs-parameters.h: ns3::CsParameters::CsParameters(ns3::Tlv tlv) [constructor] - cls.add_constructor([param('ns3::Tlv', 'tlv')]) - ## cs-parameters.h: ns3::CsParameters::CsParameters(ns3::CsParameters::Action classifierDscAction, ns3::IpcsClassifierRecord classifier) [constructor] - cls.add_constructor([param('ns3::CsParameters::Action', 'classifierDscAction'), param('ns3::IpcsClassifierRecord', 'classifier')]) - ## cs-parameters.h: ns3::CsParameters::Action ns3::CsParameters::GetClassifierDscAction() const [member function] - cls.add_method('GetClassifierDscAction', - 'ns3::CsParameters::Action', - [], - is_const=True) - ## cs-parameters.h: ns3::IpcsClassifierRecord ns3::CsParameters::GetPacketClassifierRule() const [member function] - cls.add_method('GetPacketClassifierRule', - 'ns3::IpcsClassifierRecord', - [], - is_const=True) - ## cs-parameters.h: void ns3::CsParameters::SetClassifierDscAction(ns3::CsParameters::Action action) [member function] - cls.add_method('SetClassifierDscAction', - 'void', - [param('ns3::CsParameters::Action', 'action')]) - ## cs-parameters.h: void ns3::CsParameters::SetPacketClassifierRule(ns3::IpcsClassifierRecord packetClassifierRule) [member function] - cls.add_method('SetPacketClassifierRule', - 'void', - [param('ns3::IpcsClassifierRecord', 'packetClassifierRule')]) - ## cs-parameters.h: ns3::Tlv ns3::CsParameters::ToTlv() const [member function] - cls.add_method('ToTlv', - 'ns3::Tlv', - [], - is_const=True) - return - -def register_Ns3DcdChannelEncodings_methods(root_module, cls): - ## dl-mac-messages.h: ns3::DcdChannelEncodings::DcdChannelEncodings(ns3::DcdChannelEncodings const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DcdChannelEncodings const &', 'arg0')]) - ## dl-mac-messages.h: ns3::DcdChannelEncodings::DcdChannelEncodings() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: uint16_t ns3::DcdChannelEncodings::GetBsEirp() const [member function] - cls.add_method('GetBsEirp', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::DcdChannelEncodings::GetEirxPIrMax() const [member function] - cls.add_method('GetEirxPIrMax', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint32_t ns3::DcdChannelEncodings::GetFrequency() const [member function] - cls.add_method('GetFrequency', - 'uint32_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::DcdChannelEncodings::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::DcdChannelEncodings::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## dl-mac-messages.h: void ns3::DcdChannelEncodings::SetBsEirp(uint16_t bs_eirp) [member function] - cls.add_method('SetBsEirp', - 'void', - [param('uint16_t', 'bs_eirp')]) - ## dl-mac-messages.h: void ns3::DcdChannelEncodings::SetEirxPIrMax(uint16_t rss_ir_max) [member function] - cls.add_method('SetEirxPIrMax', - 'void', - [param('uint16_t', 'rss_ir_max')]) - ## dl-mac-messages.h: void ns3::DcdChannelEncodings::SetFrequency(uint32_t frequency) [member function] - cls.add_method('SetFrequency', - 'void', - [param('uint32_t', 'frequency')]) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::DcdChannelEncodings::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::DcdChannelEncodings::DoRead(ns3::Buffer::Iterator start) [member function] - cls.add_method('DoRead', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::DcdChannelEncodings::DoWrite(ns3::Buffer::Iterator start) const [member function] - cls.add_method('DoWrite', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3DlFramePrefixIe_methods(root_module, cls): - ## ofdm-downlink-frame-prefix.h: ns3::DlFramePrefixIe::DlFramePrefixIe(ns3::DlFramePrefixIe const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DlFramePrefixIe const &', 'arg0')]) - ## ofdm-downlink-frame-prefix.h: ns3::DlFramePrefixIe::DlFramePrefixIe() [constructor] - cls.add_constructor([]) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::DlFramePrefixIe::GetDiuc() const [member function] - cls.add_method('GetDiuc', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint16_t ns3::DlFramePrefixIe::GetLength() const [member function] - cls.add_method('GetLength', - 'uint16_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::DlFramePrefixIe::GetPreamblePresent() const [member function] - cls.add_method('GetPreamblePresent', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::DlFramePrefixIe::GetRateId() const [member function] - cls.add_method('GetRateId', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint16_t ns3::DlFramePrefixIe::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint16_t ns3::DlFramePrefixIe::GetStartTime() const [member function] - cls.add_method('GetStartTime', - 'uint16_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: ns3::Buffer::Iterator ns3::DlFramePrefixIe::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetDiuc(uint8_t diuc) [member function] - cls.add_method('SetDiuc', - 'void', - [param('uint8_t', 'diuc')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetLength(uint16_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint16_t', 'length')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetPreamblePresent(uint8_t preamblePresent) [member function] - cls.add_method('SetPreamblePresent', - 'void', - [param('uint8_t', 'preamblePresent')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetRateId(uint8_t rateId) [member function] - cls.add_method('SetRateId', - 'void', - [param('uint8_t', 'rateId')]) - ## ofdm-downlink-frame-prefix.h: void ns3::DlFramePrefixIe::SetStartTime(uint16_t startTime) [member function] - cls.add_method('SetStartTime', - 'void', - [param('uint16_t', 'startTime')]) - ## ofdm-downlink-frame-prefix.h: ns3::Buffer::Iterator ns3::DlFramePrefixIe::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3IpcsClassifierRecord_methods(root_module, cls): - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord::IpcsClassifierRecord(ns3::IpcsClassifierRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IpcsClassifierRecord const &', 'arg0')]) - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord::IpcsClassifierRecord() [constructor] - cls.add_constructor([]) - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord::IpcsClassifierRecord(ns3::Ipv4Address srcAddress, ns3::Ipv4Mask srcMask, ns3::Ipv4Address dstAddress, ns3::Ipv4Mask dstMask, uint16_t srcPortLow, uint16_t srcPortHigh, uint16_t dstPortLow, uint16_t dstPortHigh, uint8_t protocol, uint8_t priority) [constructor] - cls.add_constructor([param('ns3::Ipv4Address', 'srcAddress'), param('ns3::Ipv4Mask', 'srcMask'), param('ns3::Ipv4Address', 'dstAddress'), param('ns3::Ipv4Mask', 'dstMask'), param('uint16_t', 'srcPortLow'), param('uint16_t', 'srcPortHigh'), param('uint16_t', 'dstPortLow'), param('uint16_t', 'dstPortHigh'), param('uint8_t', 'protocol'), param('uint8_t', 'priority')]) - ## ipcs-classifier-record.h: ns3::IpcsClassifierRecord::IpcsClassifierRecord(ns3::Tlv tlv) [constructor] - cls.add_constructor([param('ns3::Tlv', 'tlv')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddDstAddr(ns3::Ipv4Address dstAddress, ns3::Ipv4Mask dstMask) [member function] - cls.add_method('AddDstAddr', - 'void', - [param('ns3::Ipv4Address', 'dstAddress'), param('ns3::Ipv4Mask', 'dstMask')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddDstPortRange(uint16_t dstPortLow, uint16_t dstPortHigh) [member function] - cls.add_method('AddDstPortRange', - 'void', - [param('uint16_t', 'dstPortLow'), param('uint16_t', 'dstPortHigh')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddProtocol(uint8_t proto) [member function] - cls.add_method('AddProtocol', - 'void', - [param('uint8_t', 'proto')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddSrcAddr(ns3::Ipv4Address srcAddress, ns3::Ipv4Mask srcMask) [member function] - cls.add_method('AddSrcAddr', - 'void', - [param('ns3::Ipv4Address', 'srcAddress'), param('ns3::Ipv4Mask', 'srcMask')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::AddSrcPortRange(uint16_t srcPortLow, uint16_t srcPortHigh) [member function] - cls.add_method('AddSrcPortRange', - 'void', - [param('uint16_t', 'srcPortLow'), param('uint16_t', 'srcPortHigh')]) - ## ipcs-classifier-record.h: bool ns3::IpcsClassifierRecord::CheckMatch(ns3::Ipv4Address srcAddress, ns3::Ipv4Address dstAddress, uint16_t srcPort, uint16_t dstPort, uint8_t proto) const [member function] - cls.add_method('CheckMatch', - 'bool', - [param('ns3::Ipv4Address', 'srcAddress'), param('ns3::Ipv4Address', 'dstAddress'), param('uint16_t', 'srcPort'), param('uint16_t', 'dstPort'), param('uint8_t', 'proto')], - is_const=True) - ## ipcs-classifier-record.h: uint16_t ns3::IpcsClassifierRecord::GetCid() const [member function] - cls.add_method('GetCid', - 'uint16_t', - [], - is_const=True) - ## ipcs-classifier-record.h: uint16_t ns3::IpcsClassifierRecord::GetIndex() const [member function] - cls.add_method('GetIndex', - 'uint16_t', - [], - is_const=True) - ## ipcs-classifier-record.h: uint8_t ns3::IpcsClassifierRecord::GetPriority() const [member function] - cls.add_method('GetPriority', - 'uint8_t', - [], - is_const=True) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::SetCid(uint16_t cid) [member function] - cls.add_method('SetCid', - 'void', - [param('uint16_t', 'cid')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::SetIndex(uint16_t index) [member function] - cls.add_method('SetIndex', - 'void', - [param('uint16_t', 'index')]) - ## ipcs-classifier-record.h: void ns3::IpcsClassifierRecord::SetPriority(uint8_t prio) [member function] - cls.add_method('SetPriority', - 'void', - [param('uint8_t', 'prio')]) - ## ipcs-classifier-record.h: ns3::Tlv ns3::IpcsClassifierRecord::ToTlv() const [member function] - cls.add_method('ToTlv', - 'ns3::Tlv', - [], - is_const=True) - return - -def register_Ns3OfdmDcdChannelEncodings_methods(root_module, cls): - ## dl-mac-messages.h: ns3::OfdmDcdChannelEncodings::OfdmDcdChannelEncodings(ns3::OfdmDcdChannelEncodings const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmDcdChannelEncodings const &', 'arg0')]) - ## dl-mac-messages.h: ns3::OfdmDcdChannelEncodings::OfdmDcdChannelEncodings() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: ns3::Mac48Address ns3::OfdmDcdChannelEncodings::GetBaseStationId() const [member function] - cls.add_method('GetBaseStationId', - 'ns3::Mac48Address', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDcdChannelEncodings::GetChannelNr() const [member function] - cls.add_method('GetChannelNr', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDcdChannelEncodings::GetFrameDurationCode() const [member function] - cls.add_method('GetFrameDurationCode', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint32_t ns3::OfdmDcdChannelEncodings::GetFrameNumber() const [member function] - cls.add_method('GetFrameNumber', - 'uint32_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDcdChannelEncodings::GetRtg() const [member function] - cls.add_method('GetRtg', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::OfdmDcdChannelEncodings::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDcdChannelEncodings::GetTtg() const [member function] - cls.add_method('GetTtg', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetBaseStationId(ns3::Mac48Address baseStationId) [member function] - cls.add_method('SetBaseStationId', - 'void', - [param('ns3::Mac48Address', 'baseStationId')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetChannelNr(uint8_t channelNr) [member function] - cls.add_method('SetChannelNr', - 'void', - [param('uint8_t', 'channelNr')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetFrameDurationCode(uint8_t frameDurationCode) [member function] - cls.add_method('SetFrameDurationCode', - 'void', - [param('uint8_t', 'frameDurationCode')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetFrameNumber(uint32_t frameNumber) [member function] - cls.add_method('SetFrameNumber', - 'void', - [param('uint32_t', 'frameNumber')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetRtg(uint8_t rtg) [member function] - cls.add_method('SetRtg', - 'void', - [param('uint8_t', 'rtg')]) - ## dl-mac-messages.h: void ns3::OfdmDcdChannelEncodings::SetTtg(uint8_t ttg) [member function] - cls.add_method('SetTtg', - 'void', - [param('uint8_t', 'ttg')]) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDcdChannelEncodings::DoRead(ns3::Buffer::Iterator start) [member function] - cls.add_method('DoRead', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - visibility='private', is_virtual=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDcdChannelEncodings::DoWrite(ns3::Buffer::Iterator start) const [member function] - cls.add_method('DoWrite', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3OfdmDlBurstProfile_methods(root_module, cls): - ## dl-mac-messages.h: ns3::OfdmDlBurstProfile::OfdmDlBurstProfile(ns3::OfdmDlBurstProfile const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmDlBurstProfile const &', 'arg0')]) - ## dl-mac-messages.h: ns3::OfdmDlBurstProfile::OfdmDlBurstProfile() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlBurstProfile::GetDiuc() const [member function] - cls.add_method('GetDiuc', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlBurstProfile::GetFecCodeType() const [member function] - cls.add_method('GetFecCodeType', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlBurstProfile::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::OfdmDlBurstProfile::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlBurstProfile::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDlBurstProfile::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## dl-mac-messages.h: void ns3::OfdmDlBurstProfile::SetDiuc(uint8_t diuc) [member function] - cls.add_method('SetDiuc', - 'void', - [param('uint8_t', 'diuc')]) - ## dl-mac-messages.h: void ns3::OfdmDlBurstProfile::SetFecCodeType(uint8_t fecCodeType) [member function] - cls.add_method('SetFecCodeType', - 'void', - [param('uint8_t', 'fecCodeType')]) - ## dl-mac-messages.h: void ns3::OfdmDlBurstProfile::SetLength(uint8_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'length')]) - ## dl-mac-messages.h: void ns3::OfdmDlBurstProfile::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDlBurstProfile::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3OfdmDlMapIe_methods(root_module, cls): - ## dl-mac-messages.h: ns3::OfdmDlMapIe::OfdmDlMapIe(ns3::OfdmDlMapIe const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmDlMapIe const &', 'arg0')]) - ## dl-mac-messages.h: ns3::OfdmDlMapIe::OfdmDlMapIe() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: ns3::Cid ns3::OfdmDlMapIe::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlMapIe::GetDiuc() const [member function] - cls.add_method('GetDiuc', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::OfdmDlMapIe::GetPreamblePresent() const [member function] - cls.add_method('GetPreamblePresent', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::OfdmDlMapIe::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: uint16_t ns3::OfdmDlMapIe::GetStartTime() const [member function] - cls.add_method('GetStartTime', - 'uint16_t', - [], - is_const=True) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDlMapIe::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## dl-mac-messages.h: void ns3::OfdmDlMapIe::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## dl-mac-messages.h: void ns3::OfdmDlMapIe::SetDiuc(uint8_t diuc) [member function] - cls.add_method('SetDiuc', - 'void', - [param('uint8_t', 'diuc')]) - ## dl-mac-messages.h: void ns3::OfdmDlMapIe::SetPreamblePresent(uint8_t preamblePresent) [member function] - cls.add_method('SetPreamblePresent', - 'void', - [param('uint8_t', 'preamblePresent')]) - ## dl-mac-messages.h: void ns3::OfdmDlMapIe::SetStartTime(uint16_t startTime) [member function] - cls.add_method('SetStartTime', - 'void', - [param('uint16_t', 'startTime')]) - ## dl-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmDlMapIe::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3OfdmUlBurstProfile_methods(root_module, cls): - ## ul-mac-messages.h: ns3::OfdmUlBurstProfile::OfdmUlBurstProfile(ns3::OfdmUlBurstProfile const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmUlBurstProfile const &', 'arg0')]) - ## ul-mac-messages.h: ns3::OfdmUlBurstProfile::OfdmUlBurstProfile() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlBurstProfile::GetFecCodeType() const [member function] - cls.add_method('GetFecCodeType', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlBurstProfile::GetLength() const [member function] - cls.add_method('GetLength', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUlBurstProfile::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlBurstProfile::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlBurstProfile::GetUiuc() const [member function] - cls.add_method('GetUiuc', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUlBurstProfile::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## ul-mac-messages.h: void ns3::OfdmUlBurstProfile::SetFecCodeType(uint8_t fecCodeType) [member function] - cls.add_method('SetFecCodeType', - 'void', - [param('uint8_t', 'fecCodeType')]) - ## ul-mac-messages.h: void ns3::OfdmUlBurstProfile::SetLength(uint8_t length) [member function] - cls.add_method('SetLength', - 'void', - [param('uint8_t', 'length')]) - ## ul-mac-messages.h: void ns3::OfdmUlBurstProfile::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## ul-mac-messages.h: void ns3::OfdmUlBurstProfile::SetUiuc(uint8_t uiuc) [member function] - cls.add_method('SetUiuc', - 'void', - [param('uint8_t', 'uiuc')]) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUlBurstProfile::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3OfdmUlMapIe_methods(root_module, cls): - ## ul-mac-messages.h: ns3::OfdmUlMapIe::OfdmUlMapIe(ns3::OfdmUlMapIe const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmUlMapIe const &', 'arg0')]) - ## ul-mac-messages.h: ns3::OfdmUlMapIe::OfdmUlMapIe() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: ns3::Cid ns3::OfdmUlMapIe::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUlMapIe::GetDuration() const [member function] - cls.add_method('GetDuration', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlMapIe::GetMidambleRepetitionInterval() const [member function] - cls.add_method('GetMidambleRepetitionInterval', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUlMapIe::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUlMapIe::GetStartTime() const [member function] - cls.add_method('GetStartTime', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlMapIe::GetSubchannelIndex() const [member function] - cls.add_method('GetSubchannelIndex', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUlMapIe::GetUiuc() const [member function] - cls.add_method('GetUiuc', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUlMapIe::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetDuration(uint16_t duration) [member function] - cls.add_method('SetDuration', - 'void', - [param('uint16_t', 'duration')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetMidambleRepetitionInterval(uint8_t midambleRepetitionInterval) [member function] - cls.add_method('SetMidambleRepetitionInterval', - 'void', - [param('uint8_t', 'midambleRepetitionInterval')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetStartTime(uint16_t startTime) [member function] - cls.add_method('SetStartTime', - 'void', - [param('uint16_t', 'startTime')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetSubchannelIndex(uint8_t subchannelIndex) [member function] - cls.add_method('SetSubchannelIndex', - 'void', - [param('uint8_t', 'subchannelIndex')]) - ## ul-mac-messages.h: void ns3::OfdmUlMapIe::SetUiuc(uint8_t uiuc) [member function] - cls.add_method('SetUiuc', - 'void', - [param('uint8_t', 'uiuc')]) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUlMapIe::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - return - -def register_Ns3SNRToBlockErrorRateManager_methods(root_module, cls): - ## snr-to-block-error-rate-manager.h: ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager(ns3::SNRToBlockErrorRateManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SNRToBlockErrorRateManager const &', 'arg0')]) - ## snr-to-block-error-rate-manager.h: ns3::SNRToBlockErrorRateManager::SNRToBlockErrorRateManager() [constructor] - cls.add_constructor([]) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::ActivateLoss(bool loss) [member function] - cls.add_method('ActivateLoss', - 'void', - [param('bool', 'loss')]) - ## snr-to-block-error-rate-manager.h: double ns3::SNRToBlockErrorRateManager::GetBlockErrorRate(double SNR, uint8_t modulation) [member function] - cls.add_method('GetBlockErrorRate', - 'double', - [param('double', 'SNR'), param('uint8_t', 'modulation')]) - ## snr-to-block-error-rate-manager.h: ns3::SNRToBlockErrorRateRecord * ns3::SNRToBlockErrorRateManager::GetSNRToBlockErrorRateRecord(double SNR, uint8_t modulation) [member function] - cls.add_method('GetSNRToBlockErrorRateRecord', - 'ns3::SNRToBlockErrorRateRecord *', - [param('double', 'SNR'), param('uint8_t', 'modulation')]) - ## snr-to-block-error-rate-manager.h: std::string ns3::SNRToBlockErrorRateManager::GetTraceFilePath() [member function] - cls.add_method('GetTraceFilePath', - 'std::string', - []) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::LoadDefaultTraces() [member function] - cls.add_method('LoadDefaultTraces', - 'void', - []) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::LoadTraces() [member function] - cls.add_method('LoadTraces', - 'void', - []) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::ReLoadTraces() [member function] - cls.add_method('ReLoadTraces', - 'void', - []) - ## snr-to-block-error-rate-manager.h: void ns3::SNRToBlockErrorRateManager::SetTraceFilePath(char * traceFilePath) [member function] - cls.add_method('SetTraceFilePath', - 'void', - [param('char *', 'traceFilePath')]) - return - -def register_Ns3SNRToBlockErrorRateRecord_methods(root_module, cls): - ## snr-to-block-error-rate-record.h: ns3::SNRToBlockErrorRateRecord::SNRToBlockErrorRateRecord(ns3::SNRToBlockErrorRateRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SNRToBlockErrorRateRecord const &', 'arg0')]) - ## snr-to-block-error-rate-record.h: ns3::SNRToBlockErrorRateRecord::SNRToBlockErrorRateRecord(double snrValue, double bitErrorRate, double BlockErrorRate, double sigma2, double I1, double I2) [constructor] - cls.add_constructor([param('double', 'snrValue'), param('double', 'bitErrorRate'), param('double', 'BlockErrorRate'), param('double', 'sigma2'), param('double', 'I1'), param('double', 'I2')]) - ## snr-to-block-error-rate-record.h: ns3::SNRToBlockErrorRateRecord * ns3::SNRToBlockErrorRateRecord::Copy() [member function] - cls.add_method('Copy', - 'ns3::SNRToBlockErrorRateRecord *', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetBitErrorRate() [member function] - cls.add_method('GetBitErrorRate', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetBlockErrorRate() [member function] - cls.add_method('GetBlockErrorRate', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetI1() [member function] - cls.add_method('GetI1', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetI2() [member function] - cls.add_method('GetI2', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetSNRValue() [member function] - cls.add_method('GetSNRValue', - 'double', - []) - ## snr-to-block-error-rate-record.h: double ns3::SNRToBlockErrorRateRecord::GetSigma2() [member function] - cls.add_method('GetSigma2', - 'double', - []) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetBitErrorRate(double arg0) [member function] - cls.add_method('SetBitErrorRate', - 'void', - [param('double', 'arg0')]) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetBlockErrorRate(double arg0) [member function] - cls.add_method('SetBlockErrorRate', - 'void', - [param('double', 'arg0')]) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetI1(double arg0) [member function] - cls.add_method('SetI1', - 'void', - [param('double', 'arg0')]) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetI2(double arg0) [member function] - cls.add_method('SetI2', - 'void', - [param('double', 'arg0')]) - ## snr-to-block-error-rate-record.h: void ns3::SNRToBlockErrorRateRecord::SetSNRValue(double arg0) [member function] - cls.add_method('SetSNRValue', - 'void', - [param('double', 'arg0')]) - return - -def register_Ns3SSRecord_methods(root_module, cls): - ## ss-record.h: ns3::SSRecord::SSRecord(ns3::SSRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SSRecord const &', 'arg0')]) - ## ss-record.h: ns3::SSRecord::SSRecord() [constructor] - cls.add_constructor([]) - ## ss-record.h: ns3::SSRecord::SSRecord(ns3::Mac48Address macAddress) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'macAddress')]) - ## ss-record.h: ns3::SSRecord::SSRecord(ns3::Mac48Address macAddress, ns3::Ipv4Address IPaddress) [constructor] - cls.add_constructor([param('ns3::Mac48Address', 'macAddress'), param('ns3::Ipv4Address', 'IPaddress')]) - ## ss-record.h: void ns3::SSRecord::AddServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## ss-record.h: void ns3::SSRecord::DisablePollForRanging() [member function] - cls.add_method('DisablePollForRanging', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::EnablePollForRanging() [member function] - cls.add_method('EnablePollForRanging', - 'void', - []) - ## ss-record.h: bool ns3::SSRecord::GetAreServiceFlowsAllocated() const [member function] - cls.add_method('GetAreServiceFlowsAllocated', - 'bool', - [], - is_const=True) - ## ss-record.h: ns3::Cid ns3::SSRecord::GetBasicCid() const [member function] - cls.add_method('GetBasicCid', - 'ns3::Cid', - [], - is_const=True) - ## ss-record.h: ns3::DsaRsp ns3::SSRecord::GetDsaRsp() const [member function] - cls.add_method('GetDsaRsp', - 'ns3::DsaRsp', - [], - is_const=True) - ## ss-record.h: uint8_t ns3::SSRecord::GetDsaRspRetries() const [member function] - cls.add_method('GetDsaRspRetries', - 'uint8_t', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetHasServiceFlowBe() const [member function] - cls.add_method('GetHasServiceFlowBe', - 'bool', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetHasServiceFlowNrtps() const [member function] - cls.add_method('GetHasServiceFlowNrtps', - 'bool', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetHasServiceFlowRtps() const [member function] - cls.add_method('GetHasServiceFlowRtps', - 'bool', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetHasServiceFlowUgs() const [member function] - cls.add_method('GetHasServiceFlowUgs', - 'bool', - [], - is_const=True) - ## ss-record.h: ns3::Ipv4Address ns3::SSRecord::GetIPAddress() [member function] - cls.add_method('GetIPAddress', - 'ns3::Ipv4Address', - []) - ## ss-record.h: uint8_t ns3::SSRecord::GetInvitedRangRetries() const [member function] - cls.add_method('GetInvitedRangRetries', - 'uint8_t', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetIsBroadcastSS() [member function] - cls.add_method('GetIsBroadcastSS', - 'bool', - []) - ## ss-record.h: ns3::Mac48Address ns3::SSRecord::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## ss-record.h: ns3::WimaxPhy::ModulationType ns3::SSRecord::GetModulationType() const [member function] - cls.add_method('GetModulationType', - 'ns3::WimaxPhy::ModulationType', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetPollForRanging() const [member function] - cls.add_method('GetPollForRanging', - 'bool', - [], - is_const=True) - ## ss-record.h: bool ns3::SSRecord::GetPollMeBit() const [member function] - cls.add_method('GetPollMeBit', - 'bool', - [], - is_const=True) - ## ss-record.h: ns3::Cid ns3::SSRecord::GetPrimaryCid() const [member function] - cls.add_method('GetPrimaryCid', - 'ns3::Cid', - [], - is_const=True) - ## ss-record.h: uint8_t ns3::SSRecord::GetRangingCorrectionRetries() const [member function] - cls.add_method('GetRangingCorrectionRetries', - 'uint8_t', - [], - is_const=True) - ## ss-record.h: ns3::WimaxNetDevice::RangingStatus ns3::SSRecord::GetRangingStatus() const [member function] - cls.add_method('GetRangingStatus', - 'ns3::WimaxNetDevice::RangingStatus', - [], - is_const=True) - ## ss-record.h: std::vector > ns3::SSRecord::GetServiceFlows(ns3::ServiceFlow::SchedulingType schedulingType) const [member function] - cls.add_method('GetServiceFlows', - 'std::vector< ns3::ServiceFlow * >', - [param('ns3::ServiceFlow::SchedulingType', 'schedulingType')], - is_const=True) - ## ss-record.h: uint16_t ns3::SSRecord::GetSfTransactionId() const [member function] - cls.add_method('GetSfTransactionId', - 'uint16_t', - [], - is_const=True) - ## ss-record.h: void ns3::SSRecord::IncrementDsaRspRetries() [member function] - cls.add_method('IncrementDsaRspRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::IncrementInvitedRangingRetries() [member function] - cls.add_method('IncrementInvitedRangingRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::IncrementRangingCorrectionRetries() [member function] - cls.add_method('IncrementRangingCorrectionRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::ResetInvitedRangingRetries() [member function] - cls.add_method('ResetInvitedRangingRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::ResetRangingCorrectionRetries() [member function] - cls.add_method('ResetRangingCorrectionRetries', - 'void', - []) - ## ss-record.h: void ns3::SSRecord::SetAreServiceFlowsAllocated(bool val) [member function] - cls.add_method('SetAreServiceFlowsAllocated', - 'void', - [param('bool', 'val')]) - ## ss-record.h: void ns3::SSRecord::SetBasicCid(ns3::Cid basicCid) [member function] - cls.add_method('SetBasicCid', - 'void', - [param('ns3::Cid', 'basicCid')]) - ## ss-record.h: void ns3::SSRecord::SetDsaRsp(ns3::DsaRsp dsaRsp) [member function] - cls.add_method('SetDsaRsp', - 'void', - [param('ns3::DsaRsp', 'dsaRsp')]) - ## ss-record.h: void ns3::SSRecord::SetDsaRspRetries(uint8_t dsaRspRetries) [member function] - cls.add_method('SetDsaRspRetries', - 'void', - [param('uint8_t', 'dsaRspRetries')]) - ## ss-record.h: void ns3::SSRecord::SetIPAddress(ns3::Ipv4Address IPaddress) [member function] - cls.add_method('SetIPAddress', - 'void', - [param('ns3::Ipv4Address', 'IPaddress')]) - ## ss-record.h: void ns3::SSRecord::SetIsBroadcastSS(bool arg0) [member function] - cls.add_method('SetIsBroadcastSS', - 'void', - [param('bool', 'arg0')]) - ## ss-record.h: void ns3::SSRecord::SetMacAddress(ns3::Mac48Address macAddress) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Mac48Address', 'macAddress')]) - ## ss-record.h: void ns3::SSRecord::SetModulationType(ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('SetModulationType', - 'void', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## ss-record.h: void ns3::SSRecord::SetPollMeBit(bool pollMeBit) [member function] - cls.add_method('SetPollMeBit', - 'void', - [param('bool', 'pollMeBit')]) - ## ss-record.h: void ns3::SSRecord::SetPrimaryCid(ns3::Cid primaryCid) [member function] - cls.add_method('SetPrimaryCid', - 'void', - [param('ns3::Cid', 'primaryCid')]) - ## ss-record.h: void ns3::SSRecord::SetRangingStatus(ns3::WimaxNetDevice::RangingStatus rangingStatus) [member function] - cls.add_method('SetRangingStatus', - 'void', - [param('ns3::WimaxNetDevice::RangingStatus', 'rangingStatus')]) - ## ss-record.h: void ns3::SSRecord::SetSfTransactionId(uint16_t sfTransactionId) [member function] - cls.add_method('SetSfTransactionId', - 'void', - [param('uint16_t', 'sfTransactionId')]) - return - -def register_Ns3SendParams_methods(root_module, cls): - ## send-params.h: ns3::SendParams::SendParams(ns3::SendParams const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SendParams const &', 'arg0')]) - ## send-params.h: ns3::SendParams::SendParams() [constructor] - cls.add_constructor([]) - return - -def register_Ns3ServiceFlow_methods(root_module, cls): - ## service-flow.h: ns3::ServiceFlow::ServiceFlow(ns3::Tlv tlv) [constructor] - cls.add_constructor([param('ns3::Tlv', 'tlv')]) - ## service-flow.h: ns3::ServiceFlow::ServiceFlow(ns3::ServiceFlow::Direction direction) [constructor] - cls.add_constructor([param('ns3::ServiceFlow::Direction', 'direction')]) - ## service-flow.h: ns3::ServiceFlow::ServiceFlow() [constructor] - cls.add_constructor([]) - ## service-flow.h: ns3::ServiceFlow::ServiceFlow(ns3::ServiceFlow const & sf) [copy constructor] - cls.add_constructor([param('ns3::ServiceFlow const &', 'sf')]) - ## service-flow.h: ns3::ServiceFlow::ServiceFlow(uint32_t sfid, ns3::ServiceFlow::Direction direction, ns3::Ptr connection) [constructor] - cls.add_constructor([param('uint32_t', 'sfid'), param('ns3::ServiceFlow::Direction', 'direction'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection')]) - ## service-flow.h: bool ns3::ServiceFlow::CheckClassifierMatch(ns3::Ipv4Address srcAddress, ns3::Ipv4Address dstAddress, uint16_t srcPort, uint16_t dstPort, uint8_t proto) const [member function] - cls.add_method('CheckClassifierMatch', - 'bool', - [param('ns3::Ipv4Address', 'srcAddress'), param('ns3::Ipv4Address', 'dstAddress'), param('uint16_t', 'srcPort'), param('uint16_t', 'dstPort'), param('uint8_t', 'proto')], - is_const=True) - ## service-flow.h: void ns3::ServiceFlow::CleanUpQueue() [member function] - cls.add_method('CleanUpQueue', - 'void', - []) - ## service-flow.h: void ns3::ServiceFlow::CopyParametersFrom(ns3::ServiceFlow sf) [member function] - cls.add_method('CopyParametersFrom', - 'void', - [param('ns3::ServiceFlow', 'sf')]) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqBlockLifeTime() const [member function] - cls.add_method('GetArqBlockLifeTime', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqBlockSize() const [member function] - cls.add_method('GetArqBlockSize', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetArqDeliverInOrder() const [member function] - cls.add_method('GetArqDeliverInOrder', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetArqEnable() const [member function] - cls.add_method('GetArqEnable', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqPurgeTimeout() const [member function] - cls.add_method('GetArqPurgeTimeout', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqRetryTimeoutRx() const [member function] - cls.add_method('GetArqRetryTimeoutRx', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqRetryTimeoutTx() const [member function] - cls.add_method('GetArqRetryTimeoutTx', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqSyncLoss() const [member function] - cls.add_method('GetArqSyncLoss', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetArqWindowSize() const [member function] - cls.add_method('GetArqWindowSize', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetCid() const [member function] - cls.add_method('GetCid', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: ns3::Ptr ns3::ServiceFlow::GetConnection() const [member function] - cls.add_method('GetConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## service-flow.h: ns3::CsParameters ns3::ServiceFlow::GetConvergenceSublayerParam() const [member function] - cls.add_method('GetConvergenceSublayerParam', - 'ns3::CsParameters', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::CsSpecification ns3::ServiceFlow::GetCsSpecification() const [member function] - cls.add_method('GetCsSpecification', - 'ns3::ServiceFlow::CsSpecification', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::Direction ns3::ServiceFlow::GetDirection() const [member function] - cls.add_method('GetDirection', - 'ns3::ServiceFlow::Direction', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetFixedversusVariableSduIndicator() const [member function] - cls.add_method('GetFixedversusVariableSduIndicator', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: bool ns3::ServiceFlow::GetIsEnabled() const [member function] - cls.add_method('GetIsEnabled', - 'bool', - [], - is_const=True) - ## service-flow.h: bool ns3::ServiceFlow::GetIsMulticast() const [member function] - cls.add_method('GetIsMulticast', - 'bool', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMaxSustainedTrafficRate() const [member function] - cls.add_method('GetMaxSustainedTrafficRate', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMaxTrafficBurst() const [member function] - cls.add_method('GetMaxTrafficBurst', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMaximumLatency() const [member function] - cls.add_method('GetMaximumLatency', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMinReservedTrafficRate() const [member function] - cls.add_method('GetMinReservedTrafficRate', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetMinTolerableTrafficRate() const [member function] - cls.add_method('GetMinTolerableTrafficRate', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: ns3::WimaxPhy::ModulationType ns3::ServiceFlow::GetModulation() const [member function] - cls.add_method('GetModulation', - 'ns3::WimaxPhy::ModulationType', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetQosParamSetType() const [member function] - cls.add_method('GetQosParamSetType', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: ns3::Ptr ns3::ServiceFlow::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::WimaxMacQueue >', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlowRecord * ns3::ServiceFlow::GetRecord() const [member function] - cls.add_method('GetRecord', - 'ns3::ServiceFlowRecord *', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetRequestTransmissionPolicy() const [member function] - cls.add_method('GetRequestTransmissionPolicy', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::SchedulingType ns3::ServiceFlow::GetSchedulingType() const [member function] - cls.add_method('GetSchedulingType', - 'ns3::ServiceFlow::SchedulingType', - [], - is_const=True) - ## service-flow.h: char * ns3::ServiceFlow::GetSchedulingTypeStr() const [member function] - cls.add_method('GetSchedulingTypeStr', - 'char *', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetSduSize() const [member function] - cls.add_method('GetSduSize', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: std::string ns3::ServiceFlow::GetServiceClassName() const [member function] - cls.add_method('GetServiceClassName', - 'std::string', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::SchedulingType ns3::ServiceFlow::GetServiceSchedulingType() const [member function] - cls.add_method('GetServiceSchedulingType', - 'ns3::ServiceFlow::SchedulingType', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetSfid() const [member function] - cls.add_method('GetSfid', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetTargetSAID() const [member function] - cls.add_method('GetTargetSAID', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint32_t ns3::ServiceFlow::GetToleratedJitter() const [member function] - cls.add_method('GetToleratedJitter', - 'uint32_t', - [], - is_const=True) - ## service-flow.h: uint8_t ns3::ServiceFlow::GetTrafficPriority() const [member function] - cls.add_method('GetTrafficPriority', - 'uint8_t', - [], - is_const=True) - ## service-flow.h: ns3::ServiceFlow::Type ns3::ServiceFlow::GetType() const [member function] - cls.add_method('GetType', - 'ns3::ServiceFlow::Type', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetUnsolicitedGrantInterval() const [member function] - cls.add_method('GetUnsolicitedGrantInterval', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: uint16_t ns3::ServiceFlow::GetUnsolicitedPollingInterval() const [member function] - cls.add_method('GetUnsolicitedPollingInterval', - 'uint16_t', - [], - is_const=True) - ## service-flow.h: bool ns3::ServiceFlow::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## service-flow.h: bool ns3::ServiceFlow::HasPackets(ns3::MacHeaderType::HeaderType packetType) const [member function] - cls.add_method('HasPackets', - 'bool', - [param('ns3::MacHeaderType::HeaderType', 'packetType')], - is_const=True) - ## service-flow.h: void ns3::ServiceFlow::InitValues() [member function] - cls.add_method('InitValues', - 'void', - []) - ## service-flow.h: void ns3::ServiceFlow::PrintQoSParameters() const [member function] - cls.add_method('PrintQoSParameters', - 'void', - [], - is_const=True) - ## service-flow.h: void ns3::ServiceFlow::SetArqBlockLifeTime(uint16_t arg0) [member function] - cls.add_method('SetArqBlockLifeTime', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqBlockSize(uint16_t arg0) [member function] - cls.add_method('SetArqBlockSize', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqDeliverInOrder(uint8_t arg0) [member function] - cls.add_method('SetArqDeliverInOrder', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqEnable(uint8_t arg0) [member function] - cls.add_method('SetArqEnable', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqPurgeTimeout(uint16_t arg0) [member function] - cls.add_method('SetArqPurgeTimeout', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqRetryTimeoutRx(uint16_t arg0) [member function] - cls.add_method('SetArqRetryTimeoutRx', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqRetryTimeoutTx(uint16_t arg0) [member function] - cls.add_method('SetArqRetryTimeoutTx', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqSyncLoss(uint16_t arg0) [member function] - cls.add_method('SetArqSyncLoss', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetArqWindowSize(uint16_t arg0) [member function] - cls.add_method('SetArqWindowSize', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetConnection(ns3::Ptr connection) [member function] - cls.add_method('SetConnection', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection >', 'connection')]) - ## service-flow.h: void ns3::ServiceFlow::SetConvergenceSublayerParam(ns3::CsParameters arg0) [member function] - cls.add_method('SetConvergenceSublayerParam', - 'void', - [param('ns3::CsParameters', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetCsSpecification(ns3::ServiceFlow::CsSpecification arg0) [member function] - cls.add_method('SetCsSpecification', - 'void', - [param('ns3::ServiceFlow::CsSpecification', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetDirection(ns3::ServiceFlow::Direction direction) [member function] - cls.add_method('SetDirection', - 'void', - [param('ns3::ServiceFlow::Direction', 'direction')]) - ## service-flow.h: void ns3::ServiceFlow::SetFixedversusVariableSduIndicator(uint8_t arg0) [member function] - cls.add_method('SetFixedversusVariableSduIndicator', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetIsEnabled(bool isEnabled) [member function] - cls.add_method('SetIsEnabled', - 'void', - [param('bool', 'isEnabled')]) - ## service-flow.h: void ns3::ServiceFlow::SetIsMulticast(bool isMulticast) [member function] - cls.add_method('SetIsMulticast', - 'void', - [param('bool', 'isMulticast')]) - ## service-flow.h: void ns3::ServiceFlow::SetMaxSustainedTrafficRate(uint32_t arg0) [member function] - cls.add_method('SetMaxSustainedTrafficRate', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetMaxTrafficBurst(uint32_t arg0) [member function] - cls.add_method('SetMaxTrafficBurst', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetMaximumLatency(uint32_t arg0) [member function] - cls.add_method('SetMaximumLatency', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetMinReservedTrafficRate(uint32_t arg0) [member function] - cls.add_method('SetMinReservedTrafficRate', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetMinTolerableTrafficRate(uint32_t arg0) [member function] - cls.add_method('SetMinTolerableTrafficRate', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetModulation(ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('SetModulation', - 'void', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## service-flow.h: void ns3::ServiceFlow::SetQosParamSetType(uint8_t arg0) [member function] - cls.add_method('SetQosParamSetType', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetRecord(ns3::ServiceFlowRecord * record) [member function] - cls.add_method('SetRecord', - 'void', - [param('ns3::ServiceFlowRecord *', 'record')]) - ## service-flow.h: void ns3::ServiceFlow::SetRequestTransmissionPolicy(uint32_t arg0) [member function] - cls.add_method('SetRequestTransmissionPolicy', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetSduSize(uint8_t arg0) [member function] - cls.add_method('SetSduSize', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetServiceClassName(std::string arg0) [member function] - cls.add_method('SetServiceClassName', - 'void', - [param('std::string', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetServiceSchedulingType(ns3::ServiceFlow::SchedulingType arg0) [member function] - cls.add_method('SetServiceSchedulingType', - 'void', - [param('ns3::ServiceFlow::SchedulingType', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetSfid(uint32_t arg0) [member function] - cls.add_method('SetSfid', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetTargetSAID(uint16_t arg0) [member function] - cls.add_method('SetTargetSAID', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetToleratedJitter(uint32_t arg0) [member function] - cls.add_method('SetToleratedJitter', - 'void', - [param('uint32_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetTrafficPriority(uint8_t arg0) [member function] - cls.add_method('SetTrafficPriority', - 'void', - [param('uint8_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetType(ns3::ServiceFlow::Type type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::ServiceFlow::Type', 'type')]) - ## service-flow.h: void ns3::ServiceFlow::SetUnsolicitedGrantInterval(uint16_t arg0) [member function] - cls.add_method('SetUnsolicitedGrantInterval', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: void ns3::ServiceFlow::SetUnsolicitedPollingInterval(uint16_t arg0) [member function] - cls.add_method('SetUnsolicitedPollingInterval', - 'void', - [param('uint16_t', 'arg0')]) - ## service-flow.h: ns3::Tlv ns3::ServiceFlow::ToTlv() const [member function] - cls.add_method('ToTlv', - 'ns3::Tlv', - [], - is_const=True) - return - -def register_Ns3ServiceFlowRecord_methods(root_module, cls): - ## service-flow-record.h: ns3::ServiceFlowRecord::ServiceFlowRecord(ns3::ServiceFlowRecord const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ServiceFlowRecord const &', 'arg0')]) - ## service-flow-record.h: ns3::ServiceFlowRecord::ServiceFlowRecord() [constructor] - cls.add_constructor([]) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBacklogged() const [member function] - cls.add_method('GetBacklogged', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBackloggedTemp() const [member function] - cls.add_method('GetBackloggedTemp', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBwSinceLastExpiry() [member function] - cls.add_method('GetBwSinceLastExpiry', - 'uint32_t', - []) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBytesRcvd() const [member function] - cls.add_method('GetBytesRcvd', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetBytesSent() const [member function] - cls.add_method('GetBytesSent', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: ns3::Time ns3::ServiceFlowRecord::GetDlTimeStamp() const [member function] - cls.add_method('GetDlTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetGrantSize() const [member function] - cls.add_method('GetGrantSize', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: ns3::Time ns3::ServiceFlowRecord::GetGrantTimeStamp() const [member function] - cls.add_method('GetGrantTimeStamp', - 'ns3::Time', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetGrantedBandwidth() [member function] - cls.add_method('GetGrantedBandwidth', - 'uint32_t', - []) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetGrantedBandwidthTemp() [member function] - cls.add_method('GetGrantedBandwidthTemp', - 'uint32_t', - []) - ## service-flow-record.h: ns3::Time ns3::ServiceFlowRecord::GetLastGrantTime() const [member function] - cls.add_method('GetLastGrantTime', - 'ns3::Time', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetPktsRcvd() const [member function] - cls.add_method('GetPktsRcvd', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetPktsSent() const [member function] - cls.add_method('GetPktsSent', - 'uint32_t', - [], - is_const=True) - ## service-flow-record.h: uint32_t ns3::ServiceFlowRecord::GetRequestedBandwidth() [member function] - cls.add_method('GetRequestedBandwidth', - 'uint32_t', - []) - ## service-flow-record.h: void ns3::ServiceFlowRecord::IncreaseBacklogged(uint32_t backlogged) [member function] - cls.add_method('IncreaseBacklogged', - 'void', - [param('uint32_t', 'backlogged')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::IncreaseBackloggedTemp(uint32_t backloggedTemp) [member function] - cls.add_method('IncreaseBackloggedTemp', - 'void', - [param('uint32_t', 'backloggedTemp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBacklogged(uint32_t backlogged) [member function] - cls.add_method('SetBacklogged', - 'void', - [param('uint32_t', 'backlogged')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBackloggedTemp(uint32_t backloggedTemp) [member function] - cls.add_method('SetBackloggedTemp', - 'void', - [param('uint32_t', 'backloggedTemp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBwSinceLastExpiry(uint32_t bwSinceLastExpiry) [member function] - cls.add_method('SetBwSinceLastExpiry', - 'void', - [param('uint32_t', 'bwSinceLastExpiry')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBytesRcvd(uint32_t bytesRcvd) [member function] - cls.add_method('SetBytesRcvd', - 'void', - [param('uint32_t', 'bytesRcvd')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetBytesSent(uint32_t bytesSent) [member function] - cls.add_method('SetBytesSent', - 'void', - [param('uint32_t', 'bytesSent')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetDlTimeStamp(ns3::Time dlTimeStamp) [member function] - cls.add_method('SetDlTimeStamp', - 'void', - [param('ns3::Time', 'dlTimeStamp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetGrantSize(uint32_t grantSize) [member function] - cls.add_method('SetGrantSize', - 'void', - [param('uint32_t', 'grantSize')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetGrantTimeStamp(ns3::Time grantTimeStamp) [member function] - cls.add_method('SetGrantTimeStamp', - 'void', - [param('ns3::Time', 'grantTimeStamp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetGrantedBandwidth(uint32_t grantedBandwidth) [member function] - cls.add_method('SetGrantedBandwidth', - 'void', - [param('uint32_t', 'grantedBandwidth')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetGrantedBandwidthTemp(uint32_t grantedBandwidthTemp) [member function] - cls.add_method('SetGrantedBandwidthTemp', - 'void', - [param('uint32_t', 'grantedBandwidthTemp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetLastGrantTime(ns3::Time grantTime) [member function] - cls.add_method('SetLastGrantTime', - 'void', - [param('ns3::Time', 'grantTime')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetPktsRcvd(uint32_t pktsRcvd) [member function] - cls.add_method('SetPktsRcvd', - 'void', - [param('uint32_t', 'pktsRcvd')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetPktsSent(uint32_t pktsSent) [member function] - cls.add_method('SetPktsSent', - 'void', - [param('uint32_t', 'pktsSent')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::SetRequestedBandwidth(uint32_t requestedBandwidth) [member function] - cls.add_method('SetRequestedBandwidth', - 'void', - [param('uint32_t', 'requestedBandwidth')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateBwSinceLastExpiry(uint32_t bwSinceLastExpiry) [member function] - cls.add_method('UpdateBwSinceLastExpiry', - 'void', - [param('uint32_t', 'bwSinceLastExpiry')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateBytesRcvd(uint32_t bytesRcvd) [member function] - cls.add_method('UpdateBytesRcvd', - 'void', - [param('uint32_t', 'bytesRcvd')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateBytesSent(uint32_t bytesSent) [member function] - cls.add_method('UpdateBytesSent', - 'void', - [param('uint32_t', 'bytesSent')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateGrantedBandwidth(uint32_t grantedBandwidth) [member function] - cls.add_method('UpdateGrantedBandwidth', - 'void', - [param('uint32_t', 'grantedBandwidth')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateGrantedBandwidthTemp(uint32_t grantedBandwidthTemp) [member function] - cls.add_method('UpdateGrantedBandwidthTemp', - 'void', - [param('uint32_t', 'grantedBandwidthTemp')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdatePktsRcvd(uint32_t pktsRcvd) [member function] - cls.add_method('UpdatePktsRcvd', - 'void', - [param('uint32_t', 'pktsRcvd')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdatePktsSent(uint32_t pktsSent) [member function] - cls.add_method('UpdatePktsSent', - 'void', - [param('uint32_t', 'pktsSent')]) - ## service-flow-record.h: void ns3::ServiceFlowRecord::UpdateRequestedBandwidth(uint32_t requestedBandwidth) [member function] - cls.add_method('UpdateRequestedBandwidth', - 'void', - [param('uint32_t', 'requestedBandwidth')]) - return - -def register_Ns3TlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::TlvValue::TlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::TlvValue::TlvValue(ns3::TlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::TlvValue * ns3::TlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::TlvValue *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::TlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLen) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLen')], - is_pure_virtual=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::TlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::TlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, is_virtual=True) - return - -def register_Ns3TosTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::TosTlvValue::TosTlvValue(ns3::TosTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TosTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::TosTlvValue::TosTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::TosTlvValue::TosTlvValue(uint8_t arg0, uint8_t arg1, uint8_t arg2) [constructor] - cls.add_constructor([param('uint8_t', 'arg0'), param('uint8_t', 'arg1'), param('uint8_t', 'arg2')]) - ## wimax-tlv.h: ns3::TosTlvValue * ns3::TosTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::TosTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::TosTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - ## wimax-tlv.h: uint8_t ns3::TosTlvValue::GetHigh() const [member function] - cls.add_method('GetHigh', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: uint8_t ns3::TosTlvValue::GetLow() const [member function] - cls.add_method('GetLow', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: uint8_t ns3::TosTlvValue::GetMask() const [member function] - cls.add_method('GetMask', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::TosTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::TosTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3U16TlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::U16TlvValue::U16TlvValue(ns3::U16TlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::U16TlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::U16TlvValue::U16TlvValue(uint16_t value) [constructor] - cls.add_constructor([param('uint16_t', 'value')]) - ## wimax-tlv.h: ns3::U16TlvValue::U16TlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::U16TlvValue * ns3::U16TlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::U16TlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U16TlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLen) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLen')], - is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U16TlvValue::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')]) - ## wimax-tlv.h: uint32_t ns3::U16TlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint16_t ns3::U16TlvValue::GetValue() const [member function] - cls.add_method('GetValue', - 'uint16_t', - [], - is_const=True) - ## wimax-tlv.h: void ns3::U16TlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3U32TlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::U32TlvValue::U32TlvValue(ns3::U32TlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::U32TlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::U32TlvValue::U32TlvValue(uint32_t value) [constructor] - cls.add_constructor([param('uint32_t', 'value')]) - ## wimax-tlv.h: ns3::U32TlvValue::U32TlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::U32TlvValue * ns3::U32TlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::U32TlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U32TlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLen) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLen')], - is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U32TlvValue::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')]) - ## wimax-tlv.h: uint32_t ns3::U32TlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U32TlvValue::GetValue() const [member function] - cls.add_method('GetValue', - 'uint32_t', - [], - is_const=True) - ## wimax-tlv.h: void ns3::U32TlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3U8TlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::U8TlvValue::U8TlvValue(ns3::U8TlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::U8TlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::U8TlvValue::U8TlvValue(uint8_t value) [constructor] - cls.add_constructor([param('uint8_t', 'value')]) - ## wimax-tlv.h: ns3::U8TlvValue::U8TlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::U8TlvValue * ns3::U8TlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::U8TlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U8TlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLen) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLen')], - is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::U8TlvValue::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')]) - ## wimax-tlv.h: uint32_t ns3::U8TlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint8_t ns3::U8TlvValue::GetValue() const [member function] - cls.add_method('GetValue', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: void ns3::U8TlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3UcdChannelEncodings_methods(root_module, cls): - ## ul-mac-messages.h: ns3::UcdChannelEncodings::UcdChannelEncodings(ns3::UcdChannelEncodings const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UcdChannelEncodings const &', 'arg0')]) - ## ul-mac-messages.h: ns3::UcdChannelEncodings::UcdChannelEncodings() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: uint16_t ns3::UcdChannelEncodings::GetBwReqOppSize() const [member function] - cls.add_method('GetBwReqOppSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint32_t ns3::UcdChannelEncodings::GetFrequency() const [member function] - cls.add_method('GetFrequency', - 'uint32_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::UcdChannelEncodings::GetRangReqOppSize() const [member function] - cls.add_method('GetRangReqOppSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::UcdChannelEncodings::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::UcdChannelEncodings::Read(ns3::Buffer::Iterator start) [member function] - cls.add_method('Read', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')]) - ## ul-mac-messages.h: void ns3::UcdChannelEncodings::SetBwReqOppSize(uint16_t bwReqOppSize) [member function] - cls.add_method('SetBwReqOppSize', - 'void', - [param('uint16_t', 'bwReqOppSize')]) - ## ul-mac-messages.h: void ns3::UcdChannelEncodings::SetFrequency(uint32_t frequency) [member function] - cls.add_method('SetFrequency', - 'void', - [param('uint32_t', 'frequency')]) - ## ul-mac-messages.h: void ns3::UcdChannelEncodings::SetRangReqOppSize(uint16_t rangReqOppSize) [member function] - cls.add_method('SetRangReqOppSize', - 'void', - [param('uint16_t', 'rangReqOppSize')]) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::UcdChannelEncodings::Write(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Write', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::UcdChannelEncodings::DoRead(ns3::Buffer::Iterator start) [member function] - cls.add_method('DoRead', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::UcdChannelEncodings::DoWrite(ns3::Buffer::Iterator start) const [member function] - cls.add_method('DoWrite', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3VectorTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::VectorTlvValue::VectorTlvValue(ns3::VectorTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::VectorTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::VectorTlvValue::VectorTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: void ns3::VectorTlvValue::Add(ns3::Tlv const & val) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Tlv const &', 'val')]) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::VectorTlvValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Tlv * const *, std::vector< ns3::Tlv * > >', - [], - is_const=True) - ## wimax-tlv.h: ns3::VectorTlvValue * ns3::VectorTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::VectorTlvValue *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::VectorTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_pure_virtual=True, is_virtual=True) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::VectorTlvValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Tlv * const *, std::vector< ns3::Tlv * > >', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::VectorTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::VectorTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3WimaxHelper_methods(root_module, cls): - ## wimax-helper.h: ns3::WimaxHelper::WimaxHelper(ns3::WimaxHelper const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxHelper const &', 'arg0')]) - ## wimax-helper.h: ns3::WimaxHelper::WimaxHelper() [constructor] - cls.add_constructor([]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreateBSScheduler(ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('CreateBSScheduler', - 'ns3::Ptr< ns3::BSScheduler >', - [param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreatePhy(ns3::WimaxHelper::PhyType phyType) [member function] - cls.add_method('CreatePhy', - 'ns3::Ptr< ns3::WimaxPhy >', - [param('ns3::WimaxHelper::PhyType', 'phyType')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreatePhy(ns3::WimaxHelper::PhyType phyType, char * SNRTraceFilePath, bool activateLoss) [member function] - cls.add_method('CreatePhy', - 'ns3::Ptr< ns3::WimaxPhy >', - [param('ns3::WimaxHelper::PhyType', 'phyType'), param('char *', 'SNRTraceFilePath'), param('bool', 'activateLoss')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreatePhyWithoutChannel(ns3::WimaxHelper::PhyType phyType) [member function] - cls.add_method('CreatePhyWithoutChannel', - 'ns3::Ptr< ns3::WimaxPhy >', - [param('ns3::WimaxHelper::PhyType', 'phyType')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreatePhyWithoutChannel(ns3::WimaxHelper::PhyType phyType, char * SNRTraceFilePath, bool activateLoss) [member function] - cls.add_method('CreatePhyWithoutChannel', - 'ns3::Ptr< ns3::WimaxPhy >', - [param('ns3::WimaxHelper::PhyType', 'phyType'), param('char *', 'SNRTraceFilePath'), param('bool', 'activateLoss')]) - ## wimax-helper.h: ns3::ServiceFlow ns3::WimaxHelper::CreateServiceFlow(ns3::ServiceFlow::Direction direction, ns3::ServiceFlow::SchedulingType schedulinType, ns3::IpcsClassifierRecord classifier) [member function] - cls.add_method('CreateServiceFlow', - 'ns3::ServiceFlow', - [param('ns3::ServiceFlow::Direction', 'direction'), param('ns3::ServiceFlow::SchedulingType', 'schedulinType'), param('ns3::IpcsClassifierRecord', 'classifier')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::CreateUplinkScheduler(ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('CreateUplinkScheduler', - 'ns3::Ptr< ns3::UplinkScheduler >', - [param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: static void ns3::WimaxHelper::EnableAsciiForConnection(ns3::Ptr oss, uint32_t nodeid, uint32_t deviceid, char * netdevice, char * connection) [member function] - cls.add_method('EnableAsciiForConnection', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'oss'), param('uint32_t', 'nodeid'), param('uint32_t', 'deviceid'), param('char *', 'netdevice'), param('char *', 'connection')], - is_static=True) - ## wimax-helper.h: static void ns3::WimaxHelper::EnableLogComponents() [member function] - cls.add_method('EnableLogComponents', - 'void', - [], - is_static=True) - ## wimax-helper.h: ns3::NetDeviceContainer ns3::WimaxHelper::Install(ns3::NodeContainer c, ns3::WimaxHelper::NetDeviceType type, ns3::WimaxHelper::PhyType phyType, ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::WimaxHelper::NetDeviceType', 'type'), param('ns3::WimaxHelper::PhyType', 'phyType'), param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: ns3::NetDeviceContainer ns3::WimaxHelper::Install(ns3::NodeContainer c, ns3::WimaxHelper::NetDeviceType deviceType, ns3::WimaxHelper::PhyType phyType, ns3::Ptr channel, ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::WimaxHelper::NetDeviceType', 'deviceType'), param('ns3::WimaxHelper::PhyType', 'phyType'), param('ns3::Ptr< ns3::WimaxChannel >', 'channel'), param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: ns3::NetDeviceContainer ns3::WimaxHelper::Install(ns3::NodeContainer c, ns3::WimaxHelper::NetDeviceType deviceType, ns3::WimaxHelper::PhyType phyType, ns3::WimaxHelper::SchedulerType schedulerType, double frameDuration) [member function] - cls.add_method('Install', - 'ns3::NetDeviceContainer', - [param('ns3::NodeContainer', 'c'), param('ns3::WimaxHelper::NetDeviceType', 'deviceType'), param('ns3::WimaxHelper::PhyType', 'phyType'), param('ns3::WimaxHelper::SchedulerType', 'schedulerType'), param('double', 'frameDuration')]) - ## wimax-helper.h: ns3::Ptr ns3::WimaxHelper::Install(ns3::Ptr node, ns3::WimaxHelper::NetDeviceType deviceType, ns3::WimaxHelper::PhyType phyType, ns3::Ptr channel, ns3::WimaxHelper::SchedulerType schedulerType) [member function] - cls.add_method('Install', - 'ns3::Ptr< ns3::WimaxNetDevice >', - [param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::WimaxHelper::NetDeviceType', 'deviceType'), param('ns3::WimaxHelper::PhyType', 'phyType'), param('ns3::Ptr< ns3::WimaxChannel >', 'channel'), param('ns3::WimaxHelper::SchedulerType', 'schedulerType')]) - ## wimax-helper.h: void ns3::WimaxHelper::SetPropagationLossModel(ns3::SimpleOfdmWimaxChannel::PropModel propagationModel) [member function] - cls.add_method('SetPropagationLossModel', - 'void', - [param('ns3::SimpleOfdmWimaxChannel::PropModel', 'propagationModel')]) - ## wimax-helper.h: void ns3::WimaxHelper::EnableAsciiInternal(ns3::Ptr stream, std::string prefix, ns3::Ptr nd, bool explicitFilename) [member function] - cls.add_method('EnableAsciiInternal', - 'void', - [param('ns3::Ptr< ns3::OutputStreamWrapper >', 'stream'), param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename')], - visibility='private', is_virtual=True) - ## wimax-helper.h: void ns3::WimaxHelper::EnablePcapInternal(std::string prefix, ns3::Ptr nd, bool explicitFilename, bool promiscuous) [member function] - cls.add_method('EnablePcapInternal', - 'void', - [param('std::string', 'prefix'), param('ns3::Ptr< ns3::NetDevice >', 'nd'), param('bool', 'explicitFilename'), param('bool', 'promiscuous')], - visibility='private', is_virtual=True) - return - -def register_Ns3SimpleOfdmSendParam_methods(root_module, cls): - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam::simpleOfdmSendParam(ns3::simpleOfdmSendParam const & arg0) [copy constructor] - cls.add_constructor([param('ns3::simpleOfdmSendParam const &', 'arg0')]) - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam::simpleOfdmSendParam() [constructor] - cls.add_constructor([]) - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam::simpleOfdmSendParam(ns3::bvec const & fecBlock, uint32_t burstSize, bool isFirstBlock, uint64_t Frequency, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPowerDbm) [constructor] - cls.add_constructor([param('ns3::bvec const &', 'fecBlock'), param('uint32_t', 'burstSize'), param('bool', 'isFirstBlock'), param('uint64_t', 'Frequency'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction'), param('double', 'rxPowerDbm')]) - ## simple-ofdm-send-param.h: ns3::simpleOfdmSendParam::simpleOfdmSendParam(uint32_t burstSize, bool isFirstBlock, uint64_t Frequency, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPowerDbm, ns3::Ptr burst) [constructor] - cls.add_constructor([param('uint32_t', 'burstSize'), param('bool', 'isFirstBlock'), param('uint64_t', 'Frequency'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction'), param('double', 'rxPowerDbm'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-send-param.h: ns3::Ptr ns3::simpleOfdmSendParam::GetBurst() [member function] - cls.add_method('GetBurst', - 'ns3::Ptr< ns3::PacketBurst >', - []) - ## simple-ofdm-send-param.h: uint32_t ns3::simpleOfdmSendParam::GetBurstSize() [member function] - cls.add_method('GetBurstSize', - 'uint32_t', - []) - ## simple-ofdm-send-param.h: uint8_t ns3::simpleOfdmSendParam::GetDirection() [member function] - cls.add_method('GetDirection', - 'uint8_t', - []) - ## simple-ofdm-send-param.h: ns3::bvec ns3::simpleOfdmSendParam::GetFecBlock() [member function] - cls.add_method('GetFecBlock', - 'ns3::bvec', - []) - ## simple-ofdm-send-param.h: uint64_t ns3::simpleOfdmSendParam::GetFrequency() [member function] - cls.add_method('GetFrequency', - 'uint64_t', - []) - ## simple-ofdm-send-param.h: bool ns3::simpleOfdmSendParam::GetIsFirstBlock() [member function] - cls.add_method('GetIsFirstBlock', - 'bool', - []) - ## simple-ofdm-send-param.h: ns3::WimaxPhy::ModulationType ns3::simpleOfdmSendParam::GetModulationType() [member function] - cls.add_method('GetModulationType', - 'ns3::WimaxPhy::ModulationType', - []) - ## simple-ofdm-send-param.h: double ns3::simpleOfdmSendParam::GetRxPowerDbm() [member function] - cls.add_method('GetRxPowerDbm', - 'double', - []) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetBurstSize(uint32_t burstSize) [member function] - cls.add_method('SetBurstSize', - 'void', - [param('uint32_t', 'burstSize')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetDirection(uint8_t direction) [member function] - cls.add_method('SetDirection', - 'void', - [param('uint8_t', 'direction')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetFecBlock(ns3::bvec const & fecBlock) [member function] - cls.add_method('SetFecBlock', - 'void', - [param('ns3::bvec const &', 'fecBlock')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetFrequency(uint64_t Frequency) [member function] - cls.add_method('SetFrequency', - 'void', - [param('uint64_t', 'Frequency')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetIsFirstBlock(bool isFirstBlock) [member function] - cls.add_method('SetIsFirstBlock', - 'void', - [param('bool', 'isFirstBlock')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetModulationType(ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('SetModulationType', - 'void', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## simple-ofdm-send-param.h: void ns3::simpleOfdmSendParam::SetRxPowerDbm(double rxPowerDbm) [member function] - cls.add_method('SetRxPowerDbm', - 'void', - [param('double', 'rxPowerDbm')]) - return - -def register_Ns3ClassificationRuleVectorTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue::ClassificationRuleVectorTlvValue(ns3::ClassificationRuleVectorTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ClassificationRuleVectorTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue::ClassificationRuleVectorTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::ClassificationRuleVectorTlvValue * ns3::ClassificationRuleVectorTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::ClassificationRuleVectorTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::ClassificationRuleVectorTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - return - -def register_Ns3CsParamVectorTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::CsParamVectorTlvValue::CsParamVectorTlvValue(ns3::CsParamVectorTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::CsParamVectorTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::CsParamVectorTlvValue::CsParamVectorTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::CsParamVectorTlvValue * ns3::CsParamVectorTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::CsParamVectorTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::CsParamVectorTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - return - -def register_Ns3Ipv4AddressTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::Ipv4AddressTlvValue(ns3::Ipv4AddressTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::Ipv4AddressTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: void ns3::Ipv4AddressTlvValue::Add(ns3::Ipv4Address address, ns3::Ipv4Mask Mask) [member function] - cls.add_method('Add', - 'void', - [param('ns3::Ipv4Address', 'address'), param('ns3::Ipv4Mask', 'Mask')]) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::Ipv4AddressTlvValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::Ipv4AddressTlvValue::ipv4Addr const *, std::vector< ns3::Ipv4AddressTlvValue::ipv4Addr > >', - [], - is_const=True) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue * ns3::Ipv4AddressTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Ipv4AddressTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::Ipv4AddressTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::Ipv4AddressTlvValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::Ipv4AddressTlvValue::ipv4Addr const *, std::vector< ns3::Ipv4AddressTlvValue::ipv4Addr > >', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::Ipv4AddressTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::Ipv4AddressTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ipv4AddressTlvValueIpv4Addr_methods(root_module, cls): - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr::ipv4Addr() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr::ipv4Addr(ns3::Ipv4AddressTlvValue::ipv4Addr const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ipv4AddressTlvValue::ipv4Addr const &', 'arg0')]) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr::Address [variable] - cls.add_instance_attribute('Address', 'ns3::Ipv4Address', is_const=False) - ## wimax-tlv.h: ns3::Ipv4AddressTlvValue::ipv4Addr::Mask [variable] - cls.add_instance_attribute('Mask', 'ns3::Ipv4Mask', is_const=False) - return - -def register_Ns3MacHeaderType_methods(root_module, cls): - ## wimax-mac-header.h: ns3::MacHeaderType::MacHeaderType(ns3::MacHeaderType const & arg0) [copy constructor] - cls.add_constructor([param('ns3::MacHeaderType const &', 'arg0')]) - ## wimax-mac-header.h: ns3::MacHeaderType::MacHeaderType() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: ns3::MacHeaderType::MacHeaderType(uint8_t type) [constructor] - cls.add_constructor([param('uint8_t', 'type')]) - ## wimax-mac-header.h: uint32_t ns3::MacHeaderType::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: ns3::TypeId ns3::MacHeaderType::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: std::string ns3::MacHeaderType::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::MacHeaderType::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::MacHeaderType::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::MacHeaderType::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::MacHeaderType::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::MacHeaderType::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::MacHeaderType::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3ManagementMessageType_methods(root_module, cls): - ## mac-messages.h: ns3::ManagementMessageType::ManagementMessageType(ns3::ManagementMessageType const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ManagementMessageType const &', 'arg0')]) - ## mac-messages.h: ns3::ManagementMessageType::ManagementMessageType() [constructor] - cls.add_constructor([]) - ## mac-messages.h: ns3::ManagementMessageType::ManagementMessageType(uint8_t type) [constructor] - cls.add_constructor([param('uint8_t', 'type')]) - ## mac-messages.h: uint32_t ns3::ManagementMessageType::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: ns3::TypeId ns3::ManagementMessageType::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: std::string ns3::ManagementMessageType::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::ManagementMessageType::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: uint8_t ns3::ManagementMessageType::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::ManagementMessageType::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::ManagementMessageType::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::ManagementMessageType::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::ManagementMessageType::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - return - -def register_Ns3OfdmDownlinkFramePrefix_methods(root_module, cls): - ## ofdm-downlink-frame-prefix.h: ns3::OfdmDownlinkFramePrefix::OfdmDownlinkFramePrefix(ns3::OfdmDownlinkFramePrefix const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmDownlinkFramePrefix const &', 'arg0')]) - ## ofdm-downlink-frame-prefix.h: ns3::OfdmDownlinkFramePrefix::OfdmDownlinkFramePrefix() [constructor] - cls.add_constructor([]) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::AddDlFramePrefixElement(ns3::DlFramePrefixIe dlFramePrefixElement) [member function] - cls.add_method('AddDlFramePrefixElement', - 'void', - [param('ns3::DlFramePrefixIe', 'dlFramePrefixElement')]) - ## ofdm-downlink-frame-prefix.h: uint32_t ns3::OfdmDownlinkFramePrefix::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ofdm-downlink-frame-prefix.h: ns3::Mac48Address ns3::OfdmDownlinkFramePrefix::GetBaseStationId() const [member function] - cls.add_method('GetBaseStationId', - 'ns3::Mac48Address', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::OfdmDownlinkFramePrefix::GetConfigurationChangeCount() const [member function] - cls.add_method('GetConfigurationChangeCount', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: std::vector > ns3::OfdmDownlinkFramePrefix::GetDlFramePrefixElements() const [member function] - cls.add_method('GetDlFramePrefixElements', - 'std::vector< ns3::DlFramePrefixIe >', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint32_t ns3::OfdmDownlinkFramePrefix::GetFrameNumber() const [member function] - cls.add_method('GetFrameNumber', - 'uint32_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint8_t ns3::OfdmDownlinkFramePrefix::GetHcs() const [member function] - cls.add_method('GetHcs', - 'uint8_t', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: std::string ns3::OfdmDownlinkFramePrefix::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## ofdm-downlink-frame-prefix.h: uint32_t ns3::OfdmDownlinkFramePrefix::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::SetBaseStationId(ns3::Mac48Address baseStationId) [member function] - cls.add_method('SetBaseStationId', - 'void', - [param('ns3::Mac48Address', 'baseStationId')]) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::SetConfigurationChangeCount(uint8_t configurationChangeCount) [member function] - cls.add_method('SetConfigurationChangeCount', - 'void', - [param('uint8_t', 'configurationChangeCount')]) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::SetFrameNumber(uint32_t frameNumber) [member function] - cls.add_method('SetFrameNumber', - 'void', - [param('uint32_t', 'frameNumber')]) - ## ofdm-downlink-frame-prefix.h: void ns3::OfdmDownlinkFramePrefix::SetHcs(uint8_t hcs) [member function] - cls.add_method('SetHcs', - 'void', - [param('uint8_t', 'hcs')]) - return - -def register_Ns3OfdmSendParams_methods(root_module, cls): - ## send-params.h: ns3::OfdmSendParams::OfdmSendParams(ns3::OfdmSendParams const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmSendParams const &', 'arg0')]) - ## send-params.h: ns3::OfdmSendParams::OfdmSendParams(ns3::Ptr burst, uint8_t modulationType, uint8_t direction) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::PacketBurst >', 'burst'), param('uint8_t', 'modulationType'), param('uint8_t', 'direction')]) - ## send-params.h: ns3::Ptr ns3::OfdmSendParams::GetBurst() const [member function] - cls.add_method('GetBurst', - 'ns3::Ptr< ns3::PacketBurst >', - [], - is_const=True) - ## send-params.h: uint8_t ns3::OfdmSendParams::GetDirection() const [member function] - cls.add_method('GetDirection', - 'uint8_t', - [], - is_const=True) - ## send-params.h: uint8_t ns3::OfdmSendParams::GetModulationType() const [member function] - cls.add_method('GetModulationType', - 'uint8_t', - [], - is_const=True) - return - -def register_Ns3OfdmUcdChannelEncodings_methods(root_module, cls): - ## ul-mac-messages.h: ns3::OfdmUcdChannelEncodings::OfdmUcdChannelEncodings(ns3::OfdmUcdChannelEncodings const & arg0) [copy constructor] - cls.add_constructor([param('ns3::OfdmUcdChannelEncodings const &', 'arg0')]) - ## ul-mac-messages.h: ns3::OfdmUcdChannelEncodings::OfdmUcdChannelEncodings() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: uint8_t ns3::OfdmUcdChannelEncodings::GetSbchnlFocContCodes() const [member function] - cls.add_method('GetSbchnlFocContCodes', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::OfdmUcdChannelEncodings::GetSbchnlReqRegionFullParams() const [member function] - cls.add_method('GetSbchnlReqRegionFullParams', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint16_t ns3::OfdmUcdChannelEncodings::GetSize() const [member function] - cls.add_method('GetSize', - 'uint16_t', - [], - is_const=True) - ## ul-mac-messages.h: void ns3::OfdmUcdChannelEncodings::SetSbchnlFocContCodes(uint8_t sbchnlFocContCodes) [member function] - cls.add_method('SetSbchnlFocContCodes', - 'void', - [param('uint8_t', 'sbchnlFocContCodes')]) - ## ul-mac-messages.h: void ns3::OfdmUcdChannelEncodings::SetSbchnlReqRegionFullParams(uint8_t sbchnlReqRegionFullParams) [member function] - cls.add_method('SetSbchnlReqRegionFullParams', - 'void', - [param('uint8_t', 'sbchnlReqRegionFullParams')]) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUcdChannelEncodings::DoRead(ns3::Buffer::Iterator start) [member function] - cls.add_method('DoRead', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - visibility='private', is_virtual=True) - ## ul-mac-messages.h: ns3::Buffer::Iterator ns3::OfdmUcdChannelEncodings::DoWrite(ns3::Buffer::Iterator start) const [member function] - cls.add_method('DoWrite', - 'ns3::Buffer::Iterator', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3PortRangeTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRangeTlvValue(ns3::PortRangeTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PortRangeTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRangeTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: void ns3::PortRangeTlvValue::Add(uint16_t portLow, uint16_t portHigh) [member function] - cls.add_method('Add', - 'void', - [param('uint16_t', 'portLow'), param('uint16_t', 'portHigh')]) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::PortRangeTlvValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< ns3::PortRangeTlvValue::PortRange const *, std::vector< ns3::PortRangeTlvValue::PortRange > >', - [], - is_const=True) - ## wimax-tlv.h: ns3::PortRangeTlvValue * ns3::PortRangeTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::PortRangeTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::PortRangeTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::PortRangeTlvValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< ns3::PortRangeTlvValue::PortRange const *, std::vector< ns3::PortRangeTlvValue::PortRange > >', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::PortRangeTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::PortRangeTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3PortRangeTlvValuePortRange_methods(root_module, cls): - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange::PortRange() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange::PortRange(ns3::PortRangeTlvValue::PortRange const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PortRangeTlvValue::PortRange const &', 'arg0')]) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange::PortHigh [variable] - cls.add_instance_attribute('PortHigh', 'uint16_t', is_const=False) - ## wimax-tlv.h: ns3::PortRangeTlvValue::PortRange::PortLow [variable] - cls.add_instance_attribute('PortLow', 'uint16_t', is_const=False) - return - -def register_Ns3PriorityUlJob_methods(root_module, cls): - ## ul-job.h: ns3::PriorityUlJob::PriorityUlJob(ns3::PriorityUlJob const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PriorityUlJob const &', 'arg0')]) - ## ul-job.h: ns3::PriorityUlJob::PriorityUlJob() [constructor] - cls.add_constructor([]) - ## ul-job.h: int ns3::PriorityUlJob::GetPriority() [member function] - cls.add_method('GetPriority', - 'int', - []) - ## ul-job.h: ns3::Ptr ns3::PriorityUlJob::GetUlJob() [member function] - cls.add_method('GetUlJob', - 'ns3::Ptr< ns3::UlJob >', - []) - ## ul-job.h: void ns3::PriorityUlJob::SetPriority(int priority) [member function] - cls.add_method('SetPriority', - 'void', - [param('int', 'priority')]) - ## ul-job.h: void ns3::PriorityUlJob::SetUlJob(ns3::Ptr job) [member function] - cls.add_method('SetUlJob', - 'void', - [param('ns3::Ptr< ns3::UlJob >', 'job')]) - return - -def register_Ns3ProtocolTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::ProtocolTlvValue::ProtocolTlvValue(ns3::ProtocolTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ProtocolTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::ProtocolTlvValue::ProtocolTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: void ns3::ProtocolTlvValue::Add(uint8_t protiocol) [member function] - cls.add_method('Add', - 'void', - [param('uint8_t', 'protiocol')]) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::ProtocolTlvValue::Begin() const [member function] - cls.add_method('Begin', - '__gnu_cxx::__normal_iterator< unsigned char const *, std::vector< unsigned char > >', - [], - is_const=True) - ## wimax-tlv.h: ns3::ProtocolTlvValue * ns3::ProtocolTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::ProtocolTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::ProtocolTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - ## wimax-tlv.h: __gnu_cxx::__normal_iterator > > ns3::ProtocolTlvValue::End() const [member function] - cls.add_method('End', - '__gnu_cxx::__normal_iterator< unsigned char const *, std::vector< unsigned char > >', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::ProtocolTlvValue::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::ProtocolTlvValue::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3RngReq_methods(root_module, cls): - ## mac-messages.h: ns3::RngReq::RngReq(ns3::RngReq const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RngReq const &', 'arg0')]) - ## mac-messages.h: ns3::RngReq::RngReq() [constructor] - cls.add_constructor([]) - ## mac-messages.h: uint32_t ns3::RngReq::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: ns3::TypeId ns3::RngReq::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: ns3::Mac48Address ns3::RngReq::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac-messages.h: std::string ns3::RngReq::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngReq::GetRangingAnomalies() const [member function] - cls.add_method('GetRangingAnomalies', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngReq::GetReqDlBurstProfile() const [member function] - cls.add_method('GetReqDlBurstProfile', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngReq::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: static ns3::TypeId ns3::RngReq::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::RngReq::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::RngReq::PrintDebug() const [member function] - cls.add_method('PrintDebug', - 'void', - [], - is_const=True) - ## mac-messages.h: void ns3::RngReq::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::RngReq::SetMacAddress(ns3::Mac48Address macAddress) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Mac48Address', 'macAddress')]) - ## mac-messages.h: void ns3::RngReq::SetRangingAnomalies(uint8_t rangingAnomalies) [member function] - cls.add_method('SetRangingAnomalies', - 'void', - [param('uint8_t', 'rangingAnomalies')]) - ## mac-messages.h: void ns3::RngReq::SetReqDlBurstProfile(uint8_t reqDlBurstProfile) [member function] - cls.add_method('SetReqDlBurstProfile', - 'void', - [param('uint8_t', 'reqDlBurstProfile')]) - return - -def register_Ns3RngRsp_methods(root_module, cls): - ## mac-messages.h: ns3::RngRsp::RngRsp(ns3::RngRsp const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RngRsp const &', 'arg0')]) - ## mac-messages.h: ns3::RngRsp::RngRsp() [constructor] - cls.add_constructor([]) - ## mac-messages.h: uint32_t ns3::RngRsp::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetAasBdcastPermission() const [member function] - cls.add_method('GetAasBdcastPermission', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: ns3::Cid ns3::RngRsp::GetBasicCid() const [member function] - cls.add_method('GetBasicCid', - 'ns3::Cid', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetDlFreqOverride() const [member function] - cls.add_method('GetDlFreqOverride', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint16_t ns3::RngRsp::GetDlOperBurstProfile() const [member function] - cls.add_method('GetDlOperBurstProfile', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetFrameNumber() const [member function] - cls.add_method('GetFrameNumber', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetInitRangOppNumber() const [member function] - cls.add_method('GetInitRangOppNumber', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: ns3::TypeId ns3::RngRsp::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: ns3::Mac48Address ns3::RngRsp::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## mac-messages.h: std::string ns3::RngRsp::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetOffsetFreqAdjust() const [member function] - cls.add_method('GetOffsetFreqAdjust', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetPowerLevelAdjust() const [member function] - cls.add_method('GetPowerLevelAdjust', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: ns3::Cid ns3::RngRsp::GetPrimaryCid() const [member function] - cls.add_method('GetPrimaryCid', - 'ns3::Cid', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetRangStatus() const [member function] - cls.add_method('GetRangStatus', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetRangSubchnl() const [member function] - cls.add_method('GetRangSubchnl', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: uint32_t ns3::RngRsp::GetTimingAdjust() const [member function] - cls.add_method('GetTimingAdjust', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::RngRsp::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: uint8_t ns3::RngRsp::GetUlChnlIdOverride() const [member function] - cls.add_method('GetUlChnlIdOverride', - 'uint8_t', - [], - is_const=True) - ## mac-messages.h: void ns3::RngRsp::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::RngRsp::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::RngRsp::SetAasBdcastPermission(uint8_t aasBdcastPermission) [member function] - cls.add_method('SetAasBdcastPermission', - 'void', - [param('uint8_t', 'aasBdcastPermission')]) - ## mac-messages.h: void ns3::RngRsp::SetBasicCid(ns3::Cid basicCid) [member function] - cls.add_method('SetBasicCid', - 'void', - [param('ns3::Cid', 'basicCid')]) - ## mac-messages.h: void ns3::RngRsp::SetDlFreqOverride(uint32_t dlFreqOverride) [member function] - cls.add_method('SetDlFreqOverride', - 'void', - [param('uint32_t', 'dlFreqOverride')]) - ## mac-messages.h: void ns3::RngRsp::SetDlOperBurstProfile(uint16_t dlOperBurstProfile) [member function] - cls.add_method('SetDlOperBurstProfile', - 'void', - [param('uint16_t', 'dlOperBurstProfile')]) - ## mac-messages.h: void ns3::RngRsp::SetFrameNumber(uint32_t frameNumber) [member function] - cls.add_method('SetFrameNumber', - 'void', - [param('uint32_t', 'frameNumber')]) - ## mac-messages.h: void ns3::RngRsp::SetInitRangOppNumber(uint8_t initRangOppNumber) [member function] - cls.add_method('SetInitRangOppNumber', - 'void', - [param('uint8_t', 'initRangOppNumber')]) - ## mac-messages.h: void ns3::RngRsp::SetMacAddress(ns3::Mac48Address macAddress) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Mac48Address', 'macAddress')]) - ## mac-messages.h: void ns3::RngRsp::SetOffsetFreqAdjust(uint32_t offsetFreqAdjust) [member function] - cls.add_method('SetOffsetFreqAdjust', - 'void', - [param('uint32_t', 'offsetFreqAdjust')]) - ## mac-messages.h: void ns3::RngRsp::SetPowerLevelAdjust(uint8_t powerLevelAdjust) [member function] - cls.add_method('SetPowerLevelAdjust', - 'void', - [param('uint8_t', 'powerLevelAdjust')]) - ## mac-messages.h: void ns3::RngRsp::SetPrimaryCid(ns3::Cid primaryCid) [member function] - cls.add_method('SetPrimaryCid', - 'void', - [param('ns3::Cid', 'primaryCid')]) - ## mac-messages.h: void ns3::RngRsp::SetRangStatus(uint8_t rangStatus) [member function] - cls.add_method('SetRangStatus', - 'void', - [param('uint8_t', 'rangStatus')]) - ## mac-messages.h: void ns3::RngRsp::SetRangSubchnl(uint8_t rangSubchnl) [member function] - cls.add_method('SetRangSubchnl', - 'void', - [param('uint8_t', 'rangSubchnl')]) - ## mac-messages.h: void ns3::RngRsp::SetTimingAdjust(uint32_t timingAdjust) [member function] - cls.add_method('SetTimingAdjust', - 'void', - [param('uint32_t', 'timingAdjust')]) - ## mac-messages.h: void ns3::RngRsp::SetUlChnlIdOverride(uint8_t ulChnlIdOverride) [member function] - cls.add_method('SetUlChnlIdOverride', - 'void', - [param('uint8_t', 'ulChnlIdOverride')]) - return - -def register_Ns3SSManager_methods(root_module, cls): - ## ss-manager.h: ns3::SSManager::SSManager(ns3::SSManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SSManager const &', 'arg0')]) - ## ss-manager.h: ns3::SSManager::SSManager() [constructor] - cls.add_constructor([]) - ## ss-manager.h: ns3::SSRecord * ns3::SSManager::CreateSSRecord(ns3::Mac48Address const & macAddress) [member function] - cls.add_method('CreateSSRecord', - 'ns3::SSRecord *', - [param('ns3::Mac48Address const &', 'macAddress')]) - ## ss-manager.h: void ns3::SSManager::DeleteSSRecord(ns3::Cid cid) [member function] - cls.add_method('DeleteSSRecord', - 'void', - [param('ns3::Cid', 'cid')]) - ## ss-manager.h: ns3::Mac48Address ns3::SSManager::GetMacAddress(ns3::Cid cid) const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [param('ns3::Cid', 'cid')], - is_const=True) - ## ss-manager.h: uint32_t ns3::SSManager::GetNRegisteredSSs() const [member function] - cls.add_method('GetNRegisteredSSs', - 'uint32_t', - [], - is_const=True) - ## ss-manager.h: uint32_t ns3::SSManager::GetNSSs() const [member function] - cls.add_method('GetNSSs', - 'uint32_t', - [], - is_const=True) - ## ss-manager.h: ns3::SSRecord * ns3::SSManager::GetSSRecord(ns3::Mac48Address const & macAddress) const [member function] - cls.add_method('GetSSRecord', - 'ns3::SSRecord *', - [param('ns3::Mac48Address const &', 'macAddress')], - is_const=True) - ## ss-manager.h: ns3::SSRecord * ns3::SSManager::GetSSRecord(ns3::Cid cid) const [member function] - cls.add_method('GetSSRecord', - 'ns3::SSRecord *', - [param('ns3::Cid', 'cid')], - is_const=True) - ## ss-manager.h: std::vector > * ns3::SSManager::GetSSRecords() const [member function] - cls.add_method('GetSSRecords', - 'std::vector< ns3::SSRecord * > *', - [], - is_const=True) - ## ss-manager.h: bool ns3::SSManager::IsInRecord(ns3::Mac48Address const & macAddress) const [member function] - cls.add_method('IsInRecord', - 'bool', - [param('ns3::Mac48Address const &', 'macAddress')], - is_const=True) - ## ss-manager.h: bool ns3::SSManager::IsRegistered(ns3::Mac48Address const & macAddress) const [member function] - cls.add_method('IsRegistered', - 'bool', - [param('ns3::Mac48Address const &', 'macAddress')], - is_const=True) - return - -def register_Ns3ServiceFlowManager_methods(root_module, cls): - ## service-flow-manager.h: ns3::ServiceFlowManager::ServiceFlowManager(ns3::ServiceFlowManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ServiceFlowManager const &', 'arg0')]) - ## service-flow-manager.h: ns3::ServiceFlowManager::ServiceFlowManager() [constructor] - cls.add_constructor([]) - ## service-flow-manager.h: void ns3::ServiceFlowManager::AddServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## service-flow-manager.h: bool ns3::ServiceFlowManager::AreServiceFlowsAllocated() [member function] - cls.add_method('AreServiceFlowsAllocated', - 'bool', - []) - ## service-flow-manager.h: bool ns3::ServiceFlowManager::AreServiceFlowsAllocated(std::vector > * serviceFlows) [member function] - cls.add_method('AreServiceFlowsAllocated', - 'bool', - [param('std::vector< ns3::ServiceFlow * > *', 'serviceFlows')]) - ## service-flow-manager.h: bool ns3::ServiceFlowManager::AreServiceFlowsAllocated(std::vector > serviceFlows) [member function] - cls.add_method('AreServiceFlowsAllocated', - 'bool', - [param('std::vector< ns3::ServiceFlow * >', 'serviceFlows')]) - ## service-flow-manager.h: ns3::ServiceFlow * ns3::ServiceFlowManager::DoClassify(ns3::Ipv4Address SrcAddress, ns3::Ipv4Address DstAddress, uint16_t SrcPort, uint16_t DstPort, uint8_t Proto, ns3::ServiceFlow::Direction dir) const [member function] - cls.add_method('DoClassify', - 'ns3::ServiceFlow *', - [param('ns3::Ipv4Address', 'SrcAddress'), param('ns3::Ipv4Address', 'DstAddress'), param('uint16_t', 'SrcPort'), param('uint16_t', 'DstPort'), param('uint8_t', 'Proto'), param('ns3::ServiceFlow::Direction', 'dir')], - is_const=True) - ## service-flow-manager.h: void ns3::ServiceFlowManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## service-flow-manager.h: ns3::ServiceFlow * ns3::ServiceFlowManager::GetNextServiceFlowToAllocate() [member function] - cls.add_method('GetNextServiceFlowToAllocate', - 'ns3::ServiceFlow *', - []) - ## service-flow-manager.h: uint32_t ns3::ServiceFlowManager::GetNrServiceFlows() const [member function] - cls.add_method('GetNrServiceFlows', - 'uint32_t', - [], - is_const=True) - ## service-flow-manager.h: ns3::ServiceFlow * ns3::ServiceFlowManager::GetServiceFlow(uint32_t sfid) const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [param('uint32_t', 'sfid')], - is_const=True) - ## service-flow-manager.h: ns3::ServiceFlow * ns3::ServiceFlowManager::GetServiceFlow(ns3::Cid cid) const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [param('ns3::Cid', 'cid')], - is_const=True) - ## service-flow-manager.h: std::vector > ns3::ServiceFlowManager::GetServiceFlows(ns3::ServiceFlow::SchedulingType schedulingType) const [member function] - cls.add_method('GetServiceFlows', - 'std::vector< ns3::ServiceFlow * >', - [param('ns3::ServiceFlow::SchedulingType', 'schedulingType')], - is_const=True) - return - -def register_Ns3SfVectorTlvValue_methods(root_module, cls): - ## wimax-tlv.h: ns3::SfVectorTlvValue::SfVectorTlvValue(ns3::SfVectorTlvValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SfVectorTlvValue const &', 'arg0')]) - ## wimax-tlv.h: ns3::SfVectorTlvValue::SfVectorTlvValue() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::SfVectorTlvValue * ns3::SfVectorTlvValue::Copy() const [member function] - cls.add_method('Copy', - 'ns3::SfVectorTlvValue *', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint32_t ns3::SfVectorTlvValue::Deserialize(ns3::Buffer::Iterator start, uint64_t valueLength) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start'), param('uint64_t', 'valueLength')], - is_virtual=True) - return - -def register_Ns3SsServiceFlowManager_methods(root_module, cls): - ## ss-service-flow-manager.h: ns3::SsServiceFlowManager::SsServiceFlowManager(ns3::SsServiceFlowManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SsServiceFlowManager const &', 'arg0')]) - ## ss-service-flow-manager.h: ns3::SsServiceFlowManager::SsServiceFlowManager(ns3::Ptr device) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::SubscriberStationNetDevice >', 'device')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::AddServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::AddServiceFlow(ns3::ServiceFlow serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'serviceFlow')]) - ## ss-service-flow-manager.h: ns3::Ptr ns3::SsServiceFlowManager::CreateDsaAck() [member function] - cls.add_method('CreateDsaAck', - 'ns3::Ptr< ns3::Packet >', - []) - ## ss-service-flow-manager.h: ns3::DsaReq ns3::SsServiceFlowManager::CreateDsaReq(ns3::ServiceFlow const * serviceFlow) [member function] - cls.add_method('CreateDsaReq', - 'ns3::DsaReq', - [param('ns3::ServiceFlow const *', 'serviceFlow')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## ss-service-flow-manager.h: ns3::EventId ns3::SsServiceFlowManager::GetDsaAckTimeoutEvent() const [member function] - cls.add_method('GetDsaAckTimeoutEvent', - 'ns3::EventId', - [], - is_const=True) - ## ss-service-flow-manager.h: ns3::EventId ns3::SsServiceFlowManager::GetDsaRspTimeoutEvent() const [member function] - cls.add_method('GetDsaRspTimeoutEvent', - 'ns3::EventId', - [], - is_const=True) - ## ss-service-flow-manager.h: uint8_t ns3::SsServiceFlowManager::GetMaxDsaReqRetries() const [member function] - cls.add_method('GetMaxDsaReqRetries', - 'uint8_t', - [], - is_const=True) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::InitiateServiceFlows() [member function] - cls.add_method('InitiateServiceFlows', - 'void', - []) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::ProcessDsaRsp(ns3::DsaRsp const & dsaRsp) [member function] - cls.add_method('ProcessDsaRsp', - 'void', - [param('ns3::DsaRsp const &', 'dsaRsp')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::ScheduleDsaReq(ns3::ServiceFlow const * serviceFlow) [member function] - cls.add_method('ScheduleDsaReq', - 'void', - [param('ns3::ServiceFlow const *', 'serviceFlow')]) - ## ss-service-flow-manager.h: void ns3::SsServiceFlowManager::SetMaxDsaReqRetries(uint8_t maxDsaReqRetries) [member function] - cls.add_method('SetMaxDsaReqRetries', - 'void', - [param('uint8_t', 'maxDsaReqRetries')]) - return - -def register_Ns3Tlv_methods(root_module, cls): - ## wimax-tlv.h: ns3::Tlv::Tlv(uint8_t type, uint64_t length, ns3::TlvValue const & value) [constructor] - cls.add_constructor([param('uint8_t', 'type'), param('uint64_t', 'length'), param('ns3::TlvValue const &', 'value')]) - ## wimax-tlv.h: ns3::Tlv::Tlv() [constructor] - cls.add_constructor([]) - ## wimax-tlv.h: ns3::Tlv::Tlv(ns3::Tlv const & tlv) [copy constructor] - cls.add_constructor([param('ns3::Tlv const &', 'tlv')]) - ## wimax-tlv.h: ns3::Tlv * ns3::Tlv::Copy() const [member function] - cls.add_method('Copy', - 'ns3::Tlv *', - [], - is_const=True) - ## wimax-tlv.h: ns3::TlvValue * ns3::Tlv::CopyValue() const [member function] - cls.add_method('CopyValue', - 'ns3::TlvValue *', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::Tlv::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-tlv.h: ns3::TypeId ns3::Tlv::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint64_t ns3::Tlv::GetLength() const [member function] - cls.add_method('GetLength', - 'uint64_t', - [], - is_const=True) - ## wimax-tlv.h: uint32_t ns3::Tlv::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-tlv.h: uint8_t ns3::Tlv::GetSizeOfLen() const [member function] - cls.add_method('GetSizeOfLen', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: uint8_t ns3::Tlv::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## wimax-tlv.h: ns3::TlvValue * ns3::Tlv::PeekValue() [member function] - cls.add_method('PeekValue', - 'ns3::TlvValue *', - []) - ## wimax-tlv.h: void ns3::Tlv::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-tlv.h: void ns3::Tlv::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3Ucd_methods(root_module, cls): - ## ul-mac-messages.h: ns3::Ucd::Ucd(ns3::Ucd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Ucd const &', 'arg0')]) - ## ul-mac-messages.h: ns3::Ucd::Ucd() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: void ns3::Ucd::AddUlBurstProfile(ns3::OfdmUlBurstProfile ulBurstProfile) [member function] - cls.add_method('AddUlBurstProfile', - 'void', - [param('ns3::OfdmUlBurstProfile', 'ulBurstProfile')]) - ## ul-mac-messages.h: uint32_t ns3::Ucd::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ul-mac-messages.h: ns3::OfdmUcdChannelEncodings ns3::Ucd::GetChannelEncodings() const [member function] - cls.add_method('GetChannelEncodings', - 'ns3::OfdmUcdChannelEncodings', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetConfigurationChangeCount() const [member function] - cls.add_method('GetConfigurationChangeCount', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::TypeId ns3::Ucd::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: std::string ns3::Ucd::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetNrUlBurstProfiles() const [member function] - cls.add_method('GetNrUlBurstProfiles', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetRangingBackoffEnd() const [member function] - cls.add_method('GetRangingBackoffEnd', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetRangingBackoffStart() const [member function] - cls.add_method('GetRangingBackoffStart', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetRequestBackoffEnd() const [member function] - cls.add_method('GetRequestBackoffEnd', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint8_t ns3::Ucd::GetRequestBackoffStart() const [member function] - cls.add_method('GetRequestBackoffStart', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: uint32_t ns3::Ucd::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: static ns3::TypeId ns3::Ucd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ul-mac-messages.h: std::vector > ns3::Ucd::GetUlBurstProfiles() const [member function] - cls.add_method('GetUlBurstProfiles', - 'std::vector< ns3::OfdmUlBurstProfile >', - [], - is_const=True) - ## ul-mac-messages.h: void ns3::Ucd::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: void ns3::Ucd::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: void ns3::Ucd::SetChannelEncodings(ns3::OfdmUcdChannelEncodings channelEncodings) [member function] - cls.add_method('SetChannelEncodings', - 'void', - [param('ns3::OfdmUcdChannelEncodings', 'channelEncodings')]) - ## ul-mac-messages.h: void ns3::Ucd::SetConfigurationChangeCount(uint8_t ucdCount) [member function] - cls.add_method('SetConfigurationChangeCount', - 'void', - [param('uint8_t', 'ucdCount')]) - ## ul-mac-messages.h: void ns3::Ucd::SetNrUlBurstProfiles(uint8_t nrUlBurstProfiles) [member function] - cls.add_method('SetNrUlBurstProfiles', - 'void', - [param('uint8_t', 'nrUlBurstProfiles')]) - ## ul-mac-messages.h: void ns3::Ucd::SetRangingBackoffEnd(uint8_t rangingBackoffEnd) [member function] - cls.add_method('SetRangingBackoffEnd', - 'void', - [param('uint8_t', 'rangingBackoffEnd')]) - ## ul-mac-messages.h: void ns3::Ucd::SetRangingBackoffStart(uint8_t rangingBackoffStart) [member function] - cls.add_method('SetRangingBackoffStart', - 'void', - [param('uint8_t', 'rangingBackoffStart')]) - ## ul-mac-messages.h: void ns3::Ucd::SetRequestBackoffEnd(uint8_t requestBackoffEnd) [member function] - cls.add_method('SetRequestBackoffEnd', - 'void', - [param('uint8_t', 'requestBackoffEnd')]) - ## ul-mac-messages.h: void ns3::Ucd::SetRequestBackoffStart(uint8_t requestBackoffStart) [member function] - cls.add_method('SetRequestBackoffStart', - 'void', - [param('uint8_t', 'requestBackoffStart')]) - return - -def register_Ns3UlJob_methods(root_module, cls): - cls.add_binary_comparison_operator('==') - ## ul-job.h: ns3::UlJob::UlJob(ns3::UlJob const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UlJob const &', 'arg0')]) - ## ul-job.h: ns3::UlJob::UlJob() [constructor] - cls.add_constructor([]) - ## ul-job.h: ns3::Time ns3::UlJob::GetDeadline() [member function] - cls.add_method('GetDeadline', - 'ns3::Time', - []) - ## ul-job.h: ns3::Time ns3::UlJob::GetPeriod() [member function] - cls.add_method('GetPeriod', - 'ns3::Time', - []) - ## ul-job.h: ns3::Time ns3::UlJob::GetReleaseTime() [member function] - cls.add_method('GetReleaseTime', - 'ns3::Time', - []) - ## ul-job.h: ns3::ServiceFlow::SchedulingType ns3::UlJob::GetSchedulingType() [member function] - cls.add_method('GetSchedulingType', - 'ns3::ServiceFlow::SchedulingType', - []) - ## ul-job.h: ns3::ServiceFlow * ns3::UlJob::GetServiceFlow() [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - []) - ## ul-job.h: uint32_t ns3::UlJob::GetSize() [member function] - cls.add_method('GetSize', - 'uint32_t', - []) - ## ul-job.h: ns3::SSRecord * ns3::UlJob::GetSsRecord() [member function] - cls.add_method('GetSsRecord', - 'ns3::SSRecord *', - []) - ## ul-job.h: ns3::ReqType ns3::UlJob::GetType() [member function] - cls.add_method('GetType', - 'ns3::ReqType', - []) - ## ul-job.h: void ns3::UlJob::SetDeadline(ns3::Time deadline) [member function] - cls.add_method('SetDeadline', - 'void', - [param('ns3::Time', 'deadline')]) - ## ul-job.h: void ns3::UlJob::SetPeriod(ns3::Time period) [member function] - cls.add_method('SetPeriod', - 'void', - [param('ns3::Time', 'period')]) - ## ul-job.h: void ns3::UlJob::SetReleaseTime(ns3::Time releaseTime) [member function] - cls.add_method('SetReleaseTime', - 'void', - [param('ns3::Time', 'releaseTime')]) - ## ul-job.h: void ns3::UlJob::SetSchedulingType(ns3::ServiceFlow::SchedulingType schedulingType) [member function] - cls.add_method('SetSchedulingType', - 'void', - [param('ns3::ServiceFlow::SchedulingType', 'schedulingType')]) - ## ul-job.h: void ns3::UlJob::SetServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## ul-job.h: void ns3::UlJob::SetSize(uint32_t size) [member function] - cls.add_method('SetSize', - 'void', - [param('uint32_t', 'size')]) - ## ul-job.h: void ns3::UlJob::SetSsRecord(ns3::SSRecord * ssRecord) [member function] - cls.add_method('SetSsRecord', - 'void', - [param('ns3::SSRecord *', 'ssRecord')]) - ## ul-job.h: void ns3::UlJob::SetType(ns3::ReqType type) [member function] - cls.add_method('SetType', - 'void', - [param('ns3::ReqType', 'type')]) - return - -def register_Ns3UlMap_methods(root_module, cls): - ## ul-mac-messages.h: ns3::UlMap::UlMap(ns3::UlMap const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UlMap const &', 'arg0')]) - ## ul-mac-messages.h: ns3::UlMap::UlMap() [constructor] - cls.add_constructor([]) - ## ul-mac-messages.h: void ns3::UlMap::AddUlMapElement(ns3::OfdmUlMapIe ulMapElement) [member function] - cls.add_method('AddUlMapElement', - 'void', - [param('ns3::OfdmUlMapIe', 'ulMapElement')]) - ## ul-mac-messages.h: uint32_t ns3::UlMap::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## ul-mac-messages.h: uint32_t ns3::UlMap::GetAllocationStartTime() const [member function] - cls.add_method('GetAllocationStartTime', - 'uint32_t', - [], - is_const=True) - ## ul-mac-messages.h: ns3::TypeId ns3::UlMap::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: std::string ns3::UlMap::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## ul-mac-messages.h: uint32_t ns3::UlMap::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: static ns3::TypeId ns3::UlMap::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ul-mac-messages.h: uint8_t ns3::UlMap::GetUcdCount() const [member function] - cls.add_method('GetUcdCount', - 'uint8_t', - [], - is_const=True) - ## ul-mac-messages.h: std::list > ns3::UlMap::GetUlMapElements() const [member function] - cls.add_method('GetUlMapElements', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True) - ## ul-mac-messages.h: void ns3::UlMap::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: void ns3::UlMap::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## ul-mac-messages.h: void ns3::UlMap::SetAllocationStartTime(uint32_t allocationStartTime) [member function] - cls.add_method('SetAllocationStartTime', - 'void', - [param('uint32_t', 'allocationStartTime')]) - ## ul-mac-messages.h: void ns3::UlMap::SetUcdCount(uint8_t ucdCount) [member function] - cls.add_method('SetUcdCount', - 'void', - [param('uint8_t', 'ucdCount')]) - return - -def register_Ns3UplinkScheduler_methods(root_module, cls): - ## bs-uplink-scheduler.h: ns3::UplinkScheduler::UplinkScheduler(ns3::UplinkScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UplinkScheduler const &', 'arg0')]) - ## bs-uplink-scheduler.h: ns3::UplinkScheduler::UplinkScheduler() [constructor] - cls.add_constructor([]) - ## bs-uplink-scheduler.h: ns3::UplinkScheduler::UplinkScheduler(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::AddUplinkAllocation(ns3::OfdmUlMapIe & ulMapIe, uint32_t const & allocationSize, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AddUplinkAllocation', - 'void', - [param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('uint32_t const &', 'allocationSize'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::AllocateInitialRangingInterval(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AllocateInitialRangingInterval', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: uint32_t ns3::UplinkScheduler::CalculateAllocationStartTime() [member function] - cls.add_method('CalculateAllocationStartTime', - 'uint32_t', - [], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: ns3::Ptr ns3::UplinkScheduler::GetBs() [member function] - cls.add_method('GetBs', - 'ns3::Ptr< ns3::BaseStationNetDevice >', - [], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::GetChannelDescriptorsToUpdate(bool & arg0, bool & arg1, bool & arg2, bool & arg3) [member function] - cls.add_method('GetChannelDescriptorsToUpdate', - 'void', - [param('bool &', 'arg0'), param('bool &', 'arg1'), param('bool &', 'arg2'), param('bool &', 'arg3')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: ns3::Time ns3::UplinkScheduler::GetDcdTimeStamp() const [member function] - cls.add_method('GetDcdTimeStamp', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: bool ns3::UplinkScheduler::GetIsInvIrIntrvlAllocated() const [member function] - cls.add_method('GetIsInvIrIntrvlAllocated', - 'bool', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: bool ns3::UplinkScheduler::GetIsIrIntrvlAllocated() const [member function] - cls.add_method('GetIsIrIntrvlAllocated', - 'bool', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: uint8_t ns3::UplinkScheduler::GetNrIrOppsAllocated() const [member function] - cls.add_method('GetNrIrOppsAllocated', - 'uint8_t', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: ns3::Time ns3::UplinkScheduler::GetTimeStampIrInterval() [member function] - cls.add_method('GetTimeStampIrInterval', - 'ns3::Time', - [], - is_virtual=True) - ## bs-uplink-scheduler.h: static ns3::TypeId ns3::UplinkScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-uplink-scheduler.h: ns3::Time ns3::UplinkScheduler::GetUcdTimeStamp() const [member function] - cls.add_method('GetUcdTimeStamp', - 'ns3::Time', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: std::list > ns3::UplinkScheduler::GetUplinkAllocations() const [member function] - cls.add_method('GetUplinkAllocations', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::InitOnce() [member function] - cls.add_method('InitOnce', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::OnSetRequestedBandwidth(ns3::ServiceFlowRecord * sfr) [member function] - cls.add_method('OnSetRequestedBandwidth', - 'void', - [param('ns3::ServiceFlowRecord *', 'sfr')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::ProcessBandwidthRequest(ns3::BandwidthRequestHeader const & bwRequestHdr) [member function] - cls.add_method('ProcessBandwidthRequest', - 'void', - [param('ns3::BandwidthRequestHeader const &', 'bwRequestHdr')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::ServiceBandwidthRequests(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: bool ns3::UplinkScheduler::ServiceBandwidthRequests(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::ServiceUnsolicitedGrants(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceUnsolicitedGrants', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetBs(ns3::Ptr bs) [member function] - cls.add_method('SetBs', - 'void', - [param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetDcdTimeStamp(ns3::Time dcdTimeStamp) [member function] - cls.add_method('SetDcdTimeStamp', - 'void', - [param('ns3::Time', 'dcdTimeStamp')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetIsInvIrIntrvlAllocated(bool isInvIrIntrvlAllocated) [member function] - cls.add_method('SetIsInvIrIntrvlAllocated', - 'void', - [param('bool', 'isInvIrIntrvlAllocated')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetIsIrIntrvlAllocated(bool isIrIntrvlAllocated) [member function] - cls.add_method('SetIsIrIntrvlAllocated', - 'void', - [param('bool', 'isIrIntrvlAllocated')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetNrIrOppsAllocated(uint8_t nrIrOppsAllocated) [member function] - cls.add_method('SetNrIrOppsAllocated', - 'void', - [param('uint8_t', 'nrIrOppsAllocated')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetTimeStampIrInterval(ns3::Time timeStampIrInterval) [member function] - cls.add_method('SetTimeStampIrInterval', - 'void', - [param('ns3::Time', 'timeStampIrInterval')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetUcdTimeStamp(ns3::Time ucdTimeStamp) [member function] - cls.add_method('SetUcdTimeStamp', - 'void', - [param('ns3::Time', 'ucdTimeStamp')], - is_virtual=True) - ## bs-uplink-scheduler.h: void ns3::UplinkScheduler::SetupServiceFlow(ns3::SSRecord * ssRecord, ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetupServiceFlow', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow *', 'serviceFlow')], - is_pure_virtual=True, is_virtual=True) - return - -def register_Ns3UplinkSchedulerMBQoS_methods(root_module, cls): - ## bs-uplink-scheduler-mbqos.h: ns3::UplinkSchedulerMBQoS::UplinkSchedulerMBQoS(ns3::UplinkSchedulerMBQoS const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UplinkSchedulerMBQoS const &', 'arg0')]) - ## bs-uplink-scheduler-mbqos.h: ns3::UplinkSchedulerMBQoS::UplinkSchedulerMBQoS() [constructor] - cls.add_constructor([]) - ## bs-uplink-scheduler-mbqos.h: ns3::UplinkSchedulerMBQoS::UplinkSchedulerMBQoS(ns3::Time time) [constructor] - cls.add_constructor([param('ns3::Time', 'time')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::AddUplinkAllocation(ns3::OfdmUlMapIe & ulMapIe, uint32_t const & allocationSize, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AddUplinkAllocation', - 'void', - [param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('uint32_t const &', 'allocationSize'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::AllocateInitialRangingInterval(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AllocateInitialRangingInterval', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: uint32_t ns3::UplinkSchedulerMBQoS::CalculateAllocationStartTime() [member function] - cls.add_method('CalculateAllocationStartTime', - 'uint32_t', - [], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::CheckDeadline(uint32_t & availableSymbols) [member function] - cls.add_method('CheckDeadline', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::CheckMinimumBandwidth(uint32_t & availableSymbols) [member function] - cls.add_method('CheckMinimumBandwidth', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-uplink-scheduler-mbqos.h: uint32_t ns3::UplinkSchedulerMBQoS::CountSymbolsJobs(ns3::Ptr job) [member function] - cls.add_method('CountSymbolsJobs', - 'uint32_t', - [param('ns3::Ptr< ns3::UlJob >', 'job')]) - ## bs-uplink-scheduler-mbqos.h: uint32_t ns3::UplinkSchedulerMBQoS::CountSymbolsQueue(std::list, std::allocator > > jobs) [member function] - cls.add_method('CountSymbolsQueue', - 'uint32_t', - [param('std::list< ns3::Ptr< ns3::UlJob > >', 'jobs')]) - ## bs-uplink-scheduler-mbqos.h: ns3::Ptr ns3::UplinkSchedulerMBQoS::CreateUlJob(ns3::SSRecord * ssRecord, ns3::ServiceFlow::SchedulingType schedType, ns3::ReqType reqType) [member function] - cls.add_method('CreateUlJob', - 'ns3::Ptr< ns3::UlJob >', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedType'), param('ns3::ReqType', 'reqType')]) - ## bs-uplink-scheduler-mbqos.h: ns3::Ptr ns3::UplinkSchedulerMBQoS::DequeueJob(ns3::UlJob::JobPriority priority) [member function] - cls.add_method('DequeueJob', - 'ns3::Ptr< ns3::UlJob >', - [param('ns3::UlJob::JobPriority', 'priority')]) - ## bs-uplink-scheduler-mbqos.h: ns3::Time ns3::UplinkSchedulerMBQoS::DetermineDeadline(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('DetermineDeadline', - 'ns3::Time', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::EnqueueJob(ns3::UlJob::JobPriority priority, ns3::Ptr job) [member function] - cls.add_method('EnqueueJob', - 'void', - [param('ns3::UlJob::JobPriority', 'priority'), param('ns3::Ptr< ns3::UlJob >', 'job')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::GetChannelDescriptorsToUpdate(bool & arg0, bool & arg1, bool & arg2, bool & arg3) [member function] - cls.add_method('GetChannelDescriptorsToUpdate', - 'void', - [param('bool &', 'arg0'), param('bool &', 'arg1'), param('bool &', 'arg2'), param('bool &', 'arg3')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: uint32_t ns3::UplinkSchedulerMBQoS::GetPendingSize(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('GetPendingSize', - 'uint32_t', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## bs-uplink-scheduler-mbqos.h: static ns3::TypeId ns3::UplinkSchedulerMBQoS::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-uplink-scheduler-mbqos.h: std::list > ns3::UplinkSchedulerMBQoS::GetUplinkAllocations() const [member function] - cls.add_method('GetUplinkAllocations', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::InitOnce() [member function] - cls.add_method('InitOnce', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::OnSetRequestedBandwidth(ns3::ServiceFlowRecord * sfr) [member function] - cls.add_method('OnSetRequestedBandwidth', - 'void', - [param('ns3::ServiceFlowRecord *', 'sfr')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::ProcessBandwidthRequest(ns3::BandwidthRequestHeader const & bwRequestHdr) [member function] - cls.add_method('ProcessBandwidthRequest', - 'void', - [param('ns3::BandwidthRequestHeader const &', 'bwRequestHdr')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequests(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: bool ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequests(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: bool ns3::UplinkSchedulerMBQoS::ServiceBandwidthRequestsBytes(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols, uint32_t allocationSizeBytes) [member function] - cls.add_method('ServiceBandwidthRequestsBytes', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols'), param('uint32_t', 'allocationSizeBytes')]) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::ServiceUnsolicitedGrants(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceUnsolicitedGrants', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::SetupServiceFlow(ns3::SSRecord * ssRecord, ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetupServiceFlow', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow *', 'serviceFlow')], - is_virtual=True) - ## bs-uplink-scheduler-mbqos.h: void ns3::UplinkSchedulerMBQoS::UplinkSchedWindowTimer() [member function] - cls.add_method('UplinkSchedWindowTimer', - 'void', - []) - return - -def register_Ns3UplinkSchedulerRtps_methods(root_module, cls): - ## bs-uplink-scheduler-rtps.h: ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(ns3::UplinkSchedulerRtps const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UplinkSchedulerRtps const &', 'arg0')]) - ## bs-uplink-scheduler-rtps.h: ns3::UplinkSchedulerRtps::UplinkSchedulerRtps() [constructor] - cls.add_constructor([]) - ## bs-uplink-scheduler-rtps.h: ns3::UplinkSchedulerRtps::UplinkSchedulerRtps(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::AddUplinkAllocation(ns3::OfdmUlMapIe & ulMapIe, uint32_t const & allocationSize, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AddUplinkAllocation', - 'void', - [param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('uint32_t const &', 'allocationSize'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::AllocateInitialRangingInterval(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AllocateInitialRangingInterval', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: uint32_t ns3::UplinkSchedulerRtps::CalculateAllocationStartTime() [member function] - cls.add_method('CalculateAllocationStartTime', - 'uint32_t', - [], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::GetChannelDescriptorsToUpdate(bool & arg0, bool & arg1, bool & arg2, bool & arg3) [member function] - cls.add_method('GetChannelDescriptorsToUpdate', - 'void', - [param('bool &', 'arg0'), param('bool &', 'arg1'), param('bool &', 'arg2'), param('bool &', 'arg3')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: static ns3::TypeId ns3::UplinkSchedulerRtps::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-uplink-scheduler-rtps.h: std::list > ns3::UplinkSchedulerRtps::GetUplinkAllocations() const [member function] - cls.add_method('GetUplinkAllocations', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::InitOnce() [member function] - cls.add_method('InitOnce', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::OnSetRequestedBandwidth(ns3::ServiceFlowRecord * sfr) [member function] - cls.add_method('OnSetRequestedBandwidth', - 'void', - [param('ns3::ServiceFlowRecord *', 'sfr')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::ProcessBandwidthRequest(ns3::BandwidthRequestHeader const & bwRequestHdr) [member function] - cls.add_method('ProcessBandwidthRequest', - 'void', - [param('ns3::BandwidthRequestHeader const &', 'bwRequestHdr')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::ServiceBandwidthRequests(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: bool ns3::UplinkSchedulerRtps::ServiceBandwidthRequests(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::ServiceUnsolicitedGrants(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceUnsolicitedGrants', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::SetupServiceFlow(ns3::SSRecord * ssRecord, ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetupServiceFlow', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow *', 'serviceFlow')], - is_virtual=True) - ## bs-uplink-scheduler-rtps.h: void ns3::UplinkSchedulerRtps::ULSchedulerRTPSConnection(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ULSchedulerRTPSConnection', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')]) - return - -def register_Ns3UplinkSchedulerSimple_methods(root_module, cls): - ## bs-uplink-scheduler-simple.h: ns3::UplinkSchedulerSimple::UplinkSchedulerSimple(ns3::UplinkSchedulerSimple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::UplinkSchedulerSimple const &', 'arg0')]) - ## bs-uplink-scheduler-simple.h: ns3::UplinkSchedulerSimple::UplinkSchedulerSimple() [constructor] - cls.add_constructor([]) - ## bs-uplink-scheduler-simple.h: ns3::UplinkSchedulerSimple::UplinkSchedulerSimple(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::AddUplinkAllocation(ns3::OfdmUlMapIe & ulMapIe, uint32_t const & allocationSize, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AddUplinkAllocation', - 'void', - [param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('uint32_t const &', 'allocationSize'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::AllocateInitialRangingInterval(uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('AllocateInitialRangingInterval', - 'void', - [param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: uint32_t ns3::UplinkSchedulerSimple::CalculateAllocationStartTime() [member function] - cls.add_method('CalculateAllocationStartTime', - 'uint32_t', - [], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::GetChannelDescriptorsToUpdate(bool & arg0, bool & arg1, bool & arg2, bool & arg3) [member function] - cls.add_method('GetChannelDescriptorsToUpdate', - 'void', - [param('bool &', 'arg0'), param('bool &', 'arg1'), param('bool &', 'arg2'), param('bool &', 'arg3')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: static ns3::TypeId ns3::UplinkSchedulerSimple::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-uplink-scheduler-simple.h: std::list > ns3::UplinkSchedulerSimple::GetUplinkAllocations() const [member function] - cls.add_method('GetUplinkAllocations', - 'std::list< ns3::OfdmUlMapIe >', - [], - is_const=True, is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::InitOnce() [member function] - cls.add_method('InitOnce', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::OnSetRequestedBandwidth(ns3::ServiceFlowRecord * sfr) [member function] - cls.add_method('OnSetRequestedBandwidth', - 'void', - [param('ns3::ServiceFlowRecord *', 'sfr')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::ProcessBandwidthRequest(ns3::BandwidthRequestHeader const & bwRequestHdr) [member function] - cls.add_method('ProcessBandwidthRequest', - 'void', - [param('ns3::BandwidthRequestHeader const &', 'bwRequestHdr')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::ServiceBandwidthRequests(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: bool ns3::UplinkSchedulerSimple::ServiceBandwidthRequests(ns3::ServiceFlow * serviceFlow, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceBandwidthRequests', - 'bool', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::ServiceUnsolicitedGrants(ns3::SSRecord const * ssRecord, ns3::ServiceFlow::SchedulingType schedulingType, ns3::OfdmUlMapIe & ulMapIe, ns3::WimaxPhy::ModulationType const modulationType, uint32_t & symbolsToAllocation, uint32_t & availableSymbols) [member function] - cls.add_method('ServiceUnsolicitedGrants', - 'void', - [param('ns3::SSRecord const *', 'ssRecord'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType'), param('ns3::OfdmUlMapIe &', 'ulMapIe'), param('ns3::WimaxPhy::ModulationType const', 'modulationType'), param('uint32_t &', 'symbolsToAllocation'), param('uint32_t &', 'availableSymbols')], - is_virtual=True) - ## bs-uplink-scheduler-simple.h: void ns3::UplinkSchedulerSimple::SetupServiceFlow(ns3::SSRecord * ssRecord, ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetupServiceFlow', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::ServiceFlow *', 'serviceFlow')], - is_virtual=True) - return - -def register_Ns3WimaxConnection_methods(root_module, cls): - ## wimax-connection.h: ns3::WimaxConnection::WimaxConnection(ns3::WimaxConnection const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxConnection const &', 'arg0')]) - ## wimax-connection.h: ns3::WimaxConnection::WimaxConnection(ns3::Cid cid, ns3::Cid::Type type) [constructor] - cls.add_constructor([param('ns3::Cid', 'cid'), param('ns3::Cid::Type', 'type')]) - ## wimax-connection.h: void ns3::WimaxConnection::ClearFragmentsQueue() [member function] - cls.add_method('ClearFragmentsQueue', - 'void', - []) - ## wimax-connection.h: ns3::Ptr ns3::WimaxConnection::Dequeue(ns3::MacHeaderType::HeaderType packetType=::ns3::MacHeaderType::HEADER_TYPE_GENERIC) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType', default_value='::ns3::MacHeaderType::HEADER_TYPE_GENERIC')]) - ## wimax-connection.h: ns3::Ptr ns3::WimaxConnection::Dequeue(ns3::MacHeaderType::HeaderType packetType, uint32_t availableByte) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType'), param('uint32_t', 'availableByte')]) - ## wimax-connection.h: bool ns3::WimaxConnection::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::GenericMacHeader const & hdr) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::GenericMacHeader const &', 'hdr')]) - ## wimax-connection.h: void ns3::WimaxConnection::FragmentEnqueue(ns3::Ptr fragment) [member function] - cls.add_method('FragmentEnqueue', - 'void', - [param('ns3::Ptr< ns3::Packet const >', 'fragment')]) - ## wimax-connection.h: ns3::Cid ns3::WimaxConnection::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## wimax-connection.h: std::list, std::allocator > > const ns3::WimaxConnection::GetFragmentsQueue() const [member function] - cls.add_method('GetFragmentsQueue', - 'std::list< ns3::Ptr< ns3::Packet const > > const', - [], - is_const=True) - ## wimax-connection.h: ns3::Ptr ns3::WimaxConnection::GetQueue() const [member function] - cls.add_method('GetQueue', - 'ns3::Ptr< ns3::WimaxMacQueue >', - [], - is_const=True) - ## wimax-connection.h: uint8_t ns3::WimaxConnection::GetSchedulingType() const [member function] - cls.add_method('GetSchedulingType', - 'uint8_t', - [], - is_const=True) - ## wimax-connection.h: ns3::ServiceFlow * ns3::WimaxConnection::GetServiceFlow() const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [], - is_const=True) - ## wimax-connection.h: ns3::Cid::Type ns3::WimaxConnection::GetType() const [member function] - cls.add_method('GetType', - 'ns3::Cid::Type', - [], - is_const=True) - ## wimax-connection.h: static ns3::TypeId ns3::WimaxConnection::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-connection.h: std::string ns3::WimaxConnection::GetTypeStr() const [member function] - cls.add_method('GetTypeStr', - 'std::string', - [], - is_const=True) - ## wimax-connection.h: bool ns3::WimaxConnection::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## wimax-connection.h: bool ns3::WimaxConnection::HasPackets(ns3::MacHeaderType::HeaderType packetType) const [member function] - cls.add_method('HasPackets', - 'bool', - [param('ns3::MacHeaderType::HeaderType', 'packetType')], - is_const=True) - ## wimax-connection.h: void ns3::WimaxConnection::SetServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('SetServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## wimax-connection.h: void ns3::WimaxConnection::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3WimaxMacQueue_methods(root_module, cls): - ## wimax-mac-queue.h: ns3::WimaxMacQueue::WimaxMacQueue(ns3::WimaxMacQueue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxMacQueue const &', 'arg0')]) - ## wimax-mac-queue.h: ns3::WimaxMacQueue::WimaxMacQueue() [constructor] - cls.add_constructor([]) - ## wimax-mac-queue.h: ns3::WimaxMacQueue::WimaxMacQueue(uint32_t maxSize) [constructor] - cls.add_constructor([param('uint32_t', 'maxSize')]) - ## wimax-mac-queue.h: bool ns3::WimaxMacQueue::CheckForFragmentation(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('CheckForFragmentation', - 'bool', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Dequeue(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Dequeue(ns3::MacHeaderType::HeaderType packetType, uint32_t availableByte) [member function] - cls.add_method('Dequeue', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType'), param('uint32_t', 'availableByte')]) - ## wimax-mac-queue.h: bool ns3::WimaxMacQueue::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::GenericMacHeader const & hdr) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::GenericMacHeader const &', 'hdr')]) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetFirstPacketHdrSize(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('GetFirstPacketHdrSize', - 'uint32_t', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetFirstPacketPayloadSize(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('GetFirstPacketPayloadSize', - 'uint32_t', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetFirstPacketRequiredByte(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('GetFirstPacketRequiredByte', - 'uint32_t', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetMaxSize() const [member function] - cls.add_method('GetMaxSize', - 'uint32_t', - [], - is_const=True) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetNBytes() const [member function] - cls.add_method('GetNBytes', - 'uint32_t', - [], - is_const=True) - ## wimax-mac-queue.h: std::deque > const & ns3::WimaxMacQueue::GetPacketQueue() const [member function] - cls.add_method('GetPacketQueue', - 'std::deque< ns3::WimaxMacQueue::QueueElement > const &', - [], - is_const=True) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetQueueLengthWithMACOverhead() [member function] - cls.add_method('GetQueueLengthWithMACOverhead', - 'uint32_t', - []) - ## wimax-mac-queue.h: uint32_t ns3::WimaxMacQueue::GetSize() const [member function] - cls.add_method('GetSize', - 'uint32_t', - [], - is_const=True) - ## wimax-mac-queue.h: static ns3::TypeId ns3::WimaxMacQueue::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-queue.h: bool ns3::WimaxMacQueue::IsEmpty() const [member function] - cls.add_method('IsEmpty', - 'bool', - [], - is_const=True) - ## wimax-mac-queue.h: bool ns3::WimaxMacQueue::IsEmpty(ns3::MacHeaderType::HeaderType packetType) const [member function] - cls.add_method('IsEmpty', - 'bool', - [param('ns3::MacHeaderType::HeaderType', 'packetType')], - is_const=True) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Peek(ns3::GenericMacHeader & hdr) const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::GenericMacHeader &', 'hdr')], - is_const=True) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Peek(ns3::GenericMacHeader & hdr, ns3::Time & timeStamp) const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::GenericMacHeader &', 'hdr'), param('ns3::Time &', 'timeStamp')], - is_const=True) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Peek(ns3::MacHeaderType::HeaderType packetType) const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType')], - is_const=True) - ## wimax-mac-queue.h: ns3::Ptr ns3::WimaxMacQueue::Peek(ns3::MacHeaderType::HeaderType packetType, ns3::Time & timeStamp) const [member function] - cls.add_method('Peek', - 'ns3::Ptr< ns3::Packet >', - [param('ns3::MacHeaderType::HeaderType', 'packetType'), param('ns3::Time &', 'timeStamp')], - is_const=True) - ## wimax-mac-queue.h: void ns3::WimaxMacQueue::SetFragmentNumber(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('SetFragmentNumber', - 'void', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: void ns3::WimaxMacQueue::SetFragmentOffset(ns3::MacHeaderType::HeaderType packetType, uint32_t offset) [member function] - cls.add_method('SetFragmentOffset', - 'void', - [param('ns3::MacHeaderType::HeaderType', 'packetType'), param('uint32_t', 'offset')]) - ## wimax-mac-queue.h: void ns3::WimaxMacQueue::SetFragmentation(ns3::MacHeaderType::HeaderType packetType) [member function] - cls.add_method('SetFragmentation', - 'void', - [param('ns3::MacHeaderType::HeaderType', 'packetType')]) - ## wimax-mac-queue.h: void ns3::WimaxMacQueue::SetMaxSize(uint32_t maxSize) [member function] - cls.add_method('SetMaxSize', - 'void', - [param('uint32_t', 'maxSize')]) - return - -def register_Ns3WimaxMacToMacHeader_methods(root_module, cls): - ## wimax-mac-to-mac-header.h: ns3::WimaxMacToMacHeader::WimaxMacToMacHeader(ns3::WimaxMacToMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxMacToMacHeader const &', 'arg0')]) - ## wimax-mac-to-mac-header.h: ns3::WimaxMacToMacHeader::WimaxMacToMacHeader() [constructor] - cls.add_constructor([]) - ## wimax-mac-to-mac-header.h: ns3::WimaxMacToMacHeader::WimaxMacToMacHeader(uint32_t len) [constructor] - cls.add_constructor([param('uint32_t', 'len')]) - ## wimax-mac-to-mac-header.h: uint32_t ns3::WimaxMacToMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-to-mac-header.h: ns3::TypeId ns3::WimaxMacToMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-to-mac-header.h: uint32_t ns3::WimaxMacToMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-to-mac-header.h: uint8_t ns3::WimaxMacToMacHeader::GetSizeOfLen() const [member function] - cls.add_method('GetSizeOfLen', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-to-mac-header.h: static ns3::TypeId ns3::WimaxMacToMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-to-mac-header.h: void ns3::WimaxMacToMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-to-mac-header.h: void ns3::WimaxMacToMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - return - -def register_Ns3WimaxPhy_methods(root_module, cls): - ## wimax-phy.h: ns3::WimaxPhy::WimaxPhy(ns3::WimaxPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxPhy const &', 'arg0')]) - ## wimax-phy.h: ns3::WimaxPhy::WimaxPhy() [constructor] - cls.add_constructor([]) - ## wimax-phy.h: void ns3::WimaxPhy::Attach(ns3::Ptr channel) [member function] - cls.add_method('Attach', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'channel')]) - ## wimax-phy.h: void ns3::WimaxPhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## wimax-phy.h: ns3::Ptr ns3::WimaxPhy::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::WimaxChannel >', - [], - is_const=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::GetChannelBandwidth() const [member function] - cls.add_method('GetChannelBandwidth', - 'uint32_t', - [], - is_const=True) - ## wimax-phy.h: ns3::EventId ns3::WimaxPhy::GetChnlSrchTimeoutEvent() const [member function] - cls.add_method('GetChnlSrchTimeoutEvent', - 'ns3::EventId', - [], - is_const=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::GetDataRate(ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('GetDataRate', - 'uint32_t', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True) - ## wimax-phy.h: ns3::Ptr ns3::WimaxPhy::GetDevice() const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetFrameDuration() const [member function] - cls.add_method('GetFrameDuration', - 'ns3::Time', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetFrameDuration(uint8_t frameDurationCode) const [member function] - cls.add_method('GetFrameDuration', - 'ns3::Time', - [param('uint8_t', 'frameDurationCode')], - is_const=True) - ## wimax-phy.h: uint8_t ns3::WimaxPhy::GetFrameDurationCode() const [member function] - cls.add_method('GetFrameDurationCode', - 'uint8_t', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetFrameDurationSec() const [member function] - cls.add_method('GetFrameDurationSec', - 'ns3::Time', - [], - is_const=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::GetFrequency() const [member function] - cls.add_method('GetFrequency', - 'uint32_t', - [], - is_const=True) - ## wimax-phy.h: double ns3::WimaxPhy::GetGValue() const [member function] - cls.add_method('GetGValue', - 'double', - [], - is_const=True) - ## wimax-phy.h: ns3::Ptr ns3::WimaxPhy::GetMobility() [member function] - cls.add_method('GetMobility', - 'ns3::Ptr< ns3::Object >', - [], - is_virtual=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetNfft() const [member function] - cls.add_method('GetNfft', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetNrBytes(uint32_t symbols, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('GetNrBytes', - 'uint64_t', - [param('uint32_t', 'symbols'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True) - ## wimax-phy.h: uint8_t ns3::WimaxPhy::GetNrCarriers() const [member function] - cls.add_method('GetNrCarriers', - 'uint8_t', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetNrSymbols(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('GetNrSymbols', - 'uint64_t', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True) - ## wimax-phy.h: ns3::WimaxPhy::PhyType ns3::WimaxPhy::GetPhyType() const [member function] - cls.add_method('GetPhyType', - 'ns3::WimaxPhy::PhyType', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetPsDuration() const [member function] - cls.add_method('GetPsDuration', - 'ns3::Time', - [], - is_const=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetPsPerFrame() const [member function] - cls.add_method('GetPsPerFrame', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetPsPerSymbol() const [member function] - cls.add_method('GetPsPerSymbol', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> ns3::WimaxPhy::GetReceiveCallback() const [member function] - cls.add_method('GetReceiveCallback', - 'ns3::Callback< void, ns3::Ptr< ns3::PacketBurst const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', - [], - is_const=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetRtg() const [member function] - cls.add_method('GetRtg', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetRxFrequency() const [member function] - cls.add_method('GetRxFrequency', - 'uint64_t', - [], - is_const=True) - ## wimax-phy.h: double ns3::WimaxPhy::GetSamplingFactor() const [member function] - cls.add_method('GetSamplingFactor', - 'double', - [], - is_const=True) - ## wimax-phy.h: double ns3::WimaxPhy::GetSamplingFrequency() const [member function] - cls.add_method('GetSamplingFrequency', - 'double', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetScanningFrequency() const [member function] - cls.add_method('GetScanningFrequency', - 'uint64_t', - [], - is_const=True) - ## wimax-phy.h: ns3::WimaxPhy::PhyState ns3::WimaxPhy::GetState() const [member function] - cls.add_method('GetState', - 'ns3::WimaxPhy::PhyState', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetSymbolDuration() const [member function] - cls.add_method('GetSymbolDuration', - 'ns3::Time', - [], - is_const=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::GetSymbolsPerFrame() const [member function] - cls.add_method('GetSymbolsPerFrame', - 'uint32_t', - [], - is_const=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::GetTransmissionTime(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('GetTransmissionTime', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::GetTtg() const [member function] - cls.add_method('GetTtg', - 'uint16_t', - [], - is_const=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::GetTxFrequency() const [member function] - cls.add_method('GetTxFrequency', - 'uint64_t', - [], - is_const=True) - ## wimax-phy.h: static ns3::TypeId ns3::WimaxPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-phy.h: bool ns3::WimaxPhy::IsDuplex() const [member function] - cls.add_method('IsDuplex', - 'bool', - [], - is_const=True) - ## wimax-phy.h: void ns3::WimaxPhy::Send(ns3::SendParams * params) [member function] - cls.add_method('Send', - 'void', - [param('ns3::SendParams *', 'params')], - is_pure_virtual=True, is_virtual=True) - ## wimax-phy.h: void ns3::WimaxPhy::SetChannelBandwidth(uint32_t channelBandwidth) [member function] - cls.add_method('SetChannelBandwidth', - 'void', - [param('uint32_t', 'channelBandwidth')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetDataRates() [member function] - cls.add_method('SetDataRates', - 'void', - []) - ## wimax-phy.h: void ns3::WimaxPhy::SetDevice(ns3::Ptr device) [member function] - cls.add_method('SetDevice', - 'void', - [param('ns3::Ptr< ns3::WimaxNetDevice >', 'device')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetDuplex(uint64_t rxFrequency, uint64_t txFrequency) [member function] - cls.add_method('SetDuplex', - 'void', - [param('uint64_t', 'rxFrequency'), param('uint64_t', 'txFrequency')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetFrameDuration(ns3::Time frameDuration) [member function] - cls.add_method('SetFrameDuration', - 'void', - [param('ns3::Time', 'frameDuration')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetFrequency(uint32_t frequency) [member function] - cls.add_method('SetFrequency', - 'void', - [param('uint32_t', 'frequency')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetMobility(ns3::Ptr mobility) [member function] - cls.add_method('SetMobility', - 'void', - [param('ns3::Ptr< ns3::Object >', 'mobility')], - is_virtual=True) - ## wimax-phy.h: void ns3::WimaxPhy::SetNrCarriers(uint8_t nrCarriers) [member function] - cls.add_method('SetNrCarriers', - 'void', - [param('uint8_t', 'nrCarriers')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetPhyParameters() [member function] - cls.add_method('SetPhyParameters', - 'void', - []) - ## wimax-phy.h: void ns3::WimaxPhy::SetPsDuration(ns3::Time psDuration) [member function] - cls.add_method('SetPsDuration', - 'void', - [param('ns3::Time', 'psDuration')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetPsPerFrame(uint16_t psPerFrame) [member function] - cls.add_method('SetPsPerFrame', - 'void', - [param('uint16_t', 'psPerFrame')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetPsPerSymbol(uint16_t psPerSymbol) [member function] - cls.add_method('SetPsPerSymbol', - 'void', - [param('uint16_t', 'psPerSymbol')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetReceiveCallback(ns3::Callback, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> callback) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::PacketBurst const >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetScanningCallback() const [member function] - cls.add_method('SetScanningCallback', - 'void', - [], - is_const=True) - ## wimax-phy.h: void ns3::WimaxPhy::SetSimplex(uint64_t frequency) [member function] - cls.add_method('SetSimplex', - 'void', - [param('uint64_t', 'frequency')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetState(ns3::WimaxPhy::PhyState state) [member function] - cls.add_method('SetState', - 'void', - [param('ns3::WimaxPhy::PhyState', 'state')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetSymbolDuration(ns3::Time symbolDuration) [member function] - cls.add_method('SetSymbolDuration', - 'void', - [param('ns3::Time', 'symbolDuration')]) - ## wimax-phy.h: void ns3::WimaxPhy::SetSymbolsPerFrame(uint32_t symbolsPerFrame) [member function] - cls.add_method('SetSymbolsPerFrame', - 'void', - [param('uint32_t', 'symbolsPerFrame')]) - ## wimax-phy.h: void ns3::WimaxPhy::StartScanning(uint64_t frequency, ns3::Time timeout, ns3::Callback callback) [member function] - cls.add_method('StartScanning', - 'void', - [param('uint64_t', 'frequency'), param('ns3::Time', 'timeout'), param('ns3::Callback< void, bool, unsigned long, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## wimax-phy.h: void ns3::WimaxPhy::DoAttach(ns3::Ptr channel) [member function] - cls.add_method('DoAttach', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'channel')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint32_t ns3::WimaxPhy::DoGetDataRate(ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetDataRate', - 'uint32_t', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::DoGetFrameDuration(uint8_t frameDurationCode) const [member function] - cls.add_method('DoGetFrameDuration', - 'ns3::Time', - [param('uint8_t', 'frameDurationCode')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint8_t ns3::WimaxPhy::DoGetFrameDurationCode() const [member function] - cls.add_method('DoGetFrameDurationCode', - 'uint8_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: double ns3::WimaxPhy::DoGetGValue() const [member function] - cls.add_method('DoGetGValue', - 'double', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::DoGetNfft() const [member function] - cls.add_method('DoGetNfft', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::DoGetNrBytes(uint32_t symbols, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetNrBytes', - 'uint64_t', - [param('uint32_t', 'symbols'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint64_t ns3::WimaxPhy::DoGetNrSymbols(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetNrSymbols', - 'uint64_t', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::DoGetRtg() const [member function] - cls.add_method('DoGetRtg', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: double ns3::WimaxPhy::DoGetSamplingFactor() const [member function] - cls.add_method('DoGetSamplingFactor', - 'double', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: double ns3::WimaxPhy::DoGetSamplingFrequency() const [member function] - cls.add_method('DoGetSamplingFrequency', - 'double', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: ns3::Time ns3::WimaxPhy::DoGetTransmissionTime(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetTransmissionTime', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: uint16_t ns3::WimaxPhy::DoGetTtg() const [member function] - cls.add_method('DoGetTtg', - 'uint16_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-phy.h: void ns3::WimaxPhy::DoSetDataRates() [member function] - cls.add_method('DoSetDataRates', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-phy.h: void ns3::WimaxPhy::DoSetPhyParameters() [member function] - cls.add_method('DoSetPhyParameters', - 'void', - [], - is_pure_virtual=True, visibility='private', is_virtual=True) - return - -def register_Ns3BSScheduler_methods(root_module, cls): - ## bs-scheduler.h: ns3::BSScheduler::BSScheduler(ns3::BSScheduler const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BSScheduler const &', 'arg0')]) - ## bs-scheduler.h: ns3::BSScheduler::BSScheduler() [constructor] - cls.add_constructor([]) - ## bs-scheduler.h: ns3::BSScheduler::BSScheduler(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-scheduler.h: void ns3::BSScheduler::AddDownlinkBurst(ns3::Ptr connection, uint8_t diuc, ns3::WimaxPhy::ModulationType modulationType, ns3::Ptr burst) [member function] - cls.add_method('AddDownlinkBurst', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection const >', 'connection'), param('uint8_t', 'diuc'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')], - is_pure_virtual=True, is_virtual=True) - ## bs-scheduler.h: bool ns3::BSScheduler::CheckForFragmentation(ns3::Ptr connection, int availableSymbols, ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('CheckForFragmentation', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection >', 'connection'), param('int', 'availableSymbols'), param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## bs-scheduler.h: ns3::Ptr ns3::BSScheduler::CreateUgsBurst(ns3::ServiceFlow * serviceFlow, ns3::WimaxPhy::ModulationType modulationType, uint32_t availableSymbols) [member function] - cls.add_method('CreateUgsBurst', - 'ns3::Ptr< ns3::PacketBurst >', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint32_t', 'availableSymbols')], - is_pure_virtual=True, is_virtual=True) - ## bs-scheduler.h: ns3::Ptr ns3::BSScheduler::GetBs() [member function] - cls.add_method('GetBs', - 'ns3::Ptr< ns3::BaseStationNetDevice >', - [], - is_virtual=True) - ## bs-scheduler.h: std::list >,std::allocator > > > * ns3::BSScheduler::GetDownlinkBursts() const [member function] - cls.add_method('GetDownlinkBursts', - 'std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > > *', - [], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## bs-scheduler.h: static ns3::TypeId ns3::BSScheduler::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-scheduler.h: void ns3::BSScheduler::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## bs-scheduler.h: bool ns3::BSScheduler::SelectConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')], - is_pure_virtual=True, is_virtual=True) - ## bs-scheduler.h: void ns3::BSScheduler::SetBs(ns3::Ptr bs) [member function] - cls.add_method('SetBs', - 'void', - [param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')], - is_virtual=True) - return - -def register_Ns3BSSchedulerRtps_methods(root_module, cls): - ## bs-scheduler-rtps.h: ns3::BSSchedulerRtps::BSSchedulerRtps(ns3::BSSchedulerRtps const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BSSchedulerRtps const &', 'arg0')]) - ## bs-scheduler-rtps.h: ns3::BSSchedulerRtps::BSSchedulerRtps() [constructor] - cls.add_constructor([]) - ## bs-scheduler-rtps.h: ns3::BSSchedulerRtps::BSSchedulerRtps(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::AddDownlinkBurst(ns3::Ptr connection, uint8_t diuc, ns3::WimaxPhy::ModulationType modulationType, ns3::Ptr burst) [member function] - cls.add_method('AddDownlinkBurst', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection const >', 'connection'), param('uint8_t', 'diuc'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')], - is_virtual=True) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerBEConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerBEConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerBasicConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerBasicConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerBroadcastConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerBroadcastConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerInitialRangingConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerInitialRangingConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerNRTPSConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerNRTPSConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerPrimaryConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerPrimaryConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerRTPSConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerRTPSConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::BSSchedulerUGSConnection(uint32_t & availableSymbols) [member function] - cls.add_method('BSSchedulerUGSConnection', - 'void', - [param('uint32_t &', 'availableSymbols')]) - ## bs-scheduler-rtps.h: ns3::Ptr ns3::BSSchedulerRtps::CreateUgsBurst(ns3::ServiceFlow * serviceFlow, ns3::WimaxPhy::ModulationType modulationType, uint32_t availableSymbols) [member function] - cls.add_method('CreateUgsBurst', - 'ns3::Ptr< ns3::PacketBurst >', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint32_t', 'availableSymbols')], - is_virtual=True) - ## bs-scheduler-rtps.h: std::list >,std::allocator > > > * ns3::BSSchedulerRtps::GetDownlinkBursts() const [member function] - cls.add_method('GetDownlinkBursts', - 'std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > > *', - [], - is_const=True, is_virtual=True) - ## bs-scheduler-rtps.h: static ns3::TypeId ns3::BSSchedulerRtps::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-scheduler-rtps.h: void ns3::BSSchedulerRtps::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectBEConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectBEConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')], - is_virtual=True) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectIRandBCConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectIRandBCConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectMenagementConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectMenagementConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectNRTPSConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectNRTPSConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectRTPSConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectRTPSConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - ## bs-scheduler-rtps.h: bool ns3::BSSchedulerRtps::SelectUGSConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectUGSConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')]) - return - -def register_Ns3BSSchedulerSimple_methods(root_module, cls): - ## bs-scheduler-simple.h: ns3::BSSchedulerSimple::BSSchedulerSimple(ns3::BSSchedulerSimple const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BSSchedulerSimple const &', 'arg0')]) - ## bs-scheduler-simple.h: ns3::BSSchedulerSimple::BSSchedulerSimple() [constructor] - cls.add_constructor([]) - ## bs-scheduler-simple.h: ns3::BSSchedulerSimple::BSSchedulerSimple(ns3::Ptr bs) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'bs')]) - ## bs-scheduler-simple.h: void ns3::BSSchedulerSimple::AddDownlinkBurst(ns3::Ptr connection, uint8_t diuc, ns3::WimaxPhy::ModulationType modulationType, ns3::Ptr burst) [member function] - cls.add_method('AddDownlinkBurst', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection const >', 'connection'), param('uint8_t', 'diuc'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')], - is_virtual=True) - ## bs-scheduler-simple.h: ns3::Ptr ns3::BSSchedulerSimple::CreateUgsBurst(ns3::ServiceFlow * serviceFlow, ns3::WimaxPhy::ModulationType modulationType, uint32_t availableSymbols) [member function] - cls.add_method('CreateUgsBurst', - 'ns3::Ptr< ns3::PacketBurst >', - [param('ns3::ServiceFlow *', 'serviceFlow'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint32_t', 'availableSymbols')], - is_virtual=True) - ## bs-scheduler-simple.h: std::list >,std::allocator > > > * ns3::BSSchedulerSimple::GetDownlinkBursts() const [member function] - cls.add_method('GetDownlinkBursts', - 'std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > > *', - [], - is_const=True, is_virtual=True) - ## bs-scheduler-simple.h: static ns3::TypeId ns3::BSSchedulerSimple::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-scheduler-simple.h: void ns3::BSSchedulerSimple::Schedule() [member function] - cls.add_method('Schedule', - 'void', - [], - is_virtual=True) - ## bs-scheduler-simple.h: bool ns3::BSSchedulerSimple::SelectConnection(ns3::Ptr & connection) [member function] - cls.add_method('SelectConnection', - 'bool', - [param('ns3::Ptr< ns3::WimaxConnection > &', 'connection')], - is_virtual=True) - return - -def register_Ns3BandwidthRequestHeader_methods(root_module, cls): - ## wimax-mac-header.h: ns3::BandwidthRequestHeader::BandwidthRequestHeader(ns3::BandwidthRequestHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BandwidthRequestHeader const &', 'arg0')]) - ## wimax-mac-header.h: ns3::BandwidthRequestHeader::BandwidthRequestHeader() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: uint32_t ns3::BandwidthRequestHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: uint32_t ns3::BandwidthRequestHeader::GetBr() const [member function] - cls.add_method('GetBr', - 'uint32_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::Cid ns3::BandwidthRequestHeader::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::BandwidthRequestHeader::GetEc() const [member function] - cls.add_method('GetEc', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::BandwidthRequestHeader::GetHcs() const [member function] - cls.add_method('GetHcs', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::BandwidthRequestHeader::GetHt() const [member function] - cls.add_method('GetHt', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::TypeId ns3::BandwidthRequestHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: std::string ns3::BandwidthRequestHeader::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::BandwidthRequestHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::BandwidthRequestHeader::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::BandwidthRequestHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetBr(uint32_t br) [member function] - cls.add_method('SetBr', - 'void', - [param('uint32_t', 'br')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetEc(uint8_t ec) [member function] - cls.add_method('SetEc', - 'void', - [param('uint8_t', 'ec')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetHcs(uint8_t hcs) [member function] - cls.add_method('SetHcs', - 'void', - [param('uint8_t', 'hcs')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetHt(uint8_t HT) [member function] - cls.add_method('SetHt', - 'void', - [param('uint8_t', 'HT')]) - ## wimax-mac-header.h: void ns3::BandwidthRequestHeader::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## wimax-mac-header.h: bool ns3::BandwidthRequestHeader::check_hcs() const [member function] - cls.add_method('check_hcs', - 'bool', - [], - is_const=True) - return - -def register_Ns3BsServiceFlowManager_methods(root_module, cls): - ## bs-service-flow-manager.h: ns3::BsServiceFlowManager::BsServiceFlowManager(ns3::BsServiceFlowManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::BsServiceFlowManager const &', 'arg0')]) - ## bs-service-flow-manager.h: ns3::BsServiceFlowManager::BsServiceFlowManager(ns3::Ptr device) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::BaseStationNetDevice >', 'device')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::AddMulticastServiceFlow(ns3::ServiceFlow sf, ns3::WimaxPhy::ModulationType modulation) [member function] - cls.add_method('AddMulticastServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'sf'), param('ns3::WimaxPhy::ModulationType', 'modulation')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::AddServiceFlow(ns3::ServiceFlow * serviceFlow) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'serviceFlow')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::AllocateServiceFlows(ns3::DsaReq const & dsaReq, ns3::Cid cid) [member function] - cls.add_method('AllocateServiceFlows', - 'void', - [param('ns3::DsaReq const &', 'dsaReq'), param('ns3::Cid', 'cid')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## bs-service-flow-manager.h: ns3::EventId ns3::BsServiceFlowManager::GetDsaAckTimeoutEvent() const [member function] - cls.add_method('GetDsaAckTimeoutEvent', - 'ns3::EventId', - [], - is_const=True) - ## bs-service-flow-manager.h: ns3::ServiceFlow * ns3::BsServiceFlowManager::GetServiceFlow(uint32_t sfid) const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [param('uint32_t', 'sfid')], - is_const=True) - ## bs-service-flow-manager.h: ns3::ServiceFlow * ns3::BsServiceFlowManager::GetServiceFlow(ns3::Cid cid) const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow *', - [param('ns3::Cid', 'cid')], - is_const=True) - ## bs-service-flow-manager.h: std::vector > ns3::BsServiceFlowManager::GetServiceFlows(ns3::ServiceFlow::SchedulingType schedulingType) const [member function] - cls.add_method('GetServiceFlows', - 'std::vector< ns3::ServiceFlow * >', - [param('ns3::ServiceFlow::SchedulingType', 'schedulingType')], - is_const=True) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::ProcessDsaAck(ns3::DsaAck const & dsaAck, ns3::Cid cid) [member function] - cls.add_method('ProcessDsaAck', - 'void', - [param('ns3::DsaAck const &', 'dsaAck'), param('ns3::Cid', 'cid')]) - ## bs-service-flow-manager.h: ns3::ServiceFlow * ns3::BsServiceFlowManager::ProcessDsaReq(ns3::DsaReq const & dsaReq, ns3::Cid cid) [member function] - cls.add_method('ProcessDsaReq', - 'ns3::ServiceFlow *', - [param('ns3::DsaReq const &', 'dsaReq'), param('ns3::Cid', 'cid')]) - ## bs-service-flow-manager.h: void ns3::BsServiceFlowManager::SetMaxDsaRspRetries(uint8_t maxDsaRspRetries) [member function] - cls.add_method('SetMaxDsaRspRetries', - 'void', - [param('uint8_t', 'maxDsaRspRetries')]) - return - -def register_Ns3ConnectionManager_methods(root_module, cls): - ## connection-manager.h: ns3::ConnectionManager::ConnectionManager(ns3::ConnectionManager const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConnectionManager const &', 'arg0')]) - ## connection-manager.h: ns3::ConnectionManager::ConnectionManager() [constructor] - cls.add_constructor([]) - ## connection-manager.h: void ns3::ConnectionManager::AddConnection(ns3::Ptr connection, ns3::Cid::Type type) [member function] - cls.add_method('AddConnection', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection >', 'connection'), param('ns3::Cid::Type', 'type')]) - ## connection-manager.h: void ns3::ConnectionManager::AllocateManagementConnections(ns3::SSRecord * ssRecord, ns3::RngRsp * rngrsp) [member function] - cls.add_method('AllocateManagementConnections', - 'void', - [param('ns3::SSRecord *', 'ssRecord'), param('ns3::RngRsp *', 'rngrsp')]) - ## connection-manager.h: ns3::Ptr ns3::ConnectionManager::CreateConnection(ns3::Cid::Type type) [member function] - cls.add_method('CreateConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [param('ns3::Cid::Type', 'type')]) - ## connection-manager.h: void ns3::ConnectionManager::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## connection-manager.h: ns3::Ptr ns3::ConnectionManager::GetConnection(ns3::Cid cid) [member function] - cls.add_method('GetConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [param('ns3::Cid', 'cid')]) - ## connection-manager.h: std::vector, std::allocator > > ns3::ConnectionManager::GetConnections(ns3::Cid::Type type) const [member function] - cls.add_method('GetConnections', - 'std::vector< ns3::Ptr< ns3::WimaxConnection > >', - [param('ns3::Cid::Type', 'type')], - is_const=True) - ## connection-manager.h: uint32_t ns3::ConnectionManager::GetNPackets(ns3::Cid::Type type, ns3::ServiceFlow::SchedulingType schedulingType) const [member function] - cls.add_method('GetNPackets', - 'uint32_t', - [param('ns3::Cid::Type', 'type'), param('ns3::ServiceFlow::SchedulingType', 'schedulingType')], - is_const=True) - ## connection-manager.h: bool ns3::ConnectionManager::HasPackets() const [member function] - cls.add_method('HasPackets', - 'bool', - [], - is_const=True) - ## connection-manager.h: void ns3::ConnectionManager::SetCidFactory(ns3::CidFactory * cidFactory) [member function] - cls.add_method('SetCidFactory', - 'void', - [param('ns3::CidFactory *', 'cidFactory')]) - return - -def register_Ns3Dcd_methods(root_module, cls): - ## dl-mac-messages.h: ns3::Dcd::Dcd(ns3::Dcd const & arg0) [copy constructor] - cls.add_constructor([param('ns3::Dcd const &', 'arg0')]) - ## dl-mac-messages.h: ns3::Dcd::Dcd() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: void ns3::Dcd::AddDlBurstProfile(ns3::OfdmDlBurstProfile dlBurstProfile) [member function] - cls.add_method('AddDlBurstProfile', - 'void', - [param('ns3::OfdmDlBurstProfile', 'dlBurstProfile')]) - ## dl-mac-messages.h: uint32_t ns3::Dcd::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## dl-mac-messages.h: ns3::OfdmDcdChannelEncodings ns3::Dcd::GetChannelEncodings() const [member function] - cls.add_method('GetChannelEncodings', - 'ns3::OfdmDcdChannelEncodings', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::Dcd::GetConfigurationChangeCount() const [member function] - cls.add_method('GetConfigurationChangeCount', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: std::vector > ns3::Dcd::GetDlBurstProfiles() const [member function] - cls.add_method('GetDlBurstProfiles', - 'std::vector< ns3::OfdmDlBurstProfile >', - [], - is_const=True) - ## dl-mac-messages.h: ns3::TypeId ns3::Dcd::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: std::string ns3::Dcd::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::Dcd::GetNrDlBurstProfiles() const [member function] - cls.add_method('GetNrDlBurstProfiles', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: uint32_t ns3::Dcd::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: static ns3::TypeId ns3::Dcd::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dl-mac-messages.h: void ns3::Dcd::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: void ns3::Dcd::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: void ns3::Dcd::SetChannelEncodings(ns3::OfdmDcdChannelEncodings channelEncodings) [member function] - cls.add_method('SetChannelEncodings', - 'void', - [param('ns3::OfdmDcdChannelEncodings', 'channelEncodings')]) - ## dl-mac-messages.h: void ns3::Dcd::SetConfigurationChangeCount(uint8_t configurationChangeCount) [member function] - cls.add_method('SetConfigurationChangeCount', - 'void', - [param('uint8_t', 'configurationChangeCount')]) - ## dl-mac-messages.h: void ns3::Dcd::SetNrDlBurstProfiles(uint8_t nrDlBurstProfiles) [member function] - cls.add_method('SetNrDlBurstProfiles', - 'void', - [param('uint8_t', 'nrDlBurstProfiles')]) - return - -def register_Ns3DlMap_methods(root_module, cls): - ## dl-mac-messages.h: ns3::DlMap::DlMap(ns3::DlMap const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DlMap const &', 'arg0')]) - ## dl-mac-messages.h: ns3::DlMap::DlMap() [constructor] - cls.add_constructor([]) - ## dl-mac-messages.h: void ns3::DlMap::AddDlMapElement(ns3::OfdmDlMapIe dlMapElement) [member function] - cls.add_method('AddDlMapElement', - 'void', - [param('ns3::OfdmDlMapIe', 'dlMapElement')]) - ## dl-mac-messages.h: uint32_t ns3::DlMap::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## dl-mac-messages.h: ns3::Mac48Address ns3::DlMap::GetBaseStationId() const [member function] - cls.add_method('GetBaseStationId', - 'ns3::Mac48Address', - [], - is_const=True) - ## dl-mac-messages.h: uint8_t ns3::DlMap::GetDcdCount() const [member function] - cls.add_method('GetDcdCount', - 'uint8_t', - [], - is_const=True) - ## dl-mac-messages.h: std::list > ns3::DlMap::GetDlMapElements() const [member function] - cls.add_method('GetDlMapElements', - 'std::list< ns3::OfdmDlMapIe >', - [], - is_const=True) - ## dl-mac-messages.h: ns3::TypeId ns3::DlMap::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: std::string ns3::DlMap::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## dl-mac-messages.h: uint32_t ns3::DlMap::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: static ns3::TypeId ns3::DlMap::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## dl-mac-messages.h: void ns3::DlMap::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: void ns3::DlMap::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## dl-mac-messages.h: void ns3::DlMap::SetBaseStationId(ns3::Mac48Address baseStationID) [member function] - cls.add_method('SetBaseStationId', - 'void', - [param('ns3::Mac48Address', 'baseStationID')]) - ## dl-mac-messages.h: void ns3::DlMap::SetDcdCount(uint8_t dcdCount) [member function] - cls.add_method('SetDcdCount', - 'void', - [param('uint8_t', 'dcdCount')]) - return - -def register_Ns3DsaAck_methods(root_module, cls): - ## mac-messages.h: ns3::DsaAck::DsaAck(ns3::DsaAck const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsaAck const &', 'arg0')]) - ## mac-messages.h: ns3::DsaAck::DsaAck() [constructor] - cls.add_constructor([]) - ## mac-messages.h: uint32_t ns3::DsaAck::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: uint16_t ns3::DsaAck::GetConfirmationCode() const [member function] - cls.add_method('GetConfirmationCode', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: ns3::TypeId ns3::DsaAck::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: std::string ns3::DsaAck::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaAck::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: uint16_t ns3::DsaAck::GetTransactionId() const [member function] - cls.add_method('GetTransactionId', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::DsaAck::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::DsaAck::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaAck::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaAck::SetConfirmationCode(uint16_t confirmationCode) [member function] - cls.add_method('SetConfirmationCode', - 'void', - [param('uint16_t', 'confirmationCode')]) - ## mac-messages.h: void ns3::DsaAck::SetTransactionId(uint16_t transactionId) [member function] - cls.add_method('SetTransactionId', - 'void', - [param('uint16_t', 'transactionId')]) - return - -def register_Ns3DsaReq_methods(root_module, cls): - ## mac-messages.h: ns3::DsaReq::DsaReq(ns3::DsaReq const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsaReq const &', 'arg0')]) - ## mac-messages.h: ns3::DsaReq::DsaReq() [constructor] - cls.add_constructor([]) - ## mac-messages.h: ns3::DsaReq::DsaReq(ns3::ServiceFlow sf) [constructor] - cls.add_constructor([param('ns3::ServiceFlow', 'sf')]) - ## mac-messages.h: uint32_t ns3::DsaReq::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: ns3::Cid ns3::DsaReq::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## mac-messages.h: ns3::TypeId ns3::DsaReq::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: std::string ns3::DsaReq::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaReq::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: ns3::ServiceFlow ns3::DsaReq::GetServiceFlow() const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaReq::GetSfid() const [member function] - cls.add_method('GetSfid', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint16_t ns3::DsaReq::GetTransactionId() const [member function] - cls.add_method('GetTransactionId', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::DsaReq::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::DsaReq::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaReq::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaReq::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## mac-messages.h: void ns3::DsaReq::SetServiceFlow(ns3::ServiceFlow sf) [member function] - cls.add_method('SetServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'sf')]) - ## mac-messages.h: void ns3::DsaReq::SetSfid(uint32_t sfid) [member function] - cls.add_method('SetSfid', - 'void', - [param('uint32_t', 'sfid')]) - ## mac-messages.h: void ns3::DsaReq::SetTransactionId(uint16_t transactionId) [member function] - cls.add_method('SetTransactionId', - 'void', - [param('uint16_t', 'transactionId')]) - return - -def register_Ns3DsaRsp_methods(root_module, cls): - ## mac-messages.h: ns3::DsaRsp::DsaRsp(ns3::DsaRsp const & arg0) [copy constructor] - cls.add_constructor([param('ns3::DsaRsp const &', 'arg0')]) - ## mac-messages.h: ns3::DsaRsp::DsaRsp() [constructor] - cls.add_constructor([]) - ## mac-messages.h: uint32_t ns3::DsaRsp::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## mac-messages.h: ns3::Cid ns3::DsaRsp::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## mac-messages.h: uint16_t ns3::DsaRsp::GetConfirmationCode() const [member function] - cls.add_method('GetConfirmationCode', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: ns3::TypeId ns3::DsaRsp::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: std::string ns3::DsaRsp::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaRsp::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## mac-messages.h: ns3::ServiceFlow ns3::DsaRsp::GetServiceFlow() const [member function] - cls.add_method('GetServiceFlow', - 'ns3::ServiceFlow', - [], - is_const=True) - ## mac-messages.h: uint32_t ns3::DsaRsp::GetSfid() const [member function] - cls.add_method('GetSfid', - 'uint32_t', - [], - is_const=True) - ## mac-messages.h: uint16_t ns3::DsaRsp::GetTransactionId() const [member function] - cls.add_method('GetTransactionId', - 'uint16_t', - [], - is_const=True) - ## mac-messages.h: static ns3::TypeId ns3::DsaRsp::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## mac-messages.h: void ns3::DsaRsp::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaRsp::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## mac-messages.h: void ns3::DsaRsp::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## mac-messages.h: void ns3::DsaRsp::SetConfirmationCode(uint16_t confirmationCode) [member function] - cls.add_method('SetConfirmationCode', - 'void', - [param('uint16_t', 'confirmationCode')]) - ## mac-messages.h: void ns3::DsaRsp::SetServiceFlow(ns3::ServiceFlow sf) [member function] - cls.add_method('SetServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'sf')]) - ## mac-messages.h: void ns3::DsaRsp::SetSfid(uint32_t sfid) [member function] - cls.add_method('SetSfid', - 'void', - [param('uint32_t', 'sfid')]) - ## mac-messages.h: void ns3::DsaRsp::SetTransactionId(uint16_t transactionId) [member function] - cls.add_method('SetTransactionId', - 'void', - [param('uint16_t', 'transactionId')]) - return - -def register_Ns3FragmentationSubheader_methods(root_module, cls): - ## wimax-mac-header.h: ns3::FragmentationSubheader::FragmentationSubheader(ns3::FragmentationSubheader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::FragmentationSubheader const &', 'arg0')]) - ## wimax-mac-header.h: ns3::FragmentationSubheader::FragmentationSubheader() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: uint32_t ns3::FragmentationSubheader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::FragmentationSubheader::GetFc() const [member function] - cls.add_method('GetFc', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::FragmentationSubheader::GetFsn() const [member function] - cls.add_method('GetFsn', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::TypeId ns3::FragmentationSubheader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: std::string ns3::FragmentationSubheader::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::FragmentationSubheader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::FragmentationSubheader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::FragmentationSubheader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::FragmentationSubheader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::FragmentationSubheader::SetFc(uint8_t fc) [member function] - cls.add_method('SetFc', - 'void', - [param('uint8_t', 'fc')]) - ## wimax-mac-header.h: void ns3::FragmentationSubheader::SetFsn(uint8_t fsn) [member function] - cls.add_method('SetFsn', - 'void', - [param('uint8_t', 'fsn')]) - return - -def register_Ns3GenericMacHeader_methods(root_module, cls): - ## wimax-mac-header.h: ns3::GenericMacHeader::GenericMacHeader(ns3::GenericMacHeader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GenericMacHeader const &', 'arg0')]) - ## wimax-mac-header.h: ns3::GenericMacHeader::GenericMacHeader() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: uint32_t ns3::GenericMacHeader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetCi() const [member function] - cls.add_method('GetCi', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::Cid ns3::GenericMacHeader::GetCid() const [member function] - cls.add_method('GetCid', - 'ns3::Cid', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetEc() const [member function] - cls.add_method('GetEc', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetEks() const [member function] - cls.add_method('GetEks', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetHcs() const [member function] - cls.add_method('GetHcs', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetHt() const [member function] - cls.add_method('GetHt', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: ns3::TypeId ns3::GenericMacHeader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint16_t ns3::GenericMacHeader::GetLen() const [member function] - cls.add_method('GetLen', - 'uint16_t', - [], - is_const=True) - ## wimax-mac-header.h: std::string ns3::GenericMacHeader::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::GenericMacHeader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::GenericMacHeader::GetType() const [member function] - cls.add_method('GetType', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::GenericMacHeader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::GenericMacHeader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::GenericMacHeader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetCi(uint8_t ci) [member function] - cls.add_method('SetCi', - 'void', - [param('uint8_t', 'ci')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetCid(ns3::Cid cid) [member function] - cls.add_method('SetCid', - 'void', - [param('ns3::Cid', 'cid')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetEc(uint8_t ec) [member function] - cls.add_method('SetEc', - 'void', - [param('uint8_t', 'ec')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetEks(uint8_t eks) [member function] - cls.add_method('SetEks', - 'void', - [param('uint8_t', 'eks')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetHcs(uint8_t hcs) [member function] - cls.add_method('SetHcs', - 'void', - [param('uint8_t', 'hcs')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetHt(uint8_t HT) [member function] - cls.add_method('SetHt', - 'void', - [param('uint8_t', 'HT')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetLen(uint16_t len) [member function] - cls.add_method('SetLen', - 'void', - [param('uint16_t', 'len')]) - ## wimax-mac-header.h: void ns3::GenericMacHeader::SetType(uint8_t type) [member function] - cls.add_method('SetType', - 'void', - [param('uint8_t', 'type')]) - ## wimax-mac-header.h: bool ns3::GenericMacHeader::check_hcs() const [member function] - cls.add_method('check_hcs', - 'bool', - [], - is_const=True) - return - -def register_Ns3GrantManagementSubheader_methods(root_module, cls): - ## wimax-mac-header.h: ns3::GrantManagementSubheader::GrantManagementSubheader(ns3::GrantManagementSubheader const & arg0) [copy constructor] - cls.add_constructor([param('ns3::GrantManagementSubheader const &', 'arg0')]) - ## wimax-mac-header.h: ns3::GrantManagementSubheader::GrantManagementSubheader() [constructor] - cls.add_constructor([]) - ## wimax-mac-header.h: uint32_t ns3::GrantManagementSubheader::Deserialize(ns3::Buffer::Iterator start) [member function] - cls.add_method('Deserialize', - 'uint32_t', - [param('ns3::Buffer::Iterator', 'start')], - is_virtual=True) - ## wimax-mac-header.h: ns3::TypeId ns3::GrantManagementSubheader::GetInstanceTypeId() const [member function] - cls.add_method('GetInstanceTypeId', - 'ns3::TypeId', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: std::string ns3::GrantManagementSubheader::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True) - ## wimax-mac-header.h: uint16_t ns3::GrantManagementSubheader::GetPbr() const [member function] - cls.add_method('GetPbr', - 'uint16_t', - [], - is_const=True) - ## wimax-mac-header.h: uint8_t ns3::GrantManagementSubheader::GetPm() const [member function] - cls.add_method('GetPm', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: uint32_t ns3::GrantManagementSubheader::GetSerializedSize() const [member function] - cls.add_method('GetSerializedSize', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: uint8_t ns3::GrantManagementSubheader::GetSi() const [member function] - cls.add_method('GetSi', - 'uint8_t', - [], - is_const=True) - ## wimax-mac-header.h: static ns3::TypeId ns3::GrantManagementSubheader::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::Print(std::ostream & os) const [member function] - cls.add_method('Print', - 'void', - [param('std::ostream &', 'os')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::Serialize(ns3::Buffer::Iterator start) const [member function] - cls.add_method('Serialize', - 'void', - [param('ns3::Buffer::Iterator', 'start')], - is_const=True, is_virtual=True) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::SetPbr(uint16_t pbr) [member function] - cls.add_method('SetPbr', - 'void', - [param('uint16_t', 'pbr')]) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::SetPm(uint8_t pm) [member function] - cls.add_method('SetPm', - 'void', - [param('uint8_t', 'pm')]) - ## wimax-mac-header.h: void ns3::GrantManagementSubheader::SetSi(uint8_t si) [member function] - cls.add_method('SetSi', - 'void', - [param('uint8_t', 'si')]) - return - -def register_Ns3IpcsClassifier_methods(root_module, cls): - ## ipcs-classifier.h: ns3::IpcsClassifier::IpcsClassifier(ns3::IpcsClassifier const & arg0) [copy constructor] - cls.add_constructor([param('ns3::IpcsClassifier const &', 'arg0')]) - ## ipcs-classifier.h: ns3::IpcsClassifier::IpcsClassifier() [constructor] - cls.add_constructor([]) - ## ipcs-classifier.h: ns3::ServiceFlow * ns3::IpcsClassifier::Classify(ns3::Ptr packet, ns3::Ptr sfm, ns3::ServiceFlow::Direction dir) [member function] - cls.add_method('Classify', - 'ns3::ServiceFlow *', - [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('ns3::Ptr< ns3::ServiceFlowManager >', 'sfm'), param('ns3::ServiceFlow::Direction', 'dir')]) - return - -def register_Ns3SimpleOfdmWimaxPhy_methods(root_module, cls): - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy(ns3::SimpleOfdmWimaxPhy const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleOfdmWimaxPhy const &', 'arg0')]) - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy() [constructor] - cls.add_constructor([]) - ## simple-ofdm-wimax-phy.h: ns3::SimpleOfdmWimaxPhy::SimpleOfdmWimaxPhy(char * tracesPath) [constructor] - cls.add_constructor([param('char *', 'tracesPath')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::ActivateLoss(bool loss) [member function] - cls.add_method('ActivateLoss', - 'void', - [param('bool', 'loss')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::DoAttach(ns3::Ptr channel) [member function] - cls.add_method('DoAttach', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'channel')], - is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint32_t ns3::SimpleOfdmWimaxPhy::GetBandwidth() const [member function] - cls.add_method('GetBandwidth', - 'uint32_t', - [], - is_const=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::GetNoiseFigure() const [member function] - cls.add_method('GetNoiseFigure', - 'double', - [], - is_const=True) - ## simple-ofdm-wimax-phy.h: ns3::WimaxPhy::PhyType ns3::SimpleOfdmWimaxPhy::GetPhyType() const [member function] - cls.add_method('GetPhyType', - 'ns3::WimaxPhy::PhyType', - [], - is_const=True, is_virtual=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::GetTxPower() const [member function] - cls.add_method('GetTxPower', - 'double', - [], - is_const=True) - ## simple-ofdm-wimax-phy.h: static ns3::TypeId ns3::SimpleOfdmWimaxPhy::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyRxBegin(ns3::Ptr burst) [member function] - cls.add_method('NotifyRxBegin', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyRxDrop(ns3::Ptr burst) [member function] - cls.add_method('NotifyRxDrop', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyRxEnd(ns3::Ptr burst) [member function] - cls.add_method('NotifyRxEnd', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyTxBegin(ns3::Ptr burst) [member function] - cls.add_method('NotifyTxBegin', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyTxDrop(ns3::Ptr burst) [member function] - cls.add_method('NotifyTxDrop', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::NotifyTxEnd(ns3::Ptr burst) [member function] - cls.add_method('NotifyTxEnd', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::Send(ns3::Ptr burst, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::Send(ns3::SendParams * params) [member function] - cls.add_method('Send', - 'void', - [param('ns3::SendParams *', 'params')], - is_virtual=True) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetBandwidth(uint32_t BW) [member function] - cls.add_method('SetBandwidth', - 'void', - [param('uint32_t', 'BW')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetNoiseFigure(double nf) [member function] - cls.add_method('SetNoiseFigure', - 'void', - [param('double', 'nf')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetReceiveCallback(ns3::Callback,ns3::Ptr,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty,ns3::empty> callback) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< void, ns3::Ptr< ns3::PacketBurst >, ns3::Ptr< ns3::WimaxConnection >, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetSNRToBlockErrorRateTracesPath(char * tracesPath) [member function] - cls.add_method('SetSNRToBlockErrorRateTracesPath', - 'void', - [param('char *', 'tracesPath')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::SetTxPower(double txPower) [member function] - cls.add_method('SetTxPower', - 'void', - [param('double', 'txPower')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::StartReceive(uint32_t burstSize, bool isFirstBlock, uint64_t frequency, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction, double rxPower, ns3::Ptr burst) [member function] - cls.add_method('StartReceive', - 'void', - [param('uint32_t', 'burstSize'), param('bool', 'isFirstBlock'), param('uint64_t', 'frequency'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction'), param('double', 'rxPower'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint32_t ns3::SimpleOfdmWimaxPhy::DoGetDataRate(ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetDataRate', - 'uint32_t', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: ns3::Time ns3::SimpleOfdmWimaxPhy::DoGetFrameDuration(uint8_t frameDurationCode) const [member function] - cls.add_method('DoGetFrameDuration', - 'ns3::Time', - [param('uint8_t', 'frameDurationCode')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint8_t ns3::SimpleOfdmWimaxPhy::DoGetFrameDurationCode() const [member function] - cls.add_method('DoGetFrameDurationCode', - 'uint8_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::DoGetGValue() const [member function] - cls.add_method('DoGetGValue', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint16_t ns3::SimpleOfdmWimaxPhy::DoGetNfft() const [member function] - cls.add_method('DoGetNfft', - 'uint16_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint64_t ns3::SimpleOfdmWimaxPhy::DoGetNrBytes(uint32_t symbols, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetNrBytes', - 'uint64_t', - [param('uint32_t', 'symbols'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint64_t ns3::SimpleOfdmWimaxPhy::DoGetNrSymbols(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetNrSymbols', - 'uint64_t', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint16_t ns3::SimpleOfdmWimaxPhy::DoGetRtg() const [member function] - cls.add_method('DoGetRtg', - 'uint16_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::DoGetSamplingFactor() const [member function] - cls.add_method('DoGetSamplingFactor', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: double ns3::SimpleOfdmWimaxPhy::DoGetSamplingFrequency() const [member function] - cls.add_method('DoGetSamplingFrequency', - 'double', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: ns3::Time ns3::SimpleOfdmWimaxPhy::DoGetTransmissionTime(uint32_t size, ns3::WimaxPhy::ModulationType modulationType) const [member function] - cls.add_method('DoGetTransmissionTime', - 'ns3::Time', - [param('uint32_t', 'size'), param('ns3::WimaxPhy::ModulationType', 'modulationType')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: uint16_t ns3::SimpleOfdmWimaxPhy::DoGetTtg() const [member function] - cls.add_method('DoGetTtg', - 'uint16_t', - [], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::DoSetDataRates() [member function] - cls.add_method('DoSetDataRates', - 'void', - [], - visibility='private', is_virtual=True) - ## simple-ofdm-wimax-phy.h: void ns3::SimpleOfdmWimaxPhy::DoSetPhyParameters() [member function] - cls.add_method('DoSetPhyParameters', - 'void', - [], - visibility='private', is_virtual=True) - return - -def register_Ns3WimaxChannel_methods(root_module, cls): - ## wimax-channel.h: ns3::WimaxChannel::WimaxChannel(ns3::WimaxChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::WimaxChannel const &', 'arg0')]) - ## wimax-channel.h: ns3::WimaxChannel::WimaxChannel() [constructor] - cls.add_constructor([]) - ## wimax-channel.h: void ns3::WimaxChannel::Attach(ns3::Ptr phy) [member function] - cls.add_method('Attach', - 'void', - [param('ns3::Ptr< ns3::WimaxPhy >', 'phy')]) - ## wimax-channel.h: ns3::Ptr ns3::WimaxChannel::GetDevice(uint32_t i) const [member function] - cls.add_method('GetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, is_virtual=True) - ## wimax-channel.h: uint32_t ns3::WimaxChannel::GetNDevices() const [member function] - cls.add_method('GetNDevices', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-channel.h: void ns3::WimaxChannel::DoAttach(ns3::Ptr phy) [member function] - cls.add_method('DoAttach', - 'void', - [param('ns3::Ptr< ns3::WimaxPhy >', 'phy')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-channel.h: ns3::Ptr ns3::WimaxChannel::DoGetDevice(uint32_t i) const [member function] - cls.add_method('DoGetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## wimax-channel.h: uint32_t ns3::WimaxChannel::DoGetNDevices() const [member function] - cls.add_method('DoGetNDevices', - 'uint32_t', - [], - is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3WimaxNetDevice_methods(root_module, cls): - ## wimax-net-device.h: ns3::WimaxNetDevice::m_direction [variable] - cls.add_static_attribute('m_direction', 'uint8_t', is_const=False) - ## wimax-net-device.h: ns3::WimaxNetDevice::m_frameStartTime [variable] - cls.add_static_attribute('m_frameStartTime', 'ns3::Time', is_const=False) - ## wimax-net-device.h: ns3::WimaxNetDevice::m_traceRx [variable] - cls.add_instance_attribute('m_traceRx', 'ns3::TracedCallback< ns3::Ptr< ns3::Packet const >, ns3::Mac48Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) - ## wimax-net-device.h: ns3::WimaxNetDevice::m_traceTx [variable] - cls.add_instance_attribute('m_traceTx', 'ns3::TracedCallback< ns3::Ptr< ns3::Packet const >, ns3::Mac48Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', is_const=False) - ## wimax-net-device.h: static ns3::TypeId ns3::WimaxNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## wimax-net-device.h: ns3::WimaxNetDevice::WimaxNetDevice() [constructor] - cls.add_constructor([]) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetTtg(uint16_t ttg) [member function] - cls.add_method('SetTtg', - 'void', - [param('uint16_t', 'ttg')]) - ## wimax-net-device.h: uint16_t ns3::WimaxNetDevice::GetTtg() const [member function] - cls.add_method('GetTtg', - 'uint16_t', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetRtg(uint16_t rtg) [member function] - cls.add_method('SetRtg', - 'void', - [param('uint16_t', 'rtg')]) - ## wimax-net-device.h: uint16_t ns3::WimaxNetDevice::GetRtg() const [member function] - cls.add_method('GetRtg', - 'uint16_t', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::Attach(ns3::Ptr channel) [member function] - cls.add_method('Attach', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'channel')]) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetPhy(ns3::Ptr phy) [member function] - cls.add_method('SetPhy', - 'void', - [param('ns3::Ptr< ns3::WimaxPhy >', 'phy')]) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetPhy() const [member function] - cls.add_method('GetPhy', - 'ns3::Ptr< ns3::WimaxPhy >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetChannel(ns3::Ptr wimaxChannel) [member function] - cls.add_method('SetChannel', - 'void', - [param('ns3::Ptr< ns3::WimaxChannel >', 'wimaxChannel')]) - ## wimax-net-device.h: uint64_t ns3::WimaxNetDevice::GetChannel(uint8_t index) const [member function] - cls.add_method('GetChannel', - 'uint64_t', - [param('uint8_t', 'index')], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetNrFrames(uint32_t nrFrames) [member function] - cls.add_method('SetNrFrames', - 'void', - [param('uint32_t', 'nrFrames')]) - ## wimax-net-device.h: uint32_t ns3::WimaxNetDevice::GetNrFrames() const [member function] - cls.add_method('GetNrFrames', - 'uint32_t', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetMacAddress(ns3::Mac48Address address) [member function] - cls.add_method('SetMacAddress', - 'void', - [param('ns3::Mac48Address', 'address')]) - ## wimax-net-device.h: ns3::Mac48Address ns3::WimaxNetDevice::GetMacAddress() const [member function] - cls.add_method('GetMacAddress', - 'ns3::Mac48Address', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetState(uint8_t state) [member function] - cls.add_method('SetState', - 'void', - [param('uint8_t', 'state')]) - ## wimax-net-device.h: uint8_t ns3::WimaxNetDevice::GetState() const [member function] - cls.add_method('GetState', - 'uint8_t', - [], - is_const=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetInitialRangingConnection() const [member function] - cls.add_method('GetInitialRangingConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetBroadcastConnection() const [member function] - cls.add_method('GetBroadcastConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetCurrentDcd(ns3::Dcd dcd) [member function] - cls.add_method('SetCurrentDcd', - 'void', - [param('ns3::Dcd', 'dcd')]) - ## wimax-net-device.h: ns3::Dcd ns3::WimaxNetDevice::GetCurrentDcd() const [member function] - cls.add_method('GetCurrentDcd', - 'ns3::Dcd', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetCurrentUcd(ns3::Ucd ucd) [member function] - cls.add_method('SetCurrentUcd', - 'void', - [param('ns3::Ucd', 'ucd')]) - ## wimax-net-device.h: ns3::Ucd ns3::WimaxNetDevice::GetCurrentUcd() const [member function] - cls.add_method('GetCurrentUcd', - 'ns3::Ucd', - [], - is_const=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetConnectionManager() const [member function] - cls.add_method('GetConnectionManager', - 'ns3::Ptr< ns3::ConnectionManager >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetConnectionManager(ns3::Ptr connectionManager) [member function] - cls.add_method('SetConnectionManager', - 'void', - [param('ns3::Ptr< ns3::ConnectionManager >', 'connectionManager')], - is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetBurstProfileManager() const [member function] - cls.add_method('GetBurstProfileManager', - 'ns3::Ptr< ns3::BurstProfileManager >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetBurstProfileManager(ns3::Ptr burstProfileManager) [member function] - cls.add_method('SetBurstProfileManager', - 'void', - [param('ns3::Ptr< ns3::BurstProfileManager >', 'burstProfileManager')]) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetBandwidthManager() const [member function] - cls.add_method('GetBandwidthManager', - 'ns3::Ptr< ns3::BandwidthManager >', - [], - is_const=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetBandwidthManager(ns3::Ptr bandwidthManager) [member function] - cls.add_method('SetBandwidthManager', - 'void', - [param('ns3::Ptr< ns3::BandwidthManager >', 'bandwidthManager')]) - ## wimax-net-device.h: void ns3::WimaxNetDevice::CreateDefaultConnections() [member function] - cls.add_method('CreateDefaultConnections', - 'void', - []) - ## wimax-net-device.h: void ns3::WimaxNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_pure_virtual=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetReceiveCallback() [member function] - cls.add_method('SetReceiveCallback', - 'void', - []) - ## wimax-net-device.h: void ns3::WimaxNetDevice::ForwardUp(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest) [member function] - cls.add_method('ForwardUp', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest')]) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::Ptr connection) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection')], - is_pure_virtual=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::ForwardDown(ns3::Ptr burst, ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('ForwardDown', - 'void', - [param('ns3::Ptr< ns3::PacketBurst >', 'burst'), param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetName(std::string const name) [member function] - cls.add_method('SetName', - 'void', - [param('std::string const', 'name')], - is_virtual=True) - ## wimax-net-device.h: std::string ns3::WimaxNetDevice::GetName() const [member function] - cls.add_method('GetName', - 'std::string', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetIfIndex(uint32_t const index) [member function] - cls.add_method('SetIfIndex', - 'void', - [param('uint32_t const', 'index')], - is_virtual=True) - ## wimax-net-device.h: uint32_t ns3::WimaxNetDevice::GetIfIndex() const [member function] - cls.add_method('GetIfIndex', - 'uint32_t', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetPhyChannel() const [member function] - cls.add_method('GetPhyChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetChannel() const [member function] - cls.add_method('GetChannel', - 'ns3::Ptr< ns3::Channel >', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetAddress(ns3::Address address) [member function] - cls.add_method('SetAddress', - 'void', - [param('ns3::Address', 'address')], - is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetAddress() const [member function] - cls.add_method('GetAddress', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::SetMtu(uint16_t const mtu) [member function] - cls.add_method('SetMtu', - 'bool', - [param('uint16_t const', 'mtu')], - is_virtual=True) - ## wimax-net-device.h: uint16_t ns3::WimaxNetDevice::GetMtu() const [member function] - cls.add_method('GetMtu', - 'uint16_t', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsLinkUp() const [member function] - cls.add_method('IsLinkUp', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetLinkChangeCallback(ns3::Callback callback) [member function] - cls.add_method('SetLinkChangeCallback', - 'void', - [param('ns3::Callback< void, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'callback')], - is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsBroadcast() const [member function] - cls.add_method('IsBroadcast', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetBroadcast() const [member function] - cls.add_method('GetBroadcast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsMulticast() const [member function] - cls.add_method('IsMulticast', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetMulticast() const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::MakeMulticastAddress(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('MakeMulticastAddress', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsPointToPoint() const [member function] - cls.add_method('IsPointToPoint', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::Send(ns3::Ptr packet, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('Send', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')], - is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::GetNode() const [member function] - cls.add_method('GetNode', - 'ns3::Ptr< ns3::Node >', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::NeedsArp() const [member function] - cls.add_method('NeedsArp', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::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')], - is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::SendFrom(ns3::Ptr packet, ns3::Address const & source, ns3::Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('SendFrom', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Address const &', 'source'), param('ns3::Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::SetPromiscReceiveCallback(ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> cb) [member function] - cls.add_method('SetPromiscReceiveCallback', - 'void', - [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', 'cb')], - is_virtual=True) - ## wimax-net-device.h: ns3::Callback, ns3::Ptr, unsigned short, ns3::Address const&, ns3::Address const&, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty> ns3::WimaxNetDevice::GetPromiscReceiveCallback() [member function] - cls.add_method('GetPromiscReceiveCallback', - 'ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::Address const &, ns3::NetDevice::PacketType, ns3::empty, ns3::empty, ns3::empty >', - []) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::SupportsSendFrom() const [member function] - cls.add_method('SupportsSendFrom', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetMulticast(ns3::Ipv6Address addr) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv6Address', 'addr')], - is_const=True, is_virtual=True) - ## wimax-net-device.h: ns3::Address ns3::WimaxNetDevice::GetMulticast(ns3::Ipv4Address multicastGroup) const [member function] - cls.add_method('GetMulticast', - 'ns3::Address', - [param('ns3::Ipv4Address', 'multicastGroup')], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsBridge() const [member function] - cls.add_method('IsBridge', - 'bool', - [], - is_const=True, is_virtual=True) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::IsPromisc() [member function] - cls.add_method('IsPromisc', - 'bool', - []) - ## wimax-net-device.h: void ns3::WimaxNetDevice::NotifyPromiscTrace(ns3::Ptr p) [member function] - cls.add_method('NotifyPromiscTrace', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'p')]) - ## wimax-net-device.h: bool ns3::WimaxNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-net-device.h: void ns3::WimaxNetDevice::DoReceive(ns3::Ptr packet) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')], - is_pure_virtual=True, visibility='private', is_virtual=True) - ## wimax-net-device.h: ns3::Ptr ns3::WimaxNetDevice::DoGetChannel() const [member function] - cls.add_method('DoGetChannel', - 'ns3::Ptr< ns3::WimaxChannel >', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3BaseStationNetDevice_methods(root_module, cls): - ## bs-net-device.h: static ns3::TypeId ns3::BaseStationNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## bs-net-device.h: ns3::BaseStationNetDevice::BaseStationNetDevice() [constructor] - cls.add_constructor([]) - ## bs-net-device.h: ns3::BaseStationNetDevice::BaseStationNetDevice(ns3::Ptr node, ns3::Ptr phy) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WimaxPhy >', 'phy')]) - ## bs-net-device.h: ns3::BaseStationNetDevice::BaseStationNetDevice(ns3::Ptr node, ns3::Ptr phy, ns3::Ptr uplinkScheduler, ns3::Ptr bsScheduler) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'node'), param('ns3::Ptr< ns3::WimaxPhy >', 'phy'), param('ns3::Ptr< ns3::UplinkScheduler >', 'uplinkScheduler'), param('ns3::Ptr< ns3::BSScheduler >', 'bsScheduler')]) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetInitialRangingInterval(ns3::Time initialRangInterval) [member function] - cls.add_method('SetInitialRangingInterval', - 'void', - [param('ns3::Time', 'initialRangInterval')]) - ## bs-net-device.h: void ns3::BaseStationNetDevice::InitBaseStationNetDevice() [member function] - cls.add_method('InitBaseStationNetDevice', - 'void', - []) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetInitialRangingInterval() const [member function] - cls.add_method('GetInitialRangingInterval', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetDcdInterval(ns3::Time dcdInterval) [member function] - cls.add_method('SetDcdInterval', - 'void', - [param('ns3::Time', 'dcdInterval')]) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetDcdInterval() const [member function] - cls.add_method('GetDcdInterval', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetUcdInterval(ns3::Time ucdInterval) [member function] - cls.add_method('SetUcdInterval', - 'void', - [param('ns3::Time', 'ucdInterval')]) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetUcdInterval() const [member function] - cls.add_method('GetUcdInterval', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetIntervalT8(ns3::Time interval) [member function] - cls.add_method('SetIntervalT8', - 'void', - [param('ns3::Time', 'interval')]) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetIntervalT8() const [member function] - cls.add_method('GetIntervalT8', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetMaxRangingCorrectionRetries(uint8_t maxRangCorrectionRetries) [member function] - cls.add_method('SetMaxRangingCorrectionRetries', - 'void', - [param('uint8_t', 'maxRangCorrectionRetries')]) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetMaxRangingCorrectionRetries() const [member function] - cls.add_method('GetMaxRangingCorrectionRetries', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetMaxInvitedRangRetries(uint8_t maxInvitedRangRetries) [member function] - cls.add_method('SetMaxInvitedRangRetries', - 'void', - [param('uint8_t', 'maxInvitedRangRetries')]) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetMaxInvitedRangRetries() const [member function] - cls.add_method('GetMaxInvitedRangRetries', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetRangReqOppSize(uint8_t rangReqOppSize) [member function] - cls.add_method('SetRangReqOppSize', - 'void', - [param('uint8_t', 'rangReqOppSize')]) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetRangReqOppSize() const [member function] - cls.add_method('GetRangReqOppSize', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetBwReqOppSize(uint8_t bwReqOppSize) [member function] - cls.add_method('SetBwReqOppSize', - 'void', - [param('uint8_t', 'bwReqOppSize')]) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetBwReqOppSize() const [member function] - cls.add_method('GetBwReqOppSize', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetNrDlSymbols(uint32_t dlSymbols) [member function] - cls.add_method('SetNrDlSymbols', - 'void', - [param('uint32_t', 'dlSymbols')]) - ## bs-net-device.h: uint32_t ns3::BaseStationNetDevice::GetNrDlSymbols() const [member function] - cls.add_method('GetNrDlSymbols', - 'uint32_t', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetNrUlSymbols(uint32_t ulSymbols) [member function] - cls.add_method('SetNrUlSymbols', - 'void', - [param('uint32_t', 'ulSymbols')]) - ## bs-net-device.h: uint32_t ns3::BaseStationNetDevice::GetNrUlSymbols() const [member function] - cls.add_method('GetNrUlSymbols', - 'uint32_t', - [], - is_const=True) - ## bs-net-device.h: uint32_t ns3::BaseStationNetDevice::GetNrDcdSent() const [member function] - cls.add_method('GetNrDcdSent', - 'uint32_t', - [], - is_const=True) - ## bs-net-device.h: uint32_t ns3::BaseStationNetDevice::GetNrUcdSent() const [member function] - cls.add_method('GetNrUcdSent', - 'uint32_t', - [], - is_const=True) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetDlSubframeStartTime() const [member function] - cls.add_method('GetDlSubframeStartTime', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetUlSubframeStartTime() const [member function] - cls.add_method('GetUlSubframeStartTime', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: uint8_t ns3::BaseStationNetDevice::GetRangingOppNumber() const [member function] - cls.add_method('GetRangingOppNumber', - 'uint8_t', - [], - is_const=True) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetSSManager() const [member function] - cls.add_method('GetSSManager', - 'ns3::Ptr< ns3::SSManager >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetSSManager(ns3::Ptr ssManager) [member function] - cls.add_method('SetSSManager', - 'void', - [param('ns3::Ptr< ns3::SSManager >', 'ssManager')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetUplinkScheduler() const [member function] - cls.add_method('GetUplinkScheduler', - 'ns3::Ptr< ns3::UplinkScheduler >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetUplinkScheduler(ns3::Ptr ulScheduler) [member function] - cls.add_method('SetUplinkScheduler', - 'void', - [param('ns3::Ptr< ns3::UplinkScheduler >', 'ulScheduler')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetLinkManager() const [member function] - cls.add_method('GetLinkManager', - 'ns3::Ptr< ns3::BSLinkManager >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetBSScheduler(ns3::Ptr bsSchedule) [member function] - cls.add_method('SetBSScheduler', - 'void', - [param('ns3::Ptr< ns3::BSScheduler >', 'bsSchedule')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetBSScheduler() const [member function] - cls.add_method('GetBSScheduler', - 'ns3::Ptr< ns3::BSScheduler >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetLinkManager(ns3::Ptr linkManager) [member function] - cls.add_method('SetLinkManager', - 'void', - [param('ns3::Ptr< ns3::BSLinkManager >', 'linkManager')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetBsClassifier() const [member function] - cls.add_method('GetBsClassifier', - 'ns3::Ptr< ns3::IpcsClassifier >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetBsClassifier(ns3::Ptr classifier) [member function] - cls.add_method('SetBsClassifier', - 'void', - [param('ns3::Ptr< ns3::IpcsClassifier >', 'classifier')]) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetPsDuration() const [member function] - cls.add_method('GetPsDuration', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: ns3::Time ns3::BaseStationNetDevice::GetSymbolDuration() const [member function] - cls.add_method('GetSymbolDuration', - 'ns3::Time', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## bs-net-device.h: bool ns3::BaseStationNetDevice::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::Ptr connection) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection')], - is_virtual=True) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetConnection(ns3::Cid cid) [member function] - cls.add_method('GetConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [param('ns3::Cid', 'cid')]) - ## bs-net-device.h: void ns3::BaseStationNetDevice::MarkUplinkAllocations() [member function] - cls.add_method('MarkUplinkAllocations', - 'void', - []) - ## bs-net-device.h: void ns3::BaseStationNetDevice::MarkRangingOppStart(ns3::Time rangingOppStartTime) [member function] - cls.add_method('MarkRangingOppStart', - 'void', - [param('ns3::Time', 'rangingOppStartTime')]) - ## bs-net-device.h: ns3::Ptr ns3::BaseStationNetDevice::GetServiceFlowManager() const [member function] - cls.add_method('GetServiceFlowManager', - 'ns3::Ptr< ns3::BsServiceFlowManager >', - [], - is_const=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::SetServiceFlowManager(ns3::Ptr arg0) [member function] - cls.add_method('SetServiceFlowManager', - 'void', - [param('ns3::Ptr< ns3::BsServiceFlowManager >', 'arg0')]) - ## bs-net-device.h: void ns3::BaseStationNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## bs-net-device.h: bool ns3::BaseStationNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='private', is_virtual=True) - ## bs-net-device.h: void ns3::BaseStationNetDevice::DoReceive(ns3::Ptr packet) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')], - visibility='private', is_virtual=True) - return - -def register_Ns3SimpleOfdmWimaxChannel_methods(root_module, cls): - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel::SimpleOfdmWimaxChannel(ns3::SimpleOfdmWimaxChannel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::SimpleOfdmWimaxChannel const &', 'arg0')]) - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel::SimpleOfdmWimaxChannel() [constructor] - cls.add_constructor([]) - ## simple-ofdm-wimax-channel.h: ns3::SimpleOfdmWimaxChannel::SimpleOfdmWimaxChannel(ns3::SimpleOfdmWimaxChannel::PropModel propModel) [constructor] - cls.add_constructor([param('ns3::SimpleOfdmWimaxChannel::PropModel', 'propModel')]) - ## simple-ofdm-wimax-channel.h: void ns3::SimpleOfdmWimaxChannel::Send(ns3::Time BlockTime, uint32_t burstSize, ns3::Ptr phy, bool isFirstBlock, bool isLastBlock, uint64_t frequency, ns3::WimaxPhy::ModulationType modulationType, uint8_t direction, double txPowerDbm, ns3::Ptr burst) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Time', 'BlockTime'), param('uint32_t', 'burstSize'), param('ns3::Ptr< ns3::WimaxPhy >', 'phy'), param('bool', 'isFirstBlock'), param('bool', 'isLastBlock'), param('uint64_t', 'frequency'), param('ns3::WimaxPhy::ModulationType', 'modulationType'), param('uint8_t', 'direction'), param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::PacketBurst >', 'burst')]) - ## simple-ofdm-wimax-channel.h: void ns3::SimpleOfdmWimaxChannel::SetPropagationModel(ns3::SimpleOfdmWimaxChannel::PropModel propModel) [member function] - cls.add_method('SetPropagationModel', - 'void', - [param('ns3::SimpleOfdmWimaxChannel::PropModel', 'propModel')]) - ## simple-ofdm-wimax-channel.h: void ns3::SimpleOfdmWimaxChannel::DoAttach(ns3::Ptr phy) [member function] - cls.add_method('DoAttach', - 'void', - [param('ns3::Ptr< ns3::WimaxPhy >', 'phy')], - visibility='private', is_virtual=True) - ## simple-ofdm-wimax-channel.h: ns3::Ptr ns3::SimpleOfdmWimaxChannel::DoGetDevice(uint32_t i) const [member function] - cls.add_method('DoGetDevice', - 'ns3::Ptr< ns3::NetDevice >', - [param('uint32_t', 'i')], - is_const=True, visibility='private', is_virtual=True) - ## simple-ofdm-wimax-channel.h: uint32_t ns3::SimpleOfdmWimaxChannel::DoGetNDevices() const [member function] - cls.add_method('DoGetNDevices', - 'uint32_t', - [], - is_const=True, visibility='private', is_virtual=True) - return - -def register_Ns3SubscriberStationNetDevice_methods(root_module, cls): - ## ss-net-device.h: ns3::SubscriberStationNetDevice::m_linkManager [variable] - cls.add_instance_attribute('m_linkManager', 'ns3::Ptr< ns3::SSLinkManager >', is_const=False) - ## ss-net-device.h: static ns3::TypeId ns3::SubscriberStationNetDevice::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## ss-net-device.h: ns3::SubscriberStationNetDevice::SubscriberStationNetDevice() [constructor] - cls.add_constructor([]) - ## ss-net-device.h: ns3::SubscriberStationNetDevice::SubscriberStationNetDevice(ns3::Ptr arg0, ns3::Ptr arg1) [constructor] - cls.add_constructor([param('ns3::Ptr< ns3::Node >', 'arg0'), param('ns3::Ptr< ns3::WimaxPhy >', 'arg1')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::InitSubscriberStationNetDevice() [member function] - cls.add_method('InitSubscriberStationNetDevice', - 'void', - []) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetLostDlMapInterval(ns3::Time lostDlMapInterval) [member function] - cls.add_method('SetLostDlMapInterval', - 'void', - [param('ns3::Time', 'lostDlMapInterval')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetLostDlMapInterval() const [member function] - cls.add_method('GetLostDlMapInterval', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetLostUlMapInterval(ns3::Time lostUlMapInterval) [member function] - cls.add_method('SetLostUlMapInterval', - 'void', - [param('ns3::Time', 'lostUlMapInterval')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetLostUlMapInterval() const [member function] - cls.add_method('GetLostUlMapInterval', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetMaxDcdInterval(ns3::Time maxDcdInterval) [member function] - cls.add_method('SetMaxDcdInterval', - 'void', - [param('ns3::Time', 'maxDcdInterval')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetMaxDcdInterval() const [member function] - cls.add_method('GetMaxDcdInterval', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetMaxUcdInterval(ns3::Time maxUcdInterval) [member function] - cls.add_method('SetMaxUcdInterval', - 'void', - [param('ns3::Time', 'maxUcdInterval')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetMaxUcdInterval() const [member function] - cls.add_method('GetMaxUcdInterval', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT1(ns3::Time interval1) [member function] - cls.add_method('SetIntervalT1', - 'void', - [param('ns3::Time', 'interval1')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT1() const [member function] - cls.add_method('GetIntervalT1', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT2(ns3::Time interval2) [member function] - cls.add_method('SetIntervalT2', - 'void', - [param('ns3::Time', 'interval2')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT2() const [member function] - cls.add_method('GetIntervalT2', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT3(ns3::Time interval3) [member function] - cls.add_method('SetIntervalT3', - 'void', - [param('ns3::Time', 'interval3')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT3() const [member function] - cls.add_method('GetIntervalT3', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT7(ns3::Time interval7) [member function] - cls.add_method('SetIntervalT7', - 'void', - [param('ns3::Time', 'interval7')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT7() const [member function] - cls.add_method('GetIntervalT7', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT12(ns3::Time interval12) [member function] - cls.add_method('SetIntervalT12', - 'void', - [param('ns3::Time', 'interval12')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT12() const [member function] - cls.add_method('GetIntervalT12', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT20(ns3::Time interval20) [member function] - cls.add_method('SetIntervalT20', - 'void', - [param('ns3::Time', 'interval20')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT20() const [member function] - cls.add_method('GetIntervalT20', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIntervalT21(ns3::Time interval21) [member function] - cls.add_method('SetIntervalT21', - 'void', - [param('ns3::Time', 'interval21')]) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetIntervalT21() const [member function] - cls.add_method('GetIntervalT21', - 'ns3::Time', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetMaxContentionRangingRetries(uint8_t maxContentionRangingRetries) [member function] - cls.add_method('SetMaxContentionRangingRetries', - 'void', - [param('uint8_t', 'maxContentionRangingRetries')]) - ## ss-net-device.h: uint8_t ns3::SubscriberStationNetDevice::GetMaxContentionRangingRetries() const [member function] - cls.add_method('GetMaxContentionRangingRetries', - 'uint8_t', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetBasicConnection(ns3::Ptr basicConnection) [member function] - cls.add_method('SetBasicConnection', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection >', 'basicConnection')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetBasicConnection() const [member function] - cls.add_method('GetBasicConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetPrimaryConnection(ns3::Ptr primaryConnection) [member function] - cls.add_method('SetPrimaryConnection', - 'void', - [param('ns3::Ptr< ns3::WimaxConnection >', 'primaryConnection')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetPrimaryConnection() const [member function] - cls.add_method('GetPrimaryConnection', - 'ns3::Ptr< ns3::WimaxConnection >', - [], - is_const=True) - ## ss-net-device.h: ns3::Cid ns3::SubscriberStationNetDevice::GetBasicCid() const [member function] - cls.add_method('GetBasicCid', - 'ns3::Cid', - [], - is_const=True) - ## ss-net-device.h: ns3::Cid ns3::SubscriberStationNetDevice::GetPrimaryCid() const [member function] - cls.add_method('GetPrimaryCid', - 'ns3::Cid', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetModulationType(ns3::WimaxPhy::ModulationType modulationType) [member function] - cls.add_method('SetModulationType', - 'void', - [param('ns3::WimaxPhy::ModulationType', 'modulationType')]) - ## ss-net-device.h: ns3::WimaxPhy::ModulationType ns3::SubscriberStationNetDevice::GetModulationType() const [member function] - cls.add_method('GetModulationType', - 'ns3::WimaxPhy::ModulationType', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetAreManagementConnectionsAllocated(bool areManagementConnectionsAllocated) [member function] - cls.add_method('SetAreManagementConnectionsAllocated', - 'void', - [param('bool', 'areManagementConnectionsAllocated')]) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::GetAreManagementConnectionsAllocated() const [member function] - cls.add_method('GetAreManagementConnectionsAllocated', - 'bool', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetAreServiceFlowsAllocated(bool areServiceFlowsAllocated) [member function] - cls.add_method('SetAreServiceFlowsAllocated', - 'void', - [param('bool', 'areServiceFlowsAllocated')]) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::GetAreServiceFlowsAllocated() const [member function] - cls.add_method('GetAreServiceFlowsAllocated', - 'bool', - [], - is_const=True) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetScheduler() const [member function] - cls.add_method('GetScheduler', - 'ns3::Ptr< ns3::SSScheduler >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetScheduler(ns3::Ptr ssScheduler) [member function] - cls.add_method('SetScheduler', - 'void', - [param('ns3::Ptr< ns3::SSScheduler >', 'ssScheduler')]) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::HasServiceFlows() const [member function] - cls.add_method('HasServiceFlows', - 'bool', - [], - is_const=True) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::Enqueue(ns3::Ptr packet, ns3::MacHeaderType const & hdrType, ns3::Ptr connection) [member function] - cls.add_method('Enqueue', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::MacHeaderType const &', 'hdrType'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection')], - is_virtual=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SendBurst(uint8_t uiuc, uint16_t nrSymbols, ns3::Ptr connection, ns3::MacHeaderType::HeaderType packetType=::ns3::MacHeaderType::HEADER_TYPE_GENERIC) [member function] - cls.add_method('SendBurst', - 'void', - [param('uint8_t', 'uiuc'), param('uint16_t', 'nrSymbols'), param('ns3::Ptr< ns3::WimaxConnection >', 'connection'), param('ns3::MacHeaderType::HeaderType', 'packetType', default_value='::ns3::MacHeaderType::HEADER_TYPE_GENERIC')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::Start() [member function] - cls.add_method('Start', - 'void', - [], - is_virtual=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::Stop() [member function] - cls.add_method('Stop', - 'void', - [], - is_virtual=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::AddServiceFlow(ns3::ServiceFlow * sf) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow *', 'sf')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::AddServiceFlow(ns3::ServiceFlow sf) [member function] - cls.add_method('AddServiceFlow', - 'void', - [param('ns3::ServiceFlow', 'sf')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetTimer(ns3::EventId eventId, ns3::EventId & event) [member function] - cls.add_method('SetTimer', - 'void', - [param('ns3::EventId', 'eventId'), param('ns3::EventId &', 'event')]) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::IsRegistered() const [member function] - cls.add_method('IsRegistered', - 'bool', - [], - is_const=True) - ## ss-net-device.h: ns3::Time ns3::SubscriberStationNetDevice::GetTimeToAllocation(ns3::Time defferTime) [member function] - cls.add_method('GetTimeToAllocation', - 'ns3::Time', - [param('ns3::Time', 'defferTime')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetIpcsClassifier() const [member function] - cls.add_method('GetIpcsClassifier', - 'ns3::Ptr< ns3::IpcsClassifier >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetIpcsPacketClassifier(ns3::Ptr arg0) [member function] - cls.add_method('SetIpcsPacketClassifier', - 'void', - [param('ns3::Ptr< ns3::IpcsClassifier >', 'arg0')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetLinkManager() const [member function] - cls.add_method('GetLinkManager', - 'ns3::Ptr< ns3::SSLinkManager >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetLinkManager(ns3::Ptr arg0) [member function] - cls.add_method('SetLinkManager', - 'void', - [param('ns3::Ptr< ns3::SSLinkManager >', 'arg0')]) - ## ss-net-device.h: ns3::Ptr ns3::SubscriberStationNetDevice::GetServiceFlowManager() const [member function] - cls.add_method('GetServiceFlowManager', - 'ns3::Ptr< ns3::SsServiceFlowManager >', - [], - is_const=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::SetServiceFlowManager(ns3::Ptr arg0) [member function] - cls.add_method('SetServiceFlowManager', - 'void', - [param('ns3::Ptr< ns3::SsServiceFlowManager >', 'arg0')]) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::DoDispose() [member function] - cls.add_method('DoDispose', - 'void', - [], - visibility='private', is_virtual=True) - ## ss-net-device.h: bool ns3::SubscriberStationNetDevice::DoSend(ns3::Ptr packet, ns3::Mac48Address const & source, ns3::Mac48Address const & dest, uint16_t protocolNumber) [member function] - cls.add_method('DoSend', - 'bool', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Mac48Address const &', 'source'), param('ns3::Mac48Address const &', 'dest'), param('uint16_t', 'protocolNumber')], - visibility='private', is_virtual=True) - ## ss-net-device.h: void ns3::SubscriberStationNetDevice::DoReceive(ns3::Ptr packet) [member function] - cls.add_method('DoReceive', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet')], - visibility='private', is_virtual=True) - return - -def register_functions(root_module): - module = root_module - ## crc8.h: extern uint8_t ns3::CRC8Calculate(uint8_t const * data, int length) [free function] - module.add_function('CRC8Calculate', - 'uint8_t', - [param('uint8_t const *', 'data'), param('int', 'length')]) - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - diff --git a/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py b/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py deleted file mode 100644 index aeee28a61..000000000 --- a/bindings/python/apidefs/gcc-LP64/ns3modulegen_generated.py +++ /dev/null @@ -1,1378 +0,0 @@ -from pybindgen import Module, FileCodeSink, param, retval, cppclass, typehandlers - - -import pybindgen.settings -import warnings - -class ErrorHandler(pybindgen.settings.ErrorHandler): - def handle_error(self, wrapper, exception, traceback_): - warnings.warn("exception %r in wrapper %s" % (exception, wrapper)) - return True -pybindgen.settings.error_handler = ErrorHandler() - - -import sys -import ns3_module_core -import ns3_module_network -import ns3_module_bridge -import ns3_module_config_store -import ns3_module_emu -import ns3_module_mobility -import ns3_module_mpi -import ns3_module_stats -import ns3_module_tools -import ns3_module_topology_read -import ns3_module_propagation -import ns3_module_internet -import ns3_module_point_to_point -import ns3_module_wifi -import ns3_module_applications -import ns3_module_click -import ns3_module_flow_monitor -import ns3_module_nix_vector_routing -import ns3_module_openflow -import ns3_module_tap_bridge -import ns3_module_virtual_net_device -import ns3_module_netanim -import ns3_module_energy -import ns3_module_visualizer -import ns3_module_mesh -import ns3_module_ns3wifi -import ns3_module_spectrum -import ns3_module_csma -import ns3_module_uan -import ns3_module_aodv -import ns3_module_dsdv -import ns3_module_wimax -import ns3_module_ns3tcp -import ns3_module_olsr -import ns3_module_lte - -def module_init(): - root_module = Module('ns3', cpp_namespace='::ns3') - return root_module - -def register_types(module): - root_module = module.get_root() - - root_module.begin_section('ns3_module_core') - ns3_module_core.register_types(module) - - try: - import ns3_module_core__local - except ImportError: - pass - else: - ns3_module_core__local.register_types(module) - - root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_network') - ns3_module_network.register_types(module) - - try: - import ns3_module_network__local - except ImportError: - pass - else: - ns3_module_network__local.register_types(module) - - root_module.end_section('ns3_module_network') - root_module.begin_section('ns3_module_bridge') - ns3_module_bridge.register_types(module) - - try: - import ns3_module_bridge__local - except ImportError: - pass - else: - ns3_module_bridge__local.register_types(module) - - root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_config_store') - ns3_module_config_store.register_types(module) - - try: - import ns3_module_config_store__local - except ImportError: - pass - else: - ns3_module_config_store__local.register_types(module) - - root_module.end_section('ns3_module_config_store') - root_module.begin_section('ns3_module_emu') - ns3_module_emu.register_types(module) - - try: - import ns3_module_emu__local - except ImportError: - pass - else: - ns3_module_emu__local.register_types(module) - - root_module.end_section('ns3_module_emu') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_types(module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_types(module) - - root_module.end_section('ns3_module_mobility') - root_module.begin_section('ns3_module_mpi') - ns3_module_mpi.register_types(module) - - try: - import ns3_module_mpi__local - except ImportError: - pass - else: - ns3_module_mpi__local.register_types(module) - - root_module.end_section('ns3_module_mpi') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_types(module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_types(module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_tools') - ns3_module_tools.register_types(module) - - try: - import ns3_module_tools__local - except ImportError: - pass - else: - ns3_module_tools__local.register_types(module) - - root_module.end_section('ns3_module_tools') - root_module.begin_section('ns3_module_topology_read') - ns3_module_topology_read.register_types(module) - - try: - import ns3_module_topology_read__local - except ImportError: - pass - else: - ns3_module_topology_read__local.register_types(module) - - root_module.end_section('ns3_module_topology_read') - root_module.begin_section('ns3_module_propagation') - ns3_module_propagation.register_types(module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_types(module) - - root_module.end_section('ns3_module_propagation') - root_module.begin_section('ns3_module_internet') - ns3_module_internet.register_types(module) - - try: - import ns3_module_internet__local - except ImportError: - pass - else: - ns3_module_internet__local.register_types(module) - - root_module.end_section('ns3_module_internet') - root_module.begin_section('ns3_module_point_to_point') - ns3_module_point_to_point.register_types(module) - - try: - import ns3_module_point_to_point__local - except ImportError: - pass - else: - ns3_module_point_to_point__local.register_types(module) - - root_module.end_section('ns3_module_point_to_point') - root_module.begin_section('ns3_module_wifi') - ns3_module_wifi.register_types(module) - - try: - import ns3_module_wifi__local - except ImportError: - pass - else: - ns3_module_wifi__local.register_types(module) - - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_applications') - ns3_module_applications.register_types(module) - - try: - import ns3_module_applications__local - except ImportError: - pass - else: - ns3_module_applications__local.register_types(module) - - root_module.end_section('ns3_module_applications') - root_module.begin_section('ns3_module_click') - ns3_module_click.register_types(module) - - try: - import ns3_module_click__local - except ImportError: - pass - else: - ns3_module_click__local.register_types(module) - - root_module.end_section('ns3_module_click') - root_module.begin_section('ns3_module_flow_monitor') - ns3_module_flow_monitor.register_types(module) - - try: - import ns3_module_flow_monitor__local - except ImportError: - pass - else: - ns3_module_flow_monitor__local.register_types(module) - - root_module.end_section('ns3_module_flow_monitor') - root_module.begin_section('ns3_module_nix_vector_routing') - ns3_module_nix_vector_routing.register_types(module) - - try: - import ns3_module_nix_vector_routing__local - except ImportError: - pass - else: - ns3_module_nix_vector_routing__local.register_types(module) - - root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_openflow') - ns3_module_openflow.register_types(module) - - try: - import ns3_module_openflow__local - except ImportError: - pass - else: - ns3_module_openflow__local.register_types(module) - - root_module.end_section('ns3_module_openflow') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_types(module) - - try: - import ns3_module_tap_bridge__local - except ImportError: - pass - else: - ns3_module_tap_bridge__local.register_types(module) - - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_types(module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_types(module) - - root_module.end_section('ns3_module_virtual_net_device') - root_module.begin_section('ns3_module_netanim') - ns3_module_netanim.register_types(module) - - try: - import ns3_module_netanim__local - except ImportError: - pass - else: - ns3_module_netanim__local.register_types(module) - - root_module.end_section('ns3_module_netanim') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_types(module) - - try: - import ns3_module_energy__local - except ImportError: - pass - else: - ns3_module_energy__local.register_types(module) - - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_types(module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_types(module) - - root_module.end_section('ns3_module_visualizer') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_types(module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_types(module) - - root_module.end_section('ns3_module_mesh') - root_module.begin_section('ns3_module_ns3wifi') - ns3_module_ns3wifi.register_types(module) - - try: - import ns3_module_ns3wifi__local - except ImportError: - pass - else: - ns3_module_ns3wifi__local.register_types(module) - - root_module.end_section('ns3_module_ns3wifi') - root_module.begin_section('ns3_module_spectrum') - ns3_module_spectrum.register_types(module) - - try: - import ns3_module_spectrum__local - except ImportError: - pass - else: - ns3_module_spectrum__local.register_types(module) - - root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_csma') - ns3_module_csma.register_types(module) - - try: - import ns3_module_csma__local - except ImportError: - pass - else: - ns3_module_csma__local.register_types(module) - - root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_uan') - ns3_module_uan.register_types(module) - - try: - import ns3_module_uan__local - except ImportError: - pass - else: - ns3_module_uan__local.register_types(module) - - root_module.end_section('ns3_module_uan') - root_module.begin_section('ns3_module_aodv') - ns3_module_aodv.register_types(module) - - try: - import ns3_module_aodv__local - except ImportError: - pass - else: - ns3_module_aodv__local.register_types(module) - - root_module.end_section('ns3_module_aodv') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_types(module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_types(module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_types(module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_types(module) - - root_module.end_section('ns3_module_wimax') - root_module.begin_section('ns3_module_ns3tcp') - ns3_module_ns3tcp.register_types(module) - - try: - import ns3_module_ns3tcp__local - except ImportError: - pass - else: - ns3_module_ns3tcp__local.register_types(module) - - root_module.end_section('ns3_module_ns3tcp') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_types(module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_types(module) - - root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_lte') - ns3_module_lte.register_types(module) - - try: - import ns3_module_lte__local - except ImportError: - pass - else: - ns3_module_lte__local.register_types(module) - - root_module.end_section('ns3_module_lte') - module.add_container('std::vector< unsigned int >', 'unsigned int', container_type='vector') - module.add_container('std::vector< bool >', 'bool', container_type='vector') - module.add_container('std::vector< int >', 'int', container_type='vector') - module.add_container('std::vector< std::string >', 'std::string', container_type='vector') - module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set') - module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::UanAddress >', container_type='list') - module.add_container('std::vector< ns3::ServiceFlow * >', 'ns3::ServiceFlow *', container_type='vector') - module.add_container('std::vector< std::complex< double > >', 'std::complex< double >', container_type='vector') - module.add_container('std::vector< double >', 'double', container_type='vector') - module.add_container('ns3::bvec', 'bool', container_type='vector') - module.add_container('std::vector< ns3::SSRecord * >', 'ns3::SSRecord *', container_type='vector') - module.add_container('std::map< std::string, std::string >', ('std::string', 'std::string'), container_type='map') - module.add_container('std::set< unsigned char >', 'unsigned char', container_type='set') - module.add_container('std::list< std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > > >', 'std::pair< ns3::OfdmDlMapIe *, ns3::Ptr< ns3::PacketBurst > >', container_type='list') - module.add_container('std::vector< unsigned long >', 'long unsigned int', container_type='vector') - module.add_container('std::vector< std::vector< double > >', 'std::vector< double >', container_type='vector') - module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list') - module.add_container('std::list< std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader > >', 'std::pair< ns3::Ptr< ns3::Packet >, ns3::AmsduSubframeHeader >', container_type='list') - module.add_container('std::vector< std::pair< ns3::Ptr< ns3::UanNetDevice >, ns3::Ptr< ns3::UanTransducer > > >', 'std::pair< ns3::Ptr< ns3::UanNetDevice >, ns3::Ptr< ns3::UanTransducer > >', container_type='vector') - - ## Register a nested module for the namespace Config - - nested_module = module.add_cpp_namespace('Config') - register_types_ns3_Config(nested_module) - - - ## Register a nested module for the namespace FatalImpl - - nested_module = module.add_cpp_namespace('FatalImpl') - register_types_ns3_FatalImpl(nested_module) - - - ## Register a nested module for the namespace addressUtils - - nested_module = module.add_cpp_namespace('addressUtils') - register_types_ns3_addressUtils(nested_module) - - - ## Register a nested module for the namespace aodv - - nested_module = module.add_cpp_namespace('aodv') - register_types_ns3_aodv(nested_module) - - - ## Register a nested module for the namespace dot11s - - nested_module = module.add_cpp_namespace('dot11s') - register_types_ns3_dot11s(nested_module) - - - ## Register a nested module for the namespace dsdv - - nested_module = module.add_cpp_namespace('dsdv') - register_types_ns3_dsdv(nested_module) - - - ## Register a nested module for the namespace flame - - nested_module = module.add_cpp_namespace('flame') - register_types_ns3_flame(nested_module) - - - ## Register a nested module for the namespace internal - - nested_module = module.add_cpp_namespace('internal') - register_types_ns3_internal(nested_module) - - - ## Register a nested module for the namespace olsr - - nested_module = module.add_cpp_namespace('olsr') - register_types_ns3_olsr(nested_module) - - -def register_types_ns3_Config(module): - root_module = module.get_root() - - -def register_types_ns3_FatalImpl(module): - root_module = module.get_root() - - -def register_types_ns3_addressUtils(module): - root_module = module.get_root() - - -def register_types_ns3_aodv(module): - root_module = module.get_root() - - module.add_container('std::map< ns3::Ipv4Address, unsigned int >', ('ns3::Ipv4Address', 'unsigned int'), container_type='map') - -def register_types_ns3_dot11s(module): - root_module = module.get_root() - - module.add_container('std::vector< std::pair< unsigned int, ns3::Mac48Address > >', 'std::pair< unsigned int, ns3::Mac48Address >', container_type='vector') - -def register_types_ns3_dsdv(module): - root_module = module.get_root() - - -def register_types_ns3_flame(module): - root_module = module.get_root() - - -def register_types_ns3_internal(module): - root_module = module.get_root() - - -def register_types_ns3_olsr(module): - root_module = module.get_root() - - -def register_methods(root_module): - root_module.begin_section('ns3_module_core') - ns3_module_core.register_methods(root_module) - - try: - import ns3_module_core__local - except ImportError: - pass - else: - ns3_module_core__local.register_methods(root_module) - - root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_network') - ns3_module_network.register_methods(root_module) - - try: - import ns3_module_network__local - except ImportError: - pass - else: - ns3_module_network__local.register_methods(root_module) - - root_module.end_section('ns3_module_network') - root_module.begin_section('ns3_module_bridge') - ns3_module_bridge.register_methods(root_module) - - try: - import ns3_module_bridge__local - except ImportError: - pass - else: - ns3_module_bridge__local.register_methods(root_module) - - root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_config_store') - ns3_module_config_store.register_methods(root_module) - - try: - import ns3_module_config_store__local - except ImportError: - pass - else: - ns3_module_config_store__local.register_methods(root_module) - - root_module.end_section('ns3_module_config_store') - root_module.begin_section('ns3_module_emu') - ns3_module_emu.register_methods(root_module) - - try: - import ns3_module_emu__local - except ImportError: - pass - else: - ns3_module_emu__local.register_methods(root_module) - - root_module.end_section('ns3_module_emu') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_methods(root_module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_methods(root_module) - - root_module.end_section('ns3_module_mobility') - root_module.begin_section('ns3_module_mpi') - ns3_module_mpi.register_methods(root_module) - - try: - import ns3_module_mpi__local - except ImportError: - pass - else: - ns3_module_mpi__local.register_methods(root_module) - - root_module.end_section('ns3_module_mpi') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_methods(root_module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_methods(root_module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_tools') - ns3_module_tools.register_methods(root_module) - - try: - import ns3_module_tools__local - except ImportError: - pass - else: - ns3_module_tools__local.register_methods(root_module) - - root_module.end_section('ns3_module_tools') - root_module.begin_section('ns3_module_topology_read') - ns3_module_topology_read.register_methods(root_module) - - try: - import ns3_module_topology_read__local - except ImportError: - pass - else: - ns3_module_topology_read__local.register_methods(root_module) - - root_module.end_section('ns3_module_topology_read') - root_module.begin_section('ns3_module_propagation') - ns3_module_propagation.register_methods(root_module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_methods(root_module) - - root_module.end_section('ns3_module_propagation') - root_module.begin_section('ns3_module_internet') - ns3_module_internet.register_methods(root_module) - - try: - import ns3_module_internet__local - except ImportError: - pass - else: - ns3_module_internet__local.register_methods(root_module) - - root_module.end_section('ns3_module_internet') - root_module.begin_section('ns3_module_point_to_point') - ns3_module_point_to_point.register_methods(root_module) - - try: - import ns3_module_point_to_point__local - except ImportError: - pass - else: - ns3_module_point_to_point__local.register_methods(root_module) - - root_module.end_section('ns3_module_point_to_point') - root_module.begin_section('ns3_module_wifi') - ns3_module_wifi.register_methods(root_module) - - try: - import ns3_module_wifi__local - except ImportError: - pass - else: - ns3_module_wifi__local.register_methods(root_module) - - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_applications') - ns3_module_applications.register_methods(root_module) - - try: - import ns3_module_applications__local - except ImportError: - pass - else: - ns3_module_applications__local.register_methods(root_module) - - root_module.end_section('ns3_module_applications') - root_module.begin_section('ns3_module_click') - ns3_module_click.register_methods(root_module) - - try: - import ns3_module_click__local - except ImportError: - pass - else: - ns3_module_click__local.register_methods(root_module) - - root_module.end_section('ns3_module_click') - root_module.begin_section('ns3_module_flow_monitor') - ns3_module_flow_monitor.register_methods(root_module) - - try: - import ns3_module_flow_monitor__local - except ImportError: - pass - else: - ns3_module_flow_monitor__local.register_methods(root_module) - - root_module.end_section('ns3_module_flow_monitor') - root_module.begin_section('ns3_module_nix_vector_routing') - ns3_module_nix_vector_routing.register_methods(root_module) - - try: - import ns3_module_nix_vector_routing__local - except ImportError: - pass - else: - ns3_module_nix_vector_routing__local.register_methods(root_module) - - root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_openflow') - ns3_module_openflow.register_methods(root_module) - - try: - import ns3_module_openflow__local - except ImportError: - pass - else: - ns3_module_openflow__local.register_methods(root_module) - - root_module.end_section('ns3_module_openflow') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_methods(root_module) - - try: - import ns3_module_tap_bridge__local - except ImportError: - pass - else: - ns3_module_tap_bridge__local.register_methods(root_module) - - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_methods(root_module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_methods(root_module) - - root_module.end_section('ns3_module_virtual_net_device') - root_module.begin_section('ns3_module_netanim') - ns3_module_netanim.register_methods(root_module) - - try: - import ns3_module_netanim__local - except ImportError: - pass - else: - ns3_module_netanim__local.register_methods(root_module) - - root_module.end_section('ns3_module_netanim') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_methods(root_module) - - try: - import ns3_module_energy__local - except ImportError: - pass - else: - ns3_module_energy__local.register_methods(root_module) - - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_methods(root_module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_methods(root_module) - - root_module.end_section('ns3_module_visualizer') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_methods(root_module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_methods(root_module) - - root_module.end_section('ns3_module_mesh') - root_module.begin_section('ns3_module_ns3wifi') - ns3_module_ns3wifi.register_methods(root_module) - - try: - import ns3_module_ns3wifi__local - except ImportError: - pass - else: - ns3_module_ns3wifi__local.register_methods(root_module) - - root_module.end_section('ns3_module_ns3wifi') - root_module.begin_section('ns3_module_spectrum') - ns3_module_spectrum.register_methods(root_module) - - try: - import ns3_module_spectrum__local - except ImportError: - pass - else: - ns3_module_spectrum__local.register_methods(root_module) - - root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_csma') - ns3_module_csma.register_methods(root_module) - - try: - import ns3_module_csma__local - except ImportError: - pass - else: - ns3_module_csma__local.register_methods(root_module) - - root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_uan') - ns3_module_uan.register_methods(root_module) - - try: - import ns3_module_uan__local - except ImportError: - pass - else: - ns3_module_uan__local.register_methods(root_module) - - root_module.end_section('ns3_module_uan') - root_module.begin_section('ns3_module_aodv') - ns3_module_aodv.register_methods(root_module) - - try: - import ns3_module_aodv__local - except ImportError: - pass - else: - ns3_module_aodv__local.register_methods(root_module) - - root_module.end_section('ns3_module_aodv') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_methods(root_module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_methods(root_module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_methods(root_module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_methods(root_module) - - root_module.end_section('ns3_module_wimax') - root_module.begin_section('ns3_module_ns3tcp') - ns3_module_ns3tcp.register_methods(root_module) - - try: - import ns3_module_ns3tcp__local - except ImportError: - pass - else: - ns3_module_ns3tcp__local.register_methods(root_module) - - root_module.end_section('ns3_module_ns3tcp') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_methods(root_module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_methods(root_module) - - root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_lte') - ns3_module_lte.register_methods(root_module) - - try: - import ns3_module_lte__local - except ImportError: - pass - else: - ns3_module_lte__local.register_methods(root_module) - - root_module.end_section('ns3_module_lte') - return - -def register_functions(root_module): - module = root_module - root_module.begin_section('ns3_module_core') - ns3_module_core.register_functions(root_module) - - try: - import ns3_module_core__local - except ImportError: - pass - else: - ns3_module_core__local.register_functions(root_module) - - root_module.end_section('ns3_module_core') - root_module.begin_section('ns3_module_network') - ns3_module_network.register_functions(root_module) - - try: - import ns3_module_network__local - except ImportError: - pass - else: - ns3_module_network__local.register_functions(root_module) - - root_module.end_section('ns3_module_network') - root_module.begin_section('ns3_module_bridge') - ns3_module_bridge.register_functions(root_module) - - try: - import ns3_module_bridge__local - except ImportError: - pass - else: - ns3_module_bridge__local.register_functions(root_module) - - root_module.end_section('ns3_module_bridge') - root_module.begin_section('ns3_module_config_store') - ns3_module_config_store.register_functions(root_module) - - try: - import ns3_module_config_store__local - except ImportError: - pass - else: - ns3_module_config_store__local.register_functions(root_module) - - root_module.end_section('ns3_module_config_store') - root_module.begin_section('ns3_module_emu') - ns3_module_emu.register_functions(root_module) - - try: - import ns3_module_emu__local - except ImportError: - pass - else: - ns3_module_emu__local.register_functions(root_module) - - root_module.end_section('ns3_module_emu') - root_module.begin_section('ns3_module_mobility') - ns3_module_mobility.register_functions(root_module) - - try: - import ns3_module_mobility__local - except ImportError: - pass - else: - ns3_module_mobility__local.register_functions(root_module) - - root_module.end_section('ns3_module_mobility') - root_module.begin_section('ns3_module_mpi') - ns3_module_mpi.register_functions(root_module) - - try: - import ns3_module_mpi__local - except ImportError: - pass - else: - ns3_module_mpi__local.register_functions(root_module) - - root_module.end_section('ns3_module_mpi') - root_module.begin_section('ns3_module_stats') - ns3_module_stats.register_functions(root_module) - - try: - import ns3_module_stats__local - except ImportError: - pass - else: - ns3_module_stats__local.register_functions(root_module) - - root_module.end_section('ns3_module_stats') - root_module.begin_section('ns3_module_tools') - ns3_module_tools.register_functions(root_module) - - try: - import ns3_module_tools__local - except ImportError: - pass - else: - ns3_module_tools__local.register_functions(root_module) - - root_module.end_section('ns3_module_tools') - root_module.begin_section('ns3_module_topology_read') - ns3_module_topology_read.register_functions(root_module) - - try: - import ns3_module_topology_read__local - except ImportError: - pass - else: - ns3_module_topology_read__local.register_functions(root_module) - - root_module.end_section('ns3_module_topology_read') - root_module.begin_section('ns3_module_propagation') - ns3_module_propagation.register_functions(root_module) - - try: - import ns3_module_propagation__local - except ImportError: - pass - else: - ns3_module_propagation__local.register_functions(root_module) - - root_module.end_section('ns3_module_propagation') - root_module.begin_section('ns3_module_internet') - ns3_module_internet.register_functions(root_module) - - try: - import ns3_module_internet__local - except ImportError: - pass - else: - ns3_module_internet__local.register_functions(root_module) - - root_module.end_section('ns3_module_internet') - root_module.begin_section('ns3_module_point_to_point') - ns3_module_point_to_point.register_functions(root_module) - - try: - import ns3_module_point_to_point__local - except ImportError: - pass - else: - ns3_module_point_to_point__local.register_functions(root_module) - - root_module.end_section('ns3_module_point_to_point') - root_module.begin_section('ns3_module_wifi') - ns3_module_wifi.register_functions(root_module) - - try: - import ns3_module_wifi__local - except ImportError: - pass - else: - ns3_module_wifi__local.register_functions(root_module) - - root_module.end_section('ns3_module_wifi') - root_module.begin_section('ns3_module_applications') - ns3_module_applications.register_functions(root_module) - - try: - import ns3_module_applications__local - except ImportError: - pass - else: - ns3_module_applications__local.register_functions(root_module) - - root_module.end_section('ns3_module_applications') - root_module.begin_section('ns3_module_click') - ns3_module_click.register_functions(root_module) - - try: - import ns3_module_click__local - except ImportError: - pass - else: - ns3_module_click__local.register_functions(root_module) - - root_module.end_section('ns3_module_click') - root_module.begin_section('ns3_module_flow_monitor') - ns3_module_flow_monitor.register_functions(root_module) - - try: - import ns3_module_flow_monitor__local - except ImportError: - pass - else: - ns3_module_flow_monitor__local.register_functions(root_module) - - root_module.end_section('ns3_module_flow_monitor') - root_module.begin_section('ns3_module_nix_vector_routing') - ns3_module_nix_vector_routing.register_functions(root_module) - - try: - import ns3_module_nix_vector_routing__local - except ImportError: - pass - else: - ns3_module_nix_vector_routing__local.register_functions(root_module) - - root_module.end_section('ns3_module_nix_vector_routing') - root_module.begin_section('ns3_module_openflow') - ns3_module_openflow.register_functions(root_module) - - try: - import ns3_module_openflow__local - except ImportError: - pass - else: - ns3_module_openflow__local.register_functions(root_module) - - root_module.end_section('ns3_module_openflow') - root_module.begin_section('ns3_module_tap_bridge') - ns3_module_tap_bridge.register_functions(root_module) - - try: - import ns3_module_tap_bridge__local - except ImportError: - pass - else: - ns3_module_tap_bridge__local.register_functions(root_module) - - root_module.end_section('ns3_module_tap_bridge') - root_module.begin_section('ns3_module_virtual_net_device') - ns3_module_virtual_net_device.register_functions(root_module) - - try: - import ns3_module_virtual_net_device__local - except ImportError: - pass - else: - ns3_module_virtual_net_device__local.register_functions(root_module) - - root_module.end_section('ns3_module_virtual_net_device') - root_module.begin_section('ns3_module_netanim') - ns3_module_netanim.register_functions(root_module) - - try: - import ns3_module_netanim__local - except ImportError: - pass - else: - ns3_module_netanim__local.register_functions(root_module) - - root_module.end_section('ns3_module_netanim') - root_module.begin_section('ns3_module_energy') - ns3_module_energy.register_functions(root_module) - - try: - import ns3_module_energy__local - except ImportError: - pass - else: - ns3_module_energy__local.register_functions(root_module) - - root_module.end_section('ns3_module_energy') - root_module.begin_section('ns3_module_visualizer') - ns3_module_visualizer.register_functions(root_module) - - try: - import ns3_module_visualizer__local - except ImportError: - pass - else: - ns3_module_visualizer__local.register_functions(root_module) - - root_module.end_section('ns3_module_visualizer') - root_module.begin_section('ns3_module_mesh') - ns3_module_mesh.register_functions(root_module) - - try: - import ns3_module_mesh__local - except ImportError: - pass - else: - ns3_module_mesh__local.register_functions(root_module) - - root_module.end_section('ns3_module_mesh') - root_module.begin_section('ns3_module_ns3wifi') - ns3_module_ns3wifi.register_functions(root_module) - - try: - import ns3_module_ns3wifi__local - except ImportError: - pass - else: - ns3_module_ns3wifi__local.register_functions(root_module) - - root_module.end_section('ns3_module_ns3wifi') - root_module.begin_section('ns3_module_spectrum') - ns3_module_spectrum.register_functions(root_module) - - try: - import ns3_module_spectrum__local - except ImportError: - pass - else: - ns3_module_spectrum__local.register_functions(root_module) - - root_module.end_section('ns3_module_spectrum') - root_module.begin_section('ns3_module_csma') - ns3_module_csma.register_functions(root_module) - - try: - import ns3_module_csma__local - except ImportError: - pass - else: - ns3_module_csma__local.register_functions(root_module) - - root_module.end_section('ns3_module_csma') - root_module.begin_section('ns3_module_uan') - ns3_module_uan.register_functions(root_module) - - try: - import ns3_module_uan__local - except ImportError: - pass - else: - ns3_module_uan__local.register_functions(root_module) - - root_module.end_section('ns3_module_uan') - root_module.begin_section('ns3_module_aodv') - ns3_module_aodv.register_functions(root_module) - - try: - import ns3_module_aodv__local - except ImportError: - pass - else: - ns3_module_aodv__local.register_functions(root_module) - - root_module.end_section('ns3_module_aodv') - root_module.begin_section('ns3_module_dsdv') - ns3_module_dsdv.register_functions(root_module) - - try: - import ns3_module_dsdv__local - except ImportError: - pass - else: - ns3_module_dsdv__local.register_functions(root_module) - - root_module.end_section('ns3_module_dsdv') - root_module.begin_section('ns3_module_wimax') - ns3_module_wimax.register_functions(root_module) - - try: - import ns3_module_wimax__local - except ImportError: - pass - else: - ns3_module_wimax__local.register_functions(root_module) - - root_module.end_section('ns3_module_wimax') - root_module.begin_section('ns3_module_ns3tcp') - ns3_module_ns3tcp.register_functions(root_module) - - try: - import ns3_module_ns3tcp__local - except ImportError: - pass - else: - ns3_module_ns3tcp__local.register_functions(root_module) - - root_module.end_section('ns3_module_ns3tcp') - root_module.begin_section('ns3_module_olsr') - ns3_module_olsr.register_functions(root_module) - - try: - import ns3_module_olsr__local - except ImportError: - pass - else: - ns3_module_olsr__local.register_functions(root_module) - - root_module.end_section('ns3_module_olsr') - root_module.begin_section('ns3_module_lte') - ns3_module_lte.register_functions(root_module) - - try: - import ns3_module_lte__local - except ImportError: - pass - else: - ns3_module_lte__local.register_functions(root_module) - - root_module.end_section('ns3_module_lte') - register_functions_ns3_Config(module.get_submodule('Config'), root_module) - register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) - register_functions_ns3_addressUtils(module.get_submodule('addressUtils'), root_module) - register_functions_ns3_aodv(module.get_submodule('aodv'), root_module) - register_functions_ns3_dot11s(module.get_submodule('dot11s'), root_module) - register_functions_ns3_dsdv(module.get_submodule('dsdv'), root_module) - register_functions_ns3_flame(module.get_submodule('flame'), root_module) - register_functions_ns3_internal(module.get_submodule('internal'), root_module) - register_functions_ns3_olsr(module.get_submodule('olsr'), root_module) - return - -def register_functions_ns3_Config(module, root_module): - return - -def register_functions_ns3_FatalImpl(module, root_module): - return - -def register_functions_ns3_addressUtils(module, root_module): - return - -def register_functions_ns3_aodv(module, root_module): - return - -def register_functions_ns3_dot11s(module, root_module): - return - -def register_functions_ns3_dsdv(module, root_module): - return - -def register_functions_ns3_flame(module, root_module): - return - -def register_functions_ns3_internal(module, root_module): - return - -def register_functions_ns3_olsr(module, root_module): - return - -def main(): - out = FileCodeSink(sys.stdout) - root_module = module_init() - register_types(root_module) - register_methods(root_module) - register_functions(root_module) - root_module.generate(out) - -if __name__ == '__main__': - main() - diff --git a/bindings/python/ns3modulegen-modular.py b/bindings/python/ns3modulegen-modular.py index 2f5f178d1..b949d4d89 100644 --- a/bindings/python/ns3modulegen-modular.py +++ b/bindings/python/ns3modulegen-modular.py @@ -18,7 +18,8 @@ class ErrorHandler(pybindgen.settings.ErrorHandler): pybindgen.settings.error_handler = ErrorHandler() - +#print >> sys.stderr, ">>>>>>>>>>>>>>>>>>>>>>>>>>>> ", bool(eval(os.environ["GCC_RTTI_ABI_COMPLETE"])) +pybindgen.settings.gcc_rtti_abi_complete = bool(eval(os.environ["GCC_RTTI_ABI_COMPLETE"])) class MyMultiSectionFactory(MultiSectionFactory): def __init__(self, main_file_name): diff --git a/bindings/python/wscript b/bindings/python/wscript index a22c2ef3a..1ea7a4692 100644 --- a/bindings/python/wscript +++ b/bindings/python/wscript @@ -2,7 +2,7 @@ import types import re import os -import pproc as subprocess +import subprocess import shutil import sys @@ -14,28 +14,15 @@ import Logs import Build import Utils +from waflib.Errors import WafError + ## https://launchpad.net/pybindgen/ -REQUIRED_PYBINDGEN_VERSION = (0, 15, 0, 785) +REQUIRED_PYBINDGEN_VERSION = (0, 15, 0, 795) REQUIRED_PYGCCXML_VERSION = (0, 9, 5) - from TaskGen import feature, after -import Task, ccroot - -@feature('pch') -@after('apply_link') -def process_pch(self): - node = self.path.find_resource(self.pch) - assert node - tsk = self.create_task('gchx') - tsk.set_inputs(node) - tsk.set_outputs(node.parent.find_or_declare(node.name + '.gch')) - -comp_line = '${CXX} ${CXXFLAGS} ${CPPFLAGS} ${_CXXINCFLAGS} ${_CXXDEFFLAGS} ${SRC} -o ${TGT}' -cls = Task.simple_task_type('gchx', comp_line, before='cc cxx') -cls.scan = ccroot.scan - +import Task @@ -50,25 +37,14 @@ def set_pybindgen_pythonpath(env): add_to_python_path(env['WITH_PYBINDGEN']) -def set_options(opt): - opt.tool_options('python') - c = ("monolithic", "modular", "both") - opt.add_option('--bindings-type', type="choice", - choices=c, - help=("Type of Python bindings to build %r. " - "Warning: the modular bindings are still experimental." % (c,)), - default="modular", - dest='bindings_type') +def options(opt): + opt.tool_options('python', ["waf-tools"]) opt.add_option('--disable-python', help=("Don't build Python bindings."), action="store_true", default=False, dest='python_disable') - opt.add_option('--python-scan', - help=("Rescan Python bindings. Needs working GCCXML / pygccxml environment."), - action="store_true", default=False, - dest='python_scan') opt.add_option('--apiscan', - help=("EXPERIMENTAL: Rescan the API for the indicated module(s), for Python bindings. " + help=("Rescan the API for the indicated module(s), for Python bindings. " "Needs working GCCXML / pygccxml environment. " "The metamodule 'all' expands to all available ns-3 modules."), default=None, dest='apiscan', metavar="MODULE[,MODULE...]") @@ -76,19 +52,23 @@ def set_options(opt): help=('Path to an existing pybindgen source tree to use.'), default=None, dest='with_pybindgen', type="string") - opt.add_option('--enable-python-pch', - help=("Enable precompiled headers when compiling python bindings, to speed up compilation."), - action="store_true", default=False, - dest='enable_python_pch') + opt.add_option('--with-python', + help=('Path to the Python interpreter to use.'), + default=None, dest='with_python', type="string") def configure(conf): - conf.env['ENABLE_PYTHON_PCH'] = Options.options.enable_python_pch conf.env['ENABLE_PYTHON_BINDINGS'] = False if Options.options.python_disable: conf.report_optional_feature("python", "Python Bindings", False, "disabled by user request") return + # Disable python in static builds (bug #1253) + if ((conf.env['ENABLE_STATIC_NS3']) or \ + (conf.env['ENABLE_SHARED_AND_STATIC_NS3'])): + conf.report_optional_feature("python", "Python Bindings", False, + "bindings incompatible with static build") + return enabled_modules = list(conf.env['NS3_ENABLED_MODULES']) enabled_modules.sort() @@ -96,7 +76,7 @@ def configure(conf): available_modules.sort() all_modules_enabled = (enabled_modules == available_modules) - conf.check_tool('misc') + conf.check_tool('misc', tooldir=['waf-tools']) if sys.platform == 'cygwin': conf.report_optional_feature("python", "Python Bindings", False, @@ -104,15 +84,36 @@ def configure(conf): Logs.warn("Python is not supported in CygWin environment. Try MingW instead.") return + ## Check for Python + + if Options.options.with_python is not None: + conf.env.PYTHON = Options.options.with_python + try: - conf.check_tool('python') + conf.check_tool('python', ["waf-tools"]) conf.check_python_version((2,3)) conf.check_python_headers() except Configure.ConfigurationError, ex: conf.report_optional_feature("python", "Python Bindings", False, str(ex)) return + # stupid Mac OSX Python wants to build extensions as "universal + # binaries", i386, x86_64, and ppc, but this way the type + # __uint128_t is not available. We need to disable the multiarch + # crap by removing the -arch parameters. + for flags_var in ["CFLAGS_PYEXT", "CFLAGS_PYEMBED", "CXXFLAGS_PYEMBED", + "CXXFLAGS_PYEXT", "LINKFLAGS_PYEMBED", "LINKFLAGS_PYEXT"]: + flags = conf.env[flags_var] + i = 0 + while i < len(flags): + if flags[i] == '-arch': + del flags[i] + del flags[i] + continue + i += 1 + conf.env[flags_var] = flags + # -fvisibility=hidden optimization if (conf.env['CXX_NAME'] == 'gcc' and [int(x) for x in conf.env['CC_VERSION']] >= [4,0,0] and conf.check_compilation_flag('-fvisibility=hidden')): @@ -122,7 +123,7 @@ def configure(conf): # Check for the location of pybindgen if Options.options.with_pybindgen is not None: if os.path.isdir(Options.options.with_pybindgen): - conf.check_message("pybindgen location", '', True, ("%s (given)" % Options.options.with_pybindgen)) + conf.msg("Checking for pybindgen location", ("%s (given)" % Options.options.with_pybindgen)) conf.env['WITH_PYBINDGEN'] = os.path.abspath(Options.options.with_pybindgen) else: # ns-3-dev uses ../pybindgen, while ns-3 releases use ../REQUIRED_PYBINDGEN_VERSION @@ -130,15 +131,15 @@ def configure(conf): pybindgen_release_str = "pybindgen-" + '.'.join([str(x) for x in REQUIRED_PYBINDGEN_VERSION]) pybindgen_release_dir = os.path.join('..', pybindgen_release_str) if os.path.isdir(pybindgen_dir): - conf.check_message("pybindgen location", '', True, ("%s (guessed)" % pybindgen_dir)) + conf.msg("Checking for pybindgen location", ("%s (guessed)" % pybindgen_dir)) conf.env['WITH_PYBINDGEN'] = os.path.abspath(pybindgen_dir) elif os.path.isdir(pybindgen_release_dir): - conf.check_message("pybindgen location", '', True, ("%s (guessed)" % pybindgen_release_dir)) + conf.msg("Checking for pybindgen location", ("%s (guessed)" % pybindgen_release_dir)) conf.env['WITH_PYBINDGEN'] = os.path.abspath(pybindgen_release_dir) del pybindgen_dir del pybindgen_release_dir if not conf.env['WITH_PYBINDGEN']: - conf.check_message("pybindgen location", '', False) + conf.msg("Checking for pybindgen location", False) # Check for pybindgen @@ -152,15 +153,13 @@ def configure(conf): "PyBindGen missing") return else: - out = subprocess.Popen([conf.env['PYTHON'], "-c", + out = subprocess.Popen([conf.env['PYTHON'][0], "-c", "import pybindgen.version; " "print '.'.join([str(x) for x in pybindgen.version.__version__])"], stdout=subprocess.PIPE).communicate()[0] pybindgen_version_str = out.strip() pybindgen_version = tuple([int(x) for x in pybindgen_version_str.split('.')]) - conf.check_message('pybindgen', 'version', - (pybindgen_version == REQUIRED_PYBINDGEN_VERSION), - pybindgen_version_str) + conf.msg('Checking for pybindgen version', pybindgen_version_str) if not (pybindgen_version == REQUIRED_PYBINDGEN_VERSION): Logs.warn("pybindgen (found %s), (need %s)" % (pybindgen_version_str, @@ -185,10 +184,10 @@ int main () try: ret = conf.run_c_code(code=test_program, env=conf.env.copy(), compile_filename='test.cc', - compile_mode='cxx',type='cprogram', execute=False) + features='cxx cprogram', execute=False) except Configure.ConfigurationError: ret = 1 - conf.check_message_custom('types %s and %s' % (t1, t2), 'equivalency', (ret and 'no' or 'yes')) + conf.msg('Checking for types %s and %s equivalence' % (t1, t2), (ret and 'no' or 'yes')) return not ret uint64_is_long = test("uint64_t", "unsigned long") @@ -205,7 +204,7 @@ int main () else: msg = conf.env['PYTHON_BINDINGS_APIDEFS'] - conf.check_message_custom('the apidefs that can be used for Python bindings', '', msg) + conf.msg('Checking for the apidefs that can be used for Python bindings', msg) if conf.env['PYTHON_BINDINGS_APIDEFS'] is None: conf.report_optional_feature("python", "Python Bindings", False, @@ -213,24 +212,26 @@ int main () return - conf.env['BINDINGS_TYPE'] = Options.options.bindings_type - - if not all_modules_enabled: - if conf.env['BINDINGS_TYPE'] == 'both': - conf.env['BINDINGS_TYPE'] = 'modular' - elif conf.env['BINDINGS_TYPE'] == 'monolithic': - conf.report_optional_feature("python", "Python Bindings", False, "Monolithic python bindings need all ns-3 modules to be enabled") - return - ## If all has gone well, we finally enable the Python bindings conf.env['ENABLE_PYTHON_BINDINGS'] = True conf.report_optional_feature("python", "Python Bindings", True, None) - if conf.env['BINDINGS_TYPE'] == 'both': - msg = "monolithic and modular" - else: - msg = conf.env['BINDINGS_TYPE'] - conf.check_message_custom('type of bindings to build', '', msg) + + # check cxxabi stuff (which Mac OS X Lion breaks) + fragment = r""" +# include +int main () +{ + const abi::__si_class_type_info *_typeinfo __attribute__((unused)) = NULL; + return 0; +} +""" + gcc_rtti_abi = conf.check_nonfatal(fragment=fragment, msg="Checking for internal GCC cxxabi", + okmsg="complete", errmsg='incomplete', + mandatory=False) + conf.env["GCC_RTTI_ABI_COMPLETE"] = str(bool(gcc_rtti_abi)) + + ## Check for pygccxml try: @@ -240,14 +241,12 @@ int main () "Missing 'pygccxml' Python module") return - out = subprocess.Popen([conf.env['PYTHON'], "-c", + out = subprocess.Popen([conf.env['PYTHON'][0], "-c", "import pygccxml; print pygccxml.__version__"], stdout=subprocess.PIPE).communicate()[0] pygccxml_version_str = out.strip() pygccxml_version = tuple([int(x) for x in pygccxml_version_str.split('.')]) - conf.check_message('pygccxml', 'version', - (pygccxml_version >= REQUIRED_PYGCCXML_VERSION), - pygccxml_version_str) + conf.msg('Checking for pygccxml version', pygccxml_version_str) if not (pygccxml_version >= REQUIRED_PYGCCXML_VERSION): Logs.warn("pygccxml (found %s) is too old (need %s) => " "automatic scanning of API definitions will not be possible" % @@ -259,7 +258,10 @@ int main () ## Check gccxml version - gccxml = conf.find_program('gccxml', var='GCCXML') + try: + gccxml = conf.find_program('gccxml', var='GCCXML') + except WafError: + gccxml = None if not gccxml: Logs.warn("gccxml missing; automatic scanning of API definitions will not be possible") conf.report_optional_feature("pygccxml", "Python API Scanning Support", False, @@ -270,7 +272,7 @@ int main () m = re.match( "^GCC-XML version (\d\.\d(\.\d)?)$", gccxml_version_line) gccxml_version = m.group(1) gccxml_version_ok = ([int(s) for s in gccxml_version.split('.')] >= [0, 9]) - conf.check_message('gccxml', 'version', True, gccxml_version) + conf.msg('Checking for gccxml version', gccxml_version) if not gccxml_version_ok: Logs.warn("gccxml too old, need version >= 0.9; automatic scanning of API definitions will not be possible") conf.report_optional_feature("pygccxml", "Python API Scanning Support", False, @@ -281,27 +283,23 @@ int main () conf.env['ENABLE_PYTHON_SCANNING'] = True conf.report_optional_feature("pygccxml", "Python API Scanning Support", True, None) - - - # --------------------- def get_headers_map(bld): headers_map = {} # header => module for ns3headers in bld.all_task_gen: - if type(ns3headers).__name__ == 'ns3header_taskgen': # XXX: find less hackish way to compare + if 'ns3header' in getattr(ns3headers, "features", []): if ns3headers.module.endswith('-test'): continue - for h in ns3headers.to_list(ns3headers.source): + for h in ns3headers.to_list(ns3headers.headers): headers_map[os.path.basename(h)] = ns3headers.module return headers_map def get_module_path(bld, module): for ns3headers in bld.all_task_gen: - if type(ns3headers).__name__ == 'ns3header_taskgen': # XXX: find less hackish way to compare + if 'ns3header' in getattr(ns3headers, "features", []): if ns3headers.module == module: break - else: raise ValueError("Module %r not found" % module) return ns3headers.path.abspath() @@ -309,8 +307,8 @@ def get_module_path(bld, module): class apiscan_task(Task.TaskBase): """Uses gccxml to scan the file 'everything.h' and extract API definitions. """ - after = 'gen_ns3_module_header_task ns3header_task' - before = 'cc cxx gchx' + after = 'gen_ns3_module_header ns3header' + before = 'cc cxx command' color = "BLUE" def __init__(self, curdirnode, env, bld, target, cflags, module): self.bld = bld @@ -325,7 +323,7 @@ class apiscan_task(Task.TaskBase): return 'api-scan-%s\n' % (self.target,) def run(self): - top_builddir = self.curdirnode.find_dir('../..').abspath(self.env) + top_builddir = self.bld.bldnode.abspath() module_path = get_module_path(self.bld, self.module) headers_map = get_headers_map(self.bld) scan_header = os.path.join(top_builddir, "ns3", "%s-module.h" % self.module) @@ -335,7 +333,7 @@ class apiscan_task(Task.TaskBase): return 0 argv = [ - self.env['PYTHON'], + self.env['PYTHON'][0], os.path.join(self.curdirnode.abspath(), 'ns3modulescan-modular.py'), # scanning script top_builddir, self.module, @@ -348,140 +346,6 @@ class apiscan_task(Task.TaskBase): return retval - -# -------------- -prio_headers = { - -2: ( - "string.h", # work around http://www.gccxml.org/Bug/view.php?id=6682 - ), - -1: ( - "propagation-delay-model.h", - "propagation-loss-model.h", - "net-device.h", - "ipv4-interface.h", - ) - } - -def get_header_prio(header): - for prio, headers in prio_headers.iteritems(): - if header in headers: - return prio - return 1 - - -def calc_header_include(path): - (head, tail) = os.path.split (path) - if tail == 'ns3': - return '' - else: - return os.path.join (calc_header_include (head), tail) - - -class gen_everything_h_task(Task.Task): - before = 'cc cxx gchx' - after = 'ns3header_task' - color = 'BLUE' - - def run(self): - assert len(self.outputs) == 1 - - header_files = [calc_header_include(node.abspath(self.env)) for node in self.inputs] - outfile = file(self.outputs[0].bldpath(self.env), "w") - - def sort_func(h1, h2): - return cmp((get_header_prio(h1), h1), (get_header_prio(h1), h2)) - - header_files.sort(sort_func) - - print >> outfile, """ - -/* http://www.nsnam.org/bugzilla/show_bug.cgi?id=413 */ -#ifdef ECHO -# undef ECHO -#endif - - """ - for header in header_files: - print >> outfile, "#include \"ns3/%s\"" % (header,) - - print >> outfile, """ -namespace ns3 { -static inline Ptr -__dummy_function_to_force_template_instantiation (Ptr obj, TypeId typeId) -{ - return obj->GetObject (typeId); -} - - -static inline void -__dummy_function_to_force_template_instantiation_v2 () -{ - Time t1, t2, t3; - t1 = t2 + t3; - t1 = t2 - t3; - t1 < t2; - t1 <= t2; - t1 == t2; - t1 != t2; - t1 >= t2; - t1 > t2; -} - - -} -""" - outfile.close() - return 0 - - - -class all_ns3_headers_taskgen(TaskGen.task_gen): - """Generates a 'everything.h' header file that includes some/all public ns3 headers. - This single header file is to be parsed only once by gccxml, for greater efficiency. - """ - def __init__(self, *args, **kwargs): - super(all_ns3_headers_taskgen, self).__init__(*args, **kwargs) - self.install_path = None - #self.inst_dir = 'ns3' - - def apply(self): - ## get all of the ns3 headers - ns3_dir_node = self.bld.path.find_dir("ns3") - all_headers_inputs = [] - - for filename in self.to_list(self.source): - src_node = ns3_dir_node.find_or_declare(filename) - if src_node is None: - raise Utils.WafError("source ns3 header file %s not found" % (filename,)) - all_headers_inputs.append(src_node) - - ## if self.source was empty, include all ns3 headers in enabled modules - if not all_headers_inputs: - for ns3headers in self.bld.all_task_gen: - if type(ns3headers).__name__ == 'ns3header_taskgen': # XXX: find less hackish way to compare - ## skip headers not part of enabled modules - if ns3headers.module.endswith('-test'): - continue - if self.env['NS3_ENABLED_MODULES']: - if ("ns3-%s" % ns3headers.module) not in self.env['NS3_ENABLED_MODULES']: - continue - - for source in ns3headers.to_list(ns3headers.source): - #source = os.path.basename(source) - node = ns3_dir_node.find_or_declare(os.path.basename(source)) - if node is None: - raise Utils.WafError("missing header file %s" % (source,)) - all_headers_inputs.append(node) - assert all_headers_inputs - all_headers_outputs = [self.path.find_or_declare("everything.h")] - task = self.create_task('gen_everything_h', env=self.env) - task.set_inputs(all_headers_inputs) - task.set_outputs(all_headers_outputs) - - def install(self): - pass - - def get_modules_and_headers(bld): """ Gets a dict of @@ -499,58 +363,22 @@ def get_modules_and_headers(bld): ## find the headers object for this module headers = [] for ns3headers in bld.all_task_gen: - if type(ns3headers).__name__ != 'ns3header_taskgen': # XXX: find less hackish way to compare + if 'ns3header' not in getattr(ns3headers, "features", []): continue if ns3headers.module != module_name: continue - for source in ns3headers.to_list(ns3headers.source): + for source in ns3headers.to_list(ns3headers.headers): headers.append(os.path.basename(source)) retval[module_name] = (list(module.module_deps), headers) return retval -class python_scan_task(Task.TaskBase): - """Uses gccxml to scan the file 'everything.h' and extract API definitions. - """ - after = 'gen_everything_h_task' - before = 'cc cxx gchx' - color = "BLUE" - def __init__(self, curdirnode, env, bld, target, cflags): - self.bld = bld - super(python_scan_task, self).__init__(generator=self) - self.curdirnode = curdirnode - self.env = env - self.target = target - self.cflags = cflags - - def display(self): - return 'python-scan-%s\n' % (self.target,) - - def run(self): - defsdir = os.path.join(self.curdirnode.abspath(), 'apidefs', self.target) - try: - os.mkdir(defsdir) - except OSError: - pass - argv = [ - self.env['PYTHON'], - os.path.join(self.curdirnode.abspath(), 'ns3modulescan.py'), # scanning script - self.curdirnode.find_dir('../..').abspath(self.env), # include path (where the ns3 include dir is) - self.curdirnode.find_or_declare('everything.h').abspath(self.env), - os.path.join(defsdir, 'ns3modulegen_generated.py'), # output file - self.cflags, - ] - scan = subprocess.Popen(argv, stdin=subprocess.PIPE) - print >> scan.stdin, repr(get_modules_and_headers(self.bld)) - scan.stdin.close() - retval = scan.wait() - return retval class python_scan_task_collector(Task.TaskBase): """Tasks that waits for the python-scan-* tasks to complete and then signals WAF to exit """ - after = 'python_scan_task apiscan_task' + after = 'apiscan' before = 'cc cxx' color = "BLUE" def __init__(self, curdirnode, env, bld): @@ -566,19 +394,20 @@ class python_scan_task_collector(Task.TaskBase): # signal stop (we generated files into the source dir and WAF # can't cope with it, so we have to force the user to restart # WAF) - self.bld.generator.stop = 1 + self.bld.producer.stop = 1 + self.bld.producer.free_task_pool() return 0 class gen_ns3_compat_pymod_task(Task.Task): """Generates a 'ns3.py' compatibility module.""" - before = 'cc cxx gchx' + before = 'cc cxx' color = 'BLUE' def run(self): assert len(self.outputs) == 1 - outfile = file(self.outputs[0].abspath(self.env), "w") + outfile = file(self.outputs[0].abspath(), "w") print >> outfile, "import warnings" print >> outfile, 'warnings.warn("the ns3 module is a compatibility layer '\ 'and should not be used in newly written code", DeprecationWarning, stacklevel=2)' @@ -599,33 +428,6 @@ def build(bld): set_pybindgen_pythonpath(env) - bld.new_task_gen(features='copy', - source="ns__init__.py", - target='ns/__init__.py') - - - if env['ENABLE_PYTHON_BINDINGS'] and env['BINDINGS_TYPE'] in ('monolithic', 'both'): - obj = bld.new_task_gen('all_ns3_headers') - - if Options.options.python_scan: - if not env['ENABLE_PYTHON_SCANNING']: - raise Utils.WafError("Cannot re-scan python bindings: (py)gccxml not available") - scan_targets = [] - if sys.platform == 'cygwin': - scan_targets.append(('gcc-cygwin', '')) - else: - import struct - if struct.calcsize('I') == 4 and struct.calcsize('L') == 8 and struct.calcsize('P') == 8: - scan_targets.extend([('gcc-ILP32', '-m32'), ('gcc-LP64', '-m64')]) - elif struct.calcsize('I') == 4 and struct.calcsize('L') == 4 and struct.calcsize('P') == 4: - scan_targets.append(('gcc-ILP32', '')) - else: - raise Utils.WafError("Cannot scan python bindings for unsupported data model") - for target, cflags in scan_targets: - python_scan_task(bld.path, env, bld, target, cflags) - python_scan_task_collector(bld.path, env, bld) - return - if Options.options.apiscan: if not env['ENABLE_PYTHON_SCANNING']: raise Utils.WafError("Cannot re-scan python bindings: (py)gccxml not available") @@ -659,110 +461,27 @@ def build(bld): scan_modules = Options.options.apiscan.split(',') print "Modules to scan: ", scan_modules for target, cflags in scan_targets: + group = bld.get_group(bld.current_group) for module in scan_modules: - apiscan_task(bld.path, env, bld, target, cflags, module) - python_scan_task_collector(bld.path, env, bld) + group.append(apiscan_task(bld.path, env, bld, target, cflags, module)) + group.append(python_scan_task_collector(bld.path, env, bld)) return - if env['ENABLE_PYTHON_BINDINGS'] and env['BINDINGS_TYPE'] in ('monolithic', 'both'): - apidefs = env['PYTHON_BINDINGS_APIDEFS'] - - ## Get a list of scanned modules; the set of scanned modules - ## may be smaller than the set of all modules, in case a new - ## ns3 module is being developed which wasn't scanned yet. - scanned_modules = [] - for filename in os.listdir(os.path.join(curdir, 'apidefs', apidefs)): - m = re.match(r"^ns3_module_(.+)\.py$", filename) - if m is None: - continue - name = m.group(1) - if name.endswith("__local"): - continue - scanned_modules.append(name) - print "scanned_modules:", scanned_modules - debug = ('PYBINDGEN_DEBUG' in os.environ) - source = [ - 'ns3modulegen.py', - 'apidefs/%s/ns3modulegen_generated.py' % (apidefs,), - 'ns3modulegen_core_customizations.py', - ] - target = [ - 'ns3module.cc', - 'pch/ns3module.h', - ] - if not debug: - target.append('ns3modulegen.log') - - argv = ['NS3_ENABLED_FEATURES=${FEATURES}', '${PYTHON}'] - if debug: - argv.extend(["-m", "pdb"]) - argv.extend(['${SRC[0]}', '${TGT[0]}', os.path.join(curdir, 'apidefs', apidefs)]) - - argv.extend(get_modules_and_headers(bld).iterkeys()) - for module in scanned_modules: - source.append("apidefs/%s/ns3_module_%s.py" % (apidefs, module)) - local = "ns3_module_%s__local.py" % module - if os.path.exists(os.path.join(curdir, local)): - source.append(local) - - if not debug: - argv.extend(['2>', '${TGT[2]}']) # 2> ns3modulegen.log - - for module in scanned_modules: - target.append("ns3_module_%s.cc" % module) - - features = [] - for (name, caption, was_enabled, reason_not_enabled) in env['NS3_OPTIONAL_FEATURES']: - if was_enabled: - features.append(name) - - bindgen = bld.new_task_gen('command', source=source, target=target, command=argv) - bindgen.env['FEATURES'] = ','.join(features) - bindgen.dep_vars = ['FEATURES'] - bindgen.before = 'cxx gchx' - bindgen.after = 'gen_everything_h_task' - bindgen.name = "pybindgen-command" - - features = 'cxx cshlib pyext' - if env['ENABLE_PYTHON_PCH']: - features += ' pch' - pymod = bld.new_task_gen(features=features) - pymod.source = ['ns3module.cc', 'ns3module_helpers.cc'] - pymod.includes = '. pch' - if env['ENABLE_PYTHON_PCH']: - pymod.pch = 'pch/ns3module.h' - for module in scanned_modules: - pymod.source.append("ns3_module_%s.cc" % module) - pymod.target = 'ns3/_ns3' - pymod.name = 'ns3module' - pymod.uselib_local = bld.env['NS3_ENABLED_MODULES'] - if pymod.env['ENABLE_STATIC_NS3']: - if sys.platform == 'darwin': - pymod.env.append_value('LINKFLAGS', '-Wl,-all_load') - for mod in pymod.uselib_local: - pymod.env.append_value('LINKFLAGS', '-l' + mod) - else: - pymod.env.append_value('LINKFLAGS', '-Wl,--whole-archive,-Bstatic') - for mod in pymod.uselib_local: - pymod.env.append_value('LINKFLAGS', '-l' + mod) - pymod.env.append_value('LINKFLAGS', '-Wl,-Bdynamic,--no-whole-archive') - - defines = list(pymod.env['CXXDEFINES']) - defines.extend(['NS_DEPRECATED=', 'NS3_DEPRECATED_H']) - if Options.platform == 'win32': - try: - defines.remove('_DEBUG') # causes undefined symbols on win32 - except ValueError: - pass - pymod.env['CXXDEFINES'] = defines - - bld.new_task_gen(features='copy', - source="ns3__init__.py", - target='ns3/__init__.py') - - if env['ENABLE_PYTHON_BINDINGS'] and env['BINDINGS_TYPE'] in ('modular',): - task = gen_ns3_compat_pymod_task(env) + if env['ENABLE_PYTHON_BINDINGS']: + task = gen_ns3_compat_pymod_task(env=env.derive()) task.set_outputs(bld.path.find_or_declare("ns3.py")) task.dep_vars = ['PYTHON_MODULES_BUILT'] + task.bld = bld + grp = bld.get_group(bld.current_group) + grp.append(task) + + bld.new_task_gen(features='copy', + source="ns__init__.py", + target='ns/__init__.py') + bld.install_as('${PYTHONDIR}/ns/__init__.py', 'ns__init__.py') + + + # note: the actual build commands for the python bindings are in + # src/wscript, not here. diff --git a/doc/codingstd.txt b/doc/codingstd.txt index 31b5b9d23..0f328eb50 100644 --- a/doc/codingstd.txt +++ b/doc/codingstd.txt @@ -1,2 +1,2 @@ The project coding style document is maintained at: -http://www.nsnam.org/codingstyle.html +http://www.nsnam.org/developers/contributing-code/coding-style/ diff --git a/doc/contributing.txt b/doc/contributing.txt index f9a1afdb5..efd9fc62a 100644 --- a/doc/contributing.txt +++ b/doc/contributing.txt @@ -4,4 +4,4 @@ Contributing to the ns-3 project ns-3 is a free, open source software project that welcomes contributions from users worldwide. Please see the following web page for how to contribute: -http://www.nsnam.org/contributing.html +http://www.nsnam.org/developers/contributing-code/ diff --git a/doc/manual/Makefile b/doc/manual/Makefile index 2380764b3..9931864a5 100644 --- a/doc/manual/Makefile +++ b/doc/manual/Makefile @@ -11,7 +11,11 @@ IMAGES_EPS = \ # rescale pdf figures as necessary $(FIGURES)/software-organization.pdf_width = 5in -IMAGES_PNG = ${IMAGES_EPS:.eps=.png} +IMAGES_PNG = \ + $(FIGURES)/plot-2d.png \ + $(FIGURES)/plot-2d-with-error-bars.png \ + $(FIGURES)/plot-3d.png \ + ${IMAGES_EPS:.eps=.png} IMAGES_PDF = ${IMAGES_EPS:.eps=.pdf} IMAGES = $(IMAGES_EPS) $(IMAGES_PNG) $(IMAGES_PDF) diff --git a/doc/manual/figures/plot-2d-with-error-bars.png b/doc/manual/figures/plot-2d-with-error-bars.png new file mode 100644 index 000000000..c396f2a6e Binary files /dev/null and b/doc/manual/figures/plot-2d-with-error-bars.png differ diff --git a/doc/manual/figures/plot-2d.png b/doc/manual/figures/plot-2d.png new file mode 100644 index 000000000..3ba1621b6 Binary files /dev/null and b/doc/manual/figures/plot-2d.png differ diff --git a/doc/manual/figures/plot-3d.png b/doc/manual/figures/plot-3d.png new file mode 100644 index 000000000..5165a2a5a Binary files /dev/null and b/doc/manual/figures/plot-3d.png differ diff --git a/doc/manual/source/attributes.rst b/doc/manual/source/attributes.rst index 3ce1c11ad..dd4e00d23 100644 --- a/doc/manual/source/attributes.rst +++ b/doc/manual/source/attributes.rst @@ -278,7 +278,7 @@ Default values and command-line arguments +++++++++++++++++++++++++++++++++++++++++ Let's look at how a user script might access these values. -This is based on the script found at ``src/core/examples/main-attribute-value.cc``, +This is based on the script found at ``src/point-to-point/examples/main-attribute-value.cc``, with some details stripped out.:: // @@ -640,38 +640,67 @@ instance of the new class. ConfigStore *********** -**Feedback requested:** This is an experimental feature of |ns3|. It is found -in ``src/config-store``. If you like this feature and -would like to provide feedback on it, please email us. +The ConfigStore is a specialized database for attribute values and +default values. Although it is a separately maintained module in +``src/config-store/`` directory, we document it here because of its +sole dependency on |ns3| core module and attributes. Values for |ns3| attributes can be stored in an ASCII or XML text file and loaded into a future simulation. This feature is known as the -|ns3| ConfigStore. The ConfigStore code is in ``src/config-store/model``. -It is still considered as unstable code, because we are seeking some -user feedback and experience with this. +|ns3| ConfigStore. We can explore this system by using an example from +``src/config-store/examples/config-store-save.cc``. -We can explore this system by using an example. Copy the ``csma-bridge.cc`` -file to the scratch directory::: - - cp examples/csma-bridge.cc scratch/ - ./waf - -Let's edit it to add the ConfigStore feature. First, add an include statement to -include the contrib module, and then add these lines::: +First, all users must include the following statement::: #include "ns3/config-store-module.h" - ... - int main (...) + +Next, this program adds a sample object A to show how the system +is extended::: + + class A : public Object { - // setup topology + public: + static TypeId GetTypeId (void) { + static TypeId tid = TypeId ("ns3::A") + .SetParent () + .AddAttribute ("TestInt16", "help text", + IntegerValue (-2), + MakeIntegerAccessor (&A::m_int16), + MakeIntegerChecker ()) + ; + return tid; + } + int16_t m_int16; + }; + + NS_OBJECT_ENSURE_REGISTERED (A); - // Invoke just before entering Simulator::Run () - ConfigStore config; - config.ConfigureDefaults (); - config.ConfigureAttributes (); +Next, we use the Config subsystem to override the defaults in a couple of +ways::: + + Config::SetDefault ("ns3::A::TestInt16", IntegerValue (-5)); + + Ptr a_obj = CreateObject (); + NS_ABORT_MSG_UNLESS (a_obj->m_int16 == -5, "Cannot set A's integer attribute via Config::SetDefault"); + + Ptr a2_obj = CreateObject (); + a2_obj->SetAttribute ("TestInt16", IntegerValue (-3)); + IntegerValue iv; + a2_obj->GetAttribute ("TestInt16", iv); + NS_ABORT_MSG_UNLESS (iv.Get () == -3, "Cannot set A's integer attribute via SetAttribute"); + +The next statement is necessary to make sure that (one of) the objects +created is rooted in the configuration namespace as an object instance. +This normally happens when you aggregate objects to ns3::Node or ns3::Channel +but here, since we are working at the core level, we need to create a +new root namespace object::: - Simulator::Run (); - } + Config::RegisterRootNamespaceObject (a2_obj); + +Next, we want to output the configuration store. The examples show how +to do it in two formats, XML and raw text. In practice, one should perform +this step just before calling ``Simulator::Run ()``; it will allow the +configuration to be saved just before running the simulation. There are three attributes that govern the behavior of the ConfigStore: "Mode", "Filename", and "FileFormat". The Mode (default "None") configures whether @@ -681,28 +710,88 @@ There are three attributes that govern the behavior of the ConfigStore: "Mode", (default "RawText") governs whether the ConfigStore format is Xml or RawText format. -So, using the above modified program, try executing the following waf command -and :: +The example shows::: - ./waf --command-template="%s --ns3::ConfigStore::Filename=csma-bridge-config.xml - --ns3::ConfigStore::Mode=Save --ns3::ConfigStore::FileFormat=Xml" --run scratch/csma-bridge + Config::SetDefault ("ns3::ConfigStore::Filename", StringValue ("output-attributes.xml")); + Config::SetDefault ("ns3::ConfigStore::FileFormat", StringValue ("Xml")); + Config::SetDefault ("ns3::ConfigStore::Mode", StringValue ("Save")); + ConfigStore outputConfig; + outputConfig.ConfigureDefaults (); + outputConfig.ConfigureAttributes (); + + // Output config store to txt format + Config::SetDefault ("ns3::ConfigStore::Filename", StringValue ("output-attributes.txt")); + Config::SetDefault ("ns3::ConfigStore::FileFormat", StringValue ("RawText")); + Config::SetDefault ("ns3::ConfigStore::Mode", StringValue ("Save")); + ConfigStore outputConfig2; + outputConfig2.ConfigureDefaults (); + outputConfig2.ConfigureAttributes (); + + Simulator::Run (); + + Simulator::Destroy (); + +After running, you can open the output-attributes.txt file and see::: -After running, you can open the csma-bridge-config.xml file and it will -display the configuration that was applied to your simulation; e.g.:: + default ns3::RealtimeSimulatorImpl::SynchronizationMode "BestEffort" + default ns3::RealtimeSimulatorImpl::HardLimit "+100000000.0ns" + default ns3::PcapFileWrapper::CaptureSize "65535" + default ns3::PacketSocket::RcvBufSize "131072" + default ns3::ErrorModel::IsEnabled "true" + default ns3::RateErrorModel::ErrorUnit "EU_BYTE" + default ns3::RateErrorModel::ErrorRate "0" + default ns3::RateErrorModel::RanVar "Uniform:0:1" + default ns3::DropTailQueue::Mode "Packets" + default ns3::DropTailQueue::MaxPackets "100" + default ns3::DropTailQueue::MaxBytes "6553500" + default ns3::Application::StartTime "+0.0ns" + default ns3::Application::StopTime "+0.0ns" + default ns3::ConfigStore::Mode "Save" + default ns3::ConfigStore::Filename "output-attributes.txt" + default ns3::ConfigStore::FileFormat "RawText" + default ns3::A::TestInt16 "-5" + global RngSeed "1" + global RngRun "1" + global SimulatorImplementationType "ns3::DefaultSimulatorImpl" + global SchedulerType "ns3::MapScheduler" + global ChecksumEnabled "false" + value /$ns3::A/TestInt16 "-3" + +In the above, all of the default values for attributes for the core +module are shown. Then, all the values for the |ns3| global values +are recorded. Finally, the value of the instance of A that was rooted +in the configuration namespace is shown. In a real ns-3 program, many +more models, attributes, and defaults would be shown. + +An XML version also exists in ``output-attributes.xml``::: - - - - - - - - - - ... - + + + + + + + + + + + + + + + + + + + + + + + + + This file can be archived with your simulation script and output data. While it is possible to generate a sample config file and lightly edit it to @@ -767,8 +856,8 @@ Ubuntu installation command is::: sudo apt-get install libgtk2.0-0 libgtk2.0-dev -To check whether it is configured or not, check the output of the -./waf configure --enable-examples --enable-tests step::: +To check whether it is configured or not, check the output of the step::: +./waf configure --enable-examples --enable-tests ---- Summary of optional NS-3 features: Threading Primitives : enabled @@ -796,4 +885,3 @@ There are a couple of possible improvements: * save a unique version number with date and time at start of file * save rng initial seed somewhere. * make each RandomVariable serialize its own initial seed and re-read it later -* add the default values diff --git a/doc/manual/source/gnuplot.rst b/doc/manual/source/gnuplot.rst new file mode 100644 index 000000000..c4253bb72 --- /dev/null +++ b/doc/manual/source/gnuplot.rst @@ -0,0 +1,294 @@ +.. include:: replace.txt + +Making Plots using the Gnuplot Class +------------------------------------ + +There are 2 common methods to make a plot using |ns3| and gnuplot (http://www.gnuplot.info): + +#. Create a gnuplot control file using |ns3|'s Gnuplot class. +#. Create a gnuplot data file using values generated by |ns3|. + +This section is about method 1, i.e. it is about how to make a plot using |ns3|'s Gnuplot class. If you are interested in method 2, see the "A Real Example" subsection under the "Tracing" section in the |ns3| `Tutorial `_. + +Creating Plots Using the Gnuplot Class +************************************** + +The following steps must be taken in order to create a plot using |ns3|'s Gnuplot class: + +#. Modify your code so that is uses the Gnuplot class and its functions. +#. Run your code so that it creates a gnuplot control file. +#. Call gnuplot with the name of the gnuplot control file. +#. View the graphics file that was produced in your favorite graphics viewer. + +See the code from the example plots that are discussed below for details on step 1. + +An Example Program that Uses the Gnuplot Class +********************************************** + +An example program that uses |ns3|'s Gnuplot class can be found here: :: + + src/tools/examples/gnuplot-example.cc + +In order to run this example, do the following: :: + + ./waf shell + cd build/debug/src/tools/examples + ./gnuplot-example + +This should produce the following gnuplot control files in the directory where the example is located: :: + + plot-2d.plt + plot-2d-with-error-bars.plt + plot-3d.plt + +In order to process these gnuplot control files, do the following: :: + + gnuplot plot-2d.plt + gnuplot plot-2d-with-error-bars.plt + gnuplot plot-3d.plt + +This should produce the following graphics files in the directory where the example is located: :: + + plot-2d.png + plot-2d-with-error-bars.png + plot-3d.png + +You can view these graphics files in your favorite graphics viewer. If you have gimp installed on your machine, for example, you can do this: :: + + gimp plot-2d.png + gimp plot-2d-with-error-bars.png + gimp plot-3d.png + +An Example 2-Dimensional Plot +***************************** + +The following 2-Dimensional plot + +.. _plot-2d: + +.. figure:: figures/plot-2d.* + +was created using the following code from gnuplot-example.cc: :: + + using namespace std; + + string fileNameWithNoExtension = "plot-2d"; + string graphicsFileName = fileNameWithNoExtension + ".png"; + string plotFileName = fileNameWithNoExtension + ".plt"; + string plotTitle = "2-D Plot"; + string dataTitle = "2-D Data"; + + // Instantiate the plot and set its title. + Gnuplot plot (graphicsFileName); + plot.SetTitle (plotTitle); + + // Make the graphics file, which the plot file will create when it + // is used with Gnuplot, be a PNG file. + plot.SetTerminal ("png"); + + // Set the labels for each axis. + plot.SetLegend ("X Values", "Y Values"); + + // Set the range for the x axis. + plot.AppendExtra ("set xrange [-6:+6]"); + + // Instantiate the dataset, set its title, and make the points be + // plotted along with connecting lines. + Gnuplot2dDataset dataset; + dataset.SetTitle (dataTitle); + dataset.SetStyle (Gnuplot2dDataset::LINES_POINTS); + + double x; + double y; + + // Create the 2-D dataset. + for (x = -5.0; x <= +5.0; x += 1.0) + { + // Calculate the 2-D curve + // + // 2 + // y = x . + // + y = x * x; + + // Add this point. + dataset.Add (x, y); + } + + // Add the dataset to the plot. + plot.AddDataset (dataset); + + // Open the plot file. + ofstream plotFile (plotFileName.c_str()); + + // Write the plot file. + plot.GenerateOutput (plotFile); + + // Close the plot file. + plotFile.close (); + +An Example 2-Dimensional Plot with Error Bars +********************************************* + +The following 2-Dimensional plot with error bars in the x and y directions + +.. _plot-2d-with-error-bars: + +.. figure:: figures/plot-2d-with-error-bars.* + +was created using the following code from gnuplot-example.cc: :: + + using namespace std; + + string fileNameWithNoExtension = "plot-2d-with-error-bars"; + string graphicsFileName = fileNameWithNoExtension + ".png"; + string plotFileName = fileNameWithNoExtension + ".plt"; + string plotTitle = "2-D Plot With Error Bars"; + string dataTitle = "2-D Data With Error Bars"; + + // Instantiate the plot and set its title. + Gnuplot plot (graphicsFileName); + plot.SetTitle (plotTitle); + + // Make the graphics file, which the plot file will create when it + // is used with Gnuplot, be a PNG file. + plot.SetTerminal ("png"); + + // Set the labels for each axis. + plot.SetLegend ("X Values", "Y Values"); + + // Set the range for the x axis. + plot.AppendExtra ("set xrange [-6:+6]"); + + // Instantiate the dataset, set its title, and make the points be + // plotted with no connecting lines. + Gnuplot2dDataset dataset; + dataset.SetTitle (dataTitle); + dataset.SetStyle (Gnuplot2dDataset::POINTS); + + // Make the dataset have error bars in both the x and y directions. + dataset.SetErrorBars (Gnuplot2dDataset::XY); + + double x; + double xErrorDelta; + double y; + double yErrorDelta; + + // Create the 2-D dataset. + for (x = -5.0; x <= +5.0; x += 1.0) + { + // Calculate the 2-D curve + // + // 2 + // y = x . + // + y = x * x; + + // Make the uncertainty in the x direction be constant and make + // the uncertainty in the y direction be a constant fraction of + // y's value. + xErrorDelta = 0.25; + yErrorDelta = 0.1 * y; + + // Add this point with uncertainties in both the x and y + // direction. + dataset.Add (x, y, xErrorDelta, yErrorDelta); + } + + // Add the dataset to the plot. + plot.AddDataset (dataset); + + // Open the plot file. + ofstream plotFile (plotFileName.c_str()); + + // Write the plot file. + plot.GenerateOutput (plotFile); + + // Close the plot file. + plotFile.close (); + +An Example 3-Dimensional Plot +***************************** + +The following 3-Dimensional plot + +.. _plot-3d: + +.. figure:: figures/plot-3d.* + +was created using the following code from gnuplot-example.cc: :: + + using namespace std; + + string fileNameWithNoExtension = "plot-3d"; + string graphicsFileName = fileNameWithNoExtension + ".png"; + string plotFileName = fileNameWithNoExtension + ".plt"; + string plotTitle = "3-D Plot"; + string dataTitle = "3-D Data"; + + // Instantiate the plot and set its title. + Gnuplot plot (graphicsFileName); + plot.SetTitle (plotTitle); + + // Make the graphics file, which the plot file will create when it + // is used with Gnuplot, be a PNG file. + plot.SetTerminal ("png"); + + // Rotate the plot 30 degrees around the x axis and then rotate the + // plot 120 degrees around the new z axis. + plot.AppendExtra ("set view 30, 120, 1.0, 1.0"); + + // Make the zero for the z-axis be in the x-axis and y-axis plane. + plot.AppendExtra ("set ticslevel 0"); + + // Set the labels for each axis. + plot.AppendExtra ("set xlabel 'X Values'"); + plot.AppendExtra ("set ylabel 'Y Values'"); + plot.AppendExtra ("set zlabel 'Z Values'"); + + // Set the ranges for the x and y axis. + plot.AppendExtra ("set xrange [-5:+5]"); + plot.AppendExtra ("set yrange [-5:+5]"); + + // Instantiate the dataset, set its title, and make the points be + // connected by lines. + Gnuplot3dDataset dataset; + dataset.SetTitle (dataTitle); + dataset.SetStyle ("with lines"); + + double x; + double y; + double z; + + // Create the 3-D dataset. + for (x = -5.0; x <= +5.0; x += 1.0) + { + for (y = -5.0; y <= +5.0; y += 1.0) + { + // Calculate the 3-D surface + // + // 2 2 + // z = x * y . + // + z = x * x * y * y; + + // Add this point. + dataset.Add (x, y, z); + } + + // The blank line is necessary at the end of each x value's data + // points for the 3-D surface grid to work. + dataset.AddEmptyLine (); + } + + // Add the dataset to the plot. + plot.AddDataset (dataset); + + // Open the plot file. + ofstream plotFile (plotFileName.c_str()); + + // Write the plot file. + plot.GenerateOutput (plotFile); + + // Close the plot file. + plotFile.close (); diff --git a/doc/manual/source/index.rst b/doc/manual/source/index.rst index aa235cfb4..0f7d8b260 100644 --- a/doc/manual/source/index.rst +++ b/doc/manual/source/index.rst @@ -28,6 +28,7 @@ This document is written in `reStructuredText -7. If this is a final release (not RC) - - archive ns-3.x RCs in /home/code/archived-repos - - delete ns-3.x RCs from /home/code/repos -8. check out a clean version of the new release (ns-3.x) or (ns-3.x-RCy) somewhere + +3. If this is a final release (not RC) + - move (mv) ns-3.x RCs in /home/code/archived-repos + +4. check out a clean version of the new release (ns-3.x) or (ns-3.x-RCy) + to your local machine - hg clone http://code.nsnam.org/ns-3.x or (-RCy) -9. Update the VERSION for this new release + +5. Update the VERSION for this new release - change the string 3-dev in the VERSION file to the real version (e.g. 3.7 or 3.7-RC1) This must agree with the version name you chose in the clone. - change the version and release string for the documentation in @@ -66,67 +113,87 @@ Steps in doing an ns-3 release VERSION file. - hg commit -m "update VERSION to ns-3.x" or (-RCy), you get the point - hg push ssh://code@code.nsnam.org//home/code/repos/ns-3.x -10. Run the tests on the new release (debug and optimized) like a user would - You need to use ns-3-allinone since you will use that to make the distro - It is convenient to let buildbot do much of this work for you, the day of - the release - - hg clone http://code.nsnam.org/ns-3-allinone ns-3-allinone-3.x-test - - cd !$ - - ./download.py -n ns-3.x - - ./build.py - - cd ns-3.x - - ./test.py - - ./test.py -g - - ./waf -d optimized --enable-examples --enable-tests configure - - ./waf - - ./test.py - - ./test.py -g - - There should be no test errors at this time -11. Create final tarballs + +creating the distribution tarball +--------------------------------- + +1. Create final tarballs You need to work with a clean ns-3-allinone-3.x directory - - hg clone http://code.nsnam.org/ns-3-allinone ns-3-allinone-3.x - - cd !$ + - hg clone http://code.nsnam.org/ns-3-allinone + - cd ns-3-allinone - ./download.py -n ns-3.x - - ./dist.py - - notice we did not build here + - ./dist.py (notice we did not build here) - this will create an ns-allinone-3.x.tar.bz2 tarball - - test this tarball out somewhere just to make sure everything went ok -12. upload "ns-allinone-3.x.tar.bz2" to the /var/www/html/releases/ directory on + - sanity check this tarball just to make sure everything went ok + +2. upload "ns-allinone-3.x.tar.bz2" to the /var/www/html/releases/ directory on the www.nsnam.org server - scp ns-allinone-3.x.tar.bz2 www.nsnam.org:~ - ssh www.nsnam.org - sudo cp ns-allinone-3.x.tar.bz2 /var/www/html/releases - cd !$ -13. give it 644 file permissions, and user/group = apache if it is not already + +3. give it 644 file permissions, and user/group = apache if it is not already - sudo chown apache:apache ns-allinone-3.x.tar.bz2 - sudo chmod 644 ns-allinone-3.x.tar.bz2 -14. if this is a final release (not RC) + +4. if this is a final release (not RC) - delete RC releases from /var/www/html/releases -15. if final release (not RC) build release documentation + +preparing the documentation +---------------------------- + +1. If final release, build release documentation - sudo bash; su nsnam; cd /home/nsnam/bin - - edit ./update-manual-release, ./update-tutorial-release, - ./update-doxygen-release and make sure RELEASE variable is - set correctly - - run ./update-manual-release, ./update-tutorial-release, - ./update-doxygen-release -16. update web pages on www.nsnam.org (source is in the www/ module) - - clone the source repo (hg clone http://code.nsnam.org/www) - - update references to releases in html_src - (consider "grep 'ns-3\.' *.html" for a new release) - (consider "grep 'RCx' *.html" for a new RC) - (consider looking at past commits to www for changes) - - update references to releases in scripts/ - - commit and push changes - - update roadmap on wiki -17. update the server - - build and update HTML directory on the server - -- ssh www.nsnam.org; sudo bash; su nsnam; - -- run ~/bin/update-html -18. Final checks + ./update-doxygen-release ns-3.x + ./update-manual-release ns-3.x + ./update-tutorial-release ns-3.x + +2. Check if these new files are available on the website + +preparing the Wordpress-based main website +------------------------------------------ + +1. create a new ns-3.x page which should be visible from +http://www.nsnam.org/ns-3.x +- New Features +- Download +- Bugs Fixed +- Documentation + +2. Repoint http://www.nsnam.org/releases/latest to the new page + +3. Update the Older Releases page to create an entry for the previous +release (there are two such pages, one under Releases and one under +Documentation) + +4. The main page http://www.nsnam.org should point to +ns-3.x in the "Download" and "Documentation" boxes + +5. Create blog entry to announce release + +ns-3 wiki edits +--------------- + +1. Create ns-3.(X+1) wiki page if not done already. + +2. edit front page and Roadmap + +Bugzilla +-------- + +1. Add a product version "ns-3.x" to the available versions. + +Announcing +---------- + +1. Final checks - check manual, tutorial, model, and doxygen documentation links - download tarball from web, build and run tests for as many targets as you can - download release from mercurial, build and run tests for as many targets as you can - test and verify until you're confident the release is solid. -19. announce to ns-developers, with summary of release notes + +2. announce to ns-developers and ns-3-users, with summary of release notes + diff --git a/doc/tutorial/source/conceptual-overview.rst b/doc/tutorial/source/conceptual-overview.rst index 32545cefb..51b05ef5a 100644 --- a/doc/tutorial/source/conceptual-overview.rst +++ b/doc/tutorial/source/conceptual-overview.rst @@ -297,19 +297,19 @@ The next line of the script is the following, We will use this statement as a convenient place to talk about our Doxygen documentation system. If you look at the project web site, `ns-3 project -`_, you will find a link to "Doxygen -(ns-3-dev)" in the navigation bar. If you select this link, you will be -taken to our documentation page for the current development release. There -is also a link to "Doxygen (stable)" that will take you to the documentation +`_, you will find a link to "Documentation" in the navigation bar. If you select this link, you will be +taken to our documentation page. There +is a link to "Latest Release" that will take you to the documentation for the latest stable release of |ns3|. +If you select the "API Documentation" link, you will be +taken to the |ns3| API documentation page. Along the left side, you will find a graphical representation of the structure of the documentation. A good place to start is the ``NS-3 Modules`` "book" in the |ns3| navigation tree. If you expand ``Modules`` you will see a list of |ns3| module documentation. The concept of -module here ties directly into the module include files discussed above. It -turns out that the |ns3| logging subsystem is part of the ``core`` -module, so go ahead and expand that documentation node. Now, expand the +module here ties directly into the module include files discussed above. The |ns3| logging subsystem is discussed in the ``C++ Constructs Used by All Modules`` +section, so go ahead and expand that documentation node. Now, expand the ``Debugging`` book and then select the ``Logging`` page. You should now be looking at the Doxygen documentation for the Logging module. diff --git a/doc/tutorial/source/tracing.rst b/doc/tutorial/source/tracing.rst index 92e3e43db..763b20055 100644 --- a/doc/tutorial/source/tracing.rst +++ b/doc/tutorial/source/tracing.rst @@ -638,18 +638,25 @@ error message, what in the world does it mean"? What Trace Sources are Available? +++++++++++++++++++++++++++++++++ -The answer to this question is found in the |ns3| Doxygen. Go to the -|ns3| web site `"here" -`_ -and select the "Doxygen (stable)" link "Documentation" on the navigation -bar to the left side of the page. Expand the "Modules" book in the NS-3 -documentation tree a the upper left by clicking the "+" box. Now, expand -the "Core" book in the tree by clicking its "+" box. You should now -see three extremely useful links: +The answer to this question is found in the |ns3| Doxygen. If you go to +the project web site, +`ns-3 project +`_, you will find a link to "Documentation" in the navigation bar. If you select this link, you will be +taken to our documentation page. There +is a link to "Latest Release" that will take you to the documentation +for the latest stable release of |ns3|. +If you select the "API Documentation" link, you will be +taken to the |ns3| API documentation page. + +Expand the "Modules" book in the NS-3 +documentation tree by clicking the "+" box. Now, expand +the "C++ Constructs Used by All Modules" book in the tree by clicking its "+" box. You should now +see four extremely useful links: * The list of all trace sources * The list of all attributes * The list of all global values +* Debugging The list of interest to us here is "the list of all trace sources". Go ahead and select that link. You will see, perhaps not too surprisingly, a @@ -1169,7 +1176,7 @@ Are There Trace Sources Available? The first thing to think about is how we want to get the data out. What is it that we need to trace? The first thing to do is to consult "The list of all trace sources" to see what we have to work with. Recall that this is found -in the |ns3| Doxygen in the "Core" Module section. If you scroll +in the |ns3| Doxygen in the "C++ Constructs Used by All Modules" Module section. If you scroll through the list, you will eventually find: :: diff --git a/examples/routing/manet-routing-compare.cc b/examples/routing/manet-routing-compare.cc index 121e6c269..afafb279f 100644 --- a/examples/routing/manet-routing-compare.cc +++ b/examples/routing/manet-routing-compare.cc @@ -342,10 +342,12 @@ RoutingExperiment::Run (int nSinks, int protocol, double txp, std::string CSVfil //NS_LOG_INFO ("Configure Tracing."); //tr_name = tr_name + "_" + m_protocolName +"_" + nodes + "nodes_" + sNodeSpeed + "speed_" + sNodePause + "pause_" + sRate + "rate"; - //std::ofstream ascii; - //ascii.open ((tr_name+".tr").c_str()); - //YansWifiPhyHelper::EnableAsciiAll (ascii); - //MobilityHelper::EnableAsciiAll (ascii); + //AsciiTraceHelper ascii; + //Ptr osw = ascii.CreateFileStream ( (tr_name + ".tr").c_str()); + //wifiPhy.EnableAsciiAll (osw); + //std::ofstream os; + //os.open ((tr_name + ".mob").c_str()); + //MobilityHelper::EnableAsciiAll (os); //Ptr flowmon; //FlowMonitorHelper flowmonHelper; diff --git a/examples/wireless/wifi-ap.py b/examples/wireless/wifi-ap.py index fe67d460b..271c2ff53 100644 --- a/examples/wireless/wifi-ap.py +++ b/examples/wireless/wifi-ap.py @@ -95,6 +95,8 @@ def AdvancePosition(node): def main(argv): + ns.core.CommandLine().Parse(argv) + ns.network.Packet.EnablePrinting(); # enable rts cts all the time. diff --git a/src/aodv/bindings/modulegen__gcc_ILP32.py b/src/aodv/bindings/modulegen__gcc_ILP32.py index ef76d570a..5a98e5693 100644 --- a/src/aodv/bindings/modulegen__gcc_ILP32.py +++ b/src/aodv/bindings/modulegen__gcc_ILP32.py @@ -26,8 +26,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -123,7 +125,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -140,10 +142,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -180,10 +182,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -198,6 +202,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## wifi-mac-header.h (module 'wifi'): ns3::WifiMacHeader [class] @@ -241,7 +247,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -297,6 +303,7 @@ def register_types(module): ## address.h (module 'network'): ns3::AddressValue [class] module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list') + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') ## Register a nested module for the namespace FatalImpl @@ -354,7 +361,8 @@ def register_types_ns3_aodv(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -396,8 +404,8 @@ def register_methods(root_module): register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) @@ -416,11 +424,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3WifiMacHeader_methods(root_module, root_module['ns3::WifiMacHeader']) register_Ns3ArpCache_methods(root_module, root_module['ns3::ArpCache']) @@ -482,8 +492,8 @@ def register_methods(root_module): return def register_Ns3Address_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## address.h (module 'network'): ns3::Address::Address() [constructor] @@ -551,41 +561,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1052,8 +1064,8 @@ def register_Ns3IntToType__6_methods(root_module, cls): return def register_Ns3Ipv4Address_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor] @@ -1321,8 +1333,8 @@ def register_Ns3Ipv4RoutingHelper_methods(root_module, cls): return def register_Ns3Ipv6Address_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor] @@ -1533,8 +1545,8 @@ def register_Ns3Ipv6Prefix_methods(root_module, cls): return def register_Ns3Mac48Address_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor] @@ -1717,10 +1729,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1747,6 +1759,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1761,10 +1775,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2248,8 +2258,8 @@ def register_Ns3TimerImpl_methods(root_module, cls): return def register_Ns3TypeId_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor] @@ -2266,23 +2276,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2290,26 +2290,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2340,14 +2325,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2355,11 +2335,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2384,22 +2359,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2409,6 +2379,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2423,35 +2397,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2462,6 +2439,8 @@ def register_Ns3Empty_methods(root_module, cls): return def register_Ns3Int64x64_t_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right')) cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) @@ -2513,9 +2492,7 @@ def register_Ns3Int64x64_t_methods(root_module, cls): cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('>') - cls.add_binary_comparison_operator('!=') cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right')) - cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right')) cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right')) cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right')) cls.add_output_stream_operator() @@ -2746,10 +2723,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2974,6 +2951,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3339,12 +3328,12 @@ def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls): return def register_Ns3Time_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('>') - cls.add_binary_comparison_operator('!=') - cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) cls.add_output_stream_operator() cls.add_binary_comparison_operator('<=') @@ -3494,6 +3483,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4140,6 +4156,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4642,29 +4663,18 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -4673,102 +4683,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -4779,36 +4718,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -4819,26 +4840,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -4933,10 +4954,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -5412,10 +5438,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -5430,11 +5464,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/aodv/bindings/modulegen__gcc_LP64.py b/src/aodv/bindings/modulegen__gcc_LP64.py index ef76d570a..5a98e5693 100644 --- a/src/aodv/bindings/modulegen__gcc_LP64.py +++ b/src/aodv/bindings/modulegen__gcc_LP64.py @@ -26,8 +26,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -123,7 +125,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -140,10 +142,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -180,10 +182,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -198,6 +202,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## wifi-mac-header.h (module 'wifi'): ns3::WifiMacHeader [class] @@ -241,7 +247,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -297,6 +303,7 @@ def register_types(module): ## address.h (module 'network'): ns3::AddressValue [class] module.add_class('AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) module.add_container('std::list< ns3::Ptr< ns3::Packet > >', 'ns3::Ptr< ns3::Packet >', container_type='list') + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') ## Register a nested module for the namespace FatalImpl @@ -354,7 +361,8 @@ def register_types_ns3_aodv(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -396,8 +404,8 @@ def register_methods(root_module): register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3AodvHelper_methods(root_module, root_module['ns3::AodvHelper']) @@ -416,11 +424,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3WifiMacHeader_methods(root_module, root_module['ns3::WifiMacHeader']) register_Ns3ArpCache_methods(root_module, root_module['ns3::ArpCache']) @@ -482,8 +492,8 @@ def register_methods(root_module): return def register_Ns3Address_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## address.h (module 'network'): ns3::Address::Address() [constructor] @@ -551,41 +561,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1052,8 +1064,8 @@ def register_Ns3IntToType__6_methods(root_module, cls): return def register_Ns3Ipv4Address_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## ipv4-address.h (module 'network'): ns3::Ipv4Address::Ipv4Address(ns3::Ipv4Address const & arg0) [copy constructor] @@ -1321,8 +1333,8 @@ def register_Ns3Ipv4RoutingHelper_methods(root_module, cls): return def register_Ns3Ipv6Address_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## ipv6-address.h (module 'network'): ns3::Ipv6Address::Ipv6Address() [constructor] @@ -1533,8 +1545,8 @@ def register_Ns3Ipv6Prefix_methods(root_module, cls): return def register_Ns3Mac48Address_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor] @@ -1717,10 +1729,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1747,6 +1759,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1761,10 +1775,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2248,8 +2258,8 @@ def register_Ns3TimerImpl_methods(root_module, cls): return def register_Ns3TypeId_methods(root_module, cls): - cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('<') cls.add_output_stream_operator() cls.add_binary_comparison_operator('==') ## type-id.h (module 'core'): ns3::TypeId::TypeId(char const * name) [constructor] @@ -2266,23 +2276,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2290,26 +2290,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2340,14 +2325,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2355,11 +2335,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2384,22 +2359,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2409,6 +2379,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2423,35 +2397,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2462,6 +2439,8 @@ def register_Ns3Empty_methods(root_module, cls): return def register_Ns3Int64x64_t_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right')) cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long long unsigned int const', 'right')) cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('long unsigned int const', 'right')) cls.add_binary_numeric_operator('*', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('unsigned int const', 'right')) @@ -2513,9 +2492,7 @@ def register_Ns3Int64x64_t_methods(root_module, cls): cls.add_binary_numeric_operator('/', root_module['ns3::int64x64_t'], root_module['ns3::int64x64_t'], param('ns3::int64x64_t const &', 'right')) cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('>') - cls.add_binary_comparison_operator('!=') cls.add_inplace_numeric_operator('*=', param('ns3::int64x64_t const &', 'right')) - cls.add_inplace_numeric_operator('+=', param('ns3::int64x64_t const &', 'right')) cls.add_inplace_numeric_operator('-=', param('ns3::int64x64_t const &', 'right')) cls.add_inplace_numeric_operator('/=', param('ns3::int64x64_t const &', 'right')) cls.add_output_stream_operator() @@ -2746,10 +2723,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2974,6 +2951,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3339,12 +3328,12 @@ def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls): return def register_Ns3Time_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('>') - cls.add_binary_comparison_operator('!=') - cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) cls.add_inplace_numeric_operator('-=', param('ns3::Time const &', 'right')) cls.add_output_stream_operator() cls.add_binary_comparison_operator('<=') @@ -3494,6 +3483,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4140,6 +4156,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4642,29 +4663,18 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -4673,102 +4683,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -4779,36 +4718,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -4819,26 +4840,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -4933,10 +4954,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -5412,10 +5438,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -5430,11 +5464,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/aodv/helper/aodv-helper.h b/src/aodv/helper/aodv-helper.h index c5cf9d16d..376461577 100644 --- a/src/aodv/helper/aodv-helper.h +++ b/src/aodv/helper/aodv-helper.h @@ -17,8 +17,9 @@ * * Authors: Pavel Boyko , written after OlsrHelper by Mathieu Lacage */ -#ifndef AODVHELPER_H_ -#define AODVHELPER_H_ + +#ifndef AODV_HELPER_H +#define AODV_HELPER_H #include "ns3/object-factory.h" #include "ns3/node.h" @@ -67,4 +68,5 @@ private: }; } -#endif /* AODVHELPER_H_ */ + +#endif /* AODV_HELPER_H */ diff --git a/src/aodv/model/aodv-dpd.h b/src/aodv/model/aodv-dpd.h index b0b9461c1..6f886ae5c 100644 --- a/src/aodv/model/aodv-dpd.h +++ b/src/aodv/model/aodv-dpd.h @@ -20,8 +20,8 @@ * Pavel Boyko */ -#ifndef DUPLICATEPACKETDETECTION_H_ -#define DUPLICATEPACKETDETECTION_H_ +#ifndef AODV_DPD_H +#define AODV_DPD_H #include "aodv-id-cache.h" #include "ns3/nstime.h" @@ -59,4 +59,4 @@ private: } } -#endif +#endif /* AODV_DPD_H */ diff --git a/src/aodv/model/aodv-id-cache.h b/src/aodv/model/aodv-id-cache.h index 0471d7dfe..559827a98 100644 --- a/src/aodv/model/aodv-id-cache.h +++ b/src/aodv/model/aodv-id-cache.h @@ -26,8 +26,8 @@ * Pavel Boyko */ -#ifndef IDCACHE_H_ -#define IDCACHE_H_ +#ifndef AODV_ID_CACHE_H +#define AODV_ID_CACHE_H #include "ns3/ipv4-address.h" #include "ns3/simulator.h" @@ -83,4 +83,4 @@ private: } } -#endif /* IDCACHE_H_ */ +#endif /* AODV_ID_CACHE_H */ diff --git a/src/aodv/test/aodv-regression.cc b/src/aodv/test/aodv-regression.cc index 285225898..df095273d 100644 --- a/src/aodv/test/aodv-regression.cc +++ b/src/aodv/test/aodv-regression.cc @@ -41,11 +41,9 @@ #include "ns3/v4ping-helper.h" #include "ns3/nqos-wifi-mac-helper.h" #include "ns3/config.h" +#include "ns3/pcap-test.h" #include -/// Set to true to rewrite reference traces, leave false to run regression tests -const bool WRITE_VECTORS = false; - namespace ns3 { namespace aodv { //----------------------------------------------------------------------------- @@ -56,6 +54,7 @@ class AodvRegressionTestSuite : public TestSuite public: AodvRegressionTestSuite () : TestSuite ("routing-aodv-regression", SYSTEM) { + SetDataDir (NS_TEST_SOURCEDIR); // General RREQ-RREP-RRER test case AddTestCase (new ChainRegressionTest ("aodv-chain-regression-test")); // Bug 606 test case, should crash if bug is not fixed @@ -107,7 +106,7 @@ ChainRegressionTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); delete m_nodes, m_nodes = 0; } @@ -161,8 +160,7 @@ ChainRegressionTest::CreateDevices () p.Stop (m_time); // 4. write PCAP - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : GetTempDir ()) + m_prefix; - wifiPhy.EnablePcapAll (prefix); + wifiPhy.EnablePcapAll (CreateTempDirFilename (m_prefix)); } void @@ -170,15 +168,7 @@ ChainRegressionTest::CheckResults () { for (uint32_t i = 0; i < m_size; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << m_prefix << "-" << i << "-0.pcap"; - os2 << GetTempDir () << m_prefix << "-" << i << "-0.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (m_prefix << "-" << i << "-0.pcap"); } } diff --git a/src/aodv/test/aodv-regression.h b/src/aodv/test/aodv-regression.h index 9584c0173..4ebf18431 100644 --- a/src/aodv/test/aodv-regression.h +++ b/src/aodv/test/aodv-regression.h @@ -18,8 +18,8 @@ * Authors: Pavel Boyko */ -#ifndef AODVREGRESSION_H_ -#define AODVREGRESSION_H_ +#ifndef AODV_REGRESSION_H +#define AODV_REGRESSION_H #include "ns3/test.h" #include "ns3/nstime.h" @@ -191,4 +191,5 @@ private: } } -#endif /* AODVREGRESSION_H_ */ + +#endif /* AODV_REGRESSION_H */ diff --git a/src/aodv/test/bug-772.cc b/src/aodv/test/bug-772.cc index a6a12d11a..022640f36 100644 --- a/src/aodv/test/bug-772.cc +++ b/src/aodv/test/bug-772.cc @@ -43,11 +43,9 @@ #include "ns3/inet-socket-address.h" #include "ns3/data-rate.h" #include "ns3/packet-sink-helper.h" +#include "ns3/pcap-test.h" #include -/// Set to true to rewrite reference traces, leave false to run regression tests -const bool WRITE_VECTORS = false; - namespace ns3 { namespace aodv { @@ -55,7 +53,7 @@ namespace aodv { // UdpChainTest //----------------------------------------------------------------------------- Bug772ChainTest::Bug772ChainTest (const char * const prefix, const char * const proto, Time t, uint32_t size) : - TestCase ("Bug 772 UDP/TCP chain regression test"), + TestCase ("Bug 772 UDP and TCP chain regression test"), m_nodes (0), m_prefix (prefix), m_proto (proto), @@ -82,7 +80,7 @@ Bug772ChainTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); delete m_nodes, m_nodes = 0; } @@ -143,9 +141,8 @@ Bug772ChainTest::CreateDevices () app.Start (Seconds (0.0)); // 4. write PCAP on the first and last nodes only - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : GetTempDir ()) + m_prefix; - wifiPhy.EnablePcap (prefix, devices.Get (0)); - wifiPhy.EnablePcap (prefix, devices.Get (m_size-1)); + wifiPhy.EnablePcap (CreateTempDirFilename (m_prefix), devices.Get (0)); + wifiPhy.EnablePcap (CreateTempDirFilename (m_prefix), devices.Get (m_size-1)); } void @@ -153,15 +150,7 @@ Bug772ChainTest::CheckResults () { for (uint32_t i = 0; i < m_size; i += (m_size - 1) /*first and last nodes only*/) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << m_prefix << "-" << i << "-0.pcap"; - os2 << GetTempDir () << m_prefix << "-" << i << "-0.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ(m_prefix << "-" << i << "-0.pcap"); } } diff --git a/src/aodv/test/bug-772.h b/src/aodv/test/bug-772.h index f98993ecc..203a26f8e 100644 --- a/src/aodv/test/bug-772.h +++ b/src/aodv/test/bug-772.h @@ -18,8 +18,8 @@ * Authors: Pavel Boyko */ -#ifndef BUG702TEST_H_ -#define BUG702TEST_H_ +#ifndef BUG_772_H +#define BUG_772_H #include "ns3/test.h" #include "ns3/nstime.h" @@ -76,4 +76,5 @@ private: } } -#endif /* BUG702TEST_H_ */ + +#endif /* BUG_772_H */ diff --git a/src/aodv/test/loopback.h b/src/aodv/test/loopback.h index bf1377cd4..bb4c5397a 100644 --- a/src/aodv/test/loopback.h +++ b/src/aodv/test/loopback.h @@ -18,8 +18,8 @@ * Authors: Pavel Boyko */ -#ifndef LOOPBACK_H_ -#define LOOPBACK_H_ +#ifndef AODV_LOOPBACK_H +#define AODV_LOOPBACK_H #include "ns3/test.h" #include @@ -42,4 +42,4 @@ struct LoopbackTestCase : public TestCase } } -#endif /* LOOPBACK_H_ */ +#endif /* AODV_LOOPBACK_H */ diff --git a/src/aodv/wscript b/src/aodv/wscript index cdb113ccf..6209a5b26 100644 --- a/src/aodv/wscript +++ b/src/aodv/wscript @@ -23,7 +23,7 @@ def build(bld): 'test/loopback.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'aodv' headers.source = [ 'model/aodv-id-cache.h', diff --git a/src/applications/bindings/modulegen__gcc_ILP32.py b/src/applications/bindings/modulegen__gcc_ILP32.py index ecf2b21c9..0939dbdba 100644 --- a/src/applications/bindings/modulegen__gcc_ILP32.py +++ b/src/applications/bindings/modulegen__gcc_ILP32.py @@ -36,8 +36,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## average.h (module 'tools'): ns3::Average [class] module.add_class('Average', import_from_module='ns.tools', template_parameters=['double']) ## buffer.h (module 'network'): ns3::Buffer [class] @@ -155,7 +157,9 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs [class] + module.add_class('SystemWallClockMs', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -166,8 +170,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## udp-client-server-helper.h (module 'applications'): ns3::UdpClientHelper [class] module.add_class('UdpClientHelper') ## udp-echo-helper.h (module 'applications'): ns3::UdpEchoClientHelper [class] @@ -180,8 +186,6 @@ def register_types(module): module.add_class('UdpTraceClientHelper') ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## v4ping-helper.h (module 'applications'): ns3::V4PingHelper [class] module.add_class('V4PingHelper') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] @@ -268,10 +272,12 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdInterface', '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, template_parameters=['ns3::RadvdPrefix', '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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -288,6 +294,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## application.h (module 'network'): ns3::Application [class] @@ -486,7 +494,8 @@ def register_methods(root_module): register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Average__Double_methods(root_module, root_module['ns3::Average< double >']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) @@ -537,18 +546,19 @@ def register_methods(root_module): register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) + register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) register_Ns3UdpServerHelper_methods(root_module, root_module['ns3::UdpServerHelper']) register_Ns3UdpTraceClientHelper_methods(root_module, root_module['ns3::UdpTraceClientHelper']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3V4PingHelper_methods(root_module, root_module['ns3::V4PingHelper']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) @@ -590,12 +600,14 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbTlv__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdInterface__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, 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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3Application_methods(root_module, root_module['ns3::Application']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) @@ -909,41 +921,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Average__Double_methods(root_module, cls): @@ -2278,10 +2292,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2308,6 +2322,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2322,10 +2338,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -3220,6 +3232,36 @@ def register_Ns3Simulator_methods(root_module, cls): is_static=True) return +def register_Ns3SystemWallClockMs_methods(root_module, cls): + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs() [constructor] + cls.add_constructor([]) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::End() [member function] + cls.add_method('End', + 'int64_t', + []) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedReal() const [member function] + cls.add_method('GetElapsedReal', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedSystem() const [member function] + cls.add_method('GetElapsedSystem', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedUser() const [member function] + cls.add_method('GetElapsedUser', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): void ns3::SystemWallClockMs::Start() [member function] + cls.add_method('Start', + 'void', + []) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -3343,23 +3385,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -3367,26 +3399,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -3417,14 +3434,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -3432,11 +3444,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -3461,22 +3468,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -3486,6 +3488,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -3500,19 +3506,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UdpClientHelper_methods(root_module, cls): @@ -3656,22 +3681,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3V4PingHelper_methods(root_module, cls): ## v4ping-helper.h (module 'applications'): ns3::V4PingHelper::V4PingHelper(ns3::V4PingHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::V4PingHelper const &', 'arg0')]) @@ -4714,6 +4723,18 @@ def register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__n 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -5251,6 +5272,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -5380,6 +5428,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -6303,10 +6356,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -6321,11 +6382,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/applications/bindings/modulegen__gcc_LP64.py b/src/applications/bindings/modulegen__gcc_LP64.py index ecf2b21c9..0939dbdba 100644 --- a/src/applications/bindings/modulegen__gcc_LP64.py +++ b/src/applications/bindings/modulegen__gcc_LP64.py @@ -36,8 +36,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## average.h (module 'tools'): ns3::Average [class] module.add_class('Average', import_from_module='ns.tools', template_parameters=['double']) ## buffer.h (module 'network'): ns3::Buffer [class] @@ -155,7 +157,9 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs [class] + module.add_class('SystemWallClockMs', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -166,8 +170,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## udp-client-server-helper.h (module 'applications'): ns3::UdpClientHelper [class] module.add_class('UdpClientHelper') ## udp-echo-helper.h (module 'applications'): ns3::UdpEchoClientHelper [class] @@ -180,8 +186,6 @@ def register_types(module): module.add_class('UdpTraceClientHelper') ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## v4ping-helper.h (module 'applications'): ns3::V4PingHelper [class] module.add_class('V4PingHelper') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] @@ -268,10 +272,12 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::RadvdInterface', '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, template_parameters=['ns3::RadvdPrefix', '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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -288,6 +294,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## application.h (module 'network'): ns3::Application [class] @@ -486,7 +494,8 @@ def register_methods(root_module): register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Average__Double_methods(root_module, root_module['ns3::Average< double >']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) @@ -537,18 +546,19 @@ def register_methods(root_module): register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) + register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UdpClientHelper_methods(root_module, root_module['ns3::UdpClientHelper']) register_Ns3UdpEchoClientHelper_methods(root_module, root_module['ns3::UdpEchoClientHelper']) register_Ns3UdpEchoServerHelper_methods(root_module, root_module['ns3::UdpEchoServerHelper']) register_Ns3UdpServerHelper_methods(root_module, root_module['ns3::UdpServerHelper']) register_Ns3UdpTraceClientHelper_methods(root_module, root_module['ns3::UdpTraceClientHelper']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3V4PingHelper_methods(root_module, root_module['ns3::V4PingHelper']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) @@ -590,12 +600,14 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbTlv__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbTlv, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3RadvdInterface_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdInterface__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdInterface, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__ns3RadvdPrefix__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::RadvdPrefix, 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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3Application_methods(root_module, root_module['ns3::Application']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) @@ -909,41 +921,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Average__Double_methods(root_module, cls): @@ -2278,10 +2292,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2308,6 +2322,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2322,10 +2338,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -3220,6 +3232,36 @@ def register_Ns3Simulator_methods(root_module, cls): is_static=True) return +def register_Ns3SystemWallClockMs_methods(root_module, cls): + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs() [constructor] + cls.add_constructor([]) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::End() [member function] + cls.add_method('End', + 'int64_t', + []) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedReal() const [member function] + cls.add_method('GetElapsedReal', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedSystem() const [member function] + cls.add_method('GetElapsedSystem', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedUser() const [member function] + cls.add_method('GetElapsedUser', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): void ns3::SystemWallClockMs::Start() [member function] + cls.add_method('Start', + 'void', + []) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -3343,23 +3385,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -3367,26 +3399,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -3417,14 +3434,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -3432,11 +3444,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -3461,22 +3468,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -3486,6 +3488,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -3500,19 +3506,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UdpClientHelper_methods(root_module, cls): @@ -3656,22 +3681,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3V4PingHelper_methods(root_module, cls): ## v4ping-helper.h (module 'applications'): ns3::V4PingHelper::V4PingHelper(ns3::V4PingHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::V4PingHelper const &', 'arg0')]) @@ -4714,6 +4723,18 @@ def register_Ns3SimpleRefCount__Ns3RadvdPrefix_Ns3Empty_Ns3DefaultDeleter__lt__n 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -5251,6 +5272,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -5380,6 +5428,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -6303,10 +6356,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -6321,11 +6382,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/applications/helper/ping6-helper.cc b/src/applications/helper/ping6-helper.cc index 895073ebd..211f96de6 100644 --- a/src/applications/helper/ping6-helper.cc +++ b/src/applications/helper/ping6-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/applications/helper/ping6-helper.h b/src/applications/helper/ping6-helper.h index c4a0bdd20..55f140b06 100644 --- a/src/applications/helper/ping6-helper.h +++ b/src/applications/helper/ping6-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/applications/model/bulk-send-application.cc b/src/applications/model/bulk-send-application.cc index b4b232f05..c76fdda8e 100644 --- a/src/applications/model/bulk-send-application.cc +++ b/src/applications/model/bulk-send-application.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Georgia Institute of Technology * diff --git a/src/applications/model/bulk-send-application.h b/src/applications/model/bulk-send-application.h index 615333058..287177035 100644 --- a/src/applications/model/bulk-send-application.h +++ b/src/applications/model/bulk-send-application.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Georgia Institute of Technology * @@ -18,8 +18,8 @@ * Author: George F. Riley */ -#ifndef __bulksend_application_h__ -#define __bulksend_application_h__ +#ifndef BULK_SEND_APPLICATION_H +#define BULK_SEND_APPLICATION_H #include "ns3/address.h" #include "ns3/application.h" @@ -103,5 +103,4 @@ private: } // namespace ns3 -#endif - +#endif /* BULK_SEND_APPLICATION_H */ diff --git a/src/applications/model/onoff-application.cc b/src/applications/model/onoff-application.cc index 32aed33e6..4ec63fbb4 100644 --- a/src/applications/model/onoff-application.cc +++ b/src/applications/model/onoff-application.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/applications/model/onoff-application.h b/src/applications/model/onoff-application.h index 8cfc0c5d2..990c80ea6 100644 --- a/src/applications/model/onoff-application.h +++ b/src/applications/model/onoff-application.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ // // Copyright (c) 2006 Georgia Tech Research Corporation // @@ -22,8 +22,8 @@ // George F. Riley, Georgia Tech, Spring 2007 // Adapted from ApplicationOnOff in GTNetS. -#ifndef __onoff_application_h__ -#define __onoff_application_h__ +#ifndef ONOFF_APPLICATION_H +#define ONOFF_APPLICATION_H #include "ns3/address.h" #include "ns3/application.h" @@ -158,5 +158,4 @@ private: } // namespace ns3 -#endif - +#endif /* ONOFF_APPLICATION_H */ diff --git a/src/applications/model/packet-loss-counter.h b/src/applications/model/packet-loss-counter.h index c44af898e..78afaf2d1 100644 --- a/src/applications/model/packet-loss-counter.h +++ b/src/applications/model/packet-loss-counter.h @@ -19,9 +19,9 @@ * * */ -#ifndef _PACKET_LOSS_COUNTER_H_ -#define _PACKET_LOSS_COUNTER_H_ +#ifndef PACKET_LOSS_COUNTER_H +#define PACKET_LOSS_COUNTER_H #include "ns3/application.h" #include "ns3/event-id.h" @@ -53,4 +53,4 @@ private: }; } -#endif /* PACKETLOSSCOUNTER_H_ */ +#endif /* PACKET_LOSS_COUNTER_H */ diff --git a/src/applications/model/packet-sink.h b/src/applications/model/packet-sink.h index d3b32f1af..477ba82ff 100644 --- a/src/applications/model/packet-sink.h +++ b/src/applications/model/packet-sink.h @@ -18,8 +18,8 @@ * Author: Tom Henderson (tomhend@u.washington.edu) */ -#ifndef __packet_sink_h__ -#define __packet_sink_h__ +#ifndef PACKET_SINK_H +#define PACKET_SINK_H #include "ns3/application.h" #include "ns3/event-id.h" @@ -114,5 +114,5 @@ private: } // namespace ns3 -#endif +#endif /* PACKET_SINK_H */ diff --git a/src/applications/model/ping6.cc b/src/applications/model/ping6.cc index 2e71ac131..8a75f0603 100644 --- a/src/applications/model/ping6.cc +++ b/src/applications/model/ping6.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * @@ -162,7 +162,7 @@ void Ping6::Send () NS_LOG_FUNCTION_NOARGS (); NS_ASSERT (m_sendEvent.IsExpired ()); Ptr p = 0; - uint8_t data[m_size]; + uint8_t* data = new uint8_t[m_size]; Ipv6Address src; Ptr ipv6 = GetNode ()->GetObject (); @@ -221,6 +221,8 @@ void Ping6::Send () { ScheduleTransmit (m_interval); } + + delete[] data; } void Ping6::HandleRead (Ptr socket) diff --git a/src/applications/model/ping6.h b/src/applications/model/ping6.h index 84662d8e4..8f3d84314 100644 --- a/src/applications/model/ping6.h +++ b/src/applications/model/ping6.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/applications/model/radvd-interface.cc b/src/applications/model/radvd-interface.cc index a12f28e47..d5b9c5bfd 100644 --- a/src/applications/model/radvd-interface.cc +++ b/src/applications/model/radvd-interface.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/applications/model/radvd-interface.h b/src/applications/model/radvd-interface.h index 521fa3a4b..f7faf53a6 100644 --- a/src/applications/model/radvd-interface.h +++ b/src/applications/model/radvd-interface.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/applications/model/radvd-prefix.cc b/src/applications/model/radvd-prefix.cc index 2a8da80b6..7d7de505c 100644 --- a/src/applications/model/radvd-prefix.cc +++ b/src/applications/model/radvd-prefix.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/applications/model/radvd-prefix.h b/src/applications/model/radvd-prefix.h index feaaaa254..31d731b73 100644 --- a/src/applications/model/radvd-prefix.h +++ b/src/applications/model/radvd-prefix.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/applications/model/radvd.cc b/src/applications/model/radvd.cc index 22e446a70..841ca411a 100644 --- a/src/applications/model/radvd.cc +++ b/src/applications/model/radvd.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Telecom Bretagne * Copyright (c) 2009 Strasbourg University diff --git a/src/applications/model/radvd.h b/src/applications/model/radvd.h index 53161ae75..9332bfe26 100644 --- a/src/applications/model/radvd.h +++ b/src/applications/model/radvd.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Telecom Bretagne * Copyright (c) 2009 Strasbourg University diff --git a/src/applications/model/seq-ts-header.cc b/src/applications/model/seq-ts-header.cc index 9161ae0d1..f22976edf 100644 --- a/src/applications/model/seq-ts-header.cc +++ b/src/applications/model/seq-ts-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/applications/model/seq-ts-header.h b/src/applications/model/seq-ts-header.h index b24301ce6..21c20a1eb 100644 --- a/src/applications/model/seq-ts-header.h +++ b/src/applications/model/seq-ts-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 INRIA * diff --git a/src/applications/model/udp-client.h b/src/applications/model/udp-client.h index e262d9cc5..b713804b8 100644 --- a/src/applications/model/udp-client.h +++ b/src/applications/model/udp-client.h @@ -20,8 +20,8 @@ * */ -#ifndef __UDP_CLIENT_H__ -#define __UDP_CLIENT_H__ +#ifndef UDP_CLIENT_H +#define UDP_CLIENT_H #include "ns3/application.h" #include "ns3/event-id.h" @@ -82,4 +82,4 @@ private: } // namespace ns3 -#endif // __UDP_CLIENT_H__ +#endif /* UDP_CLIENT_H */ diff --git a/src/applications/model/udp-echo-client.h b/src/applications/model/udp-echo-client.h index 16a8d0145..89ac13b1e 100644 --- a/src/applications/model/udp-echo-client.h +++ b/src/applications/model/udp-echo-client.h @@ -16,8 +16,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef __UDP_ECHO_CLIENT_H__ -#define __UDP_ECHO_CLIENT_H__ +#ifndef UDP_ECHO_CLIENT_H +#define UDP_ECHO_CLIENT_H #include "ns3/application.h" #include "ns3/event-id.h" @@ -151,5 +151,4 @@ private: } // namespace ns3 -#endif // __UDP_ECHO_CLIENT_H__ - +#endif /* UDP_ECHO_CLIENT_H */ diff --git a/src/applications/model/udp-echo-server.h b/src/applications/model/udp-echo-server.h index 7715761c3..e44b1da61 100644 --- a/src/applications/model/udp-echo-server.h +++ b/src/applications/model/udp-echo-server.h @@ -16,8 +16,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef __UDP_ECHO_SERVER_H__ -#define __UDP_ECHO_SERVER_H__ +#ifndef UDP_ECHO_SERVER_H +#define UDP_ECHO_SERVER_H #include "ns3/application.h" #include "ns3/event-id.h" @@ -64,5 +64,5 @@ private: } // namespace ns3 -#endif // __UDP_ECHO_SERVER_H__ +#endif /* UDP_ECHO_SERVER_H */ diff --git a/src/applications/model/udp-server.h b/src/applications/model/udp-server.h index 42dd7ce21..8ee4d365a 100644 --- a/src/applications/model/udp-server.h +++ b/src/applications/model/udp-server.h @@ -20,8 +20,8 @@ * */ -#ifndef __UDP_SERVER_H__ -#define __UDP_SERVER_H__ +#ifndef UDP_SERVER_H +#define UDP_SERVER_H #include "ns3/application.h" #include "ns3/event-id.h" @@ -91,4 +91,4 @@ private: } // namespace ns3 -#endif // __UDP_SERVER_H__ +#endif /* UDP_SERVER_H */ diff --git a/src/applications/model/udp-trace-client.h b/src/applications/model/udp-trace-client.h index 705953e65..090001e1b 100644 --- a/src/applications/model/udp-trace-client.h +++ b/src/applications/model/udp-trace-client.h @@ -19,14 +19,15 @@ * */ -#ifndef __UDP_TRACE_CLIENT__ -#define __UDP_TRACE_CLIENT__ +#ifndef UDP_TRACE_CLIENT_H +#define UDP_TRACE_CLIENT_H #include "ns3/application.h" #include "ns3/event-id.h" #include "ns3/ptr.h" #include "ns3/ipv4-address.h" #include + namespace ns3 { class Socket; @@ -132,4 +133,4 @@ private: } // namespace ns3 -#endif // __UDP_TRACE_CLIENT__ +#endif /* UDP_TRACE_CLIENT_H */ diff --git a/src/applications/model/v4ping.cc b/src/applications/model/v4ping.cc index 93c6fdad0..386cc46c6 100644 --- a/src/applications/model/v4ping.cc +++ b/src/applications/model/v4ping.cc @@ -123,11 +123,11 @@ V4Ping::Receive (Ptr socket) if (i != m_sent.end () && echo.GetIdentifier () == 0) { - uint32_t buf[m_size / 4]; + uint32_t * buf = new uint32_t [m_size]; uint32_t dataSize = echo.GetDataSize (); uint32_t nodeId; uint32_t appId; - if (dataSize == sizeof(buf)) + if (dataSize == m_size) { echo.GetData ((uint8_t *)buf); Read32 ((const uint8_t *) &buf[0], nodeId); @@ -154,6 +154,7 @@ V4Ping::Receive (Ptr socket) } } } + delete[] buf; } } } @@ -193,7 +194,7 @@ V4Ping::Send () // (where any difference would show up anyway) and borrow that code. Don't // be too surprised when you see that this is a little endian convention. // - uint8_t data[m_size]; + uint8_t* data = new uint8_t[m_size]; for (uint32_t i = 0; i < m_size; ++i) data[i] = 0; NS_ASSERT (m_size >= 16); @@ -203,7 +204,7 @@ V4Ping::Send () tmp = GetApplicationId (); Write32 (&data[1 * sizeof(uint32_t)], tmp); - Ptr dataPacket = Create ((uint8_t *) &data, m_size); + Ptr dataPacket = Create ((uint8_t *) data, m_size); echo.SetData (dataPacket); p->AddHeader (echo); Icmpv4Header header; @@ -217,6 +218,7 @@ V4Ping::Send () m_sent.insert (std::make_pair (m_seq - 1, Simulator::Now ())); m_socket->Send (p, 0); m_next = Simulator::Schedule (m_interval, &V4Ping::Send, this); + delete[] data; } void diff --git a/src/applications/wscript b/src/applications/wscript index 695abf946..684d1ce90 100644 --- a/src/applications/wscript +++ b/src/applications/wscript @@ -32,7 +32,7 @@ def build(bld): 'test/udp-client-server-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'applications' headers.source = [ 'model/bulk-send-application.h', diff --git a/src/bridge/bindings/modulegen__gcc_ILP32.py b/src/bridge/bindings/modulegen__gcc_ILP32.py index 0bb52434d..d4c4ede09 100644 --- a/src/bridge/bindings/modulegen__gcc_ILP32.py +++ b/src/bridge/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## bridge-helper.h (module 'bridge'): ns3::BridgeHelper [class] module.add_class('BridgeHelper') ## callback.h (module 'core'): ns3::CallbackBase [class] @@ -62,10 +64,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -82,12 +84,16 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -161,7 +167,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) @@ -176,8 +183,8 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) @@ -186,7 +193,9 @@ def register_methods(root_module): 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -288,41 +297,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3BridgeHelper_methods(root_module, cls): @@ -913,10 +924,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -943,6 +954,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -957,10 +970,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1069,23 +1078,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1093,26 +1092,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1143,14 +1127,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1158,11 +1137,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1187,22 +1161,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1212,6 +1181,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1226,35 +1199,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1485,6 +1461,18 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -1641,6 +1629,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -1688,6 +1703,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/bridge/bindings/modulegen__gcc_LP64.py b/src/bridge/bindings/modulegen__gcc_LP64.py index 0bb52434d..d4c4ede09 100644 --- a/src/bridge/bindings/modulegen__gcc_LP64.py +++ b/src/bridge/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## bridge-helper.h (module 'bridge'): ns3::BridgeHelper [class] module.add_class('BridgeHelper') ## callback.h (module 'core'): ns3::CallbackBase [class] @@ -62,10 +64,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -82,12 +84,16 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -161,7 +167,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3BridgeHelper_methods(root_module, root_module['ns3::BridgeHelper']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) @@ -176,8 +183,8 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) @@ -186,7 +193,9 @@ def register_methods(root_module): 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -288,41 +297,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3BridgeHelper_methods(root_module, cls): @@ -913,10 +924,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -943,6 +954,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -957,10 +970,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1069,23 +1078,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1093,26 +1092,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1143,14 +1127,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1158,11 +1137,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1187,22 +1161,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1212,6 +1181,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1226,35 +1199,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1485,6 +1461,18 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -1641,6 +1629,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -1688,6 +1703,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/bridge/model/bridge-net-device.cc b/src/bridge/model/bridge-net-device.cc index c5343f450..47de15667 100644 --- a/src/bridge/model/bridge-net-device.cc +++ b/src/bridge/model/bridge-net-device.cc @@ -49,7 +49,7 @@ BridgeNetDevice::GetTypeId (void) MakeBooleanChecker ()) .AddAttribute ("ExpirationTime", "Time it takes for learned MAC state entry to expire.", - TimeValue (Seconds (30)), + TimeValue (Seconds (300)), MakeTimeAccessor (&BridgeNetDevice::m_expirationTime), MakeTimeChecker ()) ; diff --git a/src/bridge/wscript b/src/bridge/wscript index 5d3c8a744..8ff5e22af 100644 --- a/src/bridge/wscript +++ b/src/bridge/wscript @@ -7,7 +7,7 @@ def build(bld): 'model/bridge-channel.cc', 'helper/bridge-helper.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'bridge' headers.source = [ 'model/bridge-net-device.h', diff --git a/src/buildings/test/buildings-pathloss-test.cc b/src/buildings/test/buildings-pathloss-test.cc index ec49515b2..020efc9c7 100644 --- a/src/buildings/test/buildings-pathloss-test.cc +++ b/src/buildings/test/buildings-pathloss-test.cc @@ -224,7 +224,7 @@ BuildingsPathlossTestCase::DoRun (void) // LogComponentEnable ("LteEnbNetDevice", logLevel); LogComponentEnable ("BuildingsPropagationLossModel", LOG_LEVEL_ALL); - NS_LOG_INFO ("Testing " << GetName()); + NS_LOG_INFO ("Testing "); Ptr m_downlinkChannel = CreateObject (); Ptr m_uplinkChannel = CreateObject (); diff --git a/src/buildings/test/buildings-shadowing-test.cc b/src/buildings/test/buildings-shadowing-test.cc index 3b48efe08..448c18ddc 100644 --- a/src/buildings/test/buildings-shadowing-test.cc +++ b/src/buildings/test/buildings-shadowing-test.cc @@ -159,7 +159,6 @@ BuildingsShadowingTestCase::DoRun (void) // LogComponentEnable ("LteEnbNetDevice", logLevel); // LogComponentEnable ("BuildingsPropagationLossModel", LOG_LEVEL_ALL); - NS_LOG_INFO ("Testing " << GetName()); std::vector loss; double sum = 0.0; diff --git a/src/buildings/wscript b/src/buildings/wscript index 946ea2af0..6ccb7d488 100644 --- a/src/buildings/wscript +++ b/src/buildings/wscript @@ -15,7 +15,7 @@ def build(bld): 'test/buildings-shadowing-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'buildings' headers.source = [ 'model/building.h', diff --git a/src/click/bindings/modulegen__gcc_ILP32.py b/src/click/bindings/modulegen__gcc_ILP32.py index c2bc3be05..c54ef0b4a 100644 --- a/src/click/bindings/modulegen__gcc_ILP32.py +++ b/src/click/bindings/modulegen__gcc_ILP32.py @@ -26,8 +26,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -94,10 +96,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## chunk.h (module 'network'): ns3::Chunk [class] @@ -128,10 +130,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -140,6 +144,8 @@ def register_types(module): module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag']) ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class] module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag']) + ## 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 >']) ## 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] @@ -208,6 +214,7 @@ def register_types(module): 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']) + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&') @@ -227,7 +234,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -256,8 +264,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) register_Ns3Header_methods(root_module, root_module['ns3::Header']) @@ -273,10 +281,12 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -381,41 +391,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1314,10 +1326,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1681,23 +1693,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1705,26 +1707,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1755,14 +1742,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1770,11 +1752,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1799,22 +1776,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1824,6 +1796,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1838,35 +1814,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2033,10 +2012,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2249,6 +2228,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -2613,6 +2604,33 @@ def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2693,6 +2711,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3191,10 +3214,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', diff --git a/src/click/bindings/modulegen__gcc_LP64.py b/src/click/bindings/modulegen__gcc_LP64.py index c2bc3be05..c54ef0b4a 100644 --- a/src/click/bindings/modulegen__gcc_LP64.py +++ b/src/click/bindings/modulegen__gcc_LP64.py @@ -26,8 +26,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -94,10 +96,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## chunk.h (module 'network'): ns3::Chunk [class] @@ -128,10 +130,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -140,6 +144,8 @@ def register_types(module): module.add_class('SocketIpTtlTag', import_from_module='ns.network', parent=root_module['ns3::Tag']) ## socket.h (module 'network'): ns3::SocketSetDontFragmentTag [class] module.add_class('SocketSetDontFragmentTag', import_from_module='ns.network', parent=root_module['ns3::Tag']) + ## 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 >']) ## 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] @@ -208,6 +214,7 @@ def register_types(module): 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']) + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&') @@ -227,7 +234,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -256,8 +264,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) register_Ns3Header_methods(root_module, root_module['ns3::Header']) @@ -273,10 +281,12 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) register_Ns3SocketSetDontFragmentTag_methods(root_module, root_module['ns3::SocketSetDontFragmentTag']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -381,41 +391,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1314,10 +1326,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1681,23 +1693,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1705,26 +1707,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1755,14 +1742,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1770,11 +1752,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1799,22 +1776,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1824,6 +1796,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1838,35 +1814,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2033,10 +2012,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2249,6 +2228,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -2613,6 +2604,33 @@ def register_Ns3SocketSetDontFragmentTag_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2693,6 +2711,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3191,10 +3214,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', diff --git a/src/click/doc/click.rst b/src/click/doc/click.rst index 06367daca..70efe9778 100644 --- a/src/click/doc/click.rst +++ b/src/click/doc/click.rst @@ -119,7 +119,7 @@ From any point within a Click graph, you may use the Print (http://read.cs.ucla. -> ToDump(out_arpquery,PER_NODE 1) -> ethout; -...will print the contents of packets that flow out of the ArpQuerier, then generate a pcap trace file which will have a suffix 'out_arpquery', for each node using the Click file, before pushing packets onto 'ethout'. +and ...will print the contents of packets that flow out of the ArpQuerier, then generate a pcap trace file which will have a suffix 'out_arpquery', for each node using the Click file, before pushing packets onto 'ethout'. Helper ====== diff --git a/src/click/examples/nsclick-raw-wlan.cc b/src/click/examples/nsclick-raw-wlan.cc index f9d983a41..ec2b867da 100644 --- a/src/click/examples/nsclick-raw-wlan.cc +++ b/src/click/examples/nsclick-raw-wlan.cc @@ -45,7 +45,6 @@ int main (int argc, char *argv[]) { #ifdef NS3_CLICK double rss = -80; - Time interPacketInterval = Seconds (1.0); // Setup nodes NodeContainer wifiNodes; diff --git a/src/click/examples/nsclick-routing.cc b/src/click/examples/nsclick-routing.cc index ea72ca557..8eab5b5b8 100644 --- a/src/click/examples/nsclick-routing.cc +++ b/src/click/examples/nsclick-routing.cc @@ -47,11 +47,6 @@ int main (int argc, char *argv[]) { #ifdef NS3_CLICK -// -// Enable logging for UdpClient and -// - LogComponentEnable ("NsclickRoutingClient", LOG_LEVEL_INFO); - LogComponentEnable ("NsclickRoutingServer", LOG_LEVEL_INFO); // // Explicitly create the nodes required by the topology (shown above). diff --git a/src/click/helper/click-internet-stack-helper.cc b/src/click/helper/click-internet-stack-helper.cc index b3f793f85..1a4d6996e 100644 --- a/src/click/helper/click-internet-stack-helper.cc +++ b/src/click/helper/click-internet-stack-helper.cc @@ -297,6 +297,7 @@ ClickInternetStackHelper::EnablePcapIpv4Internal (std::string prefix, Ptr result = ipv4L3Protocol->TraceConnectWithoutContext ("Rx", MakeCallback (&Ipv4L3ProtocolRxTxSink)); NS_ASSERT_MSG (result == true, "ClickInternetStackHelper::EnablePcapIpv4Internal(): " "Unable to connect ipv4L3Protocol \"Rx\""); + (void) result; //cast to void to suppress variable set but not used compiler warning in optimized builds } g_interfaceFileMapIpv4[std::make_pair (ipv4, interface)] = file; diff --git a/src/click/helper/click-internet-stack-helper.h b/src/click/helper/click-internet-stack-helper.h index a01e4d7e0..e1da930e8 100644 --- a/src/click/helper/click-internet-stack-helper.h +++ b/src/click/helper/click-internet-stack-helper.h @@ -228,4 +228,4 @@ private: #endif /* CLICK_INTERNET_STACK_HELPER_H */ -#endif // NS3_CLICK +#endif /* NS3_CLICK */ diff --git a/src/click/model/ipv4-click-routing.cc b/src/click/model/ipv4-click-routing.cc index 235a7e8ff..a5e774c64 100644 --- a/src/click/model/ipv4-click-routing.cc +++ b/src/click/model/ipv4-click-routing.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Lalith Suresh * @@ -223,6 +223,15 @@ Ipv4ClickRouting::GetIpAddressFromInterfaceId (int ifid) return addr.str (); } +std::string +Ipv4ClickRouting::GetIpPrefixFromInterfaceId (int ifid) +{ + std::stringstream addr; + m_ipv4->GetAddress (ifid, 0).GetMask ().Print (addr); + + return addr.str (); +} + std::string Ipv4ClickRouting::GetMacAddressFromInterfaceId (int ifid) { @@ -583,6 +592,27 @@ int simclick_sim_command (simclick_node_t *simnode, int cmd, ...) break; } + case SIMCLICK_IPPREFIX_FROM_NAME: + { + const char *ifname = va_arg (val, const char *); + char *buf = va_arg (val, char *); + int len = va_arg (val, int); + + int ifid = clickInstance->GetInterfaceId (ifname); + + if (ifid >= 0) + { + retval = simstrlcpy (buf, len, clickInstance->GetIpPrefixFromInterfaceId (ifid)); + } + else + { + retval = -1; + } + + NS_LOG_DEBUG (clickInstance->GetNodeName () << " SIMCLICK_IPPREFIX_FROM_NAME: " << ifname << " " << buf << " " << len); + break; + } + case SIMCLICK_MACADDR_FROM_NAME: { const char *ifname = va_arg (val, const char *); diff --git a/src/click/model/ipv4-click-routing.h b/src/click/model/ipv4-click-routing.h index 75ccce184..d15be9339 100644 --- a/src/click/model/ipv4-click-routing.h +++ b/src/click/model/ipv4-click-routing.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Lalith Suresh * @@ -18,8 +18,8 @@ * Authors: Lalith Suresh */ -#ifndef __IPV4_CLICK_ROUTING_H__ -#define __IPV4_CLICK_ROUTING_H__ +#ifndef IPV4_CLICK_ROUTING_H +#define IPV4_CLICK_ROUTING_H #include "ns3/object.h" #include "ns3/packet.h" @@ -142,6 +142,13 @@ public: */ std::string GetIpAddressFromInterfaceId (int ifid); + /** + * \brief Provides for SIMCLICK_IPPREFIX_FROM_NAME + * \param ifid The interface ID for which the IP Prefix is required + * \return The IP Prefix of the interface in string format + */ + std::string GetIpPrefixFromInterfaceId (int ifid); + /** * \brief Provides for SIMCLICK_MACADDR_FROM_NAME * \param ifid The interface ID for which the MAC Address is required @@ -243,9 +250,9 @@ private: bool m_nonDefaultName; Ptr m_ipv4; -#endif // NS3_CLICK +#endif /* NS3_CLICK */ }; } // namespace ns3 -#endif // __IPV4_CLICK_ROUTING_H__ +#endif /* IPV4_CLICK_ROUTING_H */ diff --git a/src/click/model/ipv4-l3-click-protocol.h b/src/click/model/ipv4-l3-click-protocol.h index ae5c43fbe..2b7d821a8 100644 --- a/src/click/model/ipv4-l3-click-protocol.h +++ b/src/click/model/ipv4-l3-click-protocol.h @@ -262,9 +262,9 @@ private: std::vector m_promiscDeviceList; -#endif // NS3_CLICK +#endif /* NS3_CLICK */ }; } // namespace ns3 -#endif // IPV4_L3_CLICK_ROUTING_H +#endif /* IPV4_L3_CLICK_ROUTING_H */ diff --git a/src/click/test/ipv4-click-routing-test.cc b/src/click/test/ipv4-click-routing-test.cc index 330ad0d25..d647018e9 100644 --- a/src/click/test/ipv4-click-routing-test.cc +++ b/src/click/test/ipv4-click-routing-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Lalith Suresh * @@ -97,6 +97,9 @@ ClickIfidFromNameTest::DoRun () ret = simclick_sim_command (click->m_simNode, SIMCLICK_IFID_FROM_NAME, "eth1"); NS_TEST_EXPECT_MSG_EQ (ret, -1, "No eth1 on node"); + + // Cast ret to void to work around set-but-unused warnings from compilers + (void) ret; } class ClickIpMacAddressFromNameTest : public TestCase @@ -149,6 +152,9 @@ ClickIpMacAddressFromNameTest::DoRun () NS_TEST_EXPECT_MSG_EQ (strcmp (buf, "00:00:00:00:00:00"), 0, "tun0 has IP 127.0.0.1"); delete [] buf; + + // Cast ret to void to work around set-but-unused warnings from compilers + (void) ret; } class ClickTrivialTest : public TestCase @@ -191,6 +197,9 @@ ClickTrivialTest::DoRun () NS_TEST_EXPECT_MSG_EQ (ret, 0, "eth1 does not exist, so return 0"); delete [] buf; + + // Cast ret to void to work around set-but-unused warnings from compilers + (void) ret; } class ClickIfidFromNameTestSuite : public TestSuite diff --git a/src/click/wscript b/src/click/wscript index a600b78ee..41d18f31b 100644 --- a/src/click/wscript +++ b/src/click/wscript @@ -4,24 +4,32 @@ import os import Options -def set_options(opt): +def options(opt): opt.add_option('--with-nsclick', help=('Path to Click source or installation prefix for NS-3 Click Integration support'), dest='with_nsclick', default=None) + opt.add_option('--disable-nsclick', + help=('Disable NS-3 Click Integration support'), + dest='disable_nsclick', default=False, action="store_true") def configure(conf): + if Options.options.disable_nsclick: + conf.report_optional_feature("nsclick", "NS-3 Click Integration", False, + "disabled by user request") + return + if Options.options.with_nsclick: if os.path.isdir(Options.options.with_nsclick): - conf.check_message("libnsclick.so location", '', True, ("%s (given)" % Options.options.with_nsclick)) + conf.msg("Checking for libnsclick.so location", ("%s (given)" % Options.options.with_nsclick)) conf.env['WITH_NSCLICK'] = os.path.abspath(Options.options.with_nsclick) else: nsclick_dir = os.path.join('..','click') if os.path.isdir(nsclick_dir): - conf.check_message("click location", '', True, ("%s (guessed)" % nsclick_dir)) + conf.msg("Checking for click location", ("%s (guessed)" % nsclick_dir)) conf.env['WITH_NSCLICK'] = os.path.abspath(nsclick_dir) del nsclick_dir if not conf.env['WITH_NSCLICK']: - conf.check_message("click location", '', False) + conf.msg("Checking for click location", False) conf.report_optional_feature("nsclick", "NS-3 Click Integration", False, "nsclick not enabled (see option --with-nsclick)") @@ -58,7 +66,7 @@ int main() return 0; } ''' - conf.env['DL'] = conf.check(mandatory=True, lib='dl', define_name='DL', uselib='DL') + conf.env['DL'] = conf.check(mandatory=True, lib='dl', define_name='DL', uselib_store='DL') for tmp in ['lib', 'ns']: libdir = os.path.abspath(os.path.join(conf.env['WITH_NSCLICK'],tmp)) @@ -66,15 +74,14 @@ int main() conf.env.append_value('NS3_MODULE_PATH',libdir) conf.env['LIBPATH_NSCLICK'] = [libdir] - conf.env['CPPPATH_NSCLICK'] = [os.path.abspath(os.path.join(conf.env['WITH_NSCLICK'],'include'))] - - conf.env['NSCLICK'] = conf.check(fragment=test_code, lib='nsclick', uselib='NSCLICK DL') + conf.env['INCLUDES_NSCLICK'] = [os.path.abspath(os.path.join(conf.env['WITH_NSCLICK'],'include'))] + conf.env['LIB_NSCLICK'] = ['nsclick'] + conf.env['DEFINES_NSCLICK'] = ['NS3_CLICK'] + conf.env['NSCLICK'] = conf.check_nonfatal(fragment=test_code, use='DL NSCLICK', + msg="Checking for library nsclick") conf.report_optional_feature("nsclick", "NS-3 Click Integration", conf.env['NSCLICK'], "nsclick library not found") - if conf.env['NSCLICK']: - conf.env.append_value('CXXDEFINES', 'NS3_CLICK') - conf.env.append_value('CPPPATH', conf.env['CPPPATH_NSCLICK']) - else: + if not conf.env['NSCLICK']: # Add this module to the list of modules that won't be built # if they are enabled. conf.env['MODULES_NOT_BUILT'].append('click') @@ -84,8 +91,7 @@ def build(bld): if 'click' in bld.env['MODULES_NOT_BUILT']: return - module = bld.create_ns3_module('click', ['internet']) - module.includes = '. CPPPATH_NSCLICK' + module = bld.create_ns3_module('click', ['core', 'network', 'internet']) module.source = [ 'model/ipv4-click-routing.cc', 'model/ipv4-l3-click-protocol.cc', @@ -98,10 +104,10 @@ def build(bld): ] if bld.env['NSCLICK'] and bld.env['DL']: - module.uselib = 'NSCLICK DL' - module_test.uselib = 'NSCLICK DL' + module.use = 'NSCLICK DL' + module_test.use = 'NSCLICK DL' - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'click' headers.source = [ 'model/ipv4-click-routing.h', diff --git a/src/config-store/bindings/modulegen__gcc_ILP32.py b/src/config-store/bindings/modulegen__gcc_ILP32.py index ba2b395cc..bc802a9c9 100644 --- a/src/config-store/bindings/modulegen__gcc_ILP32.py +++ b/src/config-store/bindings/modulegen__gcc_ILP32.py @@ -34,8 +34,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## config-store.h (module 'config-store'): ns3::ConfigStore [class] @@ -52,6 +54,10 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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')) + ## 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 >']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -88,13 +94,16 @@ def register_methods(root_module): register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig']) register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore']) 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, 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_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -244,10 +253,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -275,23 +284,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -299,26 +298,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -349,14 +333,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -364,11 +343,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -393,22 +367,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -418,6 +387,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -432,19 +405,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -539,6 +531,45 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -586,6 +617,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/config-store/bindings/modulegen__gcc_LP64.py b/src/config-store/bindings/modulegen__gcc_LP64.py index ba2b395cc..bc802a9c9 100644 --- a/src/config-store/bindings/modulegen__gcc_LP64.py +++ b/src/config-store/bindings/modulegen__gcc_LP64.py @@ -34,8 +34,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## config-store.h (module 'config-store'): ns3::ConfigStore [class] @@ -52,6 +54,10 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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')) + ## 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 >']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -88,13 +94,16 @@ def register_methods(root_module): register_Ns3NoneFileConfig_methods(root_module, root_module['ns3::NoneFileConfig']) register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3ConfigStore_methods(root_module, root_module['ns3::ConfigStore']) 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, 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_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -244,10 +253,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -275,23 +284,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -299,26 +298,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -349,14 +333,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -364,11 +343,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -393,22 +367,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -418,6 +387,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -432,19 +405,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -539,6 +531,45 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -586,6 +617,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/config-store/doc/README b/src/config-store/doc/README new file mode 100644 index 000000000..27f38fb59 --- /dev/null +++ b/src/config-store/doc/README @@ -0,0 +1,2 @@ +The Sphinx documentation for config-store is maintained as a section +in doc/manual/source/attributes.rst diff --git a/src/config-store/examples/config-store-save.cc b/src/config-store/examples/config-store-save.cc new file mode 100644 index 000000000..33a8a9b6c --- /dev/null +++ b/src/config-store/examples/config-store-save.cc @@ -0,0 +1,73 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +#include "ns3/core-module.h" +#include "ns3/config-store-module.h" + +#include + +using namespace ns3; + +class A : public Object +{ +public: + static TypeId GetTypeId (void) { + static TypeId tid = TypeId ("ns3::A") + .SetParent () + .AddAttribute ("TestInt16", "help text", + IntegerValue (-2), + MakeIntegerAccessor (&A::m_int16), + MakeIntegerChecker ()) + ; + return tid; + } + int16_t m_int16; +}; + +NS_OBJECT_ENSURE_REGISTERED (A); + +// Assign a new default value to A::TestInt16 (-5) +// Configure a TestInt16 value for a special instance of A (to -3) +// View the output from the config store +// +int main (int argc, char *argv[]) +{ + Config::SetDefault ("ns3::A::TestInt16", IntegerValue (-5)); + + Ptr a_obj = CreateObject (); + NS_ABORT_MSG_UNLESS (a_obj->m_int16 == -5, "Cannot set A's integer attribute via Config::SetDefault"); + + Ptr a2_obj = CreateObject (); + a2_obj->SetAttribute ("TestInt16", IntegerValue (-3)); + IntegerValue iv; + a2_obj->GetAttribute ("TestInt16", iv); + NS_ABORT_MSG_UNLESS (iv.Get () == -3, "Cannot set A's integer attribute via SetAttribute"); + + // These test objects are not rooted in any ns-3 configuration namespace. + // This is usually done automatically for ns3 nodes and channels, but + // we can establish a new root and anchor one of them there (note; we + // can't use two objects of the same type as roots). Rooting one of these + // is necessary for it to show up in the config namespace so that + // ConfigureAttributes() will work below. + Config::RegisterRootNamespaceObject (a2_obj); + +#ifdef HAVE_LIBXML2 + // Output config store to XML format + Config::SetDefault ("ns3::ConfigStore::Filename", StringValue ("output-attributes.xml")); + Config::SetDefault ("ns3::ConfigStore::FileFormat", StringValue ("Xml")); + Config::SetDefault ("ns3::ConfigStore::Mode", StringValue ("Save")); + ConfigStore outputConfig; + outputConfig.ConfigureDefaults (); + outputConfig.ConfigureAttributes (); +#endif /* HAVE_LIBXML2 */ + + // Output config store to txt format + Config::SetDefault ("ns3::ConfigStore::Filename", StringValue ("output-attributes.txt")); + Config::SetDefault ("ns3::ConfigStore::FileFormat", StringValue ("RawText")); + Config::SetDefault ("ns3::ConfigStore::Mode", StringValue ("Save")); + ConfigStore outputConfig2; + outputConfig2.ConfigureDefaults (); + outputConfig2.ConfigureAttributes (); + + Simulator::Run (); + + Simulator::Destroy (); +} diff --git a/src/config-store/examples/wscript b/src/config-store/examples/wscript new file mode 100644 index 000000000..7bacf5b35 --- /dev/null +++ b/src/config-store/examples/wscript @@ -0,0 +1,6 @@ +## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- + +def build(bld): + + obj = bld.create_ns3_program('config-store-save', ['core', 'config-store']) + obj.source = 'config-store-save.cc' diff --git a/src/config-store/model/attribute-default-iterator.cc b/src/config-store/model/attribute-default-iterator.cc index aec678839..d31024605 100644 --- a/src/config-store/model/attribute-default-iterator.cc +++ b/src/config-store/model/attribute-default-iterator.cc @@ -19,10 +19,10 @@ #include "attribute-default-iterator.h" #include "ns3/attribute.h" -#include "ns3/object-vector.h" #include "ns3/pointer.h" #include "ns3/global-value.h" #include "ns3/string.h" +#include "ns3/object-ptr-container.h" namespace ns3 { @@ -43,43 +43,40 @@ AttributeDefaultIterator::Iterate (void) bool calledStart = false; for (uint32_t j = 0; j < tid.GetAttributeN (); j++) { - uint32_t flags = tid.GetAttributeFlags (j); - if (!(flags & TypeId::ATTR_CONSTRUCT)) + struct TypeId::AttributeInformation info = tid.GetAttribute (j); + if (!(info.flags & TypeId::ATTR_CONSTRUCT)) { // we can't construct the attribute, so, there is no // initial value for the attribute continue; } - Ptr accessor = tid.GetAttributeAccessor (j); //No accessor, go to next attribute - if (accessor == 0) + if (info.accessor == 0) { continue; } - if (!accessor->HasSetter ()) + if (!info.accessor->HasSetter ()) { //skip this attribute it doesn't have an setter continue; } - Ptr checker = tid.GetAttributeChecker (j); - if (checker == 0) + if (info.checker == 0) { //skip, it doesn't have a checker continue; } - Ptr value = tid.GetAttributeInitialValue (j); - if (value == 0) + if (info.initialValue == 0) { //No value, check next attribute continue; } - Ptr vector = DynamicCast (value); + Ptr vector = DynamicCast (info.initialValue); if (vector != 0) { //a vector value, won't take it continue; } - Ptr pointer = DynamicCast (value); + Ptr pointer = DynamicCast (info.initialValue); if (pointer != 0) { //pointer value, won't take it @@ -90,7 +87,7 @@ AttributeDefaultIterator::Iterate (void) { StartVisitTypeId (tid.GetName ()); } - VisitAttribute (tid, tid.GetAttributeName (j), value->SerializeToString (checker), j); + VisitAttribute (tid, info.name, info.initialValue->SerializeToString (info.checker), j); calledStart = true; } if (calledStart) diff --git a/src/config-store/model/attribute-iterator.cc b/src/config-store/model/attribute-iterator.cc index bef69c1d9..f0559c5f3 100644 --- a/src/config-store/model/attribute-iterator.cc +++ b/src/config-store/model/attribute-iterator.cc @@ -20,8 +20,7 @@ #include "ns3/config.h" #include "ns3/log.h" #include "ns3/pointer.h" -#include "ns3/object-vector.h" -#include "ns3/object-map.h" +#include "ns3/object-ptr-container.h" #include "ns3/string.h" #include @@ -110,7 +109,7 @@ AttributeIterator::DoEndVisitPointerAttribute (void) { } void -AttributeIterator::DoStartVisitArrayAttribute (Ptr object, std::string name, const ObjectVectorValue &vector) +AttributeIterator::DoStartVisitArrayAttribute (Ptr object, std::string name, const ObjectPtrContainerValue &vector) { } void @@ -118,7 +117,7 @@ AttributeIterator::DoEndVisitArrayAttribute (void) { } void -AttributeIterator::DoStartVisitArrayItem (const ObjectVectorValue &vector, uint32_t index, Ptr item) +AttributeIterator::DoStartVisitArrayItem (const ObjectPtrContainerValue &vector, uint32_t index, Ptr item) { } void @@ -126,28 +125,6 @@ AttributeIterator::DoEndVisitArrayItem (void) { } -void -AttributeIterator::DoStartVisitMapAttribute (Ptr object, std::string name, const ObjectMapValue &map) -{ - -} -void -AttributeIterator::DoEndVisitMapAttribute (void) -{ - -} - -void -AttributeIterator::DoStartVisitMapItem (const ObjectMapValue &vector, uint32_t index, Ptr item) -{ - -} -void -AttributeIterator::DoEndVisitMapItem (void) -{ - -} - void AttributeIterator::VisitAttribute (Ptr object, std::string name) { @@ -161,7 +138,6 @@ AttributeIterator::StartVisitObject (Ptr object) { m_currentPath.push_back ("$" + object->GetInstanceTypeId ().GetName ()); DoStartVisitObject (object); - NS_LOG_INFO(this << GetCurrentPath() ); } void AttributeIterator::EndVisitObject (void) @@ -175,7 +151,6 @@ AttributeIterator::StartVisitPointerAttribute (Ptr object, std::string n m_currentPath.push_back (name); m_currentPath.push_back ("$" + value->GetInstanceTypeId ().GetName ()); DoStartVisitPointerAttribute (object, name, value); - NS_LOG_INFO(this << GetCurrentPath() ); } void AttributeIterator::EndVisitPointerAttribute (void) @@ -185,11 +160,10 @@ AttributeIterator::EndVisitPointerAttribute (void) DoEndVisitPointerAttribute (); } void -AttributeIterator::StartVisitArrayAttribute (Ptr object, std::string name, const ObjectVectorValue &vector) +AttributeIterator::StartVisitArrayAttribute (Ptr object, std::string name, const ObjectPtrContainerValue &vector) { m_currentPath.push_back (name); DoStartVisitArrayAttribute (object, name, vector); - NS_LOG_INFO(this << GetCurrentPath() ); } void AttributeIterator::EndVisitArrayAttribute (void) @@ -199,14 +173,13 @@ AttributeIterator::EndVisitArrayAttribute (void) } void -AttributeIterator::StartVisitArrayItem (const ObjectVectorValue &vector, uint32_t index, Ptr item) +AttributeIterator::StartVisitArrayItem (const ObjectPtrContainerValue &vector, uint32_t index, Ptr item) { std::ostringstream oss; oss << index; m_currentPath.push_back (oss.str ()); m_currentPath.push_back ("$" + item->GetInstanceTypeId ().GetName ()); DoStartVisitArrayItem (vector, index, item); - NS_LOG_INFO(this << GetCurrentPath() ); } void AttributeIterator::EndVisitArrayItem (void) @@ -216,39 +189,6 @@ AttributeIterator::EndVisitArrayItem (void) DoEndVisitArrayItem (); } -void -AttributeIterator::StartVisitMapAttribute (Ptr object, std::string name, const ObjectMapValue &map) -{ - m_currentPath.push_back (name); - DoStartVisitMapAttribute (object, name, map); - NS_LOG_INFO(this << GetCurrentPath() ); -} - -void -AttributeIterator::EndVisitMapAttribute (void) -{ - m_currentPath.pop_back (); - DoEndVisitMapAttribute (); -} - -void -AttributeIterator::StartVisitMapItem (const ObjectMapValue &map, uint32_t index, Ptr item) -{ - std::ostringstream oss; - oss << index; - m_currentPath.push_back (oss.str ()); - m_currentPath.push_back ("$" + item->GetInstanceTypeId ().GetName ()); - DoStartVisitMapItem (map, index, item); - NS_LOG_INFO(this << GetCurrentPath() ); -} - -void -AttributeIterator::EndVisitMapItem (void) -{ - m_currentPath.pop_back (); - m_currentPath.pop_back (); - DoEndVisitMapItem (); -} void AttributeIterator::DoIterate (Ptr object) @@ -263,17 +203,17 @@ AttributeIterator::DoIterate (Ptr object) NS_LOG_DEBUG ("store " << tid.GetName ()); for (uint32_t i = 0; i < tid.GetAttributeN (); ++i) { - Ptr checker = tid.GetAttributeChecker (i); - const PointerChecker *ptrChecker = dynamic_cast (PeekPointer (checker)); + struct TypeId::AttributeInformation info = tid.GetAttribute(i); + const PointerChecker *ptrChecker = dynamic_cast (PeekPointer (info.checker)); if (ptrChecker != 0) { - NS_LOG_DEBUG ("pointer attribute " << tid.GetAttributeName (i)); + NS_LOG_DEBUG ("pointer attribute " << info.name); PointerValue ptr; - object->GetAttribute (tid.GetAttributeName (i), ptr); + object->GetAttribute (info.name, ptr); Ptr tmp = ptr.Get (); if (tmp != 0) { - StartVisitPointerAttribute (object, tid.GetAttributeName (i), + StartVisitPointerAttribute (object, info.name, tmp); m_examined.push_back (object); DoIterate (tmp); @@ -283,13 +223,13 @@ AttributeIterator::DoIterate (Ptr object) continue; } // attempt to cast to an object vector. - const ObjectVectorChecker *vectorChecker = dynamic_cast (PeekPointer (checker)); + const ObjectPtrContainerChecker *vectorChecker = dynamic_cast (PeekPointer (info.checker)); if (vectorChecker != 0) { - NS_LOG_DEBUG ("vector attribute " << tid.GetAttributeName (i)); - ObjectVectorValue vector; - object->GetAttribute (tid.GetAttributeName (i), vector); - StartVisitArrayAttribute (object, tid.GetAttributeName (i), vector); + NS_LOG_DEBUG ("vector attribute " << info.name); + ObjectPtrContainerValue vector; + object->GetAttribute (info.name, vector); + StartVisitArrayAttribute (object, info.name, vector); for (uint32_t j = 0; j < vector.GetN (); ++j) { NS_LOG_DEBUG ("vector attribute item " << j); @@ -303,36 +243,14 @@ AttributeIterator::DoIterate (Ptr object) EndVisitArrayAttribute (); continue; } - // attempt to cast to an object map. - const ObjectMapChecker *mapChecker = dynamic_cast (PeekPointer (checker)); - if (mapChecker != 0) + if ((info.flags & TypeId::ATTR_GET) && info.accessor->HasGetter () && + (info.flags & TypeId::ATTR_SET) && info.accessor->HasSetter ()) { - NS_LOG_DEBUG ("map attribute " << tid.GetAttributeName (i)); - ObjectMapValue map; - object->GetAttribute (tid.GetAttributeName (i), map); - StartVisitMapAttribute (object, tid.GetAttributeName (i), map); - for (ObjectMapValue::Iterator it = map.Begin () ; it != map.End(); it++ ) - { - NS_LOG_DEBUG ("map attribute item " << (*it).first << (*it).second ); - StartVisitMapItem (map, (*it).first, (*it).second); - m_examined.push_back (object); - DoIterate ((*it).second); - m_examined.pop_back (); - EndVisitMapItem (); - } - EndVisitMapAttribute (); - continue; - } - uint32_t flags = tid.GetAttributeFlags (i); - Ptr accessor = tid.GetAttributeAccessor (i); - if ((flags & TypeId::ATTR_GET) && accessor->HasGetter () && - (flags & TypeId::ATTR_SET) && accessor->HasSetter ()) - { - VisitAttribute (object, tid.GetAttributeName (i)); + VisitAttribute (object, info.name); } else { - NS_LOG_DEBUG ("could not store " << tid.GetAttributeName (i)); + NS_LOG_DEBUG ("could not store " << info.name); } } } diff --git a/src/config-store/model/attribute-iterator.h b/src/config-store/model/attribute-iterator.h index fb8914d94..5821651a8 100644 --- a/src/config-store/model/attribute-iterator.h +++ b/src/config-store/model/attribute-iterator.h @@ -21,13 +21,11 @@ #include "ns3/ptr.h" #include "ns3/object.h" +#include "ns3/object-ptr-container.h" #include namespace ns3 { -class ObjectVectorValue; -class ObjectMapValue; - /** * \ingroup configstore * @@ -48,16 +46,11 @@ private: virtual void DoEndVisitObject (void); virtual void DoStartVisitPointerAttribute (Ptr object, std::string name, Ptr value); virtual void DoEndVisitPointerAttribute (void); - virtual void DoStartVisitArrayAttribute (Ptr object, std::string name, const ObjectVectorValue &vector); + virtual void DoStartVisitArrayAttribute (Ptr object, std::string name, const ObjectPtrContainerValue &vector); virtual void DoEndVisitArrayAttribute (void); - virtual void DoStartVisitArrayItem (const ObjectVectorValue &vector, uint32_t index, Ptr item); + virtual void DoStartVisitArrayItem (const ObjectPtrContainerValue &vector, uint32_t index, Ptr item); virtual void DoEndVisitArrayItem (void); - virtual void DoStartVisitMapAttribute (Ptr object, std::string name, const ObjectMapValue &map); - virtual void DoEndVisitMapAttribute (void); - virtual void DoStartVisitMapItem (const ObjectMapValue &vector, uint32_t index, Ptr item); - virtual void DoEndVisitMapItem (void); - void DoIterate (Ptr object); bool IsExamined (Ptr object); std::string GetCurrentPath (std::string attr) const; @@ -67,15 +60,11 @@ private: void EndVisitObject (void); void StartVisitPointerAttribute (Ptr object, std::string name, Ptr value); void EndVisitPointerAttribute (void); - void StartVisitArrayAttribute (Ptr object, std::string name, const ObjectVectorValue &vector); + void StartVisitArrayAttribute (Ptr object, std::string name, const ObjectPtrContainerValue &vector); void EndVisitArrayAttribute (void); - void StartVisitArrayItem (const ObjectVectorValue &vector, uint32_t index, Ptr item); + void StartVisitArrayItem (const ObjectPtrContainerValue &vector, uint32_t index, Ptr item); void EndVisitArrayItem (void); - void StartVisitMapAttribute (Ptr object, std::string name, const ObjectMapValue &map); - void EndVisitMapAttribute (void); - void StartVisitMapItem (const ObjectMapValue &vector, uint32_t index, Ptr item); - void EndVisitMapItem (void); std::vector > m_examined; std::vector m_currentPath; diff --git a/src/config-store/model/config-store.cc b/src/config-store/model/config-store.cc index de0d6e020..48262e7eb 100644 --- a/src/config-store/model/config-store.cc +++ b/src/config-store/model/config-store.cc @@ -1,10 +1,11 @@ #include "config-store.h" #include "raw-text-config.h" +#include "ns3/abort.h" #include "ns3/string.h" #include "ns3/log.h" #include "ns3/simulator.h" +#include "ns3/attribute-construction-list.h" #include "ns3/enum.h" -#include "ns3/attribute-list.h" #include "ns3/config-store-config.h" #ifdef HAVE_LIBXML2 #include "xml-config.h" @@ -59,7 +60,7 @@ ConfigStore::GetInstanceTypeId (void) const ConfigStore::ConfigStore () { - ObjectBase::ConstructSelf (AttributeList ()); + ObjectBase::ConstructSelf (AttributeConstructionList ()); #ifdef HAVE_LIBXML2 if (m_fileFormat == ConfigStore::XML) @@ -77,8 +78,20 @@ ConfigStore::ConfigStore () m_file = new NoneFileConfig (); } } - else +#else + if (m_fileFormat == ConfigStore::XML) + { + if (m_mode == ConfigStore::SAVE || m_mode == ConfigStore::LOAD) + { + NS_ABORT_MSG ("ConfigStore tried to read or write an XML file but XML is not supported."); + } + else + { + m_file = new NoneFileConfig (); + } + } #endif /* HAVE_LIBXML2 */ + if (m_fileFormat == ConfigStore::RAW_TEXT) { if (m_mode == ConfigStore::SAVE) diff --git a/src/config-store/model/display-functions.cc b/src/config-store/model/display-functions.cc index b6943de20..bf8dbfa11 100644 --- a/src/config-store/model/display-functions.cc +++ b/src/config-store/model/display-functions.cc @@ -181,7 +181,7 @@ cell_tooltip_callback (GtkWidget *widget, gint x, gint y, gboolean keyboard_tip, { for (uint32_t i = 0; i < tid.GetAttributeN (); ++i) { - if (tid.GetAttributeName (i) == node->name) + if (tid.GetAttribute (i).name == node->name) { attrIndex = i; goto out; @@ -190,13 +190,13 @@ cell_tooltip_callback (GtkWidget *widget, gint x, gint y, gboolean keyboard_tip, } out: if (col == 0) { - std::string tip = tid.GetAttributeHelp (attrIndex); + std::string tip = tid.GetAttribute (attrIndex).help; gtk_tooltip_set_text (tooltip, tip.c_str ()); } else { - Ptr checker = tid.GetAttributeChecker ( - attrIndex); + struct TypeId::AttributeInformation info = tid.GetAttribute (attrIndex); + Ptr checker = info.checker; std::string tip; tip = "This attribute is of type " + checker->GetValueTypeName (); if (checker->HasUnderlyingTypeInformation ()) @@ -455,12 +455,12 @@ cell_tooltip_callback_config_default (GtkWidget *widget, gint x, gint y, uint32_t attrIndex = node->index; if (col == 0) { - std::string tip = node->tid.GetAttributeHelp (attrIndex); + std::string tip = node->tid.GetAttribute (attrIndex).help; gtk_tooltip_set_text (tooltip, tip.c_str ()); } else { - Ptr checker = node->tid.GetAttributeChecker (attrIndex); + Ptr checker = node->tid.GetAttribute (attrIndex).checker; std::string tip; tip = "This attribute is of type " + checker->GetValueTypeName (); if (checker->HasUnderlyingTypeInformation ()) diff --git a/src/config-store/model/model-node-creator.cc b/src/config-store/model/model-node-creator.cc index 5315f3414..ebb56e45c 100644 --- a/src/config-store/model/model-node-creator.cc +++ b/src/config-store/model/model-node-creator.cc @@ -92,7 +92,7 @@ ModelCreator::DoEndVisitPointerAttribute (void) Remove (); } void -ModelCreator::DoStartVisitArrayAttribute (Ptr object, std::string name, const ObjectVectorValue &vector) +ModelCreator::DoStartVisitArrayAttribute (Ptr object, std::string name, const ObjectPtrContainerValue &vector) { ModelNode *node = new ModelNode (); node->type = ModelNode::NODE_VECTOR; @@ -106,7 +106,7 @@ ModelCreator::DoEndVisitArrayAttribute (void) Remove (); } void -ModelCreator::DoStartVisitArrayItem (const ObjectVectorValue &vector, uint32_t index, Ptr item) +ModelCreator::DoStartVisitArrayItem (const ObjectPtrContainerValue &vector, uint32_t index, Ptr item) { GtkTreeIter *parent = m_iters.back (); GtkTreeIter *current = g_new (GtkTreeIter, 1); @@ -127,42 +127,4 @@ ModelCreator::DoEndVisitArrayItem (void) g_free (iter); m_iters.pop_back (); } - -void -ModelCreator::DoStartVisitMapAttribute (Ptr object, std::string name, const ObjectMapValue &map) -{ - ModelNode *node = new ModelNode (); - node->type = ModelNode::NODE_VECTOR; - node->object = object; - node->name = name; - Add (node); -} -void -ModelCreator::DoEndVisitMapAttribute (void) -{ - Remove (); -} -void -ModelCreator::DoStartVisitMapItem (const ObjectMapValue &map, uint32_t index, Ptr item) -{ - GtkTreeIter *parent = m_iters.back (); - GtkTreeIter *current = g_new (GtkTreeIter, 1); - ModelNode *node = new ModelNode (); - node->type = ModelNode::NODE_VECTOR_ITEM; - node->object = item; - node->index = index; - gtk_tree_store_append (m_treestore, current, parent); - gtk_tree_store_set (m_treestore, current, - COL_NODE, node, - -1); - m_iters.push_back (current); -} -void -ModelCreator::DoEndVisitMapItem (void) -{ - GtkTreeIter *iter = m_iters.back (); - g_free (iter); - m_iters.pop_back (); -} - } //end namespace ns3 diff --git a/src/config-store/model/model-node-creator.h b/src/config-store/model/model-node-creator.h index 6b5ea693a..822983b40 100644 --- a/src/config-store/model/model-node-creator.h +++ b/src/config-store/model/model-node-creator.h @@ -63,18 +63,12 @@ private: virtual void DoEndVisitObject (void); virtual void DoStartVisitPointerAttribute (Ptr object, std::string name, Ptr value); virtual void DoEndVisitPointerAttribute (void); - virtual void DoStartVisitArrayAttribute (Ptr object, std::string name, const ObjectVectorValue &vector); + virtual void DoStartVisitArrayAttribute (Ptr object, std::string name, + const ObjectPtrContainerValue &vector); virtual void DoEndVisitArrayAttribute (void); - virtual void DoStartVisitArrayItem (const ObjectVectorValue &vector, + virtual void DoStartVisitArrayItem (const ObjectPtrContainerValue &vector, uint32_t index, Ptr item); virtual void DoEndVisitArrayItem (void); - - virtual void DoStartVisitMapAttribute (Ptr object, std::string name, const ObjectMapValue &map); - virtual void DoEndVisitMapAttribute (void); - virtual void DoStartVisitMapItem (const ObjectMapValue &vector, uint32_t index, Ptr item); - virtual void DoEndVisitMapItem (void); - - void Add (ModelNode *node); void Remove (void); diff --git a/src/config-store/test/examples-to-run.py b/src/config-store/test/examples-to-run.py new file mode 100644 index 000000000..6eeae4d1d --- /dev/null +++ b/src/config-store/test/examples-to-run.py @@ -0,0 +1,12 @@ +#! /usr/bin/env python +## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- + +# A list of C++ examples to run in order to ensure that they remain +# buildable and runnable over time. Each tuple in the list contains +# +# (example_name, do_run, do_valgrind_run). +# +# See test.py for more information. +cpp_examples = [ + ("config-store-save", "True", "False"), +] diff --git a/src/config-store/wscript b/src/config-store/wscript index 79203ccc4..975022c56 100644 --- a/src/config-store/wscript +++ b/src/config-store/wscript @@ -18,6 +18,8 @@ def configure(conf): def build(bld): + bld.install_files('${PREFIX}/include/ns3', '../../ns3/config-store-config.h') + module = bld.create_ns3_module('config-store', ['core', 'network']) module.source = [ 'model/attribute-iterator.cc', @@ -27,7 +29,7 @@ def build(bld): 'model/raw-text-config.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'config-store' headers.source = [ 'model/file-config.h', @@ -41,13 +43,13 @@ def build(bld): 'model/model-typeid-creator.cc', 'model/display-functions.cc', ]) - module.uselib = 'GTK_CONFIG_STORE' + module.use.append('GTK_CONFIG_STORE') if bld.env['ENABLE_LIBXML2']: module.source.append ('model/xml-config.cc') - if bld.env['ENABLE_GTK_CONFIG_STORE']: - module.uselib = module.uselib + ' LIBXML2' - else: - module.uselib = 'LIBXML2' + module.use.append('LIBXML2') + + if bld.env['ENABLE_EXAMPLES']: + bld.add_subdirs('examples') bld.ns3_python_bindings() diff --git a/src/core/bindings/module_helpers.cc b/src/core/bindings/module_helpers.cc index 996bfece8..d00779075 100644 --- a/src/core/bindings/module_helpers.cc +++ b/src/core/bindings/module_helpers.cc @@ -2,16 +2,7 @@ #include "ns3/ref-count-base.h" -namespace ns3 { - -void PythonCompleteConstruct (Ptr object, TypeId typeId, const AttributeList &attributes) -{ - object->SetTypeId (typeId); - object->Object::Construct (attributes); -} - -} - +namespace { class PythonEventImpl : public ns3::EventImpl @@ -59,6 +50,8 @@ public: } }; +} // closes: namespace { + PyObject * _wrap_Simulator_Schedule (PyNs3Simulator *PYBINDGEN_UNUSED (dummy), PyObject *args, PyObject *kwargs, diff --git a/src/core/bindings/modulegen__gcc_ILP32.py b/src/core/bindings/modulegen__gcc_ILP32.py index 70c8398ed..e76af97c3 100644 --- a/src/core/bindings/modulegen__gcc_ILP32.py +++ b/src/core/bindings/modulegen__gcc_ILP32.py @@ -22,8 +22,10 @@ def register_types(module): ## log.h (module 'core'): ns3::LogLevel [enumeration] module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME', 'LOG_PREFIX_NODE']) - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', outer_class=root_module['ns3::AttributeConstructionList']) ## callback.h (module 'core'): ns3::CallbackBase [class] module.add_class('CallbackBase') ## command-line.h (module 'core'): ns3::CommandLine [class] @@ -83,7 +85,7 @@ def register_types(module): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True) + module.add_class('Simulator', destructor_visibility='private') ## system-condition.h (module 'core'): ns3::SystemCondition [class] module.add_class('SystemCondition') ## system-mutex.h (module 'core'): ns3::SystemMutex [class] @@ -104,12 +106,12 @@ def register_types(module): module.add_class('TypeId') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId']) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -236,12 +238,12 @@ def register_types(module): module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker']) ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class] module.add_class('ObjectFactoryValue', parent=root_module['ns3::AttributeValue']) - ## object-vector.h (module 'core'): ns3::ObjectVectorAccessor [class] - module.add_class('ObjectVectorAccessor', parent=root_module['ns3::AttributeAccessor']) - ## object-vector.h (module 'core'): ns3::ObjectVectorChecker [class] - module.add_class('ObjectVectorChecker', parent=root_module['ns3::AttributeChecker']) - ## object-vector.h (module 'core'): ns3::ObjectVectorValue [class] - module.add_class('ObjectVectorValue', parent=root_module['ns3::AttributeValue']) + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerAccessor [class] + module.add_class('ObjectPtrContainerAccessor', parent=root_module['ns3::AttributeAccessor']) + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerChecker [class] + module.add_class('ObjectPtrContainerChecker', parent=root_module['ns3::AttributeChecker']) + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerValue [class] + module.add_class('ObjectPtrContainerValue', parent=root_module['ns3::AttributeValue']) ## pointer.h (module 'core'): ns3::PointerChecker [class] module.add_class('PointerChecker', parent=root_module['ns3::AttributeChecker']) ## pointer.h (module 'core'): ns3::PointerValue [class] @@ -278,6 +280,10 @@ def register_types(module): module.add_class('Vector3DChecker', parent=root_module['ns3::AttributeChecker']) ## vector.h (module 'core'): ns3::Vector3DValue [class] module.add_class('Vector3DValue', parent=root_module['ns3::AttributeValue']) + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue', 'ns3::ObjectVectorValue') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue*', 'ns3::ObjectVectorValue*') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue&', 'ns3::ObjectVectorValue&') + module.add_typedef(root_module['ns3::ObjectPtrContainerValue'], 'ObjectVectorValue') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&') @@ -292,6 +298,10 @@ def register_types(module): typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue', 'ns3::ObjectMapValue') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue*', 'ns3::ObjectMapValue*') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue&', 'ns3::ObjectMapValue&') + module.add_typedef(root_module['ns3::ObjectPtrContainerValue'], 'ObjectMapValue') typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*') typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&') @@ -332,7 +342,8 @@ def register_types_ns3_internal(module): def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine']) register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) @@ -363,9 +374,9 @@ def register_methods(root_module): register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) @@ -427,9 +438,9 @@ def register_methods(root_module): register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler']) register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) - register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor']) - register_Ns3ObjectVectorChecker_methods(root_module, root_module['ns3::ObjectVectorChecker']) - register_Ns3ObjectVectorValue_methods(root_module, root_module['ns3::ObjectVectorValue']) + register_Ns3ObjectPtrContainerAccessor_methods(root_module, root_module['ns3::ObjectPtrContainerAccessor']) + register_Ns3ObjectPtrContainerChecker_methods(root_module, root_module['ns3::ObjectPtrContainerChecker']) + register_Ns3ObjectPtrContainerValue_methods(root_module, root_module['ns3::ObjectPtrContainerValue']) register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker']) register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) @@ -450,41 +461,43 @@ def register_methods(root_module): register_Ns3ConfigMatchContainer_methods(root_module, root_module['ns3::Config::MatchContainer']) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3CallbackBase_methods(root_module, cls): @@ -625,6 +638,10 @@ def register_Ns3GlobalValue_methods(root_module, cls): 'bool', [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], is_static=True) + ## global-value.h (module 'core'): void ns3::GlobalValue::ResetInitialValue() [member function] + cls.add_method('ResetInitialValue', + 'void', + []) ## global-value.h (module 'core'): bool ns3::GlobalValue::SetValue(ns3::AttributeValue const & value) [member function] cls.add_method('SetValue', 'bool', @@ -815,10 +832,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -845,6 +862,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -859,10 +878,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1321,19 +1336,9 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1341,26 +1346,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1391,14 +1381,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1406,11 +1391,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1435,15 +1415,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', @@ -1460,6 +1435,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1474,19 +1453,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -1511,22 +1509,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -2639,6 +2621,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3318,91 +3305,91 @@ def register_Ns3ObjectFactoryValue_methods(root_module, cls): [param('ns3::ObjectFactory const &', 'value')]) return -def register_Ns3ObjectVectorAccessor_methods(root_module, cls): - ## object-vector.h (module 'core'): ns3::ObjectVectorAccessor::ObjectVectorAccessor() [constructor] +def register_Ns3ObjectPtrContainerAccessor_methods(root_module, cls): + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerAccessor::ObjectPtrContainerAccessor() [constructor] cls.add_constructor([]) - ## object-vector.h (module 'core'): ns3::ObjectVectorAccessor::ObjectVectorAccessor(ns3::ObjectVectorAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorAccessor const &', 'arg0')]) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & value) const [member function] + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerAccessor::ObjectPtrContainerAccessor(ns3::ObjectPtrContainerAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectPtrContainerAccessor const &', 'arg0')]) + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & value) const [member function] cls.add_method('Get', 'bool', [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'value')], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::HasGetter() const [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::HasGetter() const [member function] cls.add_method('HasGetter', 'bool', [], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::HasSetter() const [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::HasSetter() const [member function] cls.add_method('HasSetter', 'bool', [], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] cls.add_method('Set', 'bool', [param('ns3::ObjectBase *', 'object'), param('ns3::AttributeValue const &', 'value')], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): ns3::Ptr ns3::ObjectVectorAccessor::DoGet(ns3::ObjectBase const * object, uint32_t i) const [member function] + ## object-ptr-container.h (module 'core'): ns3::Ptr ns3::ObjectPtrContainerAccessor::DoGet(ns3::ObjectBase const * object, uint32_t i) const [member function] cls.add_method('DoGet', 'ns3::Ptr< ns3::Object >', [param('ns3::ObjectBase const *', 'object'), param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::DoGetN(ns3::ObjectBase const * object, uint32_t * n) const [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::DoGetN(ns3::ObjectBase const * object, uint32_t * n) const [member function] cls.add_method('DoGetN', 'bool', [param('ns3::ObjectBase const *', 'object'), param('uint32_t *', 'n')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) return -def register_Ns3ObjectVectorChecker_methods(root_module, cls): - ## object-vector.h (module 'core'): ns3::ObjectVectorChecker::ObjectVectorChecker() [constructor] +def register_Ns3ObjectPtrContainerChecker_methods(root_module, cls): + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerChecker::ObjectPtrContainerChecker() [constructor] cls.add_constructor([]) - ## object-vector.h (module 'core'): ns3::ObjectVectorChecker::ObjectVectorChecker(ns3::ObjectVectorChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorChecker const &', 'arg0')]) - ## object-vector.h (module 'core'): ns3::TypeId ns3::ObjectVectorChecker::GetItemTypeId() const [member function] + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerChecker::ObjectPtrContainerChecker(ns3::ObjectPtrContainerChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectPtrContainerChecker const &', 'arg0')]) + ## object-ptr-container.h (module 'core'): ns3::TypeId ns3::ObjectPtrContainerChecker::GetItemTypeId() const [member function] cls.add_method('GetItemTypeId', 'ns3::TypeId', [], is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3ObjectVectorValue_methods(root_module, cls): - ## object-vector.h (module 'core'): ns3::ObjectVectorValue::ObjectVectorValue(ns3::ObjectVectorValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorValue const &', 'arg0')]) - ## object-vector.h (module 'core'): ns3::ObjectVectorValue::ObjectVectorValue() [constructor] +def register_Ns3ObjectPtrContainerValue_methods(root_module, cls): + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerValue::ObjectPtrContainerValue(ns3::ObjectPtrContainerValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectPtrContainerValue const &', 'arg0')]) + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerValue::ObjectPtrContainerValue() [constructor] cls.add_constructor([]) - ## object-vector.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::Begin() const [member function] + ## object-ptr-container.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectPtrContainerValue::Begin() const [member function] cls.add_method('Begin', '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', [], is_const=True) - ## object-vector.h (module 'core'): ns3::Ptr ns3::ObjectVectorValue::Copy() const [member function] + ## object-ptr-container.h (module 'core'): ns3::Ptr ns3::ObjectPtrContainerValue::Copy() const [member function] cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerValue::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) - ## object-vector.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::End() const [member function] + ## object-ptr-container.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectPtrContainerValue::End() const [member function] cls.add_method('End', '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', [], is_const=True) - ## object-vector.h (module 'core'): ns3::Ptr ns3::ObjectVectorValue::Get(uint32_t i) const [member function] + ## object-ptr-container.h (module 'core'): ns3::Ptr ns3::ObjectPtrContainerValue::Get(uint32_t i) const [member function] cls.add_method('Get', 'ns3::Ptr< ns3::Object >', [param('uint32_t', 'i')], is_const=True) - ## object-vector.h (module 'core'): uint32_t ns3::ObjectVectorValue::GetN() const [member function] + ## object-ptr-container.h (module 'core'): uint32_t ns3::ObjectPtrContainerValue::GetN() const [member function] cls.add_method('GetN', 'uint32_t', [], is_const=True) - ## object-vector.h (module 'core'): std::string ns3::ObjectVectorValue::SerializeToString(ns3::Ptr checker) const [member function] + ## object-ptr-container.h (module 'core'): std::string ns3::ObjectPtrContainerValue::SerializeToString(ns3::Ptr checker) const [member function] cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], @@ -3971,11 +3958,11 @@ def register_functions(root_module): module.add_function('CalculateDistance', 'double', [param('ns3::Vector3D const &', 'a'), param('ns3::Vector3D const &', 'b')]) - ## ptr.h (module 'core'): extern ns3::Ptr ns3::Create() [free function] + ## ptr.h (module 'core'): extern ns3::Ptr ns3::Create() [free function] module.add_function('Create', - 'ns3::Ptr< ns3::ObjectVectorValue >', + 'ns3::Ptr< ns3::ObjectPtrContainerValue >', [], - template_parameters=['ns3::ObjectVectorValue']) + template_parameters=['ns3::ObjectPtrContainerValue']) ## ptr.h (module 'core'): extern ns3::Ptr ns3::Create() [free function] module.add_function('Create', 'ns3::Ptr< ns3::PointerValue >', @@ -4229,6 +4216,10 @@ def register_functions_ns3_Config(module, root_module): module.add_function('RegisterRootNamespaceObject', 'void', [param('ns3::Ptr< ns3::Object >', 'obj')]) + ## config.h (module 'core'): extern void ns3::Config::Reset() [free function] + module.add_function('Reset', + 'void', + []) ## config.h (module 'core'): extern void ns3::Config::Set(std::string path, ns3::AttributeValue const & value) [free function] module.add_function('Set', 'void', diff --git a/src/core/bindings/modulegen__gcc_LP64.py b/src/core/bindings/modulegen__gcc_LP64.py index bde932ebb..e9a5e826d 100644 --- a/src/core/bindings/modulegen__gcc_LP64.py +++ b/src/core/bindings/modulegen__gcc_LP64.py @@ -22,8 +22,10 @@ def register_types(module): ## log.h (module 'core'): ns3::LogLevel [enumeration] module.add_enum('LogLevel', ['LOG_NONE', 'LOG_ERROR', 'LOG_LEVEL_ERROR', 'LOG_WARN', 'LOG_LEVEL_WARN', 'LOG_DEBUG', 'LOG_LEVEL_DEBUG', 'LOG_INFO', 'LOG_LEVEL_INFO', 'LOG_FUNCTION', 'LOG_LEVEL_FUNCTION', 'LOG_LOGIC', 'LOG_LEVEL_LOGIC', 'LOG_ALL', 'LOG_LEVEL_ALL', 'LOG_PREFIX_FUNC', 'LOG_PREFIX_TIME', 'LOG_PREFIX_NODE']) - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', outer_class=root_module['ns3::AttributeConstructionList']) ## callback.h (module 'core'): ns3::CallbackBase [class] module.add_class('CallbackBase') ## command-line.h (module 'core'): ns3::CommandLine [class] @@ -83,7 +85,7 @@ def register_types(module): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount [class] module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True) + module.add_class('Simulator', destructor_visibility='private') ## system-condition.h (module 'core'): ns3::SystemCondition [class] module.add_class('SystemCondition') ## system-mutex.h (module 'core'): ns3::SystemMutex [class] @@ -104,12 +106,12 @@ def register_types(module): module.add_class('TypeId') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId']) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -236,12 +238,12 @@ def register_types(module): module.add_class('ObjectFactoryChecker', parent=root_module['ns3::AttributeChecker']) ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class] module.add_class('ObjectFactoryValue', parent=root_module['ns3::AttributeValue']) - ## object-vector.h (module 'core'): ns3::ObjectVectorAccessor [class] - module.add_class('ObjectVectorAccessor', parent=root_module['ns3::AttributeAccessor']) - ## object-vector.h (module 'core'): ns3::ObjectVectorChecker [class] - module.add_class('ObjectVectorChecker', parent=root_module['ns3::AttributeChecker']) - ## object-vector.h (module 'core'): ns3::ObjectVectorValue [class] - module.add_class('ObjectVectorValue', parent=root_module['ns3::AttributeValue']) + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerAccessor [class] + module.add_class('ObjectPtrContainerAccessor', parent=root_module['ns3::AttributeAccessor']) + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerChecker [class] + module.add_class('ObjectPtrContainerChecker', parent=root_module['ns3::AttributeChecker']) + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerValue [class] + module.add_class('ObjectPtrContainerValue', parent=root_module['ns3::AttributeValue']) ## pointer.h (module 'core'): ns3::PointerChecker [class] module.add_class('PointerChecker', parent=root_module['ns3::AttributeChecker']) ## pointer.h (module 'core'): ns3::PointerValue [class] @@ -278,6 +280,10 @@ def register_types(module): module.add_class('Vector3DChecker', parent=root_module['ns3::AttributeChecker']) ## vector.h (module 'core'): ns3::Vector3DValue [class] module.add_class('Vector3DValue', parent=root_module['ns3::AttributeValue']) + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue', 'ns3::ObjectVectorValue') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue*', 'ns3::ObjectVectorValue*') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue&', 'ns3::ObjectVectorValue&') + module.add_typedef(root_module['ns3::ObjectPtrContainerValue'], 'ObjectVectorValue') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&') @@ -292,6 +298,10 @@ def register_types(module): typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue', 'ns3::ObjectMapValue') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue*', 'ns3::ObjectMapValue*') + typehandlers.add_type_alias('ns3::ObjectPtrContainerValue&', 'ns3::ObjectMapValue&') + module.add_typedef(root_module['ns3::ObjectPtrContainerValue'], 'ObjectMapValue') typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*') typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&') @@ -332,7 +342,8 @@ def register_types_ns3_internal(module): def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3CommandLine_methods(root_module, root_module['ns3::CommandLine']) register_Ns3CriticalSection_methods(root_module, root_module['ns3::CriticalSection']) @@ -363,9 +374,9 @@ def register_methods(root_module): register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3Watchdog_methods(root_module, root_module['ns3::Watchdog']) @@ -427,9 +438,9 @@ def register_methods(root_module): register_Ns3Ns2CalendarScheduler_methods(root_module, root_module['ns3::Ns2CalendarScheduler']) register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) - register_Ns3ObjectVectorAccessor_methods(root_module, root_module['ns3::ObjectVectorAccessor']) - register_Ns3ObjectVectorChecker_methods(root_module, root_module['ns3::ObjectVectorChecker']) - register_Ns3ObjectVectorValue_methods(root_module, root_module['ns3::ObjectVectorValue']) + register_Ns3ObjectPtrContainerAccessor_methods(root_module, root_module['ns3::ObjectPtrContainerAccessor']) + register_Ns3ObjectPtrContainerChecker_methods(root_module, root_module['ns3::ObjectPtrContainerChecker']) + register_Ns3ObjectPtrContainerValue_methods(root_module, root_module['ns3::ObjectPtrContainerValue']) register_Ns3PointerChecker_methods(root_module, root_module['ns3::PointerChecker']) register_Ns3PointerValue_methods(root_module, root_module['ns3::PointerValue']) register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) @@ -450,41 +461,43 @@ def register_methods(root_module): register_Ns3ConfigMatchContainer_methods(root_module, root_module['ns3::Config::MatchContainer']) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3CallbackBase_methods(root_module, cls): @@ -625,6 +638,10 @@ def register_Ns3GlobalValue_methods(root_module, cls): 'bool', [param('std::string', 'name'), param('ns3::AttributeValue &', 'value')], is_static=True) + ## global-value.h (module 'core'): void ns3::GlobalValue::ResetInitialValue() [member function] + cls.add_method('ResetInitialValue', + 'void', + []) ## global-value.h (module 'core'): bool ns3::GlobalValue::SetValue(ns3::AttributeValue const & value) [member function] cls.add_method('SetValue', 'bool', @@ -815,10 +832,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -845,6 +862,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -859,10 +878,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1321,19 +1336,9 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1341,26 +1346,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1391,14 +1381,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1406,11 +1391,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1435,15 +1415,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', @@ -1460,6 +1435,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1474,19 +1453,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -1511,22 +1509,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -2639,6 +2621,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3318,91 +3305,91 @@ def register_Ns3ObjectFactoryValue_methods(root_module, cls): [param('ns3::ObjectFactory const &', 'value')]) return -def register_Ns3ObjectVectorAccessor_methods(root_module, cls): - ## object-vector.h (module 'core'): ns3::ObjectVectorAccessor::ObjectVectorAccessor() [constructor] +def register_Ns3ObjectPtrContainerAccessor_methods(root_module, cls): + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerAccessor::ObjectPtrContainerAccessor() [constructor] cls.add_constructor([]) - ## object-vector.h (module 'core'): ns3::ObjectVectorAccessor::ObjectVectorAccessor(ns3::ObjectVectorAccessor const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorAccessor const &', 'arg0')]) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & value) const [member function] + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerAccessor::ObjectPtrContainerAccessor(ns3::ObjectPtrContainerAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectPtrContainerAccessor const &', 'arg0')]) + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::Get(ns3::ObjectBase const * object, ns3::AttributeValue & value) const [member function] cls.add_method('Get', 'bool', [param('ns3::ObjectBase const *', 'object'), param('ns3::AttributeValue &', 'value')], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::HasGetter() const [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::HasGetter() const [member function] cls.add_method('HasGetter', 'bool', [], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::HasSetter() const [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::HasSetter() const [member function] cls.add_method('HasSetter', 'bool', [], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::Set(ns3::ObjectBase * object, ns3::AttributeValue const & value) const [member function] cls.add_method('Set', 'bool', [param('ns3::ObjectBase *', 'object'), param('ns3::AttributeValue const &', 'value')], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): ns3::Ptr ns3::ObjectVectorAccessor::DoGet(ns3::ObjectBase const * object, uint32_t i) const [member function] + ## object-ptr-container.h (module 'core'): ns3::Ptr ns3::ObjectPtrContainerAccessor::DoGet(ns3::ObjectBase const * object, uint32_t i) const [member function] cls.add_method('DoGet', 'ns3::Ptr< ns3::Object >', [param('ns3::ObjectBase const *', 'object'), param('uint32_t', 'i')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorAccessor::DoGetN(ns3::ObjectBase const * object, uint32_t * n) const [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerAccessor::DoGetN(ns3::ObjectBase const * object, uint32_t * n) const [member function] cls.add_method('DoGetN', 'bool', [param('ns3::ObjectBase const *', 'object'), param('uint32_t *', 'n')], is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) return -def register_Ns3ObjectVectorChecker_methods(root_module, cls): - ## object-vector.h (module 'core'): ns3::ObjectVectorChecker::ObjectVectorChecker() [constructor] +def register_Ns3ObjectPtrContainerChecker_methods(root_module, cls): + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerChecker::ObjectPtrContainerChecker() [constructor] cls.add_constructor([]) - ## object-vector.h (module 'core'): ns3::ObjectVectorChecker::ObjectVectorChecker(ns3::ObjectVectorChecker const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorChecker const &', 'arg0')]) - ## object-vector.h (module 'core'): ns3::TypeId ns3::ObjectVectorChecker::GetItemTypeId() const [member function] + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerChecker::ObjectPtrContainerChecker(ns3::ObjectPtrContainerChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectPtrContainerChecker const &', 'arg0')]) + ## object-ptr-container.h (module 'core'): ns3::TypeId ns3::ObjectPtrContainerChecker::GetItemTypeId() const [member function] cls.add_method('GetItemTypeId', 'ns3::TypeId', [], is_pure_virtual=True, is_const=True, is_virtual=True) return -def register_Ns3ObjectVectorValue_methods(root_module, cls): - ## object-vector.h (module 'core'): ns3::ObjectVectorValue::ObjectVectorValue(ns3::ObjectVectorValue const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ObjectVectorValue const &', 'arg0')]) - ## object-vector.h (module 'core'): ns3::ObjectVectorValue::ObjectVectorValue() [constructor] +def register_Ns3ObjectPtrContainerValue_methods(root_module, cls): + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerValue::ObjectPtrContainerValue(ns3::ObjectPtrContainerValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectPtrContainerValue const &', 'arg0')]) + ## object-ptr-container.h (module 'core'): ns3::ObjectPtrContainerValue::ObjectPtrContainerValue() [constructor] cls.add_constructor([]) - ## object-vector.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::Begin() const [member function] + ## object-ptr-container.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectPtrContainerValue::Begin() const [member function] cls.add_method('Begin', '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', [], is_const=True) - ## object-vector.h (module 'core'): ns3::Ptr ns3::ObjectVectorValue::Copy() const [member function] + ## object-ptr-container.h (module 'core'): ns3::Ptr ns3::ObjectPtrContainerValue::Copy() const [member function] cls.add_method('Copy', 'ns3::Ptr< ns3::AttributeValue >', [], is_const=True, is_virtual=True) - ## object-vector.h (module 'core'): bool ns3::ObjectVectorValue::DeserializeFromString(std::string value, ns3::Ptr checker) [member function] + ## object-ptr-container.h (module 'core'): bool ns3::ObjectPtrContainerValue::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) - ## object-vector.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectVectorValue::End() const [member function] + ## object-ptr-container.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::ObjectPtrContainerValue::End() const [member function] cls.add_method('End', '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', [], is_const=True) - ## object-vector.h (module 'core'): ns3::Ptr ns3::ObjectVectorValue::Get(uint32_t i) const [member function] + ## object-ptr-container.h (module 'core'): ns3::Ptr ns3::ObjectPtrContainerValue::Get(uint32_t i) const [member function] cls.add_method('Get', 'ns3::Ptr< ns3::Object >', [param('uint32_t', 'i')], is_const=True) - ## object-vector.h (module 'core'): uint32_t ns3::ObjectVectorValue::GetN() const [member function] + ## object-ptr-container.h (module 'core'): uint32_t ns3::ObjectPtrContainerValue::GetN() const [member function] cls.add_method('GetN', 'uint32_t', [], is_const=True) - ## object-vector.h (module 'core'): std::string ns3::ObjectVectorValue::SerializeToString(ns3::Ptr checker) const [member function] + ## object-ptr-container.h (module 'core'): std::string ns3::ObjectPtrContainerValue::SerializeToString(ns3::Ptr checker) const [member function] cls.add_method('SerializeToString', 'std::string', [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], @@ -3971,11 +3958,11 @@ def register_functions(root_module): module.add_function('CalculateDistance', 'double', [param('ns3::Vector3D const &', 'a'), param('ns3::Vector3D const &', 'b')]) - ## ptr.h (module 'core'): extern ns3::Ptr ns3::Create() [free function] + ## ptr.h (module 'core'): extern ns3::Ptr ns3::Create() [free function] module.add_function('Create', - 'ns3::Ptr< ns3::ObjectVectorValue >', + 'ns3::Ptr< ns3::ObjectPtrContainerValue >', [], - template_parameters=['ns3::ObjectVectorValue']) + template_parameters=['ns3::ObjectPtrContainerValue']) ## ptr.h (module 'core'): extern ns3::Ptr ns3::Create() [free function] module.add_function('Create', 'ns3::Ptr< ns3::PointerValue >', @@ -4229,6 +4216,10 @@ def register_functions_ns3_Config(module, root_module): module.add_function('RegisterRootNamespaceObject', 'void', [param('ns3::Ptr< ns3::Object >', 'obj')]) + ## config.h (module 'core'): extern void ns3::Config::Reset() [free function] + module.add_function('Reset', + 'void', + []) ## config.h (module 'core'): extern void ns3::Config::Set(std::string path, ns3::AttributeValue const & value) [free function] module.add_function('Set', 'void', diff --git a/src/core/bindings/scan-header.h b/src/core/bindings/scan-header.h index f8295599c..4d0689a2d 100644 --- a/src/core/bindings/scan-header.h +++ b/src/core/bindings/scan-header.h @@ -17,7 +17,7 @@ __dummy_function_to_force_template_instantiation (Ptr obj, TypeId typeId static inline void __dummy_function_to_force_template_instantiation_v2 () { - Time t1, t2, t3; + Time t1 = Seconds (1), t2 = Seconds (2), t3 = Seconds (3); t1 = t2 + t3; t1 = t2 - t3; t1 < t2; @@ -26,6 +26,25 @@ __dummy_function_to_force_template_instantiation_v2 () t1 != t2; t1 >= t2; t1 > t2; + + + int64x64_t s1(2), s2(3), s3; + s1 = s2 + s3; + s1 = s2 - s3; + s1 < s2; + s1 <= s2; + s1 == s2; + s1 != s2; + s1 >= s2; + s1 > s2; + + + + + s3 = t1*s1; + s3 = t1/s1; + s3 = s1*t1; + s3 = t1/t2; } } diff --git a/src/core/examples/main-random-variable.cc b/src/core/examples/main-random-variable.cc index cca00e641..861e7adfc 100644 --- a/src/core/examples/main-random-variable.cc +++ b/src/core/examples/main-random-variable.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Timo Bingmann * diff --git a/src/core/examples/sample-simulator.cc b/src/core/examples/sample-simulator.cc index ed2e3fd93..85ca62ae3 100644 --- a/src/core/examples/sample-simulator.cc +++ b/src/core/examples/sample-simulator.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 INRIA * diff --git a/src/core/model/attribute-construction-list.cc b/src/core/model/attribute-construction-list.cc new file mode 100644 index 000000000..fc144126b --- /dev/null +++ b/src/core/model/attribute-construction-list.cc @@ -0,0 +1,77 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 Mathieu Lacage + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: Mathieu Lacage + */ +#include "attribute-construction-list.h" +#include "log.h" + +namespace ns3 { + +NS_LOG_COMPONENT_DEFINE("AttributeConstructionList"); + +AttributeConstructionList::AttributeConstructionList () +{} + +void +AttributeConstructionList::Add (std::string name, Ptr checker, Ptr value) +{ + // get rid of any previous value stored in this + // vector of values. + for (std::list::iterator k = m_list.begin (); k != m_list.end (); k++) + { + if (k->checker == checker) + { + m_list.erase (k); + break; + } + } + // store the new value. + struct Item attr; + attr.checker = checker; + attr.value = value; + attr.name = name; + m_list.push_back (attr); + +} +Ptr +AttributeConstructionList::Find (Ptr checker) const +{ + NS_LOG_FUNCTION (checker); + for (CIterator k = m_list.begin (); k != m_list.end (); k++) + { + NS_LOG_DEBUG ("Found " << k->name << " " << k->checker << " " << k->value); + if (k->checker == checker) + { + return k->value; + } + } + return 0; +} + +AttributeConstructionList::CIterator +AttributeConstructionList::Begin (void) const +{ + return m_list.begin(); +} +AttributeConstructionList::CIterator +AttributeConstructionList::End (void) const +{ + return m_list.end(); +} + +} // namespace ns3 diff --git a/src/core/model/attribute-construction-list.h b/src/core/model/attribute-construction-list.h new file mode 100644 index 000000000..f0677ae1a --- /dev/null +++ b/src/core/model/attribute-construction-list.h @@ -0,0 +1,50 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 Mathieu Lacage + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: Mathieu Lacage + */ +#ifndef ATTRIBUTE_CONSTRUCTION_LIST_H +#define ATTRIBUTE_CONSTRUCTION_LIST_H + +#include "attribute.h" +#include + +namespace ns3 { + +class AttributeConstructionList +{ +public: + struct Item + { + Ptr checker; + Ptr value; + std::string name; + }; + typedef std::list::const_iterator CIterator; + + AttributeConstructionList (); + void Add (std::string name, Ptr checker, Ptr value); + Ptr Find (Ptr checker) const; + CIterator Begin (void) const; + CIterator End (void) const; +private: + std::list m_list; +}; + +} // namespace ns3 + +#endif /* ATTRIBUTE_CONSTRUCTION_LIST_H */ diff --git a/src/core/model/attribute-list.cc b/src/core/model/attribute-list.cc deleted file mode 100644 index 251ccdba8..000000000 --- a/src/core/model/attribute-list.cc +++ /dev/null @@ -1,317 +0,0 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ -/* - * Copyright (c) 2008 INRIA - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation; - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Author: Mathieu Lacage - */ -#include "attribute-list.h" -#include "string.h" -#include "singleton.h" - -namespace ns3 { - -/********************************************************************* - * The AttributeList container implementation - *********************************************************************/ - -AttributeList::AttributeList () -{ -} - -AttributeList::AttributeList (const AttributeList &o) -{ - for (Attrs::const_iterator i = o.m_attributes.begin (); i != o.m_attributes.end (); i++) - { - struct Attr attr; - attr.checker = i->checker; - attr.value = i->value->Copy (); - m_attributes.push_back (attr); - } -} -AttributeList & -AttributeList::operator = (const AttributeList &o) -{ - Reset (); - for (Attrs::const_iterator i = o.m_attributes.begin (); i != o.m_attributes.end (); i++) - { - struct Attr attr; - attr.checker = i->checker; - attr.value = i->value->Copy (); - m_attributes.push_back (attr); - } - return *this; -} -AttributeList::~AttributeList () -{ - Reset (); -} - -void -AttributeList::Set (std::string name, const AttributeValue &value) -{ - struct TypeId::AttributeInfo info; - bool ok = TypeId::LookupAttributeByFullName (name, &info); - if (!ok) - { - NS_FATAL_ERROR ("Could not find attribute "< checker, const AttributeValue &value) -{ - // get rid of any previous value stored in this - // vector of values. - for (Attrs::iterator k = m_attributes.begin (); k != m_attributes.end (); k++) - { - if (k->checker == checker) - { - m_attributes.erase (k); - break; - } - } - // store the new value. - struct Attr attr; - attr.checker = checker; - attr.value = value.Copy (); - m_attributes.push_back (attr); -} -bool -AttributeList::DoSet (struct TypeId::AttributeInfo *info, const AttributeValue &value) -{ - if (info->checker == 0) - { - return false; - } - bool ok = info->checker->Check (value); - if (ok) - { - DoSetOne (info->checker, value); - return true; - } - - // attempt to convert to string. - const StringValue *str = dynamic_cast (&value); - if (str == 0) - { - return false; - } - // attempt to convert back to value. - Ptr v = info->checker->Create (); - ok = v->DeserializeFromString (str->Get (), info->checker); - if (!ok) - { - return false; - } - ok = info->checker->Check (*v); - if (!ok) - { - return false; - } - DoSetOne (info->checker, *v); - return true; -} -void -AttributeList::Reset (void) -{ - m_attributes.clear (); -} -AttributeList * -AttributeList::GetGlobal (void) -{ - return Singleton::Get (); -} - -std::string -AttributeList::LookupAttributeFullNameByChecker (Ptr checker) const -{ - for (uint32_t i = 0; i < TypeId::GetRegisteredN (); i++) - { - TypeId tid = TypeId::GetRegistered (i); - for (uint32_t j = 0; j < tid.GetAttributeN (); j++) - { - if (checker == tid.GetAttributeChecker (j)) - { - return tid.GetAttributeFullName (j); - } - } - } - NS_FATAL_ERROR ("Could not find requested Accessor."); - // quiet compiler. - return ""; -} - -std::string -AttributeList::SerializeToString (void) const -{ - std::ostringstream oss; - for (Attrs::const_iterator i = m_attributes.begin (); i != m_attributes.end ();) - { - std::string name = LookupAttributeFullNameByChecker (i->checker); - oss << name << "=" << i->value->SerializeToString (i->checker); - i++; - if (i != m_attributes.end ()) - { - oss << "|"; - } - } - return oss.str (); -} -bool -AttributeList::DeserializeFromString (std::string str) -{ - Reset (); - - std::string::size_type cur; - cur = 0; - while (cur != str.size ()) - { - std::string::size_type equal = str.find ("=", cur); - if (equal == std::string::npos) - { - NS_FATAL_ERROR ("Error while parsing serialized attribute: \"" << str << "\""); - break; - } - else - { - std::string name = str.substr (cur, equal-cur); - struct TypeId::AttributeInfo info; - if (!TypeId::LookupAttributeByFullName (name, &info)) - { - NS_FATAL_ERROR ("Error while parsing serialized attribute: name does not exist: \"" << name << "\""); - break; - } - else - { - std::string::size_type next = str.find ("|", cur); - std::string value; - if (next == std::string::npos) - { - value = str.substr (equal+1, str.size () - (equal+1)); - cur = str.size (); - } - else - { - value = str.substr (equal+1, next - (equal+1)); - cur = next + 1; - } - Ptr val = info.checker->Create (); - bool ok = val->DeserializeFromString (value, info.checker); - if (!ok) - { - NS_FATAL_ERROR ("Error while parsing serialized attribute: value invalid: \"" << value << "\""); - break; - } - else - { - DoSetOne (info.checker, *val); - } - } - } - } - - return true; -} - -UnsafeAttributeList::UnsafeAttributeList () -{ -} -UnsafeAttributeList::UnsafeAttributeList (const UnsafeAttributeList &o) -{ - for (uint32_t i = 0; i < o.m_attributes.size (); ++i) - { - Set (o.m_attributes[i].first, *(o.m_attributes[i].second)); - } -} -UnsafeAttributeList & -UnsafeAttributeList::operator = (const UnsafeAttributeList &o) -{ - m_attributes.clear (); - for (uint32_t i = 0; i < o.m_attributes.size (); ++i) - { - Set (o.m_attributes[i].first, *(o.m_attributes[i].second)); - } - return *this; -} - -UnsafeAttributeList::~UnsafeAttributeList () -{ - m_attributes.clear (); -} -void -UnsafeAttributeList::Set (std::string name, const AttributeValue ¶m) -{ - if (name == "") - { - return; - } - for (uint32_t i = 0; i < m_attributes.size (); ++i) - { - if (m_attributes[i].first == name) - { - m_attributes[i].second = param.Copy (); - return; - } - } - m_attributes.push_back (std::make_pair (name, param.Copy ())); -} - -AttributeList -UnsafeAttributeList::GetSafe (std::string tidName) const -{ - AttributeList list; - for (uint32_t i = 0; i < m_attributes.size (); ++i) - { - TypeId tid = TypeId::LookupByName (tidName); - list.SetWithTid (tid, m_attributes[i].first, *m_attributes[i].second); - } - return list; -} - - -} // namespace ns3 diff --git a/src/core/model/attribute-list.h b/src/core/model/attribute-list.h deleted file mode 100644 index 00ee0b3e0..000000000 --- a/src/core/model/attribute-list.h +++ /dev/null @@ -1,128 +0,0 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ -/* - * Copyright (c) 2008 INRIA - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation; - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Author: Mathieu Lacage - */ -#ifndef ATTRIBUTE_LIST_H -#define ATTRIBUTE_LIST_H - -#include -#include -#include "attribute.h" -#include "type-id.h" - -namespace ns3 { - -/** - * \ingroup attribute - * - * \brief a container of attributes to be used during object's construction - * and in ns3::Object::Set. - * - */ -class AttributeList -{ -public: - AttributeList (); - AttributeList (const AttributeList &o); - AttributeList &operator = (const AttributeList &o); - ~AttributeList (); - /** - * \param name the full name of the attribute to set - * \param value the value to set - * - * This method checks that a attribute with the requested - * name exists and that the value specified is an acceptable - * value of that attribute. If any of these checks fails, - * the program terminates with a message. - */ - void Set (std::string name, const AttributeValue &value); - /** - * \param name the full name of the attribute to set - * \param value the value to set - * \returns true if the requested attribute exists and could be - * stored, false otherwise. - */ - bool SetFailSafe (std::string name, const AttributeValue &value); - /** - * \param tid the TypeId associated to this attribute - * \param name the name (not full!) of the attribute - * \param value the value to set - * - * This method checks that a attribute with the requested - * name exists and that the value specified is an acceptable - * value of that attribute. If any of these checks fails, - * the program terminates with a message. - */ - void SetWithTid (TypeId tid, std::string name, const AttributeValue &value); - - /** - * Clear the content of this instance. - */ - void Reset (void); - - /** - * \returns the global attribute container - * - * The global attribute container can be used to specify - * a set of attribute values without having to re-specify - * them for each object when it is created. This container - * is checked only during object construction and - * it is always checked last, after any per-object - * container is checked. - */ - static AttributeList *GetGlobal (void); - - std::string SerializeToString (void) const; - bool DeserializeFromString (std::string value); -private: - friend class ObjectBase; - struct Attr { - Ptr checker; - Ptr value; - }; - typedef std::vector Attrs; - typedef Attrs::iterator Iterator; - typedef Attrs::const_iterator CIterator; - - - - bool DoSet (struct TypeId::AttributeInfo *info, const AttributeValue ¶m); - void DoSetOne (Ptr checker, const AttributeValue ¶m); - std::string LookupAttributeFullNameByChecker (Ptr checker) const; - - Attrs m_attributes; -}; - -class UnsafeAttributeList -{ -public: - UnsafeAttributeList (); - UnsafeAttributeList (const UnsafeAttributeList &o); - UnsafeAttributeList &operator = (const UnsafeAttributeList &o); - ~UnsafeAttributeList (); - - void Set (std::string name, const AttributeValue ¶m); - - AttributeList GetSafe (std::string name) const; -private: - std::vector > > m_attributes; -}; - -} // namespace ns3 - -#endif /* ATTRIBUTE_LIST_H */ diff --git a/src/core/model/attribute.cc b/src/core/model/attribute.cc index f5626fee8..5ea0b7e72 100644 --- a/src/core/model/attribute.cc +++ b/src/core/model/attribute.cc @@ -20,6 +20,7 @@ #include "attribute.h" #include "log.h" #include "fatal-error.h" +#include "string.h" #include NS_LOG_COMPONENT_DEFINE ("AttributeValue"); @@ -48,6 +49,34 @@ AttributeChecker::~AttributeChecker () { } +Ptr +AttributeChecker::CreateValidValue (const AttributeValue &value) const +{ + if (Check (value)) + { + return value.Copy (); + } + // attempt to convert to string. + const StringValue *str = dynamic_cast (&value); + if (str == 0) + { + return 0; + } + // attempt to convert back to value. + Ptr v = Create (); + bool ok = v->DeserializeFromString (str->Get (), this); + if (!ok) + { + return 0; + } + ok = Check (*v); + if (!ok) + { + return 0; + } + return v; +} + EmptyAttributeValue::EmptyAttributeValue () { } diff --git a/src/core/model/attribute.h b/src/core/model/attribute.h index dd1a5cd05..4f35ce359 100644 --- a/src/core/model/attribute.h +++ b/src/core/model/attribute.h @@ -151,6 +151,8 @@ class AttributeChecker : public SimpleRefCount public: AttributeChecker (); virtual ~AttributeChecker (); + + Ptr CreateValidValue (const AttributeValue &value) const; /** * \param value a pointer to the value to check * \returns true if the input value is both of the right type @@ -191,6 +193,7 @@ public: virtual bool Copy (const AttributeValue &source, AttributeValue &destination) const = 0; + }; /** diff --git a/src/core/model/breakpoint.cc b/src/core/model/breakpoint.cc index 511526710..0ea80d47d 100644 --- a/src/core/model/breakpoint.cc +++ b/src/core/model/breakpoint.cc @@ -54,4 +54,4 @@ BreakpointFallback (void) #endif // HAVE_SIGNAL_H -} //namespace ns3 +} // namespace ns3 diff --git a/src/core/model/breakpoint.h b/src/core/model/breakpoint.h index c3f3e656f..0f06349e2 100644 --- a/src/core/model/breakpoint.h +++ b/src/core/model/breakpoint.h @@ -69,7 +69,7 @@ namespace ns3 { void BreakpointFallback (void); -} //namespace ns3 +} // namespace ns3 #endif /* BREAKPOINT_H */ diff --git a/src/core/model/calendar-scheduler.cc b/src/core/model/calendar-scheduler.cc index 10977f9e6..5c2e4a87c 100644 --- a/src/core/model/calendar-scheduler.cc +++ b/src/core/model/calendar-scheduler.cc @@ -23,8 +23,8 @@ #include #include #include -#include "ns3/assert.h" -#include "ns3/log.h" +#include "assert.h" +#include "log.h" namespace ns3 { diff --git a/src/core/model/callback.h b/src/core/model/callback.h index 67546e3fd..6f718f253 100644 --- a/src/core/model/callback.h +++ b/src/core/model/callback.h @@ -357,7 +357,7 @@ protected: * * Sample code which shows how to use this class template * as well as the function templates \ref MakeCallback : - * \include samples/main-callback.cc + * \include src/core/examples/main-callback.cc */ template checker = tid.GetAttributeChecker (i); - Ptr initial = tid.GetAttributeInitialValue (i); - std::cout << initial->SerializeToString (checker) << "]: " - << tid.GetAttributeHelp (i) << std::endl; + struct TypeId::AttributeInformation info = tid.GetAttribute (i); + std::cout << info.initialValue->SerializeToString (info.checker) << "]: " + << info.help << std::endl; } } diff --git a/src/core/model/command-line.h b/src/core/model/command-line.h index 012c4b272..e12968b4e 100644 --- a/src/core/model/command-line.h +++ b/src/core/model/command-line.h @@ -24,7 +24,7 @@ #include #include -#include "ns3/callback.h" +#include "callback.h" namespace ns3 { @@ -37,9 +37,9 @@ namespace ns3 { * CommandLine::AddValue but the most important functionality * provided by this class is that it can be used to set the * 'initial value' of every attribute in the system with the - * --TypeIdName::AttributeName=value syntax and it can be used + * '\--TypeIdName::AttributeName=value' syntax and it can be used * to set the value of every GlobalValue in the system with - * the --GlobalValueName=value syntax. + * the \--GlobalValueName=value syntax. */ class CommandLine { diff --git a/src/core/model/config.cc b/src/core/model/config.cc index 0d7ba6826..89ba1d364 100644 --- a/src/core/model/config.cc +++ b/src/core/model/config.cc @@ -21,8 +21,7 @@ #include "singleton.h" #include "object.h" #include "global-value.h" -#include "object-vector.h" -#include "object-map.h" +#include "object-ptr-container.h" #include "names.h" #include "pointer.h" #include "log.h" @@ -227,8 +226,7 @@ public: private: void Canonicalize (void); void DoResolve (std::string path, Ptr root); - void DoArrayResolve (std::string path, const ObjectVectorValue &vector); - void DoMapResolve (std::string path, const ObjectMapValue &vector); + void DoArrayResolve (std::string path, const ObjectPtrContainerValue &vector); void DoResolveOne (Ptr object); std::string GetResolvedPath (void) const; virtual void DoOne (Ptr object, std::string path) = 0; @@ -379,7 +377,7 @@ Resolver::DoResolve (std::string path, Ptr root) { // this is a normal attribute. TypeId tid = root->GetInstanceTypeId (); - struct TypeId::AttributeInfo info; + struct TypeId::AttributeInformation info; if (!tid.LookupAttributeByName (item, &info)) { NS_LOG_DEBUG ("Requested item="<ResetInitialValue (); + } +} + void Set (std::string path, const AttributeValue &value) { Singleton::Get ()->Set (path, value); } void SetDefault (std::string name, const AttributeValue &value) { - AttributeList::GetGlobal ()->Set (name, value); + if (!SetDefaultFailSafe(name, value)) + { + NS_FATAL_ERROR ("Could not set default value for " << name); + } } -bool SetDefaultFailSafe (std::string name, const AttributeValue &value) +bool SetDefaultFailSafe (std::string fullName, const AttributeValue &value) { - return AttributeList::GetGlobal ()->SetFailSafe (name, value); + std::string::size_type pos = fullName.rfind ("::"); + if (pos == std::string::npos) + { + return false; + } + std::string tidName = fullName.substr (0, pos); + std::string paramName = fullName.substr (pos+2, fullName.size () - (pos+2)); + TypeId tid; + bool ok = TypeId::LookupByNameFailSafe (tidName, &tid); + if (!ok) + { + return false; + } + for (uint32_t j = 0; j < tid.GetAttributeN (); j++) + { + struct TypeId::AttributeInformation tmp = tid.GetAttribute(j); + if (tmp.name == paramName) + { + Ptr v = tmp.checker->CreateValidValue (value); + if (v == 0) + { + return false; + } + tid.SetAttributeInitialValue (j, v); + return true; + } + } + return false; } void SetGlobal (std::string name, const AttributeValue &value) { diff --git a/src/core/model/config.h b/src/core/model/config.h index 6fbb5f614..f1601c680 100644 --- a/src/core/model/config.h +++ b/src/core/model/config.h @@ -36,6 +36,12 @@ class CallbackBase; */ namespace Config { +/** + * Reset the initial value of every attribute as well as the value of every + * global to what they were before any call to SetDefault and SetGlobal. + */ +void Reset (void); + /** * \param path a path to match attributes. * \param value the value to set in all matching attributes. diff --git a/src/core/model/default-simulator-impl.cc b/src/core/model/default-simulator-impl.cc index b3793da42..144648648 100644 --- a/src/core/model/default-simulator-impl.cc +++ b/src/core/model/default-simulator-impl.cc @@ -23,10 +23,10 @@ #include "scheduler.h" #include "event-impl.h" -#include "ns3/ptr.h" -#include "ns3/pointer.h" -#include "ns3/assert.h" -#include "ns3/log.h" +#include "ptr.h" +#include "pointer.h" +#include "assert.h" +#include "log.h" #include diff --git a/src/core/model/default-simulator-impl.h b/src/core/model/default-simulator-impl.h index 0fd8a11cb..f2f1a892d 100644 --- a/src/core/model/default-simulator-impl.h +++ b/src/core/model/default-simulator-impl.h @@ -25,7 +25,7 @@ #include "scheduler.h" #include "event-impl.h" -#include "ns3/ptr.h" +#include "ptr.h" #include diff --git a/src/core/model/event-id.cc b/src/core/model/event-id.cc index d0a8436f5..4653ccce8 100644 --- a/src/core/model/event-id.cc +++ b/src/core/model/event-id.cc @@ -89,4 +89,4 @@ bool operator != (const EventId &a, const EventId &b) -}; // namespace ns3 +} // namespace ns3 diff --git a/src/core/model/event-id.h b/src/core/model/event-id.h index 97b9f18bb..c9cf4c396 100644 --- a/src/core/model/event-id.h +++ b/src/core/model/event-id.h @@ -21,7 +21,7 @@ #define EVENT_ID_H #include -#include "ns3/ptr.h" +#include "ptr.h" #include "event-impl.h" namespace ns3 { @@ -85,6 +85,6 @@ private: bool operator == (const EventId &a, const EventId &b); bool operator != (const EventId &a, const EventId &b); -}; // namespace ns3 +} // namespace ns3 #endif /* EVENT_ID_H */ diff --git a/src/core/model/event-impl.h b/src/core/model/event-impl.h index a8faa0676..9eef400f2 100644 --- a/src/core/model/event-impl.h +++ b/src/core/model/event-impl.h @@ -21,7 +21,7 @@ #define EVENT_IMPL_H #include -#include "ns3/simple-ref-count.h" +#include "simple-ref-count.h" namespace ns3 { diff --git a/src/core/model/global-value.cc b/src/core/model/global-value.cc index 57ff88dee..a95ce8666 100644 --- a/src/core/model/global-value.cc +++ b/src/core/model/global-value.cc @@ -35,13 +35,20 @@ GlobalValue::GlobalValue (std::string name, std::string help, Ptr checker) : m_name (name), m_help (help), - m_initialValue (initialValue.Copy ()), + m_initialValue (0), + m_currentValue (0), m_checker (checker) { if (m_checker == 0) { NS_FATAL_ERROR ("Checker should not be zero."); } + m_initialValue = m_checker->CreateValidValue (initialValue); + m_currentValue = m_initialValue; + if (m_initialValue == 0) + { + NS_FATAL_ERROR ("Value set by user is invalid."); + } GetVector ()->push_back (this); InitializeFromEnv (); } @@ -69,7 +76,13 @@ GlobalValue::InitializeFromEnv (void) std::string value = tmp.substr (equal+1, tmp.size () - equal - 1); if (name == m_name) { - SetValue (StringValue (value)); + Ptr v = m_checker->CreateValidValue (StringValue (value)); + if (v != 0) + { + m_initialValue = v; + m_currentValue = v; + } + return; } } cur = next + 1; @@ -90,7 +103,7 @@ GlobalValue::GetHelp (void) const void GlobalValue::GetValue (AttributeValue &value) const { - bool ok = m_checker->Copy (*m_initialValue, value); + bool ok = m_checker->Copy (*m_currentValue, value); if (ok) { return; @@ -100,7 +113,7 @@ GlobalValue::GetValue (AttributeValue &value) const { NS_FATAL_ERROR ("GlobalValue name="<Set (m_initialValue->SerializeToString (m_checker)); + str->Set (m_currentValue->SerializeToString (m_checker)); } Ptr GlobalValue::GetChecker (void) const @@ -111,30 +124,12 @@ GlobalValue::GetChecker (void) const bool GlobalValue::SetValue (const AttributeValue &value) { - if (m_checker->Check (value)) + Ptr v = m_checker->CreateValidValue (value); + if (v == 0) { - m_initialValue = value.Copy (); - return true; + return 0; } - // attempt to convert to string. - const StringValue *str = dynamic_cast (&value); - if (str == 0) - { - return false; - } - // attempt to convert back to value. - Ptr v = m_checker->Create (); - bool ok = v->DeserializeFromString (str->Get (), m_checker); - if (!ok) - { - return false; - } - ok = m_checker->Check (*v); - if (!ok) - { - return false; - } - m_checker->Copy (*v, *PeekPointer (m_initialValue)); + m_currentValue = v; return true; } @@ -177,6 +172,12 @@ GlobalValue::End (void) return GetVector ()->end (); } +void +GlobalValue::ResetInitialValue (void) +{ + m_currentValue = m_initialValue; +} + bool GlobalValue::GetValueByNameFailSafe (std::string name, AttributeValue &value) { diff --git a/src/core/model/global-value.h b/src/core/model/global-value.h index 359ed3251..b5bc19dcf 100644 --- a/src/core/model/global-value.h +++ b/src/core/model/global-value.h @@ -85,6 +85,8 @@ public: */ bool SetValue (const AttributeValue &value); + void ResetInitialValue (void); + /** * \param name the name of the global value * \param value the value to set in the requested global value. @@ -146,6 +148,7 @@ private: std::string m_name; std::string m_help; Ptr m_initialValue; + Ptr m_currentValue; Ptr m_checker; }; diff --git a/src/core/model/heap-scheduler.cc b/src/core/model/heap-scheduler.cc index 71e6e492c..309c58df3 100644 --- a/src/core/model/heap-scheduler.cc +++ b/src/core/model/heap-scheduler.cc @@ -22,8 +22,8 @@ #include "heap-scheduler.h" #include "event-impl.h" -#include "ns3/assert.h" -#include "ns3/log.h" +#include "assert.h" +#include "log.h" NS_LOG_COMPONENT_DEFINE ("HeapScheduler"); diff --git a/src/core/model/int64x64-128.cc b/src/core/model/int64x64-128.cc index ea6b948c9..4f5272913 100644 --- a/src/core/model/int64x64-128.cc +++ b/src/core/model/int64x64-128.cc @@ -1,6 +1,6 @@ #include "int64x64-128.h" -#include "ns3/abort.h" -#include "ns3/assert.h" +#include "abort.h" +#include "assert.h" namespace ns3 { diff --git a/src/core/model/int64x64-128.h b/src/core/model/int64x64-128.h index d1a60c605..a116b8874 100644 --- a/src/core/model/int64x64-128.h +++ b/src/core/model/int64x64-128.h @@ -6,7 +6,7 @@ #include #include -#if defined(HAVE___UINT128_T)and !defined(HAVE_UINT128_T) +#if defined(HAVE___UINT128_T) && !defined(HAVE_UINT128_T) typedef __uint128_t uint128_t; typedef __int128_t int128_t; #endif diff --git a/src/core/model/int64x64-cairo.cc b/src/core/model/int64x64-cairo.cc index 4c05da45b..56c34e757 100644 --- a/src/core/model/int64x64-cairo.cc +++ b/src/core/model/int64x64-cairo.cc @@ -18,9 +18,9 @@ * Author: Mathieu Lacage */ #include "int64x64-cairo.h" -#include "ns3/test.h" -#include "ns3/abort.h" -#include "ns3/assert.h" +#include "test.h" +#include "abort.h" +#include "assert.h" #include #include diff --git a/src/core/model/int64x64.cc b/src/core/model/int64x64.cc index 99840e37b..f5d0cb752 100644 --- a/src/core/model/int64x64.cc +++ b/src/core/model/int64x64.cc @@ -2,7 +2,7 @@ #include #include #include -#include "ns3/assert.h" +#include "assert.h" namespace ns3 { diff --git a/src/core/model/list-scheduler.cc b/src/core/model/list-scheduler.cc index 3a7198de1..4da4398dc 100644 --- a/src/core/model/list-scheduler.cc +++ b/src/core/model/list-scheduler.cc @@ -22,7 +22,7 @@ #include "event-impl.h" #include #include -#include "ns3/assert.h" +#include "assert.h" namespace ns3 { diff --git a/src/core/model/log.cc b/src/core/model/log.cc index 5dffa822a..4b2cbfaae 100644 --- a/src/core/model/log.cc +++ b/src/core/model/log.cc @@ -22,10 +22,15 @@ #include #include #include +#include #include "assert.h" #include "ns3/core-config.h" #include "fatal-error.h" +#ifdef HAVE_GETENV +#include +#endif + #ifdef HAVE_STDLIB_H #include #endif @@ -256,16 +261,24 @@ void LogComponentEnable (char const *name, enum LogLevel level) { ComponentList *components = GetComponentList (); - for (ComponentListI i = components->begin (); - i != components->end (); + ComponentListI i; + for (i = components->begin (); + i != components->end (); i++) { if (i->first.compare (name) == 0) { i->second->Enable (level); - break; + return; } } + if (i == components->end()) + { + // nothing matched + LogComponentPrintList(); + NS_FATAL_ERROR ("Logging component \"" << name << + "\" not found. See above for a list of available log components"); + } } void @@ -354,9 +367,117 @@ LogComponentPrintList (void) } } +static bool ComponentExists(std::string componentName) +{ + char const*name=componentName.c_str(); + ComponentList *components = GetComponentList (); + ComponentListI i; + for (i = components->begin (); + i != components->end (); + i++) + { + if (i->first.compare (name) == 0) + { + return true; + } + } + NS_ASSERT (i == components->end()); + // nothing matched + return false; +} + +static void CheckEnvironmentVariables (void) +{ +#ifdef HAVE_GETENV + char *envVar = getenv ("NS_LOG"); + if (envVar == 0 || strlen(envVar) == 0) + { + return; + } + std::string env = envVar; + + std::string::size_type cur = 0; + std::string::size_type next = 0; + + while (next != std::string::npos) + { + next = env.find_first_of (":", cur); + std::string tmp = std::string (env, cur, next-cur); + std::string::size_type equal = tmp.find ("="); + std::string component; + if (equal == std::string::npos) + { + // ie no '=' characters found + component = tmp; + if (ComponentExists(component) || component == "*") + { + return; + } + else + { + LogComponentPrintList(); + NS_FATAL_ERROR("Invalid or unregistered component name \"" << component << + "\" in env variable NS_LOG, see above for a list of valid components"); + } + } + else + { + component = tmp.substr (0, equal); + if (ComponentExists(component) || component == "*") + { + std::string::size_type cur_lev; + std::string::size_type next_lev = equal; + do + { + cur_lev = next_lev + 1; + next_lev = tmp.find ("|", cur_lev); + std::string lev = tmp.substr (cur_lev, next_lev - cur_lev); + if (lev == "error" + || lev == "warn" + || lev == "debug" + || lev == "info" + || lev == "function" + || lev == "logic" + || lev == "all" + || lev == "prefix_func" + || lev == "prefix_time" + || lev == "prefix_node" + || lev == "level_error" + || lev == "level_warn" + || lev == "level_debug" + || lev == "level_info" + || lev == "level_function" + || lev == "level_logic" + || lev == "level_all" + || lev == "*" + ) + { + continue; + } + else + { + NS_FATAL_ERROR("Invalid log level \"" << lev << + "\" in env variable NS_LOG for component name " << component); + } + } while (next_lev != std::string::npos); + } + else + { + LogComponentPrintList(); + NS_FATAL_ERROR("Invalid or unregistered component name \"" << component << + "\" in env variable NS_LOG, see above for a list of valid components"); + } + } + cur = next + 1; // parse next component + } +#endif +} void LogSetTimePrinter (LogTimePrinter printer) { g_logTimePrinter = printer; + // This is the only place where we are more or less sure that all log variables + // are registered. See bug 1082 for details. + CheckEnvironmentVariables(); } LogTimePrinter LogGetTimePrinter (void) { diff --git a/src/core/model/log.h b/src/core/model/log.h index 944f76fec..17a2c8c15 100644 --- a/src/core/model/log.h +++ b/src/core/model/log.h @@ -18,8 +18,8 @@ * Author: Mathieu Lacage */ -#ifndef __LOG_H__ -#define __LOG_H__ +#ifndef LOG_H +#define LOG_H #include #include @@ -104,37 +104,6 @@ void LogComponentDisableAll (enum LogLevel level); } // namespace ns3 - -#ifdef NS3_LOG_ENABLE - - -/** - * \ingroup debugging - * \defgroup logging Logging - * \brief Logging functions and macros - * - * LOG functionality: macros which allow developers to - * send information out on screen. All logging messages - * are disabled by default. To enable selected logging - * messages, use the ns3::LogComponentEnable - * function or use the NS_LOG environment variable - * - * Use the environment variable NS_LOG to define a ':'-separated list of - * logging components to enable. For example (using bash syntax), - * NS_LOG="OlsrAgent" would enable one component at all log levels. - * NS_LOG="OlsrAgent:Ipv4L3Protocol" would enable two components, - * at all log levels, etc. - * NS_LOG="*" will enable all available log components at all levels. - * - * To control more selectively the log levels for each component, use - * this syntax: NS_LOG='Component1=func|warn:Component2=error|debug' - * This example would enable the 'func', and 'warn' log - * levels for 'Component1' and the 'error' and 'debug' log levels - * for 'Component2'. The wildcard can be used here as well. For example - * NS_LOG='*=level_all|prefix' would enable all log levels and prefix all - * prints with the component and function names. - */ - /** * \ingroup logging * \param name a string @@ -184,6 +153,38 @@ void LogComponentDisableAll (enum LogLevel level); #endif /* NS_LOG_APPEND_CONTEXT */ + +#ifdef NS3_LOG_ENABLE + + +/** + * \ingroup debugging + * \defgroup logging Logging + * \brief Logging functions and macros + * + * LOG functionality: macros which allow developers to + * send information out on screen. All logging messages + * are disabled by default. To enable selected logging + * messages, use the ns3::LogComponentEnable + * function or use the NS_LOG environment variable + * + * Use the environment variable NS_LOG to define a ':'-separated list of + * logging components to enable. For example (using bash syntax), + * NS_LOG="OlsrAgent" would enable one component at all log levels. + * NS_LOG="OlsrAgent:Ipv4L3Protocol" would enable two components, + * at all log levels, etc. + * NS_LOG="*" will enable all available log components at all levels. + * + * To control more selectively the log levels for each component, use + * this syntax: NS_LOG='Component1=func|warn:Component2=error|debug' + * This example would enable the 'func', and 'warn' log + * levels for 'Component1' and the 'error' and 'debug' log levels + * for 'Component2'. The wildcard can be used here as well. For example + * NS_LOG='*=level_all|prefix' would enable all log levels and prefix all + * prints with the component and function names. + */ + + /** * \ingroup logging * \param level the log level @@ -325,7 +326,6 @@ void LogComponentDisableAll (enum LogLevel level); #else /* LOG_ENABLE */ -#define NS_LOG_COMPONENT_DEFINE(component) #define NS_LOG(level, msg) #define NS_LOG_ERROR(msg) #define NS_LOG_WARN(msg) @@ -400,4 +400,4 @@ public: } // namespace ns3 -#endif // __LOG_H__ +#endif /* LOG_H */ diff --git a/src/core/model/make-event.h b/src/core/model/make-event.h index 0ce5199b9..66b50c6cf 100644 --- a/src/core/model/make-event.h +++ b/src/core/model/make-event.h @@ -57,7 +57,7 @@ EventImpl * MakeEvent (void (*f)(U1,U2,U3,U4,U5), T1 a1, T2 a2, T3 a3, T4 a4, T5 ********************************************************************/ #include "event-impl.h" -#include "ns3/type-traits.h" +#include "type-traits.h" namespace ns3 { diff --git a/src/core/model/map-scheduler.cc b/src/core/model/map-scheduler.cc index 3eb4776a6..1216818c0 100644 --- a/src/core/model/map-scheduler.cc +++ b/src/core/model/map-scheduler.cc @@ -21,8 +21,8 @@ #include "map-scheduler.h" #include "event-impl.h" -#include "ns3/assert.h" -#include "ns3/log.h" +#include "assert.h" +#include "log.h" #include NS_LOG_COMPONENT_DEFINE ("MapScheduler"); diff --git a/src/core/model/names.cc b/src/core/model/names.cc index 8fc59627a..4d36a3d75 100644 --- a/src/core/model/names.cc +++ b/src/core/model/names.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -682,4 +682,4 @@ Names::FindInternal (Ptr context, std::string name) return NamesPriv::Get ()->Find (context, name); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/core/model/names.h b/src/core/model/names.h index ba7c153a1..77d6f338b 100644 --- a/src/core/model/names.h +++ b/src/core/model/names.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -19,8 +19,8 @@ #ifndef OBJECT_NAMES_H #define OBJECT_NAMES_H -#include "ns3/ptr.h" -#include "ns3/object.h" +#include "ptr.h" +#include "object.h" namespace ns3 { @@ -456,6 +456,6 @@ Names::Find (Ptr context, std::string name) } } -} //namespace ns3 +} // namespace ns3 #endif /* OBJECT_NAMES_H */ diff --git a/src/core/model/ns2-calendar-scheduler.cc b/src/core/model/ns2-calendar-scheduler.cc index 92c7519fb..3bc1019fe 100644 --- a/src/core/model/ns2-calendar-scheduler.cc +++ b/src/core/model/ns2-calendar-scheduler.cc @@ -20,8 +20,8 @@ #include "ns2-calendar-scheduler.h" #include "event-impl.h" -#include "ns3/assert.h" -#include "ns3/log.h" +#include "assert.h" +#include "log.h" #include #include #include diff --git a/src/core/model/nstime.h b/src/core/model/nstime.h index 7979226a6..7369d9e14 100644 --- a/src/core/model/nstime.h +++ b/src/core/model/nstime.h @@ -20,10 +20,10 @@ #ifndef TIME_H #define TIME_H -#include "ns3/assert.h" -#include "ns3/attribute.h" -#include "ns3/attribute-helper.h" -#include "ns3/int64x64.h" +#include "assert.h" +#include "attribute.h" +#include "attribute-helper.h" +#include "int64x64.h" #include #include #include @@ -358,7 +358,6 @@ public: return Time (value); } /** - * \param time a Time object * \param timeUnit the unit of the value to return * * Convert the input time into an integer value according to the requested @@ -390,7 +389,6 @@ public: return From (int64x64_t (value), timeUnit); } /** - * \param time a Time object * \param timeUnit the unit of the value to return * * Convert the input time into a floating point value according to the requested diff --git a/src/core/model/object-base.cc b/src/core/model/object-base.cc index a0ec39708..f7dbd6168 100644 --- a/src/core/model/object-base.cc +++ b/src/core/model/object-base.cc @@ -20,7 +20,7 @@ #include "object-base.h" #include "log.h" #include "trace-source-accessor.h" -#include "attribute-list.h" +#include "attribute-construction-list.h" #include "string.h" #include "ns3/core-config.h" #ifdef HAVE_STDLIB_H @@ -57,7 +57,7 @@ ObjectBase::NotifyConstructionCompleted (void) {} void -ObjectBase::ConstructSelf (const AttributeList &attributes) +ObjectBase::ConstructSelf (const AttributeConstructionList &attributes) { // loop over the inheritance tree back to the Object base class. TypeId tid = GetInstanceTypeId (); @@ -66,51 +66,27 @@ ObjectBase::ConstructSelf (const AttributeList &attributes) NS_LOG_DEBUG ("construct tid="< value = attributes.Find(info.checker); + if (value != 0) { - if (j->checker == checker) + // We have a matching attribute value. + if (DoSet (info.accessor, info.checker, *value)) { - // We have a matching attribute value. - if (DoSet (accessor, checker, *j->value)) - { - NS_LOG_DEBUG ("construct \""<< tid.GetName ()<<"::"<< - tid.GetAttributeName (i)<<"\""); - found = true; - break; - } + NS_LOG_DEBUG ("construct \""<< tid.GetName ()<<"::"<< + info.name<<"\""); + found = true; + continue; } - } - if (!found) - { - // is this attribute stored in the global instance ? - for (AttributeList::Attrs::const_iterator j = AttributeList::GetGlobal ()->m_attributes.begin (); - j != AttributeList::GetGlobal ()->m_attributes.end (); j++) - { - if (j->checker == checker) - { - // We have a matching attribute value. - if (DoSet (accessor, checker, *j->value)) - { - NS_LOG_DEBUG ("construct \""<< tid.GetName ()<<"::"<< - tid.GetAttributeName (i)<<"\" from global"); - found = true; - break; - } - } - } - } + } if (!found) { // No matching attribute value so we try to look at the env var. @@ -132,10 +108,10 @@ ObjectBase::ConstructSelf (const AttributeList &attributes) std::string value = tmp.substr (equal+1, tmp.size () - equal - 1); if (name == tid.GetAttributeFullName (i)) { - if (DoSet (accessor, checker, StringValue (value))) + if (DoSet (info.accessor, info.checker, StringValue (value))) { NS_LOG_DEBUG ("construct \""<< tid.GetName ()<<"::"<< - tid.GetAttributeName (i)<<"\" from env var"); + info.name <<"\" from env var"); found = true; break; } @@ -149,9 +125,9 @@ ObjectBase::ConstructSelf (const AttributeList &attributes) if (!found) { // No matching attribute value so we try to set the default value. - DoSet (accessor, checker, *initial); + DoSet (info.accessor, info.checker, *info.initialValue); NS_LOG_DEBUG ("construct \""<< tid.GetName ()<<"::"<< - tid.GetAttributeName (i)<<"\" from initial value."); + info.name <<"\" from initial value."); } } tid = tid.GetParent (); @@ -160,41 +136,22 @@ ObjectBase::ConstructSelf (const AttributeList &attributes) } bool -ObjectBase::DoSet (Ptr spec, +ObjectBase::DoSet (Ptr accessor, Ptr checker, const AttributeValue &value) { - bool ok = checker->Check (value); - if (ok) - { - ok = spec->Set (this, value); - return ok; - } - // attempt to convert to string - const StringValue *str = dynamic_cast (&value); - if (str == 0) + Ptr v = checker->CreateValidValue (value); + if (v == 0) { return false; } - // attempt to convert back from string. - Ptr v = checker->Create (); - ok = v->DeserializeFromString (str->Get (), checker); - if (!ok) - { - return false; - } - ok = checker->Check (*v); - if (!ok) - { - return false; - } - ok = spec->Set (this, *v); + bool ok = accessor->Set (this, *v); return ok; } void ObjectBase::SetAttribute (std::string name, const AttributeValue &value) { - struct TypeId::AttributeInfo info; + struct TypeId::AttributeInformation info; TypeId tid = GetInstanceTypeId (); if (!tid.LookupAttributeByName (name, &info)) { @@ -213,7 +170,7 @@ ObjectBase::SetAttribute (std::string name, const AttributeValue &value) bool ObjectBase::SetAttributeFailSafe (std::string name, const AttributeValue &value) { - struct TypeId::AttributeInfo info; + struct TypeId::AttributeInformation info; TypeId tid = GetInstanceTypeId (); if (!tid.LookupAttributeByName (name, &info)) { @@ -230,7 +187,7 @@ ObjectBase::SetAttributeFailSafe (std::string name, const AttributeValue &value) void ObjectBase::GetAttribute (std::string name, AttributeValue &value) const { - struct TypeId::AttributeInfo info; + struct TypeId::AttributeInformation info; TypeId tid = GetInstanceTypeId (); if (!tid.LookupAttributeByName (name, &info)) { @@ -264,7 +221,7 @@ ObjectBase::GetAttribute (std::string name, AttributeValue &value) const bool ObjectBase::GetAttributeFailSafe (std::string name, AttributeValue &value) const { - struct TypeId::AttributeInfo info; + struct TypeId::AttributeInformation info; TypeId tid = GetInstanceTypeId (); if (!tid.LookupAttributeByName (name, &info)) { diff --git a/src/core/model/object-base.h b/src/core/model/object-base.h index 3b910e0b5..47012b2bf 100644 --- a/src/core/model/object-base.h +++ b/src/core/model/object-base.h @@ -23,6 +23,7 @@ #include "type-id.h" #include "callback.h" #include +#include /** * This macro should be invoked once for every class which @@ -39,7 +40,7 @@ namespace ns3 { -class AttributeList; +class AttributeConstructionList; /** * \ingroup object @@ -150,7 +151,7 @@ protected: * you should make sure that you invoke this method from * your most-derived constructor. */ - void ConstructSelf (const AttributeList &attributes); + void ConstructSelf (const AttributeConstructionList &attributes); private: bool DoSet (Ptr spec, diff --git a/src/core/model/object-factory.cc b/src/core/model/object-factory.cc index 4cff279ec..5fcc3b440 100644 --- a/src/core/model/object-factory.cc +++ b/src/core/model/object-factory.cc @@ -18,14 +18,22 @@ * Authors: Mathieu Lacage */ #include "object-factory.h" +#include "log.h" #include namespace ns3 { +NS_LOG_COMPONENT_DEFINE("ObjectFactory"); + ObjectFactory::ObjectFactory () { } +ObjectFactory::ObjectFactory (std::string typeId) +{ + SetTypeId (typeId); +} + void ObjectFactory::SetTypeId (TypeId tid) { @@ -48,13 +56,20 @@ ObjectFactory::Set (std::string name, const AttributeValue &value) { return; } - m_parameters.SetWithTid (m_tid, name, value); -} - -void -ObjectFactory::Set (const AttributeList &list) -{ - m_parameters = list; + + struct TypeId::AttributeInformation info; + if (!m_tid.LookupAttributeByName (name, &info)) + { + NS_FATAL_ERROR ("Invalid attribute set (" << name << ") on " << m_tid.GetName ()); + return; + } + Ptr v = info.checker->CreateValidValue (value); + if (v == 0) + { + NS_FATAL_ERROR ("Invalid value for attribute set (" << name << ") on " << m_tid.GetName ()); + return; + } + m_parameters.Add (name, info.checker, v); } TypeId @@ -77,7 +92,17 @@ ObjectFactory::Create (void) const std::ostream & operator << (std::ostream &os, const ObjectFactory &factory) { - os << factory.m_tid.GetName () << "[" << factory.m_parameters.SerializeToString () << "]"; + os << factory.m_tid.GetName () << "["; + bool first = true; + for (AttributeConstructionList::CIterator i = factory.m_parameters.Begin (); i != factory.m_parameters.End (); ++i) + { + os << i->name << "=" << i->value->SerializeToString (i->checker); + if (first) + { + os << "|"; + } + } + os << "]"; return os; } std::istream & operator >> (std::istream &is, ObjectFactory &factory) @@ -92,7 +117,56 @@ std::istream & operator >> (std::istream &is, ObjectFactory &factory) std::string tid = v.substr (0, lbracket); std::string parameters = v.substr (lbracket+1,rbracket-(lbracket+1)); factory.SetTypeId (tid); - factory.m_parameters.DeserializeFromString (parameters); + std::string::size_type cur; + cur = 0; + while (cur != parameters.size ()) + { + std::string::size_type equal = parameters.find ("=", cur); + if (equal == std::string::npos) + { + is.setstate (std::ios_base::failbit); + NS_LOG_DEBUG ("Error while parsing serialized attribute: \"" << parameters << "\""); + break; + } + else + { + std::string name = parameters.substr (cur, equal-cur); + struct TypeId::AttributeInformation info; + if (!factory.m_tid.LookupAttributeByName (name, &info)) + { + is.setstate (std::ios_base::failbit); + NS_LOG_DEBUG ("Error while parsing serialized attribute: name does not exist: \"" << name << "\""); + break; + } + else + { + std::string::size_type next = parameters.find ("|", cur); + std::string value; + if (next == std::string::npos) + { + value = parameters.substr (equal+1, parameters.size () - (equal+1)); + cur = parameters.size (); + } + else + { + value = parameters.substr (equal+1, next - (equal+1)); + cur = next + 1; + } + Ptr val = info.checker->Create (); + bool ok = val->DeserializeFromString (value, info.checker); + if (!ok) + { + is.setstate (std::ios_base::failbit); + NS_LOG_DEBUG ("Error while parsing serialized attribute: value invalid: \"" << value << "\""); + break; + } + else + { + factory.m_parameters.Add (name, info.checker, val); + } + } + } + } return is; } diff --git a/src/core/model/object-factory.h b/src/core/model/object-factory.h index f3ce24be7..f70eba425 100644 --- a/src/core/model/object-factory.h +++ b/src/core/model/object-factory.h @@ -20,7 +20,7 @@ #ifndef OBJECT_FACTORY_H #define OBJECT_FACTORY_H -#include "attribute-list.h" +#include "attribute-construction-list.h" #include "object.h" #include "type-id.h" @@ -40,6 +40,7 @@ class ObjectFactory { public: ObjectFactory (); + ObjectFactory (std::string typeId); /** * \param tid the TypeId of the object to instantiate. @@ -59,8 +60,6 @@ public: */ void Set (std::string name, const AttributeValue &value); - void Set (const AttributeList &list); - /** * \returns the currently-selected TypeId to use to create an object * instance. @@ -86,12 +85,52 @@ private: friend std::istream & operator >> (std::istream &is, ObjectFactory &factory); TypeId m_tid; - AttributeList m_parameters; + AttributeConstructionList m_parameters; }; std::ostream & operator << (std::ostream &os, const ObjectFactory &factory); std::istream & operator >> (std::istream &is, ObjectFactory &factory); + +/** + * \param n1 name of attribute + * \param v1 value of attribute + * \param n2 name of attribute + * \param v2 value of attribute + * \param n3 name of attribute + * \param v3 value of attribute + * \param n4 name of attribute + * \param v4 value of attribute + * \param n5 name of attribute + * \param v5 value of attribute + * \param n6 name of attribute + * \param v6 value of attribute + * \param n7 name of attribute + * \param v7 value of attribute + * \param n8 name of attribute + * \param v8 value of attribute + * \param n9 name of attribute + * \param v9 value of attribute + * \returns a pointer to a newly allocated object. + * + * This allocates an object on the heap and initializes + * it with a set of attributes. + */ +template +Ptr +CreateObjectWithAttributes (std::string n1 = "", const AttributeValue & v1 = EmptyAttributeValue (), + std::string n2 = "", const AttributeValue & v2 = EmptyAttributeValue (), + std::string n3 = "", const AttributeValue & v3 = EmptyAttributeValue (), + std::string n4 = "", const AttributeValue & v4 = EmptyAttributeValue (), + std::string n5 = "", const AttributeValue & v5 = EmptyAttributeValue (), + std::string n6 = "", const AttributeValue & v6 = EmptyAttributeValue (), + std::string n7 = "", const AttributeValue & v7 = EmptyAttributeValue (), + std::string n8 = "", const AttributeValue & v8 = EmptyAttributeValue (), + std::string n9 = "", const AttributeValue & v9 = EmptyAttributeValue ()); + + + + /** * \class ns3::ObjectFactoryValue * \brief hold objects of type ns3::ObjectFactory @@ -111,6 +150,33 @@ ObjectFactory::Create (void) const return object->GetObject (); } +template +Ptr +CreateObjectWithAttributes (std::string n1, const AttributeValue & v1, + std::string n2, const AttributeValue & v2, + std::string n3, const AttributeValue & v3, + std::string n4, const AttributeValue & v4, + std::string n5, const AttributeValue & v5, + std::string n6, const AttributeValue & v6, + std::string n7, const AttributeValue & v7, + std::string n8, const AttributeValue & v8, + std::string n9, const AttributeValue & v9) +{ + ObjectFactory factory; + factory.SetTypeId (T::GetTypeId ()); + factory.Set(n1, v1); + factory.Set(n2, v2); + factory.Set(n3, v3); + factory.Set(n4, v4); + factory.Set(n5, v5); + factory.Set(n6, v6); + factory.Set(n7, v7); + factory.Set(n8, v8); + factory.Set(n9, v9); + return factory.Create (); +} + + } // namespace ns3 #endif /* OBJECT_FACTORY_H */ diff --git a/src/core/model/object-map.cc b/src/core/model/object-map.cc deleted file mode 100644 index 1434c6cf6..000000000 --- a/src/core/model/object-map.cc +++ /dev/null @@ -1,109 +0,0 @@ -#include "object-map.h" -#include - -namespace ns3 { - -NS_LOG_COMPONENT_DEFINE ("ObjectMapValue"); - -ObjectMapValue::ObjectMapValue () -{} - -ObjectMapValue::Iterator -ObjectMapValue::Begin (void) const -{ - NS_LOG_FUNCTION (this); - return m_objects.begin (); -} -ObjectMapValue::Iterator -ObjectMapValue::End (void) const -{ - NS_LOG_FUNCTION (this); - return m_objects.end (); -} -uint32_t -ObjectMapValue::GetN (void) const -{ - NS_LOG_FUNCTION (this); - return m_objects.size (); -} -Ptr -ObjectMapValue::Get (uint32_t i) const -{ - NS_LOG_FUNCTION (this); - return m_objects.find(i)->second; -} - -Ptr -ObjectMapValue::Copy (void) const -{ - NS_LOG_FUNCTION (this); - return ns3::Create (*this); -} -std::string -ObjectMapValue::SerializeToString (Ptr checker) const -{ - NS_LOG_FUNCTION (this); - std::ostringstream oss; - for (ObjectMapValue::Iterator it = Begin () ; it != End(); it++ ) - { - oss << (*it).first << "-" << (*it).second; - if (it != End () ) - { - oss << " "; - } - } - return oss.str (); -} - -bool -ObjectMapValue::DeserializeFromString (std::string value, Ptr checker) -{ - NS_FATAL_ERROR ("cannot deserialize a map of object pointers."); - return true; -} - -bool -ObjectMapAccessor::Set (ObjectBase * object, const AttributeValue & value) const -{ - // not allowed. - return false; -} -bool -ObjectMapAccessor::Get (const ObjectBase * object, AttributeValue &value) const -{ - NS_LOG_FUNCTION (this); - ObjectMapValue *v = dynamic_cast (&value); - if (v == 0) - { - return false; - } - v->m_objects.clear (); - uint32_t n; - bool ok = DoGetN (object, &n); - if (!ok) - { - return false; - } - for (uint32_t i = 0; i < n; i++) - { - - std::pair > element = DoGet (object, i); - NS_LOG_FUNCTION(i << object << element.first << element.second); - - v->m_objects.insert ( DoGet (object, i)); - } - - return true; -} -bool -ObjectMapAccessor::HasGetter (void) const -{ - return true; -} -bool -ObjectMapAccessor::HasSetter (void) const -{ - return false; -} - -} // name diff --git a/src/core/model/object-map.h b/src/core/model/object-map.h index c5886d8bc..dbf02fb7f 100644 --- a/src/core/model/object-map.h +++ b/src/core/model/object-map.h @@ -1,216 +1,117 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2007 INRIA, Mathieu Lacage + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: Mathieu Lacage + */ #ifndef OBJECT_MAP_H #define OBJECT_MAP_H +#include #include "object.h" #include "ptr.h" #include "attribute.h" - -#include +#include "object-ptr-container.h" namespace ns3 { -/** - * \ingroup object - * - * \brief contain a map of ns3::Object pointers. - * - * This class it used to get attribute access to an array of - * ns3::Object pointers. - */ -class ObjectMapValue : public AttributeValue -{ - - -public: - typedef std::map >::const_iterator Iterator; - - ObjectMapValue (); - - /** - * \returns an iterator to the first object contained in this map - */ - Iterator Begin (void) const; - /** - * \returns an iterator to the last object contained in this map - */ - Iterator End (void) const; - /** - * \returns the number of objects contained in this map. - */ - uint32_t GetN (void) const; - /** - * \param i the index of the requested object. - * \returns the requested object - */ - Ptr Get (uint32_t i) const; - - virtual Ptr Copy (void) const; - virtual std::string SerializeToString (Ptr checker) const; - virtual bool DeserializeFromString (std::string value, Ptr checker); - -private: - friend class ObjectMapAccessor; - std::map > m_objects; -}; +typedef ObjectPtrContainerValue ObjectMapValue; template Ptr -MakeObjectMapAccessor (U T::*memberMap); - -template -Ptr -MakeObjectMapAccessor (Ptr (T::*get) (INDEX) const, - INDEX (T::*getN) (void) const); - -template -Ptr -MakeObjectMapAccessor (INDEX (T::*getN) (void) const, - Ptr (T::*get) (INDEX) const); - -class ObjectMapChecker : public AttributeChecker -{ -public: - virtual TypeId GetItemTypeId (void) const = 0; -}; +MakeObjectMapAccessor (U T::*memberContainer); template Ptr MakeObjectMapChecker (void); +template +Ptr +MakeObjectVectorAccessor (Ptr (T::*get)(INDEX) const, + INDEX (T::*getN)(void) const); + +template +Ptr +MakeObjectVectorAccessor (INDEX (T::*getN)(void) const, + Ptr (T::*get)(INDEX) const); + } // namespace ns3 namespace ns3 { -namespace internal { - -template -class AnObjectMapChecker : public ObjectMapChecker -{ -public: - virtual TypeId GetItemTypeId (void) const { - return T::GetTypeId (); - } - virtual bool Check (const AttributeValue &value) const { - return dynamic_cast (&value) != 0; - } - virtual std::string GetValueTypeName (void) const { - return "ns3::ObjectMapValue"; - } - virtual bool HasUnderlyingTypeInformation (void) const { - return true; - } - virtual std::string GetUnderlyingTypeInformation (void) const { - return "ns3::Ptr< " + T::GetTypeId ().GetName () + " >"; - } - virtual Ptr Create (void) const { - return ns3::Create (); - } - virtual bool Copy (const AttributeValue &source, AttributeValue &destination) const { - const ObjectMapValue *src = dynamic_cast (&source); - ObjectMapValue *dst = dynamic_cast (&destination); - if (src == 0 || dst == 0) - { - return false; - } - *dst = *src; - return true; - } -}; - -} // namespace internal - -class ObjectMapAccessor : public AttributeAccessor -{ -public: - virtual bool Set (ObjectBase * object, const AttributeValue &value) const; - virtual bool Get (const ObjectBase * object, AttributeValue &value) const; - virtual bool HasGetter (void) const; - virtual bool HasSetter (void) const; -private: - virtual bool DoGetN (const ObjectBase *object, uint32_t *n) const = 0; - virtual std::pair > DoGet (const ObjectBase *object, uint32_t i) const = 0; -}; - template Ptr -MakeObjectMapAccessor (U T::*memberMap) +MakeObjectMapAccessor (U T::*memberVector) { - struct MemberStdContainer : public ObjectMapAccessor + struct MemberStdContainer : public ObjectPtrContainerAccessor { virtual bool DoGetN (const ObjectBase *object, uint32_t *n) const { const T *obj = dynamic_cast (object); if (obj == 0) - { - return false; - } - *n = (obj->*m_memberMap).size (); - return true; - } - virtual std::pair > DoGet (const ObjectBase *object, uint32_t i) const { - const T *obj = static_cast (object); - typename U::const_iterator begin = (obj->*m_memberMap).begin (); - typename U::const_iterator end = (obj->*m_memberMap).end (); - uint32_t k = 0; - for (typename U::const_iterator j = begin; j != end; j++, k++) - { - if (k == i) - { - return std::pair > ( (*j).first, (*j).second); - break; - } - } - NS_ASSERT (false); - // quiet compiler. - std::pair > empty; - return empty; - } - U T::*m_memberMap; - } *spec = new MemberStdContainer (); - spec->m_memberMap = memberMap; - return Ptr (spec, false); -} - -template -Ptr -MakeObjectMapAccessor (Ptr (T::*get) (INDEX) const, - INDEX (T::*getN) (void) const) -{ - struct MemberGetters : public ObjectMapAccessor - { - virtual bool DoGetN (const ObjectBase *object, uint32_t *n) const { - const T *obj = dynamic_cast (object); - if (obj == 0) - { - return false; - } - *n = (obj->*m_getN) (); + { + return false; + } + *n = (obj->*m_memberVector).size (); return true; } virtual Ptr DoGet (const ObjectBase *object, uint32_t i) const { const T *obj = static_cast (object); - return (obj->*m_get) (i); + typename U::const_iterator begin = (obj->*m_memberVector).begin (); + typename U::const_iterator end = (obj->*m_memberVector).end (); + uint32_t k = 0; + for (typename U::const_iterator j = begin; j != end; j++, k++) + { + if (k == i) + { + return (*j).second; + break; + } + } + NS_ASSERT (false); + // quiet compiler. + return 0; } - Ptr (T::*m_get) (INDEX) const; - INDEX (T::*m_getN) (void) const; - } *spec = new MemberGetters (); - spec->m_get = get; - spec->m_getN = getN; + U T::*m_memberVector; + } *spec = new MemberStdContainer (); + spec->m_memberVector = memberVector; return Ptr (spec, false); } -template -Ptr -MakeObjectMapAccessor (INDEX (T::*getN) (void) const, - Ptr (T::*get) (INDEX) const) -{ - return MakeObjectMapAccessor (get, getN); -} - template Ptr MakeObjectMapChecker (void) { - return Create > (); + return MakeObjectPtrContainerChecker (); } +template +Ptr +MakeObjectMapAccessor (Ptr (T::*get)(INDEX) const, + INDEX (T::*getN)(void) const) +{ + return MakeObjectPtrContainerAccessor(get, getN); +} + +template +Ptr +MakeObjectMapAccessor (INDEX (T::*getN)(void) const, + Ptr (T::*get)(INDEX) const) +{ + return MakeObjectPtrContainerAccessor(get, getN); +} + + } // namespace ns3 diff --git a/src/core/model/object-ptr-container.cc b/src/core/model/object-ptr-container.cc new file mode 100644 index 000000000..e8660f4ae --- /dev/null +++ b/src/core/model/object-ptr-container.cc @@ -0,0 +1,114 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2007 INRIA, Mathieu Lacage + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: Mathieu Lacage + */ +#include "object-ptr-container.h" + +namespace ns3 { + +ObjectPtrContainerValue::ObjectPtrContainerValue () +{ +} + +ObjectPtrContainerValue::Iterator +ObjectPtrContainerValue::Begin (void) const +{ + return m_objects.begin (); +} +ObjectPtrContainerValue::Iterator +ObjectPtrContainerValue::End (void) const +{ + return m_objects.end (); +} +uint32_t +ObjectPtrContainerValue::GetN (void) const +{ + return m_objects.size (); +} +Ptr +ObjectPtrContainerValue::Get (uint32_t i) const +{ + return m_objects[i]; +} + +Ptr +ObjectPtrContainerValue::Copy (void) const +{ + return ns3::Create (*this); +} +std::string +ObjectPtrContainerValue::SerializeToString (Ptr checker) const +{ + std::ostringstream oss; + for (uint32_t i = 0; i < m_objects.size (); ++i) + { + oss << m_objects[i]; + if (i != m_objects.size () - 1) + { + oss << " "; + } + } + return oss.str (); +} +bool +ObjectPtrContainerValue::DeserializeFromString (std::string value, Ptr checker) +{ + NS_FATAL_ERROR ("cannot deserialize a vector of object pointers."); + return true; +} + +bool +ObjectPtrContainerAccessor::Set (ObjectBase * object, const AttributeValue & value) const +{ + // not allowed. + return false; +} +bool +ObjectPtrContainerAccessor::Get (const ObjectBase * object, AttributeValue &value) const +{ + ObjectPtrContainerValue *v = dynamic_cast (&value); + if (v == 0) + { + return false; + } + v->m_objects.clear (); + uint32_t n; + bool ok = DoGetN (object, &n); + if (!ok) + { + return false; + } + for (uint32_t i = 0; i < n; i++) + { + Ptr o = DoGet (object, i); + v->m_objects.push_back (o); + } + return true; +} +bool +ObjectPtrContainerAccessor::HasGetter (void) const +{ + return true; +} +bool +ObjectPtrContainerAccessor::HasSetter (void) const +{ + return false; +} + +} // name diff --git a/src/core/model/object-ptr-container.h b/src/core/model/object-ptr-container.h new file mode 100644 index 000000000..c16944539 --- /dev/null +++ b/src/core/model/object-ptr-container.h @@ -0,0 +1,192 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2007 INRIA, Mathieu Lacage + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: Mathieu Lacage + */ +#ifndef OBJECT_PTR_CONTAINER_H +#define OBJECT_PTR_CONTAINER_H + +#include +#include "object.h" +#include "ptr.h" +#include "attribute.h" + +namespace ns3 { + +/** + * \ingroup object + * + * \brief contain a vector of ns3::Object pointers. + * + * This class it used to get attribute access to an array of + * ns3::Object pointers. + */ +class ObjectPtrContainerValue : public AttributeValue +{ +public: + typedef std::vector >::const_iterator Iterator; + + ObjectPtrContainerValue (); + + /** + * \returns an iterator to the first object contained in this vector + */ + Iterator Begin (void) const; + /** + * \returns an iterator to the last object contained in this vector + */ + Iterator End (void) const; + /** + * \returns the number of objects contained in this vector. + */ + uint32_t GetN (void) const; + /** + * \param i the index of the requested object. + * \returns the requested object + */ + Ptr Get (uint32_t i) const; + + virtual Ptr Copy (void) const; + virtual std::string SerializeToString (Ptr checker) const; + virtual bool DeserializeFromString (std::string value, Ptr checker); + +private: + friend class ObjectPtrContainerAccessor; + std::vector > m_objects; +}; + + +template +Ptr +MakeObjectPtrContainerAccessor (Ptr (T::*get)(INDEX) const, + INDEX (T::*getN)(void) const); + +template +Ptr +MakeObjectPtrContainerAccessor (INDEX (T::*getN)(void) const, + Ptr (T::*get)(INDEX) const); + +class ObjectPtrContainerChecker : public AttributeChecker +{ +public: + virtual TypeId GetItemTypeId (void) const = 0; +}; + +template +Ptr MakeObjectPtrContainerChecker (void); + +} // namespace ns3 + +namespace ns3 { + +namespace internal { + +template +class AnObjectPtrContainerChecker : public ObjectPtrContainerChecker +{ +public: + virtual TypeId GetItemTypeId (void) const { + return T::GetTypeId (); + } + virtual bool Check (const AttributeValue &value) const { + return dynamic_cast (&value) != 0; + } + virtual std::string GetValueTypeName (void) const { + return "ns3::ObjectPtrContainerValue"; + } + virtual bool HasUnderlyingTypeInformation (void) const { + return true; + } + virtual std::string GetUnderlyingTypeInformation (void) const { + return "ns3::Ptr< " + T::GetTypeId ().GetName () + " >"; + } + virtual Ptr Create (void) const { + return ns3::Create (); + } + virtual bool Copy (const AttributeValue &source, AttributeValue &destination) const { + const ObjectPtrContainerValue *src = dynamic_cast (&source); + ObjectPtrContainerValue *dst = dynamic_cast (&destination); + if (src == 0 || dst == 0) + { + return false; + } + *dst = *src; + return true; + } +}; + +} // namespace internal + + +class ObjectPtrContainerAccessor : public AttributeAccessor +{ +public: + virtual bool Set (ObjectBase * object, const AttributeValue &value) const; + virtual bool Get (const ObjectBase * object, AttributeValue &value) const; + virtual bool HasGetter (void) const; + virtual bool HasSetter (void) const; +private: + virtual bool DoGetN (const ObjectBase *object, uint32_t *n) const = 0; + virtual Ptr DoGet (const ObjectBase *object, uint32_t i) const = 0; +}; + +template +Ptr +MakeObjectPtrContainerAccessor (Ptr (T::*get)(INDEX) const, + INDEX (T::*getN)(void) const) +{ + struct MemberGetters : public ObjectPtrContainerAccessor + { + virtual bool DoGetN (const ObjectBase *object, uint32_t *n) const { + const T *obj = dynamic_cast (object); + if (obj == 0) + { + return false; + } + *n = (obj->*m_getN)(); + return true; + } + virtual Ptr DoGet (const ObjectBase *object, uint32_t i) const { + const T *obj = static_cast (object); + return (obj->*m_get)(i); + } + Ptr (T::*m_get)(INDEX) const; + INDEX (T::*m_getN)(void) const; + } *spec = new MemberGetters (); + spec->m_get = get; + spec->m_getN = getN; + return Ptr (spec, false); +} + +template +Ptr +MakeObjectPtrContainerAccessor (INDEX (T::*getN)(void) const, + Ptr (T::*get)(INDEX) const) +{ + return MakeObjectPtrContainerAccessor (get, getN); +} + +template +Ptr MakeObjectPtrContainerChecker (void) +{ + return Create > (); +} + + +} // namespace ns3 + +#endif /* OBJECT_PTR_CONTAINER_H */ diff --git a/src/core/model/object-vector.cc b/src/core/model/object-vector.cc deleted file mode 100644 index b2693ac44..000000000 --- a/src/core/model/object-vector.cc +++ /dev/null @@ -1,95 +0,0 @@ -#include "object-vector.h" - -namespace ns3 { - -ObjectVectorValue::ObjectVectorValue () -{ -} - -ObjectVectorValue::Iterator -ObjectVectorValue::Begin (void) const -{ - return m_objects.begin (); -} -ObjectVectorValue::Iterator -ObjectVectorValue::End (void) const -{ - return m_objects.end (); -} -uint32_t -ObjectVectorValue::GetN (void) const -{ - return m_objects.size (); -} -Ptr -ObjectVectorValue::Get (uint32_t i) const -{ - return m_objects[i]; -} - -Ptr -ObjectVectorValue::Copy (void) const -{ - return ns3::Create (*this); -} -std::string -ObjectVectorValue::SerializeToString (Ptr checker) const -{ - std::ostringstream oss; - for (uint32_t i = 0; i < m_objects.size (); ++i) - { - oss << m_objects[i]; - if (i != m_objects.size () - 1) - { - oss << " "; - } - } - return oss.str (); -} -bool -ObjectVectorValue::DeserializeFromString (std::string value, Ptr checker) -{ - NS_FATAL_ERROR ("cannot deserialize a vector of object pointers."); - return true; -} - -bool -ObjectVectorAccessor::Set (ObjectBase * object, const AttributeValue & value) const -{ - // not allowed. - return false; -} -bool -ObjectVectorAccessor::Get (const ObjectBase * object, AttributeValue &value) const -{ - ObjectVectorValue *v = dynamic_cast (&value); - if (v == 0) - { - return false; - } - v->m_objects.clear (); - uint32_t n; - bool ok = DoGetN (object, &n); - if (!ok) - { - return false; - } - for (uint32_t i = 0; i < n; i++) - { - Ptr o = DoGet (object, i); - v->m_objects.push_back (o); - } - return true; -} -bool -ObjectVectorAccessor::HasGetter (void) const -{ - return true; -} -bool -ObjectVectorAccessor::HasSetter (void) const -{ - return false; -} - -} // name diff --git a/src/core/model/object-vector.h b/src/core/model/object-vector.h index c41a546da..953c21545 100644 --- a/src/core/model/object-vector.h +++ b/src/core/model/object-vector.h @@ -1,3 +1,22 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2007 INRIA, Mathieu Lacage + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: Mathieu Lacage + */ #ifndef OBJECT_VECTOR_H #define OBJECT_VECTOR_H @@ -5,54 +24,18 @@ #include "object.h" #include "ptr.h" #include "attribute.h" +#include "object-ptr-container.h" namespace ns3 { -/** - * \ingroup object - * - * \brief contain a vector of ns3::Object pointers. - * - * This class it used to get attribute access to an array of - * ns3::Object pointers. - */ -class ObjectVectorValue : public AttributeValue -{ -public: - typedef std::vector >::const_iterator Iterator; - - ObjectVectorValue (); - - /** - * \returns an iterator to the first object contained in this vector - */ - Iterator Begin (void) const; - /** - * \returns an iterator to the last object contained in this vector - */ - Iterator End (void) const; - /** - * \returns the number of objects contained in this vector. - */ - uint32_t GetN (void) const; - /** - * \param i the index of the requested object. - * \returns the requested object - */ - Ptr Get (uint32_t i) const; - - virtual Ptr Copy (void) const; - virtual std::string SerializeToString (Ptr checker) const; - virtual bool DeserializeFromString (std::string value, Ptr checker); - -private: - friend class ObjectVectorAccessor; - std::vector > m_objects; -}; +typedef ObjectPtrContainerValue ObjectVectorValue; template Ptr -MakeObjectVectorAccessor (U T::*memberVector); +MakeObjectVectorAccessor (U T::*memberContainer); + +template +Ptr MakeObjectVectorChecker (void); template Ptr @@ -64,75 +47,15 @@ Ptr MakeObjectVectorAccessor (INDEX (T::*getN)(void) const, Ptr (T::*get)(INDEX) const); -class ObjectVectorChecker : public AttributeChecker -{ -public: - virtual TypeId GetItemTypeId (void) const = 0; -}; - -template -Ptr MakeObjectVectorChecker (void); - } // namespace ns3 namespace ns3 { -namespace internal { - -template -class AnObjectVectorChecker : public ObjectVectorChecker -{ -public: - virtual TypeId GetItemTypeId (void) const { - return T::GetTypeId (); - } - virtual bool Check (const AttributeValue &value) const { - return dynamic_cast (&value) != 0; - } - virtual std::string GetValueTypeName (void) const { - return "ns3::ObjectVectorValue"; - } - virtual bool HasUnderlyingTypeInformation (void) const { - return true; - } - virtual std::string GetUnderlyingTypeInformation (void) const { - return "ns3::Ptr< " + T::GetTypeId ().GetName () + " >"; - } - virtual Ptr Create (void) const { - return ns3::Create (); - } - virtual bool Copy (const AttributeValue &source, AttributeValue &destination) const { - const ObjectVectorValue *src = dynamic_cast (&source); - ObjectVectorValue *dst = dynamic_cast (&destination); - if (src == 0 || dst == 0) - { - return false; - } - *dst = *src; - return true; - } -}; - -} // namespace internal - - -class ObjectVectorAccessor : public AttributeAccessor -{ -public: - virtual bool Set (ObjectBase * object, const AttributeValue &value) const; - virtual bool Get (const ObjectBase * object, AttributeValue &value) const; - virtual bool HasGetter (void) const; - virtual bool HasSetter (void) const; -private: - virtual bool DoGetN (const ObjectBase *object, uint32_t *n) const = 0; - virtual Ptr DoGet (const ObjectBase *object, uint32_t i) const = 0; -}; - template Ptr MakeObjectVectorAccessor (U T::*memberVector) { - struct MemberStdContainer : public ObjectVectorAccessor + struct MemberStdContainer : public ObjectPtrContainerAccessor { virtual bool DoGetN (const ObjectBase *object, uint32_t *n) const { const T *obj = dynamic_cast (object); @@ -166,47 +89,28 @@ MakeObjectVectorAccessor (U T::*memberVector) return Ptr (spec, false); } +template +Ptr MakeObjectVectorChecker (void) +{ + return MakeObjectPtrContainerChecker (); +} + template Ptr MakeObjectVectorAccessor (Ptr (T::*get)(INDEX) const, - INDEX (T::*getN)(void) const) + INDEX (T::*getN)(void) const) { - struct MemberGetters : public ObjectVectorAccessor - { - virtual bool DoGetN (const ObjectBase *object, uint32_t *n) const { - const T *obj = dynamic_cast (object); - if (obj == 0) - { - return false; - } - *n = (obj->*m_getN)(); - return true; - } - virtual Ptr DoGet (const ObjectBase *object, uint32_t i) const { - const T *obj = static_cast (object); - return (obj->*m_get)(i); - } - Ptr (T::*m_get)(INDEX) const; - INDEX (T::*m_getN)(void) const; - } *spec = new MemberGetters (); - spec->m_get = get; - spec->m_getN = getN; - return Ptr (spec, false); + return MakeObjectPtrContainerAccessor(get, getN); } template Ptr MakeObjectVectorAccessor (INDEX (T::*getN)(void) const, - Ptr (T::*get)(INDEX) const) + Ptr (T::*get)(INDEX) const) { - return MakeObjectVectorAccessor (get, getN); + return MakeObjectPtrContainerAccessor(get, getN); } -template -Ptr MakeObjectVectorChecker (void) -{ - return Create > (); -} } // namespace ns3 diff --git a/src/core/model/object.cc b/src/core/model/object.cc index e64f9d93d..9642c270d 100644 --- a/src/core/model/object.cc +++ b/src/core/model/object.cc @@ -125,7 +125,7 @@ Object::Object (const Object &o) m_aggregates->buffer[0] = this; } void -Object::Construct (const AttributeList &attributes) +Object::Construct (const AttributeConstructionList &attributes) { ConstructSelf (attributes); } diff --git a/src/core/model/object.h b/src/core/model/object.h index f6b38abae..65f3d9473 100644 --- a/src/core/model/object.h +++ b/src/core/model/object.h @@ -27,7 +27,7 @@ #include "ptr.h" #include "attribute.h" #include "object-base.h" -#include "attribute-list.h" +#include "attribute-construction-list.h" #include "simple-ref-count.h" @@ -36,7 +36,6 @@ namespace ns3 { class Object; class AttributeAccessor; class AttributeValue; -class AttributeList; class TraceSourceAccessor; struct ObjectDeleter @@ -216,16 +215,10 @@ protected: Object (const Object &o); private: - template - friend Ptr CreateObjectWithAttributes (const AttributeList &attributes); template friend Ptr CopyObject (Ptr object); template friend Ptr CopyObject (Ptr object); - // The following friend method declaration is used only - // by our python bindings to call the protected ObjectBase::Construct - // method. - friend void PythonCompleteConstruct (Ptr object, TypeId typeId, const AttributeList &attributes); template friend Ptr CompleteConstruct (T *object); @@ -267,7 +260,7 @@ private: * Initialize all the member variables which were * registered with the associated TypeId. */ - void Construct (const AttributeList &attributes); + void Construct (const AttributeConstructionList &attributes); void UpdateSortedArray (struct Aggregates *aggregates, uint32_t i) const; /** @@ -320,56 +313,6 @@ Ptr CopyObject (Ptr object); template Ptr CopyObject (Ptr object); - -/** - * \param attributes a list of attributes to set on the - * object during construction. - * \returns a pointer to a newly allocated object. - * - * This allocates an object on the heap and initializes - * it with a set of attributes. - */ -template -Ptr CreateObjectWithAttributes (const AttributeList &attributes); - -/** - * \param n1 name of attribute - * \param v1 value of attribute - * \param n2 name of attribute - * \param v2 value of attribute - * \param n3 name of attribute - * \param v3 value of attribute - * \param n4 name of attribute - * \param v4 value of attribute - * \param n5 name of attribute - * \param v5 value of attribute - * \param n6 name of attribute - * \param v6 value of attribute - * \param n7 name of attribute - * \param v7 value of attribute - * \param n8 name of attribute - * \param v8 value of attribute - * \param n9 name of attribute - * \param v9 value of attribute - * \returns a pointer to a newly allocated object. - * - * This allocates an object on the heap and initializes - * it with a set of attributes. - */ -template -Ptr -CreateObjectWithAttributes (std::string n1 = "", const AttributeValue & v1 = EmptyAttributeValue (), - std::string n2 = "", const AttributeValue & v2 = EmptyAttributeValue (), - std::string n3 = "", const AttributeValue & v3 = EmptyAttributeValue (), - std::string n4 = "", const AttributeValue & v4 = EmptyAttributeValue (), - std::string n5 = "", const AttributeValue & v5 = EmptyAttributeValue (), - std::string n6 = "", const AttributeValue & v6 = EmptyAttributeValue (), - std::string n7 = "", const AttributeValue & v7 = EmptyAttributeValue (), - std::string n8 = "", const AttributeValue & v8 = EmptyAttributeValue (), - std::string n9 = "", const AttributeValue & v9 = EmptyAttributeValue ()); - - - } // namespace ns3 namespace ns3 { @@ -440,79 +383,9 @@ template Ptr CompleteConstruct (T *p) { p->SetTypeId (T::GetTypeId ()); - p->Object::Construct (AttributeList ()); + p->Object::Construct (AttributeConstructionList ()); return Ptr (p, false); } -template -Ptr CreateObjectWithAttributes (const AttributeList &attributes) -{ - Ptr p = Ptr (new T (), false); - p->SetTypeId (T::GetTypeId ()); - p->Object::Construct (attributes); - return p; -} - -template -Ptr -CreateObjectWithAttributes (std::string n1, const AttributeValue & v1, - std::string n2, const AttributeValue & v2, - std::string n3, const AttributeValue & v3, - std::string n4, const AttributeValue & v4, - std::string n5, const AttributeValue & v5, - std::string n6, const AttributeValue & v6, - std::string n7, const AttributeValue & v7, - std::string n8, const AttributeValue & v8, - std::string n9, const AttributeValue & v9) -{ - AttributeList attributes; - if (n1 == "") - { - goto end; - } - attributes.SetWithTid (T::GetTypeId (), n1, v1); - if (n2 == "") - { - goto end; - } - attributes.SetWithTid (T::GetTypeId (), n2, v2); - if (n3 == "") - { - goto end; - } - attributes.SetWithTid (T::GetTypeId (), n3, v3); - if (n4 == "") - { - goto end; - } - attributes.SetWithTid (T::GetTypeId (), n4, v4); - if (n5 == "") - { - goto end; - } - attributes.SetWithTid (T::GetTypeId (), n5, v5); - if (n6 == "") - { - goto end; - } - attributes.SetWithTid (T::GetTypeId (), n6, v6); - if (n7 == "") - { - goto end; - } - attributes.SetWithTid (T::GetTypeId (), n7, v7); - if (n8 == "") - { - goto end; - } - attributes.SetWithTid (T::GetTypeId (), n8, v8); - if (n9 == "") - { - goto end; - } - attributes.SetWithTid (T::GetTypeId (), n9, v9); -end: - return CreateObjectWithAttributes (attributes); -} template Ptr CreateObject (void) diff --git a/src/core/model/ptr.h b/src/core/model/ptr.h index 0dbbef776..e60c59f5b 100644 --- a/src/core/model/ptr.h +++ b/src/core/model/ptr.h @@ -521,6 +521,6 @@ Ptr::operator Tester * () const } -}; // namespace ns3 +} // namespace ns3 #endif /* PTR_H */ diff --git a/src/core/model/random-variable.h b/src/core/model/random-variable.h index 3241c05ed..47573855a 100644 --- a/src/core/model/random-variable.h +++ b/src/core/model/random-variable.h @@ -19,8 +19,8 @@ // Author: Hadi Arbabi // -#ifndef __random_variable_h -#define __random_variable_h +#ifndef NS3_RANDOM_VARIABLE_H +#define NS3_RANDOM_VARIABLE_H #include #include @@ -133,7 +133,7 @@ public: /** * \brief Returns a random integer integer from the underlying distribution - * \return Integer cast of ::GetValue() + * \return Integer cast of RandomVariable::GetValue */ uint32_t GetInteger (void) const; @@ -158,9 +158,8 @@ protected: * The low end of the range is always included and the high end * of the range is always excluded. * \code - * UniformVariable x(0,10); - * x.GetValue(); //will always return numbers [0,10) - * UniformVariable::GetSingleValue(100,1000); //returns a value [100,1000) + * UniformVariable x (0,10); + * x.GetValue (); //will always return numbers [0,10) * \endcode */ class UniformVariable : public RandomVariable @@ -296,9 +295,7 @@ public: * * \code * ExponentialVariable x(3.14); - * x.GetValue(); //will always return with mean 3.14 - * ExponentialVariable::GetSingleValue(20.1); //returns with mean 20.1 - * ExponentialVariable::GetSingleValue(108); //returns with mean 108 + * x.GetValue (); //will always return with mean 3.14 * \endcode * */ @@ -348,10 +345,8 @@ public: * with the equation \f$ x_m = mean \frac{k-1}{k}, k > 1\f$. * * \code - * ParetoVariable x(3.14); - * x.GetValue(); //will always return with mean 3.14 - * ParetoVariable::GetSingleValue(20.1); //returns with mean 20.1 - * ParetoVariable::GetSingleValue(108); //returns with mean 108 + * ParetoVariable x (3.14); + * x.GetValue (); //will always return with mean 3.14 * \endcode */ class ParetoVariable : public RandomVariable @@ -576,7 +571,7 @@ public: * \brief Constructor * * Creates a generator that returns successive elements of the d array - * on successive calls to ::Value(). Note that the d pointer is copied + * on successive calls to RandomVariable::GetValue. Note that the d pointer is copied * for use by the generator (shallow-copy), not its contents, so the * contents of the array d points to have to remain unchanged for the use * of DeterministicVariable to be meaningful. @@ -817,5 +812,4 @@ ATTRIBUTE_ACCESSOR_DEFINE (RandomVariable); } // namespace ns3 - -#endif +#endif /* NS3_RANDOM_VARIABLE_H */ diff --git a/src/core/model/realtime-simulator-impl.cc b/src/core/model/realtime-simulator-impl.cc index 6acb7ddee..d76564cd9 100644 --- a/src/core/model/realtime-simulator-impl.cc +++ b/src/core/model/realtime-simulator-impl.cc @@ -23,14 +23,14 @@ #include "event-impl.h" #include "synchronizer.h" -#include "ns3/ptr.h" -#include "ns3/pointer.h" -#include "ns3/assert.h" -#include "ns3/fatal-error.h" -#include "ns3/log.h" -#include "ns3/system-mutex.h" -#include "ns3/boolean.h" -#include "ns3/enum.h" +#include "ptr.h" +#include "pointer.h" +#include "assert.h" +#include "fatal-error.h" +#include "log.h" +#include "system-mutex.h" +#include "boolean.h" +#include "enum.h" #include @@ -869,4 +869,4 @@ RealtimeSimulatorImpl::GetHardLimit (void) const return m_hardLimit; } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/core/model/realtime-simulator-impl.h b/src/core/model/realtime-simulator-impl.h index dd1ee2b2e..c5a0955d7 100644 --- a/src/core/model/realtime-simulator-impl.h +++ b/src/core/model/realtime-simulator-impl.h @@ -25,10 +25,10 @@ #include "synchronizer.h" #include "event-impl.h" -#include "ns3/ptr.h" -#include "ns3/assert.h" -#include "ns3/log.h" -#include "ns3/system-mutex.h" +#include "ptr.h" +#include "assert.h" +#include "log.h" +#include "system-mutex.h" #include diff --git a/src/core/model/ref-count-base.h b/src/core/model/ref-count-base.h index a464b3c5b..ae4be6baf 100644 --- a/src/core/model/ref-count-base.h +++ b/src/core/model/ref-count-base.h @@ -20,8 +20,8 @@ * Authors: Gustavo Carneiro , * Mathieu Lacage */ -#ifndef __REF_COUNT_BASE_H__ -#define __REF_COUNT_BASE_H__ +#ifndef REF_COUNT_BASE_H +#define REF_COUNT_BASE_H #include "simple-ref-count.h" @@ -45,4 +45,4 @@ public: } // namespace ns3 -#endif /* __REF_COUNT_BASE_H__*/ +#endif /* REF_COUNT_BASE_H */ diff --git a/src/core/model/rng-stream.cc b/src/core/model/rng-stream.cc index 96f7287bb..9b61b41b6 100644 --- a/src/core/model/rng-stream.cc +++ b/src/core/model/rng-stream.cc @@ -562,4 +562,4 @@ int32_t RngStream::RandInt (int32_t low, int32_t high) return low + static_cast ((high - low + 1) * RandU01 ()); }; -} //namespace ns3 +} // namespace ns3 diff --git a/src/core/model/rng-stream.h b/src/core/model/rng-stream.h index 97fef149e..86367550c 100644 --- a/src/core/model/rng-stream.h +++ b/src/core/model/rng-stream.h @@ -70,7 +70,7 @@ private: //static data static double nextSeed[6]; }; -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/core/model/scheduler.cc b/src/core/model/scheduler.cc index b416fee0f..79d038022 100644 --- a/src/core/model/scheduler.cc +++ b/src/core/model/scheduler.cc @@ -19,7 +19,7 @@ */ #include "scheduler.h" -#include "ns3/assert.h" +#include "assert.h" namespace ns3 { diff --git a/src/core/model/scheduler.h b/src/core/model/scheduler.h index a78c070e1..c7ac05485 100644 --- a/src/core/model/scheduler.h +++ b/src/core/model/scheduler.h @@ -22,7 +22,7 @@ #define SCHEDULER_H #include -#include "ns3/object.h" +#include "object.h" namespace ns3 { @@ -46,8 +46,8 @@ class EventImpl; * The lifetime of this pointer is assumed to always be longer than * the lifetime of the Scheduler class which means that the caller * is responsible for ensuring that this invariant holds through - * calling EventImpl::Ref and EventImpl::Unref at the right time. - * Typically, ::Ref is called before Insert and ::Unref is called + * calling EventId::Ref and SimpleRefCount::Unref at the right time. + * Typically, EventId::Ref is called before Insert and SimpleRefCount::Unref is called * after a call to one of the Remove methods. */ class Scheduler : public Object diff --git a/src/core/model/simple-ref-count.h b/src/core/model/simple-ref-count.h index ed0d42488..fa0b15146 100644 --- a/src/core/model/simple-ref-count.h +++ b/src/core/model/simple-ref-count.h @@ -24,7 +24,9 @@ #include "empty.h" #include "default-deleter.h" +#include "assert.h" #include +#include namespace ns3 { @@ -47,7 +49,7 @@ namespace ns3 { * class. Yes, this is weird but it's a common C++ template pattern * whose name is CRTP (Curiously Recursive Template Pattern) * - PARENT: the typename of the parent of this template. By default, - * this typename is 'ns3::empty' which is an empty class: compilers + * this typename is "'ns3::empty'" which is an empty class: compilers * which implement the RBCO optimization (empty base class optimization) * will make this a no-op * - DELETER: the typename of a class which implements a public static @@ -79,6 +81,7 @@ public: */ inline void Ref (void) const { + NS_ASSERT (m_count < std::numeric_limits::max()); m_count++; } /** diff --git a/src/core/model/simulation-singleton.h b/src/core/model/simulation-singleton.h index 8269e780f..ee433552f 100644 --- a/src/core/model/simulation-singleton.h +++ b/src/core/model/simulation-singleton.h @@ -45,7 +45,7 @@ private: static void DeleteObject (void); }; -} //namespace ns3 +} // namespace ns3 #include "simulator.h" diff --git a/src/core/model/simulator-impl.h b/src/core/model/simulator-impl.h index 063a9deb5..4ac94c91d 100644 --- a/src/core/model/simulator-impl.h +++ b/src/core/model/simulator-impl.h @@ -24,9 +24,9 @@ #include "event-impl.h" #include "event-id.h" #include "nstime.h" -#include "ns3/object.h" -#include "ns3/object-factory.h" -#include "ns3/ptr.h" +#include "object.h" +#include "object-factory.h" +#include "ptr.h" namespace ns3 { diff --git a/src/core/model/simulator.cc b/src/core/model/simulator.cc index 729dc52a7..4aa4b3e08 100644 --- a/src/core/model/simulator.cc +++ b/src/core/model/simulator.cc @@ -24,12 +24,12 @@ #include "map-scheduler.h" #include "event-impl.h" -#include "ns3/ptr.h" -#include "ns3/string.h" -#include "ns3/object-factory.h" -#include "ns3/global-value.h" -#include "ns3/assert.h" -#include "ns3/log.h" +#include "ptr.h" +#include "string.h" +#include "object-factory.h" +#include "global-value.h" +#include "assert.h" +#include "log.h" #include #include diff --git a/src/core/model/simulator.h b/src/core/model/simulator.h index c0d008d6d..15803b917 100644 --- a/src/core/model/simulator.h +++ b/src/core/model/simulator.h @@ -26,8 +26,8 @@ #include "make-event.h" #include "nstime.h" -#include "ns3/deprecated.h" -#include "ns3/object-factory.h" +#include "deprecated.h" +#include "object-factory.h" #include #include @@ -53,7 +53,7 @@ class Scheduler; * * A simple example of how to use the Simulator class to schedule events * is shown below: - * \include samples/main-simulator.cc + * \include src/core/examples/sample-simulator.cc */ class Simulator { diff --git a/src/core/model/synchronizer.h b/src/core/model/synchronizer.h index 14143bdc0..202800ac5 100644 --- a/src/core/model/synchronizer.h +++ b/src/core/model/synchronizer.h @@ -21,7 +21,7 @@ #include #include "nstime.h" -#include "ns3/object.h" +#include "object.h" namespace ns3 { @@ -329,6 +329,6 @@ private: uint64_t NanosecondToTimeStep (uint64_t ns); }; -}; // namespace ns3 +} // namespace ns3 #endif /* SYNCHRONIZER_H */ diff --git a/src/core/model/system-condition.h b/src/core/model/system-condition.h index 2cfbe83c2..255539c4a 100644 --- a/src/core/model/system-condition.h +++ b/src/core/model/system-condition.h @@ -101,7 +101,7 @@ private: SystemConditionPrivate * m_priv; }; -} //namespace ns3 +} // namespace ns3 #endif /* SYSTEM_CONDITION_H */ diff --git a/src/core/model/system-mutex.h b/src/core/model/system-mutex.h index 7fc298c40..8c35fbf3d 100644 --- a/src/core/model/system-mutex.h +++ b/src/core/model/system-mutex.h @@ -115,6 +115,6 @@ private: SystemMutex &m_mutex; }; -} //namespace ns3 +} // namespace ns3 #endif /* SYSTEM_MUTEX_H */ diff --git a/src/core/model/system-path.cc b/src/core/model/system-path.cc new file mode 100644 index 000000000..171fda6b8 --- /dev/null +++ b/src/core/model/system-path.cc @@ -0,0 +1,308 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2008 INRIA + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: Mathieu Lacage + */ +#include "system-path.h" +#include "fatal-error.h" +#include "assert.h" +#include "ns3/core-config.h" +#include +#include +#include +#if defined (HAVE_DIRENT_H) and defined (HAVE_SYS_TYPES_H) +#define HAVE_OPENDIR +#include +#include +#endif +#if defined (HAVE_SYS_STAT_H) and defined (HAVE_SYS_TYPES_H) +#define HAVE_MKDIR_H +#include +#include +#endif +#include +#ifdef __APPLE__ +#include +#endif /* __APPLE__ */ + +#ifdef __FreeBSD__ +#include +#include +#endif + + +#if defined (__win32__) +#define SYSTEM_PATH_SEP "\\" +#else +#define SYSTEM_PATH_SEP "/" +#endif + +namespace ns3 { + +namespace SystemPath { + +std::string Dirname (std::string path) +{ + std::list elements = Split (path); + std::list::const_iterator last = elements.end(); + last--; + return Join (elements.begin (), last); +} + +std::string FindSelfDirectory (void) +{ + /** + * This function returns the path to the running $PREFIX. + * Mac OS X: _NSGetExecutablePath() (man 3 dyld) + * Linux: readlink /proc/self/exe + * Solaris: getexecname() + * FreeBSD: sysctl CTL_KERN KERN_PROC KERN_PROC_PATHNAME -1 + * BSD with procfs: readlink /proc/curproc/file + * Windows: GetModuleFileName() with hModule = NULL + */ + std::string filename; +#if defined(__linux__) + { + ssize_t size = 1024; + char *buffer = (char*)malloc (size); + memset (buffer, 0, size); + int status; + while (true) + { + status = readlink("/proc/self/exe", buffer, size); + if (status != 1 || (status == -1 && errno != ENAMETOOLONG)) + { + break; + } + size *= 2; + free (buffer); + buffer = (char*)malloc (size); + memset (buffer, 0, size); + } + if (status == -1) + { + NS_FATAL_ERROR ("Oops, could not find self directory."); + } + filename = buffer; + free (buffer); + } +#elif defined (__win32__) + { + // XXX: untested. it should work if code is compiled with + // LPTSTR = char * + DWORD size = 1024; + LPTSTR lpFilename = (LPTSTR) malloc (sizeof(TCHAR) * size); + DWORD status = GetModuleFilename (0, lpFilename, size); + while (status == size) + { + size = size * 2; + free (lpFilename); + lpFilename = (LPTSTR) malloc (sizeof(TCHAR) * size); + status = GetModuleFilename (0, lpFilename, size); + } + NS_ASSERT (status != 0); + filename = lpFilename; + free (lpFilename); + } +#elif defined (__APPLE__) + { + uint32_t bufsize = 1024; + char *buffer = (char *) malloc (bufsize); + NS_ASSERT (buffer != 0); + int status = _NSGetExecutablePath (buffer, &bufsize); + if (status == -1) + { + free (buffer); + buffer = (char *) malloc (bufsize); + status = _NSGetExecutablePath (buffer, &bufsize); + } + NS_ASSERT (status == 0); + filename = buffer; + free (buffer); + } +#elif defined (__FreeBSD__) + { + int mib[4]; + size_t bufSize = 1024; + char *buf = (char *) malloc(bufSize); + + mib[0] = CTL_KERN; + mib[1] = KERN_PROC; + mib[2] = KERN_PROC_PATHNAME; + mib[3] = -1; + + sysctl(mib, 4, buf, &bufSize, NULL, 0); + filename = buf; + } +#endif + return Dirname (filename); +} + +std::string Append (std::string left, std::string right) +{ + // removing trailing separators from 'left' + while (true) + { + std::string::size_type lastSep = left.rfind (SYSTEM_PATH_SEP); + if (lastSep != left.size () - 1) + { + break; + } + left = left.substr (0, left.size () - 1); + } + std::string retval = left + SYSTEM_PATH_SEP + right; + return retval; +} + +std::list Split (std::string path) +{ + std::list retval; + std::string::size_type current = 0, next = 0; + next = path.find (SYSTEM_PATH_SEP, current); + while (next != std::string::npos) + { + std::string item = path.substr (current, next - current); + retval.push_back (item); + current = next + 1; + next = path.find (SYSTEM_PATH_SEP, current); + } + std::string item = path.substr (current, next - current); + retval.push_back (item); + return retval; +} + +std::string Join (std::list::const_iterator begin, + std::list::const_iterator end) +{ + std::string retval = ""; + for (std::list::const_iterator i = begin; i != end; i++) + { + if (i == begin) + { + retval = *i; + } + else + { + retval = retval + SYSTEM_PATH_SEP + *i; + } + } + return retval; +} + +std::list ReadFiles (std::string path) +{ + std::list files; +#if defined HAVE_OPENDIR + DIR *dp = opendir (path.c_str ()); + if (dp == NULL) + { + NS_FATAL_ERROR ("Could not open directory=" << path); + } + struct dirent *de = readdir (dp); + while (de != 0) + { + files.push_back (de->d_name); + de = readdir (dp); + } + closedir (dp); +#elif defined (HAVE_FIND_FIRST_FILE) + // XXX: untested + HANDLE hFind; + WIN32_FIND_DATA fileData; + + hFind = FindFirstFile (path.c_str (), &FindFileData); + if (hFind == INVALID_HANDLE_VALUE) + { + NS_FATAL_ERROR ("Could not open directory=" << path); + } + do + { + files.push_back (fileData.cFileName); + } while (FindNextFile (hFind, &fileData)); + FindClose(hFind); +#else +#error "No support for reading a directory on this platform" +#endif + return files; +} + +std::string +MakeTemporaryDirectoryName (void) +{ + char *path = NULL; + + path = getenv ("TMP"); + if (path == NULL) + { + path = getenv ("TEMP"); + if (path == NULL) + { + path = const_cast ("/tmp"); + } + } + + // + // Just in case the user wants to go back and find the output, we give + // a hint as to which dir we created by including a time hint. + // + time_t now = time (NULL); + struct tm *tm_now = localtime (&now); + // + // But we also randomize the name in case there are multiple users doing + // this at the same time + // + srand (time (0)); + long int n = rand (); + + // + // The final path to the directory is going to look something like + // + // /tmp/ns3-14.30.29.32767 + // + // The first segment comes from one of the temporary directory env + // variables or /tmp if not found. The directory name starts with an + // identifier telling folks who is making all of the temp directories + // and then the local time (in this case 14.30.29 -- which is 2:30 and + // 29 seconds PM). + // + std::ostringstream oss; + oss << path << SYSTEM_PATH_SEP << "ns-3." << tm_now->tm_hour << "." + << tm_now->tm_min << "." << tm_now->tm_sec << "." << n; + + return oss.str (); +} + +void +MakeDirectories (std::string path) +{ + std::list elements = Split (path); + for (std::list::const_iterator i = elements.begin (); i != elements.end (); ++i) + { + std::string tmp = Join (elements.begin (), i); +#if defined(HAVE_MKDIR_H) + mkdir (tmp.c_str (), S_IRWXU); +#endif + } +#if defined(HAVE_MKDIR_H) + mkdir (path.c_str (), S_IRWXU); +#endif + +} + +} // namespace SystemPath + +} // namespace ns3 diff --git a/src/core/model/system-path.h b/src/core/model/system-path.h new file mode 100644 index 000000000..74822e72e --- /dev/null +++ b/src/core/model/system-path.h @@ -0,0 +1,91 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2008 INRIA + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Authors: Mathieu Lacage + */ +#ifndef SYSTEM_PATH +#define SYSTEM_PATH + +#include +#include + +namespace ns3 { + +/** + * \brief Encapsulate OS-specific functions to manipulate file and directory paths. + * + * The functions provided here are used mostly to implement the ns-3 test framework. + */ +namespace SystemPath { + + /** + * \return the directory in which the currently-executing binary is located + */ + std::string FindSelfDirectory (void); + + /** + * \param left a path element + * \param right a path element + * \return a concatenation of the two input paths + */ + std::string Append (std::string left, std::string right); + + /** + * \param path a path + * \return a list of path elements that can be joined together again with + * the Join function. + * \sa ns3::SystemPath::Join + */ + std::list Split (std::string path); + + /** + * \param begin iterator to first element to join + * \param end iterator to last element to join + * \return a path that is a concatenation of all the input elements. + */ + std::string Join (std::list::const_iterator begin, + std::list::const_iterator end); + + /** + * \param path a path which identifies a directory + * \return a list of the filenames which are located in the input directory + */ + std::list ReadFiles (std::string path); + + /** + * \return a path which identifies a temporary directory. + * + * The returned path identifies a directory which does not exist yet + * Call ns3::SystemPath::MakeDirectories to create it. Yes, there is a + * well-known security race in this API but we don't care in ns-3. + */ + std::string MakeTemporaryDirectoryName (void); + + /** + * \param path a path to a directory + * + * Create all the directories leading to path. + */ + void MakeDirectories (std::string path); + +} // namespace SystemPath + + +} // namespace ns3 + + +#endif /* SYSTEM_PATH */ diff --git a/src/core/model/system-thread.h b/src/core/model/system-thread.h index 55038017c..eb6eb275a 100644 --- a/src/core/model/system-thread.h +++ b/src/core/model/system-thread.h @@ -168,7 +168,7 @@ private: bool m_break; }; -} //namespace ns3 +} // namespace ns3 #endif /* SYSTEM_THREAD_H */ diff --git a/src/core/model/system-wall-clock-ms.h b/src/core/model/system-wall-clock-ms.h index 2895f3dd8..ca90ad5a6 100644 --- a/src/core/model/system-wall-clock-ms.h +++ b/src/core/model/system-wall-clock-ms.h @@ -76,6 +76,6 @@ private: class SystemWallClockMsPrivate *m_priv; }; -}; // namespace ns3 +} // namespace ns3 #endif /* SYSTEM_WALL_CLOCK_MS_H */ diff --git a/src/core/model/test.cc b/src/core/model/test.cc index d863812bb..9c72b6ee4 100644 --- a/src/core/model/test.cc +++ b/src/core/model/test.cc @@ -19,43 +19,15 @@ #include "test.h" #include "assert.h" #include "abort.h" +#include "system-path.h" #include +#include +#include +#include -// Set to true to enable a segmentation fault upon a test case macro test -// failing (for debugging purposes) -bool gBreakOnFailure = false; namespace ns3 { -// -// XML files have restrictions on certain characters that may be present in -// data. We need to replace these characters with their alternate -// representation on the way into the XML file. -// -std::string -ReplaceXmlSpecialCharacters (std::string xml) -{ - std::string specials = "<>&\"'"; - std::string replacements[] = { "<", ">", "&", "'", """}; - std::string result; - std::size_t index, length = xml.length (); - - for (size_t i = 0; i < length; ++i) - { - char character = xml[i]; - - if ((index = specials.find (character)) == std::string::npos) - { - result.push_back (character); - } - else - { - result += replacements[index]; - } - } - return result; -} - bool TestDoubleIsEqual (const double x1, const double x2, const double epsilon) { @@ -83,640 +55,283 @@ TestDoubleIsEqual (const double x1, const double x2, const double epsilon) return true; } +struct TestCaseFailure +{ + TestCaseFailure (std::string _cond, std::string _actual, + std::string _limit, std::string _message, + std::string _file, int32_t _line); + std::string cond; + std::string actual; + std::string limit; + std::string message; + std::string file; + int32_t line; +}; +struct TestCase::Result +{ + Result (); + SystemWallClockMs clock; + std::vector failure; + bool childrenFailed; +}; + +class TestRunnerImpl +{ +public: + void AddTestSuite (TestSuite *testSuite); + void StartTestCase (std::string name); + void EndTestCase (void); + void ReportTestFailure (std::string cond, std::string actual, + std::string limit, std::string message, + std::string file, int32_t line); + bool MustAssertOnFailure (void) const; + bool MustContinueOnFailure (void) const; + bool MustUpdateData (void) const; + std::string GetTopLevelSourceDir (void) const; + std::string GetTempDir (void) const; + + int Run (int argc, char *argv[]); + + static TestRunnerImpl *Instance (void); + +private: + TestRunnerImpl (); + ~TestRunnerImpl (); + + bool IsTopLevelSourceDir (std::string path) const; + std::string ReplaceXmlSpecialCharacters (std::string xml) const; + void PrintReport (TestCase *test, std::ostream *os, bool xml, int level); + void PrintTestNameList (std::list::const_iterator begin, + std::list::const_iterator end) const; + void PrintTestTypeList (void) const; + void PrintHelp (const char *programName) const; + std::list FilterTests (std::string testName, enum TestSuite::Type testType) const; + + + typedef std::vector TestSuiteVector; + + TestSuiteVector m_suites; + std::string m_tempDir; + bool m_verbose; + bool m_assertOnFailure; + bool m_continueOnFailure; + bool m_updateData; +}; + + + +TestCaseFailure::TestCaseFailure (std::string _cond, std::string _actual, + std::string _limit, std::string _message, + std::string _file, int32_t _line) + : cond (_cond), actual (_actual), limit (_limit), + message (_message), file (_file), line (_line) +{} +TestCase::Result::Result () + : childrenFailed (false) +{} + + TestCase::TestCase (std::string name) - : m_name (name), - m_verbose (false), - m_continueOnFailure (false), - m_detailsReported (false), - m_basedir ("invalid"), - m_tempdir ("invalid"), - m_ofs (0), - m_error (false) + : m_parent (0), + m_dataDir (""), + m_runner (0), + m_result (0), + m_name (name) { } TestCase::~TestCase () { + NS_ASSERT (m_runner == 0); + m_parent = 0; + delete m_result; + for (std::vector::const_iterator i = m_children.begin (); i != m_children.end (); ++i) + { + delete *i; + } + m_children.clear (); } void -TestCase::ReportStart (void) +TestCase::AddTestCase (TestCase *testCase) { - DoReportStart (); + m_children.push_back (testCase); + testCase->m_parent = this; + + std::string::size_type slash, antislash; + slash = testCase->m_name.find ("/"); + antislash = testCase->m_name.find ("\\"); + if (slash != std::string::npos || antislash != std::string::npos) + { + std::string fullname = testCase->m_name; + TestCase *current = testCase->m_parent; + while (current != 0) + { + fullname = current->m_name + "/" + fullname; + current = current->m_parent; + } + if (slash != std::string::npos) + { + NS_FATAL_ERROR ("Invalid test name: cannot contain slashes: \"" << fullname << "\""); + } + if (antislash != std::string::npos) + { + NS_FATAL_ERROR ("Invalid test name: cannot contain antislashes: \"" << fullname << "\""); + } + } } -void -TestCase::ReportCaseSuccess (void) +bool +TestCase::IsFailed (void) const { - UpdateErrorStatus (false); - DoReportCaseSuccess (); + return m_result->childrenFailed || !m_result->failure.empty (); } -void -TestCase::ReportCaseFailure (void) +void +TestCase::Run (TestRunnerImpl *runner) { - UpdateErrorStatus (true); - DoReportCaseFailure (); -} - -void -TestCase::ReportTestFailure ( - std::string cond, - std::string actual, - std::string limit, - std::string message, - std::string file, - int32_t line) -{ - UpdateErrorStatus (true); - DoReportTestFailure (cond, actual, limit, message, file, line); - m_detailsReported = true; -} - -void -TestCase::ReportEnd (void) -{ - DoReportStart (); -} - -void -TestCase::Run (void) -{ - // - // We set up a flag to make sure the user plays by the rules and actually - // does something to report the details of an error. - // - m_detailsReported = false; - - DoReportStart (); + m_result = new Result (); + m_runner = runner; DoSetup (); - + m_result->clock.Start (); + for (std::vector::const_iterator i = m_children.begin (); i != m_children.end (); ++i) + { + TestCase *test = *i; + test->Run (runner); + if (IsFailed ()) + { + goto out; + } + } DoRun (); - + out: + m_result->clock.End (); DoTeardown (); - - if (GetErrorStatus () == false) - { - DoReportCaseSuccess (); - } - else - { - // - // It is a programming error to return an error from a test case without - // calling ReportTestFailure. Typically this is done automagically when - // using the ASSERT or EXPECT macros. If you don't use these, you must - // ReportTestFailure on any errors yourself, which will set - // m_detailsReported and make us happy. - // - NS_ASSERT_MSG (m_detailsReported, "The details of a failing test was not reported"); - - DoReportCaseFailure (); - } - - DoReportEnd (); - - return; + m_runner = 0; } - -void -TestCase::SetVerbose (bool verbose) -{ - m_verbose = verbose; -} - -void -TestCase::SetContinueOnFailure (bool continueOnFailure) -{ - m_continueOnFailure = continueOnFailure; -} - -void -TestCase::SetName (std::string name) -{ - m_name = name; -} - std::string -TestCase::GetName (void) +TestCase::GetName (void) const { return m_name; } - -void -TestCase::SetBaseDir (std::string basedir) +void +TestCase::ReportTestFailure (std::string cond, std::string actual, + std::string limit, std::string message, + std::string file, int32_t line) { - // - // C and C++ allow one to use forward slashes even on systems where the - // separator is actually a backslash. - // - if (basedir[basedir.length () - 1] != '/') + m_result->failure.push_back (TestCaseFailure (cond, actual, limit, + message, file, line)); + // set childrenFailed flag on parents. + struct TestCase *current = m_parent; + while (current != 0) { - m_basedir = basedir + "/"; + current->m_result->childrenFailed = true; + current = current->m_parent; + } + +} +bool +TestCase::MustAssertOnFailure (void) const +{ + return m_runner->MustAssertOnFailure (); +} +bool +TestCase::MustContinueOnFailure (void) const +{ + return m_runner->MustContinueOnFailure (); +} + +std::string +TestCase::CreateDataDirFilename (std::string filename) +{ + const TestCase *current = this; + while (current->m_dataDir == "" && current != 0) + { + current = current->m_parent; + } + if (current == 0) + { + NS_FATAL_ERROR ("No one called SetDataDir prior to calling this function"); + } + + std::string a = SystemPath::Append (m_runner->GetTopLevelSourceDir (), current->m_dataDir); + std::string b = SystemPath::Append (a, filename); + return b; +} +std::string +TestCase::CreateTempDirFilename (std::string filename) +{ + if (m_runner->MustUpdateData ()) + { + return CreateDataDirFilename (filename); } else { - m_basedir = basedir; + std::list names; + const TestCase *current = this; + while (current != 0) + { + names.push_front (current->m_name); + current = current->m_parent; + } + std::string tempDir = SystemPath::Append (m_runner->GetTempDir (), SystemPath::Join (names.begin (), names.end ())); + SystemPath::MakeDirectories (tempDir); + return SystemPath::Append (tempDir, filename); } } - -std::string -TestCase::GetBaseDir (void) +bool +TestCase::GetErrorStatus (void) const { - return m_basedir; + return IsStatusFailure (); +} +bool +TestCase::IsStatusFailure (void) const +{ + return !IsStatusSuccess (); +} +bool +TestCase::IsStatusSuccess (void) const +{ + return m_result->failure.empty (); } void -TestCase::SetTempDir (std::string tempdir) +TestCase::SetDataDir (std::string directory) { - // - // C and C++ allow one to use forward slashes even on systems where the - // separator is actually a backslash. - // - if (tempdir[tempdir.length () - 1] != '/') - { - m_tempdir = tempdir + "/"; - } - else - { - m_tempdir = tempdir; - } -} - -std::string -TestCase::GetTempDir (void) -{ - return m_tempdir; -} - -std::string -TestCase::GetSourceDir (std::string file) -{ - // - // The parameter is actually going to be __FILE__ which may have - // backslashes in it on win32 systems. For example, - // - // ..\src\common\pcap-file-test-suite.cc (win32) - // - // or - // - // ../src/common/pcap-file-test-suite.cc (grown-up systems) - // -#ifdef WIN32 - std::string::size_type relPathBegin = file.find_first_of ("\\"); - std::string::size_type relPathEnd = file.find_last_of ("\\"); -#else - std::string::size_type relPathBegin = file.find_first_of ("/"); - std::string::size_type relPathEnd = file.find_last_of ("/"); -#endif - - NS_ABORT_MSG_IF (relPathBegin == std::string::npos, "TestCase::GetSourceDir(): Internal Error"); - NS_ABORT_MSG_IF (relPathEnd == std::string::npos, "TestCase::GetSourceDir(): Internal Error"); - - return GetBaseDir () + file.substr (relPathBegin, relPathEnd + 1 - relPathBegin); -} - -void -TestCase::SetStream (std::ofstream *ofs) -{ - m_ofs = ofs; -} - -std::ofstream * -TestCase::GetStream (void) -{ - return m_ofs; -} - -void -TestCase::UpdateErrorStatus (bool error) -{ - m_error |= error; -} - -void -TestCase::SetErrorStatus (bool error) -{ - m_error = error; -} - -bool -TestCase::GetErrorStatus (void) -{ - return m_error; -} - -bool -TestCase::ContinueOnFailure (void) -{ - return m_continueOnFailure; -} - -void -TestCase::DoReportStart (void) -{ - m_msClock.Start (); - - if (m_ofs == 0) - { - return; - } - *m_ofs << " " << std::endl; - *m_ofs << " " << ReplaceXmlSpecialCharacters (GetName ()) << "" << std::endl; -} - -void -TestCase::DoReportCaseSuccess (void) -{ - if (m_ofs == 0) - { - return; - } - *m_ofs << " PASS" << std::endl; -} - -void -TestCase::DoReportCaseFailure (void) -{ - if (m_ofs == 0) - { - return; - } - *m_ofs << " FAIL" << std::endl; -} - -void -TestCase::DoReportTestFailure ( - std::string cond, - std::string actual, - std::string limit, - std::string message, - std::string file, - int32_t line) -{ - if (m_ofs == 0) - { - return; - } - - *m_ofs << " " << std::endl; - *m_ofs << " " << ReplaceXmlSpecialCharacters (cond) << "" << std::endl; - *m_ofs << " " << ReplaceXmlSpecialCharacters (actual) << "" << std::endl; - *m_ofs << " " << ReplaceXmlSpecialCharacters (limit) << "" << std::endl; - *m_ofs << " " << ReplaceXmlSpecialCharacters (message) << "" << std::endl; - *m_ofs << " " << ReplaceXmlSpecialCharacters (file) << "" << std::endl; - *m_ofs << " " << line << "" << std::endl; - *m_ofs << " " << std::endl; -} - -void -TestCase::DoReportEnd (void) -{ - m_msClock.End (); - - if (m_ofs == 0) - { - return; - } - - (*m_ofs).precision (3); - *m_ofs << std::fixed; - - const double MS_PER_SEC = 1000.; - - *m_ofs << " " << "real " << m_msClock.GetElapsedReal () / MS_PER_SEC - << " user " << m_msClock.GetElapsedUser () / MS_PER_SEC - << " system " << m_msClock.GetElapsedSystem () / MS_PER_SEC - << "" << std::endl; - - *m_ofs << " " << std::endl; + m_dataDir = directory; } void TestCase::DoSetup (void) -{ -} - +{} void TestCase::DoTeardown (void) -{ -} +{} -TestSuite::TestSuite (std::string name, TestType type) - : m_name (name), - m_verbose (false), - m_basedir ("invalid"), - m_tempdir ("invalid"), - m_ofs (0), - m_error (false), + +TestSuite::TestSuite (std::string name, TestSuite::Type type) + : TestCase (name), m_type (type) { - TestRunner::AddTestSuite (this); + TestRunnerImpl::Instance ()->AddTestSuite (this); } -TestSuite::~TestSuite () -{ - for (TestCaseVector_t::iterator i = m_tests.begin (); i != m_tests.end (); ++i) - { - delete *i; - *i = 0; - } - - m_tests.erase (m_tests.begin (), m_tests.end ()); -} - -void -TestSuite::ReportStart (void) -{ - DoReportStart (); -} - -void -TestSuite::ReportSuccess (void) -{ - UpdateErrorStatus (false); - DoReportSuccess (); -} - -void -TestSuite::ReportFailure (void) -{ - UpdateErrorStatus (true); - DoReportFailure (); -} - -void -TestSuite::ReportEnd (void) -{ - DoReportEnd (); -} - -bool -TestSuite::Run (void) -{ - DoReportStart (); - - DoSetup (); - DoRun (); - DoTeardown (); - - if (GetErrorStatus () == false) - { - DoReportSuccess (); - } - else - { - DoReportFailure (); - } - - DoReportEnd (); - - return GetErrorStatus (); -} - -uint32_t -TestSuite::AddTestCase (TestCase *testCase) -{ - uint32_t index = m_tests.size (); - m_tests.push_back (testCase); - return index; -} - -uint32_t -TestSuite::GetNTestCases (void) -{ - return m_tests.size (); -} - -TestCase * -TestSuite::GetTestCase (uint32_t n) -{ - return m_tests[n]; -} - -TestSuite::TestType +TestSuite::Type TestSuite::GetTestType (void) { return m_type; } void -TestSuite::SetVerbose (bool verbose) -{ - m_verbose = verbose; -} - -void -TestSuite::SetContinueOnFailure (bool continueOnFailure) -{ - m_continueOnFailure = continueOnFailure; -} - -void -TestSuite::SetName (std::string name) -{ - m_name = name; -} - -std::string -TestSuite::GetName (void) -{ - return m_name; -} - -void -TestSuite::SetBaseDir (std::string basedir) -{ - // - // C and C++ allow one to use forward slashes even on systems where the - // separator is actually a backslash. - // - if (basedir[basedir.length () - 1] != '/') - { - m_basedir = basedir + "/"; - } - else - { - m_basedir = basedir; - } -} - -std::string -TestSuite::GetBaseDir (void) -{ - return m_basedir; -} - -void -TestSuite::SetTempDir (std::string tempdir) -{ - // - // C and C++ allow one to use forward slashes even on systems where the - // separator is actually a backslash. - // - if (tempdir[tempdir.length () - 1] != '/') - { - m_tempdir = tempdir + "/"; - } - else - { - m_tempdir = tempdir; - } -} - -std::string -TestSuite::GetTempDir (void) -{ - return m_tempdir; -} - -void -TestSuite::SetStream (std::ofstream *ofs) -{ - m_ofs = ofs; -} - -void -TestSuite::UpdateErrorStatus (bool error) -{ - m_error |= error; -} - -void -TestSuite::SetErrorStatus (bool error) -{ - m_error = error; -} - -bool -TestSuite::GetErrorStatus (void) -{ - return m_error; -} - -bool -TestSuite::ContinueOnFailure (void) -{ - return m_continueOnFailure; -} - -void -TestSuite::DoReportStart (void) -{ - m_msClock.Start (); - - if (m_ofs == 0) - { - return; - } - *m_ofs << "" << std::endl; - *m_ofs << " " << ReplaceXmlSpecialCharacters (GetName ()) << "" << std::endl; -} - -void -TestSuite::DoReportFailure (void) -{ - if (m_ofs == 0) - { - return; - } - *m_ofs << " FAIL" << std::endl; -} - -void -TestSuite::DoReportSuccess (void) -{ - if (m_ofs == 0) - { - return; - } - *m_ofs << " PASS" << std::endl; -} - -void -TestSuite::DoReportEnd (void) -{ - m_msClock.End (); - - if (m_ofs == 0) - { - return; - } - - (*m_ofs).precision (3); - *m_ofs << std::fixed; - - const double MS_PER_SEC = 1000.; - - *m_ofs << " " << "real " << m_msClock.GetElapsedReal () / MS_PER_SEC - << " user " << m_msClock.GetElapsedUser () / MS_PER_SEC - << " system " << m_msClock.GetElapsedSystem () / MS_PER_SEC - << "" << std::endl; - - *m_ofs << "" << std::endl; -} - -void -TestSuite::DoSetup (void) -{ -} - -void TestSuite::DoRun (void) -{ - SetErrorStatus (false); - - for (TestCaseVector_t::iterator i = m_tests.begin (); i != m_tests.end (); ++i) - { - // - // Set the current options for the test case - // - (*i)->SetVerbose (m_verbose); - (*i)->SetContinueOnFailure (m_continueOnFailure); - (*i)->SetBaseDir (m_basedir); - (*i)->SetTempDir (m_tempdir); - (*i)->SetStream (m_ofs); - - // - // Run the test case - // - (*i)->Run (); - UpdateErrorStatus ((*i)->GetErrorStatus ()); - - // - // Exit if we have detected an error and we are not allowing multiple failures - // - if (GetErrorStatus () && m_continueOnFailure == false) - { - return; - } - } - -} - -void -TestSuite::DoTeardown (void) -{ -} - -class TestRunnerImpl -{ -public: - uint32_t AddTestSuite (TestSuite *testSuite); - uint32_t GetNTestSuites (void); - TestSuite *GetTestSuite (uint32_t n); - bool RunTestSuite (uint32_t n); - - static TestRunnerImpl *Instance (void); -private: - TestRunnerImpl (); - ~TestRunnerImpl (); - - typedef std::vector TestSuiteVector_t; - TestSuiteVector_t m_suites; -}; +{} TestRunnerImpl::TestRunnerImpl () + : m_tempDir (""), + m_assertOnFailure (false), + m_continueOnFailure (true), + m_updateData (false) { } @@ -724,6 +339,8 @@ TestRunnerImpl::~TestRunnerImpl () { } + + TestRunnerImpl * TestRunnerImpl::Instance (void) { @@ -731,42 +348,464 @@ TestRunnerImpl::Instance (void) return &runner; } -uint32_t +void TestRunnerImpl::AddTestSuite (TestSuite *testSuite) { - uint32_t index = m_suites.size (); m_suites.push_back (testSuite); - return index; } -uint32_t -TestRunnerImpl::GetNTestSuites (void) + +bool +TestRunnerImpl::MustAssertOnFailure (void) const { - return m_suites.size (); + return m_assertOnFailure; +} +bool +TestRunnerImpl::MustContinueOnFailure (void) const +{ + return m_continueOnFailure; } -TestSuite * -TestRunnerImpl::GetTestSuite (uint32_t n) +bool +TestRunnerImpl::MustUpdateData (void) const { - return m_suites[n]; + return m_updateData; +} +std::string +TestRunnerImpl::GetTempDir (void) const +{ + return m_tempDir; +} +bool +TestRunnerImpl::IsTopLevelSourceDir (std::string path) const +{ + bool haveVersion = false; + bool haveLicense = false; + + // + // If there's a file named VERSION and a file named LICENSE in this + // directory, we assume it's our top level source directory. + // + + std::list files = SystemPath::ReadFiles (path); + for (std::list::const_iterator i = files.begin (); i != files.end (); ++i) + { + if (*i == "VERSION") + { + haveVersion = true; + } + else if (*i == "LICENSE") + { + haveLicense = true; + } + } + + return haveVersion && haveLicense; } -uint32_t -TestRunner::AddTestSuite (TestSuite *testSuite) +std::string +TestRunnerImpl::GetTopLevelSourceDir (void) const { - return TestRunnerImpl::Instance ()->AddTestSuite (testSuite); + std::string self = SystemPath::FindSelfDirectory (); + std::list elements = SystemPath::Split (self); + while (!elements.empty ()) + { + std::string path = SystemPath::Join (elements.begin (), elements.end ()); + if (IsTopLevelSourceDir (path)) + { + return path; + } + elements.pop_back (); + } + NS_FATAL_ERROR ("Could not find source directory from self=" << self); } -uint32_t -TestRunner::GetNTestSuites (void) +// +// XML files have restrictions on certain characters that may be present in +// data. We need to replace these characters with their alternate +// representation on the way into the XML file. +// +std::string +TestRunnerImpl::ReplaceXmlSpecialCharacters (std::string xml) const { - return TestRunnerImpl::Instance ()->GetNTestSuites (); + std::string specials = "<>&\"'"; + std::string replacements[] = {"<", ">", "&", "'", """}; + std::string result; + std::size_t index, length = xml.length (); + + for (size_t i = 0; i < length; ++i) + { + char character = xml[i]; + + if ((index = specials.find (character)) == std::string::npos) + { + result.push_back (character); + } + else + { + result += replacements[index]; + } + } + return result; } -TestSuite * -TestRunner::GetTestSuite (uint32_t n) +struct Indent { - return TestRunnerImpl::Instance ()->GetTestSuite (n); + Indent (int level); + int level; +}; +Indent::Indent (int _level) + : level (_level) +{} +std::ostream &operator << (std::ostream &os, const Indent &val) +{ + for (int i = 0; i < val.level; i++) + { + os << " "; + } + return os; +} + +void +TestRunnerImpl::PrintReport (TestCase *test, std::ostream *os, bool xml, int level) +{ + if (test->m_result == 0) + { + // Do not print reports for tests that were not run. + return; + } + const double MS_PER_SEC = 1000.; + double real = test->m_result->clock.GetElapsedReal () / MS_PER_SEC; + double user = test->m_result->clock.GetElapsedUser () / MS_PER_SEC; + double system = test->m_result->clock.GetElapsedSystem () / MS_PER_SEC; + + (*os).precision (3); + *os << std::fixed; + + std::string statusString = test->IsFailed ()?"FAIL":"PASS"; + if (xml) + { + *os << Indent (level) << "" << std::endl; + *os << Indent (level+1) << "" << ReplaceXmlSpecialCharacters (test->m_name) + << "" << std::endl; + *os << Indent (level+1) << "" << statusString << "" << std::endl; + *os << Indent (level+1) << "" << std::endl; + } + else + { + *os << Indent (level) << statusString << " " << test->GetName () + << " " << real << "ms" << std::endl; + if (m_verbose) + { + for (uint32_t i = 0; i < test->m_result->failure.size (); i++) + { + TestCaseFailure failure = test->m_result->failure[i]; + *os << Indent (level) << " got=\"" << failure.cond << "\" expected=\"" + << failure.actual << "\" in=\"" << failure.file << ":" << failure.line + << "\" " << failure.message << std::endl; + } + for (uint32_t i = 0; i < test->m_children.size (); i++) + { + TestCase *child = test->m_children[i]; + PrintReport (child, os, xml, level + 1); + } + } + } +} + +void +TestRunnerImpl::PrintHelp (const char *program_name) const +{ + std::cout << "Usage: " << program_name << " [OPTIONS]" << std::endl + << std::endl + << "Options: " + << " --help : print these options" << std::endl + << " --print-test-name-list : print the list of names of tests available" << std::endl + << " --list : an alias for --print-test-name-list" << std::endl + << " --print-test-type-list : print the list of types of tests available" << std::endl + << " --print-temp-dir : Print name of temporary directory before running the tests" << std::endl + << " --test-type=TYPE : Process only tests of type TYPE" << std::endl + << " --test-name=NAME : Process only test whose name matches NAME" << std::endl + << " --suite=NAME : an alias (here for compatibility reasons only) " + << "for --test-name=NAME" << std::endl + << " --assert-on-failure : when a test fails, crash immediately (useful" << std::endl + << " when running under a debugger" << std::endl + << " --stop-on-failure : when a test fails, stop immediately" << std::endl + << " --verbose : Print details of test execution" << std::endl + << " --xml : format test run output as xml" << std::endl + << " --tempdir=DIR : set temp dir for tests to store output files" << std::endl + << " --datadir=DIR : set data dir for tests to read reference files" << std::endl + << " --out=FILE : send test result to FILE instead of standard " + << "output" << std::endl + << " --append=FILE : append test result to FILE instead of standard " + << "output" << std::endl + ; +} + +void +TestRunnerImpl::PrintTestNameList (std::list::const_iterator begin, + std::list::const_iterator end) const +{ + for (std::list::const_iterator i = begin; i != end; ++i) + { + TestCase *test = *i; + std::cout << test->GetName () << std::endl; + } +} + +void +TestRunnerImpl::PrintTestTypeList (void) const +{ + std::cout << " bvt: Build Verification Tests (to see if build completed successfully)" << std::endl; + std::cout << " core: Run all TestSuite-based tests (exclude examples)" << std::endl; + std::cout << " example: Examples (to see if example programs run successfully)" << std::endl; + std::cout << " performance: Performance Tests (check to see if the system is as fast as expected)" << std::endl; + std::cout << " system: System Tests (spans modules to check integration of modules)" << std::endl; + std::cout << " unit: Unit Tests (within modules to check basic functionality)" << std::endl; +} + + +std::list +TestRunnerImpl::FilterTests (std::string testName, enum TestSuite::Type testType) const +{ + std::list tests; + for (uint32_t i = 0; i < m_suites.size (); ++i) + { + TestSuite *test = m_suites[i]; + if (testType != TestSuite::ALL && test->GetTestType () != testType) + { + // skip test + continue; + } + if (testName != "" && test->GetName () != testName) + { + // skip test + continue; + } + tests.push_back (test); + } + return tests; +} + + +int +TestRunnerImpl::Run (int argc, char *argv[]) +{ + std::string testName = ""; + std::string testTypeString = ""; + std::string out = ""; + bool xml = false; + bool append = false; + bool printTempDir = false; + bool printTestTypeList = false; + bool printTestNameList = false; + char *progname = argv[0]; + + argv++; + + while (*argv != 0) + { + char *arg = *argv; + + if (strcmp(arg, "--assert-on-failure") == 0) + { + m_assertOnFailure = true; + } + else if (strcmp (arg, "--stop-on-failure") == 0) + { + m_continueOnFailure = false; + } + else if (strcmp (arg, "--verbose") == 0) + { + m_verbose = true; + } + else if (strcmp (arg, "--print-temp-dir") == 0) + { + printTempDir = true; + } + else if (strcmp (arg, "--update-data") == 0) + { + m_updateData = true; + } + else if (strcmp (arg, "--help") == 0) + { + PrintHelp (progname); + return 0; + } + else if (strcmp (arg, "--print-test-name-list") == 0 || + strcmp(arg, "--list") == 0) + { + printTestNameList = true; + } + else if (strcmp (arg, "--print-test-type-list") == 0) + { + printTestTypeList = true; + } + else if (strcmp(arg, "--append") == 0) + { + append = true; + } + else if (strcmp(arg, "--xml") == 0) + { + xml = true; + } + else if (strncmp(arg, "--test-type=", strlen("--test-type=")) == 0) + { + testTypeString = arg + strlen("--test-type="); + } + else if (strncmp(arg, "--test-name=", strlen("--test-name=")) == 0) + { + testName = arg + strlen("--test-name="); + } + else if (strncmp(arg, "--suite=", strlen("--suite=")) == 0) + { + testName = arg + strlen("--suite="); + } + else if (strncmp(arg, "--tempdir=", strlen("--tempdir=")) == 0) + { + m_tempDir = arg + strlen("--tempdir="); + } + else if (strncmp(arg, "--out=", strlen("--out=")) == 0) + { + out = arg + strlen("--out="); + } + else + { + // un-recognized command-line argument + PrintHelp (progname); + return 0; + } + argv++; + } + enum TestSuite::Type testType; + if (testTypeString == "") + { + testType = TestSuite::ALL; + } + else if (testTypeString == "bvt") + { + testType = TestSuite::BVT; + } + else if (testTypeString == "core") + { + testType = TestSuite::ALL; + } + else if (testTypeString == "example") + { + testType = TestSuite::EXAMPLE; + } + else if (testTypeString == "unit") + { + testType = TestSuite::UNIT; + } + else if (testTypeString == "system") + { + testType = TestSuite::SYSTEM; + } + else + { + std::cout << "Invalid test type specified: " << testTypeString << std::endl; + PrintTestTypeList (); + return 1; + } + + std::list tests = FilterTests (testName, testType); + + if (m_tempDir == "") + { + m_tempDir = SystemPath::MakeTemporaryDirectoryName (); + } + if (printTempDir) + { + std::cout << m_tempDir << std::endl; + } + if (printTestNameList) + { + PrintTestNameList (tests.begin (), tests.end ()); + return 0; + } + if (printTestTypeList) + { + PrintTestTypeList (); + return 0; + } + + + std::ostream *os; + if (out != "") + { + std::ofstream *ofs; + ofs = new std::ofstream(); + std::ios_base::openmode mode = std::ios_base::out; + if (append) + { + mode |= std::ios_base::app; + } + else + { + mode |= std::ios_base::trunc; + } + ofs->open (out.c_str (), mode); + os = ofs; + } + else + { + os = &std::cout; + } + + // let's run our tests now. + bool failed = false; + for (std::list::const_iterator i = tests.begin (); i != tests.end (); ++i) + { + TestCase *test = *i; + test->Run (this); + PrintReport (test, os, xml, 0); + if (test->IsFailed ()) + { + failed = true; + if (!m_continueOnFailure) + { + return 1; + } + } + } + + if (out != "") + { + delete os; + } + + return failed?1:0; +} + +int +TestRunner::Run (int argc, char *argv[]) +{ + return TestRunnerImpl::Instance ()->Run (argc, argv); } } // namespace ns3 diff --git a/src/core/model/test.h b/src/core/model/test.h index e8c5d7d19..e5be0f3c1 100644 --- a/src/core/model/test.h +++ b/src/core/model/test.h @@ -28,9 +28,8 @@ #include #include -#include "ns3/system-wall-clock-ms.h" - -extern bool gBreakOnFailure; +#include "system-wall-clock-ms.h" +#include "deprecated.h" // // Note on below macros: @@ -42,14 +41,31 @@ extern bool gBreakOnFailure; // defining a robust macro. // -/** - * \brief Convenience macro to extract the source directory of the current - * source file. - * - * \see TestCase::GetSourceDir - */ -#define NS_TEST_SOURCEDIR \ - TestCase::GetSourceDir (__FILE__) +#define ASSERT_ON_FAILURE \ + do { \ + if (MustAssertOnFailure ()) \ + { \ + *(int *)0 = 0; \ + } \ + } while (false) + +#define CONTINUE_ON_FAILURE \ + do { \ + if (!MustContinueOnFailure ()) \ + { \ + return; \ + } \ + } while (false) + +#define CONTINUE_ON_FAILURE_RETURNS_BOOL \ + do { \ + if (!MustContinueOnFailure ()) \ + { \ + return IsStatusFailure (); \ + } \ + } while (false) + + // =========================================================================== // Test for equality (generic version) @@ -58,25 +74,24 @@ extern bool gBreakOnFailure; /** * \internal */ -#define NS_TEST_ASSERT_MSG_EQ_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) == (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReportTestFailure (std::string (# actual) + " (actual) == " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - if (!ContinueOnFailure ()) \ - { \ - return; \ - } \ - } \ - } while (false) +#define NS_TEST_ASSERT_MSG_EQ_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) == (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) == " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + CONTINUE_ON_FAILURE; \ + } \ + } while (false) /** * \brief Test that an actual and expected (limit) value are equal and report @@ -110,25 +125,24 @@ extern bool gBreakOnFailure; /** * \internal */ -#define NS_TEST_ASSERT_MSG_EQ_RETURNS_BOOL_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) == (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReportTestFailure (std::string (# actual) + " (actual) == " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - if (!ContinueOnFailure ()) \ - { \ - return true; \ - } \ - } \ - } while (false) +#define NS_TEST_ASSERT_MSG_EQ_RETURNS_BOOL_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) == (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) == " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + CONTINUE_ON_FAILURE_RETURNS_BOOL; \ + } \ + } while (false) /** * \brief Test that an actual and expected (limit) value are equal and report @@ -168,21 +182,23 @@ extern bool gBreakOnFailure; * Required to avoid use of return statement which allows use in methods * (esp. callbacks) returning void. */ -#define NS_TEST_EXPECT_MSG_EQ_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) == (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReportTestFailure (std::string (# actual) + " (actual) == " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - } \ - } while (false) +#define NS_TEST_EXPECT_MSG_EQ_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) == (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) == " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + } \ + } while (false) /** * \brief Test that an actual and expected (limit) value are equal and report @@ -221,27 +237,28 @@ extern bool gBreakOnFailure; /** * \internal */ -#define NS_TEST_ASSERT_MSG_EQ_TOL_INTERNAL(actual, limit, tol, msg, file, line) \ - do { \ - if ((actual) > (limit) + (tol) || (actual) < (limit) - (tol)) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit << " +- " << tol; \ - std::ostringstream condStream; \ - condStream << # actual << " (actual) < " << # limit << " (limit) + " << # tol << " (tol) && " << \ - # actual << " (actual) > " << # limit << " (limit) - " << # tol << " (tol)"; \ - ReportTestFailure (condStream.str (), actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - if (!ContinueOnFailure ()) \ - { \ - return; \ - } \ - } \ - } while (false) +#define NS_TEST_ASSERT_MSG_EQ_TOL_INTERNAL(actual, limit, tol, msg, file, line) \ + do { \ + if ((actual) > (limit) + (tol) || (actual) < (limit) - (tol)) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit << " +- " << tol; \ + std::ostringstream condStream; \ + condStream << #actual << " (actual) < " << #limit \ + << " (limit) + " << #tol << " (tol) && " \ + << #actual << " (actual) > " << #limit \ + << " (limit) - " << #tol << " (tol)"; \ + ReportTestFailure (condStream.str (), actualStream.str (), \ + limitStream.str (), msgStream.str (), \ + file, line); \ + CONTINUE_ON_FAILURE; \ + } \ + } while (false) /** * \brief Test that actual and expected (limit) values are equal to plus or minus @@ -297,27 +314,28 @@ extern bool gBreakOnFailure; /** * \internal */ -#define NS_TEST_ASSERT_MSG_EQ_TOL_RETURNS_BOOL_INTERNAL(actual, limit, tol, msg, file, line) \ - do { \ - if ((actual) > (limit) + (tol) || (actual) < (limit) - (tol)) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit << " +- " << tol; \ - std::ostringstream condStream; \ - condStream << # actual << " (actual) < " << # limit << " (limit) + " << # tol << " (tol) && " << \ - # actual << " (actual) > " << # limit << " (limit) - " << # tol << " (tol)"; \ - ReportTestFailure (condStream.str (), actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - if (!ContinueOnFailure ()) \ - { \ - return true; \ - } \ - } \ - } while (false) +#define NS_TEST_ASSERT_MSG_EQ_TOL_RETURNS_BOOL_INTERNAL(actual, limit, tol, msg, file, line) \ + do { \ + if ((actual) > (limit) + (tol) || (actual) < (limit) - (tol)) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit << " +- " << tol; \ + std::ostringstream condStream; \ + condStream << #actual << " (actual) < " << #limit \ + << " (limit) + " << #tol << " (tol) && " \ + << #actual << " (actual) > " << #limit \ + << " (limit) - " << #tol << " (tol)"; \ + ReportTestFailure (condStream.str (), actualStream.str (), \ + limitStream.str (), msgStream.str (), \ + file, line); \ + CONTINUE_ON_FAILURE_RETURNS_BOOL; \ + } \ + } while (false) /** * \brief Test that actual and expected (limit) values are equal to plus or minus @@ -379,23 +397,27 @@ extern bool gBreakOnFailure; * Required to avoid use of return statement which allows use in methods * (esp. callbacks) returning void. */ -#define NS_TEST_EXPECT_MSG_EQ_TOL_INTERNAL(actual, limit, tol, msg, file, line) \ - do { \ - if ((actual) > (limit) + (tol) || (actual) < (limit) - (tol)) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit << " +- " << tol; \ - std::ostringstream condStream; \ - condStream << # actual << " (actual) < " << # limit << " (limit) + " << # tol << " (tol) && " << \ - # actual << " (actual) > " << # limit << " (limit) - " << # tol << " (tol)"; \ - ReportTestFailure (condStream.str (), actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - } \ - } while (false) +#define NS_TEST_EXPECT_MSG_EQ_TOL_INTERNAL(actual, limit, tol, msg, file, line) \ + do { \ + if ((actual) > (limit) + (tol) || (actual) < (limit) - (tol)) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit << " +- " << tol; \ + std::ostringstream condStream; \ + condStream << #actual << " (actual) < " << #limit \ + << " (limit) + " << #tol << " (tol) && " \ + << #actual << " (actual) > " << #limit \ + << " (limit) - " << #tol << " (tol)"; \ + ReportTestFailure (condStream.str (), actualStream.str (), \ + limitStream.str (), msgStream.str (), \ + file, line); \ + } \ + } while (false) /** * \brief Test that actual and expected (limit) values are equal to plus or minus @@ -455,25 +477,24 @@ extern bool gBreakOnFailure; /** * \internal */ -#define NS_TEST_ASSERT_MSG_NE_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) != (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReportTestFailure (std::string (# actual) + " (actual) != " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - if (!ContinueOnFailure ()) \ - { \ - return; \ - } \ - } \ - } while (false) +#define NS_TEST_ASSERT_MSG_NE_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) != (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) != " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + CONTINUE_ON_FAILURE; \ + } \ + } while (false) /** * \brief Test that an actual and expected (limit) value are equal and report @@ -506,25 +527,24 @@ extern bool gBreakOnFailure; /** * \internal */ -#define NS_TEST_ASSERT_MSG_NE_RETURNS_BOOL_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) != (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReportTestFailure (std::string (# actual) + " (actual) != " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - if (!ContinueOnFailure ()) \ - { \ - return true; \ - } \ - } \ - } while (false) +#define NS_TEST_ASSERT_MSG_NE_RETURNS_BOOL_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) != (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) != " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + CONTINUE_ON_FAILURE_RETURNS_BOOL; \ + } \ + } while (false) /** * \brief Test that an actual and expected (limit) value are equal and report @@ -563,21 +583,23 @@ extern bool gBreakOnFailure; * Required to avoid use of return statement which allows use in methods * (callbacks) returning void. */ -#define NS_TEST_EXPECT_MSG_NE_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) != (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReportTestFailure (std::string (# actual) + " (actual) != " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - } \ - } while (false) +#define NS_TEST_EXPECT_MSG_NE_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) != (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) != " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + } \ + } while (false) /** * \brief Test that an actual and expected (limit) value are equal and report @@ -614,25 +636,24 @@ extern bool gBreakOnFailure; /** * \internal */ -#define NS_TEST_ASSERT_MSG_LT_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) < (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReportTestFailure (std::string (# actual) + " (actual) < " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - if (!ContinueOnFailure ()) \ - { \ - return; \ - } \ - } \ - } while (false) +#define NS_TEST_ASSERT_MSG_LT_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) < (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) < " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + CONTINUE_ON_FAILURE; \ + } \ + } while (false) /** * \brief Test that an actual value is less than a limit and report and abort @@ -658,21 +679,23 @@ extern bool gBreakOnFailure; * Required to avoid use of return statement which allows use in methods * (callbacks) returning void. */ -#define NS_TEST_EXPECT_MSG_LT_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) < (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReportTestFailure (std::string (# actual) + " (actual) < " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - } \ - } while (false) +#define NS_TEST_EXPECT_MSG_LT_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) < (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) < " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + } \ + } while (false) /** * \brief Test that an actual value is less than a limit and report if not. @@ -698,25 +721,24 @@ extern bool gBreakOnFailure; /** * \internal */ -#define NS_TEST_ASSERT_MSG_GT_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) > (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReportTestFailure (std::string (# actual) + " (actual) > " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - if (!ContinueOnFailure ()) \ - { \ - return; \ - } \ - } \ - } while (false) +#define NS_TEST_ASSERT_MSG_GT_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) > (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) > " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + CONTINUE_ON_FAILURE; \ + } \ + } while (false) /** * \brief Test that an actual value is greater than a limit and report and abort @@ -742,21 +764,23 @@ extern bool gBreakOnFailure; * Required to avoid use of return statement which allows use in methods * (callbacks) returning void. */ -#define NS_TEST_EXPECT_MSG_GT_INTERNAL(actual, limit, msg, file, line) \ - do { \ - if (!((actual) > (limit))) \ - { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ - std::ostringstream msgStream; \ - msgStream << msg; \ - std::ostringstream actualStream; \ - actualStream << actual; \ - std::ostringstream limitStream; \ - limitStream << limit; \ - ReporTesttFailure (std::string (# actual) + " (actual) > " + std::string (# limit) + " (limit)", \ - actualStream.str (), limitStream.str (), msgStream.str (), file, line); \ - } \ - } while (false) +#define NS_TEST_EXPECT_MSG_GT_INTERNAL(actual, limit, msg, file, line) \ + do { \ + if (!((actual) > (limit))) \ + { \ + ASSERT_ON_FAILURE; \ + std::ostringstream msgStream; \ + msgStream << msg; \ + std::ostringstream actualStream; \ + actualStream << actual; \ + std::ostringstream limitStream; \ + limitStream << limit; \ + ReportTestFailure (std::string (#actual) + " (actual) > " + \ + std::string (#limit) + " (limit)", \ + actualStream.str (), limitStream.str (), \ + msgStream.str (), file, line); \ + } \ + } while (false) /** * \brief Test that an actual value is greater than a limit and report if not. @@ -795,256 +819,129 @@ namespace ns3 { * \param epsilon The second of double precision floating point numberss to compare * \returns Returns true if the doubles are equal to a precision defined by epsilon */ -bool TestDoubleIsEqual (const double a, const double b, const double epsilon = std::numeric_limits::epsilon ()); +bool TestDoubleIsEqual (const double a, const double b, + const double epsilon = std::numeric_limits::epsilon ()); + +class TestRunnerImpl; /** - * \brief A single test case. + * \brief encapsulates test code + * + * To allow a new test to be run within the ns-3 test framework, users + * need to create subclasses of this base class, override the DoRun method, + * and use the NS_TEST_* macros within DoRun. */ class TestCase { public: - TestCase (std::string name); virtual ~TestCase (); - /** - * \brief Run this test case. - */ - void Run (void); - - /** - * \brief Set the verbosity of this test case. - * \param verbose Whether or not to turn on any output the - * test case may provide. - */ - void SetVerbose (bool verbose); - - /** - * \brief Tell the test case whether or not to continue testing if an error is - * detected. - * - * Typically, test cases depend on some number of individual tests. Often, - * these tests build on functionality that has been previously verified. In - * this case, subsequent test failures may simply be alternate manifestations - * of previously detected errors. Some developers may only be interested in - * seeing the first failure. Other developers may want to see all the - * information they can get, and want to see all failures. This is a matter - * of individual preference, so we allow this behavior to be configured. - * - * \param continueOnFailure If true, run tests after a failure has been - * detected, otherwise stop on the first error. - */ - void SetContinueOnFailure (bool continueOnFailure); - - /** - * \brief Set the name of this test case. - */ - void SetName (std::string name); - - /** - * \brief Get the name of this test case. - */ - std::string GetName (void); - - /** - * \brief Set the base directory of the ns-3 distribution. - */ - void SetBaseDir (std::string dir); - - /** - * \brief Get the base directory of the ns-3 distribution. - */ - std::string GetBaseDir (void); - - /** - * \brief Set the temporary file directory (where to write temporary files). - */ - void SetTempDir (std::string dir); - - /** - * \brief Get the temporary file directory . - */ - std::string GetTempDir (void); - -/** - * \brief Get the source directory of the current source file. - * - * One of the basic models of the test environment is that dedicated test- - * and response vectors live in the same directory as the source file. So it - * is a common operation to figure out what directory a given source file lives - * in. - * - * __FILE__ provides almost all of what we need, but in the gnu toolchain it - * comes out as something like "../src/core/pcap-file-test-suite.cc". - * - * We really don't want to have any dependency on the directory out of which a - * test is run, so we ask that any test-runner give us the base directory of the - * distribution, which is set via TestCase::SetBaseDir(). That string will look - * something like "/home/user/repos/ns-3-allinone/ns-3-dev". - * - * This function stitches the two pieces together and removes the file name to - * return something like "/home/user/repos/ns-3-allinone/ns-3-dev/src/core/". - * - * \param file The current source file name relative to the base directory. - * \returns The current source directory. - * - * \warning Always call this function as GetSourceDir (__FILE__) or use the - * convenience macro NS_TEST_SOURCEDIR. - */ - std::string GetSourceDir (std::string file); - - /** - * \brief Set the stream to which status and result messages will be written. - * - * We really don't want to have to pass an ofstream around to every function - * and we especially don't want to have to make our clients plumb an ofstream - * around so we need to save it. Since file streams are not designed to be - * copied or assigned (what does it mean to have duplicate streams to a file) - * we have to stash a pointer to the stream. - * - * \param ofs output file stream - */ - void SetStream (std::ofstream *ofs); - - /** - * \brief Get the stream to which status and result messages will be written. - */ - std::ofstream *GetStream (void); - - /** - * \brief Manually update the error status of this test case. - * - * This does a logical OR of the error argument with the current error status. - * If the argument is false, it does nothing. If the argument is true, it - * sets the error status to "an error has occurred." - * - * \param error The status to use to update the test case error status - */ - void UpdateErrorStatus (bool error); - - /** - * \brief Manually set the error status of this test case. - * - * This sets the current error status to the argument provided. Can be used - * to reset any previous errors if the argument is false. - * - * \param error The status to use to set the test case error status - */ - void SetErrorStatus (bool error); - - /** - * \brief Get the error status of this test case. - */ - bool GetErrorStatus (void); - - /** - * \brief Should test cases continue running in the presence of errors? - * \returns True if the test case should continue, false otherwise. - */ - bool ContinueOnFailure (void); - - /** - * \brief Issue a test report than the test suite has started running. - */ - void ReportStart (void); - - /** - * \brief Issue a test report than the test case has declared success. - */ - void ReportCaseSuccess (void); - - /** - * \brief Issue a test report than the test case has declared failure. - */ - void ReportCaseFailure (void); - - /** - * \brief Issue a test report than the test case has found an error and - * report the details. - */ - void ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, - std::string file, int32_t line); - - /** - * \brief Issue a test report than the test case has completed its run. - */ - void ReportEnd (void); - protected: /** - * \internal - * \brief Implementation of reporting method for the start of the test case. + * \param name the name of the new test created */ - virtual void DoReportStart (void); + TestCase (std::string name); /** - * \internal - * \brief Implementation of reporting method for success of the test case. + * \brief Add an individual test case to this test suite. + * + * \param testCase Pointer to the test case object to be added. */ - virtual void DoReportCaseSuccess (void); + void AddTestCase (TestCase *testCase); /** - * \internal - * \brief Implementation of reporting method for failure of the test case. + * \param directory the directory where the test data is located + * + * In general, this method is invoked as SetDataDir (NS_TEST_SOURCEDIR); + * However, if a module contains a test directory with subdirectories + * (e.g. src/mesh/test), and the test data (e.g. pcap traces) is located + * in one of these subdirectories, then the variable NS_TEST_SOURCEDIR + * may not work and the user may want to explicitly pass in a + * directory string. + * + * Note that NS_TEST_SOURCEDIR is set in src/wscript for each module */ - virtual void DoReportCaseFailure (void); + void SetDataDir (std::string directory); /** - * \internal - * \brief Implementation of reporting method for failure of the test case. + * This method is deprecated. IsStatusFailure replaces it. */ - virtual void DoReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, - std::string file, int32_t line); + bool GetErrorStatus (void) const NS_DEPRECATED; + /** + * \return true if the tests have failed, false otherwise. + */ + bool IsStatusFailure (void) const; + /** + * \return true if the tests have succeeded, false otherwise. + */ + bool IsStatusSuccess (void) const; + + // The methods below are used only by test macros and should not + // be used by normal users. + void ReportTestFailure (std::string cond, std::string actual, + std::string limit, std::string message, + std::string file, int32_t line); + bool MustAssertOnFailure (void) const; + bool MustContinueOnFailure (void) const; + std::string CreateDataDirFilename (std::string filename); + std::string CreateTempDirFilename (std::string filename); +private: + friend class TestRunnerImpl; /** - * \internal - * \brief Implementation of reporting method for the end of the test case. - */ - virtual void DoReportEnd (void); - - /** - * \internal * \brief Implementation to do any local setup required for this test case. + * + * Subclasses should override this method to perform any costly per-test setup + * before DoRun is invoked. */ virtual void DoSetup (void); /** - * \internal * \brief Implementation to actually run this test case. + * + * Subclasses should override this method to conduct their tests. */ virtual void DoRun (void) = 0; /** - * \internal * \brief Implementation to do any local setup required for this test case. + * + * Subclasses should override this method to perform any costly per-test teardown */ virtual void DoTeardown (void); -private: + // forbid copying objects TestCase (TestCase& tc); TestCase& operator= (TestCase& tc); - SystemWallClockMs m_msClock; + // methods called by TestRunnerImpl + void Run (TestRunnerImpl *runner); + std::string GetName (void) const; + bool IsFailed (void) const; + + + struct Result; + + TestCase *m_parent; + std::vector m_children; + std::string m_dataDir; + TestRunnerImpl *m_runner; + struct Result *m_result; std::string m_name; - bool m_verbose; - bool m_continueOnFailure; - bool m_detailsReported; - std::string m_basedir; - std::string m_tempdir; - std::ofstream *m_ofs; - bool m_error; }; /** * \brief A suite of tests to run. */ -class TestSuite +class TestSuite : public TestCase { public: /** * \enum TestType * \brief Type of test. */ - enum TestType { + enum Type { + ALL = 0, BVT = 1, /**< This test suite implements a Build Verification Test */ UNIT, /**< This test suite implements a Unit Test */ SYSTEM, /**< This test suite implements a System Test */ @@ -1058,226 +955,20 @@ public: * \param name The name of the test suite. * \param type The TestType of the test suite (defaults to UNIT test). */ - TestSuite (std::string name, TestType type = UNIT); - - /** - * \brief Destroy a test suite. - */ - virtual ~TestSuite (); - - /** - * \brief Run this test suite. - * - * \returns Boolean sense of "an error has occurred." - */ - bool Run (void); - - /** - * \brief Add an individual test case to this test suite. - * - * \param testCase Pointer to the test case object to be added. - * \returns Integer assigned as identifer of the provided test case. - */ - uint32_t AddTestCase (TestCase *testCase); - - /** - * \brief Get the number of test cases that have been added to this test suite. - * - * \returns Number of test cases in the suite. - */ - uint32_t GetNTestCases (void); - - /** - * \brief Get the test case at index i. - */ - TestCase *GetTestCase (uint32_t i); + TestSuite (std::string name, Type type = UNIT); /** * \brief get the kind of test this test suite implements * - * \returns the TestType of the suite. + * \returns the Type of the suite. */ - TestType GetTestType (void); - - /** - * \brief Set the verbosity of this test suite. - * \param verbose Whether or not to turn on any output the - * test case may provide. - */ - void SetVerbose (bool verbose); - - /** - * \brief Tell the test suite and its test cases whether or not to continue - * testing if an error is detected. - * - * Typically, test suites depend on some number of test cases, which in turn - * depend on some number of individual tests. Often, these tests build on - * functionality that has been previously verified. In this case, subsequent - * test failures may simply be alternate manifestations of previously detected - * errors. Some developers may only be interested in seeing the first failure. - * Other developers may want to see all the information they can get, and want - * to see all failures. This is a matter of individual preference, so we allow - * this behavior to be configured. - * - * \param continueOnFailure If true, continue running test cases after a - * failure has been detected, otherwise stop on the - * first error. - */ - void SetContinueOnFailure (bool continueOnFailure); - - /** - * \brief Set the name of this test suite. - */ - void SetName (std::string name); - - /** - * \brief Get the name of this test suite. - */ - std::string GetName (void); - - /** - * \brief Set the base directory of the ns-3 distribution. - */ - void SetBaseDir (std::string basedir); - - /** - * \brief Get the base directory of the ns-3 distribution. - */ - std::string GetBaseDir (void); - - /** - * \brief Set the temporary file directory (where to write temporary files). - */ - void SetTempDir (std::string dir); - - /** - * \brief Get the temporary file directory. - */ - std::string GetTempDir (void); - - /** - * \brief Set the stream to which status and result messages will be written. - * - * We really don't want to have to pass an ofstream around to every function - * and we especially don't want to have to make our clients plumb an ofstream - * around so we need to save it. Since file streams are not designed to be - * copied or assigned (what does it mean to have duplicate streams to a file) - * we have to stash a pointer to the stream. - * \param ofs output file stream - */ - void SetStream (std::ofstream *ofs); - - /** - * \brief Manually update the error status of this test suite. - * - * This does a logical OR of the error argument with the current error status. - * If the argument is false, it does nothing. If the argument is true, it - * sets the error status to "an error has occurred." - * - * \param error The status to use to update the test suite error status - */ - void UpdateErrorStatus (bool error); - - /** - * \brief Manually set the error status of this test suite. - * - * This sets the current error status to the argument provided. Can be used - * to reset any previous errors if the argument is false. - * - * \param error The status to use to set the test suite error status - */ - void SetErrorStatus (bool error); - - /** - * \brief Get the error status of this test suite. - */ - bool GetErrorStatus (void); - - /** - * \brief Should test suite continue running cases in the presence of errors? - * \returns True if the test suite should continue, false otherwise. - */ - bool ContinueOnFailure (void); - - /** - * \brief Issue a test report than the test suite has started running. - */ - void ReportStart (void); - - /** - * \brief Issue a test report than the test suite has declared success. - */ - void ReportSuccess (void); - - /** - * \brief Issue a test report than the test suite has found an error. - */ - void ReportFailure (void); - - /** - * \brief Issue a test report than the test suite has completed its run. - */ - void ReportEnd (void); - -protected: - /** - * \internal - * \brief Implementation of reporting method for the start of the test suite. - */ - virtual void DoReportStart (void); - - /** - * \internal - * \brief Implementation of reporting method for success of the test suite. - */ - virtual void DoReportSuccess (void); - - /** - * \internal - * \brief Implementation of reporting method for failure of the test suite. - */ - virtual void DoReportFailure (void); - - /** - * \internal - * \brief Implementation of reporting method for the end of the test suite. - */ - virtual void DoReportEnd (void); - - /** - * \internal - * \brief Implementation to do any local setup required for this test suite. - */ - virtual void DoSetup (void); - - /** - * \internal - * \brief Implementation to actually run this test suite. - */ - virtual void DoRun (void); - - /** - * \internal - * \brief Implementation to do any local setup required for this test suite. - */ - virtual void DoTeardown (void); + TestSuite::Type GetTestType (void); private: - TestSuite (TestSuite& ts); - TestSuite& operator= (TestSuite& ts); + virtual void DoRun (void); - SystemWallClockMs m_msClock; - std::string m_name; - bool m_verbose; - bool m_continueOnFailure; - std::string m_basedir; - std::string m_tempdir; - std::ofstream *m_ofs; - bool m_error; - TestType m_type; - typedef std::vector TestCaseVector_t; - TestCaseVector_t m_tests; + TestSuite::Type m_type; }; /** @@ -1286,9 +977,7 @@ private: class TestRunner { public: - static uint32_t AddTestSuite (TestSuite *testSuite); - static uint32_t GetNTestSuites (void); - static TestSuite *GetTestSuite (uint32_t n); + static int Run (int argc, char *argv[]); }; /** @@ -1313,8 +1002,8 @@ private: TestVectors& operator= (const TestVectors& tv); bool operator== (const TestVectors& tv) const; - typedef std::vector TestVector_t; - TestVector_t m_vectors; + typedef std::vector TestVector; + TestVector m_vectors; }; template diff --git a/src/core/model/time.cc b/src/core/model/time.cc index ddf6008ff..10b393428 100644 --- a/src/core/model/time.cc +++ b/src/core/model/time.cc @@ -20,12 +20,12 @@ * TimeStep support by Emmanuelle Laprise */ #include "nstime.h" -#include "ns3/abort.h" -#include "ns3/global-value.h" -#include "ns3/enum.h" -#include "ns3/string.h" -#include "ns3/object.h" -#include "ns3/config.h" +#include "abort.h" +#include "global-value.h" +#include "enum.h" +#include "string.h" +#include "object.h" +#include "config.h" #include #include diff --git a/src/core/model/timer-impl.h b/src/core/model/timer-impl.h index 75a4e2fa6..c42486485 100644 --- a/src/core/model/timer-impl.h +++ b/src/core/model/timer-impl.h @@ -21,9 +21,9 @@ #define TIMER_IMPL_H #include "simulator.h" -#include "ns3/type-traits.h" -#include "ns3/fatal-error.h" -#include "ns3/int-to-type.h" +#include "type-traits.h" +#include "fatal-error.h" +#include "int-to-type.h" namespace ns3 { diff --git a/src/core/model/timer.h b/src/core/model/timer.h index f4cb21e84..d74cd07b8 100644 --- a/src/core/model/timer.h +++ b/src/core/model/timer.h @@ -20,10 +20,10 @@ #ifndef TIMER_H #define TIMER_H -#include "ns3/fatal-error.h" +#include "fatal-error.h" #include "nstime.h" #include "event-id.h" -#include "ns3/int-to-type.h" +#include "int-to-type.h" namespace ns3 { diff --git a/src/core/model/traced-callback.h b/src/core/model/traced-callback.h index ddf16bc29..cb772c617 100644 --- a/src/core/model/traced-callback.h +++ b/src/core/model/traced-callback.h @@ -280,6 +280,6 @@ TracedCallback::operator() (T1 a1, T2 a2, T3 a3, T4 a4, } } -} //namespace ns3 +} // namespace ns3 #endif /* TRACED_CALLBACK_H */ diff --git a/src/core/model/type-id.cc b/src/core/model/type-id.cc index d52b803a6..e51e1e99b 100644 --- a/src/core/model/type-id.cc +++ b/src/core/model/type-id.cc @@ -53,40 +53,23 @@ public: ns3::Ptr initialValue, ns3::Ptr spec, ns3::Ptr checker); + void SetAttributeInitialValue(uint16_t uid, + uint32_t i, + ns3::Ptr initialValue); uint32_t GetAttributeN (uint16_t uid) const; - std::string GetAttributeName (uint16_t uid, uint32_t i) const; - std::string GetAttributeHelp (uint16_t uid, uint32_t i) const; - uint32_t GetAttributeFlags (uint16_t uid, uint32_t i) const; - ns3::Ptr GetAttributeInitialValue (uint16_t uid, uint32_t i) const; - ns3::Ptr GetAttributeAccessor (uint16_t uid, uint32_t i) const; - ns3::Ptr GetAttributeChecker (uint16_t uid, uint32_t i) const; + struct ns3::TypeId::AttributeInformation GetAttribute(uint16_t uid, uint32_t i) const; void AddTraceSource (uint16_t uid, std::string name, std::string help, ns3::Ptr accessor); uint32_t GetTraceSourceN (uint16_t uid) const; - std::string GetTraceSourceName (uint16_t uid, uint32_t i) const; - std::string GetTraceSourceHelp (uint16_t uid, uint32_t i) const; - ns3::Ptr GetTraceSourceAccessor (uint16_t uid, uint32_t i) const; + struct ns3::TypeId::TraceSourceInformation GetTraceSource(uint16_t uid, uint32_t i) const; bool MustHideFromDocumentation (uint16_t uid) const; private: bool HasTraceSource (uint16_t uid, std::string name); bool HasAttribute (uint16_t uid, std::string name); - struct AttributeInformation { - std::string name; - std::string help; - uint32_t flags; - ns3::Ptr initialValue; - ns3::Ptr param; - ns3::Ptr checker; - }; - struct TraceSourceInformation { - std::string name; - std::string help; - ns3::Ptr accessor; - }; struct IidInformation { std::string name; uint16_t parent; @@ -94,8 +77,8 @@ private: bool hasConstructor; ns3::Callback constructor; bool mustHideFromDocumentation; - std::vector attributes; - std::vector traceSources; + std::vector attributes; + std::vector traceSources; }; typedef std::vector::const_iterator Iterator; @@ -242,7 +225,7 @@ IidManager::HasAttribute (uint16_t uid, struct IidInformation *information = LookupInformation (uid); while (true) { - for (std::vector::const_iterator i = information->attributes.begin (); + for (std::vector::const_iterator i = information->attributes.begin (); i != information->attributes.end (); ++i) { if (i->name == name) @@ -268,7 +251,7 @@ IidManager::AddAttribute (uint16_t uid, std::string help, uint32_t flags, ns3::Ptr initialValue, - ns3::Ptr spec, + ns3::Ptr accessor, ns3::Ptr checker) { struct IidInformation *information = LookupInformation (uid); @@ -277,15 +260,26 @@ IidManager::AddAttribute (uint16_t uid, NS_FATAL_ERROR ("Attribute \"" << name << "\" already registered on tid=\"" << information->name << "\""); } - struct AttributeInformation param; - param.name = name; - param.help = help; - param.flags = flags; - param.initialValue = initialValue; - param.param = spec; - param.checker = checker; - information->attributes.push_back (param); + struct ns3::TypeId::AttributeInformation info; + info.name = name; + info.help = help; + info.flags = flags; + info.initialValue = initialValue; + info.originalInitialValue = initialValue; + info.accessor = accessor; + info.checker = checker; + information->attributes.push_back (info); } +void +IidManager::SetAttributeInitialValue(uint16_t uid, + uint32_t i, + ns3::Ptr initialValue) +{ + struct IidInformation *information = LookupInformation (uid); + NS_ASSERT (i < information->attributes.size ()); + information->attributes[i].initialValue = initialValue; +} + uint32_t @@ -294,47 +288,12 @@ IidManager::GetAttributeN (uint16_t uid) const struct IidInformation *information = LookupInformation (uid); return information->attributes.size (); } -std::string -IidManager::GetAttributeName (uint16_t uid, uint32_t i) const +struct ns3::TypeId::AttributeInformation +IidManager::GetAttribute(uint16_t uid, uint32_t i) const { struct IidInformation *information = LookupInformation (uid); NS_ASSERT (i < information->attributes.size ()); - return information->attributes[i].name; -} -std::string -IidManager::GetAttributeHelp (uint16_t uid, uint32_t i) const -{ - struct IidInformation *information = LookupInformation (uid); - NS_ASSERT (i < information->attributes.size ()); - return information->attributes[i].help; -} -uint32_t -IidManager::GetAttributeFlags (uint16_t uid, uint32_t i) const -{ - struct IidInformation *information = LookupInformation (uid); - NS_ASSERT (i < information->attributes.size ()); - return information->attributes[i].flags; -} -ns3::Ptr -IidManager::GetAttributeInitialValue (uint16_t uid, uint32_t i) const -{ - struct IidInformation *information = LookupInformation (uid); - NS_ASSERT (i < information->attributes.size ()); - return information->attributes[i].initialValue; -} -ns3::Ptr -IidManager::GetAttributeAccessor (uint16_t uid, uint32_t i) const -{ - struct IidInformation *information = LookupInformation (uid); - NS_ASSERT (i < information->attributes.size ()); - return information->attributes[i].param; -} -ns3::Ptr -IidManager::GetAttributeChecker (uint16_t uid, uint32_t i) const -{ - struct IidInformation *information = LookupInformation (uid); - NS_ASSERT (i < information->attributes.size ()); - return information->attributes[i].checker; + return information->attributes[i]; } bool @@ -344,7 +303,7 @@ IidManager::HasTraceSource (uint16_t uid, struct IidInformation *information = LookupInformation (uid); while (true) { - for (std::vector::const_iterator i = information->traceSources.begin (); + for (std::vector::const_iterator i = information->traceSources.begin (); i != information->traceSources.end (); ++i) { if (i->name == name) @@ -376,7 +335,7 @@ IidManager::AddTraceSource (uint16_t uid, NS_FATAL_ERROR ("Trace source \"" << name << "\" already registered on tid=\"" << information->name << "\""); } - struct TraceSourceInformation source; + struct ns3::TypeId::TraceSourceInformation source; source.name = name; source.help = help; source.accessor = accessor; @@ -388,26 +347,12 @@ IidManager::GetTraceSourceN (uint16_t uid) const struct IidInformation *information = LookupInformation (uid); return information->traceSources.size (); } -std::string -IidManager::GetTraceSourceName (uint16_t uid, uint32_t i) const +struct ns3::TypeId::TraceSourceInformation +IidManager::GetTraceSource(uint16_t uid, uint32_t i) const { struct IidInformation *information = LookupInformation (uid); NS_ASSERT (i < information->traceSources.size ()); - return information->traceSources[i].name; -} -std::string -IidManager::GetTraceSourceHelp (uint16_t uid, uint32_t i) const -{ - struct IidInformation *information = LookupInformation (uid); - NS_ASSERT (i < information->traceSources.size ()); - return information->traceSources[i].help; -} -ns3::Ptr -IidManager::GetTraceSourceAccessor (uint16_t uid, uint32_t i) const -{ - struct IidInformation *information = LookupInformation (uid); - NS_ASSERT (i < information->traceSources.size ()); - return information->traceSources[i].accessor; + return information->traceSources[i]; } bool IidManager::MustHideFromDocumentation (uint16_t uid) const @@ -455,24 +400,6 @@ TypeId::LookupByNameFailSafe (std::string name, TypeId *tid) return true; } -bool -TypeId::LookupAttributeByFullName (std::string fullName, struct TypeId::AttributeInfo *info) -{ - std::string::size_type pos = fullName.rfind ("::"); - if (pos == std::string::npos) - { - return 0; - } - std::string tidName = fullName.substr (0, pos); - std::string paramName = fullName.substr (pos+2, fullName.size () - (pos+2)); - TypeId tid; - bool ok = LookupByNameFailSafe (tidName, &tid); - if (!ok) - { - return false; - } - return tid.LookupAttributeByName (paramName, info); -} uint32_t TypeId::GetRegisteredN (void) { @@ -485,7 +412,7 @@ TypeId::GetRegistered (uint32_t i) } bool -TypeId::LookupAttributeByName (std::string name, struct TypeId::AttributeInfo *info) const +TypeId::LookupAttributeByName (std::string name, struct TypeId::AttributeInformation *info) const { TypeId tid; TypeId nextTid = *this; @@ -493,13 +420,10 @@ TypeId::LookupAttributeByName (std::string name, struct TypeId::AttributeInfo *i tid = nextTid; for (uint32_t i = 0; i < tid.GetAttributeN (); i++) { - std::string paramName = tid.GetAttributeName (i); - if (paramName == name) + struct TypeId::AttributeInformation tmp = tid.GetAttribute(i); + if (tmp.name == name) { - info->accessor = tid.GetAttributeAccessor (i); - info->flags = tid.GetAttributeFlags (i); - info->initialValue = tid.GetAttributeInitialValue (i); - info->checker = tid.GetAttributeChecker (i); + *info = tmp; return true; } } @@ -573,10 +497,10 @@ TypeId TypeId::AddAttribute (std::string name, std::string help, const AttributeValue &initialValue, - Ptr param, + Ptr accessor, Ptr checker) { - Singleton::Get ()->AddAttribute (m_tid, name, help, ATTR_SGC, initialValue.Copy (), param, checker); + Singleton::Get ()->AddAttribute (m_tid, name, help, ATTR_SGC, initialValue.Copy (), accessor, checker); return *this; } @@ -585,13 +509,22 @@ TypeId::AddAttribute (std::string name, std::string help, uint32_t flags, const AttributeValue &initialValue, - Ptr param, + Ptr accessor, Ptr checker) { - Singleton::Get ()->AddAttribute (m_tid, name, help, flags, initialValue.Copy (), param, checker); + Singleton::Get ()->AddAttribute (m_tid, name, help, flags, initialValue.Copy (), accessor, checker); return *this; } +bool +TypeId::SetAttributeInitialValue(uint32_t i, + Ptr initialValue) +{ + Singleton::Get ()->SetAttributeInitialValue (m_tid, i, initialValue); + return true; +} + + Callback TypeId::GetConstructor (void) const { @@ -612,49 +545,16 @@ TypeId::GetAttributeN (void) const uint32_t n = Singleton::Get ()->GetAttributeN (m_tid); return n; } -std::string -TypeId::GetAttributeName (uint32_t i) const +struct TypeId::AttributeInformation +TypeId::GetAttribute(uint32_t i) const { - std::string name = Singleton::Get ()->GetAttributeName (m_tid, i); - return name; -} -std::string -TypeId::GetAttributeHelp (uint32_t i) const -{ - std::string help = Singleton::Get ()->GetAttributeHelp (m_tid, i); - return help; + return Singleton::Get ()->GetAttribute(m_tid, i); } std::string TypeId::GetAttributeFullName (uint32_t i) const { - return GetName () + "::" + GetAttributeName (i); -} -Ptr -TypeId::GetAttributeInitialValue (uint32_t i) const -{ - Ptr value = Singleton::Get ()->GetAttributeInitialValue (m_tid, i); - return value; -} -Ptr -TypeId::GetAttributeAccessor (uint32_t i) const -{ - // Used exclusively by the Object class. - Ptr param = Singleton::Get ()->GetAttributeAccessor (m_tid, i); - return param; -} -uint32_t -TypeId::GetAttributeFlags (uint32_t i) const -{ - // Used exclusively by the Object class. - uint32_t flags = Singleton::Get ()->GetAttributeFlags (m_tid, i); - return flags; -} -Ptr -TypeId::GetAttributeChecker (uint32_t i) const -{ - // Used exclusively by the Object class. - Ptr checker = Singleton::Get ()->GetAttributeChecker (m_tid, i); - return checker; + struct TypeId::AttributeInformation info = GetAttribute(i); + return GetName () + "::" + info.name; } uint32_t @@ -662,20 +562,10 @@ TypeId::GetTraceSourceN (void) const { return Singleton::Get ()->GetTraceSourceN (m_tid); } -std::string -TypeId::GetTraceSourceName (uint32_t i) const +struct TypeId::TraceSourceInformation +TypeId::GetTraceSource(uint32_t i) const { - return Singleton::Get ()->GetTraceSourceName (m_tid, i); -} -std::string -TypeId::GetTraceSourceHelp (uint32_t i) const -{ - return Singleton::Get ()->GetTraceSourceHelp (m_tid, i); -} -Ptr -TypeId::GetTraceSourceAccessor (uint32_t i) const -{ - return Singleton::Get ()->GetTraceSourceAccessor (m_tid, i); + return Singleton::Get ()->GetTraceSource(m_tid, i); } TypeId @@ -704,10 +594,10 @@ TypeId::LookupTraceSourceByName (std::string name) const tid = nextTid; for (uint32_t i = 0; i < tid.GetTraceSourceN (); i++) { - std::string srcName = tid.GetTraceSourceName (i); - if (srcName == name) + struct TypeId::TraceSourceInformation info = tid.GetTraceSource (i); + if (info.name == name) { - return tid.GetTraceSourceAccessor (i); + return info.accessor; } } nextTid = tid.GetParent (); diff --git a/src/core/model/type-id.h b/src/core/model/type-id.h index f79514a1e..32f129f09 100644 --- a/src/core/model/type-id.h +++ b/src/core/model/type-id.h @@ -22,6 +22,7 @@ #include "attribute.h" #include "attribute-accessor-helper.h" +#include "trace-source-accessor.h" #include "attribute-helper.h" #include "callback.h" #include @@ -30,7 +31,6 @@ namespace ns3 { class ObjectBase; -class TraceSourceAccessor; /** * \brief a unique identifier for an interface. @@ -53,6 +53,20 @@ public: ATTR_CONSTRUCT = 1<<2, /**< The attribute can be written at construction-time */ ATTR_SGC = ATTR_GET | ATTR_SET | ATTR_CONSTRUCT, /**< The attribute can be read, and written at any time */ }; + struct AttributeInformation { + std::string name; + std::string help; + uint32_t flags; + ns3::Ptr originalInitialValue; + ns3::Ptr initialValue; + ns3::Ptr accessor; + ns3::Ptr checker; + }; + struct TraceSourceInformation { + std::string name; + std::string help; + ns3::Ptr accessor; + }; /** * \param name the name of the requested TypeId @@ -134,16 +148,10 @@ public: uint32_t GetAttributeN (void) const; /** * \param i index into attribute array - * \returns the name associated to the attribute whose + * \returns the information associated to attribute whose * index is i. */ - std::string GetAttributeName (uint32_t i) const; - /** - * \param i index into attribute array. - * \returns the help text associated to the attribute whose - * index is i. - */ - std::string GetAttributeHelp (uint32_t i) const; + struct TypeId::AttributeInformation GetAttribute(uint32_t i) const; /** * \param i index into attribute array * \returns the full name associated to the attribute whose @@ -151,28 +159,6 @@ public: */ std::string GetAttributeFullName (uint32_t i) const; - /** - * \param i index into attribute array. - * \returns the value with which the associated attribute - * is initialized. - */ - Ptr GetAttributeInitialValue (uint32_t i) const; - /** - * \param i index into attribute array. - * \returns the flags associated to the requested attribute. - */ - uint32_t GetAttributeFlags (uint32_t i) const; - /** - * \param i index into attribute array. - * \returns the checker associated to the requested attribute. - */ - Ptr GetAttributeChecker (uint32_t i) const; - /** - * \param i index into attribute array. - * \returns the accessor associated to the requested attribute. - */ - Ptr GetAttributeAccessor (uint32_t i) const; - /** * \returns a callback which can be used to instanciate an object * of this type. @@ -192,21 +178,9 @@ public: uint32_t GetTraceSourceN (void) const; /** * \param i index into trace source array. - * \returns the name of the requested trace source. + * \returns detailed information about the requested trace source. */ - std::string GetTraceSourceName (uint32_t i) const; - /** - * \param i index into trace source array. - * \returns the help text of the requested trace source. - */ - std::string GetTraceSourceHelp (uint32_t i) const; - /** - * \param i index into trace source array. - * \returns the accessor used to get access to the requested - * trace source. - */ - Ptr GetTraceSourceAccessor (uint32_t i) const; - + struct TypeId::TraceSourceInformation GetTraceSource(uint32_t i) const; /** * \param tid the TypeId of the base class. @@ -261,6 +235,14 @@ public: Ptr accessor, Ptr checker); + /** + * \param i the attribute to manipulate + * \param initialValue the new initial value to use for this attribute. + * \returns true if the call was successfuly, false otherwise. + */ + bool SetAttributeInitialValue(uint32_t i, + Ptr initialValue); + /** * \param name the name of the new attribute * \param help some help text which describes the purpose of this @@ -294,26 +276,13 @@ public: TypeId HideFromDocumentation (void); - /** - * \brief store together a set of attribute properties. - */ - struct AttributeInfo { - // The accessor associated to the attribute. - Ptr accessor; - // The initial value associated to the attribute. - Ptr initialValue; - // The set of access control flags associated to the attribute. - uint32_t flags; - // The checker associated to the attribute. - Ptr checker; - }; /** * \param name the name of the requested attribute - * \param info a pointer to the TypeId::AttributeInfo data structure + * \param info a pointer to the TypeId::AttributeInformation data structure * where the result value of this method will be stored. * \returns true if the requested attribute could be found, false otherwise. */ - bool LookupAttributeByName (std::string name, struct AttributeInfo *info) const; + bool LookupAttributeByName (std::string name, struct AttributeInformation *info) const; /** * \param name the name of the requested trace source * \returns the trace source accessor which can be used to connect and disconnect @@ -323,15 +292,6 @@ public: */ Ptr LookupTraceSourceByName (std::string name) const; - - /** - * \param fullName the full name of the requested attribute - * \param info a pointer to the TypeId::AttributeInfo data structure - * where the result value of this method will be stored. - * \returns the Accessor associated to the requested attribute - */ - static bool LookupAttributeByFullName (std::string fullName, struct AttributeInfo *info); - /** * \returns the internal integer which uniquely identifies this * TypeId. diff --git a/src/core/model/type-name.cc b/src/core/model/type-name.cc index aad188bd4..58f099e76 100644 --- a/src/core/model/type-name.cc +++ b/src/core/model/type-name.cc @@ -23,4 +23,4 @@ DEF_TYPE (float); DEF_TYPE (double); -} //namespace ns3 +} // namespace ns3 diff --git a/src/core/model/type-name.h b/src/core/model/type-name.h index 9971abc4b..4bd94aa5d 100644 --- a/src/core/model/type-name.h +++ b/src/core/model/type-name.h @@ -31,6 +31,6 @@ DEF_TYPE (double); #undef DEF_TYPE -} //namespace ns3 +} // namespace ns3 #endif /* TYPE_NAME_H */ diff --git a/src/core/model/unix-fd-reader.cc b/src/core/model/unix-fd-reader.cc index e5a6ae413..71e82e4cd 100644 --- a/src/core/model/unix-fd-reader.cc +++ b/src/core/model/unix-fd-reader.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company @@ -24,11 +24,11 @@ #include #include -#include "ns3/log.h" -#include "ns3/fatal-error.h" -#include "ns3/simple-ref-count.h" -#include "ns3/system-thread.h" -#include "ns3/simulator.h" +#include "log.h" +#include "fatal-error.h" +#include "simple-ref-count.h" +#include "system-thread.h" +#include "simulator.h" #include "unix-fd-reader.h" @@ -110,15 +110,13 @@ void FdReader::Stop (void) { m_stop = true; - // signal the read thread and close the write end of the event pipe + // signal the read thread if (m_evpipe[1] != -1) { char zero = 0; ssize_t len = write (m_evpipe[1], &zero, sizeof (zero)); if (len != sizeof (zero)) NS_LOG_WARN ("incomplete write(): " << strerror (errno)); - close (m_evpipe[1]); - m_evpipe[1] = -1; } // join the read thread @@ -128,6 +126,13 @@ void FdReader::Stop (void) m_readThread = 0; } + // close the write end of the event pipe + if (m_evpipe[1] != -1) + { + close (m_evpipe[1]); + m_evpipe[1] = -1; + } + // close the read end of the event pipe if (m_evpipe[0] != -1) { @@ -167,26 +172,26 @@ void FdReader::Run (void) if (FD_ISSET (m_evpipe[0], &readfds)) { // drain the event pipe - ssize_t len; for (;;) { char buf[1024]; - len = read (m_evpipe[0], buf, sizeof (buf)); + ssize_t len = read (m_evpipe[0], buf, sizeof (buf)); if (len == 0) { NS_FATAL_ERROR ("event pipe closed"); } if (len < 0) { - break; + if (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK) + { + break; + } + else + { + NS_FATAL_ERROR ("read() failed: " << strerror (errno)); + } } } - - if (len < 0 && errno != EAGAIN && errno != EWOULDBLOCK) - { - NS_LOG_WARN ("read() failed: " << strerror (errno)); - break; - } } if (m_stop) diff --git a/src/core/model/unix-fd-reader.h b/src/core/model/unix-fd-reader.h index 4f86b1fde..cb9b64aa8 100644 --- a/src/core/model/unix-fd-reader.h +++ b/src/core/model/unix-fd-reader.h @@ -1,5 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ - +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * @@ -24,9 +23,9 @@ #include -#include "ns3/callback.h" -#include "ns3/system-thread.h" -#include "ns3/event-id.h" +#include "callback.h" +#include "system-thread.h" +#include "event-id.h" namespace ns3 { @@ -110,4 +109,4 @@ private: } // namespace ns3 -#endif // UNIX_FD_READER_H +#endif /* UNIX_FD_READER_H */ diff --git a/src/core/model/unix-system-wall-clock-ms.cc b/src/core/model/unix-system-wall-clock-ms.cc index c4f6cc938..68f70fb98 100644 --- a/src/core/model/unix-system-wall-clock-ms.cc +++ b/src/core/model/unix-system-wall-clock-ms.cc @@ -159,4 +159,4 @@ SystemWallClockMs::GetElapsedSystem (void) const return m_priv->GetElapsedSystem (); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/core/model/vector.cc b/src/core/model/vector.cc index feb218e09..66b12200b 100644 --- a/src/core/model/vector.cc +++ b/src/core/model/vector.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * @@ -18,7 +18,7 @@ * Author: Mathieu Lacage */ #include "vector.h" -#include "ns3/fatal-error.h" +#include "fatal-error.h" #include #include diff --git a/src/core/model/vector.h b/src/core/model/vector.h index 1d5851dc9..eaf081916 100644 --- a/src/core/model/vector.h +++ b/src/core/model/vector.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * @@ -20,8 +20,8 @@ #ifndef NS3_VECTOR_H #define NS3_VECTOR_H -#include "ns3/attribute.h" -#include "ns3/attribute-helper.h" +#include "attribute.h" +#include "attribute-helper.h" namespace ns3 { diff --git a/src/core/model/wall-clock-synchronizer.cc b/src/core/model/wall-clock-synchronizer.cc index 205421108..393ab2427 100644 --- a/src/core/model/wall-clock-synchronizer.cc +++ b/src/core/model/wall-clock-synchronizer.cc @@ -19,8 +19,8 @@ #include #include -#include "ns3/log.h" -#include "ns3/system-condition.h" +#include "log.h" +#include "system-condition.h" #include "wall-clock-synchronizer.h" @@ -420,4 +420,4 @@ WallClockSynchronizer::TimevalAdd ( } } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/core/model/wall-clock-synchronizer.h b/src/core/model/wall-clock-synchronizer.h index 015123ecc..64755e008 100644 --- a/src/core/model/wall-clock-synchronizer.h +++ b/src/core/model/wall-clock-synchronizer.h @@ -19,7 +19,7 @@ #ifndef WALL_CLOCK_CLOCK_SYNCHRONIZER_H #define WALL_CLOCK_CLOCK_SYNCHRONIZER_H -#include "ns3/system-condition.h" +#include "system-condition.h" #include "synchronizer.h" namespace ns3 { @@ -191,6 +191,6 @@ protected: SystemCondition m_condition; }; -}; // namespace ns3 +} // namespace ns3 #endif /* WALL_CLOCK_SYNCHRONIZER_H */ diff --git a/src/core/model/win32-system-wall-clock-ms.cc b/src/core/model/win32-system-wall-clock-ms.cc index 812c882b5..076d9ebd7 100644 --- a/src/core/model/win32-system-wall-clock-ms.cc +++ b/src/core/model/win32-system-wall-clock-ms.cc @@ -152,4 +152,4 @@ SystemWallClockMs::GetElapsedSystem (void) const return m_priv->GetElapsedSystem (); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/core/test/attribute-test-suite.cc b/src/core/test/attribute-test-suite.cc index fb12c378e..e0f7e37c8 100644 --- a/src/core/test/attribute-test-suite.cc +++ b/src/core/test/attribute-test-suite.cc @@ -21,6 +21,7 @@ #include "ns3/boolean.h" #include "ns3/integer.h" #include "ns3/uinteger.h" +#include "ns3/config.h" #include "ns3/enum.h" #include "ns3/string.h" #include "ns3/random-variable.h" @@ -280,31 +281,17 @@ AttributeTestCase::CheckGetCodePaths ( template <> void AttributeTestCase::DoRun (void) { - AttributeList attrs; Ptr p; bool ok; - // - // Test setting a boolean via string representation using AttributeList. - // - ok = attrs.SetFailSafe ("ns3::AttributeObjectTest::TestBoolName", StringValue ("false")); - NS_TEST_ASSERT_MSG_EQ (ok, true, "Could not SetFailSafe() \"ns3::AttributeObjectTest::TestBoolName\" into AttributeList"); - - // - // Create an object using that attribute list (which should therefore have the - // boolean from above set to false. - // - p = CreateObjectWithAttributes (attrs); - NS_TEST_ASSERT_MSG_NE (p, 0, "Unable to CreateObjectWithAttributes"); - - ok = CheckGetCodePaths (p, "TestBoolName", "false", BooleanValue (false)); - NS_TEST_ASSERT_MSG_EQ (ok, true, "Attribute not set properly from CreateObjectWithAttributes"); + p = CreateObject (); + NS_TEST_ASSERT_MSG_NE (p, 0, "Unable to CreateObject"); // // Set the default value of the BooleanValue and create an object. The new // default value should stick. // - AttributeList::GetGlobal ()->SetFailSafe ("ns3::AttributeObjectTest::TestBoolName", StringValue ("true")); + Config::SetDefault ("ns3::AttributeObjectTest::TestBoolName", StringValue ("true")); p = CreateObject (); NS_TEST_ASSERT_MSG_NE (p, 0, "Unable to CreateObject"); @@ -315,7 +302,7 @@ AttributeTestCase::DoRun (void) // Set the default value of the BooleanValue the other way and create an object. // The new default value should stick. // - AttributeList::GetGlobal ()->SetFailSafe ("ns3::AttributeObjectTest::TestBoolName", StringValue ("false")); + Config::SetDefaultFailSafe ("ns3::AttributeObjectTest::TestBoolName", StringValue ("false")); p = CreateObject (); NS_TEST_ASSERT_MSG_NE (p, 0, "Unable to CreateObject"); @@ -342,22 +329,10 @@ AttributeTestCase::DoRun (void) NS_TEST_ASSERT_MSG_EQ (ok, true, "Attribute not set properly by SetAttributeFailSafe() via StringValue"); // - // Create an object using individually provided StringValue Attribute. + // Create an object using // - p = CreateObjectWithAttributes ("TestBoolName", StringValue ("true")); - NS_TEST_ASSERT_MSG_NE (p, 0, "Unable to CreateObjectWithAttributes"); - - ok = CheckGetCodePaths (p, "TestBoolName", "true", BooleanValue (true)); - NS_TEST_ASSERT_MSG_EQ (ok, true, "Attribute not set properly by CreateObjectWithAttributes() with StringValue"); - - // - // Create an object using individually provided BooleanValue Attribute. - // - p = CreateObjectWithAttributes ("TestBoolName", BooleanValue (false)); - NS_TEST_ASSERT_MSG_NE (p, 0, "Unable to CreateObjectWithAttributes"); - - ok = CheckGetCodePaths (p, "TestBoolName", "false", BooleanValue (false)); - NS_TEST_ASSERT_MSG_EQ (ok, true, "Attribute not set properly by CreateObjectWithAttributes() with BooleanValue"); + p = CreateObject (); + NS_TEST_ASSERT_MSG_NE (p, 0, "Unable to CreateObject"); // // The previous object-based tests checked access directly. Now check through @@ -1044,17 +1019,6 @@ PointerAttributeTestCase::DoRun (void) p->GetAttribute ("Pointer", ptr); Ptr x = ptr.Get (); NS_TEST_ASSERT_MSG_EQ (x, 0, "Unexpectedly retreived unrelated Ptr from stored Ptr"); - - // - // We should be able to create the object From a list of attributes. - // - p = CreateObjectWithAttributes ("Pointer", PointerValue (Create ())); - NS_TEST_ASSERT_MSG_NE (p, 0, "Could not create Object with PointerValue Attribute in Attribute List"); - - derived = 0; - p->GetAttribute ("Pointer", ptr); - derived = ptr.Get (); - NS_TEST_ASSERT_MSG_NE (p, 0, "Retrieved zero PointerValue Attribute after initializing to non-zero Ptr"); } // =========================================================================== diff --git a/src/core/wscript b/src/core/wscript index 62aa512e5..a2d3cfd35 100644 --- a/src/core/wscript +++ b/src/core/wscript @@ -3,7 +3,7 @@ import sys import Options -def set_options(opt): +def options(opt): opt.add_option('--int64x64-as-double', help=('Whether to use a double floating point' ' type for int64x64 values' @@ -15,9 +15,8 @@ def set_options(opt): def configure(conf): - a = conf.check(type_name='uint128_t', define_name='HAVE_UINT128_T') - b = conf.check(type_name='__uint128_t', define_name='HAVE___UINT128_T') - + a = conf.check_nonfatal(type_name='uint128_t', define_name='HAVE_UINT128_T') + b = conf.check_nonfatal(type_name='__uint128_t', define_name='HAVE___UINT128_T') if Options.options.int64x64_as_double: conf.define('INT64X64_USE_DOUBLE', 1) @@ -32,18 +31,20 @@ def configure(conf): conf.env['INT64X64_USE_CAIRO'] = 1 highprec = 'cairo 128-bit integer' - conf.check_message_custom('high precision time', 'implementation', highprec) + conf.msg('Checking high precision time implementation', highprec) - conf.check(header_name='stdint.h', define_name='HAVE_STDINT_H') - conf.check(header_name='inttypes.h', define_name='HAVE_INTTYPES_H') + conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H') + conf.check_nonfatal(header_name='inttypes.h', define_name='HAVE_INTTYPES_H') + conf.check_nonfatal(header_name='sys/inttypes.h', define_name='HAVE_SYS_INT_TYPES_H') + conf.check_nonfatal(header_name='sys/types.h', define_name='HAVE_SYS_TYPES_H') + conf.check_nonfatal(header_name='sys/stat.h', define_name='HAVE_SYS_STAT_H') + conf.check_nonfatal(header_name='dirent.h', define_name='HAVE_DIRENT_H') - conf.check(header_name='sys/inttypes.h', define_name='HAVE_SYS_INT_TYPES_H') - - if conf.check(header_name='stdlib.h'): + if conf.check_nonfatal(header_name='stdlib.h'): conf.define('HAVE_STDLIB_H', 1) conf.define('HAVE_GETENV', 1) - conf.check(header_name='signal.h', define_name='HAVE_SIGNAL_H') + conf.check_nonfatal(header_name='signal.h', define_name='HAVE_SIGNAL_H') # Check for POSIX threads test_env = conf.env.copy() @@ -60,10 +61,9 @@ int main () return 0; } """ - have_pthread = conf.check(header_name='pthread.h', define_name='HAVE_PTHREAD_H', - env=test_env, fragment=fragment, - errmsg='Could not find pthread support (build/config.log for details)', - mandatory=False) + have_pthread = conf.check_nonfatal(header_name='pthread.h', define_name='HAVE_PTHREAD_H', + env=test_env, fragment=fragment, + errmsg='Could not find pthread support (build/config.log for details)') if have_pthread: # darwin accepts -pthread but prints a warning saying it is ignored if Options.platform != 'darwin' and Options.platform != 'cygwin': @@ -77,12 +77,12 @@ int main () conf.env['ENABLE_THREADING'], " include not detected") - conf.check(header_name='stdint.h', define_name='HAVE_STDINT_H') - conf.check(header_name='inttypes.h', define_name='HAVE_INTTYPES_H') + conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H') + conf.check_nonfatal(header_name='inttypes.h', define_name='HAVE_INTTYPES_H') - conf.check(header_name='sys/inttypes.h', define_name='HAVE_SYS_INT_TYPES_H') + conf.check_nonfatal(header_name='sys/inttypes.h', define_name='HAVE_SYS_INT_TYPES_H') - if not conf.check(lib='rt', uselib='RT', define_name='HAVE_RT'): + if not conf.check_nonfatal(lib='rt', uselib_store='RT', define_name='HAVE_RT'): conf.report_optional_feature("RealTime", "Real Time Simulator", False, "librt is not available") else: @@ -117,7 +117,7 @@ def build(bld): 'model/log.cc', 'model/breakpoint.cc', 'model/type-id.cc', - 'model/attribute-list.cc', + 'model/attribute-construction-list.cc', 'model/object-base.cc', 'model/ref-count-base.cc', 'model/object.cc', @@ -135,8 +135,7 @@ def build(bld): 'model/int64x64.cc', 'model/string.cc', 'model/pointer.cc', - 'model/object-vector.cc', - 'model/object-map.cc', + 'model/object-ptr-container.cc', 'model/object-factory.cc', 'model/global-value.cc', 'model/trace-source-accessor.cc', @@ -145,6 +144,7 @@ def build(bld): 'model/names.cc', 'model/vector.cc', 'model/fatal-impl.cc', + 'model/system-path.cc', ] core_test = bld.create_ns3_module_test_library('core') @@ -168,7 +168,7 @@ def build(bld): 'test/watchdog-test-suite.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'core' headers.source = [ 'model/nstime.h', @@ -197,7 +197,7 @@ def build(bld): 'model/ref-count-base.h', 'model/simple-ref-count.h', 'model/type-id.h', - 'model/attribute-list.h', + 'model/attribute-construction-list.h', 'model/ptr.h', 'model/object.h', 'model/log.h', @@ -229,6 +229,7 @@ def build(bld): 'model/traced-value.h', 'model/trace-source-accessor.h', 'model/config.h', + 'model/object-ptr-container.h', 'model/object-vector.h', 'model/object-map.h', 'model/deprecated.h', @@ -237,6 +238,7 @@ def build(bld): 'model/vector.h', 'model/default-deleter.h', 'model/fatal-impl.h', + 'model/system-path.h' ] if sys.platform == 'win32': @@ -249,7 +251,7 @@ def build(bld): ]) - env = bld.env_of_name('default') + env = bld.env if env['INT64X64_USE_DOUBLE']: headers.source.extend(['model/int64x64-double.h']) elif env['INT64X64_USE_128']: @@ -273,11 +275,8 @@ def build(bld): 'model/realtime-simulator-impl.cc', 'model/wall-clock-synchronizer.cc', ]) - core.uselib = 'RT' - core_test.uselib = 'RT' - else: - core.uselib = '' - core_test.uselib = '' + core.use.append('RT') + core_test.use.append('RT') if env['ENABLE_THREADING']: core.source.extend([ @@ -286,8 +285,8 @@ def build(bld): 'model/unix-system-mutex.cc', 'model/unix-system-condition.cc', ]) - core.uselib = core.uselib + ' PTHREAD' - core_test.uselib = core_test.uselib + ' PTHREAD' + core.use.append('PTHREAD') + core_test.use.append('PTHREAD') headers.source.extend([ 'model/unix-fd-reader.h', 'model/system-mutex.h', @@ -296,8 +295,8 @@ def build(bld): ]) if env['ENABLE_GSL']: - core.uselib = core.uselib + ' GSL GSLCBLAS M' - core_test.uselib = core_test.uselib + ' GSL GSLCBLAS M' + core.use.extend(['GSL', 'GSLCBLAS', 'M']) + core_test.use.extend(['GSL', 'GSLCBLAS', 'M']) core_test.source.extend(['test/rng-test-suite.cc']) if (bld.env['ENABLE_EXAMPLES']): diff --git a/src/create-module.py b/src/create-module.py new file mode 100755 index 000000000..38622662b --- /dev/null +++ b/src/create-module.py @@ -0,0 +1,207 @@ +#! /usr/bin/env python +import sys +from optparse import OptionParser +import os + + +WSCRIPT_TEMPLATE = '''# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- + +# def options(opt): +# pass + +# def configure(conf): +# conf.check_nonfatal(header_name='stdint.h', define_name='HAVE_STDINT_H') + +def build(bld): + module = bld.create_ns3_module(%(MODULE)r, ['core']) + module.source = [ + 'model/%(MODULE)s.cc', + 'helper/%(MODULE)s-helper.cc', + ] + + headers = bld.new_task_gen(features=['ns3header']) + headers.module = %(MODULE)r + headers.source = [ + 'model/%(MODULE)s.h', + 'helper/%(MODULE)s-helper.h', + ] + + if bld.env.ENABLE_EXAMPLES: + bld.add_subdirs('examples') + + # bld.ns3_python_bindings() + +''' + + + +MODEL_CC_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ + +#include "%(MODULE)s.h" + +namespace ns3 { + +/* ... */ + + +} + +''' + + + +MODEL_H_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +#ifndef %(INCLUDE_GUARD)s +#define %(INCLUDE_GUARD)s + +namespace ns3 { + +/* ... */ + +} + +#endif /* %(INCLUDE_GUARD)s */ + +''' + + + +HELPER_CC_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ + +#include "%(MODULE)s-helper.h" + +namespace ns3 { + +/* ... */ + + +} + +''' + + + +HELPER_H_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +#ifndef %(INCLUDE_GUARD)s +#define %(INCLUDE_GUARD)s + +#include "ns3/%(MODULE)s.h" + +namespace ns3 { + +/* ... */ + +} + +#endif /* %(INCLUDE_GUARD)s */ + +''' + + +EXAMPLES_WSCRIPT_TEMPLATE = '''# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- + +def build(bld): + obj = bld.create_ns3_program('%(MODULE)s-example', [%(MODULE)r]) + obj.source = '%(MODULE)s-example.cc' + +''' + +EXAMPLE_CC_TEMPLATE = '''/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ + +#include "ns3/core-module.h" +#include "ns3/%(MODULE)s-helper.h" + +using namespace ns3; + + +int +main (int argc, char *argv[]) +{ + bool verbose = true; + + CommandLine cmd; + cmd.AddValue ("verbose", "Tell application to log if true", verbose); + + cmd.Parse (argc,argv); + + /* ... */ + + Simulator::Run (); + Simulator::Destroy (); + return 0; +} + + +''' + + +def main(argv): + parser = OptionParser(usage=("Usage: %prog [options] modulename\n" + "Utility script to create a basic template for a new ns-3 module")) + (options, args) = parser.parse_args() + if len(args) != 1: + parser.print_help() + return 1 + + modname = args[0] + assert os.path.sep not in modname + + moduledir = os.path.join(os.path.dirname(__file__), modname) + + if os.path.exists(moduledir): + print >> sys.stderr, "Module %r already exists" % (modname,) + return 2 + + os.mkdir(moduledir) + wscript = file(os.path.join(moduledir, "wscript"), "wt") + wscript.write(WSCRIPT_TEMPLATE % dict(MODULE=modname)) + wscript.close() + + + # + # model + # + modeldir = os.path.join(moduledir, "model") + os.mkdir(modeldir) + + model_cc = file(os.path.join(moduledir, "model", "%s.cc" % modname), "wt") + model_cc.write(MODEL_CC_TEMPLATE % dict(MODULE=modname)) + model_cc.close() + + model_h = file(os.path.join(moduledir, "model", "%s.h" % modname), "wt") + model_h.write(MODEL_H_TEMPLATE % dict(MODULE=modname, INCLUDE_GUARD="__%s_H__" % (modname.upper()),)) + model_h.close() + + + + # + # helper + # + helperdir = os.path.join(moduledir, "helper") + os.mkdir(helperdir) + + helper_cc = file(os.path.join(moduledir, "helper", "%s-helper.cc" % modname), "wt") + helper_cc.write(HELPER_CC_TEMPLATE % dict(MODULE=modname)) + helper_cc.close() + + helper_h = file(os.path.join(moduledir, "helper", "%s-helper.h" % modname), "wt") + helper_h.write(HELPER_H_TEMPLATE % dict(MODULE=modname, INCLUDE_GUARD="__%s_HELPER_H__" % (modname.upper()),)) + helper_h.close() + + + examplesdir = os.path.join(moduledir, "examples") + os.mkdir(examplesdir) + + examples_wscript = file(os.path.join(examplesdir, "wscript"), "wt") + examples_wscript.write(EXAMPLES_WSCRIPT_TEMPLATE % dict(MODULE=modname)) + examples_wscript.close() + + example_cc = file(os.path.join(moduledir, "examples", "%s-example.cc" % modname), "wt") + example_cc.write(EXAMPLE_CC_TEMPLATE % dict(MODULE=modname)) + example_cc.close() + + + return 0 + +if __name__ == '__main__': + sys.exit(main(sys.argv)) diff --git a/src/csma-layout/wscript b/src/csma-layout/wscript index 79f0062e9..c692d3511 100644 --- a/src/csma-layout/wscript +++ b/src/csma-layout/wscript @@ -5,7 +5,7 @@ def build(bld): obj.source = [ 'model/csma-star-helper.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'csma-layout' headers.source = [ 'model/csma-star-helper.h', diff --git a/src/csma/bindings/modulegen__gcc_ILP32.py b/src/csma/bindings/modulegen__gcc_ILP32.py index 5d22d8d22..5cdce52da 100644 --- a/src/csma/bindings/modulegen__gcc_ILP32.py +++ b/src/csma/bindings/modulegen__gcc_ILP32.py @@ -30,8 +30,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## backoff.h (module 'csma'): ns3::Backoff [class] module.add_class('Backoff') ## buffer.h (module 'network'): ns3::Buffer [class] @@ -115,7 +117,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -126,12 +128,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## random-variable.h (module 'core'): ns3::ZetaVariable [class] @@ -190,12 +192,16 @@ def register_types(module): 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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -293,7 +299,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Backoff_methods(root_module, root_module['ns3::Backoff']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) @@ -335,9 +342,9 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -367,7 +374,9 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -598,41 +607,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Backoff_methods(root_module, cls): @@ -1742,10 +1753,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1772,6 +1783,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1786,10 +1799,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2418,23 +2427,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2442,26 +2441,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2492,14 +2476,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2507,11 +2486,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2536,22 +2510,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2561,6 +2530,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2575,19 +2548,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -2612,22 +2604,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -3262,6 +3238,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -3418,6 +3406,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3498,6 +3513,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4215,10 +4235,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4233,11 +4261,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/csma/bindings/modulegen__gcc_LP64.py b/src/csma/bindings/modulegen__gcc_LP64.py index 5d22d8d22..5cdce52da 100644 --- a/src/csma/bindings/modulegen__gcc_LP64.py +++ b/src/csma/bindings/modulegen__gcc_LP64.py @@ -30,8 +30,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## backoff.h (module 'csma'): ns3::Backoff [class] module.add_class('Backoff') ## buffer.h (module 'network'): ns3::Buffer [class] @@ -115,7 +117,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -126,12 +128,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## random-variable.h (module 'core'): ns3::ZetaVariable [class] @@ -190,12 +192,16 @@ def register_types(module): 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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -293,7 +299,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Backoff_methods(root_module, root_module['ns3::Backoff']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) @@ -335,9 +342,9 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -367,7 +374,9 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -598,41 +607,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Backoff_methods(root_module, cls): @@ -1742,10 +1753,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1772,6 +1783,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1786,10 +1799,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2418,23 +2427,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2442,26 +2441,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2492,14 +2476,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2507,11 +2486,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2536,22 +2510,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2561,6 +2530,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2575,19 +2548,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -2612,22 +2604,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -3262,6 +3238,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -3418,6 +3406,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3498,6 +3513,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4215,10 +4235,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4233,11 +4261,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/csma/model/backoff.h b/src/csma/model/backoff.h index 8639b910a..20f3f5ae0 100644 --- a/src/csma/model/backoff.h +++ b/src/csma/model/backoff.h @@ -98,5 +98,4 @@ private: } // namespace ns3 -#endif // BACKOFF_H - +#endif /* BACKOFF_H */ diff --git a/src/csma/model/csma-net-device.h b/src/csma/model/csma-net-device.h index cd63fa41b..56f3491f1 100644 --- a/src/csma/model/csma-net-device.h +++ b/src/csma/model/csma-net-device.h @@ -710,6 +710,6 @@ private: uint32_t m_mtu; }; -}; // namespace ns3 +} // namespace ns3 -#endif // CSMA_NET_DEVICE_H +#endif /* CSMA_NET_DEVICE_H */ diff --git a/src/csma/wscript b/src/csma/wscript index c5d10af5a..3b6294c21 100644 --- a/src/csma/wscript +++ b/src/csma/wscript @@ -8,7 +8,7 @@ def build(bld): 'model/csma-channel.cc', 'helper/csma-helper.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'csma' headers.source = [ 'model/backoff.h', diff --git a/src/dsdv/bindings/modulegen__gcc_ILP32.py b/src/dsdv/bindings/modulegen__gcc_ILP32.py index ec2b0ed62..c78a6818c 100644 --- a/src/dsdv/bindings/modulegen__gcc_ILP32.py +++ b/src/dsdv/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -117,7 +119,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -134,10 +136,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -174,10 +176,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -192,6 +196,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -221,7 +227,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -272,6 +278,7 @@ def register_types(module): 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']) + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') ## Register a nested module for the namespace FatalImpl @@ -310,7 +317,8 @@ def register_types_ns3_dsdv(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -351,8 +359,8 @@ def register_methods(root_module): register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -371,11 +379,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -491,41 +501,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1585,10 +1597,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1615,6 +1627,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1629,10 +1643,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2134,23 +2144,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2158,26 +2158,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2208,14 +2193,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2223,11 +2203,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2252,22 +2227,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2277,6 +2247,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2291,35 +2265,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2614,10 +2591,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2842,6 +2819,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3362,6 +3351,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3442,6 +3458,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3866,29 +3887,18 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -3897,102 +3907,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -4003,36 +3942,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -4043,26 +4064,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -4157,10 +4178,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4596,10 +4622,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4614,11 +4648,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/dsdv/bindings/modulegen__gcc_LP64.py b/src/dsdv/bindings/modulegen__gcc_LP64.py index ec2b0ed62..c78a6818c 100644 --- a/src/dsdv/bindings/modulegen__gcc_LP64.py +++ b/src/dsdv/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -117,7 +119,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -134,10 +136,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -174,10 +176,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -192,6 +196,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -221,7 +227,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -272,6 +278,7 @@ def register_types(module): 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']) + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') ## Register a nested module for the namespace FatalImpl @@ -310,7 +317,8 @@ def register_types_ns3_dsdv(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -351,8 +359,8 @@ def register_methods(root_module): register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -371,11 +379,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -491,41 +501,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1585,10 +1597,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1615,6 +1627,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1629,10 +1643,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2134,23 +2144,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2158,26 +2158,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2208,14 +2193,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2223,11 +2203,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2252,22 +2227,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2277,6 +2247,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2291,35 +2265,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2614,10 +2591,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2842,6 +2819,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3362,6 +3351,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3442,6 +3458,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3866,29 +3887,18 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -3897,102 +3907,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -4003,36 +3942,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -4043,26 +4064,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -4157,10 +4178,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4596,10 +4622,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4614,11 +4648,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/dsdv/doc/dsdv.h b/src/dsdv/doc/dsdv.h index d90f1bc22..ddc90ff89 100644 --- a/src/dsdv/doc/dsdv.h +++ b/src/dsdv/doc/dsdv.h @@ -29,8 +29,9 @@ * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI), * US Department of Defense (DoD), and ITTC at The University of Kansas. */ -#ifndef DSDV_H_ -#define DSDV_H_ + +#ifndef DSDV_H +#define DSDV_H /** * \defgroup dsdv DSDV Routing @@ -40,4 +41,4 @@ * library document. */ -#endif /* DSDV_H_ */ +#endif /* DSDV_H */ diff --git a/src/dsdv/doc/dsdv.rst b/src/dsdv/doc/dsdv.rst index 1722f9d4f..46914b70b 100644 --- a/src/dsdv/doc/dsdv.rst +++ b/src/dsdv/doc/dsdv.rst @@ -7,6 +7,10 @@ Destination-Sequenced Distance Vector (DSDV) routing protocol is a pro-active, t for MANETs developed by Charles E. Perkins and Pravin Bhagwat in 1994. It uses the hop count as metric in route selection. +This model was developed by +`the ResiliNets research group `_ +at the University of Kansas. A paper on this model exists at +`this URL `_. DSDV Routing Overview ********************* diff --git a/src/dsdv/helper/dsdv-helper.h b/src/dsdv/helper/dsdv-helper.h index 92c9837a8..70d5e0e03 100644 --- a/src/dsdv/helper/dsdv-helper.h +++ b/src/dsdv/helper/dsdv-helper.h @@ -28,8 +28,9 @@ * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI), * US Department of Defense (DoD), and ITTC at The University of Kansas. */ -#ifndef DSDVHELPER_H_ -#define DSDVHELPER_H_ + +#ifndef DSDV_HELPER_H +#define DSDV_HELPER_H #include "ns3/object-factory.h" #include "ns3/node.h" @@ -76,4 +77,5 @@ private: }; } -#endif /* DSDVHELPER_H_ */ + +#endif /* DSDV_HELPER_H */ diff --git a/src/dsdv/model/dsdv-packet-queue.h b/src/dsdv/model/dsdv-packet-queue.h index cbd641add..fb4558e63 100644 --- a/src/dsdv/model/dsdv-packet-queue.h +++ b/src/dsdv/model/dsdv-packet-queue.h @@ -28,8 +28,9 @@ * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI), * US Department of Defense (DoD), and ITTC at The University of Kansas. */ -#ifndef __DSDV_PACKETQUEUE_H__ -#define __DSDV_PACKETQUEUE_H__ + +#ifndef DSDV_PACKETQUEUE_H +#define DSDV_PACKETQUEUE_H #include #include "ns3/ipv4-routing-protocol.h" @@ -196,4 +197,4 @@ private: }; } } -#endif /* __DSDV_PACKETQUEUE_H__ */ +#endif /* DSDV_PACKETQUEUE_H */ diff --git a/src/dsdv/model/dsdv-packet.h b/src/dsdv/model/dsdv-packet.h index bb3e2e7e8..09679fc50 100644 --- a/src/dsdv/model/dsdv-packet.h +++ b/src/dsdv/model/dsdv-packet.h @@ -28,8 +28,9 @@ * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI), * US Department of Defense (DoD), and ITTC at The University of Kansas. */ -#ifndef DSDVPACKET_H_ -#define DSDVPACKET_H_ + +#ifndef DSDV_PACKET_H +#define DSDV_PACKET_H #include #include "ns3/header.h" @@ -108,4 +109,5 @@ static inline std::ostream & operator<< (std::ostream& os, const DsdvHeader & pa } } } -#endif /* DSDVPACKET_H_ */ + +#endif /* DSDV_PACKET_H */ diff --git a/src/dsdv/model/dsdv-routing-protocol.cc b/src/dsdv/model/dsdv-routing-protocol.cc index 99cbf593f..3517b38cb 100644 --- a/src/dsdv/model/dsdv-routing-protocol.cc +++ b/src/dsdv/model/dsdv-routing-protocol.cc @@ -368,6 +368,12 @@ RoutingProtocol::RouteInput (Ptr p, Ipv4Address dst = header.GetDestination (); Ipv4Address origin = header.GetSource (); + // DSDV is not a multicast routing protocol + if (dst.IsMulticast ()) + { + return false; + } + // Deferred route request if (EnableBuffering == true && idev == m_lo) { @@ -396,9 +402,18 @@ RoutingProtocol::RouteInput (Ptr p, { if (dst == iface.GetBroadcast () || dst.IsBroadcast ()) { - NS_LOG_LOGIC ("Broadcast local delivery to " << iface.GetLocal ()); Ptr packet = p->Copy (); - lcb (p,header,iif); + if (lcb.IsNull () == false) + { + NS_LOG_LOGIC ("Broadcast local delivery to " << iface.GetLocal ()); + lcb (p, header, iif); + // Fall through to additional processing + } + else + { + NS_LOG_ERROR ("Unable to deliver packet locally due to null callback " << p->GetUid () << " from " << origin); + ecb (p, header, Socket::ERROR_NOROUTETOHOST); + } if (header.GetTtl () > 1) { NS_LOG_LOGIC ("Forward broadcast. TTL " << (uint16_t) header.GetTtl ()); @@ -420,8 +435,16 @@ RoutingProtocol::RouteInput (Ptr p, if (m_ipv4->IsDestinationAddress (dst, iif)) { - NS_LOG_LOGIC ("Unicast local delivery to " << dst); - lcb (p, header, iif); + if (lcb.IsNull () == false) + { + NS_LOG_LOGIC ("Unicast local delivery to " << dst); + lcb (p, header, iif); + } + else + { + NS_LOG_ERROR ("Unable to deliver packet locally due to null callback " << p->GetUid () << " from " << origin); + ecb (p, header, Socket::ERROR_NOROUTETOHOST); + } return true; } RoutingTableEntry toDst; diff --git a/src/dsdv/model/dsdv-routing-protocol.h b/src/dsdv/model/dsdv-routing-protocol.h index d47d76336..ff9cb58a7 100644 --- a/src/dsdv/model/dsdv-routing-protocol.h +++ b/src/dsdv/model/dsdv-routing-protocol.h @@ -29,8 +29,9 @@ * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI), * US Department of Defense (DoD), and ITTC at The University of Kansas. */ -#ifndef DSDVROUTINGPROTOCOL_H_ -#define DSDVROUTINGPROTOCOL_H_ + +#ifndef DSDV_ROUTING_PROTOCOL_H +#define DSDV_ROUTING_PROTOCOL_H #include "dsdv-rtable.h" #include "dsdv-packet-queue.h" @@ -192,4 +193,5 @@ private: } } -#endif /* DSDVROUTINGPROTOCOL_H_ */ + +#endif /* DSDV_ROUTING_PROTOCOL_H */ diff --git a/src/dsdv/model/dsdv-rtable.h b/src/dsdv/model/dsdv-rtable.h index 1c8b19f88..87c5b9652 100644 --- a/src/dsdv/model/dsdv-rtable.h +++ b/src/dsdv/model/dsdv-rtable.h @@ -28,8 +28,9 @@ * NSF grant CNS-1050226 (Multilayer Network Resilience Analysis and Experimentation on GENI), * US Department of Defense (DoD), and ITTC at The University of Kansas. */ -#ifndef __DSDV_RTABLE_H__ -#define __DSDV_RTABLE_H__ + +#ifndef DSDV_RTABLE_H +#define DSDV_RTABLE_H #include #include @@ -345,4 +346,4 @@ private: }; } } -#endif /*__DSDV_RTABLE_H__ */ +#endif /* DSDV_RTABLE_H */ diff --git a/src/dsdv/wscript b/src/dsdv/wscript index 36fc14574..9790a83cd 100644 --- a/src/dsdv/wscript +++ b/src/dsdv/wscript @@ -16,7 +16,7 @@ def build(bld): 'test/dsdv-testcase.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'dsdv' headers.source = [ 'model/dsdv-rtable.h', diff --git a/src/emu/bindings/modulegen__gcc_ILP32.py b/src/emu/bindings/modulegen__gcc_ILP32.py index 7af22c3e1..327d3488a 100644 --- a/src/emu/bindings/modulegen__gcc_ILP32.py +++ b/src/emu/bindings/modulegen__gcc_ILP32.py @@ -30,8 +30,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -109,7 +111,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## system-mutex.h (module 'core'): ns3::SystemMutex [class] module.add_class('SystemMutex', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] @@ -120,10 +122,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -164,6 +166,8 @@ def register_types(module): 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::SystemThread', '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')) ## simulator-impl.h (module 'core'): ns3::SimulatorImpl [class] module.add_class('SimulatorImpl', import_from_module='ns.core', parent=root_module['ns3::Object']) ## synchronizer.h (module 'core'): ns3::Synchronizer [class] @@ -176,6 +180,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -275,7 +281,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -314,8 +321,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -336,10 +343,12 @@ def register_methods(root_module): 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__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, 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_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -567,41 +576,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1700,10 +1711,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1730,6 +1741,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1744,10 +1757,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2323,23 +2332,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2347,26 +2346,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2397,14 +2381,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2412,11 +2391,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2441,22 +2415,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2466,6 +2435,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2480,35 +2453,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -3035,6 +3011,18 @@ def register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SimulatorImpl_methods(root_module, cls): ## simulator-impl.h (module 'core'): ns3::SimulatorImpl::SimulatorImpl() [constructor] cls.add_constructor([]) @@ -3423,6 +3411,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3503,6 +3518,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4106,10 +4126,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4124,11 +4152,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/emu/bindings/modulegen__gcc_LP64.py b/src/emu/bindings/modulegen__gcc_LP64.py index 7af22c3e1..327d3488a 100644 --- a/src/emu/bindings/modulegen__gcc_LP64.py +++ b/src/emu/bindings/modulegen__gcc_LP64.py @@ -30,8 +30,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -109,7 +111,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## system-mutex.h (module 'core'): ns3::SystemMutex [class] module.add_class('SystemMutex', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] @@ -120,10 +122,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -164,6 +166,8 @@ def register_types(module): 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::SystemThread', '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')) ## simulator-impl.h (module 'core'): ns3::SimulatorImpl [class] module.add_class('SimulatorImpl', import_from_module='ns.core', parent=root_module['ns3::Object']) ## synchronizer.h (module 'core'): ns3::Synchronizer [class] @@ -176,6 +180,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -275,7 +281,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -314,8 +321,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -336,10 +343,12 @@ def register_methods(root_module): 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__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, 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_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -567,41 +576,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1700,10 +1711,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1730,6 +1741,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1744,10 +1757,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2323,23 +2332,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2347,26 +2346,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2397,14 +2381,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2412,11 +2391,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2441,22 +2415,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2466,6 +2435,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2480,35 +2453,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -3035,6 +3011,18 @@ def register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SimulatorImpl_methods(root_module, cls): ## simulator-impl.h (module 'core'): ns3::SimulatorImpl::SimulatorImpl() [constructor] cls.add_constructor([]) @@ -3423,6 +3411,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3503,6 +3518,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4106,10 +4126,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4124,11 +4152,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/emu/examples/wscript b/src/emu/examples/wscript index 3a2f70452..56e917589 100644 --- a/src/emu/examples/wscript +++ b/src/emu/examples/wscript @@ -1,7 +1,7 @@ ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): - env = bld.env_of_name('default') + env = bld.env if env['ENABLE_EMU']: obj = bld.create_ns3_program('emu-udp-echo', ['emu', 'internet', 'applications']) obj.source = 'emu-udp-echo.cc' diff --git a/src/emu/model/emu-encode-decode.h b/src/emu/model/emu-encode-decode.h index f41012344..ad0ea07db 100644 --- a/src/emu/model/emu-encode-decode.h +++ b/src/emu/model/emu-encode-decode.h @@ -29,5 +29,5 @@ bool EmuStringToBuffer (std::string s, uint8_t *buffer, uint32_t *len); } // namespace ns3 -#endif // EMU_ENCODE_DECODE_H +#endif /* EMU_ENCODE_DECODE_H */ diff --git a/src/emu/model/emu-net-device.h b/src/emu/model/emu-net-device.h index 38b4613d5..36409082f 100644 --- a/src/emu/model/emu-net-device.h +++ b/src/emu/model/emu-net-device.h @@ -537,5 +537,4 @@ private: } // namespace ns3 -#endif // EMU_NET_DEVICE_H - +#endif /* EMU_NET_DEVICE_H */ diff --git a/src/emu/wscript b/src/emu/wscript index 97fa4cb9f..43c51106d 100644 --- a/src/emu/wscript +++ b/src/emu/wscript @@ -4,7 +4,7 @@ import os.path def configure(conf): if conf.env['ENABLE_THREADING']: - conf.env['ENABLE_EMU'] = conf.check(header_name='netpacket/packet.h', + conf.env['ENABLE_EMU'] = conf.check_nonfatal(header_name='netpacket/packet.h', define_name='HAVE_PACKET_H') conf.report_optional_feature("EmuNetDevice", "Emulated Net Device", conf.env['ENABLE_EMU'], @@ -15,7 +15,8 @@ def configure(conf): "needs threading support which is not available") if conf.env['ENABLE_EMU']: - blddir = os.path.abspath(os.path.join(conf.blddir, conf.env.variant())) + #blddir = conf.bldnode.abspath() + blddir = os.path.abspath(os.path.join(conf.bldnode.abspath(), conf.variant)) emucreatordir = os.path.abspath(os.path.join(blddir, "src/emu")) conf.env.append_value('NS3_EXECUTABLE_PATH', emucreatordir) else: @@ -35,7 +36,7 @@ def build(bld): 'helper/emu-helper.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'emu' headers.source = [ 'model/emu-net-device.h', diff --git a/src/energy/bindings/modulegen__gcc_ILP32.py b/src/energy/bindings/modulegen__gcc_ILP32.py index 905b05b65..a9b49c925 100644 --- a/src/energy/bindings/modulegen__gcc_ILP32.py +++ b/src/energy/bindings/modulegen__gcc_ILP32.py @@ -25,15 +25,17 @@ def register_types(module): ## wifi-preamble.h (module 'wifi'): ns3::WifiPreamble [enumeration] module.add_enum('WifiPreamble', ['WIFI_PREAMBLE_LONG', 'WIFI_PREAMBLE_SHORT'], import_from_module='ns.wifi') ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration] - module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi') + module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi') ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration] module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT'], import_from_module='ns.wifi') ## address.h (module 'network'): ns3::Address [class] module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -110,10 +112,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## wifi-mode.h (module 'wifi'): ns3::WifiMode [class] module.add_class('WifiMode', import_from_module='ns.wifi') ## wifi-mode.h (module 'wifi'): ns3::WifiModeFactory [class] @@ -152,12 +154,16 @@ def register_types(module): 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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## traced-value.h (module 'core'): ns3::TracedValue [class] module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['ns3::Time']) ## traced-value.h (module 'core'): ns3::TracedValue [class] @@ -289,7 +295,8 @@ def register_types_ns3_internal(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -324,8 +331,8 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TracedValue__Double_methods(root_module, root_module['ns3::TracedValue< double >']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3WifiMode_methods(root_module, root_module['ns3::WifiMode']) register_Ns3WifiModeFactory_methods(root_module, root_module['ns3::WifiModeFactory']) register_Ns3WifiPhyListener_methods(root_module, root_module['ns3::WifiPhyListener']) @@ -345,7 +352,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3TracedValue__Ns3Time_methods(root_module, root_module['ns3::TracedValue< ns3::Time >']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3WifiPhy_methods(root_module, root_module['ns3::WifiPhy']) @@ -466,41 +475,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1571,10 +1582,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1601,6 +1612,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1615,10 +1628,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1997,23 +2006,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2021,26 +2020,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2071,14 +2055,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2086,11 +2065,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2115,22 +2089,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2140,6 +2109,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2154,35 +2127,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3WifiMode_methods(root_module, cls): @@ -2686,6 +2662,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -2842,6 +2830,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3TracedValue__Ns3Time_methods(root_module, cls): ## traced-value.h (module 'core'): ns3::TracedValue::TracedValue() [constructor] cls.add_constructor([]) @@ -2919,11 +2934,11 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'double', [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h (module 'wifi'): ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) const [member function] + ## wifi-phy.h (module 'wifi'): static ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] cls.add_method('CalculateTxDuration', 'ns3::Time', [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_pure_virtual=True, is_const=True, is_virtual=True) + is_static=True) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] cls.add_method('ConfigureStandard', 'void', @@ -3144,6 +3159,26 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'ns3::WifiMode', [], is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPayloadDurationMicroSeconds(uint32_t size, ns3::WifiMode payloadMode) [member function] + cls.add_method('GetPayloadDurationMicroSeconds', + 'uint32_t', + [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPlcpHeaderDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpHeaderDurationMicroSeconds', + 'uint32_t', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static ns3::WifiMode ns3::WifiPhy::GetPlcpHeaderMode(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpHeaderMode', + 'ns3::WifiMode', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPlcpPreambleDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpPreambleDurationMicroSeconds', + 'uint32_t', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) ## wifi-phy.h (module 'wifi'): ns3::Time ns3::WifiPhy::GetStateDuration() [member function] cls.add_method('GetStateDuration', 'ns3::Time', @@ -3194,12 +3229,12 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'bool', [], is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyPromiscSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] - cls.add_method('NotifyPromiscSniffRx', + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] + cls.add_method('NotifyMonitorSniffRx', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('double', 'signalDbm'), param('double', 'noiseDbm')]) - ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyPromiscSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] - cls.add_method('NotifyPromiscSniffTx', + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] + cls.add_method('NotifyMonitorSniffTx', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble')]) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyRxBegin(ns3::Ptr packet) [member function] @@ -3300,6 +3335,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4270,10 +4310,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4288,11 +4336,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/energy/bindings/modulegen__gcc_LP64.py b/src/energy/bindings/modulegen__gcc_LP64.py index 905b05b65..a9b49c925 100644 --- a/src/energy/bindings/modulegen__gcc_LP64.py +++ b/src/energy/bindings/modulegen__gcc_LP64.py @@ -25,15 +25,17 @@ def register_types(module): ## wifi-preamble.h (module 'wifi'): ns3::WifiPreamble [enumeration] module.add_enum('WifiPreamble', ['WIFI_PREAMBLE_LONG', 'WIFI_PREAMBLE_SHORT'], import_from_module='ns.wifi') ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration] - module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi') + module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi') ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration] module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT'], import_from_module='ns.wifi') ## address.h (module 'network'): ns3::Address [class] module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -110,10 +112,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## wifi-mode.h (module 'wifi'): ns3::WifiMode [class] module.add_class('WifiMode', import_from_module='ns.wifi') ## wifi-mode.h (module 'wifi'): ns3::WifiModeFactory [class] @@ -152,12 +154,16 @@ def register_types(module): 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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## traced-value.h (module 'core'): ns3::TracedValue [class] module.add_class('TracedValue', import_from_module='ns.core', template_parameters=['ns3::Time']) ## traced-value.h (module 'core'): ns3::TracedValue [class] @@ -289,7 +295,8 @@ def register_types_ns3_internal(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -324,8 +331,8 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TracedValue__Double_methods(root_module, root_module['ns3::TracedValue< double >']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3WifiMode_methods(root_module, root_module['ns3::WifiMode']) register_Ns3WifiModeFactory_methods(root_module, root_module['ns3::WifiModeFactory']) register_Ns3WifiPhyListener_methods(root_module, root_module['ns3::WifiPhyListener']) @@ -345,7 +352,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3TracedValue__Ns3Time_methods(root_module, root_module['ns3::TracedValue< ns3::Time >']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3WifiPhy_methods(root_module, root_module['ns3::WifiPhy']) @@ -466,41 +475,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1571,10 +1582,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1601,6 +1612,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1615,10 +1628,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1997,23 +2006,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2021,26 +2020,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2071,14 +2055,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2086,11 +2065,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2115,22 +2089,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2140,6 +2109,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2154,35 +2127,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3WifiMode_methods(root_module, cls): @@ -2686,6 +2662,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -2842,6 +2830,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3TracedValue__Ns3Time_methods(root_module, cls): ## traced-value.h (module 'core'): ns3::TracedValue::TracedValue() [constructor] cls.add_constructor([]) @@ -2919,11 +2934,11 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'double', [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h (module 'wifi'): ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) const [member function] + ## wifi-phy.h (module 'wifi'): static ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] cls.add_method('CalculateTxDuration', 'ns3::Time', [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_pure_virtual=True, is_const=True, is_virtual=True) + is_static=True) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] cls.add_method('ConfigureStandard', 'void', @@ -3144,6 +3159,26 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'ns3::WifiMode', [], is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPayloadDurationMicroSeconds(uint32_t size, ns3::WifiMode payloadMode) [member function] + cls.add_method('GetPayloadDurationMicroSeconds', + 'uint32_t', + [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPlcpHeaderDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpHeaderDurationMicroSeconds', + 'uint32_t', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static ns3::WifiMode ns3::WifiPhy::GetPlcpHeaderMode(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpHeaderMode', + 'ns3::WifiMode', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPlcpPreambleDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpPreambleDurationMicroSeconds', + 'uint32_t', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) ## wifi-phy.h (module 'wifi'): ns3::Time ns3::WifiPhy::GetStateDuration() [member function] cls.add_method('GetStateDuration', 'ns3::Time', @@ -3194,12 +3229,12 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'bool', [], is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyPromiscSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] - cls.add_method('NotifyPromiscSniffRx', + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] + cls.add_method('NotifyMonitorSniffRx', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('double', 'signalDbm'), param('double', 'noiseDbm')]) - ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyPromiscSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] - cls.add_method('NotifyPromiscSniffTx', + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] + cls.add_method('NotifyMonitorSniffTx', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble')]) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyRxBegin(ns3::Ptr packet) [member function] @@ -3300,6 +3335,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4270,10 +4310,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4288,11 +4336,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/energy/helper/basic-energy-source-helper.cc b/src/energy/helper/basic-energy-source-helper.cc index d2fb9fc2b..3bae7bf8b 100644 --- a/src/energy/helper/basic-energy-source-helper.cc +++ b/src/energy/helper/basic-energy-source-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/basic-energy-source-helper.h b/src/energy/helper/basic-energy-source-helper.h index bfad9807b..0a6acab2e 100644 --- a/src/energy/helper/basic-energy-source-helper.h +++ b/src/energy/helper/basic-energy-source-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/energy-model-helper.cc b/src/energy/helper/energy-model-helper.cc index 3eb6a1127..63b03919c 100644 --- a/src/energy/helper/energy-model-helper.cc +++ b/src/energy/helper/energy-model-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/energy-model-helper.h b/src/energy/helper/energy-model-helper.h index ff98839f7..8e2e287fb 100644 --- a/src/energy/helper/energy-model-helper.h +++ b/src/energy/helper/energy-model-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/energy-source-container.cc b/src/energy/helper/energy-source-container.cc index 03fff88e9..a4f30efeb 100644 --- a/src/energy/helper/energy-source-container.cc +++ b/src/energy/helper/energy-source-container.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. diff --git a/src/energy/helper/energy-source-container.h b/src/energy/helper/energy-source-container.h index a658a3890..b44407b1a 100644 --- a/src/energy/helper/energy-source-container.h +++ b/src/energy/helper/energy-source-container.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. diff --git a/src/energy/helper/rv-battery-model-helper.cc b/src/energy/helper/rv-battery-model-helper.cc index 3861c759e..70581f062 100644 --- a/src/energy/helper/rv-battery-model-helper.cc +++ b/src/energy/helper/rv-battery-model-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/rv-battery-model-helper.h b/src/energy/helper/rv-battery-model-helper.h index f2783f3e8..bd0b9574f 100644 --- a/src/energy/helper/rv-battery-model-helper.h +++ b/src/energy/helper/rv-battery-model-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/wifi-radio-energy-model-helper.cc b/src/energy/helper/wifi-radio-energy-model-helper.cc index 6ce9a4d95..8b9733a54 100644 --- a/src/energy/helper/wifi-radio-energy-model-helper.cc +++ b/src/energy/helper/wifi-radio-energy-model-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/helper/wifi-radio-energy-model-helper.h b/src/energy/helper/wifi-radio-energy-model-helper.h index 10c0b91de..86ebbff1f 100644 --- a/src/energy/helper/wifi-radio-energy-model-helper.h +++ b/src/energy/helper/wifi-radio-energy-model-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/basic-energy-source.cc b/src/energy/model/basic-energy-source.cc index b10242151..82f54c57f 100644 --- a/src/energy/model/basic-energy-source.cc +++ b/src/energy/model/basic-energy-source.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/basic-energy-source.h b/src/energy/model/basic-energy-source.h index 93efac27d..1b12b8972 100644 --- a/src/energy/model/basic-energy-source.h +++ b/src/energy/model/basic-energy-source.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/device-energy-model-container.cc b/src/energy/model/device-energy-model-container.cc index 825e84ab6..314ca767c 100644 --- a/src/energy/model/device-energy-model-container.cc +++ b/src/energy/model/device-energy-model-container.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. diff --git a/src/energy/model/device-energy-model-container.h b/src/energy/model/device-energy-model-container.h index 0307eb5a2..a8dae765d 100644 --- a/src/energy/model/device-energy-model-container.h +++ b/src/energy/model/device-energy-model-container.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. diff --git a/src/energy/model/device-energy-model.cc b/src/energy/model/device-energy-model.cc index 7ef3c9559..8f098e6dd 100644 --- a/src/energy/model/device-energy-model.cc +++ b/src/energy/model/device-energy-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/device-energy-model.h b/src/energy/model/device-energy-model.h index 96b7e0c37..cfd4247e8 100644 --- a/src/energy/model/device-energy-model.h +++ b/src/energy/model/device-energy-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/energy-source.cc b/src/energy/model/energy-source.cc index 9216f1894..bb2bb288c 100644 --- a/src/energy/model/energy-source.cc +++ b/src/energy/model/energy-source.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/energy-source.h b/src/energy/model/energy-source.h index 4be75b927..795725b1d 100644 --- a/src/energy/model/energy-source.h +++ b/src/energy/model/energy-source.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/li-ion-energy-source.cc b/src/energy/model/li-ion-energy-source.cc index 404b47d72..414bc5b2a 100644 --- a/src/energy/model/li-ion-energy-source.cc +++ b/src/energy/model/li-ion-energy-source.cc @@ -45,7 +45,7 @@ LiIonEnergySource::GetTypeId (void) MakeDoubleAccessor (&LiIonEnergySource::SetInitialEnergy, &LiIonEnergySource::GetInitialEnergy), MakeDoubleChecker ()) - .AddAttribute ("IntialCellVoltage", + .AddAttribute ("InitialCellVoltage", "Initial (maximum) voltage of the cell (fully charged).", DoubleValue (4.05), // in Volts MakeDoubleAccessor (&LiIonEnergySource::SetInitialSupplyVoltage, diff --git a/src/energy/model/li-ion-energy-source.h b/src/energy/model/li-ion-energy-source.h index 8a48aec5b..ccca05b4d 100644 --- a/src/energy/model/li-ion-energy-source.h +++ b/src/energy/model/li-ion-energy-source.h @@ -18,8 +18,8 @@ * Author: Andrea Sacco */ -#ifndef LI_ION_ENERGY_SOURCE -#define LI_ION_ENERGY_SOURCE +#ifndef LI_ION_ENERGY_SOURCE_H +#define LI_ION_ENERGY_SOURCE_H #include "ns3/traced-value.h" #include "ns3/energy-source.h" @@ -201,4 +201,4 @@ private: } // namespace ns3 -#endif /* LI_ION_ENERGY_SOURCE */ +#endif /* LI_ION_ENERGY_SOURCE_H */ diff --git a/src/energy/model/rv-battery-model.cc b/src/energy/model/rv-battery-model.cc index f9d1dfba0..29d57e933 100644 --- a/src/energy/model/rv-battery-model.cc +++ b/src/energy/model/rv-battery-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/rv-battery-model.h b/src/energy/model/rv-battery-model.h index a9f0249ac..31bd5709c 100644 --- a/src/energy/model/rv-battery-model.h +++ b/src/energy/model/rv-battery-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/simple-device-energy-model.h b/src/energy/model/simple-device-energy-model.h index 04587333d..ff74c1450 100644 --- a/src/energy/model/simple-device-energy-model.h +++ b/src/energy/model/simple-device-energy-model.h @@ -4,8 +4,9 @@ * Created on: 09/ago/2010 * Author: socket */ -#ifndef SIMPLE_DEVICE_ENERGY_MODEL_H_ -#define SIMPLE_DEVICE_ENERGY_MODEL_H_ + +#ifndef SIMPLE_DEVICE_ENERGY_MODEL_H +#define SIMPLE_DEVICE_ENERGY_MODEL_H #include "ns3/device-energy-model.h" #include "ns3/nstime.h" @@ -105,4 +106,4 @@ private: } // namespace ns3 -#endif /* SIMPLE_DEVICE_ENERGY_MODEL_H_ */ +#endif /* SIMPLE_DEVICE_ENERGY_MODEL_H */ diff --git a/src/energy/model/wifi-radio-energy-model.cc b/src/energy/model/wifi-radio-energy-model.cc index 05f5b7045..29a63eccf 100644 --- a/src/energy/model/wifi-radio-energy-model.cc +++ b/src/energy/model/wifi-radio-energy-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/model/wifi-radio-energy-model.h b/src/energy/model/wifi-radio-energy-model.h index 0733b6291..8de94db58 100644 --- a/src/energy/model/wifi-radio-energy-model.h +++ b/src/energy/model/wifi-radio-energy-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/test/basic-energy-model-test.cc b/src/energy/test/basic-energy-model-test.cc index 64c2aae5f..77839bc01 100644 --- a/src/energy/test/basic-energy-model-test.cc +++ b/src/energy/test/basic-energy-model-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/test/rv-battery-model-test.cc b/src/energy/test/rv-battery-model-test.cc index 639a7eb14..22492bda8 100644 --- a/src/energy/test/rv-battery-model-test.cc +++ b/src/energy/test/rv-battery-model-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Network Security Lab, University of Washington, Seattle. * diff --git a/src/energy/wscript b/src/energy/wscript index 6892a3183..db582dcc3 100644 --- a/src/energy/wscript +++ b/src/energy/wscript @@ -25,7 +25,7 @@ def build(bld): 'test/li-ion-energy-source-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'energy' headers.source = [ 'model/wifi-radio-energy-model.h', diff --git a/src/flow-monitor/bindings/modulegen__gcc_ILP32.py b/src/flow-monitor/bindings/modulegen__gcc_ILP32.py index c41823738..99d5b7dd1 100644 --- a/src/flow-monitor/bindings/modulegen__gcc_ILP32.py +++ b/src/flow-monitor/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -90,6 +92,8 @@ def register_types(module): module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList']) ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator.h (module 'core'): ns3::Simulator [class] + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -98,10 +102,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -140,10 +144,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -158,6 +164,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -199,11 +207,11 @@ def register_types(module): ## ipv4-flow-probe.h (module 'flow-monitor'): ns3::Ipv4FlowProbe [class] module.add_class('Ipv4FlowProbe', parent=root_module['ns3::FlowProbe']) ## ipv4-flow-probe.h (module 'flow-monitor'): ns3::Ipv4FlowProbe::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_NO_ROUTE', 'DROP_TTL_EXPIRE', 'DROP_BAD_CHECKSUM', 'DROP_QUEUE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_INVALID_REASON'], outer_class=root_module['ns3::Ipv4FlowProbe']) + module.add_enum('DropReason', ['DROP_NO_ROUTE', 'DROP_TTL_EXPIRE', 'DROP_BAD_CHECKSUM', 'DROP_QUEUE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT', 'DROP_INVALID_REASON'], outer_class=root_module['ns3::Ipv4FlowProbe']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -259,6 +267,7 @@ def register_types(module): module.add_container('std::map< unsigned int, ns3::FlowMonitor::FlowStats >', ('unsigned int', 'ns3::FlowMonitor::FlowStats'), container_type='map') module.add_container('std::vector< ns3::Ptr< ns3::FlowProbe > >', 'ns3::Ptr< ns3::FlowProbe >', container_type='vector') module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map') + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') typehandlers.add_type_alias('uint32_t', 'ns3::FlowPacketId') typehandlers.add_type_alias('uint32_t*', 'ns3::FlowPacketId*') typehandlers.add_type_alias('uint32_t&', 'ns3::FlowPacketId&') @@ -278,7 +287,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -307,11 +317,12 @@ def register_methods(root_module): register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList']) register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) + register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -331,11 +342,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -452,41 +465,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1535,10 +1550,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1565,6 +1580,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1579,10 +1596,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1796,6 +1809,96 @@ def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods is_static=True) return +def register_Ns3Simulator_methods(root_module, cls): + ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) + ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static ns3::Ptr ns3::Simulator::GetImplementation() [member function] + cls.add_method('GetImplementation', + 'ns3::Ptr< ns3::SimulatorImpl >', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] + cls.add_method('SetImplementation', + 'void', + [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_static=True) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -1910,23 +2013,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1934,26 +2027,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1984,14 +2062,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1999,11 +2072,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2028,22 +2096,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2053,6 +2116,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2067,35 +2134,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2369,10 +2439,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2621,6 +2691,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3141,6 +3223,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3221,6 +3330,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3784,29 +3898,18 @@ def register_Ns3Ipv4FlowProbe_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -3815,102 +3918,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -3921,36 +3953,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -3961,26 +4075,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -4075,10 +4189,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4514,10 +4633,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4532,11 +4659,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/flow-monitor/bindings/modulegen__gcc_LP64.py b/src/flow-monitor/bindings/modulegen__gcc_LP64.py index 8854a9d97..189411a08 100644 --- a/src/flow-monitor/bindings/modulegen__gcc_LP64.py +++ b/src/flow-monitor/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -90,6 +92,8 @@ def register_types(module): module.add_class('TagData', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagList']) ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator.h (module 'core'): ns3::Simulator [class] + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -98,10 +102,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -140,10 +144,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -158,6 +164,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -199,11 +207,11 @@ def register_types(module): ## ipv4-flow-probe.h (module 'flow-monitor'): ns3::Ipv4FlowProbe [class] module.add_class('Ipv4FlowProbe', parent=root_module['ns3::FlowProbe']) ## ipv4-flow-probe.h (module 'flow-monitor'): ns3::Ipv4FlowProbe::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_NO_ROUTE', 'DROP_TTL_EXPIRE', 'DROP_BAD_CHECKSUM', 'DROP_QUEUE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_INVALID_REASON'], outer_class=root_module['ns3::Ipv4FlowProbe']) + module.add_enum('DropReason', ['DROP_NO_ROUTE', 'DROP_TTL_EXPIRE', 'DROP_BAD_CHECKSUM', 'DROP_QUEUE', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT', 'DROP_INVALID_REASON'], outer_class=root_module['ns3::Ipv4FlowProbe']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -259,6 +267,7 @@ def register_types(module): module.add_container('std::map< unsigned int, ns3::FlowMonitor::FlowStats >', ('unsigned int', 'ns3::FlowMonitor::FlowStats'), container_type='map') module.add_container('std::vector< ns3::Ptr< ns3::FlowProbe > >', 'ns3::Ptr< ns3::FlowProbe >', container_type='vector') module.add_container('std::map< unsigned int, ns3::FlowProbe::FlowStats >', ('unsigned int', 'ns3::FlowProbe::FlowStats'), container_type='map') + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') typehandlers.add_type_alias('uint32_t', 'ns3::FlowPacketId') typehandlers.add_type_alias('uint32_t*', 'ns3::FlowPacketId*') typehandlers.add_type_alias('uint32_t&', 'ns3::FlowPacketId&') @@ -278,7 +287,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -307,11 +317,12 @@ def register_methods(root_module): register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList']) register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) + register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -331,11 +342,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -452,41 +465,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1535,10 +1550,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1565,6 +1580,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1579,10 +1596,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1796,6 +1809,96 @@ def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods is_static=True) return +def register_Ns3Simulator_methods(root_module, cls): + ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) + ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static ns3::Ptr ns3::Simulator::GetImplementation() [member function] + cls.add_method('GetImplementation', + 'ns3::Ptr< ns3::SimulatorImpl >', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] + cls.add_method('SetImplementation', + 'void', + [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_static=True) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -1910,23 +2013,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1934,26 +2027,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1984,14 +2062,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1999,11 +2072,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2028,22 +2096,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2053,6 +2116,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2067,35 +2134,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2369,10 +2439,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2621,6 +2691,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3141,6 +3223,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3221,6 +3330,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3784,29 +3898,18 @@ def register_Ns3Ipv4FlowProbe_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -3815,102 +3918,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -3921,36 +3953,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -3961,26 +4075,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -4075,10 +4189,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4514,10 +4633,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4532,11 +4659,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/flow-monitor/model/flow-classifier.h b/src/flow-monitor/model/flow-classifier.h index 53a83a218..33fad683e 100644 --- a/src/flow-monitor/model/flow-classifier.h +++ b/src/flow-monitor/model/flow-classifier.h @@ -18,8 +18,8 @@ // Author: Gustavo J. A. M. Carneiro // -#ifndef __FLOW_CLASSIFIER_H__ -#define __FLOW_CLASSIFIER_H__ +#ifndef FLOW_CLASSIFIER_H +#define FLOW_CLASSIFIER_H #include "ns3/simple-ref-count.h" #include @@ -62,5 +62,4 @@ protected: } // namespace ns3 -#endif - +#endif /* FLOW_CLASSIFIER_H */ diff --git a/src/flow-monitor/model/flow-monitor.h b/src/flow-monitor/model/flow-monitor.h index 64877ff79..5ba1960a3 100644 --- a/src/flow-monitor/model/flow-monitor.h +++ b/src/flow-monitor/model/flow-monitor.h @@ -18,8 +18,8 @@ // Author: Gustavo J. A. M. Carneiro // -#ifndef __FLOW_MONITOR_H__ -#define __FLOW_MONITOR_H__ +#ifndef FLOW_MONITOR_H +#define FLOW_MONITOR_H #include #include @@ -243,5 +243,5 @@ private: } // namespace ns3 -#endif +#endif /* FLOW_MONITOR_H */ diff --git a/src/flow-monitor/model/flow-probe.h b/src/flow-monitor/model/flow-probe.h index f317da6a2..30790989c 100644 --- a/src/flow-monitor/model/flow-probe.h +++ b/src/flow-monitor/model/flow-probe.h @@ -18,8 +18,8 @@ // Author: Gustavo J. A. M. Carneiro // -#ifndef __FLOW_PROBE_H__ -#define __FLOW_PROBE_H__ +#ifndef FLOW_PROBE_H +#define FLOW_PROBE_H #include #include @@ -87,5 +87,4 @@ protected: } // namespace ns3 -#endif - +#endif /* FLOW_PROBE_H */ diff --git a/src/flow-monitor/model/histogram.h b/src/flow-monitor/model/histogram.h index 935376b7a..34d4c715c 100644 --- a/src/flow-monitor/model/histogram.h +++ b/src/flow-monitor/model/histogram.h @@ -18,8 +18,8 @@ // Author: Pedro Fortuna // -#ifndef __NS3_HISTOGRAM_H__ -#define __NS3_HISTOGRAM_H__ +#ifndef NS3_HISTOGRAM_H +#define NS3_HISTOGRAM_H #include #include @@ -60,5 +60,4 @@ private: } // namespace ns3 -#endif - +#endif /* NS3_HISTOGRAM_H */ diff --git a/src/flow-monitor/model/ipv4-flow-classifier.h b/src/flow-monitor/model/ipv4-flow-classifier.h index cea7f8343..da1a2e3c1 100644 --- a/src/flow-monitor/model/ipv4-flow-classifier.h +++ b/src/flow-monitor/model/ipv4-flow-classifier.h @@ -18,8 +18,8 @@ // Author: Gustavo J. A. M. Carneiro // -#ifndef __IPV4_FLOW_CLASSIFIER_H__ -#define __IPV4_FLOW_CLASSIFIER_H__ +#ifndef IPV4_FLOW_CLASSIFIER_H +#define IPV4_FLOW_CLASSIFIER_H #include #include @@ -74,5 +74,4 @@ bool operator == (const Ipv4FlowClassifier::FiveTuple &t1, const Ipv4FlowClassif } // namespace ns3 -#endif - +#endif /* IPV4_FLOW_CLASSIFIER_H */ diff --git a/src/flow-monitor/model/ipv4-flow-probe.cc b/src/flow-monitor/model/ipv4-flow-probe.cc index d12b8d502..d34d0ad9b 100644 --- a/src/flow-monitor/model/ipv4-flow-probe.cc +++ b/src/flow-monitor/model/ipv4-flow-probe.cc @@ -307,6 +307,10 @@ Ipv4FlowProbe::DropLogger (const Ipv4Header &ipHeader, Ptr ipPaylo myReason = DROP_ROUTE_ERROR; NS_LOG_DEBUG ("DROP_ROUTE_ERROR"); break; + case Ipv4L3Protocol::DROP_FRAGMENT_TIMEOUT: + myReason = DROP_FRAGMENT_TIMEOUT; + NS_LOG_DEBUG ("DROP_FRAGMENT_TIMEOUT"); + break; default: myReason = DROP_INVALID_REASON; diff --git a/src/flow-monitor/model/ipv4-flow-probe.h b/src/flow-monitor/model/ipv4-flow-probe.h index e48d9ca87..73eec6b3b 100644 --- a/src/flow-monitor/model/ipv4-flow-probe.h +++ b/src/flow-monitor/model/ipv4-flow-probe.h @@ -18,8 +18,8 @@ // Author: Gustavo J. A. M. Carneiro // -#ifndef __IPV4_FLOW_PROBE_H__ -#define __IPV4_FLOW_PROBE_H__ +#ifndef IPV4_FLOW_PROBE_H +#define IPV4_FLOW_PROBE_H #include "ns3/flow-probe.h" #include "ns3/ipv4-flow-classifier.h" @@ -63,6 +63,7 @@ public: DROP_INTERFACE_DOWN, /**< Interface is down so can not send packet */ DROP_ROUTE_ERROR, /**< Route error */ + DROP_FRAGMENT_TIMEOUT, /**< Fragment timeout exceeded */ DROP_INVALID_REASON, }; @@ -82,5 +83,4 @@ private: } // namespace ns3 -#endif - +#endif /* IPV4_FLOW_PROBE_H */ diff --git a/src/flow-monitor/wscript b/src/flow-monitor/wscript index 29586c948..13fcabded 100644 --- a/src/flow-monitor/wscript +++ b/src/flow-monitor/wscript @@ -17,7 +17,7 @@ def build(bld): 'test/histogram-test-suite.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'flow-monitor' headers.source = ["model/%s" % s for s in [ 'flow-monitor.h', diff --git a/src/internet/bindings/modulegen__gcc_ILP32.py b/src/internet/bindings/modulegen__gcc_ILP32.py index c4f3c5732..e3c3bd6fb 100644 --- a/src/internet/bindings/modulegen__gcc_ILP32.py +++ b/src/internet/bindings/modulegen__gcc_ILP32.py @@ -34,8 +34,10 @@ def register_types(module): module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True) ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class] module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True) - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -209,7 +211,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -228,12 +230,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## random-variable.h (module 'core'): ns3::ZetaVariable [class] @@ -386,10 +388,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -414,6 +418,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## udp-header.h (module 'internet'): ns3::UdpHeader [class] @@ -451,7 +457,7 @@ def register_types(module): ## event-impl.h (module 'core'): ns3::EventImpl [class] module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) ## global-router-interface.h (module 'internet'): ns3::GlobalRouter [class] - module.add_class('GlobalRouter', is_singleton=True, parent=root_module['ns3::Object']) + module.add_class('GlobalRouter', destructor_visibility='private', parent=root_module['ns3::Object']) ## icmpv6-header.h (module 'internet'): ns3::Icmpv6DestinationUnreachable [class] module.add_class('Icmpv6DestinationUnreachable', parent=root_module['ns3::Icmpv6Header']) ## icmpv6-header.h (module 'internet'): ns3::Icmpv6Echo [class] @@ -467,7 +473,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol']) + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -616,7 +622,8 @@ def register_methods(root_module): register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -691,9 +698,9 @@ def register_methods(root_module): register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -761,6 +768,7 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory']) @@ -770,6 +778,7 @@ def register_methods(root_module): register_Ns3TcpSocket_methods(root_module, root_module['ns3::TcpSocket']) register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3UdpHeader_methods(root_module, root_module['ns3::UdpHeader']) register_Ns3UdpSocket_methods(root_module, root_module['ns3::UdpSocket']) @@ -1162,41 +1171,43 @@ def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -3349,10 +3360,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -3379,6 +3390,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -3393,10 +3406,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -4353,23 +4362,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -4377,26 +4376,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -4427,14 +4411,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -4442,11 +4421,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -4471,22 +4445,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -4496,6 +4465,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -4510,19 +4483,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -4547,22 +4539,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -6184,10 +6160,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -7229,6 +7205,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -8014,6 +8002,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -8522,6 +8537,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -9138,29 +9158,18 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -9169,102 +9178,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -9275,36 +9213,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -9315,26 +9335,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -11428,10 +11448,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -11446,11 +11474,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/internet/bindings/modulegen__gcc_LP64.py b/src/internet/bindings/modulegen__gcc_LP64.py index c4f3c5732..e3c3bd6fb 100644 --- a/src/internet/bindings/modulegen__gcc_LP64.py +++ b/src/internet/bindings/modulegen__gcc_LP64.py @@ -34,8 +34,10 @@ def register_types(module): module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True) ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class] module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True) - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -209,7 +211,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -228,12 +230,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## random-variable.h (module 'core'): ns3::ZetaVariable [class] @@ -386,10 +388,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -414,6 +418,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## udp-header.h (module 'internet'): ns3::UdpHeader [class] @@ -451,7 +457,7 @@ def register_types(module): ## event-impl.h (module 'core'): ns3::EventImpl [class] module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) ## global-router-interface.h (module 'internet'): ns3::GlobalRouter [class] - module.add_class('GlobalRouter', is_singleton=True, parent=root_module['ns3::Object']) + module.add_class('GlobalRouter', destructor_visibility='private', parent=root_module['ns3::Object']) ## icmpv6-header.h (module 'internet'): ns3::Icmpv6DestinationUnreachable [class] module.add_class('Icmpv6DestinationUnreachable', parent=root_module['ns3::Icmpv6Header']) ## icmpv6-header.h (module 'internet'): ns3::Icmpv6Echo [class] @@ -467,7 +473,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol']) + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -616,7 +622,8 @@ def register_methods(root_module): register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -691,9 +698,9 @@ def register_methods(root_module): register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -761,6 +768,7 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory']) @@ -770,6 +778,7 @@ def register_methods(root_module): register_Ns3TcpSocket_methods(root_module, root_module['ns3::TcpSocket']) register_Ns3TcpSocketFactory_methods(root_module, root_module['ns3::TcpSocketFactory']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3UdpHeader_methods(root_module, root_module['ns3::UdpHeader']) register_Ns3UdpSocket_methods(root_module, root_module['ns3::UdpSocket']) @@ -1162,41 +1171,43 @@ def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -3349,10 +3360,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -3379,6 +3390,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -3393,10 +3406,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -4353,23 +4362,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -4377,26 +4376,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -4427,14 +4411,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -4442,11 +4421,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -4471,22 +4445,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -4496,6 +4465,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -4510,19 +4483,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -4547,22 +4539,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -6184,10 +6160,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -7229,6 +7205,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -8014,6 +8002,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -8522,6 +8537,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -9138,29 +9158,18 @@ def register_Ns3Ipv4Interface_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -9169,102 +9178,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -9275,36 +9213,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -9315,26 +9335,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -11428,10 +11448,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -11446,11 +11474,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/internet/doc/routing-overview.rst b/src/internet/doc/routing-overview.rst index bf2921a61..3d2d64d8c 100644 --- a/src/internet/doc/routing-overview.rst +++ b/src/internet/doc/routing-overview.rst @@ -156,6 +156,12 @@ of that interface to obtain a "link state advertisement (LSA)" for the router. Link State Advertisements are used in OSPF routing, and we follow their formatting. +It is important to note that all of these computations are done before +packets are flowing in the network. In particular, there are no +overhead or control packets being exchanged when using this implementation. +Instead, this global route manager just walks the list of nodes to +build the necessary information and configure each node's routing table. + The GlobalRouteManager populates a link state database with LSAs gathered from the entire topology. Then, for each router in the topology, the GlobalRouteManager executes the OSPF shortest path first (SPF) computation on @@ -175,7 +181,12 @@ Therefore, we think that enabling these other link types will be more straightforward now that the underlying OSPF SPF framework is in place. Presently, we can handle IPv4 point-to-point, numbered links, as well as shared -broadcast (CSMA) links, and we do not do equal-cost multipath. +broadcast (CSMA) links. Equal-cost multipath is also supported. Although +wireless link types are supported by the implementation, note that due +to the nature of this implementation, any channel effects will not be +considered and the routing tables will assume that every node on the +same shared channel is reachable from every other node (i.e. it will +be treated like a broadcast CSMA link). The GlobalRouteManager first walks the list of nodes and aggregates a GlobalRouter interface to each one as follows::: diff --git a/src/internet/doc/tcp.rst b/src/internet/doc/tcp.rst index 6e380145e..b8a1c8042 100644 --- a/src/internet/doc/tcp.rst +++ b/src/internet/doc/tcp.rst @@ -98,20 +98,42 @@ To configure behavior of TCP, a number of parameters are exported through the :cpp:class:`TcpSocket`. For example, the maximum segment size is a settable attribute. +To set the default socket type before any internet stack-related objects are +created, one may put the following statement at the top of the simulation +program::: + + Config::SetDefault ("ns3::TcpL4Protocol::SocketType", StringValue ("ns3::TcpTahoe")); + For users who wish to have a pointer to the actual socket (so that socket operations like Bind(), setting socket options, etc. can be done on a per-socket basis), Tcp sockets can be created by using the -``Socket::CreateSocket()`` method and passing in the TypeId -corresponding to the type of socket desired; e.g.::: +``Socket::CreateSocket()`` method. The TypeId passed to CreateSocket() +must be of type :cpp:class:`ns3::SocketFactory`, so configuring the underlying +socket type must be done by twiddling the attribute associated with the +underlying TcpL4Protocol object. The easiest way to get at this would be +through the attribute configuration system. In the below example, +the Node container "n0n1" is accessed +to get the zeroth element, and a socket is created on this node::: - // Create the socket if not already created - TypeId tid = TypeId::LookupByName ("ns3::TcpTahoe"); - Ptr localSocket = Socket::CreateSocket (node, tid); + // Create and bind the socket... + TypeId tid = TypeId::LookupByName ("ns3::TcpTahoe"); + Config::Set ("/NodeList/*/$ns3::TcpL4Protocol/SocketType", TypeIdValue (tid)); + Ptr localSocket = + Socket::CreateSocket (n0n1.Get (0), TcpSocketFactory::GetTypeId ()); -The parameter ``tid`` controls the TypeId of the actual TCP Socket -implementation that is instantiated. This way, the application can be written -generically and different socket implementations can be swapped out by -specifying the TypeId. +Above, the "*" wild card for node number is passed to the attribute +configuration system, so that all future sockets on all nodes are set to +Tahoe, not just on node 'n0n1.Get (0)'. If one wants to limit it to just +the specified node, one would have to do something like::: + + // Create and bind the socket... + TypeId tid = TypeId::LookupByName ("ns3::TcpTahoe"); + std::stringstream nodeId; + nodeId << n0n1.Get (0)->GetId (); + std::string specificNode = "/NodeList/" + nodeId.str () + "/$ns3::TcpL4Protocol/SocketType"; + Config::Set (specificNode, TypeIdValue (tid)); + Ptr localSocket = + Socket::CreateSocket (n0n1.Get (0), TcpSocketFactory::GetTypeId ()); Once a TCP socket is created, one will want to follow conventional socket logic and either connect() and send() (for a TCP client) or bind(), listen(), and diff --git a/src/internet/helper/internet-stack-helper.h b/src/internet/helper/internet-stack-helper.h index eb63dcdc3..d8e0cbde9 100644 --- a/src/internet/helper/internet-stack-helper.h +++ b/src/internet/helper/internet-stack-helper.h @@ -46,11 +46,20 @@ class Ipv6RoutingHelper; * change, and also the user-visible methods will not reference devices and * therefore the number of trace enable methods is reduced. * - * Normally we eschew multiple inheritance, however, the classes + * Normally we avoid multiple inheritance in ns-3, however, the classes * PcapUserHelperForIpv4 and AsciiTraceUserHelperForIpv4 are * treated as "mixins". A mixin is a self-contained class that * encapsulates a general attribute or a set of functionality that * may be of interest to many other classes. + * + * This class aggregates instances of these objects, by default, to each node: + * - ns3::ArpL3Protocol + * - ns3::Ipv4L3Protocol + * - ns3::Icmpv4L4Protocol + * - ns3::UdpL4Protocol + * - a TCP based on the TCP factory provided + * - a PacketSocketFactory + * - Ipv4 routing (a list routing object and a static routing object) */ class InternetStackHelper : public PcapHelperForIpv4, public PcapHelperForIpv6, public AsciiTraceHelperForIpv4, public AsciiTraceHelperForIpv6 diff --git a/src/internet/helper/ipv4-address-helper.cc b/src/internet/helper/ipv4-address-helper.cc index 7228f7057..004a6fa3e 100644 --- a/src/internet/helper/ipv4-address-helper.cc +++ b/src/internet/helper/ipv4-address-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/helper/ipv4-address-helper.h b/src/internet/helper/ipv4-address-helper.h index 3892d636d..1b6e6ac2a 100644 --- a/src/internet/helper/ipv4-address-helper.h +++ b/src/internet/helper/ipv4-address-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * @@ -189,6 +189,6 @@ private: uint32_t m_max; }; -}; // namespace ns3 +} // namespace ns3 #endif /* IPV4_ADDRESS_HELPER_H */ diff --git a/src/internet/helper/ipv4-static-routing-helper.cc b/src/internet/helper/ipv4-static-routing-helper.cc index b0f6ec47a..d8be29548 100644 --- a/src/internet/helper/ipv4-static-routing-helper.cc +++ b/src/internet/helper/ipv4-static-routing-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -208,4 +208,4 @@ Ipv4StaticRoutingHelper::SetDefaultMulticastRoute ( SetDefaultMulticastRoute (n, nd); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/helper/ipv4-static-routing-helper.h b/src/internet/helper/ipv4-static-routing-helper.h index 75204baab..a9cf875fa 100644 --- a/src/internet/helper/ipv4-static-routing-helper.h +++ b/src/internet/helper/ipv4-static-routing-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/helper/ipv6-address-helper.cc b/src/internet/helper/ipv6-address-helper.cc index 41903719f..6557b17ba 100644 --- a/src/internet/helper/ipv6-address-helper.cc +++ b/src/internet/helper/ipv6-address-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/helper/ipv6-address-helper.h b/src/internet/helper/ipv6-address-helper.h index 487907657..d02329ba4 100644 --- a/src/internet/helper/ipv6-address-helper.h +++ b/src/internet/helper/ipv6-address-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/helper/ipv6-interface-container.cc b/src/internet/helper/ipv6-interface-container.cc index f22177b59..57d559923 100644 --- a/src/internet/helper/ipv6-interface-container.cc +++ b/src/internet/helper/ipv6-interface-container.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/helper/ipv6-interface-container.h b/src/internet/helper/ipv6-interface-container.h index 6eb2b2bfa..06d633a51 100644 --- a/src/internet/helper/ipv6-interface-container.h +++ b/src/internet/helper/ipv6-interface-container.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/helper/ipv6-static-routing-helper.cc b/src/internet/helper/ipv6-static-routing-helper.cc index c375318c3..a094db19e 100644 --- a/src/internet/helper/ipv6-static-routing-helper.cc +++ b/src/internet/helper/ipv6-static-routing-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -211,4 +211,4 @@ Ipv6StaticRoutingHelper::SetDefaultMulticastRoute ( } #endif -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/helper/ipv6-static-routing-helper.h b/src/internet/helper/ipv6-static-routing-helper.h index bee0eb191..4b18c379a 100644 --- a/src/internet/helper/ipv6-static-routing-helper.h +++ b/src/internet/helper/ipv6-static-routing-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/arp-cache.cc b/src/internet/model/arp-cache.cc index 44d7f0093..4dad63eb9 100644 --- a/src/internet/model/arp-cache.cc +++ b/src/internet/model/arp-cache.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/internet/model/arp-cache.h b/src/internet/model/arp-cache.h index 07664f568..d6aa3a8b0 100644 --- a/src/internet/model/arp-cache.h +++ b/src/internet/model/arp-cache.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * @@ -233,6 +233,6 @@ private: }; -}; // namespace ns3 +} // namespace ns3 #endif /* ARP_CACHE_H */ diff --git a/src/internet/model/arp-header.cc b/src/internet/model/arp-header.cc index 11f4d7cd2..5dcec772c 100644 --- a/src/internet/model/arp-header.cc +++ b/src/internet/model/arp-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -172,4 +172,4 @@ ArpHeader::Deserialize (Buffer::Iterator start) return GetSerializedSize (); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/arp-header.h b/src/internet/model/arp-header.h index 27a8eabca..bf27cd3f5 100644 --- a/src/internet/model/arp-header.h +++ b/src/internet/model/arp-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -67,6 +67,6 @@ public: Ipv4Address m_ipv4Dest; }; -}; // namespace ns3 +} // namespace ns3 #endif /* ARP_HEADER_H */ diff --git a/src/internet/model/arp-l3-protocol.cc b/src/internet/model/arp-l3-protocol.cc index f780c760e..bd94ea1cf 100644 --- a/src/internet/model/arp-l3-protocol.cc +++ b/src/internet/model/arp-l3-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * @@ -344,4 +344,4 @@ ArpL3Protocol::SendArpReply (Ptr cache, Ipv4Address myIp, Ipv4Ad cache->GetDevice ()->Send (packet, toMac, PROT_NUMBER); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/arp-l3-protocol.h b/src/internet/model/arp-l3-protocol.h index ebf7fcc00..6ea710680 100644 --- a/src/internet/model/arp-l3-protocol.h +++ b/src/internet/model/arp-l3-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * @@ -95,7 +95,7 @@ private: TracedCallback > m_dropTrace; }; -} //namespace ns3 +} // namespace ns3 #endif /* ARP_L3_PROTOCOL_H */ diff --git a/src/internet/model/icmpv4.cc b/src/internet/model/icmpv4.cc index 1d69d65ca..47455f1c7 100644 --- a/src/internet/model/icmpv4.cc +++ b/src/internet/model/icmpv4.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/icmpv4.h b/src/internet/model/icmpv4.h index 70935a611..49cc0679f 100644 --- a/src/internet/model/icmpv4.h +++ b/src/internet/model/icmpv4.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/icmpv6-header.cc b/src/internet/model/icmpv6-header.cc index d5afb1885..ef548bea8 100644 --- a/src/internet/model/icmpv6-header.cc +++ b/src/internet/model/icmpv6-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * @@ -1008,7 +1008,7 @@ void Icmpv6DestinationUnreachable::Serialize (Buffer::Iterator start) const uint32_t Icmpv6DestinationUnreachable::Deserialize (Buffer::Iterator start) { uint16_t length = start.GetSize () - 8; - uint8_t data[length]; + uint8_t* data = new uint8_t[length]; Buffer::Iterator i = start; SetType (i.ReadU8 ()); @@ -1018,6 +1018,7 @@ uint32_t Icmpv6DestinationUnreachable::Deserialize (Buffer::Iterator start) i.Read (data, length); m_packet = Create (data, length); + delete[] data; return GetSerializedSize (); } @@ -1106,7 +1107,7 @@ void Icmpv6TooBig::Serialize (Buffer::Iterator start) const uint32_t Icmpv6TooBig::Deserialize (Buffer::Iterator start) { uint16_t length = start.GetSize () - 8; - uint8_t data[length]; + uint8_t* data = new uint8_t[length]; Buffer::Iterator i = start; SetType (i.ReadU8 ()); @@ -1116,6 +1117,7 @@ uint32_t Icmpv6TooBig::Deserialize (Buffer::Iterator start) i.Read (data, length); m_packet = Create (data, length); + delete[] data; return GetSerializedSize (); } @@ -1193,7 +1195,7 @@ void Icmpv6TimeExceeded::Serialize (Buffer::Iterator start) const uint32_t Icmpv6TimeExceeded::Deserialize (Buffer::Iterator start) { uint16_t length = start.GetSize () - 8; - uint8_t data[length]; + uint8_t* data = new uint8_t[length]; Buffer::Iterator i = start; SetType (i.ReadU8 ()); @@ -1203,6 +1205,7 @@ uint32_t Icmpv6TimeExceeded::Deserialize (Buffer::Iterator start) i.Read (data, length); m_packet = Create (data, length); + delete[] data; return GetSerializedSize (); } @@ -1291,7 +1294,7 @@ void Icmpv6ParameterError::Serialize (Buffer::Iterator start) const uint32_t Icmpv6ParameterError::Deserialize (Buffer::Iterator start) { uint16_t length = start.GetSize () - 8; - uint8_t data[length]; + uint8_t* data = new uint8_t[length]; Buffer::Iterator i = start; SetType (i.ReadU8 ()); @@ -1300,6 +1303,7 @@ uint32_t Icmpv6ParameterError::Deserialize (Buffer::Iterator start) SetPtr (i.ReadNtohU32 ()); i.Read (data, length); m_packet = Create (data, length); + delete[] data; return GetSerializedSize (); } @@ -1777,9 +1781,10 @@ uint32_t Icmpv6OptionRedirected::Deserialize (Buffer::Iterator start) i.ReadU32 (); uint32_t len2 = (GetLength () - 1) * 8; - uint8_t buff[len2]; + uint8_t* buff = new uint8_t[len2]; i.Read (buff, len2); m_packet = Create (buff, len2); + delete[] buff; return GetSerializedSize (); } diff --git a/src/internet/model/icmpv6-header.h b/src/internet/model/icmpv6-header.h index ff9363848..c72ba33fd 100644 --- a/src/internet/model/icmpv6-header.h +++ b/src/internet/model/icmpv6-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/icmpv6-l4-protocol.cc b/src/internet/model/icmpv6-l4-protocol.cc index cc4746a23..9cd9cb299 100644 --- a/src/internet/model/icmpv6-l4-protocol.cc +++ b/src/internet/model/icmpv6-l4-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * @@ -232,7 +232,7 @@ void Icmpv6L4Protocol::HandleEchoRequest (Ptr packet, Ipv6Address const { NS_LOG_FUNCTION (this << packet << src << dst << interface); Icmpv6Echo request; - uint8_t buf[packet->GetSize ()]; + uint8_t* buf = new uint8_t[packet->GetSize ()]; packet->RemoveHeader (request); /* XXX IPv6 extension: obtain a fresh copy of data otherwise it crash... */ @@ -241,6 +241,7 @@ void Icmpv6L4Protocol::HandleEchoRequest (Ptr packet, Ipv6Address const /* if we send message from ff02::* (link-local multicast), we use our link-local address */ SendEchoReply (dst.IsMulticast () ? interface->GetLinkLocalAddress ().GetAddress () : dst, src, request.GetId (), request.GetSeq (), p); + delete[] buf; } void Icmpv6L4Protocol::HandleRA (Ptr packet, Ipv6Address const &src, Ipv6Address const &dst, Ptr interface) diff --git a/src/internet/model/icmpv6-l4-protocol.h b/src/internet/model/icmpv6-l4-protocol.h index 2cfa7901e..9960effe2 100644 --- a/src/internet/model/icmpv6-l4-protocol.h +++ b/src/internet/model/icmpv6-l4-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv4-address-generator.cc b/src/internet/model/ipv4-address-generator.cc index 4703167d1..37c5e99a0 100644 --- a/src/internet/model/ipv4-address-generator.cc +++ b/src/internet/model/ipv4-address-generator.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/model/ipv4-address-generator.h b/src/internet/model/ipv4-address-generator.h index 50e1cb0ad..1a073ddf7 100644 --- a/src/internet/model/ipv4-address-generator.h +++ b/src/internet/model/ipv4-address-generator.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * @@ -47,6 +47,6 @@ public: static void TestMode (void); }; -}; // namespace ns3 +} // namespace ns3 #endif /* IPV4_ADDRESS_GENERATOR_H */ diff --git a/src/internet/model/ipv4-end-point-demux.cc b/src/internet/model/ipv4-end-point-demux.cc index 0ae869f0f..75abe9314 100644 --- a/src/internet/model/ipv4-end-point-demux.cc +++ b/src/internet/model/ipv4-end-point-demux.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -27,7 +27,7 @@ namespace ns3 { NS_LOG_COMPONENT_DEFINE ("Ipv4EndPointDemux"); Ipv4EndPointDemux::Ipv4EndPointDemux () - : m_ephemeral (49152) + : m_ephemeral (49152), m_portLast (65535), m_portFirst (49152) { NS_LOG_FUNCTION_NOARGS (); } @@ -347,26 +347,28 @@ Ipv4EndPointDemux::SimpleLookup (Ipv4Address daddr, } return generic; } - uint16_t Ipv4EndPointDemux::AllocateEphemeralPort (void) { + // Similar to counting up logic in netinet/in_pcb.c NS_LOG_FUNCTION_NOARGS (); uint16_t port = m_ephemeral; + int count = m_portLast - m_portFirst; do { - port++; - if (port == 65535) + if (count-- < 0) { - port = 49152; + return 0; } - if (!LookupPortLocal (port)) + ++port; + if (port < m_portFirst || port > m_portLast) { - return port; + port = m_portFirst; } - } while (port != m_ephemeral); - return 0; + } while (LookupPortLocal (port)); + m_ephemeral = port; + return port; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-end-point-demux.h b/src/internet/model/ipv4-end-point-demux.h index 3fe4bd006..f76dff7f2 100644 --- a/src/internet/model/ipv4-end-point-demux.h +++ b/src/internet/model/ipv4-end-point-demux.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -77,6 +77,8 @@ private: uint16_t AllocateEphemeralPort (void); uint16_t m_ephemeral; + uint16_t m_portLast; + uint16_t m_portFirst; EndPoints m_endPoints; }; diff --git a/src/internet/model/ipv4-end-point.cc b/src/internet/model/ipv4-end-point.cc index f8797802a..31cc177ac 100644 --- a/src/internet/model/ipv4-end-point.cc +++ b/src/internet/model/ipv4-end-point.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -144,4 +144,4 @@ Ipv4EndPoint::DoForwardIcmp (Ipv4Address icmpSource, uint8_t icmpTtl, m_icmpCallback (icmpSource,icmpTtl,icmpType,icmpCode,icmpInfo); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-end-point.h b/src/internet/model/ipv4-end-point.h index d4c5c5306..38790daf6 100644 --- a/src/internet/model/ipv4-end-point.h +++ b/src/internet/model/ipv4-end-point.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -91,7 +91,7 @@ private: Callback m_destroyCallback; }; -}; // namespace ns3 +} // namespace ns3 #endif /* IPV4_END_POINT_H */ diff --git a/src/internet/model/ipv4-global-routing.cc b/src/internet/model/ipv4-global-routing.cc index e35d93e58..3fe07989c 100644 --- a/src/internet/model/ipv4-global-routing.cc +++ b/src/internet/model/ipv4-global-routing.cc @@ -1,4 +1,4 @@ -// -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- +// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2008 University of Washington // @@ -597,4 +597,4 @@ Ipv4GlobalRouting::SetIpv4 (Ptr ipv4) } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-global-routing.h b/src/internet/model/ipv4-global-routing.h index 77dcd0474..0289e7441 100644 --- a/src/internet/model/ipv4-global-routing.h +++ b/src/internet/model/ipv4-global-routing.h @@ -1,4 +1,4 @@ -// -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- +// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2008 University of Washington // diff --git a/src/internet/model/ipv4-header.cc b/src/internet/model/ipv4-header.cc index e54a222a3..7914d214e 100644 --- a/src/internet/model/ipv4-header.cc +++ b/src/internet/model/ipv4-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -324,4 +324,4 @@ Ipv4Header::Deserialize (Buffer::Iterator start) return GetSerializedSize (); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-header.h b/src/internet/model/ipv4-header.h index 0d92fcf05..1dbda082a 100644 --- a/src/internet/model/ipv4-header.h +++ b/src/internet/model/ipv4-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-interface-address.cc b/src/internet/model/ipv4-interface-address.cc index b71b365d5..38098aeb6 100644 --- a/src/internet/model/ipv4-interface-address.cc +++ b/src/internet/model/ipv4-interface-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/ipv4-interface-address.h b/src/internet/model/ipv4-interface-address.h index 52117f7bb..a48e0bcc7 100644 --- a/src/internet/model/ipv4-interface-address.h +++ b/src/internet/model/ipv4-interface-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/model/ipv4-interface.cc b/src/internet/model/ipv4-interface.cc index 992777d0e..c238ef9ac 100644 --- a/src/internet/model/ipv4-interface.cc +++ b/src/internet/model/ipv4-interface.cc @@ -340,5 +340,5 @@ Ipv4Interface::RemoveAddress (uint32_t index) return (addr); // quiet compiler } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-interface.h b/src/internet/model/ipv4-interface.h index 3a49e05ec..055ac1ed2 100644 --- a/src/internet/model/ipv4-interface.h +++ b/src/internet/model/ipv4-interface.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/internet/model/ipv4-l3-protocol.cc b/src/internet/model/ipv4-l3-protocol.cc index d29b387c9..7c2a8f7e5 100644 --- a/src/internet/model/ipv4-l3-protocol.cc +++ b/src/internet/model/ipv4-l3-protocol.cc @@ -1,4 +1,4 @@ -// -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- +// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // @@ -59,6 +59,11 @@ Ipv4L3Protocol::GetTypeId (void) UintegerValue (64), MakeUintegerAccessor (&Ipv4L3Protocol::m_defaultTtl), MakeUintegerChecker ()) + .AddAttribute ("FragmentExpirationTimeout", + "When this timeout expires, the fragments will be cleared from the buffer.", + TimeValue (Seconds (30)), + MakeTimeAccessor (&Ipv4L3Protocol::m_fragmentExpirationTimeout), + MakeTimeChecker ()) .AddTraceSource ("Tx", "Send ipv4 packet to outgoing interface.", MakeTraceSourceAccessor (&Ipv4L3Protocol::m_txTrace)) .AddTraceSource ("Rx", "Receive ipv4 packet from incoming interface.", @@ -199,6 +204,23 @@ Ipv4L3Protocol::DoDispose (void) m_sockets.clear (); m_node = 0; m_routingProtocol = 0; + + for (MapFragments_t::iterator it = m_fragments.begin (); it != m_fragments.end (); it++) + { + it->second = 0; + } + + for (MapFragmentsTimers_t::iterator it = m_fragmentsTimers.begin (); it != m_fragmentsTimers.end (); it++) + { + if (it->second.IsRunning ()) + { + it->second.Cancel (); + } + } + + m_fragments.clear (); + m_fragmentsTimers.clear (); + Object::DoDispose (); } @@ -695,17 +717,26 @@ Ipv4L3Protocol::SendRealOut (Ptr route, Ptr outInterface = GetInterface (interface); NS_LOG_LOGIC ("Send via NetDevice ifIndex " << outDev->GetIfIndex () << " ipv4InterfaceIndex " << interface); - NS_ASSERT_MSG (packet->GetSize () <= outInterface->GetDevice ()->GetMtu (), - "Packet size " << packet->GetSize () << " exceeds device MTU " - << outInterface->GetDevice ()->GetMtu () - << " for IPv4; fragmentation not supported"); - if (!route->GetGateway ().IsEqual (Ipv4Address ("0.0.0.0"))) + if (!route->GetGateway ().IsEqual (Ipv4Address ("0.0.0.0"))) { if (outInterface->IsUp ()) { NS_LOG_LOGIC ("Send to gateway " << route->GetGateway ()); - m_txTrace (packet, m_node->GetObject (), interface); - outInterface->Send (packet, route->GetGateway ()); + if ( packet->GetSize () > outInterface->GetDevice ()->GetMtu () ) + { + std::list > listFragments; + DoFragmentation (packet, outInterface->GetDevice ()->GetMtu (), listFragments); + for ( std::list >::iterator it = listFragments.begin (); it != listFragments.end (); it++ ) + { + m_txTrace (*it, m_node->GetObject (), interface); + outInterface->Send (*it, route->GetGateway ()); + } + } + else + { + m_txTrace (packet, m_node->GetObject (), interface); + outInterface->Send (packet, route->GetGateway ()); + } } else { @@ -720,8 +751,22 @@ Ipv4L3Protocol::SendRealOut (Ptr route, if (outInterface->IsUp ()) { NS_LOG_LOGIC ("Send to destination " << ipHeader.GetDestination ()); - m_txTrace (packet, m_node->GetObject (), interface); - outInterface->Send (packet, ipHeader.GetDestination ()); + if ( packet->GetSize () > outInterface->GetDevice ()->GetMtu () ) + { + std::list > listFragments; + DoFragmentation (packet, outInterface->GetDevice ()->GetMtu (), listFragments); + for ( std::list >::iterator it = listFragments.begin (); it != listFragments.end (); it++ ) + { + NS_LOG_LOGIC ("Sending fragment " << **it ); + m_txTrace (*it, m_node->GetObject (), interface); + outInterface->Send (*it, ipHeader.GetDestination ()); + } + } + else + { + m_txTrace (packet, m_node->GetObject (), interface); + outInterface->Send (packet, ipHeader.GetDestination ()); + } } else { @@ -802,6 +847,19 @@ Ipv4L3Protocol::LocalDeliver (Ptr packet, Ipv4Header const&ip, uin { NS_LOG_FUNCTION (this << packet << &ip); Ptr p = packet->Copy (); // need to pass a non-const packet up + Ipv4Header ipHeader = ip; + + if ( !ipHeader.IsLastFragment () || ipHeader.GetFragmentOffset () != 0 ) + { + NS_LOG_LOGIC ("Received a fragment, processing " << *p ); + bool isPacketComplete; + isPacketComplete = ProcessFragment (p, ipHeader, iif); + if ( isPacketComplete == false) + { + return; + } + NS_LOG_LOGIC ("Got last fragment, Packet is complete " << *p ); + } m_localDeliverTrace (ip, packet, iif); @@ -1057,4 +1115,283 @@ Ipv4L3Protocol::RouteInputError (Ptr p, const Ipv4Header & ipHeade m_dropTrace (ipHeader, p, DROP_ROUTE_ERROR, m_node->GetObject (), 0); } -} //namespace ns3 +void +Ipv4L3Protocol::DoFragmentation (Ptr packet, uint32_t outIfaceMtu, std::list >& listFragments) +{ + // BEWARE: here we do assume that the header options are not present. + // a much more complex handling is necessary in case there are options. + // If (when) IPv4 option headers will be implemented, the following code shall be changed. + // Of course also the reassemby code shall be changed as well. + + NS_LOG_FUNCTION (this << *packet << " - MTU: " << outIfaceMtu); + + Ptr p = packet->Copy (); + + Ipv4Header ipv4Header; + p->RemoveHeader (ipv4Header); + + NS_ASSERT_MSG( (ipv4Header.GetSerializedSize() == 5*4), + "IPv4 fragmentation implementation only works without option headers." ); + + uint16_t offset = 0; + bool moreFragment = true; + uint32_t currentFragmentablePartSize = 0; + + // IPv4 fragments are all 8 bytes aligned but the last. + // The IP payload size is: + // floor( ( outIfaceMtu - ipv4Header.GetSerializedSize() ) /8 ) *8 + uint32_t fragmentSize = (outIfaceMtu - ipv4Header.GetSerializedSize () ) & ~uint32_t (0x7); + + NS_LOG_LOGIC ("Fragmenting - Target Size: " << fragmentSize ); + + do + { + Ipv4Header fragmentHeader = ipv4Header; + + if (p->GetSize () > offset + fragmentSize ) + { + moreFragment = true; + currentFragmentablePartSize = fragmentSize; + fragmentHeader.SetMoreFragments (); + } + else + { + moreFragment = false; + currentFragmentablePartSize = p->GetSize () - offset; + fragmentHeader.SetLastFragment (); + } + + NS_LOG_LOGIC ("Fragment creation - " << offset << ", " << currentFragmentablePartSize ); + Ptr fragment = p->CreateFragment (offset, currentFragmentablePartSize); + NS_LOG_LOGIC ("Fragment created - " << offset << ", " << fragment->GetSize () ); + + fragmentHeader.SetFragmentOffset (offset); + fragmentHeader.SetPayloadSize (currentFragmentablePartSize); + + NS_LOG_LOGIC ("Fragment check - " << fragmentHeader.GetFragmentOffset () ); + + NS_LOG_LOGIC ("New fragment Header " << fragmentHeader); + fragment->AddHeader (fragmentHeader); + + std::ostringstream oss; + fragment->Print (oss); + + NS_LOG_LOGIC ("New fragment " << *fragment); + + listFragments.push_back (fragment); + + offset += currentFragmentablePartSize; + + } + while (moreFragment); + + return; +} + +bool +Ipv4L3Protocol::ProcessFragment (Ptr& packet, Ipv4Header& ipHeader, uint32_t iif) +{ + NS_LOG_FUNCTION (this << packet << " " << ipHeader << " " << iif); + + uint64_t addressCombination = uint64_t (ipHeader.GetSource ().Get ()) << 32 & uint64_t (ipHeader.GetDestination ().Get ()); + uint32_t idProto = uint32_t (ipHeader.GetIdentification ()) << 16 & uint32_t (ipHeader.GetProtocol ()); + std::pair key; + bool ret = false; + Ptr p = packet->Copy (); + + key.first = addressCombination; + key.second = idProto; + + Ptr fragments; + + MapFragments_t::iterator it = m_fragments.find (key); + if (it == m_fragments.end ()) + { + fragments = Create (); + m_fragments.insert (std::make_pair (key, fragments)); + m_fragmentsTimers[key] = Simulator::Schedule (m_fragmentExpirationTimeout, + &Ipv4L3Protocol::HandleFragmentsTimeout, this, + key, ipHeader, iif); + } + else + { + fragments = it->second; + } + + NS_LOG_LOGIC ("Adding fragment - Size: " << packet->GetSize ( ) << " - Offset: " << (ipHeader.GetFragmentOffset ()) ); + + fragments->AddFragment (p, ipHeader.GetFragmentOffset (), !ipHeader.IsLastFragment () ); + + if ( fragments->IsEntire () ) + { + packet = fragments->GetPacket (); + fragments = 0; + m_fragments.erase (key); + if (m_fragmentsTimers[key].IsRunning ()) + { + NS_LOG_LOGIC ("Stopping WaitFragmentsTimer at " << Simulator::Now ().GetSeconds () << " due to complete packet"); + m_fragmentsTimers[key].Cancel (); + } + m_fragmentsTimers.erase (key); + ret = true; + } + + return ret; +} + +Ipv4L3Protocol::Fragments::Fragments () + : m_moreFragment (0) +{ +} + +Ipv4L3Protocol::Fragments::~Fragments () +{ +} + +void +Ipv4L3Protocol::Fragments::AddFragment (Ptr fragment, uint16_t fragmentOffset, bool moreFragment) +{ + NS_LOG_FUNCTION (this << fragment << " " << fragmentOffset << " " << moreFragment); + + std::list, uint16_t> >::iterator it; + + for (it = m_fragments.begin (); it != m_fragments.end (); it++) + { + if (it->second > fragmentOffset) + { + break; + } + } + + if (it == m_fragments.end ()) + { + m_moreFragment = moreFragment; + } + + m_fragments.insert (it, std::make_pair, uint16_t> (fragment, fragmentOffset)); +} + +bool +Ipv4L3Protocol::Fragments::IsEntire () const +{ + NS_LOG_FUNCTION (this); + + bool ret = !m_moreFragment && m_fragments.size () > 0; + + if (ret) + { + uint16_t lastEndOffset = 0; + + for (std::list, uint16_t> >::const_iterator it = m_fragments.begin (); it != m_fragments.end (); it++) + { + // overlapping fragments do exist + NS_LOG_LOGIC ("Checking overlaps " << lastEndOffset << " - " << it->second ); + + if (lastEndOffset < it->second) + { + ret = false; + break; + } + // fragments might overlap in strange ways + uint16_t fragmentEnd = it->first->GetSize () + it->second; + lastEndOffset = std::max ( lastEndOffset, fragmentEnd ); + } + } + + return ret; +} + +Ptr +Ipv4L3Protocol::Fragments::GetPacket () const +{ + NS_LOG_FUNCTION (this); + + std::list, uint16_t> >::const_iterator it = m_fragments.begin (); + + Ptr p = Create (); + uint16_t lastEndOffset = 0; + + for ( it = m_fragments.begin (); it != m_fragments.end (); it++) + { + if ( lastEndOffset > it->second ) + { + // The fragments are overlapping. + // We do not overwrite the "old" with the "new" because we do not know when each arrived. + // This is different from what Linux does. + // It is not possible to emulate a fragmentation attack. + uint32_t newStart = lastEndOffset - it->second; + if ( it->first->GetSize () > newStart ) + { + uint32_t newSize = it->first->GetSize () - newStart; + Ptr tempFragment = it->first->CreateFragment (newStart, newSize); + p->AddAtEnd (tempFragment); + } + } + else + { + NS_LOG_LOGIC ("Adding: " << *(it->first) ); + p->AddAtEnd (it->first); + } + lastEndOffset = p->GetSize (); + } + + return p; +} + +Ptr +Ipv4L3Protocol::Fragments::GetPartialPacket () const +{ + std::list, uint16_t> >::const_iterator it = m_fragments.begin (); + + Ptr p = Create (); + uint16_t lastEndOffset = 0; + + if ( m_fragments.begin ()->second > 0 ) + { + return p; + } + + for ( it = m_fragments.begin (); it != m_fragments.end (); it++) + { + if ( lastEndOffset > it->second ) + { + uint32_t newStart = lastEndOffset - it->second; + uint32_t newSize = it->first->GetSize () - newStart; + Ptr tempFragment = it->first->CreateFragment (newStart, newSize); + p->AddAtEnd (tempFragment); + } + else if ( lastEndOffset == it->second ) + { + NS_LOG_LOGIC ("Adding: " << *(it->first) ); + p->AddAtEnd (it->first); + } + lastEndOffset = p->GetSize (); + } + + return p; +} + +void +Ipv4L3Protocol::HandleFragmentsTimeout (std::pair key, Ipv4Header & ipHeader, uint32_t iif) +{ + NS_LOG_FUNCTION (this); + + MapFragments_t::iterator it = m_fragments.find (key); + Ptr packet = it->second->GetPartialPacket (); + + // if we have at least 8 bytes, we can send an ICMP. + if ( packet->GetSize () > 8 ) + { + Ptr icmp = GetIcmp (); + icmp->SendTimeExceededTtl (ipHeader, packet); + } + m_dropTrace (ipHeader, packet, DROP_FRAGMENT_TIMEOUT, m_node->GetObject (), iif); + + // clear the buffers + it->second = 0; + + m_fragments.erase (key); + m_fragmentsTimers.erase (key); +} + +} // namespace ns3 diff --git a/src/internet/model/ipv4-l3-protocol.h b/src/internet/model/ipv4-l3-protocol.h index 4d9466624..8fdb2fdb1 100644 --- a/src/internet/model/ipv4-l3-protocol.h +++ b/src/internet/model/ipv4-l3-protocol.h @@ -1,4 +1,4 @@ -// -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- +// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // @@ -22,6 +22,7 @@ #define IPV4_L3_PROTOCOL_H #include +#include #include #include #include "ns3/ipv4-address.h" @@ -31,6 +32,8 @@ #include "ns3/traced-callback.h" #include "ns3/ipv4-header.h" #include "ns3/ipv4-routing-protocol.h" +#include "ns3/nstime.h" +#include "ns3/simulator.h" namespace ns3 { @@ -63,6 +66,13 @@ class Icmpv4L4Protocol; * and LocalDeliver trace sources are slightly higher-level and pass * around the Ipv4Header as an explicit parameter and not as part of * the packet. + * + * IP fragmentation and reassembly is handled at this level. + * At the moment the fragmentation does not handle IP option headers, + * and in particular the ones that shall not be fragmented. + * Moreover, the actual implementation does not mimic exactly the Linux + * kernel. Hence it is not possible, for instance, to test a fragmentation + * attack. */ class Ipv4L3Protocol : public Ipv4 { @@ -84,6 +94,7 @@ public: DROP_BAD_CHECKSUM, /**< Bad checksum */ DROP_INTERFACE_DOWN, /**< Interface is down so can not send packet */ DROP_ROUTE_ERROR, /**< Route error */ + DROP_FRAGMENT_TIMEOUT /**< Fragment timeout exceeded */ }; void SetNode (Ptr node); @@ -246,9 +257,39 @@ private: uint32_t AddIpv4Interface (Ptr interface); void SetupLoopback (void); + + /** + * \brief Get ICMPv4 protocol. + * \return Icmpv4L4Protocol pointer + */ Ptr GetIcmp (void) const; bool IsUnicast (Ipv4Address ad, Ipv4Mask interfaceMask) const; + /** + * \brief Fragment a packet + * \param packet the packet + * \param outIfaceMtu the MTU of the interface + * \param listFragments the list of fragments + */ + void DoFragmentation (Ptr packet, uint32_t outIfaceMtu, std::list >& listFragments); + + /** + * \brief Process a packet fragment + * \param packet the packet + * \param fragmentSize the size of the fragment + * \param iif Input Interface + * \return true is the fragment completed the packet + */ + bool ProcessFragment (Ptr& packet, Ipv4Header & ipHeader, uint32_t iif); + + /** + * \brief Process the timeout for packet fragments + * \param key representing the packet fragments + * \param ipHeader the IP header of the original packet + * \param iif Input Interface + */ + void HandleFragmentsTimeout ( std::pair key, Ipv4Header & ipHeader, uint32_t iif); + typedef std::vector > Ipv4InterfaceList; typedef std::list > SocketList; typedef std::list > L4List_t; @@ -274,6 +315,77 @@ private: Ptr m_routingProtocol; SocketList m_sockets; + + /** + * \class Fragments + * \brief A Set of Fragment belonging to the same packet (src, dst, identification and proto) + */ + class Fragments : public SimpleRefCount + { +public: + /** + * \brief Constructor. + */ + Fragments (); + + /** + * \brief Destructor. + */ + ~Fragments (); + + /** + * \brief Add a fragment. + * \param fragment the fragment + * \param fragmentOffset the offset of the fragment + * \param moreFragment the bit "More Fragment" + */ + void AddFragment (Ptr fragment, uint16_t fragmentOffset, bool moreFragment); + + /** + * \brief If all fragments have been added. + * \returns true if the packet is entire + */ + bool IsEntire () const; + + /** + * \brief Get the entire packet. + * \return the entire packet + */ + Ptr GetPacket () const; + + /** + * \brief Get the complete part of the packet. + * \return the part we have comeplete + */ + Ptr GetPartialPacket () const; + +private: + /** + * \brief True if other fragments will be sent. + */ + bool m_moreFragment; + + /** + * \brief The current fragments. + */ + std::list, uint16_t> > m_fragments; + + /** + * \brief Number of references. + */ + mutable uint32_t m_refCount; + }; + + typedef std::map< std::pair, Ptr > MapFragments_t; + typedef std::map< std::pair, EventId > MapFragmentsTimers_t; + + /** + * \brief The hash of fragmented packets. + */ + MapFragments_t m_fragments; + Time m_fragmentExpirationTimeout; + MapFragmentsTimers_t m_fragmentsTimers; + }; } // Namespace ns3 diff --git a/src/internet/model/ipv4-l4-protocol.cc b/src/internet/model/ipv4-l4-protocol.cc index a51e16c68..ac741a3cd 100644 --- a/src/internet/model/ipv4-l4-protocol.cc +++ b/src/internet/model/ipv4-l4-protocol.cc @@ -1,4 +1,4 @@ -// -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- +// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // @@ -52,4 +52,4 @@ Ipv4L4Protocol::ReceiveIcmp (Ipv4Address icmpSource, uint8_t icmpTtl, const uint8_t payload[8]) {} -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-l4-protocol.h b/src/internet/model/ipv4-l4-protocol.h index 0ebdab8de..7becfdd1f 100644 --- a/src/internet/model/ipv4-l4-protocol.h +++ b/src/internet/model/ipv4-l4-protocol.h @@ -1,4 +1,4 @@ -// -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- +// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // diff --git a/src/internet/model/ipv4-list-routing.cc b/src/internet/model/ipv4-list-routing.cc index 1b7516505..f34e3b99b 100644 --- a/src/internet/model/ipv4-list-routing.cc +++ b/src/internet/model/ipv4-list-routing.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv4-list-routing.h b/src/internet/model/ipv4-list-routing.h index 0387b9724..044ec0580 100644 --- a/src/internet/model/ipv4-list-routing.h +++ b/src/internet/model/ipv4-list-routing.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -100,6 +100,6 @@ private: }; -} //namespace ns3 +} // namespace ns3 #endif /* IPV4_LIST_ROUTING_H */ diff --git a/src/internet/model/ipv4-packet-info-tag.cc b/src/internet/model/ipv4-packet-info-tag.cc index 2bb04efa2..e9054268f 100644 --- a/src/internet/model/ipv4-packet-info-tag.cc +++ b/src/internet/model/ipv4-packet-info-tag.cc @@ -136,5 +136,5 @@ Ipv4PacketInfoTag::Print (std::ostream &os) const os << ", TTL:" << (uint32_t) m_ttl; os << "] "; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-packet-info-tag.h b/src/internet/model/ipv4-packet-info-tag.h index 50f288683..935cc3875 100644 --- a/src/internet/model/ipv4-packet-info-tag.h +++ b/src/internet/model/ipv4-packet-info-tag.h @@ -18,8 +18,8 @@ * Authors: Hajime Tazaki */ -#ifndef __IPV4_PACKET_INFO_TAG_H__ -#define __IPV4_PACKET_INFO_TAG_H__ +#ifndef IPV4_PACKET_INFO_TAG_H +#define IPV4_PACKET_INFO_TAG_H #include "ns3/tag.h" #include "ns3/ipv4-address.h" @@ -84,7 +84,6 @@ private: // Uset for IP_RECVTTL, though not implemented yet. uint8_t m_ttl; }; -} //namespace ns3 - -#endif /* __IPV4_PACKET_INFO_TAG_H__ */ +} // namespace ns3 +#endif /* IPV4_PACKET_INFO_TAG_H */ diff --git a/src/internet/model/ipv4-raw-socket-factory-impl.cc b/src/internet/model/ipv4-raw-socket-factory-impl.cc index e3ea9476a..87a324388 100644 --- a/src/internet/model/ipv4-raw-socket-factory-impl.cc +++ b/src/internet/model/ipv4-raw-socket-factory-impl.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/ipv4-raw-socket-factory-impl.h b/src/internet/model/ipv4-raw-socket-factory-impl.h index d89d1412c..eef572296 100644 --- a/src/internet/model/ipv4-raw-socket-factory-impl.h +++ b/src/internet/model/ipv4-raw-socket-factory-impl.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/ipv4-raw-socket-impl.cc b/src/internet/model/ipv4-raw-socket-impl.cc index 043c39523..bcc26e8be 100644 --- a/src/internet/model/ipv4-raw-socket-impl.cc +++ b/src/internet/model/ipv4-raw-socket-impl.cc @@ -1,5 +1,7 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include +#include +#include #include "ipv4-raw-socket-impl.h" #include "ipv4-l3-protocol.h" #include "icmpv4.h" diff --git a/src/internet/model/ipv4-raw-socket-impl.h b/src/internet/model/ipv4-raw-socket-impl.h index 6a8493d4c..129226534 100644 --- a/src/internet/model/ipv4-raw-socket-impl.h +++ b/src/internet/model/ipv4-raw-socket-impl.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #ifndef IPV4_RAW_SOCKET_IMPL_H #define IPV4_RAW_SOCKET_IMPL_H diff --git a/src/internet/model/ipv4-route.cc b/src/internet/model/ipv4-route.cc index 278b1d08c..44582d204 100644 --- a/src/internet/model/ipv4-route.cc +++ b/src/internet/model/ipv4-route.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -157,4 +157,4 @@ Ipv4MulticastRoute::GetOutputTtlMap () const return(m_ttls); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-route.h b/src/internet/model/ipv4-route.h index f87b113a0..5fb44d42e 100644 --- a/src/internet/model/ipv4-route.h +++ b/src/internet/model/ipv4-route.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -163,6 +163,6 @@ private: std::map m_ttls; }; -} //namespace ns3 +} // namespace ns3 #endif /* IPV4_ROUTE_H */ diff --git a/src/internet/model/ipv4-routing-protocol.cc b/src/internet/model/ipv4-routing-protocol.cc index f90f7f923..613eeba17 100644 --- a/src/internet/model/ipv4-routing-protocol.cc +++ b/src/internet/model/ipv4-routing-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -32,4 +32,4 @@ TypeId Ipv4RoutingProtocol::GetTypeId (void) return tid; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-routing-protocol.h b/src/internet/model/ipv4-routing-protocol.h index 5bda83460..57f18c9d0 100644 --- a/src/internet/model/ipv4-routing-protocol.h +++ b/src/internet/model/ipv4-routing-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -145,6 +145,6 @@ public: virtual void PrintRoutingTable (Ptr stream) const = 0; }; -} //namespace ns3 +} // namespace ns3 #endif /* IPV4_ROUTING_PROTOCOL_H */ diff --git a/src/internet/model/ipv4-routing-table-entry.cc b/src/internet/model/ipv4-routing-table-entry.cc index f74047c84..386ddd58b 100644 --- a/src/internet/model/ipv4-routing-table-entry.cc +++ b/src/internet/model/ipv4-routing-table-entry.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -337,4 +337,4 @@ operator<< (std::ostream& os, Ipv4MulticastRoutingTableEntry const& route) return os; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-routing-table-entry.h b/src/internet/model/ipv4-routing-table-entry.h index 9c280ef12..9b98ec094 100644 --- a/src/internet/model/ipv4-routing-table-entry.h +++ b/src/internet/model/ipv4-routing-table-entry.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -226,6 +226,6 @@ private: std::ostream& operator<< (std::ostream& os, Ipv4MulticastRoutingTableEntry const& route); -} //namespace ns3 +} // namespace ns3 #endif /* IPV4_ROUTING_TABLE_ENTRY_H */ diff --git a/src/internet/model/ipv4-static-routing.cc b/src/internet/model/ipv4-static-routing.cc index ab11b7b45..278440352 100644 --- a/src/internet/model/ipv4-static-routing.cc +++ b/src/internet/model/ipv4-static-routing.cc @@ -1,4 +1,4 @@ -// -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- +// -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- // // Copyright (c) 2006 Georgia Tech Research Corporation // @@ -775,4 +775,4 @@ Ipv4StaticRouting::SourceAddressSelection (uint32_t interfaceIdx, Ipv4Address de return candidate; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv4-static-routing.h b/src/internet/model/ipv4-static-routing.h index e74b2ed09..8ae679790 100644 --- a/src/internet/model/ipv4-static-routing.h +++ b/src/internet/model/ipv4-static-routing.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * diff --git a/src/internet/model/ipv6-autoconfigured-prefix.cc b/src/internet/model/ipv6-autoconfigured-prefix.cc index e17789276..cdea5dac5 100644 --- a/src/internet/model/ipv6-autoconfigured-prefix.cc +++ b/src/internet/model/ipv6-autoconfigured-prefix.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Telecom Bretagne * diff --git a/src/internet/model/ipv6-autoconfigured-prefix.h b/src/internet/model/ipv6-autoconfigured-prefix.h index 186d5fb34..af8f4cc44 100644 --- a/src/internet/model/ipv6-autoconfigured-prefix.h +++ b/src/internet/model/ipv6-autoconfigured-prefix.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Telecom Bretagne * diff --git a/src/internet/model/ipv6-end-point-demux.cc b/src/internet/model/ipv6-end-point-demux.cc index 4bc540b52..466426966 100644 --- a/src/internet/model/ipv6-end-point-demux.cc +++ b/src/internet/model/ipv6-end-point-demux.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-end-point-demux.h b/src/internet/model/ipv6-end-point-demux.h index b02de0d3d..03d043c80 100644 --- a/src/internet/model/ipv6-end-point-demux.h +++ b/src/internet/model/ipv6-end-point-demux.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-end-point.cc b/src/internet/model/ipv6-end-point.cc index db6fb418b..d34ca9bac 100644 --- a/src/internet/model/ipv6-end-point.cc +++ b/src/internet/model/ipv6-end-point.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-end-point.h b/src/internet/model/ipv6-end-point.h index 688009ee9..9fc5c83a5 100644 --- a/src/internet/model/ipv6-end-point.h +++ b/src/internet/model/ipv6-end-point.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension-demux.cc b/src/internet/model/ipv6-extension-demux.cc index d02455cde..04688ae17 100644 --- a/src/internet/model/ipv6-extension-demux.cc +++ b/src/internet/model/ipv6-extension-demux.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension-demux.h b/src/internet/model/ipv6-extension-demux.h index bce769d9a..5ed9025ed 100644 --- a/src/internet/model/ipv6-extension-demux.h +++ b/src/internet/model/ipv6-extension-demux.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension-header.cc b/src/internet/model/ipv6-extension-header.cc index fb1cdc57c..2db006346 100644 --- a/src/internet/model/ipv6-extension-header.cc +++ b/src/internet/model/ipv6-extension-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * @@ -102,7 +102,7 @@ uint32_t Ipv6ExtensionHeader::Deserialize (Buffer::Iterator start) m_length = i.ReadU8 (); uint32_t dataLength = GetLength () - 2; - uint8_t data[dataLength]; + uint8_t* data = new uint8_t[dataLength]; i.Read (data, dataLength); if (dataLength > m_data.GetSize ()) @@ -117,6 +117,7 @@ uint32_t Ipv6ExtensionHeader::Deserialize (Buffer::Iterator start) i = m_data.Begin (); i.Write (data, dataLength); + delete[] data; return GetSerializedSize (); } @@ -152,11 +153,12 @@ void OptionField::Serialize (Buffer::Iterator start) const uint32_t OptionField::Deserialize (Buffer::Iterator start, uint32_t length) { - uint8_t buf[length]; + uint8_t* buf = new uint8_t[length]; start.Read (buf, length); m_optionData = Buffer (); m_optionData.AddAtEnd (length); m_optionData.Begin ().Write (buf, length); + delete[] buf; return length; } diff --git a/src/internet/model/ipv6-extension-header.h b/src/internet/model/ipv6-extension-header.h index e7b53c602..0bba77324 100644 --- a/src/internet/model/ipv6-extension-header.h +++ b/src/internet/model/ipv6-extension-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-extension.cc b/src/internet/model/ipv6-extension.cc index 7cf48e299..fc16d0aa5 100644 --- a/src/internet/model/ipv6-extension.cc +++ b/src/internet/model/ipv6-extension.cc @@ -1,4 +1,4 @@ -/* Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * @@ -343,6 +343,10 @@ uint8_t Ipv6ExtensionFragment::Process (Ptr& packet, uint8_t offset, Ipv { fragments = Create (); m_fragments.insert (std::make_pair (fragmentsId, fragments)); + EventId timeout = Simulator::Schedule (Seconds(60), + &Ipv6ExtensionFragment::HandleFragmentsTimeout, this, + fragmentsId, fragments, ipv6Header); + fragments->SetTimeoutEventId (timeout); } else { @@ -361,12 +365,13 @@ uint8_t Ipv6ExtensionFragment::Process (Ptr& packet, uint8_t offset, Ipv if (fragments->IsEntire ()) { packet = fragments->GetPacket (); + fragments->CancelTimeout(); + m_fragments.erase(fragmentsId); isDropped = false; } else { - NS_LOG_LOGIC ("Fragment. Drop!"); - m_dropTrace (packet); + // the fragment is not "dropped", but Ipv6L3Protocol::LocalDeliver must stop processing it. isDropped = true; } @@ -539,6 +544,24 @@ void Ipv6ExtensionFragment::GetFragments (Ptr packet, uint32_t maxFragme unfragmentablePart.clear (); } + +void Ipv6ExtensionFragment::HandleFragmentsTimeout (std::pair fragmentsId, Ptr fragments, Ipv6Header & ipHeader) +{ + Ptr packet = fragments->GetPartialPacket (); + + // if we have at least 8 bytes, we can send an ICMP. + if ( packet->GetSize () > 8 ) + { + + Ptr icmp = GetNode()->GetObject (); + icmp->SendErrorTimeExceeded (packet, ipHeader.GetSourceAddress (), Icmpv6Header::ICMPV6_FRAGTIME); + } + m_dropTrace (packet); + + // clear the buffers + m_fragments.erase(fragmentsId); +} + Ipv6ExtensionFragment::Fragments::Fragments () : m_moreFragment (0) { @@ -608,6 +631,46 @@ Ptr Ipv6ExtensionFragment::Fragments::GetPacket () const return p; } +Ptr Ipv6ExtensionFragment::Fragments::GetPartialPacket () const +{ + Ptr p; + + if ( m_unfragmentable ) + { + p = m_unfragmentable->Copy (); + } + else + { + return p; + } + + uint16_t lastEndOffset = 0; + + for (std::list, uint16_t> >::const_iterator it = m_fragments.begin (); it != m_fragments.end (); it++) + { + if (lastEndOffset != it->second) + { + break; + } + p->AddAtEnd (it->first); + lastEndOffset += it->first->GetSize (); + } + + return p; +} + +void Ipv6ExtensionFragment::Fragments::SetTimeoutEventId (EventId event) +{ + m_timeoutEventId = event; + return; +} + +void Ipv6ExtensionFragment::Fragments::CancelTimeout() +{ + m_timeoutEventId.Cancel (); + return; +} + NS_OBJECT_ENSURE_REGISTERED (Ipv6ExtensionRouting); diff --git a/src/internet/model/ipv6-extension.h b/src/internet/model/ipv6-extension.h index 3d2d8e4dc..2d433d7d5 100644 --- a/src/internet/model/ipv6-extension.h +++ b/src/internet/model/ipv6-extension.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * @@ -319,6 +319,22 @@ public: */ Ptr GetPacket () const; + /** + * \brief Get the packet parts so far received. + * \return the partial packet + */ + Ptr GetPartialPacket () const; + + /** + * \brief Set the Timeout EventId. + */ + void SetTimeoutEventId (EventId event); + + /** + * \brief Cancel the timeout event + */ + void CancelTimeout (); + private: /** * \brief If other fragments will be sent. @@ -339,8 +355,37 @@ private: * \brief Number of references. */ mutable uint32_t m_refCount; + + /** + * \brief Timeout handler event + */ + EventId m_timeoutEventId; }; + /** + * \brief Process the timeout for packet fragments + * \param key representing the packet fragments + * \param ipHeader the IP header of the original packet + * \param iif Input Interface + */ + void HandleFragmentsTimeout (std::pair key, Ptr fragments, Ipv6Header & ipHeader); + + /** + * \brief Get the packet parts so far received. + * \return the partial packet + */ + Ptr GetPartialPacket () const; + + /** + * \brief Set the Timeout EventId. + */ + void SetTimeoutEventId (EventId event); + + /** + * \brief Cancel the timeout event + */ + void CancelTimeout (); + typedef std::map, Ptr > MapFragments_t; /** diff --git a/src/internet/model/ipv6-header.cc b/src/internet/model/ipv6-header.cc index 7399b841d..a7ea7a1a2 100644 --- a/src/internet/model/ipv6-header.cc +++ b/src/internet/model/ipv6-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/internet/model/ipv6-header.h b/src/internet/model/ipv6-header.h index 197cefd75..97a194bf8 100644 --- a/src/internet/model/ipv6-header.h +++ b/src/internet/model/ipv6-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/internet/model/ipv6-interface-address.cc b/src/internet/model/ipv6-interface-address.cc index ef7c7b062..e962ba648 100644 --- a/src/internet/model/ipv6-interface-address.cc +++ b/src/internet/model/ipv6-interface-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-interface-address.h b/src/internet/model/ipv6-interface-address.h index ee1475c92..6efc7497f 100644 --- a/src/internet/model/ipv6-interface-address.h +++ b/src/internet/model/ipv6-interface-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-interface.cc b/src/internet/model/ipv6-interface.cc index c79c2aa9c..7c2c14053 100644 --- a/src/internet/model/ipv6-interface.cc +++ b/src/internet/model/ipv6-interface.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-interface.h b/src/internet/model/ipv6-interface.h index af46d76a4..7051ce780 100644 --- a/src/internet/model/ipv6-interface.h +++ b/src/internet/model/ipv6-interface.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-l3-protocol.cc b/src/internet/model/ipv6-l3-protocol.cc index 3db0d9284..42e2bce4d 100644 --- a/src/internet/model/ipv6-l3-protocol.cc +++ b/src/internet/model/ipv6-l3-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-l3-protocol.h b/src/internet/model/ipv6-l3-protocol.h index c0f49edf4..1474e84f3 100644 --- a/src/internet/model/ipv6-l3-protocol.h +++ b/src/internet/model/ipv6-l3-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-l4-protocol.cc b/src/internet/model/ipv6-l4-protocol.cc index 86deb8cea..8bfd8cdf6 100644 --- a/src/internet/model/ipv6-l4-protocol.cc +++ b/src/internet/model/ipv6-l4-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-l4-protocol.h b/src/internet/model/ipv6-l4-protocol.h index 14d279ad8..34c5dda96 100644 --- a/src/internet/model/ipv6-l4-protocol.h +++ b/src/internet/model/ipv6-l4-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-list-routing.cc b/src/internet/model/ipv6-list-routing.cc index 5127ed560..9e24a8ca4 100644 --- a/src/internet/model/ipv6-list-routing.cc +++ b/src/internet/model/ipv6-list-routing.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv6-list-routing.h b/src/internet/model/ipv6-list-routing.h index bdeff3777..77b2b18f9 100644 --- a/src/internet/model/ipv6-list-routing.h +++ b/src/internet/model/ipv6-list-routing.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -133,7 +133,7 @@ private: Ptr m_ipv6; }; -} //namespace ns3 +} // namespace ns3 #endif /* IPV6_LIST_ROUTING_H */ diff --git a/src/internet/model/ipv6-option-demux.cc b/src/internet/model/ipv6-option-demux.cc index e40f6b4dd..b23dcffd6 100644 --- a/src/internet/model/ipv6-option-demux.cc +++ b/src/internet/model/ipv6-option-demux.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option-demux.h b/src/internet/model/ipv6-option-demux.h index f5a90a7ab..e1e4a603e 100644 --- a/src/internet/model/ipv6-option-demux.h +++ b/src/internet/model/ipv6-option-demux.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option-header.cc b/src/internet/model/ipv6-option-header.cc index 594f7add1..753cac9a5 100644 --- a/src/internet/model/ipv6-option-header.cc +++ b/src/internet/model/ipv6-option-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option-header.h b/src/internet/model/ipv6-option-header.h index faa97c9a0..a180cff59 100644 --- a/src/internet/model/ipv6-option-header.h +++ b/src/internet/model/ipv6-option-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option.cc b/src/internet/model/ipv6-option.cc index 7656aedcb..9a530d384 100644 --- a/src/internet/model/ipv6-option.cc +++ b/src/internet/model/ipv6-option.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-option.h b/src/internet/model/ipv6-option.h index dc9b47436..f4fb7d6fb 100644 --- a/src/internet/model/ipv6-option.h +++ b/src/internet/model/ipv6-option.h @@ -1,4 +1,4 @@ -/* -*-Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode: C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-packet-info-tag.cc b/src/internet/model/ipv6-packet-info-tag.cc index 11a378a82..1d09e759b 100644 --- a/src/internet/model/ipv6-packet-info-tag.cc +++ b/src/internet/model/ipv6-packet-info-tag.cc @@ -134,5 +134,5 @@ Ipv6PacketInfoTag::Print (std::ostream &os) const os << ", TClass:" << (uint32_t) m_tclass; os << "] "; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/ipv6-packet-info-tag.h b/src/internet/model/ipv6-packet-info-tag.h index 099afed3f..821c0029b 100644 --- a/src/internet/model/ipv6-packet-info-tag.h +++ b/src/internet/model/ipv6-packet-info-tag.h @@ -18,8 +18,8 @@ * Authors: Hajime Tazaki */ -#ifndef __IPV6_PACKET_INFO_TAG_H__ -#define __IPV6_PACKET_INFO_TAG_H__ +#ifndef IPV6_PACKET_INFO_TAG_H +#define IPV6_PACKET_INFO_TAG_H #include "ns3/tag.h" #include "ns3/ipv6-address.h" @@ -89,7 +89,7 @@ private: uint8_t m_hoplimit; uint8_t m_tclass; }; -} //namespace ns3 +} // namespace ns3 -#endif /* __IPV6_PACKET_INFO_TAG_H__ */ +#endif /* IPV6_PACKET_INFO_TAG_H */ diff --git a/src/internet/model/ipv6-raw-socket-factory-impl.cc b/src/internet/model/ipv6-raw-socket-factory-impl.cc index 086a48603..be3cb20c2 100644 --- a/src/internet/model/ipv6-raw-socket-factory-impl.cc +++ b/src/internet/model/ipv6-raw-socket-factory-impl.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/ipv6-raw-socket-factory-impl.h b/src/internet/model/ipv6-raw-socket-factory-impl.h index 91d53ed35..08077acc5 100644 --- a/src/internet/model/ipv6-raw-socket-factory-impl.h +++ b/src/internet/model/ipv6-raw-socket-factory-impl.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/internet/model/ipv6-raw-socket-impl.cc b/src/internet/model/ipv6-raw-socket-impl.cc index b8e03ba8c..9d519e89d 100644 --- a/src/internet/model/ipv6-raw-socket-impl.cc +++ b/src/internet/model/ipv6-raw-socket-impl.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * @@ -19,6 +19,8 @@ */ #include +#include +#include #include "ns3/inet6-socket-address.h" #include "ns3/node.h" #include "ns3/packet.h" diff --git a/src/internet/model/ipv6-raw-socket-impl.h b/src/internet/model/ipv6-raw-socket-impl.h index cd279109a..1f80fd2d6 100644 --- a/src/internet/model/ipv6-raw-socket-impl.h +++ b/src/internet/model/ipv6-raw-socket-impl.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-route.cc b/src/internet/model/ipv6-route.cc index 9ea3994d2..0ed19ebfa 100644 --- a/src/internet/model/ipv6-route.cc +++ b/src/internet/model/ipv6-route.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-route.h b/src/internet/model/ipv6-route.h index 1227c36b9..855ca97f1 100644 --- a/src/internet/model/ipv6-route.h +++ b/src/internet/model/ipv6-route.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-routing-protocol.cc b/src/internet/model/ipv6-routing-protocol.cc index e4d0a21d0..88cd22f07 100644 --- a/src/internet/model/ipv6-routing-protocol.cc +++ b/src/internet/model/ipv6-routing-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/model/ipv6-routing-protocol.h b/src/internet/model/ipv6-routing-protocol.h index 90b32f2f3..4713b3155 100644 --- a/src/internet/model/ipv6-routing-protocol.h +++ b/src/internet/model/ipv6-routing-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -173,7 +173,7 @@ public: virtual void SetIpv6 (Ptr ipv6) = 0; }; -} //namespace ns3 +} // namespace ns3 #endif /* IPV6_ROUTING_PROTOCOL_H */ diff --git a/src/internet/model/ipv6-routing-table-entry.cc b/src/internet/model/ipv6-routing-table-entry.cc index 9479bf383..b297db4ce 100644 --- a/src/internet/model/ipv6-routing-table-entry.cc +++ b/src/internet/model/ipv6-routing-table-entry.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-routing-table-entry.h b/src/internet/model/ipv6-routing-table-entry.h index 2a7fbfeec..84c9a720e 100644 --- a/src/internet/model/ipv6-routing-table-entry.h +++ b/src/internet/model/ipv6-routing-table-entry.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-static-routing.cc b/src/internet/model/ipv6-static-routing.cc index 90533f991..0b762d458 100644 --- a/src/internet/model/ipv6-static-routing.cc +++ b/src/internet/model/ipv6-static-routing.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ipv6-static-routing.h b/src/internet/model/ipv6-static-routing.h index f6355d8fe..8a2112dbc 100644 --- a/src/internet/model/ipv6-static-routing.h +++ b/src/internet/model/ipv6-static-routing.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ndisc-cache.cc b/src/internet/model/ndisc-cache.cc index 78cc96b7d..b91135abe 100644 --- a/src/internet/model/ndisc-cache.cc +++ b/src/internet/model/ndisc-cache.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/ndisc-cache.h b/src/internet/model/ndisc-cache.h index 1bc906346..8ea0fe734 100644 --- a/src/internet/model/ndisc-cache.h +++ b/src/internet/model/ndisc-cache.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2009 Strasbourg University * diff --git a/src/internet/model/nsc-sysctl.cc b/src/internet/model/nsc-sysctl.cc index 1a9c7636a..fd3b96c75 100644 --- a/src/internet/model/nsc-sysctl.cc +++ b/src/internet/model/nsc-sysctl.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet/model/nsc-sysctl.h b/src/internet/model/nsc-sysctl.h index 70747e477..ba8e59e0a 100644 --- a/src/internet/model/nsc-sysctl.h +++ b/src/internet/model/nsc-sysctl.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/src/internet/model/nsc-tcp-l4-protocol.cc b/src/internet/model/nsc-tcp-l4-protocol.cc index 9da58dfd0..71db61f5f 100644 --- a/src/internet/model/nsc-tcp-l4-protocol.cc +++ b/src/internet/model/nsc-tcp-l4-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -468,5 +468,5 @@ NscTcpL4Protocol::GetDownTarget (void) const return m_downTarget; } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/nsc-tcp-l4-protocol.h b/src/internet/model/nsc-tcp-l4-protocol.h index fb83541d3..43fc57517 100644 --- a/src/internet/model/nsc-tcp-l4-protocol.h +++ b/src/internet/model/nsc-tcp-l4-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -126,6 +126,6 @@ private: Ipv4L4Protocol::DownTargetCallback m_downTarget; }; -}; // namespace ns3 +} // namespace ns3 #endif /* NSC_TCP_L4_PROTOCOL_H */ diff --git a/src/internet/model/nsc-tcp-socket-impl.cc b/src/internet/model/nsc-tcp-socket-impl.cc index fe4e53cf0..5fe43ec7d 100644 --- a/src/internet/model/nsc-tcp-socket-impl.cc +++ b/src/internet/model/nsc-tcp-socket-impl.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -860,4 +860,4 @@ NscTcpSocketImpl::GetAllowBroadcast () const return false; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/nsc-tcp-socket-impl.h b/src/internet/model/nsc-tcp-socket-impl.h index 45de1c6d5..7d645ed37 100644 --- a/src/internet/model/nsc-tcp-socket-impl.h +++ b/src/internet/model/nsc-tcp-socket-impl.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -180,6 +180,6 @@ private: uint32_t m_rcvBufSize; // maximum receive socket buffer size }; -} //namespace ns3 +} // namespace ns3 #endif /* NSC_TCP_SOCKET_IMPL_H */ diff --git a/src/internet/model/pending-data.h b/src/internet/model/pending-data.h index 50ced4e30..fef6bdb9d 100644 --- a/src/internet/model/pending-data.h +++ b/src/internet/model/pending-data.h @@ -21,8 +21,8 @@ // Georgia Tech Network Simulator - Data Descriptors // George F. Riley. Georgia Tech, Spring 2002 -#ifndef __datapdu_h__ -#define __datapdu_h__ +#ifndef PENDING_DATA_H +#define PENDING_DATA_H #include "ns3/packet.h" #include "pending-data.h" @@ -114,5 +114,5 @@ public: }; } //namepsace ns3 -#endif +#endif /* PENDING_DATA_H */ diff --git a/src/internet/model/rtt-estimator.h b/src/internet/model/rtt-estimator.h index 24dac25a3..b5f83fee0 100644 --- a/src/internet/model/rtt-estimator.h +++ b/src/internet/model/rtt-estimator.h @@ -22,8 +22,8 @@ // George F. Riley. Georgia Tech, Spring 2002 -#ifndef __rtt_estimator_h__ -#define __rtt_estimator_h__ +#ifndef RTT_ESTIMATOR_H +#define RTT_ESTIMATOR_H #include #include "ns3/sequence-number.h" @@ -113,8 +113,6 @@ public: double gain; // Filter gain int64x64_t variance; // Current variance }; -} //namespace ns3 -#endif - - +} // namespace ns3 +#endif /* RTT_ESTIMATOR_H */ diff --git a/src/internet/model/sim_errno.h b/src/internet/model/sim_errno.h index d130dbcc0..06db4ce2d 100644 --- a/src/internet/model/sim_errno.h +++ b/src/internet/model/sim_errno.h @@ -1,5 +1,5 @@ -#ifndef NETWORK_SIMULATION_CRADLE_ERR_H_ -#define NETWORK_SIMULATION_CRADLE_ERR_H_ +#ifndef NSC_SIM_ERRNO_H +#define NSC_SIM_ERRNO_H // list of network stack errors that may happen in a simulation, // and can be handled by the simulator in a sane way. @@ -32,4 +32,4 @@ enum nsc_errno { NSC_ETIMEDOUT = -140, }; -#endif +#endif /* NSC_SIM_ERRNO_H */ diff --git a/src/internet/model/sim_interface.h b/src/internet/model/sim_interface.h index 271360bb5..3c70ce980 100644 --- a/src/internet/model/sim_interface.h +++ b/src/internet/model/sim_interface.h @@ -1,5 +1,4 @@ -#ifndef __SIM_INTERFACE_H__ -#define __SIM_INTERFACE_H__ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* Network Simulation Cradle Copyright (C) 2003-2005 Sam Jansen @@ -20,6 +19,9 @@ */ +#ifndef NSC_SIM_INTERFACE_H +#define NSC_SIM_INTERFACE_H + #define NSC_VERSION 0x000500 struct INetStack @@ -197,4 +199,4 @@ typedef INetStack *(*FCreateStack)(ISendCallback *, IInterruptCallback *, #define CREATE_STACK_FUNC(a,b,c) extern "C" INetStack *nsc_create_stack ( \ ISendCallback *a, IInterruptCallback *b, FRandom c) -#endif +#endif /* NSC_SIM_INTERFACE_H */ diff --git a/src/internet/model/tcp-header.cc b/src/internet/model/tcp-header.cc index 0875399ec..e304a6b26 100644 --- a/src/internet/model/tcp-header.cc +++ b/src/internet/model/tcp-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * @@ -254,4 +254,4 @@ uint32_t TcpHeader::Deserialize (Buffer::Iterator start) } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/tcp-header.h b/src/internet/model/tcp-header.h index 6d4e2b4b1..62c48df35 100644 --- a/src/internet/model/tcp-header.h +++ b/src/internet/model/tcp-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * @@ -169,6 +169,6 @@ private: bool m_goodChecksum; }; -}; // namespace ns3 +} // namespace ns3 #endif /* TCP_HEADER */ diff --git a/src/internet/model/tcp-l4-protocol.cc b/src/internet/model/tcp-l4-protocol.cc index e275a5376..cb9ba66b0 100644 --- a/src/internet/model/tcp-l4-protocol.cc +++ b/src/internet/model/tcp-l4-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * @@ -401,5 +401,5 @@ TcpL4Protocol::GetDownTarget (void) const return m_downTarget; } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/tcp-l4-protocol.h b/src/internet/model/tcp-l4-protocol.h index 67adbf212..0016a26e6 100644 --- a/src/internet/model/tcp-l4-protocol.h +++ b/src/internet/model/tcp-l4-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * @@ -130,6 +130,6 @@ private: Ipv4L4Protocol::DownTargetCallback m_downTarget; }; -}; // namespace ns3 +} // namespace ns3 #endif /* TCP_L4_PROTOCOL_H */ diff --git a/src/internet/model/tcp-newreno.cc b/src/internet/model/tcp-newreno.cc index fd7d14b0f..9123a13a1 100644 --- a/src/internet/model/tcp-newreno.cc +++ b/src/internet/model/tcp-newreno.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * @@ -147,6 +147,7 @@ TcpNewReno::NewAck (const SequenceNumber32& seq) void TcpNewReno::DupAck (const TcpHeader& t, uint32_t count) { + NS_LOG_FUNCTION (this << count); if (count == 3 && !m_inFastRec) { // triple duplicate ack triggers fast retransmit (RFC2582 sec.3 bullet #1) m_ssThresh = std::max (2 * m_segmentSize, BytesInFlight () / 2); diff --git a/src/internet/model/tcp-newreno.h b/src/internet/model/tcp-newreno.h index bcb3fc86b..fc00f29a2 100644 --- a/src/internet/model/tcp-newreno.h +++ b/src/internet/model/tcp-newreno.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-reno.cc b/src/internet/model/tcp-reno.cc index 559364b79..ff720cb40 100644 --- a/src/internet/model/tcp-reno.cc +++ b/src/internet/model/tcp-reno.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-reno.h b/src/internet/model/tcp-reno.h index 91eaf76e9..49adbdaac 100644 --- a/src/internet/model/tcp-reno.h +++ b/src/internet/model/tcp-reno.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-rfc793.cc b/src/internet/model/tcp-rfc793.cc index fcde5e315..0ff780e12 100644 --- a/src/internet/model/tcp-rfc793.cc +++ b/src/internet/model/tcp-rfc793.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-rfc793.h b/src/internet/model/tcp-rfc793.h index d734130e7..516f6d161 100644 --- a/src/internet/model/tcp-rfc793.h +++ b/src/internet/model/tcp-rfc793.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-rx-buffer.h b/src/internet/model/tcp-rx-buffer.h index ee30df7f1..f84d94896 100644 --- a/src/internet/model/tcp-rx-buffer.h +++ b/src/internet/model/tcp-rx-buffer.h @@ -18,8 +18,8 @@ * Author: Adrian Sai-wah Tam */ -#ifndef __TCP_RX_BUFFER_H__ -#define __TCP_RX_BUFFER_H__ +#ifndef TCP_RX_BUFFER_H +#define TCP_RX_BUFFER_H #include #include "ns3/traced-value.h" @@ -86,4 +86,4 @@ public: } //namepsace ns3 -#endif /* __TCP_RX_BUFFER_H__ */ +#endif /* TCP_RX_BUFFER_H */ diff --git a/src/internet/model/tcp-socket-base.cc b/src/internet/model/tcp-socket-base.cc index 0fa2e1f82..3f445dd3b 100644 --- a/src/internet/model/tcp-socket-base.cc +++ b/src/internet/model/tcp-socket-base.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * @@ -219,6 +219,11 @@ TcpSocketBase::Bind (void) { NS_LOG_FUNCTION_NOARGS (); m_endPoint = m_tcp->Allocate (); + if (0 == m_endPoint) + { + m_errno = ERROR_ADDRNOTAVAIL; + return -1; + } return SetupCallback (); } @@ -238,18 +243,38 @@ TcpSocketBase::Bind (const Address &address) if (ipv4 == Ipv4Address::GetAny () && port == 0) { m_endPoint = m_tcp->Allocate (); + if (0 == m_endPoint) + { + m_errno = ERROR_ADDRNOTAVAIL; + return -1; + } } else if (ipv4 == Ipv4Address::GetAny () && port != 0) { m_endPoint = m_tcp->Allocate (port); + if (0 == m_endPoint) + { + m_errno = ERROR_ADDRINUSE; + return -1; + } } else if (ipv4 != Ipv4Address::GetAny () && port == 0) { m_endPoint = m_tcp->Allocate (ipv4); + if (0 == m_endPoint) + { + m_errno = ERROR_ADDRNOTAVAIL; + return -1; + } } else if (ipv4 != Ipv4Address::GetAny () && port != 0) { m_endPoint = m_tcp->Allocate (ipv4, port); + if (0 == m_endPoint) + { + m_errno = ERROR_ADDRINUSE; + return -1; + } } NS_LOG_LOGIC ("TcpSocketBase " << this << " got an endpoint: " << m_endPoint); diff --git a/src/internet/model/tcp-socket-base.h b/src/internet/model/tcp-socket-base.h index 0d676dd59..6a7a6a275 100644 --- a/src/internet/model/tcp-socket-base.h +++ b/src/internet/model/tcp-socket-base.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-socket.cc b/src/internet/model/tcp-socket.cc index 5ddccb873..076ddc41a 100644 --- a/src/internet/model/tcp-socket.cc +++ b/src/internet/model/tcp-socket.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * @@ -113,4 +113,4 @@ TcpSocket::~TcpSocket () NS_LOG_FUNCTION_NOARGS (); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/tcp-socket.h b/src/internet/model/tcp-socket.h index 31f4e0409..2c78b0c98 100644 --- a/src/internet/model/tcp-socket.h +++ b/src/internet/model/tcp-socket.h @@ -20,8 +20,8 @@ * Mathieu Lacage */ -#ifndef __TCP_SOCKET_H__ -#define __TCP_SOCKET_H__ +#ifndef TCP_SOCKET_H +#define TCP_SOCKET_H #include "ns3/socket.h" #include "ns3/traced-callback.h" @@ -95,7 +95,7 @@ private: }; -} //namespace ns3 +} // namespace ns3 #endif /* TCP_SOCKET_H */ diff --git a/src/internet/model/tcp-tahoe.cc b/src/internet/model/tcp-tahoe.cc index f420165cf..a104ccc65 100644 --- a/src/internet/model/tcp-tahoe.cc +++ b/src/internet/model/tcp-tahoe.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-tahoe.h b/src/internet/model/tcp-tahoe.h index dbd9d06c5..029df7643 100644 --- a/src/internet/model/tcp-tahoe.h +++ b/src/internet/model/tcp-tahoe.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * diff --git a/src/internet/model/tcp-tx-buffer.h b/src/internet/model/tcp-tx-buffer.h index 776590272..8e155c380 100644 --- a/src/internet/model/tcp-tx-buffer.h +++ b/src/internet/model/tcp-tx-buffer.h @@ -18,8 +18,8 @@ * Author: Adrian Sai-wah Tam */ -#ifndef __TCP_TX_BUFFER_H__ -#define __TCP_TX_BUFFER_H__ +#ifndef TCP_TX_BUFFER_H +#define TCP_TX_BUFFER_H #include #include "ns3/traced-value.h" @@ -118,4 +118,4 @@ private: } // namepsace ns3 -#endif +#endif /* TCP_TX_BUFFER_H */ diff --git a/src/internet/model/udp-header.cc b/src/internet/model/udp-header.cc index 999eae0e3..a58a5babe 100644 --- a/src/internet/model/udp-header.cc +++ b/src/internet/model/udp-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -177,4 +177,4 @@ UdpHeader::Deserialize (Buffer::Iterator start) } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/udp-header.h b/src/internet/model/udp-header.h index 3ce652e84..7cce9606e 100644 --- a/src/internet/model/udp-header.h +++ b/src/internet/model/udp-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/internet/model/udp-l4-protocol.cc b/src/internet/model/udp-l4-protocol.cc index c7db24749..84d5711c9 100644 --- a/src/internet/model/udp-l4-protocol.cc +++ b/src/internet/model/udp-l4-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -311,5 +311,5 @@ UdpL4Protocol::GetDownTarget (void) const return m_downTarget; } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/udp-l4-protocol.h b/src/internet/model/udp-l4-protocol.h index 8f5dc6cbd..cf124666d 100644 --- a/src/internet/model/udp-l4-protocol.h +++ b/src/internet/model/udp-l4-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * @@ -130,6 +130,6 @@ private: Ipv4L4Protocol::DownTargetCallback m_downTarget; }; -}; // namespace ns3 +} // namespace ns3 #endif /* UDP_L4_PROTOCOL_H */ diff --git a/src/internet/model/udp-socket-impl.cc b/src/internet/model/udp-socket-impl.cc index 8d8fb333b..6160faa10 100644 --- a/src/internet/model/udp-socket-impl.cc +++ b/src/internet/model/udp-socket-impl.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * @@ -759,4 +759,4 @@ UdpSocketImpl::GetAllowBroadcast () const } -} //namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/udp-socket-impl.h b/src/internet/model/udp-socket-impl.h index c1709443a..6586f76a7 100644 --- a/src/internet/model/udp-socket-impl.h +++ b/src/internet/model/udp-socket-impl.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * @@ -138,6 +138,6 @@ private: Callback m_icmpCallback; }; -} //namespace ns3 +} // namespace ns3 #endif /* UDP_SOCKET_IMPL_H */ diff --git a/src/internet/model/udp-socket.cc b/src/internet/model/udp-socket.cc index f7918fd0a..a544151b9 100644 --- a/src/internet/model/udp-socket.cc +++ b/src/internet/model/udp-socket.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * @@ -86,4 +86,4 @@ UdpSocket::~UdpSocket () NS_LOG_FUNCTION_NOARGS (); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/model/udp-socket.h b/src/internet/model/udp-socket.h index 29661608d..7cf8cacdc 100644 --- a/src/internet/model/udp-socket.h +++ b/src/internet/model/udp-socket.h @@ -20,8 +20,8 @@ * Mathieu Lacage */ -#ifndef __UDP_SOCKET_H__ -#define __UDP_SOCKET_H__ +#ifndef UDP_SOCKET_H +#define UDP_SOCKET_H #include "ns3/socket.h" #include "ns3/traced-callback.h" @@ -113,7 +113,7 @@ private: virtual bool GetMtuDiscover (void) const = 0; }; -} //namespace ns3 +} // namespace ns3 #endif /* UDP_SOCKET_H */ diff --git a/src/internet/test/error-channel.cc b/src/internet/test/error-channel.cc new file mode 100644 index 000000000..9721beac8 --- /dev/null +++ b/src/internet/test/error-channel.cc @@ -0,0 +1,153 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 Universita' di Firenze, Italy + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Tommaso Pecorella + */ +#include "error-channel.h" +#include "error-net-device.h" +#include "ns3/simulator.h" +#include "ns3/packet.h" +#include "ns3/node.h" +#include "ns3/log.h" + +NS_LOG_COMPONENT_DEFINE ("ErrorChannel"); + +namespace ns3 { + +NS_OBJECT_ENSURE_REGISTERED (ErrorChannel); + +TypeId +ErrorChannel::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::ErrorChannel") + .SetParent () + .AddConstructor () + ; + return tid; +} + +ErrorChannel::ErrorChannel () +{ + jumping = false; + jumpingState = 0; +} + +void +ErrorChannel::SetJumpingTime(Time delay) +{ + jumpingTime = delay; +} + +void +ErrorChannel::SetJumpingMode(bool mode) +{ + jumping = mode; + jumpingState = 0; +} + +void +ErrorChannel::Send (Ptr p, uint16_t protocol, + Mac48Address to, Mac48Address from, + Ptr sender) +{ + NS_LOG_FUNCTION (p << protocol << to << from << sender); + for (std::vector >::const_iterator i = m_devices.begin (); i != m_devices.end (); ++i) + { + Ptr tmp = *i; + if (tmp == sender) + { + continue; + } + if( !jumping || jumpingState%2 ) + { + Simulator::ScheduleWithContext (tmp->GetNode ()->GetId (), Seconds (0), + &ErrorNetDevice::Receive, tmp, p->Copy (), protocol, to, from); + jumpingState++; + } + else + { + Simulator::ScheduleWithContext (tmp->GetNode ()->GetId (), jumpingTime, + &ErrorNetDevice::Receive, tmp, p->Copy (), protocol, to, from); + jumpingState++; + } + } +} + +void +ErrorChannel::Add (Ptr device) +{ + m_devices.push_back (device); +} + +uint32_t +ErrorChannel::GetNDevices (void) const +{ + return m_devices.size (); +} +Ptr +ErrorChannel::GetDevice (uint32_t i) const +{ + return m_devices[i]; +} + +NS_OBJECT_ENSURE_REGISTERED (ErrorModel); + +TypeId BinaryErrorModel::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::BinaryErrorModel") + .SetParent () + .AddConstructor () + ; + return tid; +} + +BinaryErrorModel::BinaryErrorModel () +{ + counter = 0; +} + +BinaryErrorModel::~BinaryErrorModel () +{ +} + + +bool +BinaryErrorModel::DoCorrupt (Ptr p) +{ + if (!IsEnabled ()) + { + return false; + } + bool ret = counter%2; + counter++; + return ret; +} + +void +BinaryErrorModel::Reset (void) +{ + DoReset(); +} + +void +BinaryErrorModel::DoReset (void) +{ + counter = 0; +} + + +} // namespace ns3 diff --git a/src/internet/test/error-channel.h b/src/internet/test/error-channel.h new file mode 100644 index 000000000..ae41dad3b --- /dev/null +++ b/src/internet/test/error-channel.h @@ -0,0 +1,92 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 Universita' di Firenze, Italy + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Tommaso Pecorella + */ +#ifndef ERROR_CHANNEL_H +#define ERROR_CHANNEL_H + +#include "ns3/channel.h" +#include "ns3/error-model.h" +#include "ns3/mac48-address.h" +#include "ns3/nstime.h" +#include + +namespace ns3 { + +class ErrorNetDevice; +class Packet; + +/** + * \ingroup channel + * \brief A Error channel, introducing deterministic delays on even/odd packets. Used for testing + */ +class ErrorChannel : public Channel +{ +public: + static TypeId GetTypeId (void); + ErrorChannel (); + + void Send (Ptr p, uint16_t protocol, Mac48Address to, Mac48Address from, + Ptr sender); + + void Add (Ptr device); + + // inherited from ns3::Channel + virtual uint32_t GetNDevices (void) const; + virtual Ptr GetDevice (uint32_t i) const; + + /** + * \brief Set the delay for the odd packets (even ones are not delayed) + * \param delay Delay for the odd packets. + */ + void SetJumpingTime(Time delay); + + /** + * \brief Set if the odd packets are delayed (even ones are not delayed ever) + * \param mode true if the odd packets should be delayed. + */ +void SetJumpingMode(bool mode); + +private: + std::vector > m_devices; + Time jumpingTime; + uint8_t jumpingState; + bool jumping; + +}; + +class BinaryErrorModel : public ErrorModel +{ +public: + static TypeId GetTypeId (void); + + BinaryErrorModel (); + virtual ~BinaryErrorModel (); + void Reset (void); + +private: + virtual bool DoCorrupt (Ptr p); + virtual void DoReset (void); + + uint8_t counter; + +}; + +} // namespace ns3 + +#endif /* ERROR_CHANNEL_H */ diff --git a/src/internet/test/error-net-device.cc b/src/internet/test/error-net-device.cc new file mode 100644 index 000000000..4bc001950 --- /dev/null +++ b/src/internet/test/error-net-device.cc @@ -0,0 +1,254 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 Universita' di Firenze, Italy + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Tommaso Pecorella + */ +#include "error-net-device.h" +#include "error-channel.h" +#include "ns3/node.h" +#include "ns3/packet.h" +#include "ns3/log.h" +#include "ns3/pointer.h" +#include "ns3/error-model.h" +#include "ns3/trace-source-accessor.h" + +NS_LOG_COMPONENT_DEFINE ("ErrorNetDevice"); + +namespace ns3 { + +NS_OBJECT_ENSURE_REGISTERED (ErrorNetDevice); + +TypeId +ErrorNetDevice::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::ErrorNetDevice") + .SetParent () + .AddConstructor () + .AddAttribute ("ReceiveErrorModel", + "The receiver error model used to simulate packet loss", + PointerValue (), + MakePointerAccessor (&ErrorNetDevice::m_receiveErrorModel), + MakePointerChecker ()) + .AddTraceSource ("PhyRxDrop", + "Trace source indicating a packet has been dropped by the device during reception", + MakeTraceSourceAccessor (&ErrorNetDevice::m_phyRxDropTrace)) + ; + return tid; +} + +ErrorNetDevice::ErrorNetDevice () + : m_channel (0), + m_node (0), + m_mtu (0xffff), + m_ifIndex (0) +{} + +void +ErrorNetDevice::Receive (Ptr packet, uint16_t protocol, + Mac48Address to, Mac48Address from) +{ + NS_LOG_FUNCTION (packet << protocol << to << from); + NetDevice::PacketType packetType; + + if (m_receiveErrorModel && m_receiveErrorModel->IsCorrupt (packet) ) + { + m_phyRxDropTrace (packet); + return; + } + + if (to == m_address) + { + packetType = NetDevice::PACKET_HOST; + } + else if (to.IsBroadcast ()) + { + packetType = NetDevice::PACKET_HOST; + } + else if (to.IsGroup ()) + { + packetType = NetDevice::PACKET_MULTICAST; + } + else + { + packetType = NetDevice::PACKET_OTHERHOST; + } + m_rxCallback (this, packet, protocol, from); + if (!m_promiscCallback.IsNull ()) + { + m_promiscCallback (this, packet, protocol, from, to, packetType); + } +} + +void +ErrorNetDevice::SetChannel (Ptr channel) +{ + m_channel = channel; + m_channel->Add (this); +} + +void +ErrorNetDevice::SetReceiveErrorModel (Ptr em) +{ + m_receiveErrorModel = em; +} + +void +ErrorNetDevice::SetIfIndex(const uint32_t index) +{ + m_ifIndex = index; +} +uint32_t +ErrorNetDevice::GetIfIndex(void) const +{ + return m_ifIndex; +} +Ptr +ErrorNetDevice::GetChannel (void) const +{ + return m_channel; +} +void +ErrorNetDevice::SetAddress (Address address) +{ + m_address = Mac48Address::ConvertFrom(address); +} +Address +ErrorNetDevice::GetAddress (void) const +{ + // + // Implicit conversion from Mac48Address to Address + // + return m_address; +} +bool +ErrorNetDevice::SetMtu (const uint16_t mtu) +{ + m_mtu = mtu; + return true; +} +uint16_t +ErrorNetDevice::GetMtu (void) const +{ + return m_mtu; +} +bool +ErrorNetDevice::IsLinkUp (void) const +{ + return true; +} +void +ErrorNetDevice::AddLinkChangeCallback (Callback callback) +{} +bool +ErrorNetDevice::IsBroadcast (void) const +{ + return true; +} +Address +ErrorNetDevice::GetBroadcast (void) const +{ + return Mac48Address ("ff:ff:ff:ff:ff:ff"); +} +bool +ErrorNetDevice::IsMulticast (void) const +{ + return false; +} +Address +ErrorNetDevice::GetMulticast (Ipv4Address multicastGroup) const +{ + return Mac48Address::GetMulticast (multicastGroup); +} + +Address ErrorNetDevice::GetMulticast (Ipv6Address addr) const +{ + return Mac48Address::GetMulticast (addr); +} + +bool +ErrorNetDevice::IsPointToPoint (void) const +{ + return false; +} + +bool +ErrorNetDevice::IsBridge (void) const +{ + return false; +} + +bool +ErrorNetDevice::Send(Ptr packet, const Address& dest, uint16_t protocolNumber) +{ + NS_LOG_FUNCTION (packet << dest << protocolNumber); + Mac48Address to = Mac48Address::ConvertFrom (dest); + m_channel->Send (packet, protocolNumber, to, m_address, this); + return true; +} +bool +ErrorNetDevice::SendFrom(Ptr packet, const Address& source, const Address& dest, uint16_t protocolNumber) +{ + Mac48Address to = Mac48Address::ConvertFrom (dest); + Mac48Address from = Mac48Address::ConvertFrom (source); + m_channel->Send (packet, protocolNumber, to, from, this); + return true; +} + +Ptr +ErrorNetDevice::GetNode (void) const +{ + return m_node; +} +void +ErrorNetDevice::SetNode (Ptr node) +{ + m_node = node; +} +bool +ErrorNetDevice::NeedsArp (void) const +{ + return false; +} +void +ErrorNetDevice::SetReceiveCallback (NetDevice::ReceiveCallback cb) +{ + m_rxCallback = cb; +} + +void +ErrorNetDevice::DoDispose (void) +{ + m_channel = 0; + m_node = 0; + m_receiveErrorModel = 0; + NetDevice::DoDispose (); +} + + +void +ErrorNetDevice::SetPromiscReceiveCallback (PromiscReceiveCallback cb) +{ + m_promiscCallback = cb; +} + +bool +ErrorNetDevice::SupportsSendFrom (void) const +{ + return true; +} + +} // namespace ns3 diff --git a/src/internet/test/error-net-device.h b/src/internet/test/error-net-device.h new file mode 100644 index 000000000..bc8206bbc --- /dev/null +++ b/src/internet/test/error-net-device.h @@ -0,0 +1,117 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 Universita' di Firenze, Italy + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Tommaso Pecorella + */ +#ifndef ERROR_NET_DEVICE_H +#define ERROR_NET_DEVICE_H + +#include "ns3/net-device.h" +#include "ns3/mac48-address.h" +#include +#include +#include "ns3/traced-callback.h" + +namespace ns3 { + +class ErrorChannel; +class Node; +class ErrorModel; + +/** + * \ingroup netdevice + * + * This device does not have a helper and assumes 48-bit mac addressing; + * the default address assigned to each device is zero, so you must + * assign a real address to use it. There is also the possibility to + * add an ErrorModel if you want to force losses on the device. + * + * \brief Error net device for Error things and testing + */ +class ErrorNetDevice : public NetDevice +{ +public: + static TypeId GetTypeId (void); + ErrorNetDevice (); + + void Receive (Ptr packet, uint16_t protocol, Mac48Address to, Mac48Address from); + void SetChannel (Ptr channel); + + /** + * Attach a receive ErrorModel to the ErrorNetDevice. + * + * The ErrorNetDevice may optionally include an ErrorModel in + * the packet receive chain. + * + * \see ErrorModel + * \param em Ptr to the ErrorModel. + */ + void SetReceiveErrorModel(Ptr em); + + // inherited from NetDevice base class. + virtual void SetIfIndex(const uint32_t index); + virtual uint32_t GetIfIndex(void) const; + virtual Ptr GetChannel (void) const; + virtual void SetAddress (Address address); + virtual Address GetAddress (void) const; + virtual bool SetMtu (const uint16_t mtu); + virtual uint16_t GetMtu (void) const; + virtual bool IsLinkUp (void) const; + virtual void AddLinkChangeCallback (Callback callback); + virtual bool IsBroadcast (void) const; + virtual Address GetBroadcast (void) const; + virtual bool IsMulticast (void) const; + virtual Address GetMulticast (Ipv4Address multicastGroup) const; + virtual bool IsPointToPoint (void) const; + virtual bool IsBridge (void) const; + virtual bool Send(Ptr packet, const Address& dest, uint16_t protocolNumber); + virtual bool SendFrom(Ptr packet, const Address& source, const Address& dest, uint16_t protocolNumber); + virtual Ptr GetNode (void) const; + virtual void SetNode (Ptr node); + virtual bool NeedsArp (void) const; + virtual void SetReceiveCallback (NetDevice::ReceiveCallback cb); + + virtual Address GetMulticast (Ipv6Address addr) const; + + virtual void SetPromiscReceiveCallback (PromiscReceiveCallback cb); + virtual bool SupportsSendFrom (void) const; + +protected: + virtual void DoDispose (void); +private: + Ptr m_channel; + NetDevice::ReceiveCallback m_rxCallback; + NetDevice::PromiscReceiveCallback m_promiscCallback; + Ptr m_node; + uint16_t m_mtu; + uint32_t m_ifIndex; + Mac48Address m_address; + Ptr m_receiveErrorModel; + /** + * The trace source fired when the phy layer drops a packet it has received + * due to the error model being active. Although ErrorNetDevice doesn't + * really have a Phy model, we choose this trace source name for alignment + * with other trace sources. + * + * \see class CallBackTraceSource + */ + TracedCallback > m_phyRxDropTrace; +}; + +} // namespace ns3 + +#endif /* Error_NET_DEVICE_H */ diff --git a/src/internet/test/ipv4-address-generator-test-suite.cc b/src/internet/test/ipv4-address-generator-test-suite.cc index 0d6f83c91..9dd5455ac 100644 --- a/src/internet/test/ipv4-address-generator-test-suite.cc +++ b/src/internet/test/ipv4-address-generator-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/test/ipv4-address-helper-test-suite.cc b/src/internet/test/ipv4-address-helper-test-suite.cc index 10f50a346..167fa301d 100644 --- a/src/internet/test/ipv4-address-helper-test-suite.cc +++ b/src/internet/test/ipv4-address-helper-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/internet/test/ipv4-fragmentation-test.cc b/src/internet/test/ipv4-fragmentation-test.cc new file mode 100644 index 000000000..db5930316 --- /dev/null +++ b/src/internet/test/ipv4-fragmentation-test.cc @@ -0,0 +1,415 @@ +/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 Universita' di Firenze, Italy + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Tommaso Pecorella + */ +/** + * This is the test code for ipv4-l3protocol.cc (only the fragmentation and reassembly part). + */ +#define NS3_LOG_ENABLE 1 + +#include "ns3/test.h" +#include "ns3/config.h" +#include "ns3/uinteger.h" +#include "ns3/socket-factory.h" +#include "ns3/ipv4-raw-socket-factory.h" +#include "ns3/udp-socket-factory.h" +#include "ns3/simulator.h" +#include "error-channel.h" +#include "error-net-device.h" +#include "ns3/drop-tail-queue.h" +#include "ns3/socket.h" +#include "ns3/udp-socket.h" + +#include "ns3/log.h" +#include "ns3/node.h" +#include "ns3/inet-socket-address.h" +#include "ns3/boolean.h" + +#include "ns3/arp-l3-protocol.h" +#include "ns3/ipv4-l3-protocol.h" +#include "ns3/icmpv4-l4-protocol.h" +#include "ns3/ipv4-list-routing.h" +#include "ns3/ipv4-static-routing.h" +#include "ns3/udp-l4-protocol.h" + +#include +#include +#include + +namespace ns3 { + +class UdpSocketImpl; + +static void +AddInternetStack (Ptr node) +{ + //ARP + Ptr arp = CreateObject (); + node->AggregateObject(arp); + //IPV4 + Ptr ipv4 = CreateObject (); + //Routing for Ipv4 + Ptr ipv4Routing = CreateObject (); + ipv4->SetRoutingProtocol (ipv4Routing); + Ptr ipv4staticRouting = CreateObject (); + ipv4Routing->AddRoutingProtocol (ipv4staticRouting, 0); + node->AggregateObject(ipv4); + //ICMP + Ptr icmp = CreateObject (); + node->AggregateObject(icmp); + // //Ipv4Raw + Ptr udp = CreateObject (); + node->AggregateObject(udp); +} + + +class Ipv4FragmentationTest: public TestCase +{ + Ptr m_sentPacketClient; + Ptr m_receivedPacketClient; + Ptr m_receivedPacketServer; + + + Ptr m_socketServer; + Ptr m_socketClient; + uint32_t m_dataSize; + uint8_t *m_data; + uint32_t m_size; + uint8_t m_icmpType; + +public: + virtual void DoRun (void); + Ipv4FragmentationTest (); + ~Ipv4FragmentationTest (); + + // server part + void StartServer (Ptr ServerNode); + void HandleReadServer (Ptr socket); + + // client part + void StartClient (Ptr ClientNode); + void HandleReadClient (Ptr socket); + void HandleReadIcmpClient (Ipv4Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, + uint8_t icmpCode,uint32_t icmpInfo); + + void SetFill (uint8_t *fill, uint32_t fillSize, uint32_t dataSize); + Ptr SendClient (void); + +}; + + +Ipv4FragmentationTest::Ipv4FragmentationTest () + : TestCase ("Verify the IPv4 layer 3 protocol fragmentation and reassembly") +{ + m_socketServer = 0; + m_data = 0; + m_dataSize = 0; +} + +Ipv4FragmentationTest::~Ipv4FragmentationTest () +{ + if ( m_data ) + { + delete[] m_data; + } + m_data = 0; + m_dataSize = 0; +} + + +void +Ipv4FragmentationTest::StartServer (Ptr ServerNode) +{ + + if (m_socketServer == 0) + { + TypeId tid = TypeId::LookupByName ("ns3::UdpSocketFactory"); + m_socketServer = Socket::CreateSocket (ServerNode, tid); + InetSocketAddress local = InetSocketAddress (Ipv4Address::GetAny (), 9); + m_socketServer->Bind (local); + Ptr udpSocket = DynamicCast (m_socketServer); + if (udpSocket) + { + // equivalent to setsockopt (MCAST_JOIN_GROUP) + udpSocket->MulticastJoinGroup (0, Ipv4Address ("10.0.0.1")); + } + } + + m_socketServer->SetRecvCallback(MakeCallback(&Ipv4FragmentationTest::HandleReadServer, this)); +} + +void +Ipv4FragmentationTest::HandleReadServer (Ptr socket) +{ + Ptr packet; + Address from; + while (packet = socket->RecvFrom (from)) + { + if (InetSocketAddress::IsMatchingType (from)) + { + packet->RemoveAllPacketTags (); + packet->RemoveAllByteTags (); + + m_receivedPacketServer = packet->Copy(); + } + } +} + +void +Ipv4FragmentationTest::StartClient (Ptr ClientNode) +{ + + if (m_socketClient == 0) + { + TypeId tid = TypeId::LookupByName ("ns3::UdpSocketFactory"); + m_socketClient = Socket::CreateSocket (ClientNode, tid); + m_socketClient->Bind (); + m_socketClient->Connect (InetSocketAddress (Ipv4Address ("10.0.0.1"), 9)); + CallbackValue cbValue = MakeCallback(&Ipv4FragmentationTest::HandleReadIcmpClient, this); + m_socketClient->SetAttribute ("IcmpCallback", cbValue); + } + + m_socketClient->SetRecvCallback(MakeCallback(&Ipv4FragmentationTest::HandleReadClient, this)); +} + +void +Ipv4FragmentationTest::HandleReadClient (Ptr socket) +{ + Ptr packet; + Address from; + while (packet = socket->RecvFrom (from)) + { + if (InetSocketAddress::IsMatchingType (from)) + { + m_receivedPacketClient = packet->Copy(); + } + } +} + +void +Ipv4FragmentationTest::HandleReadIcmpClient (Ipv4Address icmpSource, + uint8_t icmpTtl, uint8_t icmpType, + uint8_t icmpCode, uint32_t icmpInfo) +{ + m_icmpType = icmpType; +} + +void +Ipv4FragmentationTest::SetFill (uint8_t *fill, uint32_t fillSize, uint32_t dataSize) +{ + if (dataSize != m_dataSize) + { + delete [] m_data; + m_data = new uint8_t [dataSize]; + m_dataSize = dataSize; + } + + if (fillSize >= dataSize) + { + memcpy (m_data, fill, dataSize); + return; + } + + uint32_t filled = 0; + while (filled + fillSize < dataSize) + { + memcpy (&m_data[filled], fill, fillSize); + filled += fillSize; + } + + memcpy(&m_data[filled], fill, dataSize - filled); + + m_size = dataSize; +} + +Ptr Ipv4FragmentationTest::SendClient (void) +{ + Ptr p; + if (m_dataSize) + { + p = Create (m_data, m_dataSize); + } + else + { + p = Create (m_size); + } + m_socketClient->Send (p); + + return p; +} + +void +Ipv4FragmentationTest::DoRun (void) +{ + // set the arp cache to something quite high + // we shouldn't need because the NetDevice used doesn't need arp, but still + Config::SetDefault ("ns3::ArpCache::PendingQueueSize", UintegerValue (100)); + + // Create topology + + // Receiver Node + Ptr serverNode = CreateObject (); + AddInternetStack (serverNode); + Ptr serverDev; + Ptr serverDevErrorModel = CreateObject (); + { + serverDev = CreateObject (); + serverDev->SetAddress (Mac48Address::ConvertFrom (Mac48Address::Allocate ())); + serverDev->SetMtu(1500); + serverDev->SetReceiveErrorModel(serverDevErrorModel); + serverDevErrorModel->Disable(); + serverNode->AddDevice (serverDev); + Ptr ipv4 = serverNode->GetObject (); + uint32_t netdev_idx = ipv4->AddInterface (serverDev); + Ipv4InterfaceAddress ipv4Addr = Ipv4InterfaceAddress (Ipv4Address ("10.0.0.1"), Ipv4Mask (0xffff0000U)); + ipv4->AddAddress (netdev_idx, ipv4Addr); + ipv4->SetUp (netdev_idx); + } + StartServer(serverNode); + + // Sender Node + Ptr clientNode = CreateObject (); + AddInternetStack (clientNode); + Ptr clientDev; + Ptr clientDevErrorModel = CreateObject (); + { + clientDev = CreateObject (); + clientDev->SetAddress (Mac48Address::ConvertFrom (Mac48Address::Allocate ())); + clientDev->SetMtu(1000); + clientDev->SetReceiveErrorModel(clientDevErrorModel); + clientDevErrorModel->Disable(); + clientNode->AddDevice (clientDev); + Ptr ipv4 = clientNode->GetObject (); + uint32_t netdev_idx = ipv4->AddInterface (clientDev); + Ipv4InterfaceAddress ipv4Addr = Ipv4InterfaceAddress (Ipv4Address ("10.0.0.2"), Ipv4Mask (0xffff0000U)); + ipv4->AddAddress (netdev_idx, ipv4Addr); + ipv4->SetUp (netdev_idx); + } + StartClient(clientNode); + + // link the two nodes + Ptr channel = CreateObject (); + serverDev->SetChannel (channel); + clientDev->SetChannel (channel); + channel->SetJumpingTime(Seconds(0.5)); + + + // some small packets, some rather big ones + uint32_t packetSizes[5] = {1000, 2000, 5000, 10000, 65000}; + + // using the alphabet + uint8_t fillData[78]; + for ( uint32_t k=48; k<=125; k++ ) + { + fillData[k-48] = k; + } + + // First test: normal channel, no errors, no delays + for( int i= 0; i<5; i++) + { + uint32_t packetSize = packetSizes[i]; + + SetFill (fillData, 78, packetSize); + + m_receivedPacketServer = Create (); + Simulator::ScheduleWithContext (m_socketClient->GetNode ()->GetId (), Seconds (0), + &Ipv4FragmentationTest::SendClient, this); + Simulator::Run (); + + uint8_t recvBuffer[65000]; + + uint16_t recvSize = m_receivedPacketServer->GetSize (); + + NS_TEST_EXPECT_MSG_EQ (recvSize, packetSizes[i], "Packet size not correct"); + + m_receivedPacketServer->CopyData(recvBuffer, 65000); + NS_TEST_EXPECT_MSG_EQ (memcmp(m_data, recvBuffer, m_receivedPacketServer->GetSize ()), + 0, "Packet content differs"); + } + + // Second test: normal channel, no errors, delays each 2 packets. + // Each other fragment will arrive out-of-order. + // The packets should be received correctly since reassembly will reorder the fragments. + channel->SetJumpingMode(true); + for( int i= 0; i<5; i++) + { + uint32_t packetSize = packetSizes[i]; + + SetFill (fillData, 78, packetSize); + + m_receivedPacketServer = Create (); + Simulator::ScheduleWithContext (m_socketClient->GetNode ()->GetId (), Seconds (0), + &Ipv4FragmentationTest::SendClient, this); + Simulator::Run (); + + uint8_t recvBuffer[65000]; + + uint16_t recvSize = m_receivedPacketServer->GetSize (); + + NS_TEST_EXPECT_MSG_EQ (recvSize, packetSizes[i], "Packet size not correct"); + + m_receivedPacketServer->CopyData(recvBuffer, 65000); + NS_TEST_EXPECT_MSG_EQ (memcmp(m_data, recvBuffer, m_receivedPacketServer->GetSize ()), + 0, "Packet content differs"); + } + channel->SetJumpingMode(false); + + // Third test: normal channel, some errors, no delays. + // The reassembly procedure should fire a timeout after 30 seconds (as specified in the RFCs). + // Upon the timeout, the fragments received so far are discarded and an ICMP should be sent back + // to the sender (if the first fragment has been received). + // In this test case the first fragment is received, so we do expect an ICMP. + // Client -> Server : errors enabled + // Server -> Client : errors disabled (we want to have back the ICMP) + clientDevErrorModel->Disable(); + serverDevErrorModel->Enable(); + for( int i= 1; i<5; i++) + { + uint32_t packetSize = packetSizes[i]; + + SetFill (fillData, 78, packetSize); + + // reset the model, we want to receive the very first fragment. + serverDevErrorModel->Reset(); + + m_receivedPacketServer = Create (); + m_icmpType = 0; + Simulator::ScheduleWithContext (m_socketClient->GetNode ()->GetId (), Seconds (0), + &Ipv4FragmentationTest::SendClient, this); + Simulator::Run (); + + uint16_t recvSize = m_receivedPacketServer->GetSize (); + + NS_TEST_EXPECT_MSG_EQ ((recvSize == 0), true, "Server got a packet, something wrong"); + NS_TEST_EXPECT_MSG_EQ ((m_icmpType == 11), true, "Client did not receive ICMP::TIME_EXCEEDED"); + } + + + Simulator::Destroy (); +} +//----------------------------------------------------------------------------- +class Ipv4FragmentationTestSuite : public TestSuite +{ +public: + Ipv4FragmentationTestSuite () : TestSuite ("ipv4-fragmentation", UNIT) + { + AddTestCase (new Ipv4FragmentationTest); + } +} g_ipv4fragmentationTestSuite; + +}; // namespace ns3 diff --git a/src/internet/test/ipv4-list-routing-test-suite.cc b/src/internet/test/ipv4-list-routing-test-suite.cc index b0627124a..877010350 100644 --- a/src/internet/test/ipv4-list-routing-test-suite.cc +++ b/src/internet/test/ipv4-list-routing-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/test/ipv4-raw-test.cc b/src/internet/test/ipv4-raw-test.cc index 39a6f539a..ed8e999ee 100644 --- a/src/internet/test/ipv4-raw-test.cc +++ b/src/internet/test/ipv4-raw-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Hajime Tazaki * @@ -44,6 +44,8 @@ #include #include #include +#include +#include namespace ns3 { static void @@ -327,4 +329,4 @@ public: } } g_ipv4rawTestSuite; -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/test/ipv4-test.cc b/src/internet/test/ipv4-test.cc index 7e6a793c0..cbbbfafee 100644 --- a/src/internet/test/ipv4-test.cc +++ b/src/internet/test/ipv4-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -107,5 +107,4 @@ public: } } g_ipv4protocolTestSuite; -} -; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/test/ipv6-list-routing-test-suite.cc b/src/internet/test/ipv6-list-routing-test-suite.cc index 38467988b..1a16834a9 100644 --- a/src/internet/test/ipv6-list-routing-test-suite.cc +++ b/src/internet/test/ipv6-list-routing-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/internet/test/ipv6-test.cc b/src/internet/test/ipv6-test.cc index 1fda695e9..a14a09fc9 100644 --- a/src/internet/test/ipv6-test.cc +++ b/src/internet/test/ipv6-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Strasbourg University * diff --git a/src/internet/test/tcp-test.cc b/src/internet/test/tcp-test.cc index 6fe72989b..2f0363576 100644 --- a/src/internet/test/tcp-test.cc +++ b/src/internet/test/tcp-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * Copyright (c) 2009 INRIA diff --git a/src/internet/test/udp-test.cc b/src/internet/test/udp-test.cc index a00fa9267..418a27dc8 100644 --- a/src/internet/test/udp-test.cc +++ b/src/internet/test/udp-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Georgia Tech Research Corporation * @@ -331,4 +331,4 @@ public: } } g_udpTestSuite; -}; // namespace ns3 +} // namespace ns3 diff --git a/src/internet/wscript b/src/internet/wscript index 54ffed463..5b02abfd4 100644 --- a/src/internet/wscript +++ b/src/internet/wscript @@ -11,7 +11,7 @@ import Task NSC_RELEASE_NAME = "nsc-0.5.2" -def set_options(opt): +def options(opt): opt.add_option('--with-nsc', help=('Use Network Simulation Cradle, given by the indicated path,' ' to allow the use of real-world network stacks'), @@ -32,38 +32,38 @@ def configure(conf): # Check for the location of NSC if Options.options.with_nsc: if os.path.isdir(Options.options.with_nsc): - conf.check_message("NSC location", '', True, ("%s (given)" % Options.options.with_nsc)) + conf.msg("Checking for NSC location", ("%s (given)" % Options.options.with_nsc)) conf.env['WITH_NSC'] = os.path.abspath(Options.options.with_nsc) else: # ns-3-dev uses ../nsc, while ns-3 releases use ../NSC_RELEASE_NAME nsc_dir = os.path.join('..', "nsc") nsc_release_dir = os.path.join('..', NSC_RELEASE_NAME) if os.path.isdir(nsc_dir): - conf.check_message("NSC location", '', True, ("%s (guessed)" % nsc_dir)) + conf.msg("Checking for NSC location",("%s (guessed)" % nsc_dir)) conf.env['WITH_NSC'] = os.path.abspath(nsc_dir) elif os.path.isdir(nsc_release_dir): - conf.check_message("NSC location", '', True, ("%s (guessed)" % nsc_release_dir)) + conf.msg("Checking for NSC location", ("%s (guessed)" % nsc_release_dir)) conf.env['WITH_NSC'] = os.path.abspath(nsc_release_dir) del nsc_dir del nsc_release_dir if not conf.env['WITH_NSC']: - conf.check_message("NSC location", '', False) + conf.msg("Checking for NSC location", False) conf.report_optional_feature("nsc", "Network Simulation Cradle", False, "NSC not found (see option --with-nsc)") return - if sys.platform in ['linux2']: + if Options.platform in ['linux', 'freebsd']: arch = os.uname()[4] else: arch = None ok = False - if arch in ('x86_64', 'i686', 'i586', 'i486', 'i386'): + if arch in ('amd64', 'x86_64', 'i686', 'i586', 'i486', 'i386'): conf.env['NSC_ENABLED'] = True conf.env.append_value('CXXDEFINES', 'NETWORK_SIMULATION_CRADLE') - conf.check(mandatory=True, lib='dl', define_name='HAVE_DL', uselib='DL') + conf.check_nonfatal(mandatory=True, lib='dl', define_name='HAVE_DL', uselib_store='DL') ok = True - conf.check_message('NSC supported architecture', arch, ok) + conf.msg('Checking for NSC supported architecture ' + (arch or ''), ok) if not ok: conf.env['NSC_ENABLED'] = False @@ -193,6 +193,9 @@ def build(bld): 'test/ipv4-list-routing-test-suite.cc', 'test/ipv4-packet-info-tag-test-suite.cc', 'test/ipv4-raw-test.cc', + 'test/ipv4-fragmentation-test.cc', + 'test/error-channel.cc', + 'test/error-net-device.cc', 'test/ipv4-test.cc', 'test/ipv6-extension-header-test-suite.cc', 'test/ipv6-list-routing-test-suite.cc', @@ -202,7 +205,7 @@ def build(bld): 'test/udp-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'internet' headers.source = [ 'model/udp-header.h', @@ -280,8 +283,8 @@ def build(bld): obj.source.append ('model/nsc-tcp-socket-factory-impl.cc') obj.source.append ('model/nsc-sysctl.cc') headers.source.append('model/nsc-tcp-l4-protocol.h') - obj.uselib = 'DL' - internet_test.uselib = 'DL' + obj.use.append('DL') + internet_test.use.append('DL') if (bld.env['ENABLE_EXAMPLES']): bld.add_subdirs('examples') diff --git a/src/lte/bindings/modulegen__gcc_ILP32.py b/src/lte/bindings/modulegen__gcc_ILP32.py index a7e80934e..9a59fe510 100644 --- a/src/lte/bindings/modulegen__gcc_ILP32.py +++ b/src/lte/bindings/modulegen__gcc_ILP32.py @@ -26,8 +26,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## spectrum-model.h (module 'spectrum'): ns3::BandInfo [struct] module.add_class('BandInfo', import_from_module='ns.spectrum') ## buffer.h (module 'network'): ns3::Buffer [class] @@ -128,8 +130,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## wimax-tlv.h (module 'wimax'): ns3::U16TlvValue [class] module.add_class('U16TlvValue', import_from_module='ns.wimax', parent=root_module['ns3::TlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::U32TlvValue [class] @@ -138,8 +142,6 @@ def register_types(module): module.add_class('U8TlvValue', import_from_module='ns.wimax', parent=root_module['ns3::TlvValue']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -206,8 +208,6 @@ def register_types(module): module.add_class('PortRangeTlvValue', import_from_module='ns.wimax', parent=root_module['ns3::TlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::PortRangeTlvValue::PortRange [struct] module.add_class('PortRange', import_from_module='ns.wimax', outer_class=root_module['ns3::PortRangeTlvValue']) - ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] - module.add_class('PropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) ## wimax-tlv.h (module 'wimax'): ns3::ProtocolTlvValue [class] module.add_class('ProtocolTlvValue', import_from_module='ns.wimax', parent=root_module['ns3::TlvValue']) ## radio-bearer-instance.h (module 'lte'): ns3::RadioBearerInstance [class] @@ -216,8 +216,6 @@ def register_types(module): module.add_enum('BearerDirection', ['DIRECTION_TYPE_UL', 'DIRECTION_TYPE_DL'], outer_class=root_module['ns3::RadioBearerInstance']) ## radio-bearer-instance.h (module 'lte'): ns3::RadioBearerInstance::BearerType [enumeration] module.add_enum('BearerType', ['BEARER_TYPE_SRB1', 'BEARER_TYPE_SRB2', 'BEARER_TYPE_DRB'], outer_class=root_module['ns3::RadioBearerInstance']) - ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel [class] - module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) ## rlc-entity.h (module 'lte'): ns3::RlcEntity [class] module.add_class('RlcEntity', parent=root_module['ns3::Object']) ## rrc-entity.h (module 'lte'): ns3::RrcEntity [class] @@ -248,6 +246,8 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::SpectrumModel', '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::SpectrumValue', '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')) ## spectrum-interference.h (module 'spectrum'): ns3::SpectrumInterference [class] module.add_class('SpectrumInterference', import_from_module='ns.spectrum', parent=root_module['ns3::Object']) ## spectrum-model.h (module 'spectrum'): ns3::SpectrumModel [class] @@ -268,6 +268,8 @@ def register_types(module): module.add_class('Tlv', import_from_module='ns.wimax', parent=root_module['ns3::Header']) ## wimax-tlv.h (module 'wimax'): ns3::Tlv::CommonTypes [enumeration] module.add_enum('CommonTypes', ['HMAC_TUPLE', 'MAC_VERSION_ENCODING', 'CURRENT_TRANSMIT_POWER', 'DOWNLINK_SERVICE_FLOW', 'UPLINK_SERVICE_FLOW', 'VENDOR_ID_EMCODING', 'VENDOR_SPECIFIC_INFORMATION'], outer_class=root_module['ns3::Tlv'], import_from_module='ns.wimax') + ## 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## ue-manager.h (module 'lte'): ns3::UeManager [class] @@ -298,8 +300,6 @@ def register_types(module): module.add_class('Channel', import_from_module='ns.network', parent=root_module['ns3::Object']) ## channel-realization.h (module 'lte'): ns3::ChannelRealization [class] module.add_class('ChannelRealization', parent=root_module['ns3::Object']) - ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] - module.add_class('ConstantSpeedPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) ## data-rate.h (module 'network'): ns3::DataRateChecker [class] module.add_class('DataRateChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## data-rate.h (module 'network'): ns3::DataRateValue [class] @@ -515,7 +515,8 @@ def register_types_ns3_internal(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3BandInfo_methods(root_module, root_module['ns3::BandInfo']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) @@ -560,12 +561,12 @@ def register_methods(root_module): register_Ns3TosTlvValue_methods(root_module, root_module['ns3::TosTlvValue']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3U16TlvValue_methods(root_module, root_module['ns3::U16TlvValue']) register_Ns3U32TlvValue_methods(root_module, root_module['ns3::U32TlvValue']) register_Ns3U8TlvValue_methods(root_module, root_module['ns3::U8TlvValue']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3VectorTlvValue_methods(root_module, root_module['ns3::VectorTlvValue']) @@ -597,10 +598,8 @@ def register_methods(root_module): register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PortRangeTlvValue_methods(root_module, root_module['ns3::PortRangeTlvValue']) register_Ns3PortRangeTlvValuePortRange_methods(root_module, root_module['ns3::PortRangeTlvValue::PortRange']) - register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3ProtocolTlvValue_methods(root_module, root_module['ns3::ProtocolTlvValue']) register_Ns3RadioBearerInstance_methods(root_module, root_module['ns3::RadioBearerInstance']) - register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) register_Ns3RlcEntity_methods(root_module, root_module['ns3::RlcEntity']) register_Ns3RrcEntity_methods(root_module, root_module['ns3::RrcEntity']) register_Ns3SfVectorTlvValue_methods(root_module, root_module['ns3::SfVectorTlvValue']) @@ -615,6 +614,7 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3SpectrumModel_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumModel__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumModel, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3SpectrumValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumValue, 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_Ns3SpectrumInterference_methods(root_module, root_module['ns3::SpectrumInterference']) register_Ns3SpectrumModel_methods(root_module, root_module['ns3::SpectrumModel']) register_Ns3SpectrumPhy_methods(root_module, root_module['ns3::SpectrumPhy']) @@ -622,6 +622,7 @@ def register_methods(root_module): register_Ns3SpectrumValue_methods(root_module, root_module['ns3::SpectrumValue']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3Tlv_methods(root_module, root_module['ns3::Tlv']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3UeManager_methods(root_module, root_module['ns3::UeManager']) register_Ns3UeRecord_methods(root_module, root_module['ns3::UeRecord']) @@ -636,7 +637,6 @@ def register_methods(root_module): register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) register_Ns3ChannelRealization_methods(root_module, root_module['ns3::ChannelRealization']) - register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) register_Ns3DiscreteTimeLossModel_methods(root_module, root_module['ns3::DiscreteTimeLossModel']) @@ -769,41 +769,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3BandInfo_methods(root_module, cls): @@ -2026,10 +2028,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2056,6 +2058,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2070,10 +2074,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2575,23 +2575,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2599,26 +2589,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2649,14 +2624,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2664,11 +2634,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2693,22 +2658,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2718,6 +2678,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2732,19 +2696,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3U16TlvValue_methods(root_module, cls): @@ -2883,22 +2866,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -3646,23 +3613,6 @@ def register_Ns3PortRangeTlvValuePortRange_methods(root_module, cls): cls.add_instance_attribute('PortLow', 'uint16_t', is_const=False) return -def register_Ns3PropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::PropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - def register_Ns3ProtocolTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::ProtocolTlvValue::ProtocolTlvValue(ns3::ProtocolTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::ProtocolTlvValue const &', 'arg0')]) @@ -3785,23 +3735,6 @@ def register_Ns3RadioBearerInstance_methods(root_module, cls): visibility='private', is_virtual=True) return -def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel::RandomPropagationDelayModel(ns3::RandomPropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomPropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel::RandomPropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::RandomPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, is_virtual=True) - ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::RandomPropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - def register_Ns3RlcEntity_methods(root_module, cls): ## rlc-entity.h (module 'lte'): ns3::RlcEntity::RlcEntity(ns3::RlcEntity const & arg0) [copy constructor] cls.add_constructor([param('ns3::RlcEntity const &', 'arg0')]) @@ -4059,6 +3992,18 @@ def register_Ns3SimpleRefCount__Ns3SpectrumValue_Ns3Empty_Ns3DefaultDeleter__lt_ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SpectrumInterference_methods(root_module, cls): ## spectrum-interference.h (module 'spectrum'): ns3::SpectrumInterference::SpectrumInterference(ns3::SpectrumInterference const & arg0) [copy constructor] cls.add_constructor([param('ns3::SpectrumInterference const &', 'arg0')]) @@ -4488,6 +4433,33 @@ def register_Ns3Tlv_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4690,6 +4662,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4921,32 +4898,6 @@ def register_Ns3ChannelRealization_methods(root_module, cls): [param('ns3::Ptr< ns3::ShadowingLossModel >', 'l')]) return -def register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::ConstantSpeedPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, is_virtual=True) - ## propagation-delay-model.h (module 'propagation'): double ns3::ConstantSpeedPropagationDelayModel::GetSpeed() const [member function] - cls.add_method('GetSpeed', - 'double', - [], - is_const=True) - ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::ConstantSpeedPropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-delay-model.h (module 'propagation'): void ns3::ConstantSpeedPropagationDelayModel::SetSpeed(double speed) [member function] - cls.add_method('SetSpeed', - 'void', - [param('double', 'speed')]) - return - def register_Ns3DataRateChecker_methods(root_module, cls): ## data-rate.h (module 'network'): ns3::DataRateChecker::DataRateChecker() [constructor] cls.add_constructor([]) @@ -5969,10 +5920,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -5987,11 +5946,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): @@ -6352,6 +6306,11 @@ def register_Ns3SpectrumChannel_methods(root_module, cls): cls.add_constructor([]) ## spectrum-channel.h (module 'spectrum'): ns3::SpectrumChannel::SpectrumChannel(ns3::SpectrumChannel const & arg0) [copy constructor] cls.add_constructor([param('ns3::SpectrumChannel const &', 'arg0')]) + ## spectrum-channel.h (module 'spectrum'): void ns3::SpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_pure_virtual=True, is_virtual=True) ## spectrum-channel.h (module 'spectrum'): void ns3::SpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', @@ -7058,6 +7017,11 @@ def register_Ns3SingleModelSpectrumChannel_methods(root_module, cls): cls.add_constructor([param('ns3::SingleModelSpectrumChannel const &', 'arg0')]) ## single-model-spectrum-channel.h (module 'spectrum'): ns3::SingleModelSpectrumChannel::SingleModelSpectrumChannel() [constructor] cls.add_constructor([]) + ## single-model-spectrum-channel.h (module 'spectrum'): void ns3::SingleModelSpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_virtual=True) ## single-model-spectrum-channel.h (module 'spectrum'): void ns3::SingleModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', diff --git a/src/lte/bindings/modulegen__gcc_LP64.py b/src/lte/bindings/modulegen__gcc_LP64.py index a7e80934e..9a59fe510 100644 --- a/src/lte/bindings/modulegen__gcc_LP64.py +++ b/src/lte/bindings/modulegen__gcc_LP64.py @@ -26,8 +26,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## spectrum-model.h (module 'spectrum'): ns3::BandInfo [struct] module.add_class('BandInfo', import_from_module='ns.spectrum') ## buffer.h (module 'network'): ns3::Buffer [class] @@ -128,8 +130,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## wimax-tlv.h (module 'wimax'): ns3::U16TlvValue [class] module.add_class('U16TlvValue', import_from_module='ns.wimax', parent=root_module['ns3::TlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::U32TlvValue [class] @@ -138,8 +142,6 @@ def register_types(module): module.add_class('U8TlvValue', import_from_module='ns.wimax', parent=root_module['ns3::TlvValue']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -206,8 +208,6 @@ def register_types(module): module.add_class('PortRangeTlvValue', import_from_module='ns.wimax', parent=root_module['ns3::TlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::PortRangeTlvValue::PortRange [struct] module.add_class('PortRange', import_from_module='ns.wimax', outer_class=root_module['ns3::PortRangeTlvValue']) - ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] - module.add_class('PropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) ## wimax-tlv.h (module 'wimax'): ns3::ProtocolTlvValue [class] module.add_class('ProtocolTlvValue', import_from_module='ns.wimax', parent=root_module['ns3::TlvValue']) ## radio-bearer-instance.h (module 'lte'): ns3::RadioBearerInstance [class] @@ -216,8 +216,6 @@ def register_types(module): module.add_enum('BearerDirection', ['DIRECTION_TYPE_UL', 'DIRECTION_TYPE_DL'], outer_class=root_module['ns3::RadioBearerInstance']) ## radio-bearer-instance.h (module 'lte'): ns3::RadioBearerInstance::BearerType [enumeration] module.add_enum('BearerType', ['BEARER_TYPE_SRB1', 'BEARER_TYPE_SRB2', 'BEARER_TYPE_DRB'], outer_class=root_module['ns3::RadioBearerInstance']) - ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel [class] - module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) ## rlc-entity.h (module 'lte'): ns3::RlcEntity [class] module.add_class('RlcEntity', parent=root_module['ns3::Object']) ## rrc-entity.h (module 'lte'): ns3::RrcEntity [class] @@ -248,6 +246,8 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::SpectrumModel', '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::SpectrumValue', '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')) ## spectrum-interference.h (module 'spectrum'): ns3::SpectrumInterference [class] module.add_class('SpectrumInterference', import_from_module='ns.spectrum', parent=root_module['ns3::Object']) ## spectrum-model.h (module 'spectrum'): ns3::SpectrumModel [class] @@ -268,6 +268,8 @@ def register_types(module): module.add_class('Tlv', import_from_module='ns.wimax', parent=root_module['ns3::Header']) ## wimax-tlv.h (module 'wimax'): ns3::Tlv::CommonTypes [enumeration] module.add_enum('CommonTypes', ['HMAC_TUPLE', 'MAC_VERSION_ENCODING', 'CURRENT_TRANSMIT_POWER', 'DOWNLINK_SERVICE_FLOW', 'UPLINK_SERVICE_FLOW', 'VENDOR_ID_EMCODING', 'VENDOR_SPECIFIC_INFORMATION'], outer_class=root_module['ns3::Tlv'], import_from_module='ns.wimax') + ## 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## ue-manager.h (module 'lte'): ns3::UeManager [class] @@ -298,8 +300,6 @@ def register_types(module): module.add_class('Channel', import_from_module='ns.network', parent=root_module['ns3::Object']) ## channel-realization.h (module 'lte'): ns3::ChannelRealization [class] module.add_class('ChannelRealization', parent=root_module['ns3::Object']) - ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] - module.add_class('ConstantSpeedPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) ## data-rate.h (module 'network'): ns3::DataRateChecker [class] module.add_class('DataRateChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## data-rate.h (module 'network'): ns3::DataRateValue [class] @@ -515,7 +515,8 @@ def register_types_ns3_internal(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3BandInfo_methods(root_module, root_module['ns3::BandInfo']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) @@ -560,12 +561,12 @@ def register_methods(root_module): register_Ns3TosTlvValue_methods(root_module, root_module['ns3::TosTlvValue']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3U16TlvValue_methods(root_module, root_module['ns3::U16TlvValue']) register_Ns3U32TlvValue_methods(root_module, root_module['ns3::U32TlvValue']) register_Ns3U8TlvValue_methods(root_module, root_module['ns3::U8TlvValue']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3VectorTlvValue_methods(root_module, root_module['ns3::VectorTlvValue']) @@ -597,10 +598,8 @@ def register_methods(root_module): register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PortRangeTlvValue_methods(root_module, root_module['ns3::PortRangeTlvValue']) register_Ns3PortRangeTlvValuePortRange_methods(root_module, root_module['ns3::PortRangeTlvValue::PortRange']) - register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) register_Ns3ProtocolTlvValue_methods(root_module, root_module['ns3::ProtocolTlvValue']) register_Ns3RadioBearerInstance_methods(root_module, root_module['ns3::RadioBearerInstance']) - register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) register_Ns3RlcEntity_methods(root_module, root_module['ns3::RlcEntity']) register_Ns3RrcEntity_methods(root_module, root_module['ns3::RrcEntity']) register_Ns3SfVectorTlvValue_methods(root_module, root_module['ns3::SfVectorTlvValue']) @@ -615,6 +614,7 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3SpectrumModel_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumModel__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumModel, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3SpectrumValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3SpectrumValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SpectrumValue, 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_Ns3SpectrumInterference_methods(root_module, root_module['ns3::SpectrumInterference']) register_Ns3SpectrumModel_methods(root_module, root_module['ns3::SpectrumModel']) register_Ns3SpectrumPhy_methods(root_module, root_module['ns3::SpectrumPhy']) @@ -622,6 +622,7 @@ def register_methods(root_module): register_Ns3SpectrumValue_methods(root_module, root_module['ns3::SpectrumValue']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3Tlv_methods(root_module, root_module['ns3::Tlv']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3UeManager_methods(root_module, root_module['ns3::UeManager']) register_Ns3UeRecord_methods(root_module, root_module['ns3::UeRecord']) @@ -636,7 +637,6 @@ def register_methods(root_module): register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) register_Ns3ChannelRealization_methods(root_module, root_module['ns3::ChannelRealization']) - register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) register_Ns3DiscreteTimeLossModel_methods(root_module, root_module['ns3::DiscreteTimeLossModel']) @@ -769,41 +769,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3BandInfo_methods(root_module, cls): @@ -2026,10 +2028,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2056,6 +2058,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2070,10 +2074,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2575,23 +2575,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2599,26 +2589,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2649,14 +2624,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2664,11 +2634,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2693,22 +2658,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2718,6 +2678,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2732,19 +2696,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3U16TlvValue_methods(root_module, cls): @@ -2883,22 +2866,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -3646,23 +3613,6 @@ def register_Ns3PortRangeTlvValuePortRange_methods(root_module, cls): cls.add_instance_attribute('PortLow', 'uint16_t', is_const=False) return -def register_Ns3PropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_pure_virtual=True, is_const=True, is_virtual=True) - ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::PropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - def register_Ns3ProtocolTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::ProtocolTlvValue::ProtocolTlvValue(ns3::ProtocolTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::ProtocolTlvValue const &', 'arg0')]) @@ -3785,23 +3735,6 @@ def register_Ns3RadioBearerInstance_methods(root_module, cls): visibility='private', is_virtual=True) return -def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel::RandomPropagationDelayModel(ns3::RandomPropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::RandomPropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel::RandomPropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::RandomPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, is_virtual=True) - ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::RandomPropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - return - def register_Ns3RlcEntity_methods(root_module, cls): ## rlc-entity.h (module 'lte'): ns3::RlcEntity::RlcEntity(ns3::RlcEntity const & arg0) [copy constructor] cls.add_constructor([param('ns3::RlcEntity const &', 'arg0')]) @@ -4059,6 +3992,18 @@ def register_Ns3SimpleRefCount__Ns3SpectrumValue_Ns3Empty_Ns3DefaultDeleter__lt_ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SpectrumInterference_methods(root_module, cls): ## spectrum-interference.h (module 'spectrum'): ns3::SpectrumInterference::SpectrumInterference(ns3::SpectrumInterference const & arg0) [copy constructor] cls.add_constructor([param('ns3::SpectrumInterference const &', 'arg0')]) @@ -4488,6 +4433,33 @@ def register_Ns3Tlv_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4690,6 +4662,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4921,32 +4898,6 @@ def register_Ns3ChannelRealization_methods(root_module, cls): [param('ns3::Ptr< ns3::ShadowingLossModel >', 'l')]) return -def register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): - ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] - cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) - ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel() [constructor] - cls.add_constructor([]) - ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::ConstantSpeedPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] - cls.add_method('GetDelay', - 'ns3::Time', - [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], - is_const=True, is_virtual=True) - ## propagation-delay-model.h (module 'propagation'): double ns3::ConstantSpeedPropagationDelayModel::GetSpeed() const [member function] - cls.add_method('GetSpeed', - 'double', - [], - is_const=True) - ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::ConstantSpeedPropagationDelayModel::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) - ## propagation-delay-model.h (module 'propagation'): void ns3::ConstantSpeedPropagationDelayModel::SetSpeed(double speed) [member function] - cls.add_method('SetSpeed', - 'void', - [param('double', 'speed')]) - return - def register_Ns3DataRateChecker_methods(root_module, cls): ## data-rate.h (module 'network'): ns3::DataRateChecker::DataRateChecker() [constructor] cls.add_constructor([]) @@ -5969,10 +5920,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -5987,11 +5946,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): @@ -6352,6 +6306,11 @@ def register_Ns3SpectrumChannel_methods(root_module, cls): cls.add_constructor([]) ## spectrum-channel.h (module 'spectrum'): ns3::SpectrumChannel::SpectrumChannel(ns3::SpectrumChannel const & arg0) [copy constructor] cls.add_constructor([param('ns3::SpectrumChannel const &', 'arg0')]) + ## spectrum-channel.h (module 'spectrum'): void ns3::SpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_pure_virtual=True, is_virtual=True) ## spectrum-channel.h (module 'spectrum'): void ns3::SpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', @@ -7058,6 +7017,11 @@ def register_Ns3SingleModelSpectrumChannel_methods(root_module, cls): cls.add_constructor([param('ns3::SingleModelSpectrumChannel const &', 'arg0')]) ## single-model-spectrum-channel.h (module 'spectrum'): ns3::SingleModelSpectrumChannel::SingleModelSpectrumChannel() [constructor] cls.add_constructor([]) + ## single-model-spectrum-channel.h (module 'spectrum'): void ns3::SingleModelSpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_virtual=True) ## single-model-spectrum-channel.h (module 'spectrum'): void ns3::SingleModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', diff --git a/src/lte/helper/lena-helper.cc b/src/lte/helper/lena-helper.cc index 695d60a57..ef0551acc 100644 --- a/src/lte/helper/lena-helper.cc +++ b/src/lte/helper/lena-helper.cc @@ -429,11 +429,13 @@ LenaHelper::EnableRlcTraces (void) uint64_t FindImsiFromEnbRlcPath (std::string path) { + NS_LOG_FUNCTION (path); // Sample path input: // /NodeList/#NodeId/DeviceList/#DeviceId/LteEnbRrc/UeMap/#C-RNTI/RadioBearerMap/#LCID/LteRlc/RxPDU // We retrieve the UeInfo associated to the C-RNTI and perform the IMSI lookup std::string ueMapPath = path.substr (0, path.find ("/RadioBearerMap")); + NS_LOG_LOGIC ("ueMapPath = " << ueMapPath); Config::MatchContainer match = Config::LookupMatches (ueMapPath); if (match.GetN () != 0) @@ -450,6 +452,7 @@ FindImsiFromEnbRlcPath (std::string path) uint16_t FindCellIdFromEnbRlcPath (std::string path) { + NS_LOG_FUNCTION (path); // Sample path input: // /NodeList/#NodeId/DeviceList/#DeviceId/LteEnbRrc/UeMap/#C-RNTI/RadioBearerMap/#LCID/LteRlc/RxPDU @@ -471,6 +474,7 @@ FindCellIdFromEnbRlcPath (std::string path) uint64_t FindImsiFromUeRlcPath (std::string path) { + NS_LOG_FUNCTION (path); // Sample path input: // /NodeList/#NodeId/DeviceList/#DeviceId/LteUeRrc/RlcMap/#LCID/RxPDU @@ -493,46 +497,53 @@ FindImsiFromUeRlcPath (std::string path) uint64_t FindImsiFromEnbMac (std::string path, uint16_t rnti) { + NS_LOG_FUNCTION (path << rnti); // /NodeList/#NodeId/DeviceList/#DeviceId/LteEnbMac/DlScheduling std::ostringstream oss; std::string p = path.substr (0, path.find ("/LteEnbMac")); + NS_LOG_LOGIC ("p = " << p); oss << rnti; - p += "\\/LteEnbRrc/UeMap/" + oss.str (); + p += "/LteEnbRrc/UeMap/" + oss.str (); + NS_LOG_LOGIC ("p = " << p); return FindImsiFromEnbRlcPath (p); } uint16_t FindCellIdFromEnbMac (std::string path, uint16_t rnti) { + NS_LOG_FUNCTION (path << rnti); // /NodeList/#NodeId/DeviceList/#DeviceId/LteEnbMac/DlScheduling std::ostringstream oss; std::string p = path.substr (0, path.find ("/LteEnbMac")); oss << rnti; - p += "\\/LteEnbRrc/UeMap/" + oss.str (); + p += "/LteEnbRrc/UeMap/" + oss.str (); return FindCellIdFromEnbRlcPath (p); } void -DlTxPduCallback (Ptr m_rlcStats, std::string path, +DlTxPduCallback (Ptr rlcStats, std::string path, uint16_t rnti, uint8_t lcid, uint32_t packetSize) { + NS_LOG_FUNCTION (rlcStats << path << rnti << lcid << packetSize); uint64_t imsi = FindImsiFromEnbRlcPath (path); uint16_t cellId = FindCellIdFromEnbRlcPath (path); - m_rlcStats->DlTxPdu (cellId, imsi, rnti, lcid, packetSize); + rlcStats->DlTxPdu (cellId, imsi, rnti, lcid, packetSize); } void -DlRxPduCallback (Ptr m_rlcStats, std::string path, +DlRxPduCallback (Ptr rlcStats, std::string path, uint16_t rnti, uint8_t lcid, uint32_t packetSize, uint64_t delay) { + NS_LOG_FUNCTION (rlcStats << path << rnti << lcid << packetSize << delay); uint64_t imsi = FindImsiFromUeRlcPath (path); - m_rlcStats->DlRxPdu (imsi, rnti, lcid, packetSize, delay); + rlcStats->DlRxPdu (imsi, rnti, lcid, packetSize, delay); } void LenaHelper::EnableDlRlcTraces (void) { + NS_LOG_FUNCTION_NOARGS (); Config::Connect ("/NodeList/*/DeviceList/*/LteEnbRrc/UeMap/*/RadioBearerMap/*/LteRlc/TxPDU", MakeBoundCallback (&DlTxPduCallback, m_rlcStats)); Config::Connect ("/NodeList/*/DeviceList/*/LteUeRrc/RlcMap/*/RxPDU", @@ -540,20 +551,22 @@ LenaHelper::EnableDlRlcTraces (void) } void -UlTxPduCallback (Ptr m_rlcStats, std::string path, +UlTxPduCallback (Ptr rlcStats, std::string path, uint16_t rnti, uint8_t lcid, uint32_t packetSize) { + NS_LOG_FUNCTION (rlcStats << path << rnti << lcid << packetSize); uint64_t imsi = FindImsiFromUeRlcPath (path); - m_rlcStats->UlTxPdu (imsi, rnti, lcid, packetSize); + rlcStats->UlTxPdu (imsi, rnti, lcid, packetSize); } void -UlRxPduCallback (Ptr m_rlcStats, std::string path, +UlRxPduCallback (Ptr rlcStats, std::string path, uint16_t rnti, uint8_t lcid, uint32_t packetSize, uint64_t delay) { + NS_LOG_FUNCTION (rlcStats << path << rnti << lcid << packetSize << delay); uint64_t imsi = FindImsiFromEnbRlcPath (path); uint16_t cellId = FindCellIdFromEnbRlcPath (path); - m_rlcStats->UlRxPdu (cellId, imsi, rnti, lcid, packetSize, delay); + rlcStats->UlRxPdu (cellId, imsi, rnti, lcid, packetSize, delay); } void @@ -561,6 +574,7 @@ DlSchedulingCallback (Ptr mac, std::string path, uint32_t frameNo, uint32_t subframeNo, uint16_t rnti, uint8_t mcsTb1, uint16_t sizeTb1, uint8_t mcsTb2, uint16_t sizeTb2) { + NS_LOG_FUNCTION (mac << path); uint64_t imsi = FindImsiFromEnbMac (path, rnti); uint16_t cellId = FindCellIdFromEnbMac (path, rnti); mac->DlScheduling (cellId, imsi, frameNo, subframeNo, rnti, mcsTb1, sizeTb1, mcsTb2, sizeTb2); @@ -595,6 +609,7 @@ UlSchedulingCallback (Ptr mac, std::string path, uint32_t frameNo, uint32_t subframeNo, uint16_t rnti, uint8_t mcs, uint16_t size) { + NS_LOG_FUNCTION (mac << path); uint64_t imsi = FindImsiFromEnbMac (path, rnti); uint16_t cellId = FindCellIdFromEnbMac (path, rnti); mac->UlScheduling (cellId, imsi, frameNo, subframeNo, rnti, mcs, size); diff --git a/src/lte/model/JakesTraces/multipath_v0_M10.h b/src/lte/model/JakesTraces/multipath_v0_M10.h index 6888a03ce..072f29a0b 100644 --- a/src/lte/model/JakesTraces/multipath_v0_M10.h +++ b/src/lte/model/JakesTraces/multipath_v0_M10.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v0_M12.h b/src/lte/model/JakesTraces/multipath_v0_M12.h index 166bad657..57de5c165 100644 --- a/src/lte/model/JakesTraces/multipath_v0_M12.h +++ b/src/lte/model/JakesTraces/multipath_v0_M12.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v0_M6.h b/src/lte/model/JakesTraces/multipath_v0_M6.h index 300ca96b9..e9f28fa44 100644 --- a/src/lte/model/JakesTraces/multipath_v0_M6.h +++ b/src/lte/model/JakesTraces/multipath_v0_M6.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v0_M8.h b/src/lte/model/JakesTraces/multipath_v0_M8.h index 4042155e7..fbcea576a 100644 --- a/src/lte/model/JakesTraces/multipath_v0_M8.h +++ b/src/lte/model/JakesTraces/multipath_v0_M8.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v120_M10.h b/src/lte/model/JakesTraces/multipath_v120_M10.h index eb5ec14d8..fd81d7932 100644 --- a/src/lte/model/JakesTraces/multipath_v120_M10.h +++ b/src/lte/model/JakesTraces/multipath_v120_M10.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v120_M12.h b/src/lte/model/JakesTraces/multipath_v120_M12.h index e661b0ba1..c29bc9b11 100644 --- a/src/lte/model/JakesTraces/multipath_v120_M12.h +++ b/src/lte/model/JakesTraces/multipath_v120_M12.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v120_M6.h b/src/lte/model/JakesTraces/multipath_v120_M6.h index 15b4ded32..08f6ed621 100644 --- a/src/lte/model/JakesTraces/multipath_v120_M6.h +++ b/src/lte/model/JakesTraces/multipath_v120_M6.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v120_M8.h b/src/lte/model/JakesTraces/multipath_v120_M8.h index 1bf4a711b..58c4ce8a3 100644 --- a/src/lte/model/JakesTraces/multipath_v120_M8.h +++ b/src/lte/model/JakesTraces/multipath_v120_M8.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v30_M10.h b/src/lte/model/JakesTraces/multipath_v30_M10.h index 2aadbeef3..0c655040c 100644 --- a/src/lte/model/JakesTraces/multipath_v30_M10.h +++ b/src/lte/model/JakesTraces/multipath_v30_M10.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v30_M12.h b/src/lte/model/JakesTraces/multipath_v30_M12.h index 1b5debb9a..e69ed4204 100644 --- a/src/lte/model/JakesTraces/multipath_v30_M12.h +++ b/src/lte/model/JakesTraces/multipath_v30_M12.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v30_M6.h b/src/lte/model/JakesTraces/multipath_v30_M6.h index bd41cb880..fa950ca7b 100644 --- a/src/lte/model/JakesTraces/multipath_v30_M6.h +++ b/src/lte/model/JakesTraces/multipath_v30_M6.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v30_M8.h b/src/lte/model/JakesTraces/multipath_v30_M8.h index 8907bda94..a52632d62 100644 --- a/src/lte/model/JakesTraces/multipath_v30_M8.h +++ b/src/lte/model/JakesTraces/multipath_v30_M8.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v3_M10.h b/src/lte/model/JakesTraces/multipath_v3_M10.h index e56003a06..674bcd513 100644 --- a/src/lte/model/JakesTraces/multipath_v3_M10.h +++ b/src/lte/model/JakesTraces/multipath_v3_M10.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v3_M12.h b/src/lte/model/JakesTraces/multipath_v3_M12.h index 6984c7d13..22fac0d97 100644 --- a/src/lte/model/JakesTraces/multipath_v3_M12.h +++ b/src/lte/model/JakesTraces/multipath_v3_M12.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v3_M6.h b/src/lte/model/JakesTraces/multipath_v3_M6.h index 72294e142..5a06a131a 100644 --- a/src/lte/model/JakesTraces/multipath_v3_M6.h +++ b/src/lte/model/JakesTraces/multipath_v3_M6.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/JakesTraces/multipath_v3_M8.h b/src/lte/model/JakesTraces/multipath_v3_M8.h index 9acb191fc..c055047e6 100644 --- a/src/lte/model/JakesTraces/multipath_v3_M8.h +++ b/src/lte/model/JakesTraces/multipath_v3_M8.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/channel-realization.cc b/src/lte/model/channel-realization.cc index a4943f8b2..98db41b15 100644 --- a/src/lte/model/channel-realization.cc +++ b/src/lte/model/channel-realization.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/channel-realization.h b/src/lte/model/channel-realization.h index dc51780f6..783fa9b5f 100644 --- a/src/lte/model/channel-realization.h +++ b/src/lte/model/channel-realization.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/discrete-time-loss-model.cc b/src/lte/model/discrete-time-loss-model.cc index bffbbe5da..183d4886f 100644 --- a/src/lte/model/discrete-time-loss-model.cc +++ b/src/lte/model/discrete-time-loss-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/discrete-time-loss-model.h b/src/lte/model/discrete-time-loss-model.h index 9d871309b..2a64e2bc9 100644 --- a/src/lte/model/discrete-time-loss-model.h +++ b/src/lte/model/discrete-time-loss-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/ideal-control-messages.cc b/src/lte/model/ideal-control-messages.cc index 7f28cb518..a2f14a507 100644 --- a/src/lte/model/ideal-control-messages.cc +++ b/src/lte/model/ideal-control-messages.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/ideal-control-messages.h b/src/lte/model/ideal-control-messages.h index 18d0704a1..fa1fcc99f 100644 --- a/src/lte/model/ideal-control-messages.h +++ b/src/lte/model/ideal-control-messages.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/jakes-fading-loss-model.cc b/src/lte/model/jakes-fading-loss-model.cc index f775c53dc..f7c4649e3 100644 --- a/src/lte/model/jakes-fading-loss-model.cc +++ b/src/lte/model/jakes-fading-loss-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/jakes-fading-loss-model.h b/src/lte/model/jakes-fading-loss-model.h index ba7534511..ba48163da 100644 --- a/src/lte/model/jakes-fading-loss-model.h +++ b/src/lte/model/jakes-fading-loss-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/jakes-fading-realizations.h b/src/lte/model/jakes-fading-realizations.h index 554fe17c6..ec2174052 100644 --- a/src/lte/model/jakes-fading-realizations.h +++ b/src/lte/model/jakes-fading-realizations.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-amc.cc b/src/lte/model/lte-amc.cc index 6aff595ce..40651aa4b 100644 --- a/src/lte/model/lte-amc.cc +++ b/src/lte/model/lte-amc.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * @@ -27,6 +27,10 @@ #include #include +#ifdef __FreeBSD__ +#define log2(x) (log(x)/M_LN2) +#endif + NS_LOG_COMPONENT_DEFINE ("LteAmc"); namespace ns3 { diff --git a/src/lte/model/lte-amc.h b/src/lte/model/lte-amc.h index bbe653922..118d7409d 100644 --- a/src/lte/model/lte-amc.h +++ b/src/lte/model/lte-amc.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-net-device.cc b/src/lte/model/lte-enb-net-device.cc index 4988bd3e4..8e7b5dedd 100644 --- a/src/lte/model/lte-enb-net-device.cc +++ b/src/lte/model/lte-enb-net-device.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-net-device.h b/src/lte/model/lte-enb-net-device.h index 42cf2e463..da55e7e33 100644 --- a/src/lte/model/lte-enb-net-device.h +++ b/src/lte/model/lte-enb-net-device.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-phy.cc b/src/lte/model/lte-enb-phy.cc index eaf33897f..fefd16448 100644 --- a/src/lte/model/lte-enb-phy.cc +++ b/src/lte/model/lte-enb-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-phy.h b/src/lte/model/lte-enb-phy.h index 93849cfdd..8060c7bab 100644 --- a/src/lte/model/lte-enb-phy.h +++ b/src/lte/model/lte-enb-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-enb-rrc.cc b/src/lte/model/lte-enb-rrc.cc index 14b6f84f4..b5aea34f5 100644 --- a/src/lte/model/lte-enb-rrc.cc +++ b/src/lte/model/lte-enb-rrc.cc @@ -145,11 +145,6 @@ TypeId UeInfo::GetTypeId (void) ObjectMapValue (), MakeObjectMapAccessor (&UeInfo::m_rbMap), MakeObjectMapChecker ()) -/* .AddAttribute("Imsi", - "International Mobile Subscriber Identity assigned to this UE", - UintegerValue (1), - MakeUintegerAccessor (&UeInfo::m_imsi), - MakeUintegerChecker ())*/ ; return tid; } @@ -185,7 +180,15 @@ UeInfo::GetRadioBearer (uint8_t lcid) { NS_LOG_FUNCTION (this << (uint32_t) lcid); NS_ASSERT (0 != lcid); - return m_rbMap.find (lcid)->second; + std::map >::iterator it = m_rbMap.find (lcid); + if (it != m_rbMap.end ()) + { + return m_rbMap.find (lcid)->second; + } + else + { + return 0; + } } diff --git a/src/lte/model/lte-net-device.cc b/src/lte/model/lte-net-device.cc index 261f56c0a..1a45716c2 100644 --- a/src/lte/model/lte-net-device.cc +++ b/src/lte/model/lte-net-device.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-net-device.h b/src/lte/model/lte-net-device.h index 74f3de8db..68ae8b855 100644 --- a/src/lte/model/lte-net-device.h +++ b/src/lte/model/lte-net-device.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-phy.cc b/src/lte/model/lte-phy.cc index 755e82a81..ce4f909e0 100644 --- a/src/lte/model/lte-phy.cc +++ b/src/lte/model/lte-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-phy.h b/src/lte/model/lte-phy.h index 2b92728f2..231ade402 100644 --- a/src/lte/model/lte-phy.h +++ b/src/lte/model/lte-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-propagation-loss-model.cc b/src/lte/model/lte-propagation-loss-model.cc index 053394573..68e185022 100644 --- a/src/lte/model/lte-propagation-loss-model.cc +++ b/src/lte/model/lte-propagation-loss-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-propagation-loss-model.h b/src/lte/model/lte-propagation-loss-model.h index 53609fd25..e9e555685 100644 --- a/src/lte/model/lte-propagation-loss-model.h +++ b/src/lte/model/lte-propagation-loss-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-spectrum-phy.cc b/src/lte/model/lte-spectrum-phy.cc index faf5da21a..4e698856b 100644 --- a/src/lte/model/lte-spectrum-phy.cc +++ b/src/lte/model/lte-spectrum-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2011 CTTC * @@ -112,7 +112,7 @@ LteSpectrumPhy::GetTypeId (void) -Ptr +Ptr LteSpectrumPhy::GetDevice () { NS_LOG_FUNCTION (this); @@ -120,7 +120,7 @@ LteSpectrumPhy::GetDevice () } -Ptr +Ptr LteSpectrumPhy::GetMobility () { NS_LOG_FUNCTION (this); @@ -129,7 +129,7 @@ LteSpectrumPhy::GetMobility () void -LteSpectrumPhy::SetDevice (Ptr d) +LteSpectrumPhy::SetDevice (Ptr d) { NS_LOG_FUNCTION (this << d); m_device = d; @@ -137,7 +137,7 @@ LteSpectrumPhy::SetDevice (Ptr d) void -LteSpectrumPhy::SetMobility (Ptr m) +LteSpectrumPhy::SetMobility (Ptr m) { NS_LOG_FUNCTION (this << m); m_mobility = m; diff --git a/src/lte/model/lte-spectrum-phy.h b/src/lte/model/lte-spectrum-phy.h index d33942bb7..ad29fa12a 100644 --- a/src/lte/model/lte-spectrum-phy.h +++ b/src/lte/model/lte-spectrum-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -67,10 +67,10 @@ public: // inherited from SpectrumPhy void SetChannel (Ptr c); - void SetMobility (Ptr m); - void SetDevice (Ptr d); - Ptr GetMobility (); - Ptr GetDevice (); + void SetMobility (Ptr m); + void SetDevice (Ptr d); + Ptr GetMobility (); + Ptr GetDevice (); Ptr GetRxSpectrumModel () const; void StartRx (Ptr pb, Ptr rxPsd, SpectrumType st, Time duration); @@ -159,9 +159,9 @@ private: void EndTx (); void EndRx (); - Ptr m_mobility; + Ptr m_mobility; - Ptr m_device; + Ptr m_device; Ptr m_channel; diff --git a/src/lte/model/lte-spectrum-value-helper.cc b/src/lte/model/lte-spectrum-value-helper.cc index 759302822..1f7433ce2 100644 --- a/src/lte/model/lte-spectrum-value-helper.cc +++ b/src/lte/model/lte-spectrum-value-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-spectrum-value-helper.h b/src/lte/model/lte-spectrum-value-helper.h index faa6cd0a9..c022ff2e7 100644 --- a/src/lte/model/lte-spectrum-value-helper.h +++ b/src/lte/model/lte-spectrum-value-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-ue-net-device.cc b/src/lte/model/lte-ue-net-device.cc index 7b2f89ab0..2c05c8cb4 100644 --- a/src/lte/model/lte-ue-net-device.cc +++ b/src/lte/model/lte-ue-net-device.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-ue-net-device.h b/src/lte/model/lte-ue-net-device.h index 664dd3a6e..018a70e3d 100644 --- a/src/lte/model/lte-ue-net-device.h +++ b/src/lte/model/lte-ue-net-device.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-ue-phy.cc b/src/lte/model/lte-ue-phy.cc index 116137a41..2f7f074c5 100644 --- a/src/lte/model/lte-ue-phy.cc +++ b/src/lte/model/lte-ue-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/lte-ue-phy.h b/src/lte/model/lte-ue-phy.h index c446e984e..81002a209 100644 --- a/src/lte/model/lte-ue-phy.h +++ b/src/lte/model/lte-ue-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/path-loss-model.cc b/src/lte/model/path-loss-model.cc index f9b640899..2a5e2fa62 100644 --- a/src/lte/model/path-loss-model.cc +++ b/src/lte/model/path-loss-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/path-loss-model.h b/src/lte/model/path-loss-model.h index be7e1a24b..143163b67 100644 --- a/src/lte/model/path-loss-model.h +++ b/src/lte/model/path-loss-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/penetration-loss-model.cc b/src/lte/model/penetration-loss-model.cc index 625b8a958..a0d63f7d1 100644 --- a/src/lte/model/penetration-loss-model.cc +++ b/src/lte/model/penetration-loss-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/penetration-loss-model.h b/src/lte/model/penetration-loss-model.h index 0bd725e25..fe9d5b8a9 100644 --- a/src/lte/model/penetration-loss-model.h +++ b/src/lte/model/penetration-loss-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/shadowing-loss-model.cc b/src/lte/model/shadowing-loss-model.cc index 8d9a492a6..965b99ec3 100644 --- a/src/lte/model/shadowing-loss-model.cc +++ b/src/lte/model/shadowing-loss-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/model/shadowing-loss-model.h b/src/lte/model/shadowing-loss-model.h index 23e7d53b8..14c769fa6 100644 --- a/src/lte/model/shadowing-loss-model.h +++ b/src/lte/model/shadowing-loss-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari * diff --git a/src/lte/test/lte-test-downlink-sinr.cc b/src/lte/test/lte-test-downlink-sinr.cc index c16cc181f..f1a8b3bae 100644 --- a/src/lte/test/lte-test-downlink-sinr.cc +++ b/src/lte/test/lte-test-downlink-sinr.cc @@ -46,13 +46,6 @@ using namespace ns3; LteDownlinkSinrTestSuite::LteDownlinkSinrTestSuite () : TestSuite ("lte-downlink-sinr", SYSTEM) { - // LogLevel logLevel = (LogLevel)(LOG_PREFIX_FUNC | LOG_PREFIX_TIME | LOG_LEVEL_ALL); - - // LogComponentEnable ("LteTestUePhy", logLevel); - // LogComponentEnable ("LteDownlinkSinrTest", logLevel); - - // NS_LOG_INFO ("Creating LteDownlinkSinrTestSuite"); - /** * Build Spectrum Model values for the TX signal */ @@ -124,34 +117,6 @@ LteDownlinkSinrTestCase::~LteDownlinkSinrTestCase () void LteDownlinkSinrTestCase::DoRun (void) { - LogLevel logLevel = (LogLevel)(LOG_PREFIX_FUNC | LOG_PREFIX_TIME | LOG_LEVEL_ALL); - - LogComponentEnable ("LteEnbRrc", logLevel); - LogComponentEnable ("LteUeRrc", logLevel); - LogComponentEnable ("LteEnbMac", logLevel); - LogComponentEnable ("LteUeMac", logLevel); - LogComponentEnable ("LteRlc", logLevel); - LogComponentEnable ("RrPacketScheduler", logLevel); - - LogComponentEnable ("LtePhy", logLevel); - LogComponentEnable ("LteEnbPhy", logLevel); - LogComponentEnable ("LteUePhy", logLevel); - - LogComponentEnable ("LteSpectrumPhy", logLevel); - LogComponentEnable ("LteInterference", logLevel); - LogComponentEnable ("LteSinrChunkProcessor", logLevel); - - LogComponentEnable ("LtePropagationLossModel", logLevel); - LogComponentEnable ("LossModel", logLevel); - LogComponentEnable ("ShadowingLossModel", logLevel); - LogComponentEnable ("PenetrationLossModel", logLevel); - LogComponentEnable ("MultipathLossModel", logLevel); - LogComponentEnable ("PathLossModel", logLevel); - - LogComponentEnable ("LteNetDevice", logLevel); - LogComponentEnable ("LteUeNetDevice", logLevel); - LogComponentEnable ("LteEnbNetDevice", logLevel); - /** * Instantiate a single receiving LteSpectrumPhy */ diff --git a/src/lte/test/lte-test-pf-ff-mac-scheduler.cc b/src/lte/test/lte-test-pf-ff-mac-scheduler.cc index 511c4bc40..ea0935bee 100644 --- a/src/lte/test/lte-test-pf-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-pf-ff-mac-scheduler.cc @@ -15,7 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * Author: Marco Miozzo + * Author: Marco Miozzo , + * Nicola Baldo */ #include @@ -54,7 +55,6 @@ using namespace ns3; LenaTestPfFfMacSchedulerSuite::LenaTestPfFfMacSchedulerSuite () : TestSuite ("lte-pf-ff-mac-scheduler", SYSTEM) { - SetVerbose (true); NS_LOG_INFO ("creating LenaTestPfFfMacSchedulerSuite"); //Test Case 1: AMC works in PF @@ -169,7 +169,7 @@ LenaTestPfFfMacSchedulerSuite::LenaTestPfFfMacSchedulerSuite () estThrPfUl.push_back (125000); // User 2 estimated TTI throughput from PF estThrPfUl.push_back (85000); // User 3 estimated TTI throughput from PF estThrPfUl.push_back (41000); // User 4 estimated TTI throughput from PF - AddTestCase (new LenaPfFfMacSchedulerTestCase2 (5,dist,estThrPfDl,estThrPfUl)); + AddTestCase (new LenaPfFfMacSchedulerTestCase2 (dist, estThrPfDl, estThrPfUl)); } @@ -179,17 +179,23 @@ static LenaTestPfFfMacSchedulerSuite lenaTestPfFfMacSchedulerSuite; // --------------- T E S T - C A S E # 1 ------------------------------ + +std::string +LenaPfFfMacSchedulerTestCase1::BuildNameString (uint16_t nUser, uint16_t dist) +{ + std::ostringstream oss; + oss << nUser << " UEs, distance " << dist << " m"; + return oss.str (); +} + LenaPfFfMacSchedulerTestCase1::LenaPfFfMacSchedulerTestCase1 (uint16_t nUser, uint16_t nLc, uint16_t dist, double thrRefDl, double thrRefUl) - : TestCase (""), + : TestCase (BuildNameString (nUser, dist)), m_nUser (nUser), m_nLc (nLc), m_dist (dist), m_thrRefDl (thrRefDl), m_thrRefUl (thrRefUl) { - std::ostringstream oss; - oss << nUser << " UEs, distance " << dist << " m" ; - SetName (oss.str ()); } LenaPfFfMacSchedulerTestCase1::~LenaPfFfMacSchedulerTestCase1 () @@ -233,7 +239,6 @@ LenaPfFfMacSchedulerTestCase1::DoRun (void) * Initialize Simulation Scenario: 1 eNB and m_nUser UEs */ - SetVerbose (true); Ptr lena = CreateObject (); lena->SetAttribute ("PropagationModel", StringValue ("ns3::FriisSpectrumPropagationLossModel")); @@ -351,21 +356,27 @@ LenaPfFfMacSchedulerTestCase1::DoRun (void) // --------------- T E S T - C A S E # 2 ------------------------------ -LenaPfFfMacSchedulerTestCase2::LenaPfFfMacSchedulerTestCase2 (uint16_t nUser, std::vector dist, std::vector estThrPfDl, std::vector estThrPfUl) - : TestCase (""), - m_nUser (nUser), - m_dist (dist), - m_estThrPfDl (estThrPfDl), - m_estThrPfUl (estThrPfUl) +std::string +LenaPfFfMacSchedulerTestCase2::BuildNameString (uint16_t nUser, std::vector dist) { std::ostringstream oss; - oss << nUser << " UEs, distances (m) = [ " ; - for (std::vector::iterator it = m_dist.begin (); it != m_dist.end (); ++it) + oss << "distances (m) = [ " ; + for (std::vector::iterator it = dist.begin (); it != dist.end (); ++it) { oss << *it << " "; } oss << "]"; - SetName (oss.str ()); + return oss.str (); +} + + +LenaPfFfMacSchedulerTestCase2::LenaPfFfMacSchedulerTestCase2 (std::vector dist, std::vector estThrPfDl, std::vector estThrPfUl) + : TestCase (BuildNameString (dist.size (), dist)), + m_nUser (dist.size ()), + m_dist (dist), + m_estThrPfDl (estThrPfDl), + m_estThrPfUl (estThrPfUl) +{ } LenaPfFfMacSchedulerTestCase2::~LenaPfFfMacSchedulerTestCase2 () @@ -409,7 +420,6 @@ LenaPfFfMacSchedulerTestCase2::DoRun (void) * Initialize Simulation Scenario: 1 eNB and m_nUser UEs */ - SetVerbose (true); Ptr lena = CreateObject (); lena->SetAttribute ("PropagationModel", StringValue ("ns3::FriisSpectrumPropagationLossModel")); diff --git a/src/lte/test/lte-test-pf-ff-mac-scheduler.h b/src/lte/test/lte-test-pf-ff-mac-scheduler.h index c7f44d3fe..6dea9d18d 100644 --- a/src/lte/test/lte-test-pf-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-pf-ff-mac-scheduler.h @@ -15,7 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * Author: Marco Miozzo + * Author: Marco Miozzo , + * Nicola Baldo */ #ifndef LENA_TEST_PF_FF_MAC_SCHEDULER_H @@ -44,6 +45,7 @@ public: virtual ~LenaPfFfMacSchedulerTestCase1 (); private: + static std::string BuildNameString (uint16_t nUser, uint16_t dist); virtual void DoRun (void); uint16_t m_nUser; uint16_t m_nLc; @@ -56,10 +58,11 @@ private: class LenaPfFfMacSchedulerTestCase2 : public TestCase { public: - LenaPfFfMacSchedulerTestCase2 (uint16_t nUser, std::vector dist, std::vector estThrPfDl, std::vector estThrPfUl); + LenaPfFfMacSchedulerTestCase2 (std::vector dist, std::vector estThrPfDl, std::vector estThrPfUl); virtual ~LenaPfFfMacSchedulerTestCase2 (); private: + static std::string BuildNameString (uint16_t nUser, std::vector dist); virtual void DoRun (void); uint16_t m_nUser; std::vector m_dist; diff --git a/src/lte/test/lte-test-rr-ff-mac-scheduler.cc b/src/lte/test/lte-test-rr-ff-mac-scheduler.cc index afc36960d..83cf5d3f1 100644 --- a/src/lte/test/lte-test-rr-ff-mac-scheduler.cc +++ b/src/lte/test/lte-test-rr-ff-mac-scheduler.cc @@ -52,7 +52,6 @@ using namespace ns3; LenaTestRrFfMacSchedulerSuite::LenaTestRrFfMacSchedulerSuite () : TestSuite ("lte-rr-ff-mac-scheduler", SYSTEM) { - SetVerbose (true); NS_LOG_INFO ("creating LenaRrFfMacSchedulerTestCase"); @@ -167,17 +166,22 @@ LenaTestRrFfMacSchedulerSuite::LenaTestRrFfMacSchedulerSuite () static LenaTestRrFfMacSchedulerSuite lenaTestRrFfMacSchedulerSuite; +std::string +LenaRrFfMacSchedulerTestCase::BuildNameString (uint16_t nUser, uint16_t dist) +{ + std::ostringstream oss; + oss << nUser << " UEs, distance " << dist << " m"; + return oss.str (); +} + LenaRrFfMacSchedulerTestCase::LenaRrFfMacSchedulerTestCase (uint16_t nUser, uint16_t nLc, uint16_t dist, double thrRefDl, double thrRefUl) - : TestCase (""), + : TestCase (BuildNameString (nUser, dist)), m_nUser (nUser), m_nLc (nLc), m_dist (dist), m_thrRefDl (thrRefDl), m_thrRefUl (thrRefUl) { - std::ostringstream oss; - oss << nUser << " UEs, distance " << dist << " m" ; - SetName (oss.str ()); } LenaRrFfMacSchedulerTestCase::~LenaRrFfMacSchedulerTestCase () @@ -222,7 +226,6 @@ LenaRrFfMacSchedulerTestCase::DoRun (void) * Initialize Simulation Scenario: 1 eNB and m_nUser UEs */ - SetVerbose (true); Ptr lena = CreateObject (); diff --git a/src/lte/test/lte-test-rr-ff-mac-scheduler.h b/src/lte/test/lte-test-rr-ff-mac-scheduler.h index 0d597a842..e91ded6ac 100644 --- a/src/lte/test/lte-test-rr-ff-mac-scheduler.h +++ b/src/lte/test/lte-test-rr-ff-mac-scheduler.h @@ -45,6 +45,7 @@ public: private: virtual void DoRun (void); + static std::string BuildNameString (uint16_t nUser, uint16_t dist); uint16_t m_nUser; uint16_t m_nLc; uint16_t m_dist; diff --git a/src/lte/test/lte-test-spectrum-value-helper.cc b/src/lte/test/lte-test-spectrum-value-helper.cc index 98bdad091..139c40c48 100644 --- a/src/lte/test/lte-test-spectrum-value-helper.cc +++ b/src/lte/test/lte-test-spectrum-value-helper.cc @@ -96,7 +96,7 @@ void LteNoisePsdTestCase::DoRun (void) { NS_TEST_ASSERT_MSG_EQ (m_actual->GetSpectrumModelUid (), m_expected->GetSpectrumModelUid (), "SpectrumModel UID mismatch"); - NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL ((*m_actual), (*m_expected), 0.0000001, GetName ()); + NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL ((*m_actual), (*m_expected), 0.0000001, "SpectrumValue not equal"); } @@ -133,7 +133,7 @@ void LteTxPsdTestCase::DoRun (void) { NS_TEST_ASSERT_MSG_EQ (m_actual->GetSpectrumModelUid (), m_expected->GetSpectrumModelUid (), "SpectrumModel UID mismatch"); - NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL ((*m_actual), (*m_expected), 0.0000001, GetName ()); + NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL ((*m_actual), (*m_expected), 0.0000001, "SpectrumValues not equal"); } diff --git a/src/lte/test/lte-test-uplink-sinr.cc b/src/lte/test/lte-test-uplink-sinr.cc index dc12aaa5a..3e91eaaee 100644 --- a/src/lte/test/lte-test-uplink-sinr.cc +++ b/src/lte/test/lte-test-uplink-sinr.cc @@ -45,13 +45,6 @@ using namespace ns3; LteUplinkSinrTestSuite::LteUplinkSinrTestSuite () : TestSuite ("lte-uplink-sinr", SYSTEM) { - // LogLevel logLevel = (LogLevel)(LOG_PREFIX_FUNC | LOG_PREFIX_TIME | LOG_LEVEL_ALL); - - // LogComponentEnable ("LteTestUePhy", logLevel); - // LogComponentEnable ("LteUplinkSinrTest", logLevel); - - // NS_LOG_INFO ("Creating LteUplinkSinrTestSuite"); - /** * Build Spectrum Model values for the TX signal */ @@ -132,34 +125,6 @@ LteUplinkSinrTestCase::~LteUplinkSinrTestCase () void LteUplinkSinrTestCase::DoRun (void) { - LogLevel logLevel = (LogLevel)(LOG_PREFIX_FUNC | LOG_PREFIX_TIME | LOG_LEVEL_ALL); - - LogComponentEnable ("LteEnbRrc", logLevel); - LogComponentEnable ("LteUeRrc", logLevel); - LogComponentEnable ("LteEnbMac", logLevel); - LogComponentEnable ("LteUeMac", logLevel); - LogComponentEnable ("LteRlc", logLevel); - LogComponentEnable ("RrPacketScheduler", logLevel); - - LogComponentEnable ("LtePhy", logLevel); - LogComponentEnable ("LteEnbPhy", logLevel); - LogComponentEnable ("LteUePhy", logLevel); - - LogComponentEnable ("LteSpectrumPhy", logLevel); - LogComponentEnable ("LteInterference", logLevel); - LogComponentEnable ("LteSinrChunkProcessor", logLevel); - - LogComponentEnable ("LtePropagationLossModel", logLevel); - LogComponentEnable ("LossModel", logLevel); - LogComponentEnable ("ShadowingLossModel", logLevel); - LogComponentEnable ("PenetrationLossModel", logLevel); - LogComponentEnable ("MultipathLossModel", logLevel); - LogComponentEnable ("PathLossModel", logLevel); - - LogComponentEnable ("LteNetDevice", logLevel); - LogComponentEnable ("LteUeNetDevice", logLevel); - LogComponentEnable ("LteEnbNetDevice", logLevel); - /** * Instantiate a single receiving LteSpectrumPhy */ diff --git a/src/lte/wscript b/src/lte/wscript index c1d2ce133..0cdd2e79f 100644 --- a/src/lte/wscript +++ b/src/lte/wscript @@ -66,7 +66,7 @@ def build(bld): 'test/lte-test-pathloss-model.cc' ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'lte' headers.source = [ 'model/lte-common.h', diff --git a/src/mesh/bindings/modulegen__gcc_ILP32.py b/src/mesh/bindings/modulegen__gcc_ILP32.py index 71c75fba5..8fd2968e3 100644 --- a/src/mesh/bindings/modulegen__gcc_ILP32.py +++ b/src/mesh/bindings/modulegen__gcc_ILP32.py @@ -27,7 +27,7 @@ def register_types(module): ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration] module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT'], import_from_module='ns.wifi') ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration] - module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi') + module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi') ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration] module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2'], import_from_module='ns.wifi') ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration] @@ -44,8 +44,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## block-ack-manager.h (module 'wifi'): ns3::Bar [struct] module.add_class('Bar', import_from_module='ns.wifi') ## block-ack-agreement.h (module 'wifi'): ns3::BlockAckAgreement [class] @@ -135,7 +137,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## status-code.h (module 'wifi'): ns3::StatusCode [class] module.add_class('StatusCode', import_from_module='ns.wifi') ## tag.h (module 'network'): ns3::Tag [class] @@ -146,10 +148,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## wifi-helper.h (module 'wifi'): ns3::WifiHelper [class] module.add_class('WifiHelper', import_from_module='ns.wifi') ## wifi-helper.h (module 'wifi'): ns3::WifiMacHelper [class] @@ -216,6 +218,8 @@ def register_types(module): 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::TraceSourceAccessor', '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::WifiInformationElement', '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] @@ -228,6 +232,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader [class] @@ -530,7 +536,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Bar_methods(root_module, root_module['ns3::Bar']) register_Ns3BlockAckAgreement_methods(root_module, root_module['ns3::BlockAckAgreement']) register_Ns3BlockAckManager_methods(root_module, root_module['ns3::BlockAckManager']) @@ -573,8 +580,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) register_Ns3WifiMode_methods(root_module, root_module['ns3::WifiMode']) @@ -607,10 +614,12 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Dot11sDestinationAddressUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sDestinationAddressUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sIeBeaconTimingUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter >']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3WifiActionHeader_methods(root_module, root_module['ns3::WifiActionHeader']) register_Ns3WifiActionHeaderActionValue_methods(root_module, root_module['ns3::WifiActionHeader::ActionValue']) @@ -903,41 +912,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Bar_methods(root_module, cls): @@ -2299,10 +2310,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2329,6 +2340,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2343,10 +2356,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2988,23 +2997,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -3012,26 +3011,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -3062,14 +3046,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -3077,11 +3056,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -3106,22 +3080,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -3131,6 +3100,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -3145,35 +3118,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3WifiHelper_methods(root_module, cls): @@ -4299,6 +4275,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -4491,6 +4479,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4876,6 +4891,11 @@ def register_Ns3WifiMac_methods(root_module, cls): 'void', [param('ns3::Time', 'pifs')], is_pure_virtual=True, is_virtual=True) + ## wifi-mac.h (module 'wifi'): void ns3::WifiMac::SetPromisc() [member function] + cls.add_method('SetPromisc', + 'void', + [], + is_pure_virtual=True, is_virtual=True) ## wifi-mac.h (module 'wifi'): void ns3::WifiMac::SetSifs(ns3::Time sifs) [member function] cls.add_method('SetSifs', 'void', @@ -5352,11 +5372,11 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'double', [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h (module 'wifi'): ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) const [member function] + ## wifi-phy.h (module 'wifi'): static ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] cls.add_method('CalculateTxDuration', 'ns3::Time', [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_pure_virtual=True, is_const=True, is_virtual=True) + is_static=True) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] cls.add_method('ConfigureStandard', 'void', @@ -5577,6 +5597,26 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'ns3::WifiMode', [], is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPayloadDurationMicroSeconds(uint32_t size, ns3::WifiMode payloadMode) [member function] + cls.add_method('GetPayloadDurationMicroSeconds', + 'uint32_t', + [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPlcpHeaderDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpHeaderDurationMicroSeconds', + 'uint32_t', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static ns3::WifiMode ns3::WifiPhy::GetPlcpHeaderMode(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpHeaderMode', + 'ns3::WifiMode', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPlcpPreambleDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpPreambleDurationMicroSeconds', + 'uint32_t', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) ## wifi-phy.h (module 'wifi'): ns3::Time ns3::WifiPhy::GetStateDuration() [member function] cls.add_method('GetStateDuration', 'ns3::Time', @@ -5627,12 +5667,12 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'bool', [], is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyPromiscSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] - cls.add_method('NotifyPromiscSniffRx', + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] + cls.add_method('NotifyMonitorSniffRx', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('double', 'signalDbm'), param('double', 'noiseDbm')]) - ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyPromiscSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] - cls.add_method('NotifyPromiscSniffTx', + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] + cls.add_method('NotifyMonitorSniffTx', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble')]) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyRxBegin(ns3::Ptr packet) [member function] @@ -6023,6 +6063,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -7435,10 +7480,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -7453,11 +7506,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): @@ -7792,6 +7840,11 @@ def register_Ns3RegularWifiMac_methods(root_module, cls): 'ns3::Mac48Address', [], is_const=True, is_virtual=True) + ## regular-wifi-mac.h (module 'wifi'): void ns3::RegularWifiMac::SetPromisc() [member function] + cls.add_method('SetPromisc', + 'void', + [], + is_virtual=True) ## regular-wifi-mac.h (module 'wifi'): void ns3::RegularWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] cls.add_method('Enqueue', 'void', diff --git a/src/mesh/bindings/modulegen__gcc_LP64.py b/src/mesh/bindings/modulegen__gcc_LP64.py index e78e576be..74d2fd250 100644 --- a/src/mesh/bindings/modulegen__gcc_LP64.py +++ b/src/mesh/bindings/modulegen__gcc_LP64.py @@ -27,7 +27,7 @@ def register_types(module): ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration] module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT'], import_from_module='ns.wifi') ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration] - module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi') + module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH'], import_from_module='ns.wifi') ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration] module.add_enum('WifiCodeRate', ['WIFI_CODE_RATE_UNDEFINED', 'WIFI_CODE_RATE_3_4', 'WIFI_CODE_RATE_2_3', 'WIFI_CODE_RATE_1_2'], import_from_module='ns.wifi') ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration] @@ -44,8 +44,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## block-ack-manager.h (module 'wifi'): ns3::Bar [struct] module.add_class('Bar', import_from_module='ns.wifi') ## block-ack-agreement.h (module 'wifi'): ns3::BlockAckAgreement [class] @@ -135,7 +137,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## status-code.h (module 'wifi'): ns3::StatusCode [class] module.add_class('StatusCode', import_from_module='ns.wifi') ## tag.h (module 'network'): ns3::Tag [class] @@ -146,10 +148,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## wifi-helper.h (module 'wifi'): ns3::WifiHelper [class] module.add_class('WifiHelper', import_from_module='ns.wifi') ## wifi-helper.h (module 'wifi'): ns3::WifiMacHelper [class] @@ -216,6 +218,8 @@ def register_types(module): 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::TraceSourceAccessor', '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::WifiInformationElement', '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] @@ -228,6 +232,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader [class] @@ -530,7 +536,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Bar_methods(root_module, root_module['ns3::Bar']) register_Ns3BlockAckAgreement_methods(root_module, root_module['ns3::BlockAckAgreement']) register_Ns3BlockAckManager_methods(root_module, root_module['ns3::BlockAckManager']) @@ -573,8 +580,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) register_Ns3WifiMode_methods(root_module, root_module['ns3::WifiMode']) @@ -607,10 +614,12 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Dot11sDestinationAddressUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sDestinationAddressUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::DestinationAddressUnit, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3Dot11sIeBeaconTimingUnit_Ns3Empty_Ns3DefaultDeleter__lt__ns3Dot11sIeBeaconTimingUnit__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::dot11s::IeBeaconTimingUnit, ns3::empty, ns3::DefaultDeleter >']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3WifiActionHeader_methods(root_module, root_module['ns3::WifiActionHeader']) register_Ns3WifiActionHeaderActionValue_methods(root_module, root_module['ns3::WifiActionHeader::ActionValue']) @@ -903,41 +912,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Bar_methods(root_module, cls): @@ -2299,10 +2310,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2329,6 +2340,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2343,10 +2356,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2988,23 +2997,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -3012,26 +3011,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -3062,14 +3046,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -3077,11 +3056,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -3106,22 +3080,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -3131,6 +3100,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -3145,35 +3118,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3WifiHelper_methods(root_module, cls): @@ -4299,6 +4275,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -4491,6 +4479,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4876,6 +4891,11 @@ def register_Ns3WifiMac_methods(root_module, cls): 'void', [param('ns3::Time', 'pifs')], is_pure_virtual=True, is_virtual=True) + ## wifi-mac.h (module 'wifi'): void ns3::WifiMac::SetPromisc() [member function] + cls.add_method('SetPromisc', + 'void', + [], + is_pure_virtual=True, is_virtual=True) ## wifi-mac.h (module 'wifi'): void ns3::WifiMac::SetSifs(ns3::Time sifs) [member function] cls.add_method('SetSifs', 'void', @@ -5352,11 +5372,11 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'double', [param('ns3::WifiMode', 'txMode'), param('double', 'ber')], is_pure_virtual=True, is_const=True, is_virtual=True) - ## wifi-phy.h (module 'wifi'): ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) const [member function] + ## wifi-phy.h (module 'wifi'): static ns3::Time ns3::WifiPhy::CalculateTxDuration(uint32_t size, ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] cls.add_method('CalculateTxDuration', 'ns3::Time', [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], - is_pure_virtual=True, is_const=True, is_virtual=True) + is_static=True) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::ConfigureStandard(ns3::WifiPhyStandard standard) [member function] cls.add_method('ConfigureStandard', 'void', @@ -5577,6 +5597,26 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'ns3::WifiMode', [], is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPayloadDurationMicroSeconds(uint32_t size, ns3::WifiMode payloadMode) [member function] + cls.add_method('GetPayloadDurationMicroSeconds', + 'uint32_t', + [param('uint32_t', 'size'), param('ns3::WifiMode', 'payloadMode')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPlcpHeaderDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpHeaderDurationMicroSeconds', + 'uint32_t', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static ns3::WifiMode ns3::WifiPhy::GetPlcpHeaderMode(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpHeaderMode', + 'ns3::WifiMode', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) + ## wifi-phy.h (module 'wifi'): static uint32_t ns3::WifiPhy::GetPlcpPreambleDurationMicroSeconds(ns3::WifiMode payloadMode, ns3::WifiPreamble preamble) [member function] + cls.add_method('GetPlcpPreambleDurationMicroSeconds', + 'uint32_t', + [param('ns3::WifiMode', 'payloadMode'), param('ns3::WifiPreamble', 'preamble')], + is_static=True) ## wifi-phy.h (module 'wifi'): ns3::Time ns3::WifiPhy::GetStateDuration() [member function] cls.add_method('GetStateDuration', 'ns3::Time', @@ -5627,12 +5667,12 @@ def register_Ns3WifiPhy_methods(root_module, cls): 'bool', [], is_pure_virtual=True, is_virtual=True) - ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyPromiscSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] - cls.add_method('NotifyPromiscSniffRx', + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffRx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm) [member function] + cls.add_method('NotifyMonitorSniffRx', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble'), param('double', 'signalDbm'), param('double', 'noiseDbm')]) - ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyPromiscSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] - cls.add_method('NotifyPromiscSniffTx', + ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyMonitorSniffTx(ns3::Ptr packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble) [member function] + cls.add_method('NotifyMonitorSniffTx', 'void', [param('ns3::Ptr< ns3::Packet const >', 'packet'), param('uint16_t', 'channelFreqMhz'), param('uint16_t', 'channelNumber'), param('uint32_t', 'rate'), param('bool', 'isShortPreamble')]) ## wifi-phy.h (module 'wifi'): void ns3::WifiPhy::NotifyRxBegin(ns3::Ptr packet) [member function] @@ -6023,6 +6063,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -7435,10 +7480,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -7453,11 +7506,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): @@ -7792,6 +7840,11 @@ def register_Ns3RegularWifiMac_methods(root_module, cls): 'ns3::Mac48Address', [], is_const=True, is_virtual=True) + ## regular-wifi-mac.h (module 'wifi'): void ns3::RegularWifiMac::SetPromisc() [member function] + cls.add_method('SetPromisc', + 'void', + [], + is_virtual=True) ## regular-wifi-mac.h (module 'wifi'): void ns3::RegularWifiMac::Enqueue(ns3::Ptr packet, ns3::Mac48Address to, ns3::Mac48Address from) [member function] cls.add_method('Enqueue', 'void', diff --git a/src/mesh/examples/mesh.cc b/src/mesh/examples/mesh.cc index e28236f1b..993ae330c 100644 --- a/src/mesh/examples/mesh.cc +++ b/src/mesh/examples/mesh.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/helper/dot11s/dot11s-installer.cc b/src/mesh/helper/dot11s/dot11s-installer.cc index b82297fbc..80e0f98b7 100644 --- a/src/mesh/helper/dot11s/dot11s-installer.cc +++ b/src/mesh/helper/dot11s/dot11s-installer.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -122,4 +122,4 @@ Dot11sStack::ResetStats (const Ptr mp) NS_ASSERT (pmp != 0); pmp->ResetStats (); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/helper/dot11s/dot11s-installer.h b/src/mesh/helper/dot11s/dot11s-installer.h index 40ca87552..e24c1a6fe 100644 --- a/src/mesh/helper/dot11s/dot11s-installer.h +++ b/src/mesh/helper/dot11s/dot11s-installer.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -72,7 +72,7 @@ private: Mac48Address m_root; }; -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/helper/flame/flame-installer.cc b/src/mesh/helper/flame/flame-installer.cc index c7f09f97d..ec23cb06a 100644 --- a/src/mesh/helper/flame/flame-installer.cc +++ b/src/mesh/helper/flame/flame-installer.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -70,4 +70,4 @@ FlameStack::ResetStats (const Ptr mp) flame->ResetStats (); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/helper/flame/flame-installer.h b/src/mesh/helper/flame/flame-installer.h index 1cb29731b..f962033fe 100644 --- a/src/mesh/helper/flame/flame-installer.h +++ b/src/mesh/helper/flame/flame-installer.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -18,8 +18,8 @@ * Authors: Kirill Andreev */ -#ifndef FLAME_STACK_INSTALLER_H -#define FLAME_STACK_INSTALLER_H +#ifndef FLAME_INSTALLER_H +#define FLAME_INSTALLER_H #include "ns3/mesh-stack-installer.h" @@ -73,7 +73,7 @@ public: void ResetStats (const Ptr mp); }; -} //namespace ns3 +} // namespace ns3 -#endif // FLAME_STACK_INSTALLER_H +#endif /* FLAME_INSTALLER_H */ diff --git a/src/mesh/helper/mesh-helper.cc b/src/mesh/helper/mesh-helper.cc index 261d2d509..b4fded099 100644 --- a/src/mesh/helper/mesh-helper.cc +++ b/src/mesh/helper/mesh-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -207,5 +207,5 @@ MeshHelper::ResetStats (const ns3::Ptr& device) NS_ASSERT (mp != 0); m_stack->ResetStats (mp); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/helper/mesh-helper.h b/src/mesh/helper/mesh-helper.h index ced5ab084..50e0ecfd7 100644 --- a/src/mesh/helper/mesh-helper.h +++ b/src/mesh/helper/mesh-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -207,7 +207,7 @@ private: enum WifiPhyStandard m_standard; ///\} }; -} //namespace ns3 +} // namespace ns3 #endif /* MESH_HELPER_H */ diff --git a/src/mesh/helper/mesh-stack-installer.h b/src/mesh/helper/mesh-stack-installer.h index 112067983..d4093717f 100644 --- a/src/mesh/helper/mesh-stack-installer.h +++ b/src/mesh/helper/mesh-stack-installer.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/airtime-metric.cc b/src/mesh/model/dot11s/airtime-metric.cc index 747622223..d112e9437 100644 --- a/src/mesh/model/dot11s/airtime-metric.cc +++ b/src/mesh/model/dot11s/airtime-metric.cc @@ -102,5 +102,5 @@ AirtimeLinkMetricCalculator::CalculateMetric (Mac48Address peerAddress, Ptr m_testFrame; WifiMacHeader m_testHeader; }; -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/dot11s-mac-header.cc b/src/mesh/model/dot11s/dot11s-mac-header.cc index df225bbf2..825d13e40 100644 --- a/src/mesh/model/dot11s/dot11s-mac-header.cc +++ b/src/mesh/model/dot11s/dot11s-mac-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -174,5 +174,5 @@ operator== (const MeshHeader & a, const MeshHeader & b) && (a.m_meshSeqno == b.m_meshSeqno) && (a.m_addr4 == b.m_addr4) && (a.m_addr5 == b.m_addr5) && (a.m_addr6 == b.m_addr6)); } -} //namespace dot11s +} // namespace dot11s } // namespace ns3 diff --git a/src/mesh/model/dot11s/dot11s-mac-header.h b/src/mesh/model/dot11s/dot11s-mac-header.h index 9c9817728..710ed45a7 100644 --- a/src/mesh/model/dot11s/dot11s-mac-header.h +++ b/src/mesh/model/dot11s/dot11s-mac-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -73,6 +73,6 @@ private: }; bool operator== (const MeshHeader & a, const MeshHeader & b); -} //namespace dot11s +} // namespace dot11s } // namespace ns3 #endif /* MESH_WIFI_MAC_HEADER_H */ diff --git a/src/mesh/model/dot11s/hwmp-protocol-mac.cc b/src/mesh/model/dot11s/hwmp-protocol-mac.cc index 22b043270..a4d140d10 100644 --- a/src/mesh/model/dot11s/hwmp-protocol-mac.cc +++ b/src/mesh/model/dot11s/hwmp-protocol-mac.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -476,5 +476,5 @@ HwmpProtocolMac::ResetStats () m_stats = Statistics (); } -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 diff --git a/src/mesh/model/dot11s/hwmp-protocol-mac.h b/src/mesh/model/dot11s/hwmp-protocol-mac.h index 2de2519d4..3cb85f9e8 100644 --- a/src/mesh/model/dot11s/hwmp-protocol-mac.h +++ b/src/mesh/model/dot11s/hwmp-protocol-mac.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -135,6 +135,6 @@ private: /// Receive action management frame bool ReceiveAction (Ptr packet, const WifiMacHeader & header); }; -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/hwmp-protocol.cc b/src/mesh/model/dot11s/hwmp-protocol.cc index c889262c4..9a5659974 100644 --- a/src/mesh/model/dot11s/hwmp-protocol.cc +++ b/src/mesh/model/dot11s/hwmp-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -1168,5 +1168,5 @@ HwmpProtocol::QueuedPacket::QueuedPacket () : inInterface (0) { } -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 diff --git a/src/mesh/model/dot11s/hwmp-protocol.h b/src/mesh/model/dot11s/hwmp-protocol.h index 4535a1ef2..a234d9e2e 100644 --- a/src/mesh/model/dot11s/hwmp-protocol.h +++ b/src/mesh/model/dot11s/hwmp-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -269,6 +269,6 @@ private: ///\} Callback , uint32_t> m_neighboursCallback; }; -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/hwmp-rtable.cc b/src/mesh/model/dot11s/hwmp-rtable.cc index 330397c70..e02cfda0b 100644 --- a/src/mesh/model/dot11s/hwmp-rtable.cc +++ b/src/mesh/model/dot11s/hwmp-rtable.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -239,5 +239,5 @@ HwmpRtable::LookupResult::IsValid () const return !(retransmitter == Mac48Address::GetBroadcast () && ifIndex == INTERFACE_ANY && metric == MAX_METRIC && seqnum == 0); } -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 diff --git a/src/mesh/model/dot11s/hwmp-rtable.h b/src/mesh/model/dot11s/hwmp-rtable.h index daf7ccd84..26b80ffbf 100644 --- a/src/mesh/model/dot11s/hwmp-rtable.h +++ b/src/mesh/model/dot11s/hwmp-rtable.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -141,6 +141,6 @@ private: /// Path to proactive tree root MP ProactiveRoute m_root; }; -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/hwmp-tag.cc b/src/mesh/model/dot11s/hwmp-tag.cc index 737f63fb4..88fe7fd06 100644 --- a/src/mesh/model/dot11s/hwmp-tag.cc +++ b/src/mesh/model/dot11s/hwmp-tag.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -147,5 +147,5 @@ HwmpTag::DecrementTtl () { m_ttl--; } -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 diff --git a/src/mesh/model/dot11s/hwmp-tag.h b/src/mesh/model/dot11s/hwmp-tag.h index c638cc8cc..a969297ba 100644 --- a/src/mesh/model/dot11s/hwmp-tag.h +++ b/src/mesh/model/dot11s/hwmp-tag.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -72,6 +72,6 @@ private: uint32_t m_metric; uint32_t m_seqno; }; -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc b/src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc index fabfb4490..54fb803aa 100644 --- a/src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc +++ b/src/mesh/model/dot11s/ie-dot11s-beacon-timing.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -219,5 +219,5 @@ operator << (std::ostream &os, const IeBeaconTiming &a) return os; } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/ie-dot11s-beacon-timing.h b/src/mesh/model/dot11s/ie-dot11s-beacon-timing.h index 43a3f4905..0f5ed303f 100644 --- a/src/mesh/model/dot11s/ie-dot11s-beacon-timing.h +++ b/src/mesh/model/dot11s/ie-dot11s-beacon-timing.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -111,5 +111,5 @@ private: bool operator== (const IeBeaconTimingUnit & a, const IeBeaconTimingUnit & b); std::ostream &operator << (std::ostream &os, const IeBeaconTiming &beaconTiming); } // namespace dot11s -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/ie-dot11s-configuration.cc b/src/mesh/model/dot11s/ie-dot11s-configuration.cc index ccb96b0d8..fddfd5ecf 100644 --- a/src/mesh/model/dot11s/ie-dot11s-configuration.cc +++ b/src/mesh/model/dot11s/ie-dot11s-configuration.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -224,5 +224,5 @@ operator << (std::ostream &os, const IeConfiguration &a) return os; } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/ie-dot11s-configuration.h b/src/mesh/model/dot11s/ie-dot11s-configuration.h index d14e92701..8b532884f 100644 --- a/src/mesh/model/dot11s/ie-dot11s-configuration.h +++ b/src/mesh/model/dot11s/ie-dot11s-configuration.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -138,5 +138,5 @@ bool operator== (const IeConfiguration & a, const IeConfiguration & b); bool operator== (const Dot11sMeshCapability & a, const Dot11sMeshCapability & b); std::ostream &operator << (std::ostream &os, const IeConfiguration &config); } // namespace dot11s -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/ie-dot11s-id.cc b/src/mesh/model/dot11s/ie-dot11s-id.cc index 1c350884d..67bd4faaa 100644 --- a/src/mesh/model/dot11s/ie-dot11s-id.cc +++ b/src/mesh/model/dot11s/ie-dot11s-id.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -154,5 +154,5 @@ std::istream &operator >> (std::istream &is, IeMeshId &a) ATTRIBUTE_HELPER_CPP (IeMeshId); -} //namespace dot11s +} // namespace dot11s } // namespace ns3 diff --git a/src/mesh/model/dot11s/ie-dot11s-id.h b/src/mesh/model/dot11s/ie-dot11s-id.h index 48c591e24..fa9ccdc76 100644 --- a/src/mesh/model/dot11s/ie-dot11s-id.h +++ b/src/mesh/model/dot11s/ie-dot11s-id.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -66,6 +66,6 @@ std::ostream &operator << (std::ostream &os, const IeMeshId &meshId); */ ATTRIBUTE_HELPER_HEADER (IeMeshId); -} //namespace dot11s +} // namespace dot11s } // namespace ns3 #endif /* MESH_ID_H */ diff --git a/src/mesh/model/dot11s/ie-dot11s-metric-report.cc b/src/mesh/model/dot11s/ie-dot11s-metric-report.cc index 60ae77f63..2632a0115 100644 --- a/src/mesh/model/dot11s/ie-dot11s-metric-report.cc +++ b/src/mesh/model/dot11s/ie-dot11s-metric-report.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -91,5 +91,5 @@ operator << (std::ostream &os, const IeLinkMetricReport &a) a.Print (os); return os; } -} //namespace dot11s +} // namespace dot11s } // namespace ns3 diff --git a/src/mesh/model/dot11s/ie-dot11s-metric-report.h b/src/mesh/model/dot11s/ie-dot11s-metric-report.h index add78f858..90a77be5a 100644 --- a/src/mesh/model/dot11s/ie-dot11s-metric-report.h +++ b/src/mesh/model/dot11s/ie-dot11s-metric-report.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -59,6 +59,6 @@ bool operator== (const IeLinkMetricReport & a, const IeLinkMetricReport & b); bool operator> (const IeLinkMetricReport & a, const IeLinkMetricReport & b); bool operator< (const IeLinkMetricReport & a, const IeLinkMetricReport & b); std::ostream &operator << (std::ostream &os, const IeLinkMetricReport &linkMetricReport); -} //namespace dot11s +} // namespace dot11s } // namespace ns3 #endif /* METRIC_REPORT_H */ diff --git a/src/mesh/model/dot11s/ie-dot11s-peer-management.cc b/src/mesh/model/dot11s/ie-dot11s-peer-management.cc index f7c2b15e7..3d472c515 100644 --- a/src/mesh/model/dot11s/ie-dot11s-peer-management.cc +++ b/src/mesh/model/dot11s/ie-dot11s-peer-management.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -172,5 +172,5 @@ operator << (std::ostream &os, const IePeerManagement &a) return os; } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/ie-dot11s-peer-management.h b/src/mesh/model/dot11s/ie-dot11s-peer-management.h index a97c66f5b..ad048e73e 100644 --- a/src/mesh/model/dot11s/ie-dot11s-peer-management.h +++ b/src/mesh/model/dot11s/ie-dot11s-peer-management.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -19,8 +19,8 @@ * Aleksey Kovalenko */ -#ifndef MESH_PEER_MAN_ELEMENT -#define MESH_PEER_MAN_ELEMENT +#ifndef IE_DOT11S_PEER_MANAGEMENT_H +#define IE_DOT11S_PEER_MANAGEMENT_H #include "ns3/mesh-information-element-vector.h" @@ -97,5 +97,6 @@ private: bool operator== (const IePeerManagement & a, const IePeerManagement & b); std::ostream &operator << (std::ostream &os, const IePeerManagement &peerMan); } // namespace dot11s -} //namespace ns3 -#endif +} // namespace ns3 + +#endif /* IE_DOT11S_PEER_MANAGEMENT_H */ diff --git a/src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc b/src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc index 294b47138..fae240306 100644 --- a/src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc +++ b/src/mesh/model/dot11s/ie-dot11s-peering-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -61,5 +61,5 @@ operator << (std::ostream &os, const IePeeringProtocol &a) return os; } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/ie-dot11s-peering-protocol.h b/src/mesh/model/dot11s/ie-dot11s-peering-protocol.h index 614ccd3b1..b08972c55 100644 --- a/src/mesh/model/dot11s/ie-dot11s-peering-protocol.h +++ b/src/mesh/model/dot11s/ie-dot11s-peering-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -45,5 +45,5 @@ private: uint8_t m_protocol; }; } // namespace dot11s -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/ie-dot11s-perr.cc b/src/mesh/model/dot11s/ie-dot11s-perr.cc index 4c8933e83..e04f8c3cd 100644 --- a/src/mesh/model/dot11s/ie-dot11s-perr.cc +++ b/src/mesh/model/dot11s/ie-dot11s-perr.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -160,6 +160,6 @@ operator << (std::ostream & os, const IePerr & a) return os; } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/ie-dot11s-perr.h b/src/mesh/model/dot11s/ie-dot11s-perr.h index 063ea956f..c9c974aa4 100644 --- a/src/mesh/model/dot11s/ie-dot11s-perr.h +++ b/src/mesh/model/dot11s/ie-dot11s-perr.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -59,5 +59,5 @@ private: bool operator== (const IePerr & a, const IePerr & b); std::ostream &operator << (std::ostream &os, const IePerr &perr); } // namespace dot11s -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/ie-dot11s-prep.cc b/src/mesh/model/dot11s/ie-dot11s-prep.cc index 93bed2292..e0fc34a4d 100644 --- a/src/mesh/model/dot11s/ie-dot11s-prep.cc +++ b/src/mesh/model/dot11s/ie-dot11s-prep.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -211,5 +211,5 @@ operator << (std::ostream &os, const IePrep &a) return os; } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/ie-dot11s-prep.h b/src/mesh/model/dot11s/ie-dot11s-prep.h index e17d29b12..44c7cbfbc 100644 --- a/src/mesh/model/dot11s/ie-dot11s-prep.h +++ b/src/mesh/model/dot11s/ie-dot11s-prep.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -82,6 +82,6 @@ private: bool operator== (const IePrep & a, const IePrep & b); std::ostream &operator << (std::ostream &os, const IePrep &prep); } // namespace dot11s -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/ie-dot11s-preq.cc b/src/mesh/model/dot11s/ie-dot11s-preq.cc index ea2ae24c2..0f32ee58d 100644 --- a/src/mesh/model/dot11s/ie-dot11s-preq.cc +++ b/src/mesh/model/dot11s/ie-dot11s-preq.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -441,5 +441,5 @@ operator << (std::ostream &os, const IePreq &a) return os; } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/ie-dot11s-preq.h b/src/mesh/model/dot11s/ie-dot11s-preq.h index f7aa524dd..dbbc705f1 100644 --- a/src/mesh/model/dot11s/ie-dot11s-preq.h +++ b/src/mesh/model/dot11s/ie-dot11s-preq.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -155,6 +155,6 @@ bool operator== (const IePreq & a, const IePreq & b); std::ostream &operator << (std::ostream &os, const IePreq &preq); } // namespace dot11s -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/ie-dot11s-rann.cc b/src/mesh/model/dot11s/ie-dot11s-rann.cc index 7da66bb50..5050f9f0f 100644 --- a/src/mesh/model/dot11s/ie-dot11s-rann.cc +++ b/src/mesh/model/dot11s/ie-dot11s-rann.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/dot11s/ie-dot11s-rann.h b/src/mesh/model/dot11s/ie-dot11s-rann.h index 2ec7bdba2..b16744ff4 100644 --- a/src/mesh/model/dot11s/ie-dot11s-rann.h +++ b/src/mesh/model/dot11s/ie-dot11s-rann.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -73,6 +73,6 @@ private: bool operator== (const IeRann & a, const IeRann & b); std::ostream &operator << (std::ostream &os, const IeRann &rann); } // namespace dot11s -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/peer-link-frame.cc b/src/mesh/model/dot11s/peer-link-frame.cc index cf9e70709..a1e3bdf14 100644 --- a/src/mesh/model/dot11s/peer-link-frame.cc +++ b/src/mesh/model/dot11s/peer-link-frame.cc @@ -232,5 +232,5 @@ operator== (const PeerLinkFrameStart & a, const PeerLinkFrameStart & b) && (a.m_reasonCode == b.m_reasonCode)); } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/peer-link-frame.h b/src/mesh/model/dot11s/peer-link-frame.h index f94c32769..2cff59ad9 100644 --- a/src/mesh/model/dot11s/peer-link-frame.h +++ b/src/mesh/model/dot11s/peer-link-frame.h @@ -92,6 +92,6 @@ private: }; bool operator== (const PeerLinkFrameStart & a, const PeerLinkFrameStart & b); -} //namespace dot11s -} //namespace ns3 +} // namespace dot11s +} // namespace ns3 #endif diff --git a/src/mesh/model/dot11s/peer-link.cc b/src/mesh/model/dot11s/peer-link.cc index 6e3d6d043..6257dcbbe 100644 --- a/src/mesh/model/dot11s/peer-link.cc +++ b/src/mesh/model/dot11s/peer-link.cc @@ -702,5 +702,5 @@ PeerLink::Report (std::ostream & os) const "/>" << std::endl; } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/peer-link.h b/src/mesh/model/dot11s/peer-link.h index c33267705..c12a0adb4 100644 --- a/src/mesh/model/dot11s/peer-link.h +++ b/src/mesh/model/dot11s/peer-link.h @@ -19,8 +19,8 @@ * Aleksey Kovalenko */ -#ifndef PEERLLINK_H_ -#define PEERLLINK_H_ +#ifndef PEER_LINK_H +#define PEER_LINK_H #include "ns3/nstime.h" #include "ns3/object.h" @@ -30,8 +30,10 @@ #include "ns3/ie-dot11s-beacon-timing.h" #include "ns3/ie-dot11s-peer-management.h" #include "ns3/ie-dot11s-configuration.h" + namespace ns3 { namespace dot11s { + class PeerManagementProtocolMac; /** * \ingroup dot11s @@ -257,5 +259,6 @@ private: }; } // namespace dot11s -} //namespace ns3 -#endif /* PEERLLINK_H_ */ +} // namespace ns3 + +#endif /* PEER_LINK_H */ diff --git a/src/mesh/model/dot11s/peer-management-protocol-mac.cc b/src/mesh/model/dot11s/peer-management-protocol-mac.cc index 135f04d9f..d3a541703 100644 --- a/src/mesh/model/dot11s/peer-management-protocol-mac.cc +++ b/src/mesh/model/dot11s/peer-management-protocol-mac.cc @@ -317,5 +317,5 @@ PeerManagementProtocolMac::GetLinkMetric (Mac48Address peerAddress) return m_parent->GetLinkMetric (peerAddress); } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/peer-management-protocol-mac.h b/src/mesh/model/dot11s/peer-management-protocol-mac.h index 319afe385..a8f6f557d 100644 --- a/src/mesh/model/dot11s/peer-management-protocol-mac.h +++ b/src/mesh/model/dot11s/peer-management-protocol-mac.h @@ -18,8 +18,8 @@ * Author: Kirill Andreev */ -#ifndef PEER_MANAGER_MAC_PLUGIN_H_ -#define PEER_MANAGER_MAC_PLUGIN_H_ +#ifndef PEER_MANAGEMENT_PROTOCOL_MAC_H +#define PEER_MANAGEMENT_PROTOCOL_MAC_H #include "ns3/mesh-wifi-interface-mac-plugin.h" @@ -130,6 +130,7 @@ private: }; } // namespace dot11s -} //namespace ns3 -#endif +} // namespace ns3 + +#endif /* PEER_MANAGEMENT_PROTOCOL_MAC_H */ diff --git a/src/mesh/model/dot11s/peer-management-protocol.cc b/src/mesh/model/dot11s/peer-management-protocol.cc index a3eab778f..e91e6275b 100644 --- a/src/mesh/model/dot11s/peer-management-protocol.cc +++ b/src/mesh/model/dot11s/peer-management-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -576,5 +576,5 @@ PeerManagementProtocol::GetBeaconCollisionAvoidance () const return m_enableBca; } } // namespace dot11s -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/dot11s/peer-management-protocol.h b/src/mesh/model/dot11s/peer-management-protocol.h index 7dd835d63..08983bcb3 100644 --- a/src/mesh/model/dot11s/peer-management-protocol.h +++ b/src/mesh/model/dot11s/peer-management-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -262,5 +262,5 @@ private: }; } // namespace dot11s -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/flame/flame-header.cc b/src/mesh/model/flame/flame-header.cc index 346e18be7..af7b48637 100644 --- a/src/mesh/model/flame/flame-header.cc +++ b/src/mesh/model/flame/flame-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -145,5 +145,5 @@ operator== (const FlameHeader & a, const FlameHeader & b) == b.m_origSrc) && (a.m_protocol == b.m_protocol)); } -} //namespace flame +} // namespace flame } // namespace ns3 diff --git a/src/mesh/model/flame/flame-header.h b/src/mesh/model/flame/flame-header.h index 8879ea2b3..b91e48458 100644 --- a/src/mesh/model/flame/flame-header.h +++ b/src/mesh/model/flame/flame-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -75,6 +75,6 @@ private: friend bool operator== (const FlameHeader & a, const FlameHeader & b); }; bool operator== (const FlameHeader & a, const FlameHeader & b); -} //namespace flame -} //namespace ns3 +} // namespace flame +} // namespace ns3 #endif /* FLAME_HEADER_H */ diff --git a/src/mesh/model/flame/flame-protocol-mac.cc b/src/mesh/model/flame/flame-protocol-mac.cc index 009f8c558..810661035 100644 --- a/src/mesh/model/flame/flame-protocol-mac.cc +++ b/src/mesh/model/flame/flame-protocol-mac.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -126,5 +126,5 @@ FlameProtocolMac::ResetStats () m_stats = Statistics (); } -} //namespace flame -} //namespace ns3 +} // namespace flame +} // namespace ns3 diff --git a/src/mesh/model/flame/flame-protocol-mac.h b/src/mesh/model/flame/flame-protocol-mac.h index 63de914fd..8c9d81c93 100644 --- a/src/mesh/model/flame/flame-protocol-mac.h +++ b/src/mesh/model/flame/flame-protocol-mac.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -75,6 +75,6 @@ private: ///\} }; -} //namespace flame -} //namespace ns3 +} // namespace flame +} // namespace ns3 #endif /* FLAME_PROTOCOL_MAC_H */ diff --git a/src/mesh/model/flame/flame-protocol.cc b/src/mesh/model/flame/flame-protocol.cc index 83f511250..e900a1973 100644 --- a/src/mesh/model/flame/flame-protocol.cc +++ b/src/mesh/model/flame/flame-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -383,5 +383,5 @@ FlameProtocol::ResetStats () } } -} //namespace flame -} //namespace ns3 +} // namespace flame +} // namespace ns3 diff --git a/src/mesh/model/flame/flame-protocol.h b/src/mesh/model/flame/flame-protocol.h index cbfacbaf7..285a51d50 100644 --- a/src/mesh/model/flame/flame-protocol.h +++ b/src/mesh/model/flame/flame-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -153,6 +153,6 @@ private: ///\} }; -} //namespace flame -} //namespace ns3 +} // namespace flame +} // namespace ns3 #endif /* FLAME_PROTOCOL_H */ diff --git a/src/mesh/model/flame/flame-rtable.cc b/src/mesh/model/flame/flame-rtable.cc index a4b01c9ad..92d585d92 100644 --- a/src/mesh/model/flame/flame-rtable.cc +++ b/src/mesh/model/flame/flame-rtable.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -109,5 +109,5 @@ FlameRtable::LookupResult::IsValid () const && seqnum == 0); } -} //namespace flame -} //namespace ns3 +} // namespace flame +} // namespace ns3 diff --git a/src/mesh/model/flame/flame-rtable.h b/src/mesh/model/flame/flame-rtable.h index 5c1378bb4..8f44de9f8 100644 --- a/src/mesh/model/flame/flame-rtable.h +++ b/src/mesh/model/flame/flame-rtable.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * @@ -101,6 +101,6 @@ private: std::map m_routes; }; -} //namespace flame -} //namespace ns3 +} // namespace flame +} // namespace ns3 #endif /* FLAME_PROTOCOL_H */ diff --git a/src/mesh/model/mesh-information-element-vector.cc b/src/mesh/model/mesh-information-element-vector.cc index b0eb53704..f89c767c8 100644 --- a/src/mesh/model/mesh-information-element-vector.cc +++ b/src/mesh/model/mesh-information-element-vector.cc @@ -92,4 +92,4 @@ MeshInformationElementVector::DeserializeSingleIe (Buffer::Iterator start) } -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/model/mesh-l2-routing-protocol.cc b/src/mesh/model/mesh-l2-routing-protocol.cc index 176ea222c..953a49c3a 100644 --- a/src/mesh/model/mesh-l2-routing-protocol.cc +++ b/src/mesh/model/mesh-l2-routing-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/mesh-l2-routing-protocol.h b/src/mesh/model/mesh-l2-routing-protocol.h index 1a9a81be4..bbd9ec43d 100644 --- a/src/mesh/model/mesh-l2-routing-protocol.h +++ b/src/mesh/model/mesh-l2-routing-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -122,5 +122,5 @@ protected: /// Host mesh point Ptr m_mp; }; -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/mesh-point-device.cc b/src/mesh/model/mesh-point-device.cc index d503eabc1..2628d2725 100644 --- a/src/mesh/model/mesh-point-device.cc +++ b/src/mesh/model/mesh-point-device.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * diff --git a/src/mesh/model/mesh-point-device.h b/src/mesh/model/mesh-point-device.h index 4509622cf..6fcb988f8 100644 --- a/src/mesh/model/mesh-point-device.h +++ b/src/mesh/model/mesh-point-device.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008,2009 IITP RAS * @@ -181,5 +181,5 @@ private: Statistics m_rxStats, m_txStats, m_fwdStats; ///\} }; -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/mesh/model/mesh-wifi-beacon.h b/src/mesh/model/mesh-wifi-beacon.h index 9f0d983a6..4f6265581 100644 --- a/src/mesh/model/mesh-wifi-beacon.h +++ b/src/mesh/model/mesh-wifi-beacon.h @@ -18,8 +18,8 @@ * Author: Pavel Boyko */ -#ifndef MESHWIFIBEACON_H_ -#define MESHWIFIBEACON_H_ +#ifndef MESH_WIFI_BEACON_H +#define MESH_WIFI_BEACON_H #include "ns3/object.h" #include "ns3/packet.h" @@ -72,5 +72,4 @@ private: } - -#endif /* MESHWIFIBEACON_H_ */ +#endif /* MESH_WIFI_BEACON_H */ diff --git a/src/mesh/model/mesh-wifi-interface-mac-plugin.h b/src/mesh/model/mesh-wifi-interface-mac-plugin.h index 1070e15e6..f51bb552f 100644 --- a/src/mesh/model/mesh-wifi-interface-mac-plugin.h +++ b/src/mesh/model/mesh-wifi-interface-mac-plugin.h @@ -18,8 +18,8 @@ * Author: Pavel Boyko */ -#ifndef MESHWIFIINTERFACEMACPLUGIN_H_ -#define MESHWIFIINTERFACEMACPLUGIN_H_ +#ifndef MESH_WIFI_INTERFACE_MAC_PLUGIN_H +#define MESH_WIFI_INTERFACE_MAC_PLUGIN_H #include "ns3/wifi-mac-header.h" #include "ns3/packet.h" @@ -68,4 +68,5 @@ public: }; } // namespace ns3 -#endif /* MESHWIFIINTERFACEMACPLUGIN_H_ */ + +#endif /* MESH_WIFI_INTERFACE_MAC_PLUGIN_H */ diff --git a/src/mesh/model/mesh-wifi-interface-mac.h b/src/mesh/model/mesh-wifi-interface-mac.h index 500d5b7c8..cbfad3586 100644 --- a/src/mesh/model/mesh-wifi-interface-mac.h +++ b/src/mesh/model/mesh-wifi-interface-mac.h @@ -19,8 +19,8 @@ * Pavel Boyko */ -#ifndef MESHWIFIINTERFACEMAC_H_ -#define MESHWIFIINTERFACEMAC_H_ +#ifndef MESH_WIFI_INTERFACE_MAC_H +#define MESH_WIFI_INTERFACE_MAC_H #include #include @@ -34,6 +34,7 @@ #include "ns3/mesh-wifi-interface-mac-plugin.h" #include "ns3/event-id.h" #include "qos-utils.h" + namespace ns3 { class WifiMacHeader; @@ -189,4 +190,4 @@ private: } // namespace ns3 -#endif /* MESHWIFIINTERFACEMAC_H_ */ +#endif /* MESH_WIFI_INTERFACE_MAC_H */ diff --git a/src/mesh/test/dot11s/hwmp-proactive-regression.cc b/src/mesh/test/dot11s/hwmp-proactive-regression.cc index af1302f0d..b98ea3d50 100644 --- a/src/mesh/test/dot11s/hwmp-proactive-regression.cc +++ b/src/mesh/test/dot11s/hwmp-proactive-regression.cc @@ -32,13 +32,12 @@ #include "ns3/abort.h" #include "ns3/udp-echo-helper.h" #include "ns3/mobility-model.h" +#include "ns3/pcap-test.h" #include #include "hwmp-proactive-regression.h" using namespace ns3; -/// Set to true to rewrite reference traces, leave false to run regression test -const bool WRITE_VECTORS = false; /// Unique PCAP file name prefix const char * const PREFIX = "hwmp-proactive-regression-test"; @@ -65,7 +64,7 @@ HwmpProactiveRegressionTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); delete m_nodes, m_nodes = 0; } @@ -122,8 +121,7 @@ HwmpProactiveRegressionTest::CreateDevices () address.SetBase ("10.1.1.0", "255.255.255.0"); m_interfaces = address.Assign (meshDevices); // 4. write PCAP if needed - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : std::string (GetTempDir ())) + PREFIX; - wifiPhy.EnablePcapAll (prefix); + wifiPhy.EnablePcapAll (CreateTempDirFilename (PREFIX)); } void @@ -131,15 +129,7 @@ HwmpProactiveRegressionTest::CheckResults () { for (int i = 0; i < 5; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << PREFIX << "-" << i << "-1.pcap"; - os2 << GetTempDir () << PREFIX << "-" << i << "-1.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); // TODO support default PcapWriter snap length here - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (PREFIX << "-" << i << "-1.pcap"); } } diff --git a/src/mesh/test/dot11s/hwmp-reactive-regression.cc b/src/mesh/test/dot11s/hwmp-reactive-regression.cc index 0e8190e4b..1c6ced3ac 100644 --- a/src/mesh/test/dot11s/hwmp-reactive-regression.cc +++ b/src/mesh/test/dot11s/hwmp-reactive-regression.cc @@ -31,12 +31,11 @@ #include "ns3/abort.h" #include "ns3/udp-echo-helper.h" #include "ns3/mobility-model.h" +#include "ns3/pcap-test.h" #include #include "hwmp-reactive-regression.h" -/// Set to true to rewrite reference traces, leave false to run regression test -const bool WRITE_VECTORS = false; /// Unique PCAP file name prefix const char * const PREFIX = "hwmp-reactive-regression-test"; @@ -61,7 +60,7 @@ HwmpReactiveRegressionTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); delete m_nodes, m_nodes = 0; } void @@ -119,9 +118,7 @@ HwmpReactiveRegressionTest::CreateDevices () address.SetBase ("10.1.1.0", "255.255.255.0"); m_interfaces = address.Assign (meshDevices); // 4. write PCAP if needed - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : std::string (GetTempDir ())) + PREFIX; - wifiPhy.EnablePcapAll (prefix); - + wifiPhy.EnablePcapAll (CreateTempDirFilename (PREFIX)); } void @@ -129,15 +126,7 @@ HwmpReactiveRegressionTest::CheckResults () { for (int i = 0; i < 6; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << PREFIX << "-" << i << "-1.pcap"; - os2 << GetTempDir () << PREFIX << "-" << i << "-1.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); // TODO support default PcapWriter snap length here - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (PREFIX << "-" << i << "-1.pcap"); } } diff --git a/src/mesh/test/dot11s/hwmp-simplest-regression.cc b/src/mesh/test/dot11s/hwmp-simplest-regression.cc index 411ad5a6e..59c6c9fe5 100644 --- a/src/mesh/test/dot11s/hwmp-simplest-regression.cc +++ b/src/mesh/test/dot11s/hwmp-simplest-regression.cc @@ -31,13 +31,12 @@ #include "ns3/abort.h" #include "ns3/udp-echo-helper.h" #include "ns3/mobility-model.h" +#include "ns3/pcap-test.h" #include #include "hwmp-simplest-regression.h" using namespace ns3; -/// Set to true to rewrite reference traces, leave false to run regression test -const bool WRITE_VECTORS = false; /// Unique PCAP file name prefix const char * const PREFIX = "hwmp-simplest-regression-test"; @@ -64,7 +63,7 @@ HwmpSimplestRegressionTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); delete m_nodes, m_nodes = 0; } @@ -131,8 +130,7 @@ HwmpSimplestRegressionTest::CreateDevices () address.SetBase ("10.1.1.0", "255.255.255.0"); m_interfaces = address.Assign (meshDevices); // 4. write PCAP if needed - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : std::string (GetTempDir ())) + PREFIX; - wifiPhy.EnablePcapAll (prefix); + wifiPhy.EnablePcapAll (CreateTempDirFilename (PREFIX)); } void @@ -140,15 +138,7 @@ HwmpSimplestRegressionTest::CheckResults () { for (int i = 0; i < 2; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << PREFIX << "-" << i << "-1.pcap"; - os2 << GetTempDir () << PREFIX << "-" << i << "-1.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); // TODO support default PcapWriter snap length here - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (PREFIX << "-" << i << "-1.pcap"); } } diff --git a/src/mesh/test/dot11s/hwmp-target-flags-regression.cc b/src/mesh/test/dot11s/hwmp-target-flags-regression.cc index 2f2cdeb93..b7f32f562 100644 --- a/src/mesh/test/dot11s/hwmp-target-flags-regression.cc +++ b/src/mesh/test/dot11s/hwmp-target-flags-regression.cc @@ -31,13 +31,12 @@ #include "ns3/abort.h" #include "ns3/udp-echo-helper.h" #include "ns3/mobility-model.h" +#include "ns3/pcap-test.h" #include #include "hwmp-target-flags-regression.h" using namespace ns3; -/// Set to true to rewrite reference traces, leave false to run regression test -const bool WRITE_VECTORS = false; /// Unique PCAP file name prefix const char * const PREFIX = "hwmp-target-flags-regression-test"; @@ -64,7 +63,7 @@ HwmpDoRfRegressionTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); delete m_nodes, m_nodes = 0; } @@ -138,8 +137,7 @@ HwmpDoRfRegressionTest::CreateDevices () address.SetBase ("10.1.1.0", "255.255.255.0"); m_interfaces = address.Assign (meshDevices); // 4. write PCAP if needed - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : std::string (GetTempDir ())) + PREFIX; - wifiPhy.EnablePcapAll (prefix); + wifiPhy.EnablePcapAll (CreateTempDirFilename (PREFIX)); } void @@ -147,15 +145,7 @@ HwmpDoRfRegressionTest::CheckResults () { for (int i = 0; i < 4; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << PREFIX << "-" << i << "-1.pcap"; - os2 << GetTempDir () << PREFIX << "-" << i << "-1.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); // TODO support default PcapWriter snap length here - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (PREFIX << "-" << i << "-1.pcap"); } } diff --git a/src/mesh/test/dot11s/pmp-regression.cc b/src/mesh/test/dot11s/pmp-regression.cc index 4f5557de5..6f99aea6d 100644 --- a/src/mesh/test/dot11s/pmp-regression.cc +++ b/src/mesh/test/dot11s/pmp-regression.cc @@ -28,14 +28,13 @@ #include "ns3/internet-stack-helper.h" #include "ns3/mobility-model.h" #include "ns3/pcap-file.h" +#include "ns3/pcap-test.h" #include #include "pmp-regression.h" using namespace ns3; -/// Set to true to rewrite reference traces, leave false to run regression test -const bool WRITE_VECTORS = false; /// Unique PCAP file name prefix const char * const PREFIX = "pmp-regression-test"; @@ -61,7 +60,7 @@ PeerManagementProtocolRegressionTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); delete m_nodes, m_nodes = 0; } @@ -97,8 +96,7 @@ PeerManagementProtocolRegressionTest::CreateDevices () mesh.SetNumberOfInterfaces (1); NetDeviceContainer meshDevices = mesh.Install (wifiPhy, *m_nodes); // 3. write PCAP if needed - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : std::string (GetTempDir ())) + PREFIX; - wifiPhy.EnablePcapAll (prefix); + wifiPhy.EnablePcapAll (CreateTempDirFilename (PREFIX)); } void @@ -106,15 +104,7 @@ PeerManagementProtocolRegressionTest::CheckResults () { for (int i = 0; i < 2; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << PREFIX << "-" << i << "-1.pcap"; - os2 << GetTempDir () << PREFIX << "-" << i << "-1.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); // TODO support default PcapWriter snap length here - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (PREFIX << "-" << i << "-1.pcap"); } } diff --git a/src/mesh/test/dot11s/pmp-regression.h b/src/mesh/test/dot11s/pmp-regression.h index 48a4a4504..071ca29fc 100644 --- a/src/mesh/test/dot11s/pmp-regression.h +++ b/src/mesh/test/dot11s/pmp-regression.h @@ -17,6 +17,7 @@ * * Authors: Pavel Boyko */ + #ifndef PMP_REGRESSION_H #define PMP_REGRESSION_H #include "ns3/test.h" @@ -58,5 +59,5 @@ private: void CheckResults (); void DoRun (); }; -#endif // PMP_REGRESSION_H +#endif /* PMP_REGRESSION_H */ diff --git a/src/mesh/test/dot11s/regression.cc b/src/mesh/test/dot11s/regression.cc index 789e84703..6e1b82319 100644 --- a/src/mesh/test/dot11s/regression.cc +++ b/src/mesh/test/dot11s/regression.cc @@ -31,6 +31,9 @@ class Dot11sRegressionSuite : public TestSuite public: Dot11sRegressionSuite () : TestSuite ("devices-mesh-dot11s-regression", SYSTEM) { + // We do not use NS_TEST_SOURCEDIR variable here since mesh/test has + // subdirectories + SetDataDir (std::string ("src/mesh/test/dot11s")); AddTestCase (new PeerManagementProtocolRegressionTest); AddTestCase (new HwmpSimplestRegressionTest); AddTestCase (new HwmpReactiveRegressionTest); diff --git a/src/mesh/test/flame/flame-regression.cc b/src/mesh/test/flame/flame-regression.cc index f5b70074b..25174036a 100644 --- a/src/mesh/test/flame/flame-regression.cc +++ b/src/mesh/test/flame/flame-regression.cc @@ -28,6 +28,7 @@ #include "ns3/internet-stack-helper.h" #include "ns3/ipv4-address-helper.h" #include "ns3/abort.h" +#include "ns3/pcap-test.h" #include "ns3/udp-echo-helper.h" #include "ns3/mobility-model.h" #include @@ -36,8 +37,6 @@ using namespace ns3; -/// Set to true to rewrite reference traces, leave false to run regression test -const bool WRITE_VECTORS = false; /// Unique PCAP file name prefix const char * const PREFIX = "flame-regression-test"; @@ -65,7 +64,7 @@ FlameRegressionTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); delete m_nodes, m_nodes = 0; } @@ -109,8 +108,7 @@ FlameRegressionTest::CreateDevices () address.SetBase ("10.1.1.0", "255.255.255.0"); m_interfaces = address.Assign (meshDevices); // 4. write PCAP if needed - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : GetTempDir ()) + PREFIX; - wifiPhy.EnablePcapAll (prefix); + wifiPhy.EnablePcapAll (CreateTempDirFilename (PREFIX)); } void @@ -134,15 +132,7 @@ FlameRegressionTest::CheckResults () { for (int i = 0; i < 3; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << PREFIX << "-" << i << "-1.pcap"; - os2 << GetTempDir () << PREFIX << "-" << i << "-1.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); // TODO support default PcapWriter snap length here - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (PREFIX << "-" << i << "-1.pcap"); } } diff --git a/src/mesh/test/flame/flame-test-suite.cc b/src/mesh/test/flame/flame-test-suite.cc index 446449f6d..ea7575b11 100644 --- a/src/mesh/test/flame/flame-test-suite.cc +++ b/src/mesh/test/flame/flame-test-suite.cc @@ -87,7 +87,7 @@ private: static FlameRtableTest g_FlameRtableTest; FlameRtableTest::FlameRtableTest () : - TestCase ("Mesh/Flame/FlameRtable"), + TestCase ("FlameRtable"), error (false), dst ("01:00:00:01:00:01"), hop ("01:00:00:01:00:03"), diff --git a/src/mesh/test/flame/regression.cc b/src/mesh/test/flame/regression.cc index ea5f642b7..bab62d2f4 100644 --- a/src/mesh/test/flame/regression.cc +++ b/src/mesh/test/flame/regression.cc @@ -27,6 +27,9 @@ class FlameRegressionSuite : public TestSuite public: FlameRegressionSuite () : TestSuite ("devices-mesh-flame-regression", SYSTEM) { + // We do not use NS_TEST_SOURCEDIR variable here since mesh/test has + // subdirectories + SetDataDir (std::string ("src/mesh/test/flame")); AddTestCase (new FlameRegressionTest); } } g_flameRegressionSuite; diff --git a/src/mesh/test/mesh-information-element-vector-test-suite.cc b/src/mesh/test/mesh-information-element-vector-test-suite.cc index 8130558a3..c2025b559 100644 --- a/src/mesh/test/mesh-information-element-vector-test-suite.cc +++ b/src/mesh/test/mesh-information-element-vector-test-suite.cc @@ -156,4 +156,4 @@ MeshTestSuite::MeshTestSuite () static MeshTestSuite g_meshTestSuite; -} //namespace ns3 +} // namespace ns3 diff --git a/src/mesh/wscript b/src/mesh/wscript index 6ce45246c..79011c8e5 100644 --- a/src/mesh/wscript +++ b/src/mesh/wscript @@ -53,7 +53,7 @@ def build(bld): 'test/flame/regression.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'mesh' headers.source = [ 'model/mesh-information-element.h', diff --git a/src/mobility/bindings/modulegen__gcc_ILP32.py b/src/mobility/bindings/modulegen__gcc_ILP32.py index e160c1aaa..8b169ba71 100644 --- a/src/mobility/bindings/modulegen__gcc_ILP32.py +++ b/src/mobility/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## box.h (module 'mobility'): ns3::Box [class] module.add_class('Box') ## box.h (module 'mobility'): ns3::Box::Side [enumeration] @@ -80,12 +82,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -144,12 +146,16 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', '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::EventImpl', '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')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## position-allocator.h (module 'mobility'): ns3::UniformDiscPositionAllocator [class] module.add_class('UniformDiscPositionAllocator', parent=root_module['ns3::PositionAllocator']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] @@ -285,7 +291,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Box_methods(root_module, root_module['ns3::Box']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3ConstantVelocityHelper_methods(root_module, root_module['ns3::ConstantVelocityHelper']) @@ -308,9 +315,9 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3Waypoint_methods(root_module, root_module['ns3::Waypoint']) @@ -340,7 +347,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3UniformDiscPositionAllocator_methods(root_module, root_module['ns3::UniformDiscPositionAllocator']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) @@ -465,41 +474,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Box_methods(root_module, cls): @@ -1234,10 +1245,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1264,6 +1275,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1278,10 +1291,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1491,23 +1500,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1515,26 +1514,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1565,14 +1549,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1580,11 +1559,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1609,22 +1583,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1634,6 +1603,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1648,19 +1621,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -1685,22 +1677,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -2242,6 +2218,18 @@ def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -2398,6 +2386,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3UniformDiscPositionAllocator_methods(root_module, cls): ## position-allocator.h (module 'mobility'): ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator(ns3::UniformDiscPositionAllocator const & arg0) [copy constructor] cls.add_constructor([param('ns3::UniformDiscPositionAllocator const &', 'arg0')]) @@ -2474,6 +2489,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3136,10 +3156,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -3154,11 +3182,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/mobility/bindings/modulegen__gcc_LP64.py b/src/mobility/bindings/modulegen__gcc_LP64.py index e160c1aaa..8b169ba71 100644 --- a/src/mobility/bindings/modulegen__gcc_LP64.py +++ b/src/mobility/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## box.h (module 'mobility'): ns3::Box [class] module.add_class('Box') ## box.h (module 'mobility'): ns3::Box::Side [enumeration] @@ -80,12 +82,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -144,12 +146,16 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::CallbackImplBase', '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::EventImpl', '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')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## position-allocator.h (module 'mobility'): ns3::UniformDiscPositionAllocator [class] module.add_class('UniformDiscPositionAllocator', parent=root_module['ns3::PositionAllocator']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] @@ -285,7 +291,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Box_methods(root_module, root_module['ns3::Box']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3ConstantVelocityHelper_methods(root_module, root_module['ns3::ConstantVelocityHelper']) @@ -308,9 +315,9 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3Waypoint_methods(root_module, root_module['ns3::Waypoint']) @@ -340,7 +347,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3AttributeValue_Ns3Empty_Ns3DefaultDeleter__lt__ns3AttributeValue__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::AttributeValue, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3UniformDiscPositionAllocator_methods(root_module, root_module['ns3::UniformDiscPositionAllocator']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) @@ -465,41 +474,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Box_methods(root_module, cls): @@ -1234,10 +1245,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1264,6 +1275,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1278,10 +1291,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1491,23 +1500,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1515,26 +1514,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1565,14 +1549,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1580,11 +1559,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1609,22 +1583,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1634,6 +1603,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1648,19 +1621,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -1685,22 +1677,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -2242,6 +2218,18 @@ def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -2398,6 +2386,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3UniformDiscPositionAllocator_methods(root_module, cls): ## position-allocator.h (module 'mobility'): ns3::UniformDiscPositionAllocator::UniformDiscPositionAllocator(ns3::UniformDiscPositionAllocator const & arg0) [copy constructor] cls.add_constructor([param('ns3::UniformDiscPositionAllocator const &', 'arg0')]) @@ -2474,6 +2489,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3136,10 +3156,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -3154,11 +3182,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/mobility/examples/main-grid-topology.cc b/src/mobility/examples/main-grid-topology.cc index 33dc59186..07fb87064 100644 --- a/src/mobility/examples/main-grid-topology.cc +++ b/src/mobility/examples/main-grid-topology.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "ns3/core-module.h" #include "ns3/network-module.h" diff --git a/src/mobility/helper/ns2-mobility-helper.cc b/src/mobility/helper/ns2-mobility-helper.cc index 4caa81344..7b2888821 100644 --- a/src/mobility/helper/ns2-mobility-helper.cc +++ b/src/mobility/helper/ns2-mobility-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors diff --git a/src/mobility/helper/ns2-mobility-helper.h b/src/mobility/helper/ns2-mobility-helper.h index 98d257789..76bf72e26 100644 --- a/src/mobility/helper/ns2-mobility-helper.h +++ b/src/mobility/helper/ns2-mobility-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors diff --git a/src/mobility/model/box.cc b/src/mobility/model/box.cc index fcb4398fe..65d75307a 100644 --- a/src/mobility/model/box.cc +++ b/src/mobility/model/box.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * diff --git a/src/mobility/model/box.h b/src/mobility/model/box.h index db4f0931d..e19082ab7 100644 --- a/src/mobility/model/box.h +++ b/src/mobility/model/box.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * diff --git a/src/mobility/model/constant-acceleration-mobility-model.cc b/src/mobility/model/constant-acceleration-mobility-model.cc index 334fd9696..6b123944a 100644 --- a/src/mobility/model/constant-acceleration-mobility-model.cc +++ b/src/mobility/model/constant-acceleration-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -78,4 +78,4 @@ ConstantAccelerationMobilityModel::SetVelocityAndAcceleration (const Vector &vel } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/mobility/model/constant-acceleration-mobility-model.h b/src/mobility/model/constant-acceleration-mobility-model.h index 93fc73bc0..dc69e9971 100644 --- a/src/mobility/model/constant-acceleration-mobility-model.h +++ b/src/mobility/model/constant-acceleration-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -51,6 +51,6 @@ private: Vector m_acceleration; }; -}; // namespace ns3 +} // namespace ns3 #endif /* CONSTANT_ACCELERATION_MOBILITY_MODEL_H */ diff --git a/src/mobility/model/constant-position-mobility-model.cc b/src/mobility/model/constant-position-mobility-model.cc index 7332a0175..72a000a3b 100644 --- a/src/mobility/model/constant-position-mobility-model.cc +++ b/src/mobility/model/constant-position-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * @@ -57,4 +57,4 @@ ConstantPositionMobilityModel::DoGetVelocity (void) const return Vector (0.0, 0.0, 0.0); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/mobility/model/constant-position-mobility-model.h b/src/mobility/model/constant-position-mobility-model.h index b5f481dfd..679d54464 100644 --- a/src/mobility/model/constant-position-mobility-model.h +++ b/src/mobility/model/constant-position-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * @@ -47,6 +47,6 @@ private: Vector m_position; }; -}; // namespace ns3 +} // namespace ns3 #endif /* CONSTANT_POSITION_MOBILITY_MODEL_H */ diff --git a/src/mobility/model/constant-velocity-helper.cc b/src/mobility/model/constant-velocity-helper.cc index 9b678ed90..4f587cc1e 100644 --- a/src/mobility/model/constant-velocity-helper.cc +++ b/src/mobility/model/constant-velocity-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/constant-velocity-helper.h b/src/mobility/model/constant-velocity-helper.h index e427ebff9..9c0bf790e 100644 --- a/src/mobility/model/constant-velocity-helper.h +++ b/src/mobility/model/constant-velocity-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/constant-velocity-mobility-model.cc b/src/mobility/model/constant-velocity-mobility-model.cc index 48faa4dac..7a92bb00c 100644 --- a/src/mobility/model/constant-velocity-mobility-model.cc +++ b/src/mobility/model/constant-velocity-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2007 INRIA * @@ -68,4 +68,4 @@ ConstantVelocityMobilityModel::DoGetVelocity (void) const return m_helper.GetVelocity (); } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/mobility/model/constant-velocity-mobility-model.h b/src/mobility/model/constant-velocity-mobility-model.h index db54cf4ef..260e09c3e 100644 --- a/src/mobility/model/constant-velocity-mobility-model.h +++ b/src/mobility/model/constant-velocity-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2007 INRIA * @@ -58,6 +58,6 @@ private: ConstantVelocityHelper m_helper; }; -}; // namespace ns3 +} // namespace ns3 #endif /* CONSTANT_VELOCITY_POSITION */ diff --git a/src/mobility/model/gauss-markov-mobility-model.cc b/src/mobility/model/gauss-markov-mobility-model.cc index 8e52d6292..a42330dba 100644 --- a/src/mobility/model/gauss-markov-mobility-model.cc +++ b/src/mobility/model/gauss-markov-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * diff --git a/src/mobility/model/gauss-markov-mobility-model.h b/src/mobility/model/gauss-markov-mobility-model.h index cafc5a8af..de4057141 100644 --- a/src/mobility/model/gauss-markov-mobility-model.h +++ b/src/mobility/model/gauss-markov-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Dan Broyles * diff --git a/src/mobility/model/hierarchical-mobility-model.cc b/src/mobility/model/hierarchical-mobility-model.cc index 7ecc7f19b..6382e9eee 100644 --- a/src/mobility/model/hierarchical-mobility-model.cc +++ b/src/mobility/model/hierarchical-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/hierarchical-mobility-model.h b/src/mobility/model/hierarchical-mobility-model.h index 7598307a5..bc0866331 100644 --- a/src/mobility/model/hierarchical-mobility-model.h +++ b/src/mobility/model/hierarchical-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/mobility-model.cc b/src/mobility/model/mobility-model.cc index bf585db44..9c64da2d5 100644 --- a/src/mobility/model/mobility-model.cc +++ b/src/mobility/model/mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/mobility-model.h b/src/mobility/model/mobility-model.h index ab86682c2..cd9423314 100644 --- a/src/mobility/model/mobility-model.h +++ b/src/mobility/model/mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * @@ -97,6 +97,6 @@ private: }; -}; // namespace ns3 +} // namespace ns3 #endif /* MOBILITY_MODEL_H */ diff --git a/src/mobility/model/position-allocator.cc b/src/mobility/model/position-allocator.cc index aeccc11a7..992ab0e76 100644 --- a/src/mobility/model/position-allocator.cc +++ b/src/mobility/model/position-allocator.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/position-allocator.h b/src/mobility/model/position-allocator.h index 4fff3ab83..a0be5bcc8 100644 --- a/src/mobility/model/position-allocator.h +++ b/src/mobility/model/position-allocator.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/random-direction-2d-mobility-model.cc b/src/mobility/model/random-direction-2d-mobility-model.cc index c8fc5cf61..1ba7f593b 100644 --- a/src/mobility/model/random-direction-2d-mobility-model.cc +++ b/src/mobility/model/random-direction-2d-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/random-direction-2d-mobility-model.h b/src/mobility/model/random-direction-2d-mobility-model.h index 75a20b249..5174e8f37 100644 --- a/src/mobility/model/random-direction-2d-mobility-model.h +++ b/src/mobility/model/random-direction-2d-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/random-walk-2d-mobility-model.cc b/src/mobility/model/random-walk-2d-mobility-model.cc index 9bd44a8aa..e09ff69e8 100644 --- a/src/mobility/model/random-walk-2d-mobility-model.cc +++ b/src/mobility/model/random-walk-2d-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/random-walk-2d-mobility-model.h b/src/mobility/model/random-walk-2d-mobility-model.h index b6096d068..3bfc542d4 100644 --- a/src/mobility/model/random-walk-2d-mobility-model.h +++ b/src/mobility/model/random-walk-2d-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/mobility/model/random-waypoint-mobility-model.cc b/src/mobility/model/random-waypoint-mobility-model.cc index dee36c2b5..7d6b906ca 100644 --- a/src/mobility/model/random-waypoint-mobility-model.cc +++ b/src/mobility/model/random-waypoint-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/random-waypoint-mobility-model.h b/src/mobility/model/random-waypoint-mobility-model.h index 4b757530b..1e9389686 100644 --- a/src/mobility/model/random-waypoint-mobility-model.h +++ b/src/mobility/model/random-waypoint-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/rectangle.cc b/src/mobility/model/rectangle.cc index d83fcef17..8437a0816 100644 --- a/src/mobility/model/rectangle.cc +++ b/src/mobility/model/rectangle.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/rectangle.h b/src/mobility/model/rectangle.h index 9ed1cf757..ece8f2492 100644 --- a/src/mobility/model/rectangle.h +++ b/src/mobility/model/rectangle.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/mobility/model/steady-state-random-waypoint-mobility-model.cc b/src/mobility/model/steady-state-random-waypoint-mobility-model.cc index d95ed71ff..09be43e7c 100644 --- a/src/mobility/model/steady-state-random-waypoint-mobility-model.cc +++ b/src/mobility/model/steady-state-random-waypoint-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mobility/model/steady-state-random-waypoint-mobility-model.h b/src/mobility/model/steady-state-random-waypoint-mobility-model.h index 03a706119..4f990ba06 100644 --- a/src/mobility/model/steady-state-random-waypoint-mobility-model.h +++ b/src/mobility/model/steady-state-random-waypoint-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mobility/model/waypoint-mobility-model.cc b/src/mobility/model/waypoint-mobility-model.cc index 5a6bdebf8..420f5ccf4 100644 --- a/src/mobility/model/waypoint-mobility-model.cc +++ b/src/mobility/model/waypoint-mobility-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mobility/model/waypoint-mobility-model.h b/src/mobility/model/waypoint-mobility-model.h index 6787cea6e..a650d8ad9 100644 --- a/src/mobility/model/waypoint-mobility-model.h +++ b/src/mobility/model/waypoint-mobility-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mobility/model/waypoint.cc b/src/mobility/model/waypoint.cc index 59f1b2943..f4254c165 100644 --- a/src/mobility/model/waypoint.cc +++ b/src/mobility/model/waypoint.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mobility/model/waypoint.h b/src/mobility/model/waypoint.h index 709dd5e2c..b962d7e28 100644 --- a/src/mobility/model/waypoint.h +++ b/src/mobility/model/waypoint.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mobility/test/ns2-mobility-helper-test-suite.cc b/src/mobility/test/ns2-mobility-helper-test-suite.cc index 1213ad22f..146b21bf3 100644 --- a/src/mobility/test/ns2-mobility-helper-test-suite.cc +++ b/src/mobility/test/ns2-mobility-helper-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * 2009,2010 Contributors @@ -140,7 +140,7 @@ private: /// Dump NS-2 trace to tmp file bool WriteTrace () { - m_traceFile = GetTempDir () + "Ns2MobilityHelperTest.tcl"; + m_traceFile = CreateTempDirFilename ("Ns2MobilityHelperTest.tcl"); std::ofstream of (m_traceFile.c_str ()); NS_TEST_ASSERT_MSG_EQ_RETURNS_BOOL (of.is_open (), true, "Need to write tmp. file"); of << m_trace; @@ -176,7 +176,7 @@ private: m_nextRefPoint++; } - return GetErrorStatus (); + return IsStatusFailure (); } /// Listen for course change events void CourseChange (std::string context, Ptr mobility) @@ -243,6 +243,8 @@ class Ns2MobilityHelperTestSuite : public TestSuite public: Ns2MobilityHelperTestSuite () : TestSuite ("mobility-ns2-trace-helper", UNIT) { + SetDataDir (NS_TEST_SOURCEDIR); + // to be used as temporary variable for test cases. // Note that test suite takes care of deleting all test cases. Ns2MobilityHelperTest * t (0); diff --git a/src/mobility/test/steady-state-random-waypoint-mobility-model-test.cc b/src/mobility/test/steady-state-random-waypoint-mobility-model-test.cc index 688b50d64..18e0dd61b 100644 --- a/src/mobility/test/steady-state-random-waypoint-mobility-model-test.cc +++ b/src/mobility/test/steady-state-random-waypoint-mobility-model-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 IITP RAS * diff --git a/src/mobility/test/waypoint-mobility-model-test.cc b/src/mobility/test/waypoint-mobility-model-test.cc index 98808eb7d..b01af993b 100644 --- a/src/mobility/test/waypoint-mobility-model-test.cc +++ b/src/mobility/test/waypoint-mobility-model-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 Phillip Sitbon * diff --git a/src/mobility/wscript b/src/mobility/wscript index da6f3fbd1..3225b2028 100644 --- a/src/mobility/wscript +++ b/src/mobility/wscript @@ -30,7 +30,7 @@ def build(bld): 'test/waypoint-mobility-model-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'mobility' headers.source = [ 'model/box.h', diff --git a/src/mpi/bindings/modulegen__gcc_ILP32.py b/src/mpi/bindings/modulegen__gcc_ILP32.py index 9850c9a57..75e1ea713 100644 --- a/src/mpi/bindings/modulegen__gcc_ILP32.py +++ b/src/mpi/bindings/modulegen__gcc_ILP32.py @@ -20,8 +20,10 @@ def module_init(): def register_types(module): root_module = module.get_root() - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -78,10 +80,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -114,6 +116,8 @@ def register_types(module): 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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator-impl.h (module 'core'): ns3::SimulatorImpl [class] module.add_class('SimulatorImpl', import_from_module='ns.core', parent=root_module['ns3::Object']) ## nstime.h (module 'core'): ns3::Time [class] @@ -122,6 +126,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -172,7 +178,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -199,8 +206,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -217,8 +224,10 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -240,41 +249,43 @@ def register_methods(root_module): register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -726,6 +737,11 @@ def register_Ns3MpiInterface_methods(root_module, cls): 'void', [], is_static=True) + ## mpi-interface.h (module 'mpi'): static void ns3::MpiInterface::Disable() [member function] + cls.add_method('Disable', + 'void', + [], + is_static=True) ## mpi-interface.h (module 'mpi'): static void ns3::MpiInterface::Enable(int * pargc, char * * * pargv) [member function] cls.add_method('Enable', 'void', @@ -822,10 +838,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -852,6 +868,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -866,10 +884,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1216,23 +1230,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1240,26 +1244,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1290,14 +1279,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1305,11 +1289,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1334,22 +1313,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1359,6 +1333,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1373,35 +1351,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1788,6 +1769,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SimulatorImpl_methods(root_module, cls): ## simulator-impl.h (module 'core'): ns3::SimulatorImpl::SimulatorImpl() [constructor] cls.add_constructor([]) @@ -2056,6 +2049,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2136,6 +2156,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/mpi/bindings/modulegen__gcc_LP64.py b/src/mpi/bindings/modulegen__gcc_LP64.py index 9850c9a57..75e1ea713 100644 --- a/src/mpi/bindings/modulegen__gcc_LP64.py +++ b/src/mpi/bindings/modulegen__gcc_LP64.py @@ -20,8 +20,10 @@ def module_init(): def register_types(module): root_module = module.get_root() - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -78,10 +80,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -114,6 +116,8 @@ def register_types(module): 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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator-impl.h (module 'core'): ns3::SimulatorImpl [class] module.add_class('SimulatorImpl', import_from_module='ns.core', parent=root_module['ns3::Object']) ## nstime.h (module 'core'): ns3::Time [class] @@ -122,6 +126,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -172,7 +178,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -199,8 +206,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -217,8 +224,10 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -240,41 +249,43 @@ def register_methods(root_module): register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -726,6 +737,11 @@ def register_Ns3MpiInterface_methods(root_module, cls): 'void', [], is_static=True) + ## mpi-interface.h (module 'mpi'): static void ns3::MpiInterface::Disable() [member function] + cls.add_method('Disable', + 'void', + [], + is_static=True) ## mpi-interface.h (module 'mpi'): static void ns3::MpiInterface::Enable(int * pargc, char * * * pargv) [member function] cls.add_method('Enable', 'void', @@ -822,10 +838,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -852,6 +868,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -866,10 +884,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1216,23 +1230,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1240,26 +1244,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1290,14 +1279,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1305,11 +1289,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1334,22 +1313,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1359,6 +1333,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1373,35 +1351,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1788,6 +1769,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SimulatorImpl_methods(root_module, cls): ## simulator-impl.h (module 'core'): ns3::SimulatorImpl::SimulatorImpl() [constructor] cls.add_constructor([]) @@ -2056,6 +2049,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2136,6 +2156,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/mpi/doc/distributed.rst b/src/mpi/doc/distributed.rst index d7fa44eb0..bda795c16 100644 --- a/src/mpi/doc/distributed.rst +++ b/src/mpi/doc/distributed.rst @@ -125,7 +125,7 @@ Configure |ns3| with the --enable-mpi option::: Ensure that MPI is enabled by checking the optional features shown from the output of configure. -Next, build |ns3|: +Next, build |ns3|::: ./waf diff --git a/src/mpi/model/mpi-interface.h b/src/mpi/model/mpi-interface.h index b4adbe831..f0623f045 100644 --- a/src/mpi/model/mpi-interface.h +++ b/src/mpi/model/mpi-interface.h @@ -28,8 +28,14 @@ #include "ns3/nstime.h" #include "ns3/buffer.h" +#if defined(NS3_OPENMPI) struct ompi_request_t; typedef struct ompi_request_t* MPI_Request; +#elif defined(NS3_MPICH) +typedef int MPI_Request; +#else +typedef void* MPI_Request; +#endif namespace ns3 { diff --git a/src/mpi/wscript b/src/mpi/wscript index c70fa1375..11aabfb01 100644 --- a/src/mpi/wscript +++ b/src/mpi/wscript @@ -2,34 +2,36 @@ import sys import subprocess import Options - +from waflib.Errors import WafError def configure(conf): - env = conf.env - conf.find_program('mpic++', var='MPI') - if Options.options.enable_mpi and conf.env['MPI']: - p = subprocess.Popen([conf.env['MPI'], '-showme:compile'], stdout=subprocess.PIPE) - flags = p.stdout.read().rstrip().split() - p.wait() - env.append_value("CXXFLAGS_MPI", flags) - - p = subprocess.Popen([conf.env['MPI'], '-showme:link'], stdout=subprocess.PIPE) - flags = p.stdout.read().rstrip().split() - p.wait() - env.append_value("LINKFLAGS_MPI", flags) - - env.append_value('CXXDEFINES', 'NS3_MPI') - conf.report_optional_feature("mpi", "MPI Support", True, '') - conf.env['ENABLE_MPI'] = True - else: - if Options.options.enable_mpi: - conf.report_optional_feature("mpi", "MPI Support", False, 'mpic++ not found') + if Options.options.enable_mpi: + # try to detect openmpi installation + mpi = conf.check_cfg(path='mpic++', args='-showme', + package='', uselib_store='MPI', mandatory=False) + if mpi: + conf.env.append_value('DEFINES_MPI', 'NS3_OPENMPI') else: - conf.report_optional_feature("mpi", "MPI Support", False, 'option --enable-mpi not selected') + # try the MPICH2 flags + mpi = conf.check_cfg(path='mpic++', args='-compile-info -link-info', + package='', uselib_store='MPI', mandatory=False) + if mpi: + conf.env.append_value('DEFINES_MPI', 'NS3_MPICH') + if mpi: + conf.env.append_value('DEFINES_MPI', 'NS3_MPI') + conf.env['ENABLE_MPI'] = True + for libpath in conf.env.LIBPATH_MPI: + if 'mpi' in libpath: + conf.env.append_value('LINKFLAGS_MPI', '-Wl,-rpath='+libpath) + conf.report_optional_feature("mpi", "MPI Support", True, '') + else: + conf.report_optional_feature("mpi", "MPI Support", False, 'mpic++ not found') + else: + conf.report_optional_feature("mpi", "MPI Support", False, 'option --enable-mpi not selected') def build(bld): - env = bld.env_of_name('default') + env = bld.env sim = bld.create_ns3_module('mpi', ['core', 'network']) sim.source = [ 'model/distributed-simulator-impl.cc', @@ -37,7 +39,7 @@ def build(bld): 'model/mpi-receiver.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'mpi' headers.source = [ 'model/distributed-simulator-impl.h', @@ -46,7 +48,7 @@ def build(bld): ] if env['ENABLE_MPI']: - sim.uselib = 'MPI' + sim.use.append('MPI') if bld.env['ENABLE_EXAMPLES']: bld.add_subdirs('examples') diff --git a/src/netanim/bindings/callbacks_list.py b/src/netanim/bindings/callbacks_list.py index 6cda13fc6..ecf7537d5 100644 --- a/src/netanim/bindings/callbacks_list.py +++ b/src/netanim/bindings/callbacks_list.py @@ -1,2 +1,3 @@ callback_classes = [ + ['void', 'ns3::Ptr', 'ns3::Ptr', 'unsigned short', 'ns3::Address const&', 'ns3::Address const&', 'ns3::NetDevice::PacketType', 'ns3::empty', 'ns3::empty', 'ns3::empty'], ] diff --git a/src/netanim/bindings/modulegen__gcc_ILP32.py b/src/netanim/bindings/modulegen__gcc_ILP32.py index 9af2478b6..e971f15df 100644 --- a/src/netanim/bindings/modulegen__gcc_ILP32.py +++ b/src/netanim/bindings/modulegen__gcc_ILP32.py @@ -26,12 +26,34 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo [class] + module.add_class('AnimPacketInfo') + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo [class] + module.add_class('AnimRxInfo') ## animation-interface.h (module 'netanim'): ns3::AnimationInterface [class] module.add_class('AnimationInterface') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) + ## buffer.h (module 'network'): ns3::Buffer [class] + module.add_class('Buffer', import_from_module='ns.network') + ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] + module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer']) + ## packet.h (module 'network'): ns3::ByteTagIterator [class] + module.add_class('ByteTagIterator', import_from_module='ns.network') + ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class] + module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator']) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class] + module.add_class('ByteTagList', import_from_module='ns.network') + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class] + module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList']) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct] + module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator']) ## callback.h (module 'core'): ns3::CallbackBase [class] module.add_class('CallbackBase', import_from_module='ns.core') + ## event-id.h (module 'core'): ns3::EventId [class] + module.add_class('EventId', import_from_module='ns.core') ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] module.add_class('Ipv4Address', import_from_module='ns.network') ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] @@ -46,28 +68,64 @@ def register_types(module): module.add_class('Ipv6Prefix', import_from_module='ns.network') ## log.h (module 'core'): ns3::LogComponent [class] module.add_class('LogComponent', import_from_module='ns.core') + ## mac48-address.h (module 'network'): ns3::Mac48Address [class] + module.add_class('Mac48Address', import_from_module='ns.network') + ## mac48-address.h (module 'network'): ns3::Mac48Address [class] + root_module['ns3::Mac48Address'].implicitly_converts_to(root_module['ns3::Address']) ## node-list.h (module 'network'): ns3::NodeList [class] module.add_class('NodeList', import_from_module='ns.network') ## object-base.h (module 'core'): ns3::ObjectBase [class] module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core') ## object.h (module 'core'): ns3::ObjectDeleter [struct] module.add_class('ObjectDeleter', import_from_module='ns.core') + ## object-factory.h (module 'core'): ns3::ObjectFactory [class] + module.add_class('ObjectFactory', import_from_module='ns.core') + ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class] + module.add_class('PacketMetadata', import_from_module='ns.network') + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct] + module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata']) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration] + module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network') + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class] + module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata']) + ## packet.h (module 'network'): ns3::PacketTagIterator [class] + module.add_class('PacketTagIterator', import_from_module='ns.network') + ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class] + module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator']) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class] + 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']) ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator.h (module 'core'): ns3::Simulator [class] + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') + ## tag.h (module 'network'): ns3::Tag [class] + module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] module.add_class('TagBuffer', import_from_module='ns.network') ## 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] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## vector.h (module 'core'): ns3::Vector2D [class] + module.add_class('Vector2D', import_from_module='ns.core') + ## vector.h (module 'core'): ns3::Vector3D [class] + module.add_class('Vector3D', import_from_module='ns.core') ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] module.add_class('int64x64_t', import_from_module='ns.core') + ## animation-interface.h (module 'netanim'): ns3::AnimByteTag [class] + module.add_class('AnimByteTag', parent=root_module['ns3::Tag']) + ## chunk.h (module 'network'): ns3::Chunk [class] + module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) + ## header.h (module 'network'): ns3::Header [class] + module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## object.h (module 'core'): ns3::Object [class] 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] @@ -80,12 +138,24 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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::EventImpl', '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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) + ## 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] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -100,6 +170,8 @@ def register_types(module): module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class] module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## event-impl.h (module 'core'): ns3::EventImpl [class] + module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class] @@ -116,10 +188,26 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] + module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) + ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] + module.add_class('Mac48AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class] + module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object']) ## net-device.h (module 'network'): ns3::NetDevice [class] 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') + ## 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']) + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class] + module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class] + module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## 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 >']) ## nstime.h (module 'core'): ns3::TimeChecker [class] module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## nstime.h (module 'core'): ns3::TimeValue [class] @@ -128,16 +216,43 @@ def register_types(module): 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']) + ## vector.h (module 'core'): ns3::Vector2DChecker [class] + module.add_class('Vector2DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## vector.h (module 'core'): ns3::Vector2DValue [class] + module.add_class('Vector2DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## vector.h (module 'core'): ns3::Vector3DChecker [class] + module.add_class('Vector3DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## vector.h (module 'core'): ns3::Vector3DValue [class] + module.add_class('Vector3DValue', 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']) + module.add_container('std::map< unsigned int, ns3::AnimRxInfo >', ('unsigned int', 'ns3::AnimRxInfo'), container_type='map') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&') + typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue') + typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') + typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') + module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogNodePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogNodePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogNodePrinter&') + typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') + typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') + typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') + module.add_typedef(root_module['ns3::Vector3D'], 'Vector') + typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') + typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*') + typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&') + module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker') + + ## Register a nested module for the namespace Config + + nested_module = module.add_cpp_namespace('Config') + register_types_ns3_Config(nested_module) + ## Register a nested module for the namespace FatalImpl @@ -145,37 +260,78 @@ def register_types(module): register_types_ns3_FatalImpl(nested_module) +def register_types_ns3_Config(module): + root_module = module.get_root() + + ## config.h (module 'core'): ns3::Config::MatchContainer [class] + module.add_class('MatchContainer', import_from_module='ns.core') + module.add_container('std::vector< ns3::Ptr< ns3::Object > >', 'ns3::Ptr< ns3::Object >', container_type='vector') + module.add_container('std::vector< std::string >', 'std::string', container_type='vector') + def register_types_ns3_FatalImpl(module): root_module = module.get_root() def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) + register_Ns3AnimPacketInfo_methods(root_module, root_module['ns3::AnimPacketInfo']) + register_Ns3AnimRxInfo_methods(root_module, root_module['ns3::AnimRxInfo']) register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) + register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) + register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) + register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) + register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item']) + register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList']) + register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator']) + register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) + register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address']) register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix']) register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent']) + register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address']) register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList']) register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) + register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) + register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata']) + register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item']) + register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator']) + register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator']) + register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item']) + register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList']) + register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) + register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) + register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) + register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) + register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) + register_Ns3AnimByteTag_methods(root_module, root_module['ns3::AnimByteTag']) + register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) + register_Ns3Header_methods(root_module, root_module['ns3::Header']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) + register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) + 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']) @@ -183,6 +339,7 @@ def register_methods(root_module): register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) + register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) @@ -191,13 +348,26 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) + register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) + register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) + register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) + register_Ns3Node_methods(root_module, root_module['ns3::Node']) + register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) + register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) + register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) 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_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker']) + register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue']) + register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker']) + register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue']) register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) + register_Ns3ConfigMatchContainer_methods(root_module, root_module['ns3::Config::MatchContainer']) return def register_Ns3Address_methods(root_module, cls): @@ -270,19 +440,109 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return +def register_Ns3AnimPacketInfo_methods(root_module, cls): + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::AnimPacketInfo(ns3::AnimPacketInfo const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AnimPacketInfo const &', 'arg0')]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::AnimPacketInfo() [constructor] + cls.add_constructor([]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::AnimPacketInfo(ns3::Ptr tx_nd, ns3::Time const & fbTx, ns3::Time const & lbTx, ns3::Vector txLoc) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::NetDevice const >', 'tx_nd'), param('ns3::Time const &', 'fbTx'), param('ns3::Time const &', 'lbTx'), param('ns3::Vector', 'txLoc')]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo ns3::AnimPacketInfo::GetRxInfo(ns3::Ptr nd) [member function] + cls.add_method('GetRxInfo', + 'ns3::AnimRxInfo', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd')]) + ## animation-interface-helper.h (module 'netanim'): void ns3::AnimPacketInfo::ProcessRxBegin(ns3::Ptr nd, ns3::Time const & fbRx) [member function] + cls.add_method('ProcessRxBegin', + 'void', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd'), param('ns3::Time const &', 'fbRx')]) + ## animation-interface-helper.h (module 'netanim'): void ns3::AnimPacketInfo::ProcessRxDrop(ns3::Ptr nd) [member function] + cls.add_method('ProcessRxDrop', + 'void', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd')]) + ## animation-interface-helper.h (module 'netanim'): bool ns3::AnimPacketInfo::ProcessRxEnd(ns3::Ptr nd, ns3::Time const & fbRx, ns3::Vector rxLoc) [member function] + cls.add_method('ProcessRxEnd', + 'bool', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd'), param('ns3::Time const &', 'fbRx'), param('ns3::Vector', 'rxLoc')]) + ## animation-interface-helper.h (module 'netanim'): void ns3::AnimPacketInfo::RemoveRxInfo(ns3::Ptr nd) [member function] + cls.add_method('RemoveRxInfo', + 'void', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd')]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::firstlastbitDelta [variable] + cls.add_instance_attribute('firstlastbitDelta', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_fbTx [variable] + cls.add_instance_attribute('m_fbTx', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_lbTx [variable] + cls.add_instance_attribute('m_lbTx', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_rx [variable] + cls.add_instance_attribute('m_rx', 'std::map< unsigned int, ns3::AnimRxInfo >', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_txLoc [variable] + cls.add_instance_attribute('m_txLoc', 'ns3::Vector', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_txnd [variable] + cls.add_instance_attribute('m_txnd', 'ns3::Ptr< ns3::NetDevice const >', is_const=False) + return + +def register_Ns3AnimRxInfo_methods(root_module, cls): + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::AnimRxInfo(ns3::AnimRxInfo const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AnimRxInfo const &', 'arg0')]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::AnimRxInfo() [constructor] + cls.add_constructor([]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::AnimRxInfo(ns3::Time const & fbRx, ns3::Ptr nd, double rxRange) [constructor] + cls.add_constructor([param('ns3::Time const &', 'fbRx'), param('ns3::Ptr< ns3::NetDevice const >', 'nd'), param('double', 'rxRange')]) + ## animation-interface-helper.h (module 'netanim'): bool ns3::AnimRxInfo::IsPhyRxComplete() [member function] + cls.add_method('IsPhyRxComplete', + 'bool', + []) + ## animation-interface-helper.h (module 'netanim'): void ns3::AnimRxInfo::SetPhyRxComplete() [member function] + cls.add_method('SetPhyRxComplete', + 'void', + []) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::m_fbRx [variable] + cls.add_instance_attribute('m_fbRx', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::m_lbRx [variable] + cls.add_instance_attribute('m_lbRx', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::m_rxnd [variable] + cls.add_instance_attribute('m_rxnd', 'ns3::Ptr< ns3::NetDevice const >', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::rxRange [variable] + cls.add_instance_attribute('rxRange', 'double', is_const=False) + return + def register_Ns3AnimationInterface_methods(root_module, cls): ## animation-interface.h (module 'netanim'): ns3::AnimationInterface::AnimationInterface(ns3::AnimationInterface const & arg0) [copy constructor] cls.add_constructor([param('ns3::AnimationInterface const &', 'arg0')]) ## animation-interface.h (module 'netanim'): ns3::AnimationInterface::AnimationInterface() [constructor] cls.add_constructor([]) + ## animation-interface.h (module 'netanim'): ns3::AnimationInterface::AnimationInterface(std::string const filename, bool usingXML=true) [constructor] + cls.add_constructor([param('std::string const', 'filename'), param('bool', 'usingXML', default_value='true')]) + ## animation-interface.h (module 'netanim'): ns3::AnimationInterface::AnimationInterface(uint16_t port, bool usingXML=true) [constructor] + cls.add_constructor([param('uint16_t', 'port'), param('bool', 'usingXML', default_value='true')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::ResetAnimWriteCallback() [member function] + cls.add_method('ResetAnimWriteCallback', + 'void', + []) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::SetAnimWriteCallback(void (*)( char const * ) * cb) [member function] + cls.add_method('SetAnimWriteCallback', + 'void', + [param('void ( * ) ( char const * ) *', 'cb')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::SetMobilityPollInterval(ns3::Time t) [member function] + cls.add_method('SetMobilityPollInterval', + 'void', + [param('ns3::Time', 't')]) ## animation-interface.h (module 'netanim'): bool ns3::AnimationInterface::SetOutputFile(std::string const & fn) [member function] cls.add_method('SetOutputFile', 'bool', [param('std::string const &', 'fn')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::SetRandomPosition(bool setRandPos) [member function] + cls.add_method('SetRandomPosition', + 'void', + [param('bool', 'setRandPos')]) ## animation-interface.h (module 'netanim'): bool ns3::AnimationInterface::SetServerPort(uint16_t port) [member function] cls.add_method('SetServerPort', 'bool', [param('uint16_t', 'port')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::SetXMLOutput() [member function] + cls.add_method('SetXMLOutput', + 'void', + []) ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::StartAnimation() [member function] cls.add_method('StartAnimation', 'void', @@ -293,41 +553,392 @@ def register_Ns3AnimationInterface_methods(root_module, cls): []) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) + return + +def register_Ns3Buffer_methods(root_module, cls): + ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor] + cls.add_constructor([]) + ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor] + cls.add_constructor([param('uint32_t', 'dataSize')]) + ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor] + cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')]) + ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor] + cls.add_constructor([param('ns3::Buffer const &', 'o')]) + ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function] + cls.add_method('AddAtEnd', 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', + [param('uint32_t', 'end')]) + ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function] + cls.add_method('AddAtEnd', 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + [param('ns3::Buffer const &', 'o')]) + ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function] + cls.add_method('AddAtStart', + 'bool', + [param('uint32_t', 'start')]) + ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function] + cls.add_method('Begin', + 'ns3::Buffer::Iterator', + [], + is_const=True) + ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function] + cls.add_method('CopyData', + 'void', + [param('std::ostream *', 'os'), param('uint32_t', 'size')], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function] + cls.add_method('CopyData', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], + is_const=True) + ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function] + cls.add_method('CreateFragment', + 'ns3::Buffer', + [param('uint32_t', 'start'), param('uint32_t', 'length')], + is_const=True) + ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function] + cls.add_method('CreateFullCopy', + 'ns3::Buffer', + [], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function] + cls.add_method('End', + 'ns3::Buffer::Iterator', + [], + is_const=True) + ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function] + cls.add_method('GetCurrentEndOffset', + 'int32_t', + [], + is_const=True) + ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function] + cls.add_method('GetCurrentStartOffset', + 'int32_t', + [], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function] + cls.add_method('GetSize', + 'uint32_t', + [], + is_const=True) + ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function] + cls.add_method('PeekData', + 'uint8_t const *', + [], + is_const=True) + ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function] + cls.add_method('RemoveAtEnd', + 'void', + [param('uint32_t', 'end')]) + ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function] + cls.add_method('RemoveAtStart', + 'void', + [param('uint32_t', 'start')]) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] + cls.add_method('Serialize', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], + is_const=True) + return + +def register_Ns3BufferIterator_methods(root_module, cls): + ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')]) + ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor] + cls.add_constructor([]) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function] + cls.add_method('CalculateIpChecksum', + 'uint16_t', + [param('uint16_t', 'size')]) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function] + cls.add_method('CalculateIpChecksum', + 'uint16_t', + [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')]) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function] + cls.add_method('GetDistanceFrom', + 'uint32_t', + [param('ns3::Buffer::Iterator const &', 'o')], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function] + cls.add_method('GetSize', + 'uint32_t', + [], + is_const=True) + ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function] + cls.add_method('IsEnd', + 'bool', + [], + is_const=True) + ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function] + cls.add_method('IsStart', + 'bool', + [], + is_const=True) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function] + cls.add_method('Next', + 'void', + []) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function] + cls.add_method('Next', + 'void', + [param('uint32_t', 'delta')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function] + cls.add_method('Prev', + 'void', + []) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function] + cls.add_method('Prev', + 'void', + [param('uint32_t', 'delta')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function] + cls.add_method('Read', + 'void', + [param('uint8_t *', 'buffer'), param('uint32_t', 'size')]) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function] + cls.add_method('ReadLsbtohU16', + 'uint16_t', + []) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function] + cls.add_method('ReadLsbtohU32', + 'uint32_t', + []) + ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function] + cls.add_method('ReadLsbtohU64', + 'uint64_t', + []) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function] + cls.add_method('ReadNtohU16', + 'uint16_t', + []) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function] + cls.add_method('ReadNtohU32', + 'uint32_t', + []) + ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function] + cls.add_method('ReadNtohU64', + 'uint64_t', + []) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function] + cls.add_method('ReadU16', + 'uint16_t', + []) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function] + cls.add_method('ReadU32', + 'uint32_t', + []) + ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function] + cls.add_method('ReadU64', + 'uint64_t', + []) + ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function] + cls.add_method('ReadU8', + 'uint8_t', + []) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function] + cls.add_method('Write', + 'void', + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function] + cls.add_method('Write', + 'void', + [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function] + cls.add_method('WriteHtolsbU16', + 'void', + [param('uint16_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function] + cls.add_method('WriteHtolsbU32', + 'void', + [param('uint32_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function] + cls.add_method('WriteHtolsbU64', + 'void', + [param('uint64_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function] + cls.add_method('WriteHtonU16', + 'void', + [param('uint16_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function] + cls.add_method('WriteHtonU32', + 'void', + [param('uint32_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function] + cls.add_method('WriteHtonU64', + 'void', + [param('uint64_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function] + cls.add_method('WriteU16', + 'void', + [param('uint16_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function] + cls.add_method('WriteU32', + 'void', + [param('uint32_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function] + cls.add_method('WriteU64', + 'void', + [param('uint64_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function] + cls.add_method('WriteU8', + 'void', + [param('uint8_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function] + cls.add_method('WriteU8', + 'void', + [param('uint8_t', 'data'), param('uint32_t', 'len')]) + return + +def register_Ns3ByteTagIterator_methods(root_module, cls): + ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')]) + ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function] + cls.add_method('Next', + 'ns3::ByteTagIterator::Item', + []) + return + +def register_Ns3ByteTagIteratorItem_methods(root_module, cls): + ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')]) + ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function] + cls.add_method('GetEnd', + 'uint32_t', + [], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function] + cls.add_method('GetStart', + 'uint32_t', + [], + is_const=True) + ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function] + cls.add_method('GetTag', + 'void', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_const=True) + return + +def register_Ns3ByteTagList_methods(root_module, cls): + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor] + cls.add_constructor([]) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor] + cls.add_constructor([param('ns3::ByteTagList const &', 'o')]) + ## byte-tag-list.h (module 'network'): ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function] + cls.add_method('Add', + 'ns3::TagBuffer', + [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')]) + ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function] + cls.add_method('Add', + 'void', + [param('ns3::ByteTagList const &', 'o')]) + ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function] + cls.add_method('AddAtEnd', + 'void', + [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')]) + ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function] + cls.add_method('AddAtStart', + 'void', + [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')]) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function] + cls.add_method('Begin', + 'ns3::ByteTagList::Iterator', + [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], + is_const=True) + ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function] + cls.add_method('RemoveAll', + 'void', + []) + return + +def register_Ns3ByteTagListIterator_methods(root_module, cls): + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')]) + ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function] + cls.add_method('GetOffsetStart', + 'uint32_t', + [], + is_const=True) + ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function] + cls.add_method('Next', + 'ns3::ByteTagList::Iterator::Item', + []) + return + +def register_Ns3ByteTagListIteratorItem_methods(root_module, cls): + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')]) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor] + cls.add_constructor([param('ns3::TagBuffer', 'buf')]) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable] + cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable] + cls.add_instance_attribute('end', 'int32_t', is_const=False) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable] + cls.add_instance_attribute('size', 'uint32_t', is_const=False) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable] + cls.add_instance_attribute('start', 'int32_t', is_const=False) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable] + cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) return def register_Ns3CallbackBase_methods(root_module, cls): @@ -350,6 +961,51 @@ def register_Ns3CallbackBase_methods(root_module, cls): is_static=True, visibility='protected') return +def register_Ns3EventId_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('==') + ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EventId const &', 'arg0')]) + ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor] + cls.add_constructor([]) + ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')]) + ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_const=True) + ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function] + cls.add_method('GetTs', + 'uint64_t', + [], + is_const=True) + ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function] + cls.add_method('GetUid', + 'uint32_t', + [], + is_const=True) + ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function] + cls.add_method('IsExpired', + 'bool', + [], + is_const=True) + ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function] + cls.add_method('IsRunning', + 'bool', + [], + is_const=True) + ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] + cls.add_method('PeekEventImpl', + 'ns3::EventImpl *', + [], + is_const=True) + return + def register_Ns3Ipv4Address_methods(root_module, cls): cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') @@ -767,6 +1423,78 @@ def register_Ns3LogComponent_methods(root_module, cls): is_const=True) return +def register_Ns3Mac48Address_methods(root_module, cls): + cls.add_binary_comparison_operator('<') + cls.add_binary_comparison_operator('!=') + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')]) + ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address() [constructor] + cls.add_constructor([]) + ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(char const * str) [constructor] + cls.add_constructor([param('char const *', 'str')]) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function] + cls.add_method('Allocate', + 'ns3::Mac48Address', + [], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function] + cls.add_method('ConvertFrom', + 'ns3::Mac48Address', + [param('ns3::Address const &', 'address')], + is_static=True) + ## mac48-address.h (module 'network'): void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function] + cls.add_method('CopyFrom', + 'void', + [param('uint8_t const *', 'buffer')]) + ## mac48-address.h (module 'network'): void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function] + cls.add_method('CopyTo', + 'void', + [param('uint8_t *', 'buffer')], + is_const=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function] + cls.add_method('GetBroadcast', + 'ns3::Mac48Address', + [], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv4Address address) [member function] + cls.add_method('GetMulticast', + 'ns3::Mac48Address', + [param('ns3::Ipv4Address', 'address')], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv6Address address) [member function] + cls.add_method('GetMulticast', + 'ns3::Mac48Address', + [param('ns3::Ipv6Address', 'address')], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast6Prefix() [member function] + cls.add_method('GetMulticast6Prefix', + 'ns3::Mac48Address', + [], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticastPrefix() [member function] + cls.add_method('GetMulticastPrefix', + 'ns3::Mac48Address', + [], + is_static=True) + ## mac48-address.h (module 'network'): bool ns3::Mac48Address::IsBroadcast() const [member function] + cls.add_method('IsBroadcast', + 'bool', + [], + is_const=True) + ## mac48-address.h (module 'network'): bool ns3::Mac48Address::IsGroup() const [member function] + cls.add_method('IsGroup', + 'bool', + [], + is_const=True) + ## mac48-address.h (module 'network'): static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function] + cls.add_method('IsMatchingType', + 'bool', + [param('ns3::Address const &', 'address')], + is_static=True) + return + def register_Ns3NodeList_methods(root_module, cls): ## node-list.h (module 'network'): ns3::NodeList::NodeList() [constructor] cls.add_constructor([]) @@ -848,10 +1576,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -872,6 +1600,229 @@ def register_Ns3ObjectDeleter_methods(root_module, cls): is_static=True) return +def register_Ns3ObjectFactory_methods(root_module, cls): + cls.add_output_stream_operator() + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) + ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] + cls.add_method('Create', + 'ns3::Ptr< ns3::Object >', + [], + is_const=True) + ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_const=True) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('Set', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('ns3::TypeId', 'tid')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('char const *', 'tid')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('std::string', 'tid')]) + return + +def register_Ns3PacketMetadata_methods(root_module, cls): + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor] + cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor] + cls.add_constructor([param('ns3::PacketMetadata const &', 'o')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function] + cls.add_method('AddAtEnd', + 'void', + [param('ns3::PacketMetadata const &', 'o')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function] + cls.add_method('AddHeader', + 'void', + [param('ns3::Header const &', 'header'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function] + cls.add_method('AddPaddingAtEnd', + 'void', + [param('uint32_t', 'end')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function] + cls.add_method('AddTrailer', + 'void', + [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function] + cls.add_method('BeginItem', + 'ns3::PacketMetadata::ItemIterator', + [param('ns3::Buffer', 'buffer')], + is_const=True) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function] + cls.add_method('CreateFragment', + 'ns3::PacketMetadata', + [param('uint32_t', 'start'), param('uint32_t', 'end')], + is_const=True) + ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function] + cls.add_method('Enable', + 'void', + [], + is_static=True) + ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function] + cls.add_method('EnableChecking', + 'void', + [], + is_static=True) + ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function] + cls.add_method('GetUid', + 'uint64_t', + [], + is_const=True) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function] + cls.add_method('RemoveAtEnd', + 'void', + [param('uint32_t', 'end')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function] + cls.add_method('RemoveAtStart', + 'void', + [param('uint32_t', 'start')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function] + cls.add_method('RemoveHeader', + 'void', + [param('ns3::Header const &', 'header'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function] + cls.add_method('RemoveTrailer', + 'void', + [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] + cls.add_method('Serialize', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], + is_const=True) + return + +def register_Ns3PacketMetadataItem_methods(root_module, cls): + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor] + cls.add_constructor([]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable] + cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable] + cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable] + cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable] + cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable] + cls.add_instance_attribute('isFragment', 'bool', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable] + cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) + return + +def register_Ns3PacketMetadataItemIterator_methods(root_module, cls): + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor] + cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')]) + ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function] + cls.add_method('Next', + 'ns3::PacketMetadata::Item', + []) + return + +def register_Ns3PacketTagIterator_methods(root_module, cls): + ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')]) + ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function] + cls.add_method('Next', + 'ns3::PacketTagIterator::Item', + []) + return + +def register_Ns3PacketTagIteratorItem_methods(root_module, cls): + ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')]) + ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function] + cls.add_method('GetTag', + 'void', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_const=True) + return + +def register_Ns3PacketTagList_methods(root_module, cls): + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor] + cls.add_constructor([]) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor] + cls.add_constructor([param('ns3::PacketTagList const &', 'o')]) + ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function] + cls.add_method('Add', + 'void', + [param('ns3::Tag const &', 'tag')], + is_const=True) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function] + cls.add_method('Head', + 'ns3::PacketTagList::TagData const *', + [], + is_const=True) + ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function] + cls.add_method('Peek', + 'bool', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function] + cls.add_method('Remove', + 'bool', + [param('ns3::Tag &', 'tag')]) + ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function] + cls.add_method('RemoveAll', + 'void', + []) + return + +def register_Ns3PacketTagListTagData_methods(root_module, cls): + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor] + cls.add_constructor([]) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')]) + ## 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 [ 20 ]', 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::tid [variable] + cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) + return + def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -884,6 +1835,128 @@ def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods is_static=True) return +def register_Ns3Simulator_methods(root_module, cls): + ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) + ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static ns3::Ptr ns3::Simulator::GetImplementation() [member function] + cls.add_method('GetImplementation', + 'ns3::Ptr< ns3::SimulatorImpl >', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] + cls.add_method('SetImplementation', + 'void', + [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_static=True) + return + +def register_Ns3Tag_methods(root_module, cls): + ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] + cls.add_constructor([]) + ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Tag const &', 'arg0')]) + ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_pure_virtual=True, is_virtual=True) + ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3TagBuffer_methods(root_module, cls): ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor] cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')]) @@ -966,23 +2039,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -990,26 +2053,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1040,14 +2088,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1055,11 +2098,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1084,22 +2122,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1109,6 +2142,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1123,35 +2160,68 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + return + +def register_Ns3Vector2D_methods(root_module, cls): + cls.add_output_stream_operator() + ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector2D const &', 'arg0')]) + ## vector.h (module 'core'): ns3::Vector2D::Vector2D(double _x, double _y) [constructor] + cls.add_constructor([param('double', '_x'), param('double', '_y')]) + ## vector.h (module 'core'): ns3::Vector2D::Vector2D() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector2D::x [variable] + cls.add_instance_attribute('x', 'double', is_const=False) + ## vector.h (module 'core'): ns3::Vector2D::y [variable] + cls.add_instance_attribute('y', 'double', is_const=False) + return + +def register_Ns3Vector3D_methods(root_module, cls): + cls.add_output_stream_operator() + ## vector.h (module 'core'): ns3::Vector3D::Vector3D(ns3::Vector3D const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector3D const &', 'arg0')]) + ## vector.h (module 'core'): ns3::Vector3D::Vector3D(double _x, double _y, double _z) [constructor] + cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')]) + ## vector.h (module 'core'): ns3::Vector3D::Vector3D() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector3D::x [variable] + cls.add_instance_attribute('x', 'double', is_const=False) + ## vector.h (module 'core'): ns3::Vector3D::y [variable] + cls.add_instance_attribute('y', 'double', is_const=False) + ## vector.h (module 'core'): ns3::Vector3D::z [variable] + cls.add_instance_attribute('z', 'double', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1268,6 +2338,107 @@ def register_Ns3Int64x64_t_methods(root_module, cls): [param('ns3::int64x64_t const &', 'o')]) return +def register_Ns3AnimByteTag_methods(root_module, cls): + ## animation-interface.h (module 'netanim'): ns3::AnimByteTag::AnimByteTag() [constructor] + cls.add_constructor([]) + ## animation-interface.h (module 'netanim'): ns3::AnimByteTag::AnimByteTag(ns3::AnimByteTag const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AnimByteTag const &', 'arg0')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimByteTag::Deserialize(ns3::TagBuffer i) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_virtual=True) + ## animation-interface.h (module 'netanim'): uint64_t ns3::AnimByteTag::Get() const [member function] + cls.add_method('Get', + 'uint64_t', + [], + is_const=True) + ## animation-interface.h (module 'netanim'): ns3::TypeId ns3::AnimByteTag::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## animation-interface.h (module 'netanim'): uint32_t ns3::AnimByteTag::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## animation-interface.h (module 'netanim'): static ns3::TypeId ns3::AnimByteTag::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## animation-interface.h (module 'netanim'): void ns3::AnimByteTag::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## animation-interface.h (module 'netanim'): void ns3::AnimByteTag::Serialize(ns3::TagBuffer i) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_const=True, is_virtual=True) + ## animation-interface.h (module 'netanim'): void ns3::AnimByteTag::Set(uint64_t AnimUid) [member function] + cls.add_method('Set', + 'void', + [param('uint64_t', 'AnimUid')]) + return + +def register_Ns3Chunk_methods(root_module, cls): + ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor] + cls.add_constructor([]) + ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Chunk const &', 'arg0')]) + ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_pure_virtual=True, is_virtual=True) + ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + +def register_Ns3Header_methods(root_module, cls): + cls.add_output_stream_operator() + ## header.h (module 'network'): ns3::Header::Header() [constructor] + cls.add_constructor([]) + ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Header const &', 'arg0')]) + ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_pure_virtual=True, is_virtual=True) + ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Object_methods(root_module, cls): ## object.h (module 'core'): ns3::Object::Object() [constructor] cls.add_constructor([]) @@ -1382,6 +2553,54 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ is_static=True) return +def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__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::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__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::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -1538,6 +2757,66 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + +def register_Ns3Trailer_methods(root_module, cls): + cls.add_output_stream_operator() + ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] + cls.add_constructor([]) + ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Trailer const &', 'arg0')]) + ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'end')], + is_pure_virtual=True, is_virtual=True) + ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -1585,6 +2864,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -1693,6 +2977,30 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3EventImpl_methods(root_module, cls): + ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) + ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor] + cls.add_constructor([]) + ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function] + cls.add_method('Invoke', + 'void', + []) + ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function] + cls.add_method('IsCancelled', + 'bool', + []) + ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function] + cls.add_method('Notify', + 'void', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + return + def register_Ns3Ipv4AddressChecker_methods(root_module, cls): ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] cls.add_constructor([]) @@ -1853,6 +3161,97 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3Mac48AddressChecker_methods(root_module, cls): + ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] + cls.add_constructor([]) + ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')]) + return + +def register_Ns3Mac48AddressValue_methods(root_module, cls): + ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue() [constructor] + cls.add_constructor([]) + ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')]) + ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor] + cls.add_constructor([param('ns3::Mac48Address const &', 'value')]) + ## mac48-address.h (module 'network'): ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## mac48-address.h (module 'network'): bool ns3::Mac48AddressValue::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) + ## mac48-address.h (module 'network'): ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Mac48Address', + [], + is_const=True) + ## mac48-address.h (module 'network'): std::string ns3::Mac48AddressValue::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) + ## mac48-address.h (module 'network'): void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Mac48Address const &', 'value')]) + return + +def register_Ns3MobilityModel_methods(root_module, cls): + ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) + ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] + cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] + cls.add_method('GetDistanceFrom', + 'double', + [param('ns3::Ptr< ns3::MobilityModel const >', 'position')], + is_const=True) + ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetPosition() const [member function] + cls.add_method('GetPosition', + 'ns3::Vector', + [], + is_const=True) + ## mobility-model.h (module 'mobility'): static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetVelocity() const [member function] + cls.add_method('GetVelocity', + 'ns3::Vector', + [], + is_const=True) + ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function] + cls.add_method('SetPosition', + 'void', + [param('ns3::Vector const &', 'position')]) + ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::NotifyCourseChange() const [member function] + cls.add_method('NotifyCourseChange', + 'void', + [], + is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] + cls.add_method('DoGetPosition', + 'ns3::Vector', + [], + is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function] + cls.add_method('DoGetVelocity', + 'ns3::Vector', + [], + is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function] + cls.add_method('DoSetPosition', + 'void', + [param('ns3::Vector const &', 'position')], + is_pure_virtual=True, visibility='private', is_virtual=True) + return + def register_Ns3NetDevice_methods(root_module, cls): ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor] cls.add_constructor([]) @@ -1985,6 +3384,354 @@ def register_Ns3NetDevice_methods(root_module, cls): is_pure_virtual=True, is_const=True, 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] + cls.add_constructor([]) + ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor] + cls.add_constructor([param('ns3::NixVector const &', 'o')]) + ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function] + cls.add_method('AddNeighborIndex', + 'void', + [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')]) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function] + cls.add_method('BitCount', + 'uint32_t', + [param('uint32_t', 'numberOfNeighbors')], + is_const=True) + ## nix-vector.h (module 'network'): ns3::Ptr ns3::NixVector::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::NixVector >', + [], + is_const=True) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')]) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function] + cls.add_method('ExtractNeighborIndex', + 'uint32_t', + [param('uint32_t', 'numberOfBits')]) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function] + cls.add_method('GetRemainingBits', + 'uint32_t', + []) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function] + cls.add_method('Serialize', + 'uint32_t', + [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], + 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'): 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::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) + return + +def register_Ns3ObjectFactoryChecker_methods(root_module, cls): + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')]) + return + +def register_Ns3ObjectFactoryValue_methods(root_module, cls): + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor] + cls.add_constructor([param('ns3::ObjectFactory const &', 'value')]) + ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactoryValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::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) + ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function] + cls.add_method('Get', + 'ns3::ObjectFactory', + [], + is_const=True) + ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::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) + ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::ObjectFactory const &', 'value')]) + return + +def register_Ns3Packet_methods(root_module, cls): + cls.add_output_stream_operator() + ## packet.h (module 'network'): ns3::Packet::Packet() [constructor] + cls.add_constructor([]) + ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor] + cls.add_constructor([param('ns3::Packet const &', 'o')]) + ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor] + cls.add_constructor([param('uint32_t', 'size')]) + ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor] + cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')]) + ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor] + cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr packet) [member function] + cls.add_method('AddAtEnd', + 'void', + [param('ns3::Ptr< ns3::Packet const >', 'packet')]) + ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function] + cls.add_method('AddByteTag', + 'void', + [param('ns3::Tag const &', 'tag')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function] + cls.add_method('AddHeader', + 'void', + [param('ns3::Header const &', 'header')]) + ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function] + cls.add_method('AddPacketTag', + 'void', + [param('ns3::Tag const &', 'tag')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function] + cls.add_method('AddPaddingAtEnd', + 'void', + [param('uint32_t', 'size')]) + ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function] + cls.add_method('AddTrailer', + 'void', + [param('ns3::Trailer const &', 'trailer')]) + ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function] + cls.add_method('BeginItem', + 'ns3::PacketMetadata::ItemIterator', + [], + is_const=True) + ## packet.h (module 'network'): ns3::Ptr ns3::Packet::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::Packet >', + [], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function] + cls.add_method('CopyData', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function] + cls.add_method('CopyData', + 'void', + [param('std::ostream *', 'os'), param('uint32_t', 'size')], + is_const=True) + ## packet.h (module 'network'): ns3::Ptr ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function] + cls.add_method('CreateFragment', + 'ns3::Ptr< ns3::Packet >', + [param('uint32_t', 'start'), param('uint32_t', 'length')], + is_const=True) + ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function] + cls.add_method('EnableChecking', + 'void', + [], + is_static=True) + ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function] + cls.add_method('EnablePrinting', + 'void', + [], + is_static=True) + ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function] + cls.add_method('FindFirstMatchingByteTag', + 'bool', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function] + cls.add_method('GetByteTagIterator', + 'ns3::ByteTagIterator', + [], + is_const=True) + ## packet.h (module 'network'): ns3::Ptr ns3::Packet::GetNixVector() const [member function] + cls.add_method('GetNixVector', + 'ns3::Ptr< ns3::NixVector >', + [], + is_const=True) + ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function] + cls.add_method('GetPacketTagIterator', + 'ns3::PacketTagIterator', + [], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function] + cls.add_method('GetSize', + 'uint32_t', + [], + is_const=True) + ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function] + cls.add_method('GetUid', + 'uint64_t', + [], + is_const=True) + ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function] + cls.add_method('PeekData', + 'uint8_t const *', + [], + deprecated=True, is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function] + cls.add_method('PeekHeader', + 'uint32_t', + [param('ns3::Header &', 'header')], + is_const=True) + ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function] + cls.add_method('PeekPacketTag', + 'bool', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function] + cls.add_method('PeekTrailer', + 'uint32_t', + [param('ns3::Trailer &', 'trailer')]) + ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function] + cls.add_method('PrintByteTags', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function] + cls.add_method('PrintPacketTags', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function] + cls.add_method('RemoveAllByteTags', + 'void', + []) + ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function] + cls.add_method('RemoveAllPacketTags', + 'void', + []) + ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function] + cls.add_method('RemoveAtEnd', + 'void', + [param('uint32_t', 'size')]) + ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function] + cls.add_method('RemoveAtStart', + 'void', + [param('uint32_t', 'size')]) + ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function] + cls.add_method('RemoveHeader', + 'uint32_t', + [param('ns3::Header &', 'header')]) + ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function] + cls.add_method('RemovePacketTag', + 'bool', + [param('ns3::Tag &', 'tag')]) + ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function] + cls.add_method('RemoveTrailer', + 'uint32_t', + [param('ns3::Trailer &', 'trailer')]) + ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] + cls.add_method('Serialize', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr arg0) [member function] + cls.add_method('SetNixVector', + 'void', + [param('ns3::Ptr< ns3::NixVector >', 'arg0')]) + return + def register_Ns3TimeChecker_methods(root_module, cls): ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor] cls.add_constructor([]) @@ -2065,6 +3812,86 @@ def register_Ns3TypeIdValue_methods(root_module, cls): [param('ns3::TypeId const &', 'value')]) return +def register_Ns3Vector2DChecker_methods(root_module, cls): + ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker(ns3::Vector2DChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector2DChecker const &', 'arg0')]) + return + +def register_Ns3Vector2DValue_methods(root_module, cls): + ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2DValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector2DValue const &', 'arg0')]) + ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2D const & value) [constructor] + cls.add_constructor([param('ns3::Vector2D const &', 'value')]) + ## vector.h (module 'core'): ns3::Ptr ns3::Vector2DValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## vector.h (module 'core'): bool ns3::Vector2DValue::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) + ## vector.h (module 'core'): ns3::Vector2D ns3::Vector2DValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Vector2D', + [], + is_const=True) + ## vector.h (module 'core'): std::string ns3::Vector2DValue::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) + ## vector.h (module 'core'): void ns3::Vector2DValue::Set(ns3::Vector2D const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Vector2D const &', 'value')]) + return + +def register_Ns3Vector3DChecker_methods(root_module, cls): + ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker(ns3::Vector3DChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector3DChecker const &', 'arg0')]) + return + +def register_Ns3Vector3DValue_methods(root_module, cls): + ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3DValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector3DValue const &', 'arg0')]) + ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3D const & value) [constructor] + cls.add_constructor([param('ns3::Vector3D const &', 'value')]) + ## vector.h (module 'core'): ns3::Ptr ns3::Vector3DValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## vector.h (module 'core'): bool ns3::Vector3DValue::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) + ## vector.h (module 'core'): ns3::Vector3D ns3::Vector3DValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Vector3D', + [], + is_const=True) + ## vector.h (module 'core'): std::string ns3::Vector3DValue::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) + ## vector.h (module 'core'): void ns3::Vector3DValue::Set(ns3::Vector3D const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Vector3D const &', 'value')]) + return + def register_Ns3AddressChecker_methods(root_module, cls): ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor] cls.add_constructor([]) @@ -2105,11 +3932,74 @@ def register_Ns3AddressValue_methods(root_module, cls): [param('ns3::Address const &', 'value')]) return +def register_Ns3ConfigMatchContainer_methods(root_module, cls): + ## config.h (module 'core'): ns3::Config::MatchContainer::MatchContainer(ns3::Config::MatchContainer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Config::MatchContainer const &', 'arg0')]) + ## config.h (module 'core'): ns3::Config::MatchContainer::MatchContainer() [constructor] + cls.add_constructor([]) + ## config.h (module 'core'): ns3::Config::MatchContainer::MatchContainer(std::vector, std::allocator > > const & objects, std::vector > const & contexts, std::string path) [constructor] + cls.add_constructor([param('std::vector< ns3::Ptr< ns3::Object > > const &', 'objects'), param('std::vector< std::string > const &', 'contexts'), param('std::string', 'path')]) + ## config.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::Begin() const [member function] + cls.add_method('Begin', + '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', + [], + is_const=True) + ## config.h (module 'core'): void ns3::Config::MatchContainer::Connect(std::string name, ns3::CallbackBase const & cb) [member function] + cls.add_method('Connect', + 'void', + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) + ## config.h (module 'core'): void ns3::Config::MatchContainer::ConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] + cls.add_method('ConnectWithoutContext', + 'void', + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) + ## config.h (module 'core'): void ns3::Config::MatchContainer::Disconnect(std::string name, ns3::CallbackBase const & cb) [member function] + cls.add_method('Disconnect', + 'void', + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) + ## config.h (module 'core'): void ns3::Config::MatchContainer::DisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] + cls.add_method('DisconnectWithoutContext', + 'void', + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) + ## config.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::End() const [member function] + cls.add_method('End', + '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', + [], + is_const=True) + ## config.h (module 'core'): ns3::Ptr ns3::Config::MatchContainer::Get(uint32_t i) const [member function] + cls.add_method('Get', + 'ns3::Ptr< ns3::Object >', + [param('uint32_t', 'i')], + is_const=True) + ## config.h (module 'core'): std::string ns3::Config::MatchContainer::GetMatchedPath(uint32_t i) const [member function] + cls.add_method('GetMatchedPath', + 'std::string', + [param('uint32_t', 'i')], + is_const=True) + ## config.h (module 'core'): uint32_t ns3::Config::MatchContainer::GetN() const [member function] + cls.add_method('GetN', + 'uint32_t', + [], + is_const=True) + ## config.h (module 'core'): std::string ns3::Config::MatchContainer::GetPath() const [member function] + cls.add_method('GetPath', + 'std::string', + [], + is_const=True) + ## config.h (module 'core'): void ns3::Config::MatchContainer::Set(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('Set', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + def register_functions(root_module): module = root_module + register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) return +def register_functions_ns3_Config(module, root_module): + return + def register_functions_ns3_FatalImpl(module, root_module): return diff --git a/src/netanim/bindings/modulegen__gcc_LP64.py b/src/netanim/bindings/modulegen__gcc_LP64.py index 9af2478b6..e971f15df 100644 --- a/src/netanim/bindings/modulegen__gcc_LP64.py +++ b/src/netanim/bindings/modulegen__gcc_LP64.py @@ -26,12 +26,34 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo [class] + module.add_class('AnimPacketInfo') + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo [class] + module.add_class('AnimRxInfo') ## animation-interface.h (module 'netanim'): ns3::AnimationInterface [class] module.add_class('AnimationInterface') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) + ## buffer.h (module 'network'): ns3::Buffer [class] + module.add_class('Buffer', import_from_module='ns.network') + ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] + module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::Buffer']) + ## packet.h (module 'network'): ns3::ByteTagIterator [class] + module.add_class('ByteTagIterator', import_from_module='ns.network') + ## packet.h (module 'network'): ns3::ByteTagIterator::Item [class] + module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagIterator']) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList [class] + module.add_class('ByteTagList', import_from_module='ns.network') + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator [class] + module.add_class('Iterator', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList']) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item [struct] + module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::ByteTagList::Iterator']) ## callback.h (module 'core'): ns3::CallbackBase [class] module.add_class('CallbackBase', import_from_module='ns.core') + ## event-id.h (module 'core'): ns3::EventId [class] + module.add_class('EventId', import_from_module='ns.core') ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] module.add_class('Ipv4Address', import_from_module='ns.network') ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] @@ -46,28 +68,64 @@ def register_types(module): module.add_class('Ipv6Prefix', import_from_module='ns.network') ## log.h (module 'core'): ns3::LogComponent [class] module.add_class('LogComponent', import_from_module='ns.core') + ## mac48-address.h (module 'network'): ns3::Mac48Address [class] + module.add_class('Mac48Address', import_from_module='ns.network') + ## mac48-address.h (module 'network'): ns3::Mac48Address [class] + root_module['ns3::Mac48Address'].implicitly_converts_to(root_module['ns3::Address']) ## node-list.h (module 'network'): ns3::NodeList [class] module.add_class('NodeList', import_from_module='ns.network') ## object-base.h (module 'core'): ns3::ObjectBase [class] module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core') ## object.h (module 'core'): ns3::ObjectDeleter [struct] module.add_class('ObjectDeleter', import_from_module='ns.core') + ## object-factory.h (module 'core'): ns3::ObjectFactory [class] + module.add_class('ObjectFactory', import_from_module='ns.core') + ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class] + module.add_class('PacketMetadata', import_from_module='ns.network') + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct] + module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata']) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [enumeration] + module.add_enum('', ['PAYLOAD', 'HEADER', 'TRAILER'], outer_class=root_module['ns3::PacketMetadata::Item'], import_from_module='ns.network') + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator [class] + module.add_class('ItemIterator', import_from_module='ns.network', outer_class=root_module['ns3::PacketMetadata']) + ## packet.h (module 'network'): ns3::PacketTagIterator [class] + module.add_class('PacketTagIterator', import_from_module='ns.network') + ## packet.h (module 'network'): ns3::PacketTagIterator::Item [class] + module.add_class('Item', import_from_module='ns.network', outer_class=root_module['ns3::PacketTagIterator']) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList [class] + 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']) ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator.h (module 'core'): ns3::Simulator [class] + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') + ## tag.h (module 'network'): ns3::Tag [class] + module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] module.add_class('TagBuffer', import_from_module='ns.network') ## 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] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## vector.h (module 'core'): ns3::Vector2D [class] + module.add_class('Vector2D', import_from_module='ns.core') + ## vector.h (module 'core'): ns3::Vector3D [class] + module.add_class('Vector3D', import_from_module='ns.core') ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] module.add_class('int64x64_t', import_from_module='ns.core') + ## animation-interface.h (module 'netanim'): ns3::AnimByteTag [class] + module.add_class('AnimByteTag', parent=root_module['ns3::Tag']) + ## chunk.h (module 'network'): ns3::Chunk [class] + module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) + ## header.h (module 'network'): ns3::Header [class] + module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## object.h (module 'core'): ns3::Object [class] 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] @@ -80,12 +138,24 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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::EventImpl', '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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) + ## 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] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -100,6 +170,8 @@ def register_types(module): module.add_class('CallbackValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class] module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## event-impl.h (module 'core'): ns3::EventImpl [class] + module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] module.add_class('Ipv4AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressValue [class] @@ -116,10 +188,26 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] + module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) + ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] + module.add_class('Mac48AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class] + module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object']) ## net-device.h (module 'network'): ns3::NetDevice [class] 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') + ## 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']) + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class] + module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class] + module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## 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 >']) ## nstime.h (module 'core'): ns3::TimeChecker [class] module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## nstime.h (module 'core'): ns3::TimeValue [class] @@ -128,16 +216,43 @@ def register_types(module): 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']) + ## vector.h (module 'core'): ns3::Vector2DChecker [class] + module.add_class('Vector2DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## vector.h (module 'core'): ns3::Vector2DValue [class] + module.add_class('Vector2DValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## vector.h (module 'core'): ns3::Vector3DChecker [class] + module.add_class('Vector3DChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## vector.h (module 'core'): ns3::Vector3DValue [class] + module.add_class('Vector3DValue', 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']) + module.add_container('std::map< unsigned int, ns3::AnimRxInfo >', ('unsigned int', 'ns3::AnimRxInfo'), container_type='map') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogTimePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogTimePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogTimePrinter&') + typehandlers.add_type_alias('ns3::Vector3DValue', 'ns3::VectorValue') + typehandlers.add_type_alias('ns3::Vector3DValue*', 'ns3::VectorValue*') + typehandlers.add_type_alias('ns3::Vector3DValue&', 'ns3::VectorValue&') + module.add_typedef(root_module['ns3::Vector3DValue'], 'VectorValue') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *', 'ns3::LogNodePrinter') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) **', 'ns3::LogNodePrinter*') typehandlers.add_type_alias('void ( * ) ( std::ostream & ) *&', 'ns3::LogNodePrinter&') + typehandlers.add_type_alias('ns3::Vector3D', 'ns3::Vector') + typehandlers.add_type_alias('ns3::Vector3D*', 'ns3::Vector*') + typehandlers.add_type_alias('ns3::Vector3D&', 'ns3::Vector&') + module.add_typedef(root_module['ns3::Vector3D'], 'Vector') + typehandlers.add_type_alias('ns3::Vector3DChecker', 'ns3::VectorChecker') + typehandlers.add_type_alias('ns3::Vector3DChecker*', 'ns3::VectorChecker*') + typehandlers.add_type_alias('ns3::Vector3DChecker&', 'ns3::VectorChecker&') + module.add_typedef(root_module['ns3::Vector3DChecker'], 'VectorChecker') + + ## Register a nested module for the namespace Config + + nested_module = module.add_cpp_namespace('Config') + register_types_ns3_Config(nested_module) + ## Register a nested module for the namespace FatalImpl @@ -145,37 +260,78 @@ def register_types(module): register_types_ns3_FatalImpl(nested_module) +def register_types_ns3_Config(module): + root_module = module.get_root() + + ## config.h (module 'core'): ns3::Config::MatchContainer [class] + module.add_class('MatchContainer', import_from_module='ns.core') + module.add_container('std::vector< ns3::Ptr< ns3::Object > >', 'ns3::Ptr< ns3::Object >', container_type='vector') + module.add_container('std::vector< std::string >', 'std::string', container_type='vector') + def register_types_ns3_FatalImpl(module): root_module = module.get_root() def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) + register_Ns3AnimPacketInfo_methods(root_module, root_module['ns3::AnimPacketInfo']) + register_Ns3AnimRxInfo_methods(root_module, root_module['ns3::AnimRxInfo']) register_Ns3AnimationInterface_methods(root_module, root_module['ns3::AnimationInterface']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) + register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) + register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) + register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) + register_Ns3ByteTagIteratorItem_methods(root_module, root_module['ns3::ByteTagIterator::Item']) + register_Ns3ByteTagList_methods(root_module, root_module['ns3::ByteTagList']) + register_Ns3ByteTagListIterator_methods(root_module, root_module['ns3::ByteTagList::Iterator']) + register_Ns3ByteTagListIteratorItem_methods(root_module, root_module['ns3::ByteTagList::Iterator::Item']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) + register_Ns3EventId_methods(root_module, root_module['ns3::EventId']) register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) register_Ns3Ipv6Address_methods(root_module, root_module['ns3::Ipv6Address']) register_Ns3Ipv6Prefix_methods(root_module, root_module['ns3::Ipv6Prefix']) register_Ns3LogComponent_methods(root_module, root_module['ns3::LogComponent']) + register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address']) register_Ns3NodeList_methods(root_module, root_module['ns3::NodeList']) register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) + register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) + register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata']) + register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item']) + register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator']) + register_Ns3PacketTagIterator_methods(root_module, root_module['ns3::PacketTagIterator']) + register_Ns3PacketTagIteratorItem_methods(root_module, root_module['ns3::PacketTagIterator::Item']) + register_Ns3PacketTagList_methods(root_module, root_module['ns3::PacketTagList']) + register_Ns3PacketTagListTagData_methods(root_module, root_module['ns3::PacketTagList::TagData']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) + register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) + register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) + register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) + register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) + register_Ns3AnimByteTag_methods(root_module, root_module['ns3::AnimByteTag']) + register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) + register_Ns3Header_methods(root_module, root_module['ns3::Header']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, ns3::empty, ns3::DefaultDeleter >']) + register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) + 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']) @@ -183,6 +339,7 @@ def register_methods(root_module): register_Ns3CallbackImplBase_methods(root_module, root_module['ns3::CallbackImplBase']) register_Ns3CallbackValue_methods(root_module, root_module['ns3::CallbackValue']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) + register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) register_Ns3Ipv4MaskChecker_methods(root_module, root_module['ns3::Ipv4MaskChecker']) @@ -191,13 +348,26 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) + register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) + register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) + register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) + register_Ns3Node_methods(root_module, root_module['ns3::Node']) + register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) + register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) + register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) 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_Ns3Vector2DChecker_methods(root_module, root_module['ns3::Vector2DChecker']) + register_Ns3Vector2DValue_methods(root_module, root_module['ns3::Vector2DValue']) + register_Ns3Vector3DChecker_methods(root_module, root_module['ns3::Vector3DChecker']) + register_Ns3Vector3DValue_methods(root_module, root_module['ns3::Vector3DValue']) register_Ns3AddressChecker_methods(root_module, root_module['ns3::AddressChecker']) register_Ns3AddressValue_methods(root_module, root_module['ns3::AddressValue']) + register_Ns3ConfigMatchContainer_methods(root_module, root_module['ns3::Config::MatchContainer']) return def register_Ns3Address_methods(root_module, cls): @@ -270,19 +440,109 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return +def register_Ns3AnimPacketInfo_methods(root_module, cls): + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::AnimPacketInfo(ns3::AnimPacketInfo const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AnimPacketInfo const &', 'arg0')]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::AnimPacketInfo() [constructor] + cls.add_constructor([]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::AnimPacketInfo(ns3::Ptr tx_nd, ns3::Time const & fbTx, ns3::Time const & lbTx, ns3::Vector txLoc) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::NetDevice const >', 'tx_nd'), param('ns3::Time const &', 'fbTx'), param('ns3::Time const &', 'lbTx'), param('ns3::Vector', 'txLoc')]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo ns3::AnimPacketInfo::GetRxInfo(ns3::Ptr nd) [member function] + cls.add_method('GetRxInfo', + 'ns3::AnimRxInfo', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd')]) + ## animation-interface-helper.h (module 'netanim'): void ns3::AnimPacketInfo::ProcessRxBegin(ns3::Ptr nd, ns3::Time const & fbRx) [member function] + cls.add_method('ProcessRxBegin', + 'void', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd'), param('ns3::Time const &', 'fbRx')]) + ## animation-interface-helper.h (module 'netanim'): void ns3::AnimPacketInfo::ProcessRxDrop(ns3::Ptr nd) [member function] + cls.add_method('ProcessRxDrop', + 'void', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd')]) + ## animation-interface-helper.h (module 'netanim'): bool ns3::AnimPacketInfo::ProcessRxEnd(ns3::Ptr nd, ns3::Time const & fbRx, ns3::Vector rxLoc) [member function] + cls.add_method('ProcessRxEnd', + 'bool', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd'), param('ns3::Time const &', 'fbRx'), param('ns3::Vector', 'rxLoc')]) + ## animation-interface-helper.h (module 'netanim'): void ns3::AnimPacketInfo::RemoveRxInfo(ns3::Ptr nd) [member function] + cls.add_method('RemoveRxInfo', + 'void', + [param('ns3::Ptr< ns3::NetDevice const >', 'nd')]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::firstlastbitDelta [variable] + cls.add_instance_attribute('firstlastbitDelta', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_fbTx [variable] + cls.add_instance_attribute('m_fbTx', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_lbTx [variable] + cls.add_instance_attribute('m_lbTx', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_rx [variable] + cls.add_instance_attribute('m_rx', 'std::map< unsigned int, ns3::AnimRxInfo >', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_txLoc [variable] + cls.add_instance_attribute('m_txLoc', 'ns3::Vector', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimPacketInfo::m_txnd [variable] + cls.add_instance_attribute('m_txnd', 'ns3::Ptr< ns3::NetDevice const >', is_const=False) + return + +def register_Ns3AnimRxInfo_methods(root_module, cls): + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::AnimRxInfo(ns3::AnimRxInfo const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AnimRxInfo const &', 'arg0')]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::AnimRxInfo() [constructor] + cls.add_constructor([]) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::AnimRxInfo(ns3::Time const & fbRx, ns3::Ptr nd, double rxRange) [constructor] + cls.add_constructor([param('ns3::Time const &', 'fbRx'), param('ns3::Ptr< ns3::NetDevice const >', 'nd'), param('double', 'rxRange')]) + ## animation-interface-helper.h (module 'netanim'): bool ns3::AnimRxInfo::IsPhyRxComplete() [member function] + cls.add_method('IsPhyRxComplete', + 'bool', + []) + ## animation-interface-helper.h (module 'netanim'): void ns3::AnimRxInfo::SetPhyRxComplete() [member function] + cls.add_method('SetPhyRxComplete', + 'void', + []) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::m_fbRx [variable] + cls.add_instance_attribute('m_fbRx', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::m_lbRx [variable] + cls.add_instance_attribute('m_lbRx', 'double', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::m_rxnd [variable] + cls.add_instance_attribute('m_rxnd', 'ns3::Ptr< ns3::NetDevice const >', is_const=False) + ## animation-interface-helper.h (module 'netanim'): ns3::AnimRxInfo::rxRange [variable] + cls.add_instance_attribute('rxRange', 'double', is_const=False) + return + def register_Ns3AnimationInterface_methods(root_module, cls): ## animation-interface.h (module 'netanim'): ns3::AnimationInterface::AnimationInterface(ns3::AnimationInterface const & arg0) [copy constructor] cls.add_constructor([param('ns3::AnimationInterface const &', 'arg0')]) ## animation-interface.h (module 'netanim'): ns3::AnimationInterface::AnimationInterface() [constructor] cls.add_constructor([]) + ## animation-interface.h (module 'netanim'): ns3::AnimationInterface::AnimationInterface(std::string const filename, bool usingXML=true) [constructor] + cls.add_constructor([param('std::string const', 'filename'), param('bool', 'usingXML', default_value='true')]) + ## animation-interface.h (module 'netanim'): ns3::AnimationInterface::AnimationInterface(uint16_t port, bool usingXML=true) [constructor] + cls.add_constructor([param('uint16_t', 'port'), param('bool', 'usingXML', default_value='true')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::ResetAnimWriteCallback() [member function] + cls.add_method('ResetAnimWriteCallback', + 'void', + []) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::SetAnimWriteCallback(void (*)( char const * ) * cb) [member function] + cls.add_method('SetAnimWriteCallback', + 'void', + [param('void ( * ) ( char const * ) *', 'cb')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::SetMobilityPollInterval(ns3::Time t) [member function] + cls.add_method('SetMobilityPollInterval', + 'void', + [param('ns3::Time', 't')]) ## animation-interface.h (module 'netanim'): bool ns3::AnimationInterface::SetOutputFile(std::string const & fn) [member function] cls.add_method('SetOutputFile', 'bool', [param('std::string const &', 'fn')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::SetRandomPosition(bool setRandPos) [member function] + cls.add_method('SetRandomPosition', + 'void', + [param('bool', 'setRandPos')]) ## animation-interface.h (module 'netanim'): bool ns3::AnimationInterface::SetServerPort(uint16_t port) [member function] cls.add_method('SetServerPort', 'bool', [param('uint16_t', 'port')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::SetXMLOutput() [member function] + cls.add_method('SetXMLOutput', + 'void', + []) ## animation-interface.h (module 'netanim'): void ns3::AnimationInterface::StartAnimation() [member function] cls.add_method('StartAnimation', 'void', @@ -293,41 +553,392 @@ def register_Ns3AnimationInterface_methods(root_module, cls): []) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) + return + +def register_Ns3Buffer_methods(root_module, cls): + ## buffer.h (module 'network'): ns3::Buffer::Buffer() [constructor] + cls.add_constructor([]) + ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize) [constructor] + cls.add_constructor([param('uint32_t', 'dataSize')]) + ## buffer.h (module 'network'): ns3::Buffer::Buffer(uint32_t dataSize, bool initialize) [constructor] + cls.add_constructor([param('uint32_t', 'dataSize'), param('bool', 'initialize')]) + ## buffer.h (module 'network'): ns3::Buffer::Buffer(ns3::Buffer const & o) [copy constructor] + cls.add_constructor([param('ns3::Buffer const &', 'o')]) + ## buffer.h (module 'network'): bool ns3::Buffer::AddAtEnd(uint32_t end) [member function] + cls.add_method('AddAtEnd', 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', + [param('uint32_t', 'end')]) + ## buffer.h (module 'network'): void ns3::Buffer::AddAtEnd(ns3::Buffer const & o) [member function] + cls.add_method('AddAtEnd', 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + [param('ns3::Buffer const &', 'o')]) + ## buffer.h (module 'network'): bool ns3::Buffer::AddAtStart(uint32_t start) [member function] + cls.add_method('AddAtStart', + 'bool', + [param('uint32_t', 'start')]) + ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::Begin() const [member function] + cls.add_method('Begin', + 'ns3::Buffer::Iterator', + [], + is_const=True) + ## buffer.h (module 'network'): void ns3::Buffer::CopyData(std::ostream * os, uint32_t size) const [member function] + cls.add_method('CopyData', + 'void', + [param('std::ostream *', 'os'), param('uint32_t', 'size')], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::CopyData(uint8_t * buffer, uint32_t size) const [member function] + cls.add_method('CopyData', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], + is_const=True) + ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFragment(uint32_t start, uint32_t length) const [member function] + cls.add_method('CreateFragment', + 'ns3::Buffer', + [param('uint32_t', 'start'), param('uint32_t', 'length')], + is_const=True) + ## buffer.h (module 'network'): ns3::Buffer ns3::Buffer::CreateFullCopy() const [member function] + cls.add_method('CreateFullCopy', + 'ns3::Buffer', + [], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Deserialize(uint8_t const * buffer, uint32_t size) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## buffer.h (module 'network'): ns3::Buffer::Iterator ns3::Buffer::End() const [member function] + cls.add_method('End', + 'ns3::Buffer::Iterator', + [], + is_const=True) + ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentEndOffset() const [member function] + cls.add_method('GetCurrentEndOffset', + 'int32_t', + [], + is_const=True) + ## buffer.h (module 'network'): int32_t ns3::Buffer::GetCurrentStartOffset() const [member function] + cls.add_method('GetCurrentStartOffset', + 'int32_t', + [], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::GetSize() const [member function] + cls.add_method('GetSize', + 'uint32_t', + [], + is_const=True) + ## buffer.h (module 'network'): uint8_t const * ns3::Buffer::PeekData() const [member function] + cls.add_method('PeekData', + 'uint8_t const *', + [], + is_const=True) + ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtEnd(uint32_t end) [member function] + cls.add_method('RemoveAtEnd', + 'void', + [param('uint32_t', 'end')]) + ## buffer.h (module 'network'): void ns3::Buffer::RemoveAtStart(uint32_t start) [member function] + cls.add_method('RemoveAtStart', + 'void', + [param('uint32_t', 'start')]) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] + cls.add_method('Serialize', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], + is_const=True) + return + +def register_Ns3BufferIterator_methods(root_module, cls): + ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator(ns3::Buffer::Iterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Buffer::Iterator const &', 'arg0')]) + ## buffer.h (module 'network'): ns3::Buffer::Iterator::Iterator() [constructor] + cls.add_constructor([]) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size) [member function] + cls.add_method('CalculateIpChecksum', + 'uint16_t', + [param('uint16_t', 'size')]) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::CalculateIpChecksum(uint16_t size, uint32_t initialChecksum) [member function] + cls.add_method('CalculateIpChecksum', + 'uint16_t', + [param('uint16_t', 'size'), param('uint32_t', 'initialChecksum')]) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetDistanceFrom(ns3::Buffer::Iterator const & o) const [member function] + cls.add_method('GetDistanceFrom', + 'uint32_t', + [param('ns3::Buffer::Iterator const &', 'o')], + is_const=True) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::GetSize() const [member function] + cls.add_method('GetSize', + 'uint32_t', + [], + is_const=True) + ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsEnd() const [member function] + cls.add_method('IsEnd', + 'bool', + [], + is_const=True) + ## buffer.h (module 'network'): bool ns3::Buffer::Iterator::IsStart() const [member function] + cls.add_method('IsStart', + 'bool', + [], + is_const=True) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next() [member function] + cls.add_method('Next', + 'void', + []) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Next(uint32_t delta) [member function] + cls.add_method('Next', + 'void', + [param('uint32_t', 'delta')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev() [member function] + cls.add_method('Prev', + 'void', + []) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Prev(uint32_t delta) [member function] + cls.add_method('Prev', + 'void', + [param('uint32_t', 'delta')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Read(uint8_t * buffer, uint32_t size) [member function] + cls.add_method('Read', + 'void', + [param('uint8_t *', 'buffer'), param('uint32_t', 'size')]) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadLsbtohU16() [member function] + cls.add_method('ReadLsbtohU16', + 'uint16_t', + []) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadLsbtohU32() [member function] + cls.add_method('ReadLsbtohU32', + 'uint32_t', + []) + ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadLsbtohU64() [member function] + cls.add_method('ReadLsbtohU64', + 'uint64_t', + []) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadNtohU16() [member function] + cls.add_method('ReadNtohU16', + 'uint16_t', + []) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadNtohU32() [member function] + cls.add_method('ReadNtohU32', + 'uint32_t', + []) + ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadNtohU64() [member function] + cls.add_method('ReadNtohU64', + 'uint64_t', + []) + ## buffer.h (module 'network'): uint16_t ns3::Buffer::Iterator::ReadU16() [member function] + cls.add_method('ReadU16', + 'uint16_t', + []) + ## buffer.h (module 'network'): uint32_t ns3::Buffer::Iterator::ReadU32() [member function] + cls.add_method('ReadU32', + 'uint32_t', + []) + ## buffer.h (module 'network'): uint64_t ns3::Buffer::Iterator::ReadU64() [member function] + cls.add_method('ReadU64', + 'uint64_t', + []) + ## buffer.h (module 'network'): uint8_t ns3::Buffer::Iterator::ReadU8() [member function] + cls.add_method('ReadU8', + 'uint8_t', + []) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(uint8_t const * buffer, uint32_t size) [member function] + cls.add_method('Write', + 'void', + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::Write(ns3::Buffer::Iterator start, ns3::Buffer::Iterator end) [member function] + cls.add_method('Write', + 'void', + [param('ns3::Buffer::Iterator', 'start'), param('ns3::Buffer::Iterator', 'end')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU16(uint16_t data) [member function] + cls.add_method('WriteHtolsbU16', + 'void', + [param('uint16_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU32(uint32_t data) [member function] + cls.add_method('WriteHtolsbU32', + 'void', + [param('uint32_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtolsbU64(uint64_t data) [member function] + cls.add_method('WriteHtolsbU64', + 'void', + [param('uint64_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU16(uint16_t data) [member function] + cls.add_method('WriteHtonU16', + 'void', + [param('uint16_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU32(uint32_t data) [member function] + cls.add_method('WriteHtonU32', + 'void', + [param('uint32_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteHtonU64(uint64_t data) [member function] + cls.add_method('WriteHtonU64', + 'void', + [param('uint64_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU16(uint16_t data) [member function] + cls.add_method('WriteU16', + 'void', + [param('uint16_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU32(uint32_t data) [member function] + cls.add_method('WriteU32', + 'void', + [param('uint32_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU64(uint64_t data) [member function] + cls.add_method('WriteU64', + 'void', + [param('uint64_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data) [member function] + cls.add_method('WriteU8', + 'void', + [param('uint8_t', 'data')]) + ## buffer.h (module 'network'): void ns3::Buffer::Iterator::WriteU8(uint8_t data, uint32_t len) [member function] + cls.add_method('WriteU8', + 'void', + [param('uint8_t', 'data'), param('uint32_t', 'len')]) + return + +def register_Ns3ByteTagIterator_methods(root_module, cls): + ## packet.h (module 'network'): ns3::ByteTagIterator::ByteTagIterator(ns3::ByteTagIterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ByteTagIterator const &', 'arg0')]) + ## packet.h (module 'network'): bool ns3::ByteTagIterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## packet.h (module 'network'): ns3::ByteTagIterator::Item ns3::ByteTagIterator::Next() [member function] + cls.add_method('Next', + 'ns3::ByteTagIterator::Item', + []) + return + +def register_Ns3ByteTagIteratorItem_methods(root_module, cls): + ## packet.h (module 'network'): ns3::ByteTagIterator::Item::Item(ns3::ByteTagIterator::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ByteTagIterator::Item const &', 'arg0')]) + ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetEnd() const [member function] + cls.add_method('GetEnd', + 'uint32_t', + [], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::ByteTagIterator::Item::GetStart() const [member function] + cls.add_method('GetStart', + 'uint32_t', + [], + is_const=True) + ## packet.h (module 'network'): void ns3::ByteTagIterator::Item::GetTag(ns3::Tag & tag) const [member function] + cls.add_method('GetTag', + 'void', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet.h (module 'network'): ns3::TypeId ns3::ByteTagIterator::Item::GetTypeId() const [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_const=True) + return + +def register_Ns3ByteTagList_methods(root_module, cls): + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList() [constructor] + cls.add_constructor([]) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::ByteTagList(ns3::ByteTagList const & o) [copy constructor] + cls.add_constructor([param('ns3::ByteTagList const &', 'o')]) + ## byte-tag-list.h (module 'network'): ns3::TagBuffer ns3::ByteTagList::Add(ns3::TypeId tid, uint32_t bufferSize, int32_t start, int32_t end) [member function] + cls.add_method('Add', + 'ns3::TagBuffer', + [param('ns3::TypeId', 'tid'), param('uint32_t', 'bufferSize'), param('int32_t', 'start'), param('int32_t', 'end')]) + ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::Add(ns3::ByteTagList const & o) [member function] + cls.add_method('Add', + 'void', + [param('ns3::ByteTagList const &', 'o')]) + ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtEnd(int32_t adjustment, int32_t appendOffset) [member function] + cls.add_method('AddAtEnd', + 'void', + [param('int32_t', 'adjustment'), param('int32_t', 'appendOffset')]) + ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::AddAtStart(int32_t adjustment, int32_t prependOffset) [member function] + cls.add_method('AddAtStart', + 'void', + [param('int32_t', 'adjustment'), param('int32_t', 'prependOffset')]) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator ns3::ByteTagList::Begin(int32_t offsetStart, int32_t offsetEnd) const [member function] + cls.add_method('Begin', + 'ns3::ByteTagList::Iterator', + [param('int32_t', 'offsetStart'), param('int32_t', 'offsetEnd')], + is_const=True) + ## byte-tag-list.h (module 'network'): void ns3::ByteTagList::RemoveAll() [member function] + cls.add_method('RemoveAll', + 'void', + []) + return + +def register_Ns3ByteTagListIterator_methods(root_module, cls): + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Iterator(ns3::ByteTagList::Iterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ByteTagList::Iterator const &', 'arg0')]) + ## byte-tag-list.h (module 'network'): uint32_t ns3::ByteTagList::Iterator::GetOffsetStart() const [member function] + cls.add_method('GetOffsetStart', + 'uint32_t', + [], + is_const=True) + ## byte-tag-list.h (module 'network'): bool ns3::ByteTagList::Iterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item ns3::ByteTagList::Iterator::Next() [member function] + cls.add_method('Next', + 'ns3::ByteTagList::Iterator::Item', + []) + return + +def register_Ns3ByteTagListIteratorItem_methods(root_module, cls): + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::ByteTagList::Iterator::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ByteTagList::Iterator::Item const &', 'arg0')]) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::Item(ns3::TagBuffer buf) [constructor] + cls.add_constructor([param('ns3::TagBuffer', 'buf')]) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::buf [variable] + cls.add_instance_attribute('buf', 'ns3::TagBuffer', is_const=False) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::end [variable] + cls.add_instance_attribute('end', 'int32_t', is_const=False) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::size [variable] + cls.add_instance_attribute('size', 'uint32_t', is_const=False) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::start [variable] + cls.add_instance_attribute('start', 'int32_t', is_const=False) + ## byte-tag-list.h (module 'network'): ns3::ByteTagList::Iterator::Item::tid [variable] + cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) return def register_Ns3CallbackBase_methods(root_module, cls): @@ -350,6 +961,51 @@ def register_Ns3CallbackBase_methods(root_module, cls): is_static=True, visibility='protected') return +def register_Ns3EventId_methods(root_module, cls): + cls.add_binary_comparison_operator('!=') + cls.add_binary_comparison_operator('==') + ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::EventId const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EventId const &', 'arg0')]) + ## event-id.h (module 'core'): ns3::EventId::EventId() [constructor] + cls.add_constructor([]) + ## event-id.h (module 'core'): ns3::EventId::EventId(ns3::Ptr const & impl, uint64_t ts, uint32_t context, uint32_t uid) [constructor] + cls.add_constructor([param('ns3::Ptr< ns3::EventImpl > const &', 'impl'), param('uint64_t', 'ts'), param('uint32_t', 'context'), param('uint32_t', 'uid')]) + ## event-id.h (module 'core'): void ns3::EventId::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## event-id.h (module 'core'): uint32_t ns3::EventId::GetContext() const [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_const=True) + ## event-id.h (module 'core'): uint64_t ns3::EventId::GetTs() const [member function] + cls.add_method('GetTs', + 'uint64_t', + [], + is_const=True) + ## event-id.h (module 'core'): uint32_t ns3::EventId::GetUid() const [member function] + cls.add_method('GetUid', + 'uint32_t', + [], + is_const=True) + ## event-id.h (module 'core'): bool ns3::EventId::IsExpired() const [member function] + cls.add_method('IsExpired', + 'bool', + [], + is_const=True) + ## event-id.h (module 'core'): bool ns3::EventId::IsRunning() const [member function] + cls.add_method('IsRunning', + 'bool', + [], + is_const=True) + ## event-id.h (module 'core'): ns3::EventImpl * ns3::EventId::PeekEventImpl() const [member function] + cls.add_method('PeekEventImpl', + 'ns3::EventImpl *', + [], + is_const=True) + return + def register_Ns3Ipv4Address_methods(root_module, cls): cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') @@ -767,6 +1423,78 @@ def register_Ns3LogComponent_methods(root_module, cls): is_const=True) return +def register_Ns3Mac48Address_methods(root_module, cls): + cls.add_binary_comparison_operator('<') + cls.add_binary_comparison_operator('!=') + cls.add_output_stream_operator() + cls.add_binary_comparison_operator('==') + ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(ns3::Mac48Address const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48Address const &', 'arg0')]) + ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address() [constructor] + cls.add_constructor([]) + ## mac48-address.h (module 'network'): ns3::Mac48Address::Mac48Address(char const * str) [constructor] + cls.add_constructor([param('char const *', 'str')]) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::Allocate() [member function] + cls.add_method('Allocate', + 'ns3::Mac48Address', + [], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::ConvertFrom(ns3::Address const & address) [member function] + cls.add_method('ConvertFrom', + 'ns3::Mac48Address', + [param('ns3::Address const &', 'address')], + is_static=True) + ## mac48-address.h (module 'network'): void ns3::Mac48Address::CopyFrom(uint8_t const * buffer) [member function] + cls.add_method('CopyFrom', + 'void', + [param('uint8_t const *', 'buffer')]) + ## mac48-address.h (module 'network'): void ns3::Mac48Address::CopyTo(uint8_t * buffer) const [member function] + cls.add_method('CopyTo', + 'void', + [param('uint8_t *', 'buffer')], + is_const=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetBroadcast() [member function] + cls.add_method('GetBroadcast', + 'ns3::Mac48Address', + [], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv4Address address) [member function] + cls.add_method('GetMulticast', + 'ns3::Mac48Address', + [param('ns3::Ipv4Address', 'address')], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast(ns3::Ipv6Address address) [member function] + cls.add_method('GetMulticast', + 'ns3::Mac48Address', + [param('ns3::Ipv6Address', 'address')], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticast6Prefix() [member function] + cls.add_method('GetMulticast6Prefix', + 'ns3::Mac48Address', + [], + is_static=True) + ## mac48-address.h (module 'network'): static ns3::Mac48Address ns3::Mac48Address::GetMulticastPrefix() [member function] + cls.add_method('GetMulticastPrefix', + 'ns3::Mac48Address', + [], + is_static=True) + ## mac48-address.h (module 'network'): bool ns3::Mac48Address::IsBroadcast() const [member function] + cls.add_method('IsBroadcast', + 'bool', + [], + is_const=True) + ## mac48-address.h (module 'network'): bool ns3::Mac48Address::IsGroup() const [member function] + cls.add_method('IsGroup', + 'bool', + [], + is_const=True) + ## mac48-address.h (module 'network'): static bool ns3::Mac48Address::IsMatchingType(ns3::Address const & address) [member function] + cls.add_method('IsMatchingType', + 'bool', + [param('ns3::Address const &', 'address')], + is_static=True) + return + def register_Ns3NodeList_methods(root_module, cls): ## node-list.h (module 'network'): ns3::NodeList::NodeList() [constructor] cls.add_constructor([]) @@ -848,10 +1576,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -872,6 +1600,229 @@ def register_Ns3ObjectDeleter_methods(root_module, cls): is_static=True) return +def register_Ns3ObjectFactory_methods(root_module, cls): + cls.add_output_stream_operator() + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) + ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] + cls.add_method('Create', + 'ns3::Ptr< ns3::Object >', + [], + is_const=True) + ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_const=True) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('Set', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('ns3::TypeId', 'tid')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('char const *', 'tid')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('std::string', 'tid')]) + return + +def register_Ns3PacketMetadata_methods(root_module, cls): + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor] + cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(ns3::PacketMetadata const & o) [copy constructor] + cls.add_constructor([param('ns3::PacketMetadata const &', 'o')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddAtEnd(ns3::PacketMetadata const & o) [member function] + cls.add_method('AddAtEnd', + 'void', + [param('ns3::PacketMetadata const &', 'o')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddHeader(ns3::Header const & header, uint32_t size) [member function] + cls.add_method('AddHeader', + 'void', + [param('ns3::Header const &', 'header'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddPaddingAtEnd(uint32_t end) [member function] + cls.add_method('AddPaddingAtEnd', + 'void', + [param('uint32_t', 'end')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::AddTrailer(ns3::Trailer const & trailer, uint32_t size) [member function] + cls.add_method('AddTrailer', + 'void', + [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::PacketMetadata::BeginItem(ns3::Buffer buffer) const [member function] + cls.add_method('BeginItem', + 'ns3::PacketMetadata::ItemIterator', + [param('ns3::Buffer', 'buffer')], + is_const=True) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata ns3::PacketMetadata::CreateFragment(uint32_t start, uint32_t end) const [member function] + cls.add_method('CreateFragment', + 'ns3::PacketMetadata', + [param('uint32_t', 'start'), param('uint32_t', 'end')], + is_const=True) + ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Deserialize(uint8_t const * buffer, uint32_t size) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::Enable() [member function] + cls.add_method('Enable', + 'void', + [], + is_static=True) + ## packet-metadata.h (module 'network'): static void ns3::PacketMetadata::EnableChecking() [member function] + cls.add_method('EnableChecking', + 'void', + [], + is_static=True) + ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packet-metadata.h (module 'network'): uint64_t ns3::PacketMetadata::GetUid() const [member function] + cls.add_method('GetUid', + 'uint64_t', + [], + is_const=True) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtEnd(uint32_t end) [member function] + cls.add_method('RemoveAtEnd', + 'void', + [param('uint32_t', 'end')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveAtStart(uint32_t start) [member function] + cls.add_method('RemoveAtStart', + 'void', + [param('uint32_t', 'start')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveHeader(ns3::Header const & header, uint32_t size) [member function] + cls.add_method('RemoveHeader', + 'void', + [param('ns3::Header const &', 'header'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): void ns3::PacketMetadata::RemoveTrailer(ns3::Trailer const & trailer, uint32_t size) [member function] + cls.add_method('RemoveTrailer', + 'void', + [param('ns3::Trailer const &', 'trailer'), param('uint32_t', 'size')]) + ## packet-metadata.h (module 'network'): uint32_t ns3::PacketMetadata::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] + cls.add_method('Serialize', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], + is_const=True) + return + +def register_Ns3PacketMetadataItem_methods(root_module, cls): + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item() [constructor] + cls.add_constructor([]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::Item(ns3::PacketMetadata::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketMetadata::Item const &', 'arg0')]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::current [variable] + cls.add_instance_attribute('current', 'ns3::Buffer::Iterator', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentSize [variable] + cls.add_instance_attribute('currentSize', 'uint32_t', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromEnd [variable] + cls.add_instance_attribute('currentTrimedFromEnd', 'uint32_t', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::currentTrimedFromStart [variable] + cls.add_instance_attribute('currentTrimedFromStart', 'uint32_t', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::isFragment [variable] + cls.add_instance_attribute('isFragment', 'bool', is_const=False) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item::tid [variable] + cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) + return + +def register_Ns3PacketMetadataItemIterator_methods(root_module, cls): + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata::ItemIterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketMetadata::ItemIterator const &', 'arg0')]) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::ItemIterator::ItemIterator(ns3::PacketMetadata const * metadata, ns3::Buffer buffer) [constructor] + cls.add_constructor([param('ns3::PacketMetadata const *', 'metadata'), param('ns3::Buffer', 'buffer')]) + ## packet-metadata.h (module 'network'): bool ns3::PacketMetadata::ItemIterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item ns3::PacketMetadata::ItemIterator::Next() [member function] + cls.add_method('Next', + 'ns3::PacketMetadata::Item', + []) + return + +def register_Ns3PacketTagIterator_methods(root_module, cls): + ## packet.h (module 'network'): ns3::PacketTagIterator::PacketTagIterator(ns3::PacketTagIterator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketTagIterator const &', 'arg0')]) + ## packet.h (module 'network'): bool ns3::PacketTagIterator::HasNext() const [member function] + cls.add_method('HasNext', + 'bool', + [], + is_const=True) + ## packet.h (module 'network'): ns3::PacketTagIterator::Item ns3::PacketTagIterator::Next() [member function] + cls.add_method('Next', + 'ns3::PacketTagIterator::Item', + []) + return + +def register_Ns3PacketTagIteratorItem_methods(root_module, cls): + ## packet.h (module 'network'): ns3::PacketTagIterator::Item::Item(ns3::PacketTagIterator::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketTagIterator::Item const &', 'arg0')]) + ## packet.h (module 'network'): void ns3::PacketTagIterator::Item::GetTag(ns3::Tag & tag) const [member function] + cls.add_method('GetTag', + 'void', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet.h (module 'network'): ns3::TypeId ns3::PacketTagIterator::Item::GetTypeId() const [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_const=True) + return + +def register_Ns3PacketTagList_methods(root_module, cls): + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList() [constructor] + cls.add_constructor([]) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::PacketTagList(ns3::PacketTagList const & o) [copy constructor] + cls.add_constructor([param('ns3::PacketTagList const &', 'o')]) + ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::Add(ns3::Tag const & tag) const [member function] + cls.add_method('Add', + 'void', + [param('ns3::Tag const &', 'tag')], + is_const=True) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData const * ns3::PacketTagList::Head() const [member function] + cls.add_method('Head', + 'ns3::PacketTagList::TagData const *', + [], + is_const=True) + ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Peek(ns3::Tag & tag) const [member function] + cls.add_method('Peek', + 'bool', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet-tag-list.h (module 'network'): bool ns3::PacketTagList::Remove(ns3::Tag & tag) [member function] + cls.add_method('Remove', + 'bool', + [param('ns3::Tag &', 'tag')]) + ## packet-tag-list.h (module 'network'): void ns3::PacketTagList::RemoveAll() [member function] + cls.add_method('RemoveAll', + 'void', + []) + return + +def register_Ns3PacketTagListTagData_methods(root_module, cls): + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData() [constructor] + cls.add_constructor([]) + ## packet-tag-list.h (module 'network'): ns3::PacketTagList::TagData::TagData(ns3::PacketTagList::TagData const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PacketTagList::TagData const &', 'arg0')]) + ## 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 [ 20 ]', 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::tid [variable] + cls.add_instance_attribute('tid', 'ns3::TypeId', is_const=False) + return + def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -884,6 +1835,128 @@ def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods is_static=True) return +def register_Ns3Simulator_methods(root_module, cls): + ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) + ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static ns3::Ptr ns3::Simulator::GetImplementation() [member function] + cls.add_method('GetImplementation', + 'ns3::Ptr< ns3::SimulatorImpl >', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] + cls.add_method('SetImplementation', + 'void', + [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_static=True) + return + +def register_Ns3Tag_methods(root_module, cls): + ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] + cls.add_constructor([]) + ## tag.h (module 'network'): ns3::Tag::Tag(ns3::Tag const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Tag const &', 'arg0')]) + ## tag.h (module 'network'): void ns3::Tag::Deserialize(ns3::TagBuffer i) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_pure_virtual=True, is_virtual=True) + ## tag.h (module 'network'): uint32_t ns3::Tag::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## tag.h (module 'network'): static ns3::TypeId ns3::Tag::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## tag.h (module 'network'): void ns3::Tag::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## tag.h (module 'network'): void ns3::Tag::Serialize(ns3::TagBuffer i) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3TagBuffer_methods(root_module, cls): ## tag-buffer.h (module 'network'): ns3::TagBuffer::TagBuffer(ns3::TagBuffer const & arg0) [copy constructor] cls.add_constructor([param('ns3::TagBuffer const &', 'arg0')]) @@ -966,23 +2039,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -990,26 +2053,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1040,14 +2088,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1055,11 +2098,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1084,22 +2122,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1109,6 +2142,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1123,35 +2160,68 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + return + +def register_Ns3Vector2D_methods(root_module, cls): + cls.add_output_stream_operator() + ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector2D const &', 'arg0')]) + ## vector.h (module 'core'): ns3::Vector2D::Vector2D(double _x, double _y) [constructor] + cls.add_constructor([param('double', '_x'), param('double', '_y')]) + ## vector.h (module 'core'): ns3::Vector2D::Vector2D() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector2D::x [variable] + cls.add_instance_attribute('x', 'double', is_const=False) + ## vector.h (module 'core'): ns3::Vector2D::y [variable] + cls.add_instance_attribute('y', 'double', is_const=False) + return + +def register_Ns3Vector3D_methods(root_module, cls): + cls.add_output_stream_operator() + ## vector.h (module 'core'): ns3::Vector3D::Vector3D(ns3::Vector3D const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector3D const &', 'arg0')]) + ## vector.h (module 'core'): ns3::Vector3D::Vector3D(double _x, double _y, double _z) [constructor] + cls.add_constructor([param('double', '_x'), param('double', '_y'), param('double', '_z')]) + ## vector.h (module 'core'): ns3::Vector3D::Vector3D() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector3D::x [variable] + cls.add_instance_attribute('x', 'double', is_const=False) + ## vector.h (module 'core'): ns3::Vector3D::y [variable] + cls.add_instance_attribute('y', 'double', is_const=False) + ## vector.h (module 'core'): ns3::Vector3D::z [variable] + cls.add_instance_attribute('z', 'double', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1268,6 +2338,107 @@ def register_Ns3Int64x64_t_methods(root_module, cls): [param('ns3::int64x64_t const &', 'o')]) return +def register_Ns3AnimByteTag_methods(root_module, cls): + ## animation-interface.h (module 'netanim'): ns3::AnimByteTag::AnimByteTag() [constructor] + cls.add_constructor([]) + ## animation-interface.h (module 'netanim'): ns3::AnimByteTag::AnimByteTag(ns3::AnimByteTag const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AnimByteTag const &', 'arg0')]) + ## animation-interface.h (module 'netanim'): void ns3::AnimByteTag::Deserialize(ns3::TagBuffer i) [member function] + cls.add_method('Deserialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_virtual=True) + ## animation-interface.h (module 'netanim'): uint64_t ns3::AnimByteTag::Get() const [member function] + cls.add_method('Get', + 'uint64_t', + [], + is_const=True) + ## animation-interface.h (module 'netanim'): ns3::TypeId ns3::AnimByteTag::GetInstanceTypeId() const [member function] + cls.add_method('GetInstanceTypeId', + 'ns3::TypeId', + [], + is_const=True, is_virtual=True) + ## animation-interface.h (module 'netanim'): uint32_t ns3::AnimByteTag::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True, is_virtual=True) + ## animation-interface.h (module 'netanim'): static ns3::TypeId ns3::AnimByteTag::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## animation-interface.h (module 'netanim'): void ns3::AnimByteTag::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True, is_virtual=True) + ## animation-interface.h (module 'netanim'): void ns3::AnimByteTag::Serialize(ns3::TagBuffer i) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::TagBuffer', 'i')], + is_const=True, is_virtual=True) + ## animation-interface.h (module 'netanim'): void ns3::AnimByteTag::Set(uint64_t AnimUid) [member function] + cls.add_method('Set', + 'void', + [param('uint64_t', 'AnimUid')]) + return + +def register_Ns3Chunk_methods(root_module, cls): + ## chunk.h (module 'network'): ns3::Chunk::Chunk() [constructor] + cls.add_constructor([]) + ## chunk.h (module 'network'): ns3::Chunk::Chunk(ns3::Chunk const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Chunk const &', 'arg0')]) + ## chunk.h (module 'network'): uint32_t ns3::Chunk::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_pure_virtual=True, is_virtual=True) + ## chunk.h (module 'network'): static ns3::TypeId ns3::Chunk::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## chunk.h (module 'network'): void ns3::Chunk::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + +def register_Ns3Header_methods(root_module, cls): + cls.add_output_stream_operator() + ## header.h (module 'network'): ns3::Header::Header() [constructor] + cls.add_constructor([]) + ## header.h (module 'network'): ns3::Header::Header(ns3::Header const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Header const &', 'arg0')]) + ## header.h (module 'network'): uint32_t ns3::Header::Deserialize(ns3::Buffer::Iterator start) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'start')], + is_pure_virtual=True, is_virtual=True) + ## header.h (module 'network'): uint32_t ns3::Header::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## header.h (module 'network'): static ns3::TypeId ns3::Header::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## header.h (module 'network'): void ns3::Header::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## header.h (module 'network'): void ns3::Header::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Object_methods(root_module, cls): ## object.h (module 'core'): ns3::Object::Object() [constructor] cls.add_constructor([]) @@ -1382,6 +2553,54 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ is_static=True) return +def register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__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::EventImpl, ns3::empty, ns3::DefaultDeleter< ns3::EventImpl > > 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::NixVector, ns3::empty, ns3::DefaultDeleter< ns3::NixVector > > 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__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::Packet, ns3::empty, ns3::DefaultDeleter< ns3::Packet > > 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -1538,6 +2757,66 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + +def register_Ns3Trailer_methods(root_module, cls): + cls.add_output_stream_operator() + ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] + cls.add_constructor([]) + ## trailer.h (module 'network'): ns3::Trailer::Trailer(ns3::Trailer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Trailer const &', 'arg0')]) + ## trailer.h (module 'network'): uint32_t ns3::Trailer::Deserialize(ns3::Buffer::Iterator end) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('ns3::Buffer::Iterator', 'end')], + is_pure_virtual=True, is_virtual=True) + ## trailer.h (module 'network'): uint32_t ns3::Trailer::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trailer.h (module 'network'): static ns3::TypeId ns3::Trailer::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## trailer.h (module 'network'): void ns3::Trailer::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trailer.h (module 'network'): void ns3::Trailer::Serialize(ns3::Buffer::Iterator start) const [member function] + cls.add_method('Serialize', + 'void', + [param('ns3::Buffer::Iterator', 'start')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -1585,6 +2864,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -1693,6 +2977,30 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3EventImpl_methods(root_module, cls): + ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) + ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl() [constructor] + cls.add_constructor([]) + ## event-impl.h (module 'core'): void ns3::EventImpl::Cancel() [member function] + cls.add_method('Cancel', + 'void', + []) + ## event-impl.h (module 'core'): void ns3::EventImpl::Invoke() [member function] + cls.add_method('Invoke', + 'void', + []) + ## event-impl.h (module 'core'): bool ns3::EventImpl::IsCancelled() [member function] + cls.add_method('IsCancelled', + 'bool', + []) + ## event-impl.h (module 'core'): void ns3::EventImpl::Notify() [member function] + cls.add_method('Notify', + 'void', + [], + is_pure_virtual=True, visibility='protected', is_virtual=True) + return + def register_Ns3Ipv4AddressChecker_methods(root_module, cls): ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker::Ipv4AddressChecker() [constructor] cls.add_constructor([]) @@ -1853,6 +3161,97 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3Mac48AddressChecker_methods(root_module, cls): + ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] + cls.add_constructor([]) + ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker(ns3::Mac48AddressChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48AddressChecker const &', 'arg0')]) + return + +def register_Ns3Mac48AddressValue_methods(root_module, cls): + ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue() [constructor] + cls.add_constructor([]) + ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48AddressValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Mac48AddressValue const &', 'arg0')]) + ## mac48-address.h (module 'network'): ns3::Mac48AddressValue::Mac48AddressValue(ns3::Mac48Address const & value) [constructor] + cls.add_constructor([param('ns3::Mac48Address const &', 'value')]) + ## mac48-address.h (module 'network'): ns3::Ptr ns3::Mac48AddressValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## mac48-address.h (module 'network'): bool ns3::Mac48AddressValue::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) + ## mac48-address.h (module 'network'): ns3::Mac48Address ns3::Mac48AddressValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Mac48Address', + [], + is_const=True) + ## mac48-address.h (module 'network'): std::string ns3::Mac48AddressValue::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) + ## mac48-address.h (module 'network'): void ns3::Mac48AddressValue::Set(ns3::Mac48Address const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Mac48Address const &', 'value')]) + return + +def register_Ns3MobilityModel_methods(root_module, cls): + ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) + ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel() [constructor] + cls.add_constructor([]) + ## mobility-model.h (module 'mobility'): double ns3::MobilityModel::GetDistanceFrom(ns3::Ptr position) const [member function] + cls.add_method('GetDistanceFrom', + 'double', + [param('ns3::Ptr< ns3::MobilityModel const >', 'position')], + is_const=True) + ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetPosition() const [member function] + cls.add_method('GetPosition', + 'ns3::Vector', + [], + is_const=True) + ## mobility-model.h (module 'mobility'): static ns3::TypeId ns3::MobilityModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::GetVelocity() const [member function] + cls.add_method('GetVelocity', + 'ns3::Vector', + [], + is_const=True) + ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::SetPosition(ns3::Vector const & position) [member function] + cls.add_method('SetPosition', + 'void', + [param('ns3::Vector const &', 'position')]) + ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::NotifyCourseChange() const [member function] + cls.add_method('NotifyCourseChange', + 'void', + [], + is_const=True, visibility='protected') + ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetPosition() const [member function] + cls.add_method('DoGetPosition', + 'ns3::Vector', + [], + is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## mobility-model.h (module 'mobility'): ns3::Vector ns3::MobilityModel::DoGetVelocity() const [member function] + cls.add_method('DoGetVelocity', + 'ns3::Vector', + [], + is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + ## mobility-model.h (module 'mobility'): void ns3::MobilityModel::DoSetPosition(ns3::Vector const & position) [member function] + cls.add_method('DoSetPosition', + 'void', + [param('ns3::Vector const &', 'position')], + is_pure_virtual=True, visibility='private', is_virtual=True) + return + def register_Ns3NetDevice_methods(root_module, cls): ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor] cls.add_constructor([]) @@ -1985,6 +3384,354 @@ def register_Ns3NetDevice_methods(root_module, cls): is_pure_virtual=True, is_const=True, 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] + cls.add_constructor([]) + ## nix-vector.h (module 'network'): ns3::NixVector::NixVector(ns3::NixVector const & o) [copy constructor] + cls.add_constructor([param('ns3::NixVector const &', 'o')]) + ## nix-vector.h (module 'network'): void ns3::NixVector::AddNeighborIndex(uint32_t newBits, uint32_t numberOfBits) [member function] + cls.add_method('AddNeighborIndex', + 'void', + [param('uint32_t', 'newBits'), param('uint32_t', 'numberOfBits')]) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::BitCount(uint32_t numberOfNeighbors) const [member function] + cls.add_method('BitCount', + 'uint32_t', + [param('uint32_t', 'numberOfNeighbors')], + is_const=True) + ## nix-vector.h (module 'network'): ns3::Ptr ns3::NixVector::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::NixVector >', + [], + is_const=True) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Deserialize(uint32_t const * buffer, uint32_t size) [member function] + cls.add_method('Deserialize', + 'uint32_t', + [param('uint32_t const *', 'buffer'), param('uint32_t', 'size')]) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::ExtractNeighborIndex(uint32_t numberOfBits) [member function] + cls.add_method('ExtractNeighborIndex', + 'uint32_t', + [param('uint32_t', 'numberOfBits')]) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetRemainingBits() [member function] + cls.add_method('GetRemainingBits', + 'uint32_t', + []) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## nix-vector.h (module 'network'): uint32_t ns3::NixVector::Serialize(uint32_t * buffer, uint32_t maxSize) const [member function] + cls.add_method('Serialize', + 'uint32_t', + [param('uint32_t *', 'buffer'), param('uint32_t', 'maxSize')], + 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'): 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::DoStart() [member function] + cls.add_method('DoStart', + 'void', + [], + visibility='protected', is_virtual=True) + return + +def register_Ns3ObjectFactoryChecker_methods(root_module, cls): + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')]) + return + +def register_Ns3ObjectFactoryValue_methods(root_module, cls): + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor] + cls.add_constructor([param('ns3::ObjectFactory const &', 'value')]) + ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactoryValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::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) + ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function] + cls.add_method('Get', + 'ns3::ObjectFactory', + [], + is_const=True) + ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::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) + ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::ObjectFactory const &', 'value')]) + return + +def register_Ns3Packet_methods(root_module, cls): + cls.add_output_stream_operator() + ## packet.h (module 'network'): ns3::Packet::Packet() [constructor] + cls.add_constructor([]) + ## packet.h (module 'network'): ns3::Packet::Packet(ns3::Packet const & o) [copy constructor] + cls.add_constructor([param('ns3::Packet const &', 'o')]) + ## packet.h (module 'network'): ns3::Packet::Packet(uint32_t size) [constructor] + cls.add_constructor([param('uint32_t', 'size')]) + ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size, bool magic) [constructor] + cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size'), param('bool', 'magic')]) + ## packet.h (module 'network'): ns3::Packet::Packet(uint8_t const * buffer, uint32_t size) [constructor] + cls.add_constructor([param('uint8_t const *', 'buffer'), param('uint32_t', 'size')]) + ## packet.h (module 'network'): void ns3::Packet::AddAtEnd(ns3::Ptr packet) [member function] + cls.add_method('AddAtEnd', + 'void', + [param('ns3::Ptr< ns3::Packet const >', 'packet')]) + ## packet.h (module 'network'): void ns3::Packet::AddByteTag(ns3::Tag const & tag) const [member function] + cls.add_method('AddByteTag', + 'void', + [param('ns3::Tag const &', 'tag')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::AddHeader(ns3::Header const & header) [member function] + cls.add_method('AddHeader', + 'void', + [param('ns3::Header const &', 'header')]) + ## packet.h (module 'network'): void ns3::Packet::AddPacketTag(ns3::Tag const & tag) const [member function] + cls.add_method('AddPacketTag', + 'void', + [param('ns3::Tag const &', 'tag')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::AddPaddingAtEnd(uint32_t size) [member function] + cls.add_method('AddPaddingAtEnd', + 'void', + [param('uint32_t', 'size')]) + ## packet.h (module 'network'): void ns3::Packet::AddTrailer(ns3::Trailer const & trailer) [member function] + cls.add_method('AddTrailer', + 'void', + [param('ns3::Trailer const &', 'trailer')]) + ## packet.h (module 'network'): ns3::PacketMetadata::ItemIterator ns3::Packet::BeginItem() const [member function] + cls.add_method('BeginItem', + 'ns3::PacketMetadata::ItemIterator', + [], + is_const=True) + ## packet.h (module 'network'): ns3::Ptr ns3::Packet::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::Packet >', + [], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::CopyData(uint8_t * buffer, uint32_t size) const [member function] + cls.add_method('CopyData', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'size')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::CopyData(std::ostream * os, uint32_t size) const [member function] + cls.add_method('CopyData', + 'void', + [param('std::ostream *', 'os'), param('uint32_t', 'size')], + is_const=True) + ## packet.h (module 'network'): ns3::Ptr ns3::Packet::CreateFragment(uint32_t start, uint32_t length) const [member function] + cls.add_method('CreateFragment', + 'ns3::Ptr< ns3::Packet >', + [param('uint32_t', 'start'), param('uint32_t', 'length')], + is_const=True) + ## packet.h (module 'network'): static void ns3::Packet::EnableChecking() [member function] + cls.add_method('EnableChecking', + 'void', + [], + is_static=True) + ## packet.h (module 'network'): static void ns3::Packet::EnablePrinting() [member function] + cls.add_method('EnablePrinting', + 'void', + [], + is_static=True) + ## packet.h (module 'network'): bool ns3::Packet::FindFirstMatchingByteTag(ns3::Tag & tag) const [member function] + cls.add_method('FindFirstMatchingByteTag', + 'bool', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet.h (module 'network'): ns3::ByteTagIterator ns3::Packet::GetByteTagIterator() const [member function] + cls.add_method('GetByteTagIterator', + 'ns3::ByteTagIterator', + [], + is_const=True) + ## packet.h (module 'network'): ns3::Ptr ns3::Packet::GetNixVector() const [member function] + cls.add_method('GetNixVector', + 'ns3::Ptr< ns3::NixVector >', + [], + is_const=True) + ## packet.h (module 'network'): ns3::PacketTagIterator ns3::Packet::GetPacketTagIterator() const [member function] + cls.add_method('GetPacketTagIterator', + 'ns3::PacketTagIterator', + [], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::GetSerializedSize() const [member function] + cls.add_method('GetSerializedSize', + 'uint32_t', + [], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::GetSize() const [member function] + cls.add_method('GetSize', + 'uint32_t', + [], + is_const=True) + ## packet.h (module 'network'): uint64_t ns3::Packet::GetUid() const [member function] + cls.add_method('GetUid', + 'uint64_t', + [], + is_const=True) + ## packet.h (module 'network'): uint8_t const * ns3::Packet::PeekData() const [member function] + cls.add_method('PeekData', + 'uint8_t const *', + [], + deprecated=True, is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::PeekHeader(ns3::Header & header) const [member function] + cls.add_method('PeekHeader', + 'uint32_t', + [param('ns3::Header &', 'header')], + is_const=True) + ## packet.h (module 'network'): bool ns3::Packet::PeekPacketTag(ns3::Tag & tag) const [member function] + cls.add_method('PeekPacketTag', + 'bool', + [param('ns3::Tag &', 'tag')], + is_const=True) + ## packet.h (module 'network'): uint32_t ns3::Packet::PeekTrailer(ns3::Trailer & trailer) [member function] + cls.add_method('PeekTrailer', + 'uint32_t', + [param('ns3::Trailer &', 'trailer')]) + ## packet.h (module 'network'): void ns3::Packet::Print(std::ostream & os) const [member function] + cls.add_method('Print', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::PrintByteTags(std::ostream & os) const [member function] + cls.add_method('PrintByteTags', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::PrintPacketTags(std::ostream & os) const [member function] + cls.add_method('PrintPacketTags', + 'void', + [param('std::ostream &', 'os')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::RemoveAllByteTags() [member function] + cls.add_method('RemoveAllByteTags', + 'void', + []) + ## packet.h (module 'network'): void ns3::Packet::RemoveAllPacketTags() [member function] + cls.add_method('RemoveAllPacketTags', + 'void', + []) + ## packet.h (module 'network'): void ns3::Packet::RemoveAtEnd(uint32_t size) [member function] + cls.add_method('RemoveAtEnd', + 'void', + [param('uint32_t', 'size')]) + ## packet.h (module 'network'): void ns3::Packet::RemoveAtStart(uint32_t size) [member function] + cls.add_method('RemoveAtStart', + 'void', + [param('uint32_t', 'size')]) + ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveHeader(ns3::Header & header) [member function] + cls.add_method('RemoveHeader', + 'uint32_t', + [param('ns3::Header &', 'header')]) + ## packet.h (module 'network'): bool ns3::Packet::RemovePacketTag(ns3::Tag & tag) [member function] + cls.add_method('RemovePacketTag', + 'bool', + [param('ns3::Tag &', 'tag')]) + ## packet.h (module 'network'): uint32_t ns3::Packet::RemoveTrailer(ns3::Trailer & trailer) [member function] + cls.add_method('RemoveTrailer', + 'uint32_t', + [param('ns3::Trailer &', 'trailer')]) + ## packet.h (module 'network'): uint32_t ns3::Packet::Serialize(uint8_t * buffer, uint32_t maxSize) const [member function] + cls.add_method('Serialize', + 'uint32_t', + [param('uint8_t *', 'buffer'), param('uint32_t', 'maxSize')], + is_const=True) + ## packet.h (module 'network'): void ns3::Packet::SetNixVector(ns3::Ptr arg0) [member function] + cls.add_method('SetNixVector', + 'void', + [param('ns3::Ptr< ns3::NixVector >', 'arg0')]) + return + def register_Ns3TimeChecker_methods(root_module, cls): ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor] cls.add_constructor([]) @@ -2065,6 +3812,86 @@ def register_Ns3TypeIdValue_methods(root_module, cls): [param('ns3::TypeId const &', 'value')]) return +def register_Ns3Vector2DChecker_methods(root_module, cls): + ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector2DChecker::Vector2DChecker(ns3::Vector2DChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector2DChecker const &', 'arg0')]) + return + +def register_Ns3Vector2DValue_methods(root_module, cls): + ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2DValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector2DValue const &', 'arg0')]) + ## vector.h (module 'core'): ns3::Vector2DValue::Vector2DValue(ns3::Vector2D const & value) [constructor] + cls.add_constructor([param('ns3::Vector2D const &', 'value')]) + ## vector.h (module 'core'): ns3::Ptr ns3::Vector2DValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## vector.h (module 'core'): bool ns3::Vector2DValue::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) + ## vector.h (module 'core'): ns3::Vector2D ns3::Vector2DValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Vector2D', + [], + is_const=True) + ## vector.h (module 'core'): std::string ns3::Vector2DValue::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) + ## vector.h (module 'core'): void ns3::Vector2DValue::Set(ns3::Vector2D const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Vector2D const &', 'value')]) + return + +def register_Ns3Vector3DChecker_methods(root_module, cls): + ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector3DChecker::Vector3DChecker(ns3::Vector3DChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector3DChecker const &', 'arg0')]) + return + +def register_Ns3Vector3DValue_methods(root_module, cls): + ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue() [constructor] + cls.add_constructor([]) + ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3DValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Vector3DValue const &', 'arg0')]) + ## vector.h (module 'core'): ns3::Vector3DValue::Vector3DValue(ns3::Vector3D const & value) [constructor] + cls.add_constructor([param('ns3::Vector3D const &', 'value')]) + ## vector.h (module 'core'): ns3::Ptr ns3::Vector3DValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## vector.h (module 'core'): bool ns3::Vector3DValue::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) + ## vector.h (module 'core'): ns3::Vector3D ns3::Vector3DValue::Get() const [member function] + cls.add_method('Get', + 'ns3::Vector3D', + [], + is_const=True) + ## vector.h (module 'core'): std::string ns3::Vector3DValue::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) + ## vector.h (module 'core'): void ns3::Vector3DValue::Set(ns3::Vector3D const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::Vector3D const &', 'value')]) + return + def register_Ns3AddressChecker_methods(root_module, cls): ## address.h (module 'network'): ns3::AddressChecker::AddressChecker() [constructor] cls.add_constructor([]) @@ -2105,11 +3932,74 @@ def register_Ns3AddressValue_methods(root_module, cls): [param('ns3::Address const &', 'value')]) return +def register_Ns3ConfigMatchContainer_methods(root_module, cls): + ## config.h (module 'core'): ns3::Config::MatchContainer::MatchContainer(ns3::Config::MatchContainer const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Config::MatchContainer const &', 'arg0')]) + ## config.h (module 'core'): ns3::Config::MatchContainer::MatchContainer() [constructor] + cls.add_constructor([]) + ## config.h (module 'core'): ns3::Config::MatchContainer::MatchContainer(std::vector, std::allocator > > const & objects, std::vector > const & contexts, std::string path) [constructor] + cls.add_constructor([param('std::vector< ns3::Ptr< ns3::Object > > const &', 'objects'), param('std::vector< std::string > const &', 'contexts'), param('std::string', 'path')]) + ## config.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::Begin() const [member function] + cls.add_method('Begin', + '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', + [], + is_const=True) + ## config.h (module 'core'): void ns3::Config::MatchContainer::Connect(std::string name, ns3::CallbackBase const & cb) [member function] + cls.add_method('Connect', + 'void', + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) + ## config.h (module 'core'): void ns3::Config::MatchContainer::ConnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] + cls.add_method('ConnectWithoutContext', + 'void', + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) + ## config.h (module 'core'): void ns3::Config::MatchContainer::Disconnect(std::string name, ns3::CallbackBase const & cb) [member function] + cls.add_method('Disconnect', + 'void', + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) + ## config.h (module 'core'): void ns3::Config::MatchContainer::DisconnectWithoutContext(std::string name, ns3::CallbackBase const & cb) [member function] + cls.add_method('DisconnectWithoutContext', + 'void', + [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) + ## config.h (module 'core'): __gnu_cxx::__normal_iterator*,std::vector, std::allocator > > > ns3::Config::MatchContainer::End() const [member function] + cls.add_method('End', + '__gnu_cxx::__normal_iterator< ns3::Ptr< ns3::Object > const, std::vector< ns3::Ptr< ns3::Object > > >', + [], + is_const=True) + ## config.h (module 'core'): ns3::Ptr ns3::Config::MatchContainer::Get(uint32_t i) const [member function] + cls.add_method('Get', + 'ns3::Ptr< ns3::Object >', + [param('uint32_t', 'i')], + is_const=True) + ## config.h (module 'core'): std::string ns3::Config::MatchContainer::GetMatchedPath(uint32_t i) const [member function] + cls.add_method('GetMatchedPath', + 'std::string', + [param('uint32_t', 'i')], + is_const=True) + ## config.h (module 'core'): uint32_t ns3::Config::MatchContainer::GetN() const [member function] + cls.add_method('GetN', + 'uint32_t', + [], + is_const=True) + ## config.h (module 'core'): std::string ns3::Config::MatchContainer::GetPath() const [member function] + cls.add_method('GetPath', + 'std::string', + [], + is_const=True) + ## config.h (module 'core'): void ns3::Config::MatchContainer::Set(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('Set', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + return + def register_functions(root_module): module = root_module + register_functions_ns3_Config(module.get_submodule('Config'), root_module) register_functions_ns3_FatalImpl(module.get_submodule('FatalImpl'), root_module) return +def register_functions_ns3_Config(module, root_module): + return + def register_functions_ns3_FatalImpl(module, root_module): return diff --git a/src/netanim/examples/dumbbell-animation.cc b/src/netanim/examples/dumbbell-animation.cc index b2297d2e2..6f1e0eaa2 100644 --- a/src/netanim/examples/dumbbell-animation.cc +++ b/src/netanim/examples/dumbbell-animation.cc @@ -36,14 +36,12 @@ int main (int argc, char *argv[]) uint32_t nLeftLeaf = 5; uint32_t nRightLeaf = 5; uint32_t nLeaf = 0; // If non-zero, number of both left and right - uint16_t port = 0; // If non zero, port to bind to for anim connection std::string animFile; // Name of file for animation output CommandLine cmd; cmd.AddValue ("nLeftLeaf", "Number of left side leaf nodes", nLeftLeaf); cmd.AddValue ("nRightLeaf","Number of right side leaf nodes", nRightLeaf); cmd.AddValue ("nLeaf", "Number of left and right side leaf nodes", nLeaf); - cmd.AddValue ("port", "Port Number for Remote Animation", port); cmd.AddValue ("animFile", "File Name for Animation Output", animFile); cmd.Parse (argc,argv); @@ -98,14 +96,12 @@ int main (int argc, char *argv[]) // Create the animation object and configure for specified output AnimationInterface anim; - if (port > 0) - { - anim.SetServerPort (port); - } - else if (!animFile.empty ()) + if (!animFile.empty ()) { anim.SetOutputFile (animFile); } + + anim.SetXMLOutput (); anim.StartAnimation (); // Set up the acutal simulation @@ -115,7 +111,5 @@ int main (int argc, char *argv[]) Simulator::Run (); std::cout << "Destroying the simulation" << std::endl; Simulator::Destroy (); - std::cout << "Stopping the animation" << std::endl; - anim.StopAnimation (); return 0; } diff --git a/src/netanim/examples/grid-animation.cc b/src/netanim/examples/grid-animation.cc index 349061314..c4a4ce5c5 100644 --- a/src/netanim/examples/grid-animation.cc +++ b/src/netanim/examples/grid-animation.cc @@ -35,13 +35,11 @@ int main (int argc, char *argv[]) uint32_t xSize = 5; uint32_t ySize = 5; - uint16_t port = 0; std::string animFile; CommandLine cmd; cmd.AddValue ("xSize", "Number of rows of nodes", xSize); cmd.AddValue ("ySize", "Number of columns of nodes", ySize); - cmd.AddValue ("port", "Port Number for Remote Animation", port); cmd.AddValue ("animFile", "File Name for Animation Output", animFile); cmd.Parse (argc,argv); @@ -86,14 +84,11 @@ int main (int argc, char *argv[]) // Create the animation object and configure for specified output AnimationInterface anim; - if (port > 0) - { - anim.SetServerPort (port); - } - else if (!animFile.empty ()) + if (!animFile.empty ()) { anim.SetOutputFile (animFile); } + anim.SetXMLOutput (); anim.StartAnimation (); // Set up the actual simulation diff --git a/src/netanim/examples/star-animation.cc b/src/netanim/examples/star-animation.cc index 61d5cc91b..6c52beea6 100644 --- a/src/netanim/examples/star-animation.cc +++ b/src/netanim/examples/star-animation.cc @@ -55,12 +55,10 @@ main (int argc, char *argv[]) // Default number of nodes in the star. Overridable by command line argument. // uint32_t nSpokes = 8; - uint32_t animPort = 0; std::string animFile; CommandLine cmd; cmd.AddValue ("nSpokes", "Number of spoke nodes to place in the star", nSpokes); - cmd.AddValue ("animPort", "Port Number for Remote Animation", animPort); cmd.AddValue ("animFile", "File Name for Animation Output", animFile); cmd.Parse (argc, argv); @@ -118,14 +116,11 @@ main (int argc, char *argv[]) // Create the animation object and configure for specified output AnimationInterface anim; - if (animPort > 0) - { - anim.SetServerPort (animPort); - } - else if (!animFile.empty ()) + if (!animFile.empty ()) { anim.SetOutputFile (animFile); } + anim.SetXMLOutput (); anim.StartAnimation (); NS_LOG_INFO ("Run Simulation."); diff --git a/src/netanim/helper/animation-interface-helper.cc b/src/netanim/helper/animation-interface-helper.cc new file mode 100644 index 000000000..fec23ac00 --- /dev/null +++ b/src/netanim/helper/animation-interface-helper.cc @@ -0,0 +1,95 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: John Abraham + */ + +// Animation Interface helpers + +#include "ns3/animation-interface-helper.h" +#include "ns3/log.h" + +#include + +NS_LOG_COMPONENT_DEFINE ("AnimationInterfaceHelper"); + +namespace ns3 { +AnimPacketInfo::AnimPacketInfo() + : m_txnd (0), m_fbTx (0), m_lbTx (0), + m_txLoc (Vector (0,0,0)) +{ +} + +AnimPacketInfo::AnimPacketInfo(Ptr txnd, const Time& fbTx, + const Time& lbTx, Vector txLoc) + : m_txnd (txnd), m_fbTx (fbTx.GetSeconds ()), m_lbTx (lbTx.GetSeconds ()), + m_txLoc (txLoc) +{ +} + +void AnimPacketInfo::ProcessRxBegin (Ptr nd, const Time& fbRx) +{ + m_rx[nd->GetNode ()->GetId ()] = AnimRxInfo (fbRx, nd, 0); +} + +bool AnimPacketInfo::ProcessRxEnd (Ptr nd, const Time& lbRx, Vector rxLoc) +{ + uint32_t NodeId = nd->GetNode ()->GetId (); + // Find the RxInfo + if (m_rx.find (NodeId) == m_rx.end ()) + { + return false; + } + AnimRxInfo& rxInfo = m_rx[NodeId]; + // Check if the NetDevice matches. A node may have several NetDevices + if (rxInfo.m_rxnd != nd) + { + return false; + } + rxInfo.rxRange = CalculateDistance (m_txLoc, rxLoc); + rxInfo.m_lbRx = lbRx.GetSeconds (); + rxInfo.SetPhyRxComplete (); + firstlastbitDelta = rxInfo.m_lbRx - rxInfo.m_fbRx; + return true; +} + +AnimRxInfo AnimPacketInfo::GetRxInfo (Ptr nd) +{ + uint32_t NodeId = nd->GetNode ()->GetId (); + NS_ASSERT (m_rx.find (NodeId) != m_rx.end ()); + return m_rx[NodeId]; +} + +void AnimPacketInfo::RemoveRxInfo (Ptr nd) +{ + uint32_t NodeId = nd->GetNode ()->GetId (); + m_rx.erase (m_rx.find (NodeId)); +} + +void AnimPacketInfo::ProcessRxDrop (Ptr nd) +{ +} + +bool AnimRxInfo::IsPhyRxComplete () +{ + return m_PhyRxComplete; +} + +void AnimRxInfo::SetPhyRxComplete () +{ + m_PhyRxComplete = true; +} + +} // namespace ns3 diff --git a/src/netanim/helper/animation-interface-helper.h b/src/netanim/helper/animation-interface-helper.h new file mode 100644 index 000000000..c0fce3e22 --- /dev/null +++ b/src/netanim/helper/animation-interface-helper.h @@ -0,0 +1,235 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: John Abraham + */ + +// Animation Interface helpers + +#ifndef _ANIMATION_INTERFACE_HELPER_H_ +#define _ANIMATION_INTERFACE_HELPER_H_ + +#include "ns3/node.h" +#include "ns3/mobility-model.h" +#include "ns3/packet.h" +#include "ns3/simulator.h" +#include +#include + +namespace ns3 { + + +/** + * \ingroup netanim + * + * \brief AnimRxInfo helper class + * + * This helper class keeps of wireless packets received + * including info about the first bit received time, + * last bit received time and NetDevice received on + * It is intended only for use by the AnimationInterface + * class. + * + */ + +class AnimRxInfo +{ +public: + + /** + * \brief Default constructor + * + */ + AnimRxInfo () {}; + + /** + * \brief Constructor + * \param fbRx First-bit Receive time + * \param nd NetDevice where packet was received + * \param rxRange Reception range + * + */ + AnimRxInfo (const Time& fbRx, Ptr nd ,double rxRange) + : m_fbRx (fbRx.GetSeconds ()), m_lbRx (0), m_rxnd (nd), rxRange (rxRange), m_PhyRxComplete (false){} + + /** + * \brief First bit receive time + * \param m_fbRx First bit receive time + * + */ + double m_fbRx; + + /** + * \brief Last bit receive time + * \param m_lbRx Last bit receive time + * + */ + double m_lbRx; + + /** + * \brief Ptr to receiving NetDevice + * \param m_rxnd Ptr to receiving NetDevice + * + */ + Ptr m_rxnd; + + /** + * \brief Reception range + * \param rxRange Reception range + * + */ + double rxRange; + + /** + * \brief Check if Wifi Phy Rx is Complete + * \returns true if Wifi Phy Rx is complete + * + */ + bool IsPhyRxComplete (); + + /** + * \brief Set Wifi Phy Rx Complete + * + */ + void SetPhyRxComplete (); + +private: + bool m_PhyRxComplete; + +}; + +/** + * \ingroup netanim + * + * \brief AnimPacketInfo helper class + * + * This helper class keeps of wireless packets transmitted and + * received + * including info about the last bit transmit time, first bit + * transmit time, location of the transmitter and + * NetDevice transmited on + * It is intended only for use by the AnimationInterface + * class. + * + */ + +class AnimPacketInfo + +{ +public: + + /** + * \brief Default constructor + * + */ + AnimPacketInfo (); + + /** + * \brief Constructor + * \param tx_nd Ptr to NetDevice that is transmitting + * \param fbTx First bit transmit time + * \param lbTx Last bit transmit time + * \param txLoc Transmitter Location + * + */ + AnimPacketInfo(Ptr tx_nd, const Time& fbTx, const Time& lbTx,Vector txLoc); + + /** + * \brief Ptr to NetDevice that is transmitting + * \param m_txnd NetDevice that is transmitting + * + */ + Ptr m_txnd; + + /** + * \brief First bit transmission time + * \param m_fbTx First bit transmission time + * + */ + double m_fbTx; + + /** + * \brief Last bit transmission time + * \param m_lbTx Last bit transmission time + * + */ + double m_lbTx; + + /** + * \brief Transmitter's location + * \param m_txLoc Transmitter's Location + * + */ + Vector m_txLoc; + + + /** + * \brief Collection of receivers + * \param m_rx Collection of receivers + * + */ + std::map m_rx; + + /** + * \brief Process RxBegin notifications + * \param nd Ptr to NetDevice where packet was received + * \param fbRx First bit receive time + * + */ + void ProcessRxBegin (Ptr nd, const Time& fbRx); + + /** + * \brief Process RxEnd notifications + * \param nd Ptr to NetDevice where packet was received + * \param fbRx First bit receive time + * \param rxLoc Location of receiver + * \returns true if RxEnd notification was expected and processed + * + */ + bool ProcessRxEnd (Ptr nd, const Time& fbRx, Vector rxLoc); + + /** + * \brief Process RxDrop notifications + * \param nd Ptr to NetDevice where packet was dropped on reception + * + */ + void ProcessRxDrop (Ptr nd); + + /** + * \brief GetRxInfo + * \param nd Ptr to NetDevice where packet was received + * \returns AnimRxInfo object + * + */ + AnimRxInfo GetRxInfo (Ptr nd); + + /** + * \brief RemoveRxInfo + * \param nd Ptr to NetDevice where packet was received + * + */ + void RemoveRxInfo (Ptr nd); + + /** + * \brief Time delta between First bit Rx and Last bit Rx + * \param firstlastbitDelta Time delta between First bit Rx and Last bit Rx + */ + double firstlastbitDelta; + +}; + +} // namespace ns3 + +#endif diff --git a/src/netanim/model/animation-interface.cc b/src/netanim/model/animation-interface.cc index 0f94c6502..65d6b8df5 100644 --- a/src/netanim/model/animation-interface.cc +++ b/src/netanim/model/animation-interface.cc @@ -14,12 +14,32 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Author: George F. Riley + * Modified by: John Abraham */ // Interface between ns3 and the network animator + +// ns3 includes +#include "ns3/animation-interface.h" +#include "ns3/netanim-config.h" +#include "ns3/channel.h" +#include "ns3/config.h" +#include "ns3/node.h" +#include "ns3/random-variable.h" +#include "ns3/mobility-model.h" +#include "ns3/packet.h" +#include "ns3/simulator.h" +#include "ns3/animation-interface-helper.h" +#include "ns3/wifi-mac-header.h" +#include "ns3/wimax-mac-header.h" + #include #include +#include +#include +#include +#include // Socket related includes #if defined(HAVE_SYS_SOCKET_H) && defined(HAVE_NETINET_IN_H) @@ -29,44 +49,87 @@ #include #endif -// ns3 includes -#include "ns3/animation-interface.h" -#include "ns3/channel.h" -#include "ns3/config.h" -#include "ns3/node.h" -#include "ns3/mobility-model.h" -#include "ns3/packet.h" -#include "ns3/simulator.h" - -using namespace std; - NS_LOG_COMPONENT_DEFINE ("AnimationInterface"); namespace ns3 { AnimationInterface::AnimationInterface () - : m_fHandle (STDOUT_FILENO), m_model (0) + : m_fHandle (STDOUT_FILENO), m_xml (false), mobilitypollinterval (Seconds(0.25)), + usingSockets (false), mport (0), outputfilename (""), + OutputFileSet (false), ServerPortSet (false), gAnimUid (0),randomPosition (true), + m_writeCallback (0) +{ +} + +AnimationInterface::AnimationInterface (const std::string fn, bool usingXML) + : m_fHandle (STDOUT_FILENO), m_xml (usingXML), mobilitypollinterval (Seconds(0.25)), + usingSockets (false), mport (0), outputfilename (fn), + OutputFileSet (false), ServerPortSet (false), gAnimUid (0), randomPosition (true), + m_writeCallback (0) +{ +} + +AnimationInterface::AnimationInterface (const uint16_t port, bool usingXML) + : m_fHandle (STDOUT_FILENO), m_xml (usingXML), mobilitypollinterval (Seconds(0.25)), + usingSockets (true), mport (port), outputfilename (""), + OutputFileSet (false), ServerPortSet (false), gAnimUid (0), randomPosition (true), + m_writeCallback (0) { } AnimationInterface::~AnimationInterface () { + StopAnimation (); +} + +void AnimationInterface::SetXMLOutput () +{ + NS_LOG_INFO ("XML output set"); + m_xml = true; } bool AnimationInterface::SetOutputFile (const std::string& fn) { + if (OutputFileSet) + { + return true; + } + if (fn == "") + { + m_fHandle = STDOUT_FILENO; + OutputFileSet = true; + return true; + } FILE* f = fopen (fn.c_str (), "w"); if (!f) { + NS_FATAL_ERROR ("Unable to open Animation output file"); return false; // Can't open } m_fHandle = fileno (f); // Set the file handle + usingSockets = false; + outputfilename = fn; + OutputFileSet = true; return true; } +void AnimationInterface::SetAnimWriteCallback (AnimWriteCallback cb) +{ + m_writeCallback = cb; +} + +void AnimationInterface::ResetAnimWriteCallback () +{ + m_writeCallback = 0; +} + bool AnimationInterface::SetServerPort (uint16_t port) { #if defined(HAVE_SYS_SOCKET_H) && defined(HAVE_NETINET_IN_H) + if (ServerPortSet) + { + return true; + } int s = socket (AF_INET, SOCK_STREAM, 0); struct sockaddr_in addr; addr.sin_family = AF_INET; @@ -85,29 +148,139 @@ bool AnimationInterface::SetServerPort (uint16_t port) // set the linger socket option int t = 1; setsockopt (s, SOL_SOCKET, SO_LINGER, &t, sizeof(t)); + usingSockets = true; + ServerPortSet = true; return true; #endif return false; // never reached unless the above is disabled // which is done to support a platform like MinGW } +bool AnimationInterface::WifiPacketIsPending (uint64_t AnimUid) +{ + return (pendingWifiPackets.find (AnimUid) != pendingWifiPackets.end ()); +} + +bool AnimationInterface::CsmaPacketIsPending (uint64_t AnimUid) +{ + return (pendingCsmaPackets.find (AnimUid) != pendingCsmaPackets.end ()); +} + + +bool AnimationInterface::WimaxPacketIsPending (uint64_t AnimUid) +{ + return (pendingWimaxPackets.find (AnimUid) != pendingWimaxPackets.end ()); +} + +void AnimationInterface::SetMobilityPollInterval (Time t) +{ + mobilitypollinterval = t; +} + +void AnimationInterface::SetRandomPosition (bool setRandPos) +{ + randomPosition = setRandPos; +} + +Vector AnimationInterface::UpdatePosition (Ptr n) +{ + Ptr loc = n->GetObject (); + if (loc) + { + nodeLocation[n->GetId ()] = loc->GetPosition (); + } + else + { + NS_LOG_WARN ( "Node:" << n->GetId () << " Does not have a mobility model"); + Vector deterministicVector (100,100,0); + Vector randomVector (UniformVariable (0, topo_maxX-topo_minX).GetValue (), UniformVariable (0, topo_maxY-topo_minY).GetValue (), 0); + if (randomPosition) + { + nodeLocation[n->GetId ()] = randomVector; + } + else + { + nodeLocation[n->GetId ()] = deterministicVector; + } + } + return nodeLocation[n->GetId ()]; +} + +Vector AnimationInterface::UpdatePosition (Ptr n, Vector v) +{ + nodeLocation[n->GetId ()] = v; + return v; +} + +Vector AnimationInterface::GetPosition (Ptr n) +{ + #ifdef NS_LOG + if (nodeLocation.find (n->GetId()) == nodeLocation.end ()) + { + NS_FATAL_ERROR ("Node:" <GetId() << " not found in Location table"); + } + #endif + return nodeLocation[n->GetId ()]; +} + void AnimationInterface::StartAnimation () { + if (usingSockets) + { + SetServerPort (mport); + } + else + { + SetOutputFile (outputfilename); + } + + // Find the min/max x/y for the xml topology element + topo_minX = -2; + topo_minY = -2; + topo_maxX = 2; + topo_maxY = 2; + for (NodeList::Iterator i = NodeList::Begin (); i != NodeList::End (); ++i) + { + Ptr n = *i; + NS_LOG_INFO ("Update Position for Node: " << n->GetId ()); + Vector v = UpdatePosition (n); + topo_minX = std::min (topo_minX, v.x); + topo_minY = std::min (topo_minY, v.y); + topo_maxX = std::max (topo_maxX, v.x); + topo_maxY = std::max (topo_maxY, v.y); + } + + AddMargin (); + if (m_xml) + { // output the xml headers + std::ostringstream oss; + oss << GetXMLOpen_anim (0); + oss << GetPreamble (); + oss << GetXMLOpen_topology (topo_minX,topo_minY,topo_maxX,topo_maxY); + WriteN (m_fHandle, oss.str ()); + } + NS_LOG_INFO ("Setting topology for "< n = *i; - Ptr loc = n->GetObject (); - if (loc) + std::ostringstream oss; + if (m_xml) + { + Vector v = GetPosition (n); + oss << GetXMLOpenClose_node (0,n->GetId (),v.x,v.y); + WriteN (m_fHandle, oss.str ()); + } + else { // Location exists, dump it - Vector v = loc->GetPosition (); - ostringstream oss; + Vector v = GetPosition (n); oss << "0.0 N " << n->GetId () - << " " << v.x << " " << v.y << endl; - WriteN (m_fHandle, oss.str ().c_str (), oss.str ().length ()); + << " " << v.x << " " << v.y << std::endl; + WriteN (m_fHandle, oss.str ().c_str (), oss.str ().length ()); } } + NS_LOG_INFO ("Setting p2p links"); // Now dump the p2p links for (NodeList::Iterator i = NodeList::Begin (); i != NodeList::End (); ++i) { @@ -117,13 +290,15 @@ void AnimationInterface::StartAnimation () for (uint32_t i = 0; i < nDev; ++i) { Ptr dev = n->GetDevice (i); + NS_ASSERT (dev); Ptr ch = dev->GetChannel (); if (!ch) { - continue; // No channel, can't be p2p device + NS_LOG_DEBUG ("No channel can't be a p2p device"); + continue; } - string channelType = ch->GetInstanceTypeId ().GetName (); - if (channelType == string ("ns3::PointToPointChannel")) + std::string channelType = ch->GetInstanceTypeId ().GetName (); + if (channelType == std::string ("ns3::PointToPointChannel")) { // Since these are duplex links, we only need to dump // if srcid < dstid uint32_t nChDev = ch->GetNDevices (); @@ -133,41 +308,168 @@ void AnimationInterface::StartAnimation () uint32_t n2Id = chDev->GetNode ()->GetId (); if (n1Id < n2Id) { // ouptut the p2p link - ostringstream oss; - oss << "0.0 L " << n1Id << " " << n2Id << endl; - WriteN (m_fHandle, oss.str ().c_str (), - oss.str ().length ()); + std::ostringstream oss; + if (m_xml) + { + oss << GetXMLOpenClose_link (0,n1Id,0,n2Id); + } + else + { + oss << "0.0 L " << n1Id << " " << n2Id << std::endl; + } + WriteN (m_fHandle, oss.str ()); } } } else { - NS_FATAL_ERROR ("Net animation currently only supports point-to-point links."); + //NS_FATAL_ERROR ("Net animation currently only supports point-to-point links."); } } } + if (m_xml) + { + WriteN (m_fHandle, GetXMLClose ("topology")); + Simulator::Schedule (mobilitypollinterval, &AnimationInterface::MobilityAutoCheck, this); + } - // Connect the callback for packet tx events + // Connect the callbacks Config::Connect ("/ChannelList/*/TxRxPointToPoint", MakeCallback (&AnimationInterface::DevTxTrace, this)); + Config::Connect ("NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyTxBegin", + MakeCallback (&AnimationInterface::WifiPhyTxBeginTrace, this)); + Config::Connect ("NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyTxEnd", + MakeCallback (&AnimationInterface::WifiPhyTxEndTrace, this)); + Config::Connect ("NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyRxBegin", + MakeCallback (&AnimationInterface::WifiPhyRxBeginTrace, this)); + Config::Connect ("NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Phy/PhyRxEnd", + MakeCallback (&AnimationInterface::WifiPhyRxEndTrace, this)); + Config::Connect ("NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Mac/MacRx", + MakeCallback (&AnimationInterface::WifiMacRxTrace, this)); + Config::ConnectWithoutContext ("/NodeList/*/$ns3::MobilityModel/CourseChange", + MakeCallback (&AnimationInterface::MobilityCourseChangeTrace, this)); + Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WimaxNetDevice/Tx", + MakeCallback (&AnimationInterface::WimaxTxTrace, this)); + Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WimaxNetDevice/Rx", + MakeCallback (&AnimationInterface::WimaxRxTrace, this)); + Config::Connect ("/NodeList/*/DeviceList/*/$ns3::CsmaNetDevice/PhyTxBegin", + MakeCallback (&AnimationInterface::CsmaPhyTxBeginTrace, this)); + Config::Connect ("/NodeList/*/DeviceList/*/$ns3::CsmaNetDevice/PhyTxEnd", + MakeCallback (&AnimationInterface::CsmaPhyTxEndTrace, this)); + Config::Connect ("/NodeList/*/DeviceList/*/$ns3::CsmaNetDevice/PhyRxEnd", + MakeCallback (&AnimationInterface::CsmaPhyRxEndTrace, this)); + Config::Connect ("/NodeList/*/DeviceList/*/$ns3::CsmaNetDevice/MacRx", + MakeCallback (&AnimationInterface::CsmaMacRxTrace, this)); + + + } void AnimationInterface::StopAnimation () { + NS_LOG_INFO ("Stopping Animation"); if (m_fHandle > 0) { - close (m_fHandle); + if (m_xml) + { // Terminate the anim element + WriteN (m_fHandle, GetXMLClose ("anim")); + } + if (m_fHandle != STDOUT_FILENO) + { + close (m_fHandle); + } + OutputFileSet = false; + m_fHandle = -1; } } +int AnimationInterface::WriteN (int h, const std::string& st) +{ + if (h < 0) + { + return 0; + } + if (m_writeCallback) + { + m_writeCallback (st.c_str ()); + } + return WriteN (h, st.c_str (), st.length ()); +} + // Private methods +void AnimationInterface::AddMargin () +{ + // Compute width/height, and add a small margin + double w = topo_maxX - topo_minX; + double h = topo_maxY - topo_minY; + topo_minX -= w * 0.05; + topo_minY -= h * 0.05; + topo_maxX = topo_minX + w * 1.5; + topo_maxY = topo_minY + h * 1.5; + NS_LOG_INFO ("Added Canvas Margin:" << topo_minX << "," << + topo_minY << "," << topo_maxX << "," << topo_maxY); +} + +std::vector > AnimationInterface::RecalcTopoBounds () +{ + std::vector < Ptr > MovedNodes; + for (NodeList::Iterator i = NodeList::Begin (); i != NodeList::End (); ++i) + { + Ptr n = *i; + NS_ASSERT (n); + Ptr mobility = n->GetObject (); + Vector newLocation; + if (!mobility) + { + newLocation = GetPosition (n); + } + else + { + newLocation = mobility->GetPosition (); + } + if (!NodeHasMoved (n, newLocation)) + { + continue; //Location has not changed + } + else + { + UpdatePosition (n, newLocation); + RecalcTopoBounds (newLocation); + MovedNodes.push_back (n); + } + } + return MovedNodes; +} + +void AnimationInterface::RecalcTopoBounds (Vector v) +{ + double oldminX = topo_minX; + double oldminY = topo_minY; + double oldmaxX = topo_maxX; + double oldmaxY = topo_maxY; + topo_minX = std::min (topo_minX, v.x); + topo_minY = std::min (topo_minY, v.y); + topo_maxX = std::max (topo_maxX, v.x); + topo_maxY = std::max (topo_maxY, v.y); + + if ((topo_minX != oldminX) || (topo_minY != oldminY) || + (topo_maxX != oldmaxX) || (topo_maxY != oldmaxY)) + { + AddMargin (); + } +} + int AnimationInterface::WriteN (int h, const char* data, uint32_t count) -{ // Write count bytes to h from data +{ + if (h < 0) + { + return 0; + } + // Write count bytes to h from data uint32_t nLeft = count; const char* p = data; uint32_t written = 0; - while (nLeft) { int n = write (h, p, nLeft); @@ -182,19 +484,586 @@ int AnimationInterface::WriteN (int h, const char* data, uint32_t count) return written; } +void AnimationInterface::WriteDummyPacket () +{ + Time now = Simulator::Now (); + std::ostringstream oss; + double fbTx = now.GetSeconds (); + double lbTx = now.GetSeconds (); + double fbRx = now.GetSeconds (); + double lbRx = now.GetSeconds (); + if (m_xml) + { + oss << GetXMLOpen_packet (0,0,fbTx,lbTx,"DummyPktIgnoreThis"); + oss << GetXMLOpenClose_rx (0,0,fbRx,lbRx); + oss << GetXMLClose ("packet"); + } + WriteN (m_fHandle, oss.str ()); + + +} void AnimationInterface::DevTxTrace (std::string context, Ptr p, Ptr tx, Ptr rx, Time txTime, Time rxTime) { + NS_ASSERT (tx); + NS_ASSERT (rx); Time now = Simulator::Now (); - ostringstream oss; - oss << now.GetSeconds () << " P " - << tx->GetNode ()->GetId () << " " - << rx->GetNode ()->GetId () << " " - << (now + txTime).GetSeconds () << " " // last bit tx time - << (now + rxTime - txTime).GetSeconds () << " " // first bit rx time - << (now + rxTime).GetSeconds () << endl; // last bit rx time - WriteN (m_fHandle, oss.str ().c_str (), oss.str ().length ()); + std::ostringstream oss; + double fbTx = now.GetSeconds (); + double lbTx = (now + txTime).GetSeconds (); + double fbRx = (now + rxTime - txTime).GetSeconds (); + double lbRx = (now + rxTime).GetSeconds (); + if (m_xml) + { + oss << GetXMLOpen_packet (0,tx->GetNode ()->GetId (),fbTx,lbTx); + oss << GetXMLOpenClose_rx (0,rx->GetNode ()->GetId (),fbRx,lbRx); + oss << GetXMLClose ("packet"); + } + else + { + oss << std::setprecision (10); + oss << now.GetSeconds () << " P " + << tx->GetNode ()->GetId () << " " + << rx->GetNode ()->GetId () << " " + << (now + txTime).GetSeconds () << " " // last bit tx time + << (now + rxTime - txTime).GetSeconds () << " " // first bit rx time + << (now + rxTime).GetSeconds () << std::endl; // last bit rx time + } + WriteN (m_fHandle, oss.str ()); } + +Ptr +AnimationInterface::GetNetDeviceFromContext (std::string context) +{ + // Use "NodeList/*/DeviceList/*/ as reference + // where element [1] is the Node Id + // element [2] is the NetDevice Id + + std::vector elements = GetElementsFromContext (context); + Ptr n = NodeList::GetNode (atoi (elements[1].c_str ())); + NS_ASSERT (n); + return n->GetDevice (atoi (elements[3].c_str ())); +} + +void AnimationInterface::AddPendingWifiPacket (uint64_t AnimUid, AnimPacketInfo &pktinfo) +{ + NS_ASSERT (pktinfo.m_txnd); + pendingWifiPackets[AnimUid] = pktinfo; +} + +void AnimationInterface::AddPendingWimaxPacket (uint64_t AnimUid, AnimPacketInfo &pktinfo) +{ + NS_ASSERT (pktinfo.m_txnd); + pendingWimaxPackets[AnimUid] = pktinfo; +} + + +void AnimationInterface::AddPendingCsmaPacket (uint64_t AnimUid, AnimPacketInfo &pktinfo) +{ + NS_ASSERT (pktinfo.m_txnd); + pendingCsmaPackets[AnimUid] = pktinfo; +} + +uint64_t AnimationInterface::GetAnimUidFromPacket (Ptr p) +{ + AnimByteTag tag; + if (p->FindFirstMatchingByteTag (tag)) + { + return tag.Get (); + } + else + { + return 0; + } +} + +void AnimationInterface::WifiPhyTxBeginTrace (std::string context, + Ptr p) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + Ptr n = ndev->GetNode (); + NS_ASSERT (n); + // Add a new pending wireless + gAnimUid++; + NS_LOG_INFO ("TxBeginTrace for packet:" << gAnimUid); + AnimByteTag tag; + tag.Set (gAnimUid); + p->AddByteTag (tag); + AnimPacketInfo pktinfo (ndev, Simulator::Now (), Simulator::Now (), UpdatePosition (n)); + AddPendingWifiPacket (gAnimUid, pktinfo); +} + +void AnimationInterface::WifiPhyTxEndTrace (std::string context, + Ptr p) +{ +} + +void AnimationInterface::WifiPhyTxDropTrace (std::string context, + Ptr p) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + // Erase pending wifi + uint64_t AnimUid = GetAnimUidFromPacket (p); + NS_LOG_INFO ("TxDropTrace for packet:" << AnimUid); + NS_ASSERT (WifiPacketIsPending (AnimUid) == true); + pendingWifiPackets.erase (pendingWifiPackets.find (AnimUid)); +} + + +void AnimationInterface::WifiPhyRxBeginTrace (std::string context, + Ptr p) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + uint64_t AnimUid = GetAnimUidFromPacket (p); + NS_LOG_INFO ("RxBeginTrace for packet:" << AnimUid); + if (!WifiPacketIsPending (AnimUid)) + { + NS_LOG_WARN ("WifiPhyRxBeginTrace: unknown Uid"); + return; + } + // TODO: NS_ASSERT (WifiPacketIsPending (AnimUid) == true); + pendingWifiPackets[AnimUid].ProcessRxBegin (ndev, Simulator::Now ()); +} + + +void AnimationInterface::WifiPhyRxEndTrace (std::string context, + Ptr p) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + Ptr n = ndev->GetNode (); + NS_ASSERT (n); + uint64_t AnimUid = GetAnimUidFromPacket (p); + if (!WifiPacketIsPending (AnimUid)) + { + NS_LOG_WARN ("WifiPhyRxEndTrace: unknown Uid"); + return; + } + // TODO: NS_ASSERT (WifiPacketIsPending (AnimUid) == true); + AnimPacketInfo& pktInfo = pendingWifiPackets[AnimUid]; + pktInfo.ProcessRxEnd (ndev, Simulator::Now (), UpdatePosition (n)); +} + +void AnimationInterface::WifiMacRxTrace (std::string context, + Ptr p) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + Ptr n = ndev->GetNode (); + NS_ASSERT (n); + uint64_t AnimUid = GetAnimUidFromPacket (p); + if (!WifiPacketIsPending (AnimUid)) + { + NS_LOG_WARN ("WifiMacRxTrace: unknown Uid"); + return; + } + // TODO: NS_ASSERT (WifiPacketIsPending (AnimUid) == true); + AnimPacketInfo& pktInfo = pendingWifiPackets[AnimUid]; + AnimRxInfo pktrxInfo = pktInfo.GetRxInfo (ndev); + if (pktrxInfo.IsPhyRxComplete ()) + { + NS_LOG_INFO ("MacRxTrace for packet:" << AnimUid << " complete"); + OutputWirelessPacket (pktInfo, pktrxInfo); + pktInfo.RemoveRxInfo (ndev); + } + +} +void AnimationInterface::WifiPhyRxDropTrace (std::string context, + Ptr p) +{ +} + +void AnimationInterface::WimaxTxTrace (std::string context, Ptr p, const Mac48Address & m) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + Ptr n = ndev->GetNode (); + NS_ASSERT (n); + gAnimUid++; + NS_LOG_INFO ("WimaxTxTrace for packet:" << gAnimUid); + AnimPacketInfo pktinfo (ndev, Simulator::Now (), Simulator::Now () + Seconds (0.001), UpdatePosition (n)); + //TODO 0.0001 is used until Wimax implements TxBegin and TxEnd traces + AnimByteTag tag; + tag.Set (gAnimUid); + p->AddByteTag (tag); + AddPendingWimaxPacket (gAnimUid, pktinfo); +} + + +void AnimationInterface::WimaxRxTrace (std::string context, Ptr p, const Mac48Address & m) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + Ptr n = ndev->GetNode (); + NS_ASSERT (n); + uint64_t AnimUid = GetAnimUidFromPacket (p); + NS_ASSERT (WimaxPacketIsPending (AnimUid) == true); + AnimPacketInfo& pktInfo = pendingWimaxPackets[AnimUid]; + pktInfo.ProcessRxBegin (ndev, Simulator::Now ()); + pktInfo.ProcessRxEnd (ndev, Simulator::Now () + Seconds (0.001), UpdatePosition (n)); + //TODO 0.001 is used until Wimax implements RxBegin and RxEnd traces + AnimRxInfo pktrxInfo = pktInfo.GetRxInfo (ndev); + OutputWirelessPacket (pktInfo, pktrxInfo); +} + +void AnimationInterface::CsmaPhyTxBeginTrace (std::string context, Ptr p) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + Ptr n = ndev->GetNode (); + NS_ASSERT (n); + gAnimUid++; + NS_LOG_INFO ("CsmaPhyTxBeginTrace for packet:" << gAnimUid); + AnimByteTag tag; + tag.Set (gAnimUid); + p->AddByteTag (tag); + AnimPacketInfo pktinfo (ndev, Simulator::Now (), Simulator::Now (), UpdatePosition (n)); + AddPendingCsmaPacket (gAnimUid, pktinfo); + +} + +void AnimationInterface::CsmaPhyTxEndTrace (std::string context, Ptr p) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + uint64_t AnimUid = GetAnimUidFromPacket (p); + NS_LOG_INFO ("CsmaPhyTxEndTrace for packet:" << AnimUid); + if (!CsmaPacketIsPending (AnimUid)) + { + NS_LOG_WARN ("CsmaPhyTxEndTrace: unknown Uid"); + return; + } + // TODO: NS_ASSERT (CsmaPacketIsPending (AnimUid) == true); + AnimPacketInfo& pktInfo = pendingCsmaPackets[AnimUid]; + pktInfo.m_lbTx = Simulator::Now ().GetSeconds (); +} + +void AnimationInterface::CsmaPhyRxEndTrace (std::string context, Ptr p) +{ + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + Ptr n = ndev->GetNode (); + NS_ASSERT (n); + uint64_t AnimUid = GetAnimUidFromPacket (p); + if (!CsmaPacketIsPending (AnimUid)) + { + NS_LOG_WARN ("CsmaPhyRxEndTrace: unknown Uid"); + return; + } + // TODO: NS_ASSERT (CsmaPacketIsPending (AnimUid) == true); + AnimPacketInfo& pktInfo = pendingCsmaPackets[AnimUid]; + pendingCsmaPackets[AnimUid].ProcessRxBegin (ndev, Simulator::Now ()); + pktInfo.ProcessRxEnd (ndev, Simulator::Now (), UpdatePosition (n)); + NS_LOG_INFO ("CsmaPhyRxEndTrace for packet:" << AnimUid); +} + + +void AnimationInterface::CsmaMacRxTrace (std::string context, + Ptr p) +{ + NS_LOG_FUNCTION (this); + Ptr ndev = GetNetDeviceFromContext (context); + NS_ASSERT (ndev); + Ptr n = ndev->GetNode (); + NS_ASSERT (n); + uint64_t AnimUid = GetAnimUidFromPacket (p); + if (!CsmaPacketIsPending (AnimUid)) + { + NS_LOG_WARN ("CsmaMacRxTrace: unknown Uid"); + return; + } + // TODO: NS_ASSERT (CsmaPacketIsPending (AnimUid) == true); + AnimPacketInfo& pktInfo = pendingCsmaPackets[AnimUid]; + AnimRxInfo pktrxInfo = pktInfo.GetRxInfo (ndev); + if (pktrxInfo.IsPhyRxComplete ()) + { + NS_LOG_INFO ("MacRxTrace for packet:" << AnimUid << " complete"); + OutputCsmaPacket (pktInfo, pktrxInfo); + pktInfo.RemoveRxInfo (ndev); + } +} + + +void AnimationInterface::MobilityCourseChangeTrace (Ptr mobility) + +{ + Ptr n = mobility->GetObject (); + NS_ASSERT (n); + Vector v ; + if (!mobility) + { + v = GetPosition (n); + } + else + { + v = mobility->GetPosition (); + } + UpdatePosition (n,v); + RecalcTopoBounds (v); + std::ostringstream oss; + oss << GetXMLOpen_topology (topo_minX,topo_minY,topo_maxX,topo_maxY); + oss << GetXMLOpenClose_node (0,n->GetId (),v.x,v.y); + oss << GetXMLClose ("topology"); + WriteN (m_fHandle, oss.str ()); + WriteDummyPacket (); +} + +bool AnimationInterface::NodeHasMoved (Ptr n, Vector newLocation) +{ + Vector oldLocation = GetPosition (n); + if ((ceil(oldLocation.x) == ceil(newLocation.x)) && + (ceil(oldLocation.y) == ceil(newLocation.y))) + { + + return false; + } + else + { + return true; + } +} + +void AnimationInterface::MobilityAutoCheck () +{ + std::vector > MovedNodes = RecalcTopoBounds (); + std::ostringstream oss; + oss << GetXMLOpen_topology (topo_minX,topo_minY,topo_maxX,topo_maxY); + for (uint32_t i = 0; i < MovedNodes.size (); i++) + { + Ptr n = MovedNodes [i]; + NS_ASSERT (n); + Vector v = GetPosition (n); + oss << GetXMLOpenClose_node (0,n->GetId (), v.x, v.y); + } + oss << GetXMLClose ("topology"); + WriteN (m_fHandle, oss.str ()); + WriteDummyPacket (); + if (!Simulator::IsFinished ()) + { + Simulator::Schedule (mobilitypollinterval, &AnimationInterface::MobilityAutoCheck, this); + } +} + + +// Helper to output a wireless packet. +// For now, only the XML interface is supported + + +std::string AnimationInterface::GetPreamble () +{ + std::string s = + "\n\ + \n"; +return s; +} + +void AnimationInterface::OutputWirelessPacket (AnimPacketInfo &pktInfo, AnimRxInfo pktrxInfo) +{ + NS_ASSERT (m_xml); + std::ostringstream oss; + NS_ASSERT (pktInfo.m_txnd); + uint32_t nodeId = pktInfo.m_txnd->GetNode ()->GetId (); + + double lbTx = pktInfo.firstlastbitDelta + pktInfo.m_fbTx; + oss << GetXMLOpen_wpacket (0, nodeId, pktInfo.m_fbTx, lbTx, pktrxInfo.rxRange); + + uint32_t rxId = pktrxInfo.m_rxnd->GetNode ()->GetId (); + oss << GetXMLOpenClose_rx (0, rxId, pktrxInfo.m_fbRx, pktrxInfo.m_lbRx); + + oss << GetXMLClose ("wpacket"); + WriteN (m_fHandle, oss.str ()); +} + +void AnimationInterface::OutputCsmaPacket (AnimPacketInfo &pktInfo, AnimRxInfo pktrxInfo) +{ + NS_ASSERT (m_xml); + std::ostringstream oss; + NS_ASSERT (pktInfo.m_txnd); + uint32_t nodeId = pktInfo.m_txnd->GetNode ()->GetId (); + + oss << GetXMLOpen_packet (0, nodeId, pktInfo.m_fbTx, pktInfo.m_lbTx); + uint32_t rxId = pktrxInfo.m_rxnd->GetNode ()->GetId (); + oss << GetXMLOpenClose_rx (0, rxId, pktrxInfo.m_fbRx, pktrxInfo.m_lbRx); + oss << GetXMLClose ("packet"); + WriteN (m_fHandle, oss.str ()); +} + + +// XML Private Helpers + +std::string AnimationInterface::GetXMLOpen_anim (uint32_t lp) +{ + std::ostringstream oss; + oss <<"\n"; + return oss.str (); +} +std::string AnimationInterface::GetXMLOpen_topology (double minX,double minY,double maxX,double maxY) +{ + std::ostringstream oss; + oss << "" << std::endl; + return oss.str (); + +} + +std::string AnimationInterface::GetXMLOpenClose_node (uint32_t lp,uint32_t id,double locX,double locY) +{ + std::ostringstream oss; + oss <<"\n"; + return oss.str (); +} +std::string AnimationInterface::GetXMLOpenClose_link (uint32_t fromLp,uint32_t fromId, uint32_t toLp, uint32_t toId) +{ + std::ostringstream oss; + oss << "" << std::endl; + return oss.str (); +} + + +std::string AnimationInterface::GetXMLOpen_packet (uint32_t fromLp,uint32_t fromId, double fbTx, double lbTx, std::string auxInfo) +{ + std::ostringstream oss; + oss << std::setprecision (10); + oss << ""; + return oss.str (); +} + +std::string AnimationInterface::GetXMLOpen_wpacket (uint32_t fromLp,uint32_t fromId, double fbTx, double lbTx, double range) +{ + std::ostringstream oss; + oss << std::setprecision (10); + oss << "" << std::endl; + return oss.str (); + +} + +std::string AnimationInterface::GetXMLOpenClose_rx (uint32_t toLp, uint32_t toId, double fbRx, double lbRx) +{ + std::ostringstream oss; + oss << std::setprecision (10); + oss << "" << std::endl; + return oss.str (); +} + +std::vector AnimationInterface::GetElementsFromContext (std::string context) +{ + std::vector elements; + size_t pos1=0, pos2; + while (pos1 != context.npos) + { + pos1 = context.find ("/",pos1); + pos2 = context.find ("/",pos1+1); + elements.push_back (context.substr (pos1+1,pos2-(pos1+1))); + pos1 = pos2; + pos2 = context.npos; + } + return elements; +} + +TypeId +AnimByteTag::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::AnimByteTag") + .SetParent () + .AddConstructor () + ; + return tid; +} +TypeId +AnimByteTag::GetInstanceTypeId (void) const +{ + return GetTypeId (); +} + +uint32_t +AnimByteTag::GetSerializedSize (void) const +{ + return sizeof (uint64_t); +} +void +AnimByteTag::Serialize (TagBuffer i) const +{ + i.WriteU64 (m_AnimUid); +} +void +AnimByteTag::Deserialize (TagBuffer i) +{ + m_AnimUid = i.ReadU64 (); +} +void +AnimByteTag::Print (std::ostream &os) const +{ + os << "AnimUid=" << m_AnimUid; +} +void +AnimByteTag::Set (uint64_t AnimUid) +{ + m_AnimUid = AnimUid; +} + +uint64_t +AnimByteTag::Get (void) const +{ + return m_AnimUid; +} + + } // namespace ns3 diff --git a/src/netanim/model/animation-interface.h b/src/netanim/model/animation-interface.h index 6ad30fd23..814f2dcd4 100644 --- a/src/netanim/model/animation-interface.h +++ b/src/netanim/model/animation-interface.h @@ -1,4 +1,3 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -14,6 +13,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Author: George F. Riley + * Modified by: John Abraham */ // Interface between ns3 and the network animator @@ -22,18 +22,20 @@ #define ANIMATION_INTERFACE__H #include - +#include +#include #include "ns3/ptr.h" #include "ns3/net-device.h" #include "ns3/nstime.h" #include "ns3/log.h" #include "ns3/node-list.h" - +#include "ns3/simulator.h" +#include "ns3/config.h" +#include "ns3/animation-interface-helper.h" +#include "ns3/mac48-address.h" namespace ns3 { -class NetModel; - /** * \defgroup netanim Netanim * @@ -51,71 +53,316 @@ class NetModel; class AnimationInterface { public: -/** - * @brief Construct the animator interface. No arguments needed. - */ + + /** + * \brief Construct the animator interface. No arguments needed. + * + */ AnimationInterface (); -/** - * @brief Destructor for the animator interface. - */ + + /** + * \brief Destructor for the animator interface. + * + */ ~AnimationInterface (); -/** - * @brief Specify that animation commands are to be written - * to the specified output file. - * - * This call is used to write the animation information to a text - * file that can later be used as input to the network animator tool. - * - * @param fn The name of the output file. - * @returns true if successful open. - */ + + /** + * \brief Constructor + * \param filename The Filename for the trace file used by the Animator + * \param usingXML Set to true if XML output traces are required + * + */ + AnimationInterface (const std::string filename, bool usingXML = true); + + /** + * \brief Constructor + * \param port Port on which ns-3 should listen to for connection from the + * external netanim application + * \param usingXML Set to true if XML output traces are required + * + */ + AnimationInterface (uint16_t port, bool usingXML = true); + + /** + * \brief Specify that animation commands are to be written + * to the specified output file. + * + * This call is used to write the animation information to a text + * file that can later be used as input to the network animator tool. + * + * \param fn The name of the output file. + * \returns true if successful open. + * + */ bool SetOutputFile (const std::string& fn); -/** - * @brief Specify that animation commands are to be written to - * a socket. - * - * This call is used to set the ns3 process in server mode, waiting - * for a TCP connection from the animator. This call will not - * return until the animator connects in, or if the bind to the - * specified port fails. - * - * @param port Port number to bind to. - * @returns true if connection created, false if bind failed. - */ + /** + * \brief Specify that animation commands are to be written + * in XML format. + * + * \returns none + * + */ + void SetXMLOutput (); + + /** + * \brief (Deprecated) Specify that animation commands are to be written to + * a socket. + * + * This call is used to set the ns3 process in server mode, waiting + * for a TCP connection from the animator. This call will not + * return until the animator connects in, or if the bind to the + * specified port fails. + * + * \param port Port number to bind to. + * \returns true if connection created, false if bind failed. + * + */ bool SetServerPort (uint16_t port); -/** - * @brief Writes the topology information and sets up the appropriate - * animation packet tx callback - * - * Writes the topology information to the appropriate output, depending - * on prior calls to SetOutputFile, SetServerPort, or SetInternalAnimation. - * Then creates the callbacks needed for the animator to start processing - * packets. - * - */ + /** + * \brief Writes the topology information and sets up the appropriate + * animation packet tx callback + * + * Writes the topology information to the appropriate output, depending + * on prior calls to SetOutputFile, SetServerPort, or SetInternalAnimation. + * Then creates the callbacks needed for the animator to start processing + * packets. + * + */ void StartAnimation (); -/** - * @brief Closes the interface to the animator. - * - */ + /** + * \brief Closes the interface to the animator. + * + */ void StopAnimation (); + /** + * \brief Set mobility poll interval:WARNING: setting a low interval can + * cause slowness + * + * \param t Time interval between fetching mobility/position information + * Default: 0.25s + * + */ + void SetMobilityPollInterval (Time t); + + /** + * \brief Set random position if a Mobility Model does not exists for the node + * + * \param setRandPos True if a random position can be set for a node without a + * Mobililty model + * + */ + void SetRandomPosition (bool setRandPos); + + /** + * \brief typedef for WriteCallBack used for listening to AnimationInterface + * write messages + * + */ + typedef void (*AnimWriteCallback) (const char * str); + + /** + * \brief Set a callback function to listen to AnimationInterface write events + * + * \param cb Address of callback function + * + */ + void SetAnimWriteCallback (AnimWriteCallback cb); + + /** + * \brief Reset the write callback function + * + */ + void ResetAnimWriteCallback (); private: - // Packet tx animation callback - void DevTxTrace (std::string context, Ptr p, - Ptr tx, Ptr rx, - Time txTime, Time rxTime); + + int m_fHandle; // File handle for output (-1 if none) + bool m_xml; // True if xml format desired + Time mobilitypollinterval; + bool usingSockets; + uint16_t mport; + std::string outputfilename; + bool OutputFileSet; + bool ServerPortSet; + void DevTxTrace (std::string context, + Ptr p, + Ptr tx, + Ptr rx, + Time txTime, + Time rxTime); + void WifiPhyTxBeginTrace (std::string context, + Ptr p); + void WifiPhyTxEndTrace (std::string context, + Ptr p); + void WifiPhyTxDropTrace (std::string context, + Ptr p); + void WifiPhyRxBeginTrace (std::string context, + Ptr p); + void WifiPhyRxEndTrace (std::string context, + Ptr p); + void WifiMacRxTrace (std::string context, + Ptr p); + void WifiPhyRxDropTrace (std::string context, + Ptr p); + void WimaxTxTrace (std::string context, + Ptr p, + const Mac48Address &); + void WimaxRxTrace (std::string context, + Ptr p, + const Mac48Address &); + void CsmaPhyTxBeginTrace (std::string context, + Ptr p); + void CsmaPhyTxEndTrace (std::string context, + Ptr p); + void CsmaPhyRxEndTrace (std::string context, + Ptr p); + void CsmaMacRxTrace (std::string context, + Ptr p); + void MobilityCourseChangeTrace (Ptr mob); + // Write specified amount of data to the specified handle int WriteN (int, const char*, uint32_t); -private: - int m_fHandle; // File handle for output (-1 if none) - NetModel* m_model; // If non nil, points to the internal network model - // for the interlan animator + + // Write a string to the specified handle; + int WriteN (int, const std::string&); + + void OutputWirelessPacket (AnimPacketInfo& pktInfo, AnimRxInfo pktrxInfo); + void OutputCsmaPacket (AnimPacketInfo& pktInfo, AnimRxInfo pktrxInfo); + void MobilityAutoCheck (); + + uint64_t gAnimUid ; // Packet unique identifier used by Animtion + + std::map pendingWifiPackets; + void AddPendingWifiPacket (uint64_t AnimUid, AnimPacketInfo&); + bool WifiPacketIsPending (uint64_t AnimUid); + + std::map pendingWimaxPackets; + void AddPendingWimaxPacket (uint64_t AnimUid, AnimPacketInfo&); + bool WimaxPacketIsPending (uint64_t AnimUid); + + std::map pendingCsmaPackets; + void AddPendingCsmaPacket (uint64_t AnimUid, AnimPacketInfo&); + bool CsmaPacketIsPending (uint64_t AnimUid); + + uint64_t GetAnimUidFromPacket (Ptr ); + + std::map nodeLocation; + Vector GetPosition (Ptr n); + Vector UpdatePosition (Ptr n); + Vector UpdatePosition (Ptr n, Vector v); + void WriteDummyPacket (); + bool NodeHasMoved (Ptr n, Vector newLocation); + void AddMargin (); + + // Recalculate topology bounds + void RecalcTopoBounds (Vector v); + std::vector < Ptr > RecalcTopoBounds (); + + bool randomPosition; + AnimWriteCallback m_writeCallback; + + // Path helper + std::vector GetElementsFromContext (std::string context); + Ptr GetNetDeviceFromContext (std::string context); + + // XML helpers + std::string GetPreamble (void); + // Topology element dimensions + double topo_minX; + double topo_minY; + double topo_maxX; + double topo_maxY; + + std::string GetXMLOpen_anim (uint32_t lp); + std::string GetXMLOpen_topology (double minX,double minY,double maxX,double maxY); + std::string GetXMLOpenClose_node (uint32_t lp,uint32_t id,double locX,double locY); + std::string GetXMLOpenClose_link (uint32_t fromLp,uint32_t fromId, uint32_t toLp, uint32_t toId); + std::string GetXMLOpen_packet (uint32_t fromLp,uint32_t fromId, double fbTx, double lbTx, std::string auxInfo = ""); + std::string GetXMLOpenClose_rx (uint32_t toLp, uint32_t toId, double fbRx, double lbRx); + std::string GetXMLOpen_wpacket (uint32_t fromLp,uint32_t fromId, double fbTx, double lbTx, double range); + std::string GetXMLClose (std::string name) {return "\n"; } + }; + +/** + * \ingroup netanim + * + * \brief Byte tag using by Anim to uniquely identify packets + * + * When Anim receives a Tx Notification we tag the packet with a unique global uint64_t identifier + * before recording Tx information + * When Anim receives Rx notifications the tag is used to retrieve Tx information recorded earlier + * + */ + +class AnimByteTag : public Tag +{ +public: + + /** + * \brief Get Type Id + * \returns Type Id + * + */ + static TypeId GetTypeId (void); + + /** + * \brief Get Instance Type Id + * \returns Type Id + * + */ + virtual TypeId GetInstanceTypeId (void) const; + + /** + * \brief Get Serialized Size + * \returns Serialized Size (i.e size of uint64_t) + * + */ + virtual uint32_t GetSerializedSize (void) const; + + /** + * \brief Serialize function + * \param i Tag Buffer + * + */ + virtual void Serialize (TagBuffer i) const; + + /** + * \brief Deserialize function + * \param i Tag Buffer + * + */ + virtual void Deserialize (TagBuffer i); + + /** + * \brief Print tag info + * \param os Reference of ostream object + * + */ + virtual void Print (std::ostream &os) const; + + /** + * \brief Set global Uid in tag + * \param AnimUid global Uid + * + */ + void Set (uint64_t AnimUid); + + /** + * \brief Get Uid in tag + * \returns Uid in tag + * + */ + uint64_t Get (void) const; + +private: + uint64_t m_AnimUid; +}; + } #endif diff --git a/src/netanim/model/canvas-location.cc b/src/netanim/model/canvas-location.cc deleted file mode 100644 index e2c3d4cdd..000000000 --- a/src/netanim/model/canvas-location.cc +++ /dev/null @@ -1,62 +0,0 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ -/* - * Copyright (c) 2009 Georgia Institute of Technology - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation; - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Author: George Riley - */ - -#include "canvas-location.h" - -namespace ns3 { - -NS_OBJECT_ENSURE_REGISTERED (CanvasLocation); - -TypeId -CanvasLocation::GetTypeId (void) -{ - static TypeId tid = TypeId ("ns3::CanvasLocation") - .SetParent () - .AddAttribute ("Location", "The current location on the canvas.", - TypeId::ATTR_SET | TypeId::ATTR_GET, - VectorValue (Vector (0.0, 0.0, 0.0)), - MakeVectorAccessor (&CanvasLocation::SetLocation, - &CanvasLocation::GetLocation), - MakeVectorChecker ()) - ; - return tid; -} - -CanvasLocation::CanvasLocation () -{ -} - -CanvasLocation::~CanvasLocation () -{ -} - -Vector -CanvasLocation::GetLocation (void) const -{ - return m_location; -} - -void -CanvasLocation::SetLocation (const Vector &location) -{ - m_location = location; -} - -} // namespace ns3 diff --git a/src/netanim/model/canvas-location.h b/src/netanim/model/canvas-location.h deleted file mode 100644 index 3949dcb8d..000000000 --- a/src/netanim/model/canvas-location.h +++ /dev/null @@ -1,64 +0,0 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ -/* - * Copyright (c) 2009 Georgia Institute of Technology - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation; - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Author: George Riley - */ -#ifndef CANVAS_LOCATION_H -#define CANVAS_LOCATION_H - -#include "ns3/object.h" -#include "ns3/traced-callback.h" -#include "ns3/vector.h" - -namespace ns3 { - - -/** - * \ingroup netanim - * - * \brief Keep track of the current location of an object - * - * This can be used anytime a logical node location is needed - * (as opposed to a physical location used by the wireless PHY - * layer to calculate path loss). One potential use of - * this is by the animator to determine where to position the - * node icon on the animation display. Location units are - * arbitrary and dimensionless. In the case of use by the - * animator they dimensions are in pixels. - */ -class CanvasLocation : public Object -{ -public: - static TypeId GetTypeId (void); - CanvasLocation (); - virtual ~CanvasLocation (); - - /** - * \returns the current location - */ - Vector GetLocation (void) const; - /** - * \param location the location to set. - */ - void SetLocation (const Vector &location); -private: - Vector m_location; -}; - -}; // namespace ns3 - -#endif /* CANVAS_LOCATION_H */ diff --git a/src/netanim/wscript b/src/netanim/wscript index d9360f1fc..9d5710173 100644 --- a/src/netanim/wscript +++ b/src/netanim/wscript @@ -1,25 +1,27 @@ -## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- +## -*-Mode : python; py-indent-offset : 4; indent-tabs-mode : nil; coding : utf-8; -*- -def build(bld): - module = bld.create_ns3_module('netanim', ['internet', 'mobility']) - module.includes = '.' - module.source = [ - 'model/animation-interface.cc', - ] +def build (bld) : + module = bld.create_ns3_module ('netanim', ['internet', 'mobility', 'wimax', 'wifi', 'csma']) + module.includes = '.' + module.source = [ + 'model/animation-interface.cc', + 'helper/animation-interface-helper.cc', + ] - headers = bld.new_task_gen('ns3header') - headers.module = 'netanim' - headers.source = [ - 'model/animation-interface.h', - ] + headers = bld.new_task_gen (features=['ns3header']) + headers.module = 'netanim' + headers.source = [ + 'model/animation-interface.h', + 'helper/animation-interface-helper.h', + ] - if (bld.env['ENABLE_EXAMPLES']): - bld.add_subdirs('examples') + if (bld.env['ENABLE_EXAMPLES']) : + bld.add_subdirs ('examples') - bld.ns3_python_bindings() + bld.ns3_python_bindings () - -def configure(conf): - conf.check(header_name='sys/socket.h', define_name='HAVE_SYS_SOCKET_H') - conf.check(header_name='netinet/in.h', define_name='HAVE_NETINET_IN_H') +def configure (conf) : + conf.check (header_name='sys/socket.h', define_name='HAVE_SYS_SOCKET_H') + conf.check (header_name='netinet/in.h', define_name='HAVE_NETINET_IN_H') + conf.write_config_header ('ns3/netanim-config.h', top=True) diff --git a/src/network/bindings/modulegen__gcc_ILP32.py b/src/network/bindings/modulegen__gcc_ILP32.py index 6756222ae..9e6fe1ccc 100644 --- a/src/network/bindings/modulegen__gcc_ILP32.py +++ b/src/network/bindings/modulegen__gcc_ILP32.py @@ -36,8 +36,10 @@ def register_types(module): module.add_class('AsciiTraceHelper') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -147,7 +149,9 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs [class] + module.add_class('SystemWallClockMs', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -158,12 +162,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## random-variable.h (module 'core'): ns3::ZetaVariable [class] @@ -242,10 +246,12 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbPacket', 'ns3::Header', 'ns3::DefaultDeleter'], parent=root_module['ns3::Header'], 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, template_parameters=['ns3::PbbTlv', '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] module.add_class('Socket', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket']) + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket']) ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket']) ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -262,6 +268,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', parent=root_module['ns3::Chunk']) ## application.h (module 'network'): ns3::Application [class] @@ -431,7 +439,8 @@ def register_methods(root_module): register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -478,13 +487,14 @@ def register_methods(root_module): register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) + register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -522,12 +532,14 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbMessage__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_Ns3DefaultDeleter__lt__ns3PbbPacket__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbTlv__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbTlv, 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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3Application_methods(root_module, root_module['ns3::Application']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) @@ -828,41 +840,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -2106,10 +2120,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2136,6 +2150,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2150,10 +2166,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2990,6 +3002,36 @@ def register_Ns3Simulator_methods(root_module, cls): is_static=True) return +def register_Ns3SystemWallClockMs_methods(root_module, cls): + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs() [constructor] + cls.add_constructor([]) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::End() [member function] + cls.add_method('End', + 'int64_t', + []) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedReal() const [member function] + cls.add_method('GetElapsedReal', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedSystem() const [member function] + cls.add_method('GetElapsedSystem', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedUser() const [member function] + cls.add_method('GetElapsedUser', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): void ns3::SystemWallClockMs::Start() [member function] + cls.add_method('Start', + 'void', + []) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -3113,23 +3155,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -3137,26 +3169,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -3187,14 +3204,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -3202,11 +3214,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -3231,22 +3238,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -3256,6 +3258,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -3270,19 +3276,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -3307,22 +3332,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -4264,6 +4273,18 @@ def register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pbb 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -4801,6 +4822,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4930,6 +4978,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -5817,10 +5870,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -5835,11 +5896,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/network/bindings/modulegen__gcc_LP64.py b/src/network/bindings/modulegen__gcc_LP64.py index 6756222ae..9e6fe1ccc 100644 --- a/src/network/bindings/modulegen__gcc_LP64.py +++ b/src/network/bindings/modulegen__gcc_LP64.py @@ -36,8 +36,10 @@ def register_types(module): module.add_class('AsciiTraceHelper') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True) - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -147,7 +149,9 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs [class] + module.add_class('SystemWallClockMs', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -158,12 +162,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## random-variable.h (module 'core'): ns3::ZetaVariable [class] @@ -242,10 +246,12 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, template_parameters=['ns3::PbbPacket', 'ns3::Header', 'ns3::DefaultDeleter'], parent=root_module['ns3::Header'], 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, template_parameters=['ns3::PbbTlv', '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] module.add_class('Socket', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket']) + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket']) ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket']) ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -262,6 +268,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', parent=root_module['ns3::Chunk']) ## application.h (module 'network'): ns3::Application [class] @@ -431,7 +439,8 @@ def register_methods(root_module): register_Ns3ApplicationContainer_methods(root_module, root_module['ns3::ApplicationContainer']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -478,13 +487,14 @@ def register_methods(root_module): register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) + register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -522,12 +532,14 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3PbbMessage_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbMessage__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbMessage, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3PbbPacket_Ns3Header_Ns3DefaultDeleter__lt__ns3PbbPacket__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbPacket, ns3::Header, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3PbbTlv__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::PbbTlv, 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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketFactory_methods(root_module, root_module['ns3::SocketFactory']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3Application_methods(root_module, root_module['ns3::Application']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) @@ -828,41 +840,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -2106,10 +2120,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2136,6 +2150,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2150,10 +2166,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2990,6 +3002,36 @@ def register_Ns3Simulator_methods(root_module, cls): is_static=True) return +def register_Ns3SystemWallClockMs_methods(root_module, cls): + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs() [constructor] + cls.add_constructor([]) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::End() [member function] + cls.add_method('End', + 'int64_t', + []) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedReal() const [member function] + cls.add_method('GetElapsedReal', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedSystem() const [member function] + cls.add_method('GetElapsedSystem', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedUser() const [member function] + cls.add_method('GetElapsedUser', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): void ns3::SystemWallClockMs::Start() [member function] + cls.add_method('Start', + 'void', + []) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -3113,23 +3155,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -3137,26 +3169,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -3187,14 +3204,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -3202,11 +3214,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -3231,22 +3238,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -3256,6 +3258,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -3270,19 +3276,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -3307,22 +3332,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -4264,6 +4273,18 @@ def register_Ns3SimpleRefCount__Ns3PbbTlv_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pbb 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -4801,6 +4822,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4930,6 +4978,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -5817,10 +5870,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -5835,11 +5896,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/network/doc/sockets-api.rst b/src/network/doc/sockets-api.rst index 8b8f8900c..350cdeade 100644 --- a/src/network/doc/sockets-api.rst +++ b/src/network/doc/sockets-api.rst @@ -125,16 +125,16 @@ sending of more data until a function registered at the :cpp:func:`ns3::Socket::SetSendCallback` callback is invoked. An application can also ask the socket how much space is available by calling :cpp:func:`ns3::Socket::GetTxAvailable`. A typical sequence -of events for sending data (ignoring connection setup) might be: +of events for sending data (ignoring connection setup) might be::: -* ``SetSendCallback (MakeCallback(&HandleSendCallback));`` -* ``Send ();`` -* ``Send ();`` -* ... -* Send fails because buffer is full -* wait until :cpp:func:`HandleSendCallback` is called -* :cpp:func:`HandleSendCallback` is called by socket, since space now available -* ``Send (); // Start sending again`` + * ``SetSendCallback (MakeCallback(&HandleSendCallback));`` + * ``Send ();`` + * ``Send ();`` + * ... + * Send fails because buffer is full + * wait until :cpp:func:`HandleSendCallback` is called + * :cpp:func:`HandleSendCallback` is called by socket, since space now available + * ``Send (); // Start sending again`` Similarly, on the receive side, the socket user does not block on a call to ``recv()``. Instead, the application sets a callback diff --git a/src/network/model/application.cc b/src/network/model/application.cc index 69304fc13..7d2f38f35 100644 --- a/src/network/model/application.cc +++ b/src/network/model/application.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * @@ -115,6 +115,6 @@ void Application::StopApplication () { // Provide null functionality in case subclass is not interested } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/model/application.h b/src/network/model/application.h index 1eeeb6f08..c9f6e61a3 100644 --- a/src/network/model/application.h +++ b/src/network/model/application.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 Georgia Tech Research Corporation * @@ -18,8 +18,8 @@ * Author: George F. Riley */ -#ifndef __APPLICATION_H__ -#define __APPLICATION_H__ +#ifndef APPLICATION_H +#define APPLICATION_H #include "ns3/event-id.h" #include "ns3/nstime.h" @@ -130,5 +130,6 @@ protected: EventId m_stopEvent; }; -} //namespace ns3 -#endif +} // namespace ns3 + +#endif /* APPLICATION_H */ diff --git a/src/network/model/channel-list.cc b/src/network/model/channel-list.cc index b258f2902..e71177478 100644 --- a/src/network/model/channel-list.cc +++ b/src/network/model/channel-list.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -185,4 +185,4 @@ ChannelList::GetNChannels (void) return ChannelListPriv::Get ()->GetNChannels (); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/model/channel-list.h b/src/network/model/channel-list.h index ee2893525..31725cee4 100644 --- a/src/network/model/channel-list.h +++ b/src/network/model/channel-list.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -69,6 +69,6 @@ public: static uint32_t GetNChannels (void); }; -} //namespace ns3 +} // namespace ns3 #endif /* CHANNEL_LIST_H */ diff --git a/src/network/model/nix-vector.cc b/src/network/model/nix-vector.cc index 79dc8cddb..36fbddff4 100644 --- a/src/network/model/nix-vector.cc +++ b/src/network/model/nix-vector.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * diff --git a/src/network/model/nix-vector.h b/src/network/model/nix-vector.h index 4c00472ff..871030e60 100644 --- a/src/network/model/nix-vector.h +++ b/src/network/model/nix-vector.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * @@ -18,8 +18,8 @@ * Authors: Josh Pelkey */ -#ifndef __NIX_VECTOR_H__ -#define __NIX_VECTOR_H__ +#ifndef NIX_VECTOR_H +#define NIX_VECTOR_H #include "ns3/ptr.h" #include "ns3/simple-ref-count.h" @@ -185,4 +185,4 @@ private: }; } // namespace ns3 -#endif +#endif /* NIX_VECTOR_H */ diff --git a/src/network/model/node-list.cc b/src/network/model/node-list.cc index 59c1e61a6..5f65365d3 100644 --- a/src/network/model/node-list.cc +++ b/src/network/model/node-list.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * @@ -188,4 +188,4 @@ NodeList::GetNNodes (void) return NodeListPriv::Get ()->GetNNodes (); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/model/node-list.h b/src/network/model/node-list.h index e457e2c61..65988c02a 100644 --- a/src/network/model/node-list.h +++ b/src/network/model/node-list.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * @@ -71,7 +71,7 @@ public: static uint32_t GetNNodes (void); }; -} //namespace ns3 +} // namespace ns3 #endif /* NODE_LIST_H */ diff --git a/src/network/model/node.cc b/src/network/model/node.cc index 2aeb676a6..89afdafb9 100644 --- a/src/network/model/node.cc +++ b/src/network/model/node.cc @@ -154,6 +154,7 @@ Node::GetNApplications (void) const void Node::DoDispose () { + m_deviceAdditionListeners.clear (); m_handlers.clear (); for (std::vector >::iterator i = m_devices.begin (); i != m_devices.end (); i++) @@ -192,10 +193,6 @@ Node::DoStart (void) Object::DoStart (); } -void -Node::NotifyDeviceAdded (Ptr device) -{} - void Node::RegisterProtocolHandler (ProtocolHandler handler, uint16_t protocolType, @@ -298,5 +295,40 @@ Node::ReceiveFromDevice (Ptr device, Ptr packet, uint16 } return found; } +void +Node::RegisterDeviceAdditionListener (DeviceAdditionListener listener) +{ + m_deviceAdditionListeners.push_back (listener); + // and, then, notify the new listener about all existing devices. + for (std::vector >::const_iterator i = m_devices.begin (); + i != m_devices.end (); ++i) + { + listener (*i); + } +} +void +Node::UnregisterDeviceAdditionListener (DeviceAdditionListener listener) +{ + for (DeviceAdditionListenerList::iterator i = m_deviceAdditionListeners.begin (); + i != m_deviceAdditionListeners.end (); i++) + { + if ((*i).IsEqual (listener)) + { + m_deviceAdditionListeners.erase (i); + break; + } + } +} + +void +Node::NotifyDeviceAdded (Ptr device) +{ + for (DeviceAdditionListenerList::iterator i = m_deviceAdditionListeners.begin (); + i != m_deviceAdditionListeners.end (); i++) + { + (*i) (device); + } +} + -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/model/node.h b/src/network/model/node.h index 5b3794531..1afc3223c 100644 --- a/src/network/model/node.h +++ b/src/network/model/node.h @@ -174,6 +174,27 @@ public: */ void UnregisterProtocolHandler (ProtocolHandler handler); + /** + * A callback invoked whenever a device is added to a node. + */ + typedef Callback > DeviceAdditionListener; + /** + * \param listener the listener to add + * + * Add a new listener to the list of listeners for the device-added + * event. When a new listener is added, it is notified of the existance + * of all already-added devices to make discovery of devices easier. + */ + void RegisterDeviceAdditionListener (DeviceAdditionListener listener); + /** + * \param listener the listener to remove + * + * Remove an existing listener from the list of listeners for the + * device-added event. + */ + void UnregisterDeviceAdditionListener (DeviceAdditionListener listener); + + /** * \returns true if checksums are enabled, false otherwise. @@ -190,13 +211,7 @@ protected: virtual void DoDispose (void); virtual void DoStart (void); private: - - /** - * \param device the device added to this Node. - * - * This method is invoked whenever a user calls Node::AddDevice. - */ - virtual void NotifyDeviceAdded (Ptr device); + void NotifyDeviceAdded (Ptr device); bool NonPromiscReceiveFromDevice (Ptr device, Ptr, uint16_t protocol, const Address &from); bool PromiscReceiveFromDevice (Ptr device, Ptr, uint16_t protocol, const Address &from, const Address &to, NetDevice::PacketType packetType); @@ -212,14 +227,16 @@ private: bool promiscuous; }; typedef std::vector ProtocolHandlerList; + typedef std::vector DeviceAdditionListenerList; + uint32_t m_id; // Node id for this node uint32_t m_sid; // System id for this node std::vector > m_devices; std::vector > m_applications; ProtocolHandlerList m_handlers; - + DeviceAdditionListenerList m_deviceAdditionListeners; }; -} //namespace ns3 +} // namespace ns3 #endif /* NODE_H */ diff --git a/src/network/model/packet-metadata.h b/src/network/model/packet-metadata.h index 8bf17b566..547362d8f 100644 --- a/src/network/model/packet-metadata.h +++ b/src/network/model/packet-metadata.h @@ -351,7 +351,7 @@ public: uint64_t m_packetUid; }; -}; // namespace ns3 +} // namespace ns3 namespace ns3 { diff --git a/src/network/model/socket.cc b/src/network/model/socket.cc index 0fb41104d..84927a3a5 100644 --- a/src/network/model/socket.cc +++ b/src/network/model/socket.cc @@ -503,4 +503,4 @@ SocketSetDontFragmentTag::Print (std::ostream &os) const os << (m_dontFragment ? "true" : "false"); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/model/socket.h b/src/network/model/socket.h index b10fa63bf..76131ddb1 100644 --- a/src/network/model/socket.h +++ b/src/network/model/socket.h @@ -20,8 +20,8 @@ * Mathieu Lacage */ -#ifndef __SOCKET_H__ -#define __SOCKET_H__ +#ifndef NS3_SOCKET_H +#define NS3_SOCKET_H #include "ns3/callback.h" #include "ns3/ptr.h" @@ -82,6 +82,7 @@ public: ERROR_NOROUTETOHOST, ERROR_NODEV, ERROR_ADDRNOTAVAIL, + ERROR_ADDRINUSE, SOCKET_ERRNO_LAST }; @@ -94,12 +95,12 @@ public: /** * This method wraps the creation of sockets that is performed - * by a socket factory on a given node based on a TypeId. + * on a given node by a SocketFactory specified by TypeId. * * \return A smart pointer to a newly created socket. * * \param node The node on which to create the socket - * \param tid The TypeId of the socket to create + * \param tid The TypeId of a SocketFactory class to use */ static Ptr CreateSocket (Ptr node, TypeId tid); /** @@ -686,8 +687,6 @@ private: bool m_dontFragment; }; -} //namespace ns3 - -#endif /* SOCKET_H */ - +} // namespace ns3 +#endif /* NS3_SOCKET_H */ diff --git a/src/network/test/packet-metadata-test.cc b/src/network/test/packet-metadata-test.cc index 655484666..4fd77466e 100644 --- a/src/network/test/packet-metadata-test.cc +++ b/src/network/test/packet-metadata-test.cc @@ -835,4 +835,4 @@ PacketMetadataTestSuite::PacketMetadataTestSuite () } PacketMetadataTestSuite g_packetMetadataTest; -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/test/packetbb-test-suite.cc b/src/network/test/packetbb-test-suite.cc index 43d96d0eb..74731856f 100644 --- a/src/network/test/packetbb-test-suite.cc +++ b/src/network/test/packetbb-test-suite.cc @@ -40,8 +40,8 @@ protected: virtual void DoRun (void); private: - bool TestSerialize (void); - bool TestDeserialize (void); + void TestSerialize (void); + void TestDeserialize (void); Ptr m_refPacket; Buffer m_refBuffer; @@ -65,44 +65,38 @@ PbbTestCase::~PbbTestCase (void) void PbbTestCase::DoRun (void) { - NS_TEST_ASSERT_MSG_EQ (TestSerialize (), false, - "serialization failed"); - NS_TEST_ASSERT_MSG_EQ (TestDeserialize (), false, - "deserialization failed"); + TestSerialize (); + TestDeserialize (); } -bool +void PbbTestCase::TestSerialize (void) { Buffer newBuffer; newBuffer.AddAtStart (m_refPacket->GetSerializedSize ()); m_refPacket->Serialize (newBuffer.Begin ()); - NS_TEST_ASSERT_MSG_EQ_RETURNS_BOOL (newBuffer.GetSize (), m_refBuffer.GetSize (), - "serialization failed, buffers have different sizes"); + NS_TEST_ASSERT_MSG_EQ (newBuffer.GetSize (), m_refBuffer.GetSize (), + "serialization failed, buffers have different sizes"); int memrv = memcmp (newBuffer.PeekData (), m_refBuffer.PeekData (), newBuffer.GetSize ()); - NS_TEST_ASSERT_MSG_EQ_RETURNS_BOOL (memrv, 0, - "serialization faled, buffers differ"); - - return GetErrorStatus (); + NS_TEST_ASSERT_MSG_EQ (memrv, 0, + "serialization faled, buffers differ"); } -bool +void PbbTestCase::TestDeserialize (void) { Ptr newPacket = Create (); uint32_t numbytes = newPacket->Deserialize (m_refBuffer.Begin ()); - NS_TEST_ASSERT_MSG_EQ_RETURNS_BOOL (numbytes, m_refBuffer.GetSize (), + NS_TEST_ASSERT_MSG_EQ (numbytes, m_refBuffer.GetSize (), "deserialization failed, did not use all bytes"); - NS_TEST_ASSERT_MSG_EQ_RETURNS_BOOL (*newPacket, *m_refPacket, + NS_TEST_ASSERT_MSG_EQ (*newPacket, *m_refPacket, "deserialization failed, objects do not match"); - - return GetErrorStatus (); } class PbbTestSuite : public TestSuite diff --git a/src/network/test/pcap-file-test-suite.cc b/src/network/test/pcap-file-test-suite.cc index f78942226..87d471e7b 100644 --- a/src/network/test/pcap-file-test-suite.cc +++ b/src/network/test/pcap-file-test-suite.cc @@ -107,7 +107,7 @@ WriteModeCreateTestCase::DoSetup (void) std::stringstream filename; uint32_t n = rand (); filename << n; - m_testFilename = GetTempDir () + filename.str () + ".pcap"; + m_testFilename = CreateTempDirFilename (filename.str () + ".pcap"); } void @@ -219,7 +219,7 @@ ReadModeCreateTestCase::DoSetup (void) std::stringstream filename; uint32_t n = rand (); filename << n; - m_testFilename = GetTempDir () + filename.str () + ".pcap"; + m_testFilename = CreateTempDirFilename (filename.str () + ".pcap"); } void @@ -325,7 +325,7 @@ AppendModeCreateTestCase::DoSetup (void) std::stringstream filename; uint32_t n = rand (); filename << n; - m_testFilename = GetTempDir () + filename.str () + ".pcap"; + m_testFilename = CreateTempDirFilename (filename.str () + ".pcap"); } void @@ -431,7 +431,7 @@ FileHeaderTestCase::DoSetup (void) std::stringstream filename; uint32_t n = rand (); filename << n; - m_testFilename = GetTempDir () + filename.str () + ".pcap"; + m_testFilename = CreateTempDirFilename (filename.str () + ".pcap"); } void @@ -668,7 +668,7 @@ RecordHeaderTestCase::DoSetup (void) std::stringstream filename; uint32_t n = rand (); filename << n; - m_testFilename = GetTempDir () + filename.str () + ".pcap"; + m_testFilename = CreateTempDirFilename (filename.str () + ".pcap"); } void @@ -1008,7 +1008,7 @@ ReadFileTestCase::DoRun (void) // // - std::string filename = NS_TEST_SOURCEDIR + "known.pcap"; + std::string filename = CreateDataDirFilename ("known.pcap"); f.Open (filename, std::ios::in); NS_TEST_ASSERT_MSG_EQ (f.Fail (), false, "Open (" << filename << ", \"std::ios::in\") returns error"); @@ -1070,7 +1070,7 @@ DiffTestCase::DoRun (void) // // Check that PcapDiff(file, file) is false // - std::string filename = NS_TEST_SOURCEDIR + "known.pcap"; + std::string filename = CreateDataDirFilename ("known.pcap"); uint32_t sec (0), usec (0); bool diff = PcapFile::Diff (filename, filename, sec, usec); NS_TEST_EXPECT_MSG_EQ (diff, false, "PcapDiff(file, file) must always be false"); @@ -1110,6 +1110,7 @@ public: PcapFileTestSuite::PcapFileTestSuite () : TestSuite ("pcap-file", UNIT) { + SetDataDir (NS_TEST_SOURCEDIR); AddTestCase (new WriteModeCreateTestCase); AddTestCase (new ReadModeCreateTestCase); //AddTestCase (new AppendModeCreateTestCase); diff --git a/src/network/utils/address-utils.cc b/src/network/utils/address-utils.cc index 078da244c..28bb11b46 100644 --- a/src/network/utils/address-utils.cc +++ b/src/network/utils/address-utils.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/network/utils/address-utils.h b/src/network/utils/address-utils.h index ac136b548..154c5a686 100644 --- a/src/network/utils/address-utils.h +++ b/src/network/utils/address-utils.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/network/utils/data-rate.cc b/src/network/utils/data-rate.cc index 8ecd06697..e1a976b78 100644 --- a/src/network/utils/data-rate.cc +++ b/src/network/utils/data-rate.cc @@ -271,4 +271,4 @@ double operator* (const Time& lhs, const DataRate& rhs) return lhs.GetSeconds ()*rhs.GetBitRate (); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/utils/data-rate.h b/src/network/utils/data-rate.h index 9d980da17..cc131c651 100644 --- a/src/network/utils/data-rate.h +++ b/src/network/utils/data-rate.h @@ -128,6 +128,6 @@ ATTRIBUTE_HELPER_HEADER (DataRate); double operator* (const DataRate& lhs, const Time& rhs); double operator* (const Time& lhs, const DataRate& rhs); -} //namespace ns3 +} // namespace ns3 #endif /* DATA_RATE_H */ diff --git a/src/network/utils/drop-tail-queue.h b/src/network/utils/drop-tail-queue.h index c9c045088..93a020fca 100644 --- a/src/network/utils/drop-tail-queue.h +++ b/src/network/utils/drop-tail-queue.h @@ -81,6 +81,6 @@ private: Mode m_mode; }; -}; // namespace ns3 +} // namespace ns3 #endif /* DROPTAIL_H */ diff --git a/src/network/utils/error-model.cc b/src/network/utils/error-model.cc index 1c8d2d1ad..d53bd05e5 100644 --- a/src/network/utils/error-model.cc +++ b/src/network/utils/error-model.cc @@ -367,4 +367,4 @@ ReceiveListErrorModel::DoReset (void) } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/utils/error-model.h b/src/network/utils/error-model.h index 04f532054..919d1b97d 100644 --- a/src/network/utils/error-model.h +++ b/src/network/utils/error-model.h @@ -272,5 +272,5 @@ private: }; -} //namespace ns3 +} // namespace ns3 #endif diff --git a/src/network/utils/ethernet-header.cc b/src/network/utils/ethernet-header.cc index 9b98f1653..53f38ebba 100644 --- a/src/network/utils/ethernet-header.cc +++ b/src/network/utils/ethernet-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/ethernet-header.h b/src/network/utils/ethernet-header.h index a1dc233e6..c3a6bdbcb 100644 --- a/src/network/utils/ethernet-header.h +++ b/src/network/utils/ethernet-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * @@ -124,7 +124,7 @@ private: Mac48Address m_destination; /// Destination address }; -}; // namespace ns3 +} // namespace ns3 #endif /* ETHERNET_HEADER_H */ diff --git a/src/network/utils/ethernet-trailer.cc b/src/network/utils/ethernet-trailer.cc index 4b4cccb1f..9e6fb3f8f 100644 --- a/src/network/utils/ethernet-trailer.cc +++ b/src/network/utils/ethernet-trailer.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -159,4 +159,4 @@ EthernetTrailer::DoCalcFcs (uint8_t const *buffer, size_t len) const return ~crc; } -}; // namespace ns3 +} // namespace ns3 diff --git a/src/network/utils/ethernet-trailer.h b/src/network/utils/ethernet-trailer.h index 884e6acf5..c7de33fc5 100644 --- a/src/network/utils/ethernet-trailer.h +++ b/src/network/utils/ethernet-trailer.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise * diff --git a/src/network/utils/generic-phy.h b/src/network/utils/generic-phy.h index e47a4e65d..e3c3ebb9c 100644 --- a/src/network/utils/generic-phy.h +++ b/src/network/utils/generic-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/network/utils/inet-socket-address.cc b/src/network/utils/inet-socket-address.cc index 82a8b8f82..774676eba 100644 --- a/src/network/utils/inet-socket-address.cc +++ b/src/network/utils/inet-socket-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/inet-socket-address.h b/src/network/utils/inet-socket-address.h index e8d715baf..e11b7a1cb 100644 --- a/src/network/utils/inet-socket-address.h +++ b/src/network/utils/inet-socket-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/inet6-socket-address.cc b/src/network/utils/inet6-socket-address.cc index d307f23e7..cd9f04290 100644 --- a/src/network/utils/inet6-socket-address.cc +++ b/src/network/utils/inet6-socket-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/network/utils/inet6-socket-address.h b/src/network/utils/inet6-socket-address.h index 55580e514..83054b90f 100644 --- a/src/network/utils/inet6-socket-address.h +++ b/src/network/utils/inet6-socket-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * @@ -18,7 +18,7 @@ * Author: Sebastien Vincent */ -#ifndef INET6_SOCKET_ADDRESS_H +#ifndef INET6_SOCKET_ADDRESS_H #define INET6_SOCKET_ADDRESS_H #include @@ -139,4 +139,3 @@ private: } /* namespace ns3 */ #endif /* INET6_SOCKET_ADDRESS_H */ - diff --git a/src/network/utils/ipv4-address.cc b/src/network/utils/ipv4-address.cc index b2f070fe0..3ca499cc9 100644 --- a/src/network/utils/ipv4-address.cc +++ b/src/network/utils/ipv4-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -55,7 +55,7 @@ AsciiToIpv4Host (char const *address) return host; } -} //namespace ns3 +} // namespace ns3 namespace ns3 { diff --git a/src/network/utils/ipv4-address.h b/src/network/utils/ipv4-address.h index 86f303486..4fd3e87cd 100644 --- a/src/network/utils/ipv4-address.h +++ b/src/network/utils/ipv4-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/ipv6-address.cc b/src/network/utils/ipv6-address.cc index 455183e24..4d268dd75 100644 --- a/src/network/utils/ipv6-address.cc +++ b/src/network/utils/ipv6-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/network/utils/ipv6-address.h b/src/network/utils/ipv6-address.h index 116db440d..e88467b03 100644 --- a/src/network/utils/ipv6-address.h +++ b/src/network/utils/ipv6-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007-2008 Louis Pasteur University * diff --git a/src/network/utils/llc-snap-header.cc b/src/network/utils/llc-snap-header.cc index 3f1012f58..18afe1ba2 100644 --- a/src/network/utils/llc-snap-header.cc +++ b/src/network/utils/llc-snap-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/llc-snap-header.h b/src/network/utils/llc-snap-header.h index a2551c053..a0dab044d 100644 --- a/src/network/utils/llc-snap-header.h +++ b/src/network/utils/llc-snap-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/network/utils/mac48-address.cc b/src/network/utils/mac48-address.cc index 22d4930f6..613bb1cf0 100644 --- a/src/network/utils/mac48-address.cc +++ b/src/network/utils/mac48-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/mac48-address.h b/src/network/utils/mac48-address.h index a532d0d33..8a714a0df 100644 --- a/src/network/utils/mac48-address.h +++ b/src/network/utils/mac48-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/mac64-address.cc b/src/network/utils/mac64-address.cc index 3d020676d..210a497e2 100644 --- a/src/network/utils/mac64-address.cc +++ b/src/network/utils/mac64-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/mac64-address.h b/src/network/utils/mac64-address.h index f4509243d..0462c9f10 100644 --- a/src/network/utils/mac64-address.h +++ b/src/network/utils/mac64-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/output-stream-wrapper.cc b/src/network/utils/output-stream-wrapper.cc index 9f52faf6c..ef1914973 100644 --- a/src/network/utils/output-stream-wrapper.cc +++ b/src/network/utils/output-stream-wrapper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * @@ -57,4 +57,4 @@ OutputStreamWrapper::GetStream (void) return m_ostream; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/utils/output-stream-wrapper.h b/src/network/utils/output-stream-wrapper.h index eeec58891..c1a966d1c 100644 --- a/src/network/utils/output-stream-wrapper.h +++ b/src/network/utils/output-stream-wrapper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 University of Washington * @@ -88,6 +88,6 @@ private: bool m_destroyable; }; -} //namespace ns3 +} // namespace ns3 -#endif // OUTPUT_STREAM_WRAPPER_H +#endif /* OUTPUT_STREAM_WRAPPER_H */ diff --git a/src/network/utils/packet-socket-address.cc b/src/network/utils/packet-socket-address.cc index b27168dbf..cdf6307d1 100644 --- a/src/network/utils/packet-socket-address.cc +++ b/src/network/utils/packet-socket-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/packet-socket-address.h b/src/network/utils/packet-socket-address.h index 3420e52f2..f2389b488 100644 --- a/src/network/utils/packet-socket-address.h +++ b/src/network/utils/packet-socket-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/network/utils/packet-socket.cc b/src/network/utils/packet-socket.cc index 5308ca9fa..9f5acc2b5 100644 --- a/src/network/utils/packet-socket.cc +++ b/src/network/utils/packet-socket.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise, INRIA * @@ -488,4 +488,4 @@ PacketSocket::GetAllowBroadcast () const return false; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/utils/packet-socket.h b/src/network/utils/packet-socket.h index 9457e94b1..a2aea47fb 100644 --- a/src/network/utils/packet-socket.h +++ b/src/network/utils/packet-socket.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 Emmanuelle Laprise, INRIA * @@ -140,7 +140,7 @@ private: }; -} //namespace ns3 +} // namespace ns3 #endif /* PACKET_SOCKET_H */ diff --git a/src/network/utils/packetbb.cc b/src/network/utils/packetbb.cc index 329af15a7..7975d49eb 100644 --- a/src/network/utils/packetbb.cc +++ b/src/network/utils/packetbb.cc @@ -1590,17 +1590,20 @@ PbbMessageIpv4::GetAddressLength (void) const void PbbMessageIpv4::SerializeOriginatorAddress (Buffer::Iterator &start) const { - uint8_t buffer[GetAddressLength () + 1]; + uint8_t* buffer = new uint8_t[GetAddressLength () + 1]; Ipv4Address::ConvertFrom (GetOriginatorAddress ()).Serialize (buffer); start.Write (buffer, GetAddressLength () + 1); + delete[] buffer; } Address PbbMessageIpv4::DeserializeOriginatorAddress (Buffer::Iterator &start) const { - uint8_t buffer[GetAddressLength () + 1]; + uint8_t* buffer = new uint8_t[GetAddressLength () + 1]; start.Read (buffer, GetAddressLength () + 1); - return Ipv4Address::Deserialize (buffer); + Address result = Ipv4Address::Deserialize (buffer); + delete[] buffer; + return result; } void @@ -1636,17 +1639,20 @@ PbbMessageIpv6::GetAddressLength (void) const void PbbMessageIpv6::SerializeOriginatorAddress (Buffer::Iterator &start) const { - uint8_t buffer[GetAddressLength () + 1]; + uint8_t* buffer = new uint8_t[GetAddressLength () + 1]; Ipv6Address::ConvertFrom (GetOriginatorAddress ()).Serialize (buffer); start.Write (buffer, GetAddressLength () + 1); + delete[] buffer; } Address PbbMessageIpv6::DeserializeOriginatorAddress (Buffer::Iterator &start) const { - uint8_t buffer[GetAddressLength () + 1]; + uint8_t* buffer = new uint8_t[GetAddressLength () + 1]; start.Read (buffer, GetAddressLength () + 1); - return Ipv6Address::Deserialize (buffer); + Address res = Ipv6Address::Deserialize (buffer); + delete[] buffer; + return res; } void @@ -1980,9 +1986,9 @@ PbbAddressBlock::GetSerializedSize (void) const } else if (AddressSize () > 0) { - uint8_t head[GetAddressLength ()]; + uint8_t* head = new uint8_t[GetAddressLength ()]; uint8_t headlen = 0; - uint8_t tail[GetAddressLength ()]; + uint8_t* tail = new uint8_t[GetAddressLength ()]; uint8_t taillen = 0; GetHeadTail (head, headlen, tail, taillen); @@ -2005,6 +2011,9 @@ PbbAddressBlock::GetSerializedSize (void) const size += (GetAddressLength () - headlen - taillen) * AddressSize (); size += PrefixSize (); + + delete[] head; + delete[] tail; } size += m_addressTlvList.GetSerializedSize (); @@ -2022,7 +2031,7 @@ PbbAddressBlock::Serialize (Buffer::Iterator &start) const if (AddressSize () == 1) { - uint8_t buf[GetAddressLength ()]; + uint8_t* buf = new uint8_t[GetAddressLength ()]; SerializeAddress (buf, AddressBegin ()); start.Write (buf, GetAddressLength ()); @@ -2032,11 +2041,12 @@ PbbAddressBlock::Serialize (Buffer::Iterator &start) const flags |= AHAS_SINGLE_PRE_LEN; } bufref.WriteU8 (flags); + delete[] buf; } else if (AddressSize () > 0) { - uint8_t head[GetAddressLength ()]; - uint8_t tail[GetAddressLength ()]; + uint8_t* head = new uint8_t[GetAddressLength ()]; + uint8_t* tail = new uint8_t[GetAddressLength ()]; uint8_t headlen = 0; uint8_t taillen = 0; @@ -2066,7 +2076,7 @@ PbbAddressBlock::Serialize (Buffer::Iterator &start) const if (headlen + taillen < GetAddressLength ()) { - uint8_t mid[GetAddressLength ()]; + uint8_t* mid = new uint8_t[GetAddressLength ()]; for (PbbAddressBlock::ConstAddressIterator iter = AddressBegin (); iter != AddressEnd (); iter++) @@ -2074,6 +2084,7 @@ PbbAddressBlock::Serialize (Buffer::Iterator &start) const SerializeAddress (mid, iter); start.Write (mid + headlen, GetAddressLength () - headlen - taillen); } + delete[] mid; } flags |= GetPrefixFlags (); @@ -2085,6 +2096,9 @@ PbbAddressBlock::Serialize (Buffer::Iterator &start) const { start.WriteU8 (*iter); } + + delete[] head; + delete[] tail; } m_addressTlvList.Serialize (start); @@ -2100,7 +2114,7 @@ PbbAddressBlock::Deserialize (Buffer::Iterator &start) { uint8_t headlen = 0; uint8_t taillen = 0; - uint8_t addrtmp[GetAddressLength ()]; + uint8_t* addrtmp = new uint8_t[GetAddressLength ()]; memset (addrtmp, 0, GetAddressLength ()); if (flags & AHAS_HEAD) @@ -2136,6 +2150,8 @@ PbbAddressBlock::Deserialize (Buffer::Iterator &start) PrefixPushBack (start.ReadU8 ()); } } + + delete[] addrtmp; } m_addressTlvList.Deserialize (start); diff --git a/src/network/utils/pcap-file-wrapper.cc b/src/network/utils/pcap-file-wrapper.cc index 3a989de2e..9c42ee34b 100644 --- a/src/network/utils/pcap-file-wrapper.cc +++ b/src/network/utils/pcap-file-wrapper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -172,4 +172,4 @@ PcapFileWrapper::GetDataLinkType (void) return m_file.GetDataLinkType (); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/utils/pcap-file-wrapper.h b/src/network/utils/pcap-file-wrapper.h index 7a3b2f771..f1cbff047 100644 --- a/src/network/utils/pcap-file-wrapper.h +++ b/src/network/utils/pcap-file-wrapper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -199,6 +199,6 @@ private: uint32_t m_snapLen; }; -} //namespace ns3 +} // namespace ns3 -#endif // PCAP_FILE_WRAPPER_H +#endif /* PCAP_FILE_WRAPPER_H */ diff --git a/src/network/utils/pcap-file.cc b/src/network/utils/pcap-file.cc index fb3999e95..a1a040d5c 100644 --- a/src/network/utils/pcap-file.cc +++ b/src/network/utils/pcap-file.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -534,4 +534,4 @@ PcapFile::Diff (std::string const & f1, std::string const & f2, return diff; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/network/utils/pcap-file.h b/src/network/utils/pcap-file.h index 9edddb8a0..7993af04f 100644 --- a/src/network/utils/pcap-file.h +++ b/src/network/utils/pcap-file.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -292,6 +292,6 @@ private: bool m_swapMode; }; -} //namespace ns3 +} // namespace ns3 #endif /* PCAP_FILE_H */ diff --git a/src/network/utils/pcap-test.h b/src/network/utils/pcap-test.h new file mode 100644 index 000000000..8e77e2f16 --- /dev/null +++ b/src/network/utils/pcap-test.h @@ -0,0 +1,34 @@ +#ifndef PCAP_TEST_H +#define PCAP_TEST_H + +#include +#include +#include +#include "pcap-file.h" +#include "ns3/test.h" + +/** + * \brief Test that a pair of reference/new pcap files are equal + * + * The filename is interpreted as a stream. + * + * \param filename The name of the file to read in the reference/temporary + * directories + */ +#define NS_PCAP_TEST_EXPECT_EQ(filename) \ + do { \ + std::ostringstream oss; \ + oss << filename; \ + std::string expected = CreateDataDirFilename (oss.str()); \ + std::string got = CreateTempDirFilename (oss.str()); \ + uint32_t sec(0), usec(0); \ + /* TODO support default PcapWriter snap length here */ \ + bool diff = PcapFile::Diff (got, expected, sec, usec); \ + NS_TEST_EXPECT_MSG_EQ (diff, false, \ + "PCAP traces " << got << " and " << expected \ + << " differ starting from " << sec << " s " \ + << usec << " us"); \ + } while (false) + + +#endif /* PCAP_TEST_H */ diff --git a/src/network/utils/queue.h b/src/network/utils/queue.h index 753e2c229..824722c81 100644 --- a/src/network/utils/queue.h +++ b/src/network/utils/queue.h @@ -162,6 +162,6 @@ private: uint32_t m_nTotalDroppedPackets; }; -}; // namespace ns3 +} // namespace ns3 #endif /* QUEUE_H */ diff --git a/src/network/utils/radiotap-header.cc b/src/network/utils/radiotap-header.cc index 3b7604bb6..ec880a3c3 100644 --- a/src/network/utils/radiotap-header.cc +++ b/src/network/utils/radiotap-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/network/utils/radiotap-header.h b/src/network/utils/radiotap-header.h index 45358145f..7c69e4e6e 100644 --- a/src/network/utils/radiotap-header.h +++ b/src/network/utils/radiotap-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/network/utils/sequence-number.h b/src/network/utils/sequence-number.h index d935ea8fe..b06a591d0 100644 --- a/src/network/utils/sequence-number.h +++ b/src/network/utils/sequence-number.h @@ -18,8 +18,8 @@ // Author: Gustavo J. A. M. Carneiro // -#ifndef __NS3_SEQ_NUM_H__ -#define __NS3_SEQ_NUM_H__ +#ifndef NS3_SEQ_NUM_H +#define NS3_SEQ_NUM_H #include #include @@ -293,6 +293,6 @@ typedef SequenceNumber SequenceNumber16; } // namespace ns3 -#endif +#endif /* NS3_SEQ_NUM_H */ diff --git a/src/network/wscript b/src/network/wscript index fa1ea3fa0..d36cfe41e 100644 --- a/src/network/wscript +++ b/src/network/wscript @@ -67,7 +67,7 @@ def build(bld): 'test/sequence-number-test-suite.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'network' headers.source = [ 'model/address.h', @@ -119,6 +119,7 @@ def build(bld): 'utils/sgi-hashmap.h', 'utils/simple-channel.h', 'utils/simple-net-device.h', + 'utils/pcap-test.h', 'helper/application-container.h', 'helper/net-device-container.h', 'helper/node-container.h', diff --git a/src/nix-vector-routing/bindings/modulegen__gcc_ILP32.py b/src/nix-vector-routing/bindings/modulegen__gcc_ILP32.py index 5f50b26ed..b327d5880 100644 --- a/src/nix-vector-routing/bindings/modulegen__gcc_ILP32.py +++ b/src/nix-vector-routing/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -102,10 +104,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -140,10 +142,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -158,6 +162,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -242,6 +248,7 @@ def register_types(module): module.add_class('BridgeNetDevice', import_from_module='ns.bridge', parent=root_module['ns3::NetDevice']) ## ipv4-nix-vector-routing.h (module 'nix-vector-routing'): ns3::Ipv4NixVectorRouting [class] module.add_class('Ipv4NixVectorRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >', 'ns3::NixMap_t') typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >*', 'ns3::NixMap_t*') typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >&', 'ns3::NixMap_t&') @@ -261,7 +268,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -294,8 +302,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -313,11 +321,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -430,41 +440,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1579,10 +1591,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1609,6 +1621,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1623,10 +1637,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1954,23 +1964,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1978,26 +1978,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2028,14 +2013,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2043,11 +2023,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2072,22 +2047,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2097,6 +2067,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2111,35 +2085,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2413,10 +2390,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2646,6 +2623,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3166,6 +3155,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3246,6 +3262,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3667,10 +3688,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4146,10 +4172,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4164,11 +4198,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/nix-vector-routing/bindings/modulegen__gcc_LP64.py b/src/nix-vector-routing/bindings/modulegen__gcc_LP64.py index 5f50b26ed..b327d5880 100644 --- a/src/nix-vector-routing/bindings/modulegen__gcc_LP64.py +++ b/src/nix-vector-routing/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -102,10 +104,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -140,10 +142,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -158,6 +162,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -242,6 +248,7 @@ def register_types(module): module.add_class('BridgeNetDevice', import_from_module='ns.bridge', parent=root_module['ns3::NetDevice']) ## ipv4-nix-vector-routing.h (module 'nix-vector-routing'): ns3::Ipv4NixVectorRouting [class] module.add_class('Ipv4NixVectorRouting', parent=root_module['ns3::Ipv4RoutingProtocol']) + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >', 'ns3::NixMap_t') typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >*', 'ns3::NixMap_t*') typehandlers.add_type_alias('std::map< ns3::Ipv4Address, ns3::Ptr< ns3::NixVector >, std::less< ns3::Ipv4Address >, std::allocator< std::pair< ns3::Ipv4Address const, ns3::Ptr< ns3::NixVector > > > >&', 'ns3::NixMap_t&') @@ -261,7 +268,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -294,8 +302,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -313,11 +321,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -430,41 +440,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1579,10 +1591,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1609,6 +1621,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1623,10 +1637,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1954,23 +1964,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1978,26 +1978,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2028,14 +2013,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2043,11 +2023,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2072,22 +2047,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2097,6 +2067,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2111,35 +2085,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2413,10 +2390,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2646,6 +2623,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3166,6 +3155,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3246,6 +3262,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3667,10 +3688,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4146,10 +4172,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4164,11 +4198,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/nix-vector-routing/doc/nix-vector-routing.h b/src/nix-vector-routing/doc/nix-vector-routing.h index 835140b26..6cb4b82fd 100644 --- a/src/nix-vector-routing/doc/nix-vector-routing.h +++ b/src/nix-vector-routing/doc/nix-vector-routing.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * diff --git a/src/nix-vector-routing/examples/nms-p2p-nix.cc b/src/nix-vector-routing/examples/nms-p2p-nix.cc index 0426705cc..756606924 100644 --- a/src/nix-vector-routing/examples/nms-p2p-nix.cc +++ b/src/nix-vector-routing/examples/nms-p2p-nix.cc @@ -63,6 +63,64 @@ void Progress () Simulator::Schedule (Seconds (0.1), Progress); } +template +class Array2D +{ + public: + Array2D (const size_t x, const size_t y) : p (new T*[x]), m_xMax (x) + { + for (size_t i = 0; i < m_xMax; i++) + p[i] = new T[y]; + } + + ~Array2D (void) + { + for (size_t i = 0; i < m_xMax; i++) + delete[] p[i]; + delete p; + p = 0; + } + + T* operator[] (const size_t i) + { + return p[i]; + } + private: + T** p; + const size_t m_xMax; +}; + +template +class Array3D +{ + public: + Array3D (const size_t x, const size_t y, const size_t z) + : p (new Array2D*[x]), m_xMax (x) + { + for (size_t i = 0; i < m_xMax; i++) + p[i] = new Array2D (y, z); + } + + ~Array3D (void) + { + for (size_t i = 0; i < m_xMax; i++) + { + delete p[i]; + p[i] = 0; + } + delete[] p; + p = 0; + } + + Array2D& operator[] (const size_t i) + { + return *(p[i]); + } + private: + Array2D** p; + const size_t m_xMax; +}; + int main (int argc, char *argv[]) { @@ -89,14 +147,24 @@ main (int argc, char *argv[]) cout << "Number of CNs: " << nCN << ", LAN nodes: " << nLANClients << endl; - NodeContainer nodes_net0[nCN][3], nodes_net1[nCN][6], nodes_netLR[nCN], - nodes_net2[nCN][14], nodes_net2LAN[nCN][7][nLANClients], - nodes_net3[nCN][9], nodes_net3LAN[nCN][5][nLANClients]; + Array2D nodes_net0(nCN, 3); + Array2D nodes_net1(nCN, 6); + NodeContainer* nodes_netLR = new NodeContainer[nCN]; + Array2D nodes_net2(nCN, 14); + Array3D nodes_net2LAN(nCN, 7, nLANClients); + Array2D nodes_net3(nCN, 9); + Array3D nodes_net3LAN(nCN, 5, nLANClients); + PointToPointHelper p2p_2gb200ms, p2p_1gb5ms, p2p_100mb1ms; InternetStackHelper stack; - Ipv4InterfaceContainer ifs, ifs0[nCN][3], ifs1[nCN][6], ifs2[nCN][14], - ifs3[nCN][9], ifs2LAN[nCN][7][nLANClients], - ifs3LAN[nCN][5][nLANClients]; + Ipv4InterfaceContainer ifs; + Array2D ifs0(nCN, 3); + Array2D ifs1(nCN, 6); + Array2D ifs2(nCN, 14); + Array2D ifs3(nCN, 9); + Array3D ifs2LAN(nCN, 7, nLANClients); + Array3D ifs3LAN(nCN, 5, nLANClients); + Ipv4AddressHelper address; std::ostringstream oss; p2p_1gb5ms.SetDeviceAttribute ("DataRate", StringValue ("1Gbps")); @@ -195,7 +263,8 @@ main (int argc, char *argv[]) { ndc2[i] = p2p_1gb5ms.Install (nodes_net2[z][i]); } - NetDeviceContainer ndc2LAN[7][nLANClients]; +/// NetDeviceContainer ndc2LAN[7][nLANClients]; + Array2D ndc2LAN(7, nLANClients); for (int i = 0; i < 7; ++i) { oss.str (""); @@ -231,7 +300,8 @@ main (int argc, char *argv[]) { ndc3[i] = p2p_1gb5ms.Install (nodes_net3[z][i]); } - NetDeviceContainer ndc3LAN[5][nLANClients]; +/// NetDeviceContainer ndc3LAN[5][nLANClients]; + Array2D ndc3LAN(5, nLANClients); for (int i = 0; i < 5; ++i) { oss.str (""); @@ -340,7 +410,7 @@ main (int argc, char *argv[]) if (nCN > 1) { cout << "Forming Ring Topology..." << endl; - NodeContainer nodes_ring[nCN]; + NodeContainer* nodes_ring = new NodeContainer[nCN]; for (int z = 0; z < nCN-1; ++z) { nodes_ring[z].Add (nodes_net0[z][0].Get (0)); @@ -348,7 +418,7 @@ main (int argc, char *argv[]) } nodes_ring[nCN-1].Add (nodes_net0[nCN-1][0].Get (0)); nodes_ring[nCN-1].Add (nodes_net0[0][0].Get (0)); - NetDeviceContainer ndc_ring[nCN]; + NetDeviceContainer* ndc_ring = new NetDeviceContainer[nCN]; for (int z = 0; z < nCN; ++z) { ndc_ring[z] = p2p_2gb200ms.Install (nodes_ring[z]); @@ -357,6 +427,8 @@ main (int argc, char *argv[]) address.SetBase (oss.str ().c_str (), "255.255.255.0"); ifs = address.Assign (ndc_ring[z]); } + delete[] ndc_ring; + delete[] nodes_ring; } // Create Traffic Flows @@ -463,5 +535,7 @@ main (int argc, char *argv[]) cout << "Simulator init time: " << d1 << endl; cout << "Simulator run time: " << d2 << endl; cout << "Total elapsed time: " << d1+d2 << endl; + + delete[] nodes_netLR; return 0; } diff --git a/src/nix-vector-routing/helper/ipv4-nix-vector-helper.cc b/src/nix-vector-routing/helper/ipv4-nix-vector-helper.cc index 46eb4369b..3913843be 100644 --- a/src/nix-vector-routing/helper/ipv4-nix-vector-helper.cc +++ b/src/nix-vector-routing/helper/ipv4-nix-vector-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * diff --git a/src/nix-vector-routing/helper/ipv4-nix-vector-helper.h b/src/nix-vector-routing/helper/ipv4-nix-vector-helper.h index efd928d27..3e15f1ac3 100644 --- a/src/nix-vector-routing/helper/ipv4-nix-vector-helper.h +++ b/src/nix-vector-routing/helper/ipv4-nix-vector-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * diff --git a/src/nix-vector-routing/model/ipv4-nix-vector-routing.cc b/src/nix-vector-routing/model/ipv4-nix-vector-routing.cc index 807203248..00d366cc8 100644 --- a/src/nix-vector-routing/model/ipv4-nix-vector-routing.cc +++ b/src/nix-vector-routing/model/ipv4-nix-vector-routing.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * diff --git a/src/nix-vector-routing/model/ipv4-nix-vector-routing.h b/src/nix-vector-routing/model/ipv4-nix-vector-routing.h index e56696e8e..ee03cb4b2 100644 --- a/src/nix-vector-routing/model/ipv4-nix-vector-routing.h +++ b/src/nix-vector-routing/model/ipv4-nix-vector-routing.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 The Georgia Institute of Technology * @@ -18,8 +18,8 @@ * Authors: Josh Pelkey */ -#ifndef __IPV4_NIX_VECTOR_ROUTING_H__ -#define __IPV4_NIX_VECTOR_ROUTING_H__ +#ifndef IPV4_NIX_VECTOR_ROUTING_H +#define IPV4_NIX_VECTOR_ROUTING_H #include @@ -167,4 +167,5 @@ private: uint32_t m_totalNeighbors; }; } // namespace ns3 -#endif + +#endif /* IPV4_NIX_VECTOR_ROUTING_H */ diff --git a/src/nix-vector-routing/wscript b/src/nix-vector-routing/wscript index e0332a872..660631a2f 100644 --- a/src/nix-vector-routing/wscript +++ b/src/nix-vector-routing/wscript @@ -8,7 +8,7 @@ def build(bld): 'helper/ipv4-nix-vector-helper.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'nix-vector-routing' headers.source = [ 'model/ipv4-nix-vector-routing.h', diff --git a/src/olsr/bindings/modulegen__gcc_ILP32.py b/src/olsr/bindings/modulegen__gcc_ILP32.py index 407051d95..d60048f8d 100644 --- a/src/olsr/bindings/modulegen__gcc_ILP32.py +++ b/src/olsr/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -123,7 +125,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs [class] module.add_class('SystemWallClockMs', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] @@ -142,10 +144,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -180,10 +182,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -198,6 +202,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -284,6 +290,7 @@ def register_types(module): module.add_container('std::vector< ns3::olsr::AssociationTuple >', 'ns3::olsr::AssociationTuple', container_type='vector') module.add_container('std::vector< ns3::olsr::Association >', 'ns3::olsr::Association', container_type='vector') module.add_container('std::vector< ns3::Ipv4Address >', 'ns3::Ipv4Address', container_type='vector') + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') module.add_container('std::vector< unsigned int >', 'unsigned int', container_type='vector') ## Register a nested module for the namespace FatalImpl @@ -354,15 +361,15 @@ def register_types_ns3_olsr(module): typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >', 'ns3::olsr::DuplicateSet') typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >*', 'ns3::olsr::DuplicateSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >&', 'ns3::olsr::DuplicateSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&') typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >', 'ns3::olsr::MprSelectorSet') typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >*', 'ns3::olsr::MprSelectorSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >&', 'ns3::olsr::MprSelectorSet&') typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >', 'ns3::olsr::AssociationSet') typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >*', 'ns3::olsr::AssociationSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >&', 'ns3::olsr::AssociationSet&') + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet') + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*') + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&') typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet') typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&') @@ -387,7 +394,8 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -432,8 +440,8 @@ def register_methods(root_module): register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -451,11 +459,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -583,41 +593,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1688,10 +1700,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1718,6 +1730,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1732,10 +1746,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2520,23 +2530,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2544,26 +2544,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2594,14 +2579,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2609,11 +2589,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2638,22 +2613,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2663,6 +2633,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2677,35 +2651,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2979,10 +2956,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -3207,6 +3184,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3727,6 +3716,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3807,6 +3823,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4225,10 +4246,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4789,10 +4815,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4807,11 +4841,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/olsr/bindings/modulegen__gcc_LP64.py b/src/olsr/bindings/modulegen__gcc_LP64.py index 407051d95..d60048f8d 100644 --- a/src/olsr/bindings/modulegen__gcc_LP64.py +++ b/src/olsr/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -123,7 +125,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs [class] module.add_class('SystemWallClockMs', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] @@ -142,10 +144,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -180,10 +182,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -198,6 +202,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -284,6 +290,7 @@ def register_types(module): module.add_container('std::vector< ns3::olsr::AssociationTuple >', 'ns3::olsr::AssociationTuple', container_type='vector') module.add_container('std::vector< ns3::olsr::Association >', 'ns3::olsr::Association', container_type='vector') module.add_container('std::vector< ns3::Ipv4Address >', 'ns3::Ipv4Address', container_type='vector') + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') module.add_container('std::vector< unsigned int >', 'unsigned int', container_type='vector') ## Register a nested module for the namespace FatalImpl @@ -354,15 +361,15 @@ def register_types_ns3_olsr(module): typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >', 'ns3::olsr::DuplicateSet') typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >*', 'ns3::olsr::DuplicateSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::DuplicateTuple, std::allocator< ns3::olsr::DuplicateTuple > >&', 'ns3::olsr::DuplicateSet&') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*') - typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&') typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >', 'ns3::olsr::MprSelectorSet') typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >*', 'ns3::olsr::MprSelectorSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::MprSelectorTuple, std::allocator< ns3::olsr::MprSelectorTuple > >&', 'ns3::olsr::MprSelectorSet&') typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >', 'ns3::olsr::AssociationSet') typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >*', 'ns3::olsr::AssociationSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::AssociationTuple, std::allocator< ns3::olsr::AssociationTuple > >&', 'ns3::olsr::AssociationSet&') + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >', 'ns3::olsr::NeighborSet') + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >*', 'ns3::olsr::NeighborSet*') + typehandlers.add_type_alias('std::vector< ns3::olsr::NeighborTuple, std::allocator< ns3::olsr::NeighborTuple > >&', 'ns3::olsr::NeighborSet&') typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >', 'ns3::olsr::LinkSet') typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >*', 'ns3::olsr::LinkSet*') typehandlers.add_type_alias('std::vector< ns3::olsr::LinkTuple, std::allocator< ns3::olsr::LinkTuple > >&', 'ns3::olsr::LinkSet&') @@ -387,7 +394,8 @@ def register_types_ns3_olsr(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -432,8 +440,8 @@ def register_methods(root_module): register_Ns3Timer_methods(root_module, root_module['ns3::Timer']) register_Ns3TimerImpl_methods(root_module, root_module['ns3::TimerImpl']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -451,11 +459,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -583,41 +593,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1688,10 +1700,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1718,6 +1730,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1732,10 +1746,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2520,23 +2530,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2544,26 +2544,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2594,14 +2579,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2609,11 +2589,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2638,22 +2613,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2663,6 +2633,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2677,35 +2651,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2979,10 +2956,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -3207,6 +3184,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3727,6 +3716,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3807,6 +3823,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4225,10 +4246,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4789,10 +4815,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4807,11 +4841,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/olsr/examples/olsr-hna.cc b/src/olsr/examples/olsr-hna.cc index d1e2a543f..c2fc2a229 100644 --- a/src/olsr/examples/olsr-hna.cc +++ b/src/olsr/examples/olsr-hna.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * * This program is free software; you can redistribute it and/or modify diff --git a/src/olsr/model/olsr-header.cc b/src/olsr/model/olsr-header.cc index ca159ad58..656a0febc 100644 --- a/src/olsr/model/olsr-header.cc +++ b/src/olsr/model/olsr-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INESC Porto * diff --git a/src/olsr/model/olsr-header.h b/src/olsr/model/olsr-header.h index 74c726362..d9e7f0b92 100644 --- a/src/olsr/model/olsr-header.h +++ b/src/olsr/model/olsr-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INESC Porto * diff --git a/src/olsr/model/olsr-repositories.h b/src/olsr/model/olsr-repositories.h index a9dcc56c5..72d4268ef 100644 --- a/src/olsr/model/olsr-repositories.h +++ b/src/olsr/model/olsr-repositories.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto @@ -25,8 +25,8 @@ /// \brief Here are defined all data structures needed by an OLSR node. /// -#ifndef __OLSR_REPOSITORIES_H__ -#define __OLSR_REPOSITORIES_H__ +#ifndef OLSR_REPOSITORIES_H +#define OLSR_REPOSITORIES_H #include #include @@ -299,6 +299,6 @@ namespace ns3 { namespace olsr { typedef std::vector Associations; ///< Association Set type. - }}; // namespace ns3, olsr + }} // namespace ns3, olsr -#endif /* __OLSR_REPOSITORIES_H__ */ +#endif /* OLSR_REPOSITORIES_H */ diff --git a/src/olsr/model/olsr-routing-protocol.cc b/src/olsr/model/olsr-routing-protocol.cc index f0d1eba84..9d22661cb 100644 --- a/src/olsr/model/olsr-routing-protocol.cc +++ b/src/olsr/model/olsr-routing-protocol.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto @@ -1112,6 +1112,13 @@ RoutingProtocol::RoutingTableComputation () // and if the announced network is not announced by the node itself, // then a new routing entry is created. const AssociationSet &associationSet = m_state.GetAssociationSet (); + + // Clear HNA routing table + for (uint32_t i = 0; i < m_hnaRoutingTable->GetNRoutes (); i++) + { + m_hnaRoutingTable->RemoveRoute (0); + } + for (AssociationSet::const_iterator it = associationSet.begin (); it != associationSet.end (); it++) { diff --git a/src/olsr/model/olsr-routing-protocol.h b/src/olsr/model/olsr-routing-protocol.h index 485fb5a73..f7ff2a31f 100644 --- a/src/olsr/model/olsr-routing-protocol.h +++ b/src/olsr/model/olsr-routing-protocol.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto @@ -20,9 +20,8 @@ * Gustavo J. A. M. Carneiro */ - -#ifndef __OLSR_AGENT_IMPL_H__ -#define __OLSR_AGENT_IMPL_H__ +#ifndef OLSR_AGENT_IMPL_H +#define OLSR_AGENT_IMPL_H #include "olsr-header.h" #include "ns3/test.h" @@ -306,4 +305,4 @@ private: } } // namespace ns3 -#endif +#endif /* OLSR_AGENT_IMPL_H */ diff --git a/src/olsr/model/olsr-state.cc b/src/olsr/model/olsr-state.cc index 188866e47..c3a9f9559 100644 --- a/src/olsr/model/olsr-state.cc +++ b/src/olsr/model/olsr-state.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto diff --git a/src/olsr/model/olsr-state.h b/src/olsr/model/olsr-state.h index f6e147704..ca6abae0c 100644 --- a/src/olsr/model/olsr-state.h +++ b/src/olsr/model/olsr-state.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto @@ -22,8 +22,8 @@ /// \brief This header file declares and defines internal state of an OLSR node. -#ifndef __OLSR_STATE_H__ -#define __OLSR_STATE_H__ +#ifndef OLSR_STATE_H +#define OLSR_STATE_H #include "olsr-repositories.h" @@ -177,4 +177,4 @@ public: } // namespace ns3 -#endif +#endif /* OLSR_STATE_H */ diff --git a/src/olsr/test/bug780-test.cc b/src/olsr/test/bug780-test.cc index 11e016627..e549bbb9e 100644 --- a/src/olsr/test/bug780-test.cc +++ b/src/olsr/test/bug780-test.cc @@ -38,16 +38,10 @@ #include "ns3/internet-stack-helper.h" #include "ns3/v4ping-helper.h" #include "ns3/pcap-file.h" +#include "ns3/pcap-test.h" #include "bug780-test.h" -/// Set to true to rewrite reference traces, leave false to run regression tests -namespace -{ -const bool WRITE_VECTORS = false; -} - - namespace ns3 { namespace olsr @@ -84,10 +78,7 @@ Bug780Test::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) - { - CheckResults (); - } + CheckResults (); } void @@ -172,8 +163,7 @@ Bug780Test::CreateNodes (void) p.Stop (Seconds (SimTime) - Seconds (0.001)); // pcap - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : GetTempDir ()) + PREFIX; - wifiPhy.EnablePcapAll (prefix); + wifiPhy.EnablePcapAll (CreateTempDirFilename (PREFIX)); } void @@ -181,15 +171,7 @@ Bug780Test::CheckResults () { for (uint32_t i = 0; i < 2; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << PREFIX << "-" << i << "-0.pcap"; - os2 << GetTempDir () << PREFIX << "-" << i << "-0.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (PREFIX << "-" << i << "-0.pcap"); } } diff --git a/src/olsr/test/bug780-test.h b/src/olsr/test/bug780-test.h index 1bbc8d7d8..a9b9d947c 100644 --- a/src/olsr/test/bug780-test.h +++ b/src/olsr/test/bug780-test.h @@ -16,8 +16,9 @@ * Authors: Pavel Boyko */ -#ifndef BUG780_REGRESSIONTEST_H_ -#define BUG780_REGRESSIONTEST_H_ +#ifndef BUG780_TEST_H +#define BUG780_TEST_H + #include "ns3/test.h" #include "ns3/nstime.h" #include "ns3/node-container.h" @@ -46,4 +47,5 @@ private: } } -#endif + +#endif /* BUG780_TEST_H */ diff --git a/src/olsr/test/hello-regression-test.cc b/src/olsr/test/hello-regression-test.cc index 672ab9852..1a1c5824a 100644 --- a/src/olsr/test/hello-regression-test.cc +++ b/src/olsr/test/hello-regression-test.cc @@ -30,9 +30,7 @@ #include "ns3/point-to-point-helper.h" #include "ns3/ipv4-address-helper.h" #include "ns3/abort.h" - -/// Set to true to rewrite reference traces, leave false to run regression tests -const bool WRITE_VECTORS = false; +#include "ns3/pcap-test.h" namespace ns3 { @@ -61,7 +59,7 @@ HelloRegressionTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); } void @@ -85,8 +83,7 @@ HelloRegressionTest::CreateNodes () ipv4.SetBase ("10.1.1.0", "255.255.255.0"); ipv4.Assign (nd); // setup PCAP traces - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : GetTempDir ()) + PREFIX; - p2p.EnablePcapAll (prefix); + p2p.EnablePcapAll (CreateTempDirFilename (PREFIX)); } void @@ -94,15 +91,7 @@ HelloRegressionTest::CheckResults () { for (uint32_t i = 0; i < 2; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << PREFIX << "-" << i << "-1.pcap"; - os2 << GetTempDir () << PREFIX << "-" << i << "-1.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (PREFIX << "-" << i << "-1.pcap"); } } diff --git a/src/olsr/test/hello-regression-test.h b/src/olsr/test/hello-regression-test.h index eff24bc3f..9b7e623e9 100644 --- a/src/olsr/test/hello-regression-test.h +++ b/src/olsr/test/hello-regression-test.h @@ -18,8 +18,9 @@ * Authors: Pavel Boyko */ -#ifndef HELLOREGRESSIONTEST_H_ -#define HELLOREGRESSIONTEST_H_ +#ifndef HELLO_REGRESSION_TEST_H +#define HELLO_REGRESSION_TEST_H + #include "ns3/test.h" #include "ns3/nstime.h" #include "ns3/node-container.h" @@ -66,4 +67,5 @@ private: } } -#endif /* HELLOREGRESSIONTEST_H_ */ + +#endif /* HELLO_REGRESSION_TEST_H */ diff --git a/src/olsr/test/olsr-header-test-suite.cc b/src/olsr/test/olsr-header-test-suite.cc index 9c0cac138..f8ac1b0cf 100644 --- a/src/olsr/test/olsr-header-test-suite.cc +++ b/src/olsr/test/olsr-header-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INESC Porto * diff --git a/src/olsr/test/olsr-routing-protocol-test-suite.cc b/src/olsr/test/olsr-routing-protocol-test-suite.cc index c07a4d4d1..4ea7ce37f 100644 --- a/src/olsr/test/olsr-routing-protocol-test-suite.cc +++ b/src/olsr/test/olsr-routing-protocol-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004 Francisco J. Ros * Copyright (c) 2007 INESC Porto diff --git a/src/olsr/test/regression-test-suite.cc b/src/olsr/test/regression-test-suite.cc index aeedb3e0b..9cb102a6e 100644 --- a/src/olsr/test/regression-test-suite.cc +++ b/src/olsr/test/regression-test-suite.cc @@ -30,6 +30,7 @@ class RegressionTestSuite : public TestSuite public: RegressionTestSuite () : TestSuite ("routing-olsr-regression", SYSTEM) { + SetDataDir (NS_TEST_SOURCEDIR); AddTestCase (new HelloRegressionTest); AddTestCase (new TcRegressionTest); AddTestCase (new Bug780Test); diff --git a/src/olsr/test/tc-regression-test.cc b/src/olsr/test/tc-regression-test.cc index f3f7f6a1d..f790c17aa 100644 --- a/src/olsr/test/tc-regression-test.cc +++ b/src/olsr/test/tc-regression-test.cc @@ -25,6 +25,7 @@ #include "ns3/double.h" #include "ns3/uinteger.h" #include "ns3/string.h" +#include "ns3/pcap-test.h" #include "ns3/pcap-file.h" #include "ns3/olsr-helper.h" #include "ns3/internet-stack-helper.h" @@ -35,9 +36,6 @@ #include "ns3/mobility-helper.h" #include "ns3/nqos-wifi-mac-helper.h" -/// Set to true to rewrite reference traces, leave false to run regression tests -const bool WRITE_VECTORS = false; - namespace ns3 { namespace olsr @@ -66,7 +64,7 @@ TcRegressionTest::DoRun () Simulator::Run (); Simulator::Destroy (); - if (!WRITE_VECTORS) CheckResults (); + CheckResults (); } void @@ -113,8 +111,7 @@ TcRegressionTest::CreateNodes () ipv4.Assign (nd); // setup PCAP traces - std::string prefix = (WRITE_VECTORS ? NS_TEST_SOURCEDIR : GetTempDir ()) + PREFIX; - wifiPhy.EnablePcapAll (prefix); + wifiPhy.EnablePcapAll (CreateTempDirFilename(PREFIX)); } void @@ -122,15 +119,7 @@ TcRegressionTest::CheckResults () { for (uint32_t i = 0; i < 3; ++i) { - std::ostringstream os1, os2; - // File naming conventions are hard-coded here. - os1 << NS_TEST_SOURCEDIR << PREFIX << "-" << i << "-1.pcap"; - os2 << GetTempDir () << PREFIX << "-" << i << "-1.pcap"; - - uint32_t sec (0), usec (0); - bool diff = PcapFile::Diff (os1.str (), os2.str (), sec, usec); - NS_TEST_EXPECT_MSG_EQ (diff, false, "PCAP traces " << os1.str () << " and " << os2.str () - << " differ starting from " << sec << " s " << usec << " us"); + NS_PCAP_TEST_EXPECT_EQ (PREFIX << "-" << i << "-1.pcap"); } } diff --git a/src/olsr/test/tc-regression-test.h b/src/olsr/test/tc-regression-test.h index d9fe2fcf1..a444305fb 100644 --- a/src/olsr/test/tc-regression-test.h +++ b/src/olsr/test/tc-regression-test.h @@ -18,8 +18,9 @@ * Authors: Pavel Boyko */ -#ifndef TCREGRESSIONTEST_H_ -#define TCREGRESSIONTEST_H_ +#ifndef TC_REGRESSION_TEST_H +#define TC_REGRESSION_TEST_H + #include "ns3/test.h" #include "ns3/nstime.h" #include "ns3/node-container.h" @@ -93,4 +94,5 @@ private: } } -#endif /* TCREGRESSIONTEST_H_ */ + +#endif /* TC_REGRESSION_TEST_H */ diff --git a/src/olsr/wscript b/src/olsr/wscript index bbe0427c2..ed2c4811e 100644 --- a/src/olsr/wscript +++ b/src/olsr/wscript @@ -20,7 +20,7 @@ def build(bld): 'test/tc-regression-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'olsr' headers.source = [ 'model/olsr-routing-protocol.h', diff --git a/src/openflow/test/openflow-switch-test-suite.cc b/src/openflow/test/openflow-switch-test-suite.cc index ff8648113..1c386fb2b 100644 --- a/src/openflow/test/openflow-switch-test-suite.cc +++ b/src/openflow/test/openflow-switch-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Blake Hurd * diff --git a/src/openflow/wscript b/src/openflow/wscript index 1c3c3939c..b18d2c141 100644 --- a/src/openflow/wscript +++ b/src/openflow/wscript @@ -2,27 +2,24 @@ import os import Options +from waflib.Errors import WafError -def set_options(opt): +def options(opt): opt.add_option('--with-openflow', help=('Path to OFSID source for NS-3 OpenFlow Integration support'), default='', dest='with_openflow') - opt.tool_options('boost') + opt.tool_options('boost', tooldir=["waf-tools"]) def configure(conf): - conf.check_tool('boost') - conf.env['BOOST'] = conf.check_boost(lib = 'signals filesystem', - kind = 'STATIC_BOTH', - score_version = (-1000, 1000), - tag_minscore = 1000) - if not conf.env['BOOST']: - conf.env['BOOST'] = conf.check_boost(lib = 'signals filesystem', - kind = 'STATIC_BOTH', - score_version = (-1000, 1000), - tag_minscore = 1000, - libpath="/usr/lib64") + try: + conf.check_tool('boost') + conf.check_boost(lib='signals filesystem') + if not conf.env.LIB_BOOST: + conf.check_boost(lib='signals filesystem', libpath="/usr/lib64") + except WafError: + conf.env['LIB_BOOST'] = [] - if not conf.env['BOOST']: + if not conf.env.LIB_BOOST: conf.report_optional_feature("openflow", "NS-3 OpenFlow Integration", False, "Required boost libraries not found") @@ -34,16 +31,16 @@ def configure(conf): if Options.options.with_openflow: if os.path.isdir(Options.options.with_openflow): - conf.check_message("OpenFlow location", '', True, ("%s (given)" % Options.options.with_openflow)) + conf.msg("Checking for OpenFlow location", ("%s (given)" % Options.options.with_openflow)) conf.env['WITH_OPENFLOW'] = os.path.abspath(Options.options.with_openflow) else: openflow_dir = os.path.join('..','openflow') if os.path.isdir(openflow_dir): - conf.check_message("OpenFlow location", '', True, ("%s (guessed)" % openflow_dir)) + conf.msg("Checking for OpenFlow location", ("%s (guessed)" % openflow_dir)) conf.env['WITH_OPENFLOW'] = os.path.abspath(openflow_dir) del openflow_dir if not conf.env['WITH_OPENFLOW']: - conf.check_message("OpenFlow location", '', False) + conf.msg("Checking for OpenFlow location", False) conf.report_optional_feature("openflow", "NS-3 OpenFlow Integration", False, "OpenFlow not enabled (see option --with-openflow)") # Add this module to the list of modules that won't be built @@ -99,28 +96,24 @@ int main() } ''' - conf.env['DL'] = conf.check(mandatory=True, lib='dl', define_name='DL', uselib='DL') - conf.env['XML2'] = conf.check(mandatory=True, lib='xml2', define_name='XML2', uselib='XML2') + conf.env['DL'] = conf.check(mandatory=True, lib='dl', define_name='DL', uselib_store='DL') + conf.env['XML2'] = conf.check(mandatory=True, lib='xml2', define_name='XML2', uselib_store='XML2') conf.env.append_value('NS3_MODULE_PATH',os.path.abspath(os.path.join(conf.env['WITH_OPENFLOW'],'build','default'))) - conf.env['CPPPATH_OPENFLOW'] = [ + conf.env['INCLUDES_OPENFLOW'] = [ os.path.abspath(os.path.join(conf.env['WITH_OPENFLOW'],'include'))] conf.env['LIBPATH_OPENFLOW'] = [ os.path.abspath(os.path.join(conf.env['WITH_OPENFLOW'],'build','default')), os.path.abspath(os.path.join(conf.env['WITH_OPENFLOW'],'lib'))] - conf.env['OPENFLOW'] = conf.check(fragment=test_code, lib='openflow', - libpath=conf.env['LIBPATH_OPENFLOW'], - uselib='OPENFLOW DL XML2') - + conf.env['OPENFLOW'] = conf.check_nonfatal(fragment=test_code, lib='openflow', + libpath=conf.env['LIBPATH_OPENFLOW'], + use='OPENFLOW DL XML2') conf.report_optional_feature("openflow", "NS-3 OpenFlow Integration", conf.env['OPENFLOW'], "openflow library not found") if conf.env['OPENFLOW']: conf.env['ENABLE_OPENFLOW'] = True - conf.env.append_value('CXXDEFINES', 'NS3_OPENFLOW') - conf.env.append_value('CPPPATH', conf.env['CPPPATH_OPENFLOW']) - conf.env.append_value('LIBPATH', conf.env['LIBPATH_OPENFLOW']) else: # Add this module to the list of modules that won't be built # if they are enabled. @@ -143,10 +136,10 @@ def build(bld): ] if bld.env['OPENFLOW'] and bld.env['DL'] and bld.env['XML2']: - obj.uselib = 'OPENFLOW DL XML2' - obj_test.uselib = 'OPENFLOW DL XML2' + obj.use.extend('OPENFLOW DL XML2'.split()) + obj_test.use.extend('OPENFLOW DL XML2'.split()) - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'openflow' headers.source = [ ] @@ -155,6 +148,10 @@ def build(bld): obj.source.append('model/openflow-interface.cc') obj.source.append('model/openflow-switch-net-device.cc') obj.source.append('helper/openflow-switch-helper.cc') + + obj.env.append_value('DEFINES', 'NS3_OPENFLOW') + obj.use.append("OPENFLOW") + obj_test.source.append('test/openflow-switch-test-suite.cc') headers.source.append('model/openflow-interface.h') headers.source.append('model/openflow-switch-net-device.h') diff --git a/src/point-to-point-layout/bindings/modulegen__gcc_ILP32.py b/src/point-to-point-layout/bindings/modulegen__gcc_ILP32.py index 7a3062556..0cca3fd2e 100644 --- a/src/point-to-point-layout/bindings/modulegen__gcc_ILP32.py +++ b/src/point-to-point-layout/bindings/modulegen__gcc_ILP32.py @@ -32,8 +32,10 @@ def register_types(module): module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet') ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class] module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -129,7 +131,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -138,10 +140,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -184,10 +186,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -202,6 +206,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -229,7 +235,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -286,6 +292,7 @@ def register_types(module): 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']) + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') ## Register a nested module for the namespace FatalImpl @@ -303,7 +310,8 @@ def register_methods(root_module): register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -348,8 +356,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -370,11 +378,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -724,41 +734,43 @@ def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1961,10 +1973,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1991,6 +2003,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2005,10 +2019,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2820,23 +2830,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2844,26 +2844,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2894,14 +2879,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2909,11 +2889,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2938,22 +2913,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2963,6 +2933,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2977,35 +2951,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -3354,10 +3331,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -3758,6 +3735,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -4278,6 +4267,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4358,6 +4374,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4685,29 +4706,18 @@ def register_Ns3Ipv4AddressValue_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -4716,102 +4726,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -4822,36 +4761,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -4862,26 +4883,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -4976,10 +4997,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -5746,10 +5772,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -5764,11 +5798,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/point-to-point-layout/bindings/modulegen__gcc_LP64.py b/src/point-to-point-layout/bindings/modulegen__gcc_LP64.py index 7a3062556..0cca3fd2e 100644 --- a/src/point-to-point-layout/bindings/modulegen__gcc_LP64.py +++ b/src/point-to-point-layout/bindings/modulegen__gcc_LP64.py @@ -32,8 +32,10 @@ def register_types(module): module.add_class('AsciiTraceHelperForIpv4', allow_subclassing=True, import_from_module='ns.internet') ## internet-trace-helper.h (module 'internet'): ns3::AsciiTraceHelperForIpv6 [class] module.add_class('AsciiTraceHelperForIpv6', allow_subclassing=True, import_from_module='ns.internet') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -129,7 +131,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -138,10 +140,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -184,10 +186,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -202,6 +206,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -229,7 +235,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -286,6 +292,7 @@ def register_types(module): 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']) + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') ## Register a nested module for the namespace FatalImpl @@ -303,7 +310,8 @@ def register_methods(root_module): register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3AsciiTraceHelperForIpv4_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv4']) register_Ns3AsciiTraceHelperForIpv6_methods(root_module, root_module['ns3::AsciiTraceHelperForIpv6']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -348,8 +356,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -370,11 +378,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -724,41 +734,43 @@ def register_Ns3AsciiTraceHelperForIpv6_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1961,10 +1973,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1991,6 +2003,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2005,10 +2019,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2820,23 +2830,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2844,26 +2844,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2894,14 +2879,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2909,11 +2889,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2938,22 +2913,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2963,6 +2933,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2977,35 +2951,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -3354,10 +3331,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -3758,6 +3735,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -4278,6 +4267,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -4358,6 +4374,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4685,29 +4706,18 @@ def register_Ns3Ipv4AddressValue_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -4716,102 +4726,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -4822,36 +4761,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -4862,26 +4883,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -4976,10 +4997,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -5746,10 +5772,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -5764,11 +5798,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/point-to-point-layout/wscript b/src/point-to-point-layout/wscript index 4ab18b42d..d29d04ec6 100644 --- a/src/point-to-point-layout/wscript +++ b/src/point-to-point-layout/wscript @@ -9,7 +9,7 @@ def build(bld): 'model/point-to-point-star.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'point-to-point-layout' headers.source = [ 'model/point-to-point-dumbbell.h', diff --git a/src/point-to-point/bindings/modulegen__gcc_ILP32.py b/src/point-to-point/bindings/modulegen__gcc_ILP32.py index f46a38c82..5914fbf24 100644 --- a/src/point-to-point/bindings/modulegen__gcc_ILP32.py +++ b/src/point-to-point/bindings/modulegen__gcc_ILP32.py @@ -20,6 +20,8 @@ def module_init(): def register_types(module): root_module = module.get_root() + ## error-model.h (module 'network'): ns3::ErrorUnit [enumeration] + module.add_enum('ErrorUnit', ['EU_BIT', 'EU_BYTE', 'EU_PKT'], import_from_module='ns.network') ## address.h (module 'network'): ns3::Address [class] module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] @@ -28,8 +30,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -102,38 +106,76 @@ def register_types(module): module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network') ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper [class] module.add_class('PointToPointHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) + ## random-variable.h (module 'core'): ns3::RandomVariable [class] + module.add_class('RandomVariable', import_from_module='ns.core') + ## random-variable.h (module 'core'): ns3::SeedManager [class] + module.add_class('SeedManager', import_from_module='ns.core') + ## random-variable.h (module 'core'): ns3::SequentialVariable [class] + module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] module.add_class('TagBuffer', import_from_module='ns.network') + ## random-variable.h (module 'core'): ns3::TriangularVariable [class] + module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## 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] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## random-variable.h (module 'core'): ns3::UniformVariable [class] + module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::WeibullVariable [class] + module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::ZetaVariable [class] + module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::ZipfVariable [class] + module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] module.add_class('int64x64_t', import_from_module='ns.core') ## chunk.h (module 'network'): ns3::Chunk [class] module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) + ## random-variable.h (module 'core'): ns3::ConstantVariable [class] + module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::DeterministicVariable [class] + module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class] + module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::ErlangVariable [class] + module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::ExponentialVariable [class] + module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::GammaVariable [class] + module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## header.h (module 'network'): ns3::Header [class] module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk']) + ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class] + module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable']) + ## random-variable.h (module 'core'): ns3::LogNormalVariable [class] + module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::NormalVariable [class] + module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## object.h (module 'core'): ns3::Object [class] 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']) + ## random-variable.h (module 'core'): ns3::ParetoVariable [class] + module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class] module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object']) ## ppp-header.h (module 'point-to-point'): ns3::PppHeader [class] module.add_class('PppHeader', parent=root_module['ns3::Header']) + ## queue.h (module 'network'): ns3::Queue [class] + module.add_class('Queue', import_from_module='ns.network', 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] @@ -150,12 +192,16 @@ def register_types(module): 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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -178,6 +224,8 @@ def register_types(module): module.add_class('DataRateValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class] module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## error-model.h (module 'network'): ns3::ErrorModel [class] + module.add_class('ErrorModel', import_from_module='ns.network', parent=root_module['ns3::Object']) ## event-impl.h (module 'core'): ns3::EventImpl [class] module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] @@ -196,6 +244,8 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## error-model.h (module 'network'): ns3::ListErrorModel [class] + module.add_class('ListErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] @@ -222,6 +272,14 @@ def register_types(module): module.add_class('PointToPointNetDevice', parent=root_module['ns3::NetDevice']) ## point-to-point-remote-channel.h (module 'point-to-point'): ns3::PointToPointRemoteChannel [class] module.add_class('PointToPointRemoteChannel', parent=root_module['ns3::PointToPointChannel']) + ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class] + module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## random-variable.h (module 'core'): ns3::RandomVariableValue [class] + module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## error-model.h (module 'network'): ns3::RateErrorModel [class] + module.add_class('RateErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel [class] + module.add_class('ReceiveListErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## nstime.h (module 'core'): ns3::TimeChecker [class] module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## nstime.h (module 'core'): ns3::TimeValue [class] @@ -234,6 +292,7 @@ def register_types(module): 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']) + module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list') ## Register a nested module for the namespace FatalImpl @@ -249,7 +308,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -281,21 +341,40 @@ def register_methods(root_module): register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) + register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) + register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) + register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) + register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) + register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) + register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) + register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) + register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) + register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) + register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) + register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) + register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) + register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) + register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) register_Ns3Header_methods(root_module, root_module['ns3::Header']) + register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) + register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) + register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) + register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) register_Ns3PppHeader_methods(root_module, root_module['ns3::PppHeader']) + register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) 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 >']) @@ -304,7 +383,9 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -316,6 +397,7 @@ def register_methods(root_module): register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) + register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) @@ -325,6 +407,7 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel']) 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']) @@ -337,6 +420,10 @@ def register_methods(root_module): register_Ns3PointToPointChannel_methods(root_module, root_module['ns3::PointToPointChannel']) register_Ns3PointToPointNetDevice_methods(root_module, root_module['ns3::PointToPointNetDevice']) register_Ns3PointToPointRemoteChannel_methods(root_module, root_module['ns3::PointToPointRemoteChannel']) + register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) + register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) + register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel']) + register_Ns3ReceiveListErrorModel_methods(root_module, root_module['ns3::ReceiveListErrorModel']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) @@ -534,41 +621,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1626,10 +1715,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1656,6 +1745,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1670,10 +1761,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2067,6 +2154,65 @@ def register_Ns3PointToPointHelper_methods(root_module, cls): visibility='private', is_virtual=True) return +def register_Ns3RandomVariable_methods(root_module, cls): + cls.add_output_stream_operator() + ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor] + cls.add_constructor([param('ns3::RandomVariable const &', 'o')]) + ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_const=True) + ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + return + +def register_Ns3SeedManager_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SeedManager const &', 'arg0')]) + ## random-variable.h (module 'core'): static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function] + cls.add_method('CheckSeed', + 'bool', + [param('uint32_t', 'seed')], + is_static=True) + ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetRun() [member function] + cls.add_method('GetRun', + 'uint32_t', + [], + is_static=True) + ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetSeed() [member function] + cls.add_method('GetSeed', + 'uint32_t', + [], + is_static=True) + ## random-variable.h (module 'core'): static void ns3::SeedManager::SetRun(uint32_t run) [member function] + cls.add_method('SetRun', + 'void', + [param('uint32_t', 'run')], + is_static=True) + ## random-variable.h (module 'core'): static void ns3::SeedManager::SetSeed(uint32_t seed) [member function] + cls.add_method('SetSeed', + 'void', + [param('uint32_t', 'seed')], + is_static=True) + return + +def register_Ns3SequentialVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor] + cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')]) + ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor] + cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')]) + return + def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -2264,6 +2410,15 @@ def register_Ns3TagBuffer_methods(root_module, cls): [param('uint8_t', 'v')]) return +def register_Ns3TriangularVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor] + cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')]) + return + def register_Ns3TypeId_methods(root_module, cls): cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') @@ -2283,23 +2438,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2307,26 +2452,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2357,14 +2487,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2372,11 +2497,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2401,22 +2521,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2426,6 +2541,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2440,35 +2559,91 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + return + +def register_Ns3UniformVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor] + cls.add_constructor([param('double', 's'), param('double', 'l')]) + ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 's'), param('uint32_t', 'l')]) + ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 's'), param('double', 'l')]) + return + +def register_Ns3WeibullVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's')]) + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) + return + +def register_Ns3ZetaVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor] + cls.add_constructor([param('double', 'alpha')]) + ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor] + cls.add_constructor([]) + return + +def register_Ns3ZipfVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor] + cls.add_constructor([param('long int', 'N'), param('double', 'alpha')]) + ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor] + cls.add_constructor([]) return def register_Ns3Empty_methods(root_module, cls): @@ -2607,6 +2782,86 @@ def register_Ns3Chunk_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3ConstantVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor] + cls.add_constructor([param('double', 'c')]) + ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function] + cls.add_method('SetConstant', + 'void', + [param('double', 'c')]) + return + +def register_Ns3DeterministicVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] + cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) + return + +def register_Ns3EmpiricalVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function] + cls.add_method('CDF', + 'void', + [param('double', 'v'), param('double', 'c')]) + return + +def register_Ns3ErlangVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] + cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) + ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] + cls.add_method('GetValue', + 'double', + [param('unsigned int', 'k'), param('double', 'lambda')], + is_const=True) + return + +def register_Ns3ExponentialVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'b')]) + return + +def register_Ns3GammaVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] + cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) + ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'alpha'), param('double', 'beta')], + is_const=True) + return + def register_Ns3Header_methods(root_module, cls): cls.add_output_stream_operator() ## header.h (module 'network'): ns3::Header::Header() [constructor] @@ -2640,6 +2895,31 @@ def register_Ns3Header_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3IntEmpiricalVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] + cls.add_constructor([]) + return + +def register_Ns3LogNormalVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] + cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) + return + +def register_Ns3NormalVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'v')]) + ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) + return + def register_Ns3Object_methods(root_module, cls): ## object.h (module 'core'): ns3::Object::Object() [constructor] cls.add_constructor([]) @@ -2706,6 +2986,23 @@ def register_Ns3ObjectAggregateIterator_methods(root_module, cls): []) return +def register_Ns3ParetoVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair params) [constructor] + cls.add_constructor([param('std::pair< double, double >', 'params')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair params, double b) [constructor] + cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')]) + return + def register_Ns3PcapFileWrapper_methods(root_module, cls): ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -2827,6 +3124,94 @@ def register_Ns3PppHeader_methods(root_module, cls): [param('uint16_t', 'protocol')]) 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::Packet >', + []) + ## 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 p) [member function] + cls.add_method('Enqueue', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')]) + ## 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::Packet const >', + [], + is_const=True) + ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function] + cls.add_method('ResetStatistics', + 'void', + []) + ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr packet) [member function] + cls.add_method('Drop', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet')], + visibility='protected') + ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoDequeue() [member function] + cls.add_method('DoDequeue', + 'ns3::Ptr< ns3::Packet >', + [], + is_pure_virtual=True, visibility='private', is_virtual=True) + ## queue.h (module 'network'): bool ns3::Queue::DoEnqueue(ns3::Ptr p) [member function] + cls.add_method('DoEnqueue', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + 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::Packet const >', + [], + is_pure_virtual=True, is_const=True, visibility='private', 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([]) @@ -2923,6 +3308,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -3079,6 +3476,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3159,6 +3583,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3334,6 +3763,49 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3ErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ErrorModel::ErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): void ns3::ErrorModel::Disable() [member function] + cls.add_method('Disable', + 'void', + []) + ## error-model.h (module 'network'): void ns3::ErrorModel::Enable() [member function] + cls.add_method('Enable', + 'void', + []) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): bool ns3::ErrorModel::IsCorrupt(ns3::Ptr pkt) [member function] + cls.add_method('IsCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'pkt')]) + ## error-model.h (module 'network'): bool ns3::ErrorModel::IsEnabled() const [member function] + cls.add_method('IsEnabled', + 'bool', + [], + is_const=True) + ## error-model.h (module 'network'): void ns3::ErrorModel::Reset() [member function] + cls.add_method('Reset', + 'void', + []) + ## error-model.h (module 'network'): bool ns3::ErrorModel::DoCorrupt(ns3::Ptr arg0) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'arg0')], + is_pure_virtual=True, visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + is_pure_virtual=True, visibility='private', is_virtual=True) + return + def register_Ns3EventImpl_methods(root_module, cls): ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) @@ -3518,6 +3990,37 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3ListErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ListErrorModel::ListErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): std::list > ns3::ListErrorModel::GetList() const [member function] + cls.add_method('GetList', + 'std::list< unsigned int >', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::ListErrorModel::SetList(std::list > const & packetlist) [member function] + cls.add_method('SetList', + 'void', + [param('std::list< unsigned int > const &', 'packetlist')]) + ## error-model.h (module 'network'): bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ListErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3Mac48AddressChecker_methods(root_module, cls): ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] cls.add_constructor([]) @@ -3789,10 +4292,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -3807,11 +4318,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): @@ -4290,6 +4796,136 @@ def register_Ns3PointToPointRemoteChannel_methods(root_module, cls): is_virtual=True) return +def register_Ns3RandomVariableChecker_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')]) + return + +def register_Ns3RandomVariableValue_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor] + cls.add_constructor([param('ns3::RandomVariable const &', 'value')]) + ## random-variable.h (module 'core'): ns3::Ptr ns3::RandomVariableValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::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) + ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function] + cls.add_method('Get', + 'ns3::RandomVariable', + [], + is_const=True) + ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::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) + ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::RandomVariable const &', 'value')]) + return + +def register_Ns3RateErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::RateErrorModel::RateErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): double ns3::RateErrorModel::GetRate() const [member function] + cls.add_method('GetRate', + 'double', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): ns3::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function] + cls.add_method('GetUnit', + 'ns3::ErrorUnit', + [], + is_const=True) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function] + cls.add_method('SetRandomVariable', + 'void', + [param('ns3::RandomVariable const &', 'ranvar')]) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetRate(double rate) [member function] + cls.add_method('SetRate', + 'void', + [param('double', 'rate')]) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetUnit(ns3::ErrorUnit error_unit) [member function] + cls.add_method('SetUnit', + 'void', + [param('ns3::ErrorUnit', 'error_unit')]) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr p) [member function] + cls.add_method('DoCorruptBit', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr p) [member function] + cls.add_method('DoCorruptByte', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr p) [member function] + cls.add_method('DoCorruptPkt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::RateErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3ReceiveListErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel::ReceiveListErrorModel(ns3::ReceiveListErrorModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ReceiveListErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel::ReceiveListErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): std::list > ns3::ReceiveListErrorModel::GetList() const [member function] + cls.add_method('GetList', + 'std::list< unsigned int >', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ReceiveListErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::ReceiveListErrorModel::SetList(std::list > const & packetlist) [member function] + cls.add_method('SetList', + 'void', + [param('std::list< unsigned int > const &', 'packetlist')]) + ## error-model.h (module 'network'): bool ns3::ReceiveListErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ReceiveListErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3TimeChecker_methods(root_module, cls): ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor] cls.add_constructor([]) diff --git a/src/point-to-point/bindings/modulegen__gcc_LP64.py b/src/point-to-point/bindings/modulegen__gcc_LP64.py index f46a38c82..5914fbf24 100644 --- a/src/point-to-point/bindings/modulegen__gcc_LP64.py +++ b/src/point-to-point/bindings/modulegen__gcc_LP64.py @@ -20,6 +20,8 @@ def module_init(): def register_types(module): root_module = module.get_root() + ## error-model.h (module 'network'): ns3::ErrorUnit [enumeration] + module.add_enum('ErrorUnit', ['EU_BIT', 'EU_BYTE', 'EU_PKT'], import_from_module='ns.network') ## address.h (module 'network'): ns3::Address [class] module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] @@ -28,8 +30,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -102,38 +106,76 @@ def register_types(module): module.add_class('PcapHelperForDevice', allow_subclassing=True, import_from_module='ns.network') ## point-to-point-helper.h (module 'point-to-point'): ns3::PointToPointHelper [class] module.add_class('PointToPointHelper', parent=[root_module['ns3::PcapHelperForDevice'], root_module['ns3::AsciiTraceHelperForDevice']]) + ## random-variable.h (module 'core'): ns3::RandomVariable [class] + module.add_class('RandomVariable', import_from_module='ns.core') + ## random-variable.h (module 'core'): ns3::SeedManager [class] + module.add_class('SeedManager', import_from_module='ns.core') + ## random-variable.h (module 'core'): ns3::SequentialVariable [class] + module.add_class('SequentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] module.add_class('TagBuffer', import_from_module='ns.network') + ## random-variable.h (module 'core'): ns3::TriangularVariable [class] + module.add_class('TriangularVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## 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] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## random-variable.h (module 'core'): ns3::UniformVariable [class] + module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::WeibullVariable [class] + module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::ZetaVariable [class] + module.add_class('ZetaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::ZipfVariable [class] + module.add_class('ZipfVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] module.add_class('int64x64_t', import_from_module='ns.core') ## chunk.h (module 'network'): ns3::Chunk [class] module.add_class('Chunk', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) + ## random-variable.h (module 'core'): ns3::ConstantVariable [class] + module.add_class('ConstantVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::DeterministicVariable [class] + module.add_class('DeterministicVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::EmpiricalVariable [class] + module.add_class('EmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::ErlangVariable [class] + module.add_class('ErlangVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::ExponentialVariable [class] + module.add_class('ExponentialVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::GammaVariable [class] + module.add_class('GammaVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## header.h (module 'network'): ns3::Header [class] module.add_class('Header', import_from_module='ns.network', parent=root_module['ns3::Chunk']) + ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable [class] + module.add_class('IntEmpiricalVariable', import_from_module='ns.core', parent=root_module['ns3::EmpiricalVariable']) + ## random-variable.h (module 'core'): ns3::LogNormalVariable [class] + module.add_class('LogNormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) + ## random-variable.h (module 'core'): ns3::NormalVariable [class] + module.add_class('NormalVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## object.h (module 'core'): ns3::Object [class] 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']) + ## random-variable.h (module 'core'): ns3::ParetoVariable [class] + module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class] module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object']) ## ppp-header.h (module 'point-to-point'): ns3::PppHeader [class] module.add_class('PppHeader', parent=root_module['ns3::Header']) + ## queue.h (module 'network'): ns3::Queue [class] + module.add_class('Queue', import_from_module='ns.network', 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] @@ -150,12 +192,16 @@ def register_types(module): 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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -178,6 +224,8 @@ def register_types(module): module.add_class('DataRateValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## attribute.h (module 'core'): ns3::EmptyAttributeValue [class] module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## error-model.h (module 'network'): ns3::ErrorModel [class] + module.add_class('ErrorModel', import_from_module='ns.network', parent=root_module['ns3::Object']) ## event-impl.h (module 'core'): ns3::EventImpl [class] module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] @@ -196,6 +244,8 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## error-model.h (module 'network'): ns3::ListErrorModel [class] + module.add_class('ListErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] @@ -222,6 +272,14 @@ def register_types(module): module.add_class('PointToPointNetDevice', parent=root_module['ns3::NetDevice']) ## point-to-point-remote-channel.h (module 'point-to-point'): ns3::PointToPointRemoteChannel [class] module.add_class('PointToPointRemoteChannel', parent=root_module['ns3::PointToPointChannel']) + ## random-variable.h (module 'core'): ns3::RandomVariableChecker [class] + module.add_class('RandomVariableChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## random-variable.h (module 'core'): ns3::RandomVariableValue [class] + module.add_class('RandomVariableValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) + ## error-model.h (module 'network'): ns3::RateErrorModel [class] + module.add_class('RateErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel [class] + module.add_class('ReceiveListErrorModel', import_from_module='ns.network', parent=root_module['ns3::ErrorModel']) ## nstime.h (module 'core'): ns3::TimeChecker [class] module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## nstime.h (module 'core'): ns3::TimeValue [class] @@ -234,6 +292,7 @@ def register_types(module): 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']) + module.add_container('std::list< unsigned int >', 'unsigned int', container_type='list') ## Register a nested module for the namespace FatalImpl @@ -249,7 +308,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -281,21 +341,40 @@ def register_methods(root_module): register_Ns3PcapHelper_methods(root_module, root_module['ns3::PcapHelper']) register_Ns3PcapHelperForDevice_methods(root_module, root_module['ns3::PcapHelperForDevice']) register_Ns3PointToPointHelper_methods(root_module, root_module['ns3::PointToPointHelper']) + register_Ns3RandomVariable_methods(root_module, root_module['ns3::RandomVariable']) + register_Ns3SeedManager_methods(root_module, root_module['ns3::SeedManager']) + register_Ns3SequentialVariable_methods(root_module, root_module['ns3::SequentialVariable']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) + register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) + register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) + register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) + register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) + register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) + register_Ns3ConstantVariable_methods(root_module, root_module['ns3::ConstantVariable']) + register_Ns3DeterministicVariable_methods(root_module, root_module['ns3::DeterministicVariable']) + register_Ns3EmpiricalVariable_methods(root_module, root_module['ns3::EmpiricalVariable']) + register_Ns3ErlangVariable_methods(root_module, root_module['ns3::ErlangVariable']) + register_Ns3ExponentialVariable_methods(root_module, root_module['ns3::ExponentialVariable']) + register_Ns3GammaVariable_methods(root_module, root_module['ns3::GammaVariable']) register_Ns3Header_methods(root_module, root_module['ns3::Header']) + register_Ns3IntEmpiricalVariable_methods(root_module, root_module['ns3::IntEmpiricalVariable']) + register_Ns3LogNormalVariable_methods(root_module, root_module['ns3::LogNormalVariable']) + register_Ns3NormalVariable_methods(root_module, root_module['ns3::NormalVariable']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) + register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) register_Ns3PppHeader_methods(root_module, root_module['ns3::PppHeader']) + register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) 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 >']) @@ -304,7 +383,9 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -316,6 +397,7 @@ def register_methods(root_module): register_Ns3DataRateChecker_methods(root_module, root_module['ns3::DataRateChecker']) register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) + register_Ns3ErrorModel_methods(root_module, root_module['ns3::ErrorModel']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) @@ -325,6 +407,7 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3ListErrorModel_methods(root_module, root_module['ns3::ListErrorModel']) 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']) @@ -337,6 +420,10 @@ def register_methods(root_module): register_Ns3PointToPointChannel_methods(root_module, root_module['ns3::PointToPointChannel']) register_Ns3PointToPointNetDevice_methods(root_module, root_module['ns3::PointToPointNetDevice']) register_Ns3PointToPointRemoteChannel_methods(root_module, root_module['ns3::PointToPointRemoteChannel']) + register_Ns3RandomVariableChecker_methods(root_module, root_module['ns3::RandomVariableChecker']) + register_Ns3RandomVariableValue_methods(root_module, root_module['ns3::RandomVariableValue']) + register_Ns3RateErrorModel_methods(root_module, root_module['ns3::RateErrorModel']) + register_Ns3ReceiveListErrorModel_methods(root_module, root_module['ns3::ReceiveListErrorModel']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) register_Ns3TypeIdChecker_methods(root_module, root_module['ns3::TypeIdChecker']) @@ -534,41 +621,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1626,10 +1715,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1656,6 +1745,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1670,10 +1761,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2067,6 +2154,65 @@ def register_Ns3PointToPointHelper_methods(root_module, cls): visibility='private', is_virtual=True) return +def register_Ns3RandomVariable_methods(root_module, cls): + cls.add_output_stream_operator() + ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::RandomVariable::RandomVariable(ns3::RandomVariable const & o) [copy constructor] + cls.add_constructor([param('ns3::RandomVariable const &', 'o')]) + ## random-variable.h (module 'core'): uint32_t ns3::RandomVariable::GetInteger() const [member function] + cls.add_method('GetInteger', + 'uint32_t', + [], + is_const=True) + ## random-variable.h (module 'core'): double ns3::RandomVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + return + +def register_Ns3SeedManager_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::SeedManager::SeedManager(ns3::SeedManager const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SeedManager const &', 'arg0')]) + ## random-variable.h (module 'core'): static bool ns3::SeedManager::CheckSeed(uint32_t seed) [member function] + cls.add_method('CheckSeed', + 'bool', + [param('uint32_t', 'seed')], + is_static=True) + ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetRun() [member function] + cls.add_method('GetRun', + 'uint32_t', + [], + is_static=True) + ## random-variable.h (module 'core'): static uint32_t ns3::SeedManager::GetSeed() [member function] + cls.add_method('GetSeed', + 'uint32_t', + [], + is_static=True) + ## random-variable.h (module 'core'): static void ns3::SeedManager::SetRun(uint32_t run) [member function] + cls.add_method('SetRun', + 'void', + [param('uint32_t', 'run')], + is_static=True) + ## random-variable.h (module 'core'): static void ns3::SeedManager::SetSeed(uint32_t seed) [member function] + cls.add_method('SetSeed', + 'void', + [param('uint32_t', 'seed')], + is_static=True) + return + +def register_Ns3SequentialVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(ns3::SequentialVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SequentialVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, double i=1, uint32_t c=1) [constructor] + cls.add_constructor([param('double', 'f'), param('double', 'l'), param('double', 'i', default_value='1'), param('uint32_t', 'c', default_value='1')]) + ## random-variable.h (module 'core'): ns3::SequentialVariable::SequentialVariable(double f, double l, ns3::RandomVariable const & i, uint32_t c=1) [constructor] + cls.add_constructor([param('double', 'f'), param('double', 'l'), param('ns3::RandomVariable const &', 'i'), param('uint32_t', 'c', default_value='1')]) + return + def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -2264,6 +2410,15 @@ def register_Ns3TagBuffer_methods(root_module, cls): [param('uint8_t', 'v')]) return +def register_Ns3TriangularVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(ns3::TriangularVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TriangularVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::TriangularVariable::TriangularVariable(double s, double l, double mean) [constructor] + cls.add_constructor([param('double', 's'), param('double', 'l'), param('double', 'mean')]) + return + def register_Ns3TypeId_methods(root_module, cls): cls.add_binary_comparison_operator('<') cls.add_binary_comparison_operator('!=') @@ -2283,23 +2438,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2307,26 +2452,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2357,14 +2487,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2372,11 +2497,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2401,22 +2521,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2426,6 +2541,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2440,35 +2559,91 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + return + +def register_Ns3UniformVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(ns3::UniformVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::UniformVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::UniformVariable::UniformVariable(double s, double l) [constructor] + cls.add_constructor([param('double', 's'), param('double', 'l')]) + ## random-variable.h (module 'core'): uint32_t ns3::UniformVariable::GetInteger(uint32_t s, uint32_t l) [member function] + cls.add_method('GetInteger', + 'uint32_t', + [param('uint32_t', 's'), param('uint32_t', 'l')]) + ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## random-variable.h (module 'core'): double ns3::UniformVariable::GetValue(double s, double l) [member function] + cls.add_method('GetValue', + 'double', + [param('double', 's'), param('double', 'l')]) + return + +def register_Ns3WeibullVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's')]) + ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(double m, double s, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) + return + +def register_Ns3ZetaVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(ns3::ZetaVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ZetaVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable(double alpha) [constructor] + cls.add_constructor([param('double', 'alpha')]) + ## random-variable.h (module 'core'): ns3::ZetaVariable::ZetaVariable() [constructor] + cls.add_constructor([]) + return + +def register_Ns3ZipfVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(ns3::ZipfVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ZipfVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable(long int N, double alpha) [constructor] + cls.add_constructor([param('long int', 'N'), param('double', 'alpha')]) + ## random-variable.h (module 'core'): ns3::ZipfVariable::ZipfVariable() [constructor] + cls.add_constructor([]) return def register_Ns3Empty_methods(root_module, cls): @@ -2607,6 +2782,86 @@ def register_Ns3Chunk_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3ConstantVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(ns3::ConstantVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ConstantVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::ConstantVariable::ConstantVariable(double c) [constructor] + cls.add_constructor([param('double', 'c')]) + ## random-variable.h (module 'core'): void ns3::ConstantVariable::SetConstant(double c) [member function] + cls.add_method('SetConstant', + 'void', + [param('double', 'c')]) + return + +def register_Ns3DeterministicVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(ns3::DeterministicVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::DeterministicVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::DeterministicVariable::DeterministicVariable(double * d, uint32_t c) [constructor] + cls.add_constructor([param('double *', 'd'), param('uint32_t', 'c')]) + return + +def register_Ns3EmpiricalVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable(ns3::EmpiricalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::EmpiricalVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::EmpiricalVariable::EmpiricalVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): void ns3::EmpiricalVariable::CDF(double v, double c) [member function] + cls.add_method('CDF', + 'void', + [param('double', 'v'), param('double', 'c')]) + return + +def register_Ns3ErlangVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(ns3::ErlangVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ErlangVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::ErlangVariable::ErlangVariable(unsigned int k, double lambda) [constructor] + cls.add_constructor([param('unsigned int', 'k'), param('double', 'lambda')]) + ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + ## random-variable.h (module 'core'): double ns3::ErlangVariable::GetValue(unsigned int k, double lambda) const [member function] + cls.add_method('GetValue', + 'double', + [param('unsigned int', 'k'), param('double', 'lambda')], + is_const=True) + return + +def register_Ns3ExponentialVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(ns3::ExponentialVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ExponentialVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h (module 'core'): ns3::ExponentialVariable::ExponentialVariable(double m, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'b')]) + return + +def register_Ns3GammaVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(ns3::GammaVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::GammaVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::GammaVariable::GammaVariable(double alpha, double beta) [constructor] + cls.add_constructor([param('double', 'alpha'), param('double', 'beta')]) + ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue() const [member function] + cls.add_method('GetValue', + 'double', + [], + is_const=True) + ## random-variable.h (module 'core'): double ns3::GammaVariable::GetValue(double alpha, double beta) const [member function] + cls.add_method('GetValue', + 'double', + [param('double', 'alpha'), param('double', 'beta')], + is_const=True) + return + def register_Ns3Header_methods(root_module, cls): cls.add_output_stream_operator() ## header.h (module 'network'): ns3::Header::Header() [constructor] @@ -2640,6 +2895,31 @@ def register_Ns3Header_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3IntEmpiricalVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable(ns3::IntEmpiricalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::IntEmpiricalVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::IntEmpiricalVariable::IntEmpiricalVariable() [constructor] + cls.add_constructor([]) + return + +def register_Ns3LogNormalVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(ns3::LogNormalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::LogNormalVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::LogNormalVariable::LogNormalVariable(double mu, double sigma) [constructor] + cls.add_constructor([param('double', 'mu'), param('double', 'sigma')]) + return + +def register_Ns3NormalVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(ns3::NormalVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::NormalVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'v')]) + ## random-variable.h (module 'core'): ns3::NormalVariable::NormalVariable(double m, double v, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 'v'), param('double', 'b')]) + return + def register_Ns3Object_methods(root_module, cls): ## object.h (module 'core'): ns3::Object::Object() [constructor] cls.add_constructor([]) @@ -2706,6 +2986,23 @@ def register_Ns3ObjectAggregateIterator_methods(root_module, cls): []) return +def register_Ns3ParetoVariable_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(ns3::ParetoVariable const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ParetoVariable const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m) [constructor] + cls.add_constructor([param('double', 'm')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(double m, double s, double b) [constructor] + cls.add_constructor([param('double', 'm'), param('double', 's'), param('double', 'b')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair params) [constructor] + cls.add_constructor([param('std::pair< double, double >', 'params')]) + ## random-variable.h (module 'core'): ns3::ParetoVariable::ParetoVariable(std::pair params, double b) [constructor] + cls.add_constructor([param('std::pair< double, double >', 'params'), param('double', 'b')]) + return + def register_Ns3PcapFileWrapper_methods(root_module, cls): ## pcap-file-wrapper.h (module 'network'): static ns3::TypeId ns3::PcapFileWrapper::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -2827,6 +3124,94 @@ def register_Ns3PppHeader_methods(root_module, cls): [param('uint16_t', 'protocol')]) 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::Packet >', + []) + ## 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 p) [member function] + cls.add_method('Enqueue', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')]) + ## 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::Packet const >', + [], + is_const=True) + ## queue.h (module 'network'): void ns3::Queue::ResetStatistics() [member function] + cls.add_method('ResetStatistics', + 'void', + []) + ## queue.h (module 'network'): void ns3::Queue::Drop(ns3::Ptr packet) [member function] + cls.add_method('Drop', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet')], + visibility='protected') + ## queue.h (module 'network'): ns3::Ptr ns3::Queue::DoDequeue() [member function] + cls.add_method('DoDequeue', + 'ns3::Ptr< ns3::Packet >', + [], + is_pure_virtual=True, visibility='private', is_virtual=True) + ## queue.h (module 'network'): bool ns3::Queue::DoEnqueue(ns3::Ptr p) [member function] + cls.add_method('DoEnqueue', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + 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::Packet const >', + [], + is_pure_virtual=True, is_const=True, visibility='private', 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([]) @@ -2923,6 +3308,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -3079,6 +3476,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3159,6 +3583,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3334,6 +3763,49 @@ def register_Ns3EmptyAttributeValue_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3ErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ErrorModel::ErrorModel(ns3::ErrorModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ErrorModel::ErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): void ns3::ErrorModel::Disable() [member function] + cls.add_method('Disable', + 'void', + []) + ## error-model.h (module 'network'): void ns3::ErrorModel::Enable() [member function] + cls.add_method('Enable', + 'void', + []) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): bool ns3::ErrorModel::IsCorrupt(ns3::Ptr pkt) [member function] + cls.add_method('IsCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'pkt')]) + ## error-model.h (module 'network'): bool ns3::ErrorModel::IsEnabled() const [member function] + cls.add_method('IsEnabled', + 'bool', + [], + is_const=True) + ## error-model.h (module 'network'): void ns3::ErrorModel::Reset() [member function] + cls.add_method('Reset', + 'void', + []) + ## error-model.h (module 'network'): bool ns3::ErrorModel::DoCorrupt(ns3::Ptr arg0) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'arg0')], + is_pure_virtual=True, visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + is_pure_virtual=True, visibility='private', is_virtual=True) + return + def register_Ns3EventImpl_methods(root_module, cls): ## event-impl.h (module 'core'): ns3::EventImpl::EventImpl(ns3::EventImpl const & arg0) [copy constructor] cls.add_constructor([param('ns3::EventImpl const &', 'arg0')]) @@ -3518,6 +3990,37 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3ListErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ListErrorModel::ListErrorModel(ns3::ListErrorModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ListErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ListErrorModel::ListErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): std::list > ns3::ListErrorModel::GetList() const [member function] + cls.add_method('GetList', + 'std::list< unsigned int >', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ListErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::ListErrorModel::SetList(std::list > const & packetlist) [member function] + cls.add_method('SetList', + 'void', + [param('std::list< unsigned int > const &', 'packetlist')]) + ## error-model.h (module 'network'): bool ns3::ListErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ListErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3Mac48AddressChecker_methods(root_module, cls): ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] cls.add_constructor([]) @@ -3789,10 +4292,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -3807,11 +4318,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): @@ -4290,6 +4796,136 @@ def register_Ns3PointToPointRemoteChannel_methods(root_module, cls): is_virtual=True) return +def register_Ns3RandomVariableChecker_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::RandomVariableChecker::RandomVariableChecker(ns3::RandomVariableChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RandomVariableChecker const &', 'arg0')]) + return + +def register_Ns3RandomVariableValue_methods(root_module, cls): + ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue() [constructor] + cls.add_constructor([]) + ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariableValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RandomVariableValue const &', 'arg0')]) + ## random-variable.h (module 'core'): ns3::RandomVariableValue::RandomVariableValue(ns3::RandomVariable const & value) [constructor] + cls.add_constructor([param('ns3::RandomVariable const &', 'value')]) + ## random-variable.h (module 'core'): ns3::Ptr ns3::RandomVariableValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## random-variable.h (module 'core'): bool ns3::RandomVariableValue::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) + ## random-variable.h (module 'core'): ns3::RandomVariable ns3::RandomVariableValue::Get() const [member function] + cls.add_method('Get', + 'ns3::RandomVariable', + [], + is_const=True) + ## random-variable.h (module 'core'): std::string ns3::RandomVariableValue::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) + ## random-variable.h (module 'core'): void ns3::RandomVariableValue::Set(ns3::RandomVariable const & value) [member function] + cls.add_method('Set', + 'void', + [param('ns3::RandomVariable const &', 'value')]) + return + +def register_Ns3RateErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::RateErrorModel::RateErrorModel(ns3::RateErrorModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RateErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::RateErrorModel::RateErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): double ns3::RateErrorModel::GetRate() const [member function] + cls.add_method('GetRate', + 'double', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::RateErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): ns3::ErrorUnit ns3::RateErrorModel::GetUnit() const [member function] + cls.add_method('GetUnit', + 'ns3::ErrorUnit', + [], + is_const=True) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetRandomVariable(ns3::RandomVariable const & ranvar) [member function] + cls.add_method('SetRandomVariable', + 'void', + [param('ns3::RandomVariable const &', 'ranvar')]) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetRate(double rate) [member function] + cls.add_method('SetRate', + 'void', + [param('double', 'rate')]) + ## error-model.h (module 'network'): void ns3::RateErrorModel::SetUnit(ns3::ErrorUnit error_unit) [member function] + cls.add_method('SetUnit', + 'void', + [param('ns3::ErrorUnit', 'error_unit')]) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptBit(ns3::Ptr p) [member function] + cls.add_method('DoCorruptBit', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptByte(ns3::Ptr p) [member function] + cls.add_method('DoCorruptByte', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): bool ns3::RateErrorModel::DoCorruptPkt(ns3::Ptr p) [member function] + cls.add_method('DoCorruptPkt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::RateErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + +def register_Ns3ReceiveListErrorModel_methods(root_module, cls): + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel::ReceiveListErrorModel(ns3::ReceiveListErrorModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ReceiveListErrorModel const &', 'arg0')]) + ## error-model.h (module 'network'): ns3::ReceiveListErrorModel::ReceiveListErrorModel() [constructor] + cls.add_constructor([]) + ## error-model.h (module 'network'): std::list > ns3::ReceiveListErrorModel::GetList() const [member function] + cls.add_method('GetList', + 'std::list< unsigned int >', + [], + is_const=True) + ## error-model.h (module 'network'): static ns3::TypeId ns3::ReceiveListErrorModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## error-model.h (module 'network'): void ns3::ReceiveListErrorModel::SetList(std::list > const & packetlist) [member function] + cls.add_method('SetList', + 'void', + [param('std::list< unsigned int > const &', 'packetlist')]) + ## error-model.h (module 'network'): bool ns3::ReceiveListErrorModel::DoCorrupt(ns3::Ptr p) [member function] + cls.add_method('DoCorrupt', + 'bool', + [param('ns3::Ptr< ns3::Packet >', 'p')], + visibility='private', is_virtual=True) + ## error-model.h (module 'network'): void ns3::ReceiveListErrorModel::DoReset() [member function] + cls.add_method('DoReset', + 'void', + [], + visibility='private', is_virtual=True) + return + def register_Ns3TimeChecker_methods(root_module, cls): ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor] cls.add_constructor([]) diff --git a/src/point-to-point/bindings/modulegen_customizations.py b/src/point-to-point/bindings/modulegen_customizations.py new file mode 100644 index 000000000..838288fee --- /dev/null +++ b/src/point-to-point/bindings/modulegen_customizations.py @@ -0,0 +1,5 @@ + +def post_register_types(root_module): + root_module.add_include('"ns3/queue.h"') + root_module.add_include('"ns3/error-model.h"') + diff --git a/src/point-to-point/bindings/scan-header.h b/src/point-to-point/bindings/scan-header.h new file mode 100644 index 000000000..134fac6f8 --- /dev/null +++ b/src/point-to-point/bindings/scan-header.h @@ -0,0 +1,6 @@ +// -*- c++ -*- + +#include "ns3/point-to-point-module.h" + +#include "ns3/queue.h" +#include "ns3/error-model.h" diff --git a/src/point-to-point/model/point-to-point-net-device.h b/src/point-to-point/model/point-to-point-net-device.h index 0cf37d149..0ba45c6ac 100644 --- a/src/point-to-point/model/point-to-point-net-device.h +++ b/src/point-to-point/model/point-to-point-net-device.h @@ -468,5 +468,4 @@ private: } // namespace ns3 -#endif // POINT_TO_POINT_NET_DEVICE_H - +#endif /* POINT_TO_POINT_NET_DEVICE_H */ diff --git a/src/point-to-point/model/ppp-header.cc b/src/point-to-point/model/ppp-header.cc index d1b506ccd..4650fb069 100644 --- a/src/point-to-point/model/ppp-header.cc +++ b/src/point-to-point/model/ppp-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * diff --git a/src/point-to-point/model/ppp-header.h b/src/point-to-point/model/ppp-header.h index 160602171..e1c298ffe 100644 --- a/src/point-to-point/model/ppp-header.h +++ b/src/point-to-point/model/ppp-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 University of Washington * @@ -92,7 +92,7 @@ private: uint16_t m_protocol; }; -}; // namespace ns3 +} // namespace ns3 #endif /* PPP_HEADER_H */ diff --git a/src/point-to-point/wscript b/src/point-to-point/wscript index ce8faa742..f3b4ba8e6 100644 --- a/src/point-to-point/wscript +++ b/src/point-to-point/wscript @@ -16,7 +16,7 @@ def build(bld): 'test/point-to-point-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'point-to-point' headers.source = [ 'model/point-to-point-net-device.h', diff --git a/src/propagation/bindings/modulegen__gcc_ILP32.py b/src/propagation/bindings/modulegen__gcc_ILP32.py index d17444a8f..ee67364bf 100644 --- a/src/propagation/bindings/modulegen__gcc_ILP32.py +++ b/src/propagation/bindings/modulegen__gcc_ILP32.py @@ -20,8 +20,10 @@ def module_init(): def register_types(module): root_module = module.get_root() - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## callback.h (module 'core'): ns3::CallbackBase [class] module.add_class('CallbackBase', import_from_module='ns.core') ## object-base.h (module 'core'): ns3::ObjectBase [class] @@ -42,12 +44,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## random-variable.h (module 'core'): ns3::ZetaVariable [class] @@ -100,6 +102,8 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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')) ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel [class] module.add_class('ThreeLogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## nstime.h (module 'core'): ns3::Time [class] @@ -108,6 +112,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] @@ -166,7 +172,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) @@ -176,9 +183,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -205,8 +212,10 @@ def register_methods(root_module): 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, 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_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) @@ -231,41 +240,43 @@ def register_methods(root_module): register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3CallbackBase_methods(root_module, cls): @@ -337,10 +348,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -460,23 +471,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -484,26 +485,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -534,14 +520,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -549,11 +530,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -578,22 +554,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -603,6 +574,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -617,19 +592,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -654,22 +648,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -1139,6 +1117,18 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -1310,6 +1300,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -1407,6 +1424,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/propagation/bindings/modulegen__gcc_LP64.py b/src/propagation/bindings/modulegen__gcc_LP64.py index d17444a8f..ee67364bf 100644 --- a/src/propagation/bindings/modulegen__gcc_LP64.py +++ b/src/propagation/bindings/modulegen__gcc_LP64.py @@ -20,8 +20,10 @@ def module_init(): def register_types(module): root_module = module.get_root() - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## callback.h (module 'core'): ns3::CallbackBase [class] module.add_class('CallbackBase', import_from_module='ns.core') ## object-base.h (module 'core'): ns3::ObjectBase [class] @@ -42,12 +44,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## random-variable.h (module 'core'): ns3::ZetaVariable [class] @@ -100,6 +102,8 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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')) ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel [class] module.add_class('ThreeLogDistancePropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## nstime.h (module 'core'): ns3::Time [class] @@ -108,6 +112,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] module.add_class('TwoRayGroundPropagationLossModel', parent=root_module['ns3::PropagationLossModel']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] @@ -166,7 +172,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) @@ -176,9 +183,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3ZetaVariable_methods(root_module, root_module['ns3::ZetaVariable']) register_Ns3ZipfVariable_methods(root_module, root_module['ns3::ZipfVariable']) @@ -205,8 +212,10 @@ def register_methods(root_module): 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, 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_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) register_Ns3AttributeChecker_methods(root_module, root_module['ns3::AttributeChecker']) @@ -231,41 +240,43 @@ def register_methods(root_module): register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3CallbackBase_methods(root_module, cls): @@ -337,10 +348,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -460,23 +471,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -484,26 +485,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -534,14 +520,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -549,11 +530,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -578,22 +554,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -603,6 +574,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -617,19 +592,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -654,22 +648,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -1139,6 +1117,18 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -1310,6 +1300,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] cls.add_method('GetTypeId', @@ -1407,6 +1424,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/propagation/examples/main-propagation-loss.cc b/src/propagation/examples/main-propagation-loss.cc index e7cac50d8..36c3f9ad4 100644 --- a/src/propagation/examples/main-propagation-loss.cc +++ b/src/propagation/examples/main-propagation-loss.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 Timo Bingmann * diff --git a/src/propagation/model/cost231-propagation-loss-model.h b/src/propagation/model/cost231-propagation-loss-model.h index baf881137..0b02559f7 100644 --- a/src/propagation/model/cost231-propagation-loss-model.h +++ b/src/propagation/model/cost231-propagation-loss-model.h @@ -19,8 +19,8 @@ * */ -#ifndef COST231_PROPAGATION_LOSS_MODEL_H_ -#define COST231_PROPAGATION_LOSS_MODEL_H_ +#ifndef COST231_PROPAGATION_LOSS_MODEL_H +#define COST231_PROPAGATION_LOSS_MODEL_H #include "ns3/nstime.h" #include "ns3/propagation-loss-model.h" @@ -92,4 +92,4 @@ private: } -#endif /* COST231PROPAGATIONMODEL_H_ */ +#endif /* COST231PROPAGATIONMODEL_H */ diff --git a/src/propagation/model/jakes-propagation-loss-model.cc b/src/propagation/model/jakes-propagation-loss-model.cc index 881bb5764..e482bc010 100644 --- a/src/propagation/model/jakes-propagation-loss-model.cc +++ b/src/propagation/model/jakes-propagation-loss-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/model/jakes-propagation-loss-model.h b/src/propagation/model/jakes-propagation-loss-model.h index e152469d1..89477d79f 100644 --- a/src/propagation/model/jakes-propagation-loss-model.h +++ b/src/propagation/model/jakes-propagation-loss-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/model/propagation-delay-model.cc b/src/propagation/model/propagation-delay-model.cc index 25b751332..af420422d 100644 --- a/src/propagation/model/propagation-delay-model.cc +++ b/src/propagation/model/propagation-delay-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/model/propagation-delay-model.h b/src/propagation/model/propagation-delay-model.h index 04ff11399..1cba81e03 100644 --- a/src/propagation/model/propagation-delay-model.h +++ b/src/propagation/model/propagation-delay-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/model/propagation-loss-model.cc b/src/propagation/model/propagation-loss-model.cc index 11e57797f..188bf3c26 100644 --- a/src/propagation/model/propagation-loss-model.cc +++ b/src/propagation/model/propagation-loss-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/model/propagation-loss-model.h b/src/propagation/model/propagation-loss-model.h index 608236135..25b636b96 100644 --- a/src/propagation/model/propagation-loss-model.h +++ b/src/propagation/model/propagation-loss-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/propagation/wscript b/src/propagation/wscript index df7d068e4..094a7de82 100644 --- a/src/propagation/wscript +++ b/src/propagation/wscript @@ -15,7 +15,7 @@ def build(bld): 'test/propagation-loss-model-test-suite.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'propagation' headers.source = [ 'model/propagation-delay-model.h', diff --git a/src/spectrum/bindings/modulegen__gcc_ILP32.py b/src/spectrum/bindings/modulegen__gcc_ILP32.py index 4108303d5..98877d59f 100644 --- a/src/spectrum/bindings/modulegen__gcc_ILP32.py +++ b/src/spectrum/bindings/modulegen__gcc_ILP32.py @@ -28,8 +28,10 @@ def register_types(module): module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') ## adhoc-aloha-noack-ideal-phy-helper.h (module 'spectrum'): ns3::AdhocAlohaNoackIdealPhyHelper [class] module.add_class('AdhocAlohaNoackIdealPhyHelper') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## spectrum-model.h (module 'spectrum'): ns3::BandInfo [struct] module.add_class('BandInfo') ## buffer.h (module 'network'): ns3::Buffer [class] @@ -118,6 +120,8 @@ def register_types(module): module.add_class('SpectrumType') ## spectrum-type.h (module 'spectrum'): ns3::SpectrumTypeFactory [class] module.add_class('SpectrumTypeFactory') + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs [class] + module.add_class('SystemWallClockMs', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -130,12 +134,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -186,10 +190,16 @@ def register_types(module): module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] module.add_class('PropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] + module.add_class('PropagationLossModel', import_from_module='ns.propagation', 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']) ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel [class] module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] + module.add_class('RandomPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] + module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## 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] @@ -226,6 +236,8 @@ def register_types(module): module.add_class('SpectrumPropagationLossModel', parent=root_module['ns3::Object']) ## spectrum-value.h (module 'spectrum'): ns3::SpectrumValue [class] module.add_class('SpectrumValue', parent=root_module['ns3::SimpleRefCount< ns3::SpectrumValue, ns3::empty, ns3::DefaultDeleter >']) + ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel [class] + module.add_class('ThreeLogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] @@ -236,6 +248,8 @@ def register_types(module): module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) + ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] + module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## waveform-generator.h (module 'spectrum'): ns3::WaveformGenerator [class] module.add_class('WaveformGenerator', parent=root_module['ns3::SpectrumPhy']) ## aloha-noack-mac-header.h (module 'spectrum'): ns3::AlohaNoackMacHeader [class] @@ -264,6 +278,10 @@ def register_types(module): module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## event-impl.h (module 'core'): ns3::EventImpl [class] module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) + ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] + module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] + module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## friis-spectrum-propagation-loss.h (module 'spectrum'): ns3::FriisSpectrumPropagationLossModel [class] module.add_class('FriisSpectrumPropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) ## half-duplex-ideal-phy.h (module 'spectrum'): ns3::HalfDuplexIdealPhy [class] @@ -286,12 +304,18 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] + module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] module.add_class('Mac48AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel [class] + module.add_class('MatrixPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class] module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel [class] + module.add_class('NakagamiPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## net-device.h (module 'network'): ns3::NetDevice [class] module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object']) ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration] @@ -426,7 +450,8 @@ def register_types_ns3_addressUtils(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, root_module['ns3::AdhocAlohaNoackIdealPhyHelper']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3BandInfo_methods(root_module, root_module['ns3::BandInfo']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) @@ -467,14 +492,15 @@ def register_methods(root_module): register_Ns3SpectrumPhyHelper_methods(root_module, root_module['ns3::SpectrumPhyHelper']) register_Ns3SpectrumType_methods(root_module, root_module['ns3::SpectrumType']) register_Ns3SpectrumTypeFactory_methods(root_module, root_module['ns3::SpectrumTypeFactory']) + register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TxSpectrumModelInfo_methods(root_module, root_module['ns3::TxSpectrumModelInfo']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3WaveformGeneratorHelper_methods(root_module, root_module['ns3::WaveformGeneratorHelper']) @@ -500,8 +526,11 @@ def register_methods(root_module): register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) + register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) + register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) 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 >']) @@ -520,9 +549,11 @@ def register_methods(root_module): register_Ns3SpectrumPhy_methods(root_module, root_module['ns3::SpectrumPhy']) register_Ns3SpectrumPropagationLossModel_methods(root_module, root_module['ns3::SpectrumPropagationLossModel']) register_Ns3SpectrumValue_methods(root_module, root_module['ns3::SpectrumValue']) + register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) + register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3WaveformGenerator_methods(root_module, root_module['ns3::WaveformGenerator']) register_Ns3AlohaNoackMacHeader_methods(root_module, root_module['ns3::AlohaNoackMacHeader']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) @@ -537,6 +568,8 @@ def register_methods(root_module): register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) + register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) + register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, root_module['ns3::FriisSpectrumPropagationLossModel']) register_Ns3HalfDuplexIdealPhy_methods(root_module, root_module['ns3::HalfDuplexIdealPhy']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) @@ -547,9 +580,12 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) + register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) + register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) @@ -693,41 +729,43 @@ def register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, cls): [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3BandInfo_methods(root_module, cls): @@ -1849,10 +1887,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1879,6 +1917,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1893,10 +1933,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2231,10 +2267,22 @@ def register_Ns3SpectrumChannelHelper_methods(root_module, cls): cls.add_constructor([]) ## spectrum-helper.h (module 'spectrum'): ns3::SpectrumChannelHelper::SpectrumChannelHelper(ns3::SpectrumChannelHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::SpectrumChannelHelper const &', 'arg0')]) + ## spectrum-helper.h (module 'spectrum'): void ns3::SpectrumChannelHelper::AddPropagationLoss(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] + cls.add_method('AddPropagationLoss', + 'void', + [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) + ## spectrum-helper.h (module 'spectrum'): void ns3::SpectrumChannelHelper::AddPropagationLoss(ns3::Ptr m) [member function] + cls.add_method('AddPropagationLoss', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'm')]) ## spectrum-helper.h (module 'spectrum'): void ns3::SpectrumChannelHelper::AddSpectrumPropagationLoss(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] cls.add_method('AddSpectrumPropagationLoss', 'void', [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) + ## spectrum-helper.h (module 'spectrum'): void ns3::SpectrumChannelHelper::AddSpectrumPropagationLoss(ns3::Ptr m) [member function] + cls.add_method('AddSpectrumPropagationLoss', + 'void', + [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'm')]) ## spectrum-helper.h (module 'spectrum'): ns3::Ptr ns3::SpectrumChannelHelper::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::SpectrumChannel >', @@ -2318,6 +2366,36 @@ def register_Ns3SpectrumTypeFactory_methods(root_module, cls): is_static=True) return +def register_Ns3SystemWallClockMs_methods(root_module, cls): + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs() [constructor] + cls.add_constructor([]) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::End() [member function] + cls.add_method('End', + 'int64_t', + []) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedReal() const [member function] + cls.add_method('GetElapsedReal', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedSystem() const [member function] + cls.add_method('GetElapsedSystem', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedUser() const [member function] + cls.add_method('GetElapsedUser', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): void ns3::SystemWallClockMs::Start() [member function] + cls.add_method('Start', + 'void', + []) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -2456,19 +2534,9 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2476,26 +2544,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2526,14 +2579,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2541,11 +2589,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2570,15 +2613,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', @@ -2595,6 +2633,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2609,19 +2651,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -2646,22 +2707,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -3183,6 +3228,30 @@ def register_Ns3PropagationDelayModel_methods(root_module, cls): is_static=True) return +def register_Ns3PropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::PropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel::PropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::PropagationLossModel::SetNext(ns3::Ptr next) [member function] + cls.add_method('SetNext', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('CalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + 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')]) @@ -3288,6 +3357,36 @@ def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): is_static=True) return +def register_Ns3RandomPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RandomPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel::RandomPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::RandomPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3RangePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RangePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel::RangePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::RangePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', 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([]) @@ -3666,6 +3765,21 @@ def register_Ns3SpectrumValue_methods(root_module, cls): []) return +def register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel::ThreeLogDistancePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::ThreeLogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -3882,6 +3996,56 @@ def register_Ns3Trailer_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel::TwoRayGroundPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetSystemLoss(double systemLoss) [member function] + cls.add_method('SetSystemLoss', + 'void', + [param('double', 'systemLoss')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetSystemLoss() const [member function] + cls.add_method('GetSystemLoss', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetHeightAboveZ(double heightAboveZ) [member function] + cls.add_method('SetHeightAboveZ', + 'void', + [param('double', 'heightAboveZ')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3WaveformGenerator_methods(root_module, cls): ## waveform-generator.h (module 'spectrum'): ns3::WaveformGenerator::WaveformGenerator(ns3::WaveformGenerator const & arg0) [copy constructor] cls.add_constructor([param('ns3::WaveformGenerator const &', 'arg0')]) @@ -4077,6 +4241,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4302,6 +4471,71 @@ def register_Ns3EventImpl_methods(root_module, cls): is_pure_virtual=True, visibility='protected', is_virtual=True) return +def register_Ns3FixedRssLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel::FixedRssLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FixedRssLossModel::SetRss(double rss) [member function] + cls.add_method('SetRss', + 'void', + [param('double', 'rss')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::FixedRssLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3FriisPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FriisPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel::FriisPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetSystemLoss(double systemLoss) [member function] + cls.add_method('SetSystemLoss', + 'void', + [param('double', 'systemLoss')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetSystemLoss() const [member function] + cls.add_method('GetSystemLoss', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, cls): ## friis-spectrum-propagation-loss.h (module 'spectrum'): ns3::FriisSpectrumPropagationLossModel::FriisSpectrumPropagationLossModel(ns3::FriisSpectrumPropagationLossModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::FriisSpectrumPropagationLossModel const &', 'arg0')]) @@ -4577,6 +4811,34 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::LogDistancePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel::LogDistancePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::LogDistancePropagationLossModel::SetPathLossExponent(double n) [member function] + cls.add_method('SetPathLossExponent', + 'void', + [param('double', 'n')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::LogDistancePropagationLossModel::GetPathLossExponent() const [member function] + cls.add_method('GetPathLossExponent', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): void ns3::LogDistancePropagationLossModel::SetReference(double referenceDistance, double referenceLoss) [member function] + cls.add_method('SetReference', + 'void', + [param('double', 'referenceDistance'), param('double', 'referenceLoss')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::LogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3Mac48AddressChecker_methods(root_module, cls): ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] cls.add_constructor([]) @@ -4617,6 +4879,29 @@ def register_Ns3Mac48AddressValue_methods(root_module, cls): [param('ns3::Mac48Address const &', 'value')]) return +def register_Ns3MatrixPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::MatrixPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel::MatrixPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::MatrixPropagationLossModel::SetLoss(ns3::Ptr a, ns3::Ptr b, double loss, bool symmetric=true) [member function] + cls.add_method('SetLoss', + 'void', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('double', 'loss'), param('bool', 'symmetric', default_value='true')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::MatrixPropagationLossModel::SetDefaultLoss(double arg0) [member function] + cls.add_method('SetDefaultLoss', + 'void', + [param('double', 'arg0')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::MatrixPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3MobilityModel_methods(root_module, cls): ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) @@ -4668,6 +4953,21 @@ def register_Ns3MobilityModel_methods(root_module, cls): is_pure_virtual=True, visibility='private', is_virtual=True) return +def register_Ns3NakagamiPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::NakagamiPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel::NakagamiPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::NakagamiPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3NetDevice_methods(root_module, cls): ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor] cls.add_constructor([]) @@ -4899,10 +5199,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4917,11 +5225,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3NonCommunicatingNetDevice_methods(root_module, cls): @@ -5438,6 +5741,11 @@ def register_Ns3SpectrumChannel_methods(root_module, cls): cls.add_constructor([]) ## spectrum-channel.h (module 'spectrum'): ns3::SpectrumChannel::SpectrumChannel(ns3::SpectrumChannel const & arg0) [copy constructor] cls.add_constructor([param('ns3::SpectrumChannel const &', 'arg0')]) + ## spectrum-channel.h (module 'spectrum'): void ns3::SpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_pure_virtual=True, is_virtual=True) ## spectrum-channel.h (module 'spectrum'): void ns3::SpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', @@ -5845,6 +6153,11 @@ def register_Ns3MultiModelSpectrumChannel_methods(root_module, cls): cls.add_constructor([param('ns3::MultiModelSpectrumChannel const &', 'arg0')]) ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::MultiModelSpectrumChannel::MultiModelSpectrumChannel() [constructor] cls.add_constructor([]) + ## multi-model-spectrum-channel.h (module 'spectrum'): void ns3::MultiModelSpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_virtual=True) ## multi-model-spectrum-channel.h (module 'spectrum'): void ns3::MultiModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', @@ -5902,6 +6215,11 @@ def register_Ns3SingleModelSpectrumChannel_methods(root_module, cls): cls.add_constructor([param('ns3::SingleModelSpectrumChannel const &', 'arg0')]) ## single-model-spectrum-channel.h (module 'spectrum'): ns3::SingleModelSpectrumChannel::SingleModelSpectrumChannel() [constructor] cls.add_constructor([]) + ## single-model-spectrum-channel.h (module 'spectrum'): void ns3::SingleModelSpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_virtual=True) ## single-model-spectrum-channel.h (module 'spectrum'): void ns3::SingleModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', diff --git a/src/spectrum/bindings/modulegen__gcc_LP64.py b/src/spectrum/bindings/modulegen__gcc_LP64.py index 4108303d5..98877d59f 100644 --- a/src/spectrum/bindings/modulegen__gcc_LP64.py +++ b/src/spectrum/bindings/modulegen__gcc_LP64.py @@ -28,8 +28,10 @@ def register_types(module): module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') ## adhoc-aloha-noack-ideal-phy-helper.h (module 'spectrum'): ns3::AdhocAlohaNoackIdealPhyHelper [class] module.add_class('AdhocAlohaNoackIdealPhyHelper') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## spectrum-model.h (module 'spectrum'): ns3::BandInfo [struct] module.add_class('BandInfo') ## buffer.h (module 'network'): ns3::Buffer [class] @@ -118,6 +120,8 @@ def register_types(module): module.add_class('SpectrumType') ## spectrum-type.h (module 'spectrum'): ns3::SpectrumTypeFactory [class] module.add_class('SpectrumTypeFactory') + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs [class] + module.add_class('SystemWallClockMs', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -130,12 +134,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -186,10 +190,16 @@ def register_types(module): module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] module.add_class('PropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] + module.add_class('PropagationLossModel', import_from_module='ns.propagation', 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']) ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel [class] module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] + module.add_class('RandomPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] + module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## 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] @@ -226,6 +236,8 @@ def register_types(module): module.add_class('SpectrumPropagationLossModel', parent=root_module['ns3::Object']) ## spectrum-value.h (module 'spectrum'): ns3::SpectrumValue [class] module.add_class('SpectrumValue', parent=root_module['ns3::SimpleRefCount< ns3::SpectrumValue, ns3::empty, ns3::DefaultDeleter >']) + ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel [class] + module.add_class('ThreeLogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] @@ -236,6 +248,8 @@ def register_types(module): module.add_class('TraceSourceAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) + ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] + module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## waveform-generator.h (module 'spectrum'): ns3::WaveformGenerator [class] module.add_class('WaveformGenerator', parent=root_module['ns3::SpectrumPhy']) ## aloha-noack-mac-header.h (module 'spectrum'): ns3::AlohaNoackMacHeader [class] @@ -264,6 +278,10 @@ def register_types(module): module.add_class('EmptyAttributeValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## event-impl.h (module 'core'): ns3::EventImpl [class] module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) + ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] + module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] + module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## friis-spectrum-propagation-loss.h (module 'spectrum'): ns3::FriisSpectrumPropagationLossModel [class] module.add_class('FriisSpectrumPropagationLossModel', parent=root_module['ns3::SpectrumPropagationLossModel']) ## half-duplex-ideal-phy.h (module 'spectrum'): ns3::HalfDuplexIdealPhy [class] @@ -286,12 +304,18 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] + module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] module.add_class('Mac48AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel [class] + module.add_class('MatrixPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mobility-model.h (module 'mobility'): ns3::MobilityModel [class] module.add_class('MobilityModel', import_from_module='ns.mobility', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel [class] + module.add_class('NakagamiPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## net-device.h (module 'network'): ns3::NetDevice [class] module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object']) ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration] @@ -426,7 +450,8 @@ def register_types_ns3_addressUtils(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, root_module['ns3::AdhocAlohaNoackIdealPhyHelper']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3BandInfo_methods(root_module, root_module['ns3::BandInfo']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) @@ -467,14 +492,15 @@ def register_methods(root_module): register_Ns3SpectrumPhyHelper_methods(root_module, root_module['ns3::SpectrumPhyHelper']) register_Ns3SpectrumType_methods(root_module, root_module['ns3::SpectrumType']) register_Ns3SpectrumTypeFactory_methods(root_module, root_module['ns3::SpectrumTypeFactory']) + register_Ns3SystemWallClockMs_methods(root_module, root_module['ns3::SystemWallClockMs']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TxSpectrumModelInfo_methods(root_module, root_module['ns3::TxSpectrumModelInfo']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3WaveformGeneratorHelper_methods(root_module, root_module['ns3::WaveformGeneratorHelper']) @@ -500,8 +526,11 @@ def register_methods(root_module): register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) + register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3Queue_methods(root_module, root_module['ns3::Queue']) register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) + register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) 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 >']) @@ -520,9 +549,11 @@ def register_methods(root_module): register_Ns3SpectrumPhy_methods(root_module, root_module['ns3::SpectrumPhy']) register_Ns3SpectrumPropagationLossModel_methods(root_module, root_module['ns3::SpectrumPropagationLossModel']) register_Ns3SpectrumValue_methods(root_module, root_module['ns3::SpectrumValue']) + register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) + register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3WaveformGenerator_methods(root_module, root_module['ns3::WaveformGenerator']) register_Ns3AlohaNoackMacHeader_methods(root_module, root_module['ns3::AlohaNoackMacHeader']) register_Ns3AttributeAccessor_methods(root_module, root_module['ns3::AttributeAccessor']) @@ -537,6 +568,8 @@ def register_methods(root_module): register_Ns3DataRateValue_methods(root_module, root_module['ns3::DataRateValue']) register_Ns3EmptyAttributeValue_methods(root_module, root_module['ns3::EmptyAttributeValue']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) + register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) + register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, root_module['ns3::FriisSpectrumPropagationLossModel']) register_Ns3HalfDuplexIdealPhy_methods(root_module, root_module['ns3::HalfDuplexIdealPhy']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) @@ -547,9 +580,12 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) + register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) register_Ns3MobilityModel_methods(root_module, root_module['ns3::MobilityModel']) + register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) @@ -693,41 +729,43 @@ def register_Ns3AdhocAlohaNoackIdealPhyHelper_methods(root_module, cls): [param('ns3::Ptr< ns3::SpectrumValue >', 'txPsd')]) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3BandInfo_methods(root_module, cls): @@ -1849,10 +1887,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1879,6 +1917,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1893,10 +1933,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2231,10 +2267,22 @@ def register_Ns3SpectrumChannelHelper_methods(root_module, cls): cls.add_constructor([]) ## spectrum-helper.h (module 'spectrum'): ns3::SpectrumChannelHelper::SpectrumChannelHelper(ns3::SpectrumChannelHelper const & arg0) [copy constructor] cls.add_constructor([param('ns3::SpectrumChannelHelper const &', 'arg0')]) + ## spectrum-helper.h (module 'spectrum'): void ns3::SpectrumChannelHelper::AddPropagationLoss(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] + cls.add_method('AddPropagationLoss', + 'void', + [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) + ## spectrum-helper.h (module 'spectrum'): void ns3::SpectrumChannelHelper::AddPropagationLoss(ns3::Ptr m) [member function] + cls.add_method('AddPropagationLoss', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'm')]) ## spectrum-helper.h (module 'spectrum'): void ns3::SpectrumChannelHelper::AddSpectrumPropagationLoss(std::string name, std::string n0="", ns3::AttributeValue const & v0=ns3::EmptyAttributeValue(), std::string n1="", ns3::AttributeValue const & v1=ns3::EmptyAttributeValue(), std::string n2="", ns3::AttributeValue const & v2=ns3::EmptyAttributeValue(), std::string n3="", ns3::AttributeValue const & v3=ns3::EmptyAttributeValue(), std::string n4="", ns3::AttributeValue const & v4=ns3::EmptyAttributeValue(), std::string n5="", ns3::AttributeValue const & v5=ns3::EmptyAttributeValue(), std::string n6="", ns3::AttributeValue const & v6=ns3::EmptyAttributeValue(), std::string n7="", ns3::AttributeValue const & v7=ns3::EmptyAttributeValue()) [member function] cls.add_method('AddSpectrumPropagationLoss', 'void', [param('std::string', 'name'), param('std::string', 'n0', default_value='""'), param('ns3::AttributeValue const &', 'v0', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n1', default_value='""'), param('ns3::AttributeValue const &', 'v1', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n2', default_value='""'), param('ns3::AttributeValue const &', 'v2', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n3', default_value='""'), param('ns3::AttributeValue const &', 'v3', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n4', default_value='""'), param('ns3::AttributeValue const &', 'v4', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n5', default_value='""'), param('ns3::AttributeValue const &', 'v5', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n6', default_value='""'), param('ns3::AttributeValue const &', 'v6', default_value='ns3::EmptyAttributeValue()'), param('std::string', 'n7', default_value='""'), param('ns3::AttributeValue const &', 'v7', default_value='ns3::EmptyAttributeValue()')]) + ## spectrum-helper.h (module 'spectrum'): void ns3::SpectrumChannelHelper::AddSpectrumPropagationLoss(ns3::Ptr m) [member function] + cls.add_method('AddSpectrumPropagationLoss', + 'void', + [param('ns3::Ptr< ns3::SpectrumPropagationLossModel >', 'm')]) ## spectrum-helper.h (module 'spectrum'): ns3::Ptr ns3::SpectrumChannelHelper::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::SpectrumChannel >', @@ -2318,6 +2366,36 @@ def register_Ns3SpectrumTypeFactory_methods(root_module, cls): is_static=True) return +def register_Ns3SystemWallClockMs_methods(root_module, cls): + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs(ns3::SystemWallClockMs const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SystemWallClockMs const &', 'arg0')]) + ## system-wall-clock-ms.h (module 'core'): ns3::SystemWallClockMs::SystemWallClockMs() [constructor] + cls.add_constructor([]) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::End() [member function] + cls.add_method('End', + 'int64_t', + []) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedReal() const [member function] + cls.add_method('GetElapsedReal', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedSystem() const [member function] + cls.add_method('GetElapsedSystem', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): int64_t ns3::SystemWallClockMs::GetElapsedUser() const [member function] + cls.add_method('GetElapsedUser', + 'int64_t', + [], + is_const=True) + ## system-wall-clock-ms.h (module 'core'): void ns3::SystemWallClockMs::Start() [member function] + cls.add_method('Start', + 'void', + []) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -2456,19 +2534,9 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2476,26 +2544,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2526,14 +2579,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2541,11 +2589,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2570,15 +2613,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', @@ -2595,6 +2633,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2609,19 +2651,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -2646,22 +2707,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -3183,6 +3228,30 @@ def register_Ns3PropagationDelayModel_methods(root_module, cls): is_static=True) return +def register_Ns3PropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::PropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel::PropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::PropagationLossModel::SetNext(ns3::Ptr next) [member function] + cls.add_method('SetNext', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('CalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + 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')]) @@ -3288,6 +3357,36 @@ def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): is_static=True) return +def register_Ns3RandomPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RandomPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel::RandomPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::RandomPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3RangePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RangePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel::RangePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::RangePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', 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([]) @@ -3666,6 +3765,21 @@ def register_Ns3SpectrumValue_methods(root_module, cls): []) return +def register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel::ThreeLogDistancePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::ThreeLogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -3882,6 +3996,56 @@ def register_Ns3Trailer_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel::TwoRayGroundPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetSystemLoss(double systemLoss) [member function] + cls.add_method('SetSystemLoss', + 'void', + [param('double', 'systemLoss')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetSystemLoss() const [member function] + cls.add_method('GetSystemLoss', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetHeightAboveZ(double heightAboveZ) [member function] + cls.add_method('SetHeightAboveZ', + 'void', + [param('double', 'heightAboveZ')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3WaveformGenerator_methods(root_module, cls): ## waveform-generator.h (module 'spectrum'): ns3::WaveformGenerator::WaveformGenerator(ns3::WaveformGenerator const & arg0) [copy constructor] cls.add_constructor([param('ns3::WaveformGenerator const &', 'arg0')]) @@ -4077,6 +4241,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -4302,6 +4471,71 @@ def register_Ns3EventImpl_methods(root_module, cls): is_pure_virtual=True, visibility='protected', is_virtual=True) return +def register_Ns3FixedRssLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel::FixedRssLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FixedRssLossModel::SetRss(double rss) [member function] + cls.add_method('SetRss', + 'void', + [param('double', 'rss')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::FixedRssLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3FriisPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FriisPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel::FriisPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetSystemLoss(double systemLoss) [member function] + cls.add_method('SetSystemLoss', + 'void', + [param('double', 'systemLoss')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetSystemLoss() const [member function] + cls.add_method('GetSystemLoss', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3FriisSpectrumPropagationLossModel_methods(root_module, cls): ## friis-spectrum-propagation-loss.h (module 'spectrum'): ns3::FriisSpectrumPropagationLossModel::FriisSpectrumPropagationLossModel(ns3::FriisSpectrumPropagationLossModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::FriisSpectrumPropagationLossModel const &', 'arg0')]) @@ -4577,6 +4811,34 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::LogDistancePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel::LogDistancePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::LogDistancePropagationLossModel::SetPathLossExponent(double n) [member function] + cls.add_method('SetPathLossExponent', + 'void', + [param('double', 'n')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::LogDistancePropagationLossModel::GetPathLossExponent() const [member function] + cls.add_method('GetPathLossExponent', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): void ns3::LogDistancePropagationLossModel::SetReference(double referenceDistance, double referenceLoss) [member function] + cls.add_method('SetReference', + 'void', + [param('double', 'referenceDistance'), param('double', 'referenceLoss')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::LogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3Mac48AddressChecker_methods(root_module, cls): ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] cls.add_constructor([]) @@ -4617,6 +4879,29 @@ def register_Ns3Mac48AddressValue_methods(root_module, cls): [param('ns3::Mac48Address const &', 'value')]) return +def register_Ns3MatrixPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::MatrixPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel::MatrixPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::MatrixPropagationLossModel::SetLoss(ns3::Ptr a, ns3::Ptr b, double loss, bool symmetric=true) [member function] + cls.add_method('SetLoss', + 'void', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('double', 'loss'), param('bool', 'symmetric', default_value='true')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::MatrixPropagationLossModel::SetDefaultLoss(double arg0) [member function] + cls.add_method('SetDefaultLoss', + 'void', + [param('double', 'arg0')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::MatrixPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3MobilityModel_methods(root_module, cls): ## mobility-model.h (module 'mobility'): ns3::MobilityModel::MobilityModel(ns3::MobilityModel const & arg0) [copy constructor] cls.add_constructor([param('ns3::MobilityModel const &', 'arg0')]) @@ -4668,6 +4953,21 @@ def register_Ns3MobilityModel_methods(root_module, cls): is_pure_virtual=True, visibility='private', is_virtual=True) return +def register_Ns3NakagamiPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::NakagamiPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel::NakagamiPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::NakagamiPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3NetDevice_methods(root_module, cls): ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor] cls.add_constructor([]) @@ -4899,10 +5199,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4917,11 +5225,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3NonCommunicatingNetDevice_methods(root_module, cls): @@ -5438,6 +5741,11 @@ def register_Ns3SpectrumChannel_methods(root_module, cls): cls.add_constructor([]) ## spectrum-channel.h (module 'spectrum'): ns3::SpectrumChannel::SpectrumChannel(ns3::SpectrumChannel const & arg0) [copy constructor] cls.add_constructor([param('ns3::SpectrumChannel const &', 'arg0')]) + ## spectrum-channel.h (module 'spectrum'): void ns3::SpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_pure_virtual=True, is_virtual=True) ## spectrum-channel.h (module 'spectrum'): void ns3::SpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', @@ -5845,6 +6153,11 @@ def register_Ns3MultiModelSpectrumChannel_methods(root_module, cls): cls.add_constructor([param('ns3::MultiModelSpectrumChannel const &', 'arg0')]) ## multi-model-spectrum-channel.h (module 'spectrum'): ns3::MultiModelSpectrumChannel::MultiModelSpectrumChannel() [constructor] cls.add_constructor([]) + ## multi-model-spectrum-channel.h (module 'spectrum'): void ns3::MultiModelSpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_virtual=True) ## multi-model-spectrum-channel.h (module 'spectrum'): void ns3::MultiModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', @@ -5902,6 +6215,11 @@ def register_Ns3SingleModelSpectrumChannel_methods(root_module, cls): cls.add_constructor([param('ns3::SingleModelSpectrumChannel const &', 'arg0')]) ## single-model-spectrum-channel.h (module 'spectrum'): ns3::SingleModelSpectrumChannel::SingleModelSpectrumChannel() [constructor] cls.add_constructor([]) + ## single-model-spectrum-channel.h (module 'spectrum'): void ns3::SingleModelSpectrumChannel::AddPropagationLossModel(ns3::Ptr loss) [member function] + cls.add_method('AddPropagationLossModel', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'loss')], + is_virtual=True) ## single-model-spectrum-channel.h (module 'spectrum'): void ns3::SingleModelSpectrumChannel::AddRx(ns3::Ptr phy) [member function] cls.add_method('AddRx', 'void', diff --git a/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc b/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc index 44f143db3..be123bd3f 100644 --- a/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc +++ b/src/spectrum/examples/adhoc-aloha-ideal-phy-matrix-propagation-loss-model.cc @@ -40,6 +40,10 @@ #include #include +#ifdef __FreeBSD__ +#define log2(x) (log (x)/M_LN2) +#endif + NS_LOG_COMPONENT_DEFINE ("TestAdhocOfdmAloha"); using namespace ns3; @@ -58,18 +62,82 @@ PhyRxEndOkTrace (std::string context, Ptr p) } + +/** + * Store the last pathloss value for each TX-RX pair. This is an + * example of how the PathlossTrace (provided by some SpectrumChannel + * implementations) work. + * + */ +class GlobalPathlossDatabase +{ +public: + + /** + * update the pathloss value + * + * \param context + * \param txPhy the transmitting PHY + * \param rxPhy the receiving PHY + * \param lossDb the loss in dB + */ + void UpdatePathloss (std::string context, Ptr txPhy, Ptr rxPhy, double lossDb); + + /** + * print the stored pathloss values to standard output + * + */ + void Print (); + +private: + std::map > m_pathlossMap; +}; + +void +GlobalPathlossDatabase::UpdatePathloss (std::string context, + Ptr txPhy, + Ptr rxPhy, + double lossDb) +{ + uint32_t txNodeId = txPhy->GetMobility ()->GetObject ()->GetId (); + uint32_t rxNodeId = rxPhy->GetMobility ()->GetObject ()->GetId (); + m_pathlossMap[txNodeId][rxNodeId] = lossDb; +} + +void +GlobalPathlossDatabase::Print () +{ + for (std::map >::const_iterator txit = m_pathlossMap.begin (); + txit != m_pathlossMap.end (); + ++txit) + { + for (std::map::const_iterator rxit = txit->second.begin (); + rxit != txit->second.end (); + ++rxit) + { + std::cout << txit->first << " --> " << rxit->first << " : " << rxit->second << " dB" << std::endl; + } + } +} + + + int main (int argc, char** argv) { CommandLine cmd; - double lossDb; + double lossDb = 150; double txPowerW = 0.1; uint64_t phyRate = 500000; uint32_t pktSize = 1000; + double simDuration = 0.5; + std::string channelType ("ns3::SingleModelSpectrumChannel"); cmd.AddValue ("verbose", "Print trace information if true", g_verbose); cmd.AddValue ("lossDb", "link loss in dB", lossDb); cmd.AddValue ("txPowerW", "txPower in Watts", txPowerW); cmd.AddValue ("phyRate", "PHY rate in bps", phyRate); cmd.AddValue ("pktSize", "packet size in bytes", pktSize); + cmd.AddValue ("simDuration", "duration of the simulation in seconds", simDuration); + cmd.AddValue ("channelType", "which SpectrumChannel implementation to be used", channelType); cmd.Parse (argc, argv); NodeContainer c; @@ -87,7 +155,7 @@ int main (int argc, char** argv) SpectrumChannelHelper channelHelper; - channelHelper.SetChannel ("ns3::MultiModelSpectrumChannel"); + channelHelper.SetChannel (channelType); channelHelper.SetPropagationDelay ("ns3::ConstantSpeedPropagationDelayModel"); Ptr propLoss = CreateObject (); propLoss->SetLoss (c.Get (0)->GetObject (), c.Get (1)->GetObject (), lossDb, true); @@ -130,20 +198,32 @@ int main (int argc, char** argv) ApplicationContainer apps = onoff.Install (c.Get (0)); apps.Start (Seconds (0.0)); - apps.Stop (Seconds (10.0)); + apps.Stop (Seconds (simDuration)); Config::Connect ("/NodeList/*/DeviceList/*/Phy/RxEndOk", MakeCallback (&PhyRxEndOkTrace)); + GlobalPathlossDatabase globalPathlossDatabase; + Config::Connect ("/ChannelList/*/PropagationLoss", + MakeCallback (&GlobalPathlossDatabase::UpdatePathloss, &globalPathlossDatabase)); + g_rxBytes = 0; - Simulator::Stop (Seconds (10.0001)); + Simulator::Stop (Seconds (simDuration + 0.000001)); Simulator::Run (); - double throughputBps = (g_rxBytes * 8.0) / 10.0; + + if (g_verbose) + { + globalPathlossDatabase.Print (); + + double throughputBps = (g_rxBytes * 8.0) / simDuration; + std::cout << "throughput: " << throughputBps << std::endl; + std::cout << "throughput: " << std::setw (20) << std::fixed << throughputBps << " bps" << std::endl; + std::cout << "phy rate : " << std::setw (20) << std::fixed << phyRate*1.0 << " bps" << std::endl; + double rxPowerW = txPowerW / (pow (10.0, lossDb/10.0)); + double capacity = 20e6*log2 (1.0 + (rxPowerW/20.0e6)/noisePsdValue); + std::cout << "shannon capacity: " << std::setw (20) << std::fixed << capacity << " bps" << std::endl; + + } - std::cerr << "throughput: " << std::setw (20) << std::fixed << throughputBps << " bps" << std::endl; - std::cerr << "phy rate : " << std::setw (20) << std::fixed << phyRate*1.0 << " bps" << std::endl; - double rxPowerW = txPowerW / (pow (10.0, lossDb/10.0)); - double capacity = 20e6*log2 (1.0 + (rxPowerW/20.0e6)/noisePsdValue); - std::cerr << "shannon capacity: " << std::setw (20) << std::fixed << capacity << " bps" << std::endl; Simulator::Destroy (); diff --git a/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc b/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc index 0ab9755c9..65a3e8260 100644 --- a/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc +++ b/src/spectrum/examples/adhoc-aloha-ideal-phy-with-microwave-oven.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/examples/adhoc-aloha-ideal-phy.cc b/src/spectrum/examples/adhoc-aloha-ideal-phy.cc index 98627f07f..c0b3f1f59 100644 --- a/src/spectrum/examples/adhoc-aloha-ideal-phy.cc +++ b/src/spectrum/examples/adhoc-aloha-ideal-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc b/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc index 2c2602b43..8ceeb2966 100644 --- a/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc +++ b/src/spectrum/helper/adhoc-aloha-noack-ideal-phy-helper.cc @@ -113,7 +113,7 @@ AdhocAlohaNoackIdealPhyHelper::Install (NodeContainer c) const dev->SetPhy (phy); NS_ASSERT (node); - phy->SetMobility (node); + phy->SetMobility (node->GetObject ()); NS_ASSERT (dev); phy->SetDevice (dev); diff --git a/src/spectrum/helper/spectrum-analyzer-helper.cc b/src/spectrum/helper/spectrum-analyzer-helper.cc index fc1f9db34..221bbd8b2 100644 --- a/src/spectrum/helper/spectrum-analyzer-helper.cc +++ b/src/spectrum/helper/spectrum-analyzer-helper.cc @@ -142,7 +142,7 @@ SpectrumAnalyzerHelper::Install (NodeContainer c) const dev->SetPhy (phy); NS_ASSERT (node); - phy->SetMobility (node); + phy->SetMobility (node->GetObject ()); NS_ASSERT (dev); phy->SetDevice (dev); diff --git a/src/spectrum/helper/spectrum-helper.cc b/src/spectrum/helper/spectrum-helper.cc index 53f9fff67..0aaf25120 100644 --- a/src/spectrum/helper/spectrum-helper.cc +++ b/src/spectrum/helper/spectrum-helper.cc @@ -215,7 +215,7 @@ SpectrumPhyHelper::Create (Ptr node, Ptr device) const NS_ASSERT (m_channel); Ptr phy = (m_phy.Create ())->GetObject (); phy->SetChannel (m_channel); - phy->SetMobility (node); + phy->SetMobility (node->GetObject ()); phy->SetDevice (device); return phy; } diff --git a/src/spectrum/helper/waveform-generator-helper.cc b/src/spectrum/helper/waveform-generator-helper.cc index 278e2fdfa..f08e39357 100644 --- a/src/spectrum/helper/waveform-generator-helper.cc +++ b/src/spectrum/helper/waveform-generator-helper.cc @@ -98,7 +98,7 @@ WaveformGeneratorHelper::Install (NodeContainer c) const dev->SetPhy (phy); NS_ASSERT (node); - phy->SetMobility (node); + phy->SetMobility (node->GetObject ()); NS_ASSERT (dev); phy->SetDevice (dev); diff --git a/src/spectrum/model/aloha-noack-mac-header.cc b/src/spectrum/model/aloha-noack-mac-header.cc index 80cf5fb47..0fa11df62 100644 --- a/src/spectrum/model/aloha-noack-mac-header.cc +++ b/src/spectrum/model/aloha-noack-mac-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/aloha-noack-mac-header.h b/src/spectrum/model/aloha-noack-mac-header.h index 1946a89e6..493808a44 100644 --- a/src/spectrum/model/aloha-noack-mac-header.h +++ b/src/spectrum/model/aloha-noack-mac-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 CTTC * diff --git a/src/spectrum/model/aloha-noack-net-device.h b/src/spectrum/model/aloha-noack-net-device.h index 3be964af8..2a2465d69 100644 --- a/src/spectrum/model/aloha-noack-net-device.h +++ b/src/spectrum/model/aloha-noack-net-device.h @@ -227,4 +227,4 @@ private: } // namespace ns3 -#endif // ALOHA_NOACK_NET_DEVICE_H +#endif /* ALOHA_NOACK_NET_DEVICE_H */ diff --git a/src/spectrum/model/friis-spectrum-propagation-loss.cc b/src/spectrum/model/friis-spectrum-propagation-loss.cc index 9c4cc5896..ee04e9447 100644 --- a/src/spectrum/model/friis-spectrum-propagation-loss.cc +++ b/src/spectrum/model/friis-spectrum-propagation-loss.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/friis-spectrum-propagation-loss.h b/src/spectrum/model/friis-spectrum-propagation-loss.h index dee5d94ed..a3979d19f 100644 --- a/src/spectrum/model/friis-spectrum-propagation-loss.h +++ b/src/spectrum/model/friis-spectrum-propagation-loss.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/half-duplex-ideal-phy.cc b/src/spectrum/model/half-duplex-ideal-phy.cc index 2ae2c427a..38b1aaaa8 100644 --- a/src/spectrum/model/half-duplex-ideal-phy.cc +++ b/src/spectrum/model/half-duplex-ideal-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -126,7 +126,7 @@ HalfDuplexIdealPhy::GetTypeId (void) -Ptr +Ptr HalfDuplexIdealPhy::GetDevice () { NS_LOG_FUNCTION (this); @@ -134,7 +134,7 @@ HalfDuplexIdealPhy::GetDevice () } -Ptr +Ptr HalfDuplexIdealPhy::GetMobility () { NS_LOG_FUNCTION (this); @@ -143,7 +143,7 @@ HalfDuplexIdealPhy::GetMobility () void -HalfDuplexIdealPhy::SetDevice (Ptr d) +HalfDuplexIdealPhy::SetDevice (Ptr d) { NS_LOG_FUNCTION (this << d); m_netDevice = d; @@ -151,7 +151,7 @@ HalfDuplexIdealPhy::SetDevice (Ptr d) void -HalfDuplexIdealPhy::SetMobility (Ptr m) +HalfDuplexIdealPhy::SetMobility (Ptr m) { NS_LOG_FUNCTION (this << m); m_mobility = m; diff --git a/src/spectrum/model/half-duplex-ideal-phy.h b/src/spectrum/model/half-duplex-ideal-phy.h index ad2d9291a..3f54e9772 100644 --- a/src/spectrum/model/half-duplex-ideal-phy.h +++ b/src/spectrum/model/half-duplex-ideal-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -94,10 +94,10 @@ public: // inherited from SpectrumPhy void SetChannel (Ptr c); - void SetMobility (Ptr m); - void SetDevice (Ptr d); - Ptr GetMobility (); - Ptr GetDevice (); + void SetMobility (Ptr m); + void SetDevice (Ptr d); + Ptr GetMobility (); + Ptr GetDevice (); Ptr GetRxSpectrumModel () const; void StartRx (Ptr p, Ptr rxPsd, SpectrumType st, Time duration); @@ -195,8 +195,8 @@ private: EventId m_endRxEventId; - Ptr m_mobility; - Ptr m_netDevice; + Ptr m_mobility; + Ptr m_netDevice; Ptr m_channel; Ptr m_txPsd; diff --git a/src/spectrum/model/microwave-oven-spectrum-value-helper.cc b/src/spectrum/model/microwave-oven-spectrum-value-helper.cc index 8e3e00ab5..10f24faab 100644 --- a/src/spectrum/model/microwave-oven-spectrum-value-helper.cc +++ b/src/spectrum/model/microwave-oven-spectrum-value-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -162,4 +162,4 @@ MicrowaveOvenSpectrumValueHelper::CreatePowerSpectralDensityMwo2 () -} //namespace ns3 +} // namespace ns3 diff --git a/src/spectrum/model/microwave-oven-spectrum-value-helper.h b/src/spectrum/model/microwave-oven-spectrum-value-helper.h index f1beaf7cf..d925734f7 100644 --- a/src/spectrum/model/microwave-oven-spectrum-value-helper.h +++ b/src/spectrum/model/microwave-oven-spectrum-value-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -61,7 +61,7 @@ public: -} //namespace ns3 +} // namespace ns3 diff --git a/src/spectrum/model/multi-model-spectrum-channel.cc b/src/spectrum/model/multi-model-spectrum-channel.cc index 5bddf80b5..95c220199 100644 --- a/src/spectrum/model/multi-model-spectrum-channel.cc +++ b/src/spectrum/model/multi-model-spectrum-channel.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -111,6 +111,15 @@ MultiModelSpectrumChannel::GetTypeId (void) DoubleValue (1.0e9), MakeDoubleAccessor (&MultiModelSpectrumChannel::m_maxLossDb), MakeDoubleChecker ()) + .AddTraceSource ("PropagationLoss", + "If a PropagationLossModel is plugged on the channel, this trace is fired " + "whenever a new path loss value is calculated. The first and second parameters " + "to the trace are pointers respectively to the TX and RX SpectrumPhy instances, " + "whereas the third parameters is the loss value in dB. Note that the loss value " + "reported by this trace is the single-frequency loss value obtained by " + "PropagationLossModel, and is not affected by whether an additional " + "SpectrumPropagationLossModel is being used or not.", + MakeTraceSourceAccessor (&MultiModelSpectrumChannel::m_propagationLossTrace)) ; return tid; } @@ -222,7 +231,7 @@ MultiModelSpectrumChannel::StartTx (Ptr p, Ptr orig NS_ASSERT (originalTxPowerSpectrum); - Ptr txMobility = txPhy->GetMobility ()->GetObject (); + Ptr txMobility = txPhy->GetMobility (); SpectrumModelUid_t txSpectrumModelUid = originalTxPowerSpectrum->GetSpectrumModelUid (); NS_LOG_LOGIC (" txSpectrumModelUid " << txSpectrumModelUid); @@ -268,13 +277,14 @@ MultiModelSpectrumChannel::StartTx (Ptr p, Ptr orig Ptr rxPowerSpectrum = convertedTxPowerSpectrum->Copy (); Time delay = MicroSeconds (0); - Ptr receiverMobility = (*rxPhyIterator)->GetMobility ()->GetObject (); + Ptr receiverMobility = (*rxPhyIterator)->GetMobility (); if (txMobility && receiverMobility) { if (m_propagationLoss) { double gainDb = m_propagationLoss->CalcRxPower (0, txMobility, receiverMobility); + m_propagationLossTrace (txPhy, *rxPhyIterator, -gainDb); if ( (-gainDb) > m_maxLossDb) { // beyond range @@ -296,11 +306,11 @@ MultiModelSpectrumChannel::StartTx (Ptr p, Ptr orig } Ptr pktBurstCopy = p->Copy (); - Ptr netDevObj = (*rxPhyIterator)->GetDevice (); - if (netDevObj) + Ptr netDev = (*rxPhyIterator)->GetDevice (); + if (netDev) { // the receiver has a NetDevice, so we expect that it is attached to a Node - uint32_t dstNode = netDevObj->GetObject ()->GetNode ()->GetId (); + uint32_t dstNode = netDev->GetNode ()->GetId (); Simulator::ScheduleWithContext (dstNode, delay, &MultiModelSpectrumChannel::StartRx, this, pktBurstCopy, rxPowerSpectrum, st, duration, *rxPhyIterator); } @@ -337,7 +347,7 @@ MultiModelSpectrumChannel::GetNDevices (void) const Ptr MultiModelSpectrumChannel::GetDevice (uint32_t i) const { - return m_phyVector.at (i)->GetDevice ()->GetObject (); + return m_phyVector.at (i)->GetDevice (); } diff --git a/src/spectrum/model/multi-model-spectrum-channel.h b/src/spectrum/model/multi-model-spectrum-channel.h index 2720353d2..5ab4479e3 100644 --- a/src/spectrum/model/multi-model-spectrum-channel.h +++ b/src/spectrum/model/multi-model-spectrum-channel.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -188,6 +188,8 @@ private: double m_maxLossDb; + + TracedCallback, Ptr, double > m_propagationLossTrace; }; diff --git a/src/spectrum/model/non-communicating-net-device.h b/src/spectrum/model/non-communicating-net-device.h index 809f43bfb..00d7d3227 100644 --- a/src/spectrum/model/non-communicating-net-device.h +++ b/src/spectrum/model/non-communicating-net-device.h @@ -134,4 +134,4 @@ private: } // namespace ns3 -#endif // NON_COMMUNICATING_NET_DEVICE_H +#endif /* NON_COMMUNICATING_NET_DEVICE_H */ diff --git a/src/spectrum/model/single-model-spectrum-channel.cc b/src/spectrum/model/single-model-spectrum-channel.cc index 9426296e8..d20daa0e3 100644 --- a/src/spectrum/model/single-model-spectrum-channel.cc +++ b/src/spectrum/model/single-model-spectrum-channel.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -80,6 +80,15 @@ SingleModelSpectrumChannel::GetTypeId (void) DoubleValue (1.0e9), MakeDoubleAccessor (&SingleModelSpectrumChannel::m_maxLossDb), MakeDoubleChecker ()) + .AddTraceSource ("PropagationLoss", + "If a PropagationLossModel is plugged on the channel, this trace is fired " + "whenever a new path loss value is calculated. The first and second parameters " + "to the trace are pointers respectively to the TX and RX SpectrumPhy instances, " + "whereas the third parameters is the loss value in dB. Note that the loss value " + "reported by this trace is the single-frequency loss value obtained by " + "PropagationLossModel, and is not affected by whether an additional " + "SpectrumPropagationLossModel is being used or not.", + MakeTraceSourceAccessor (&SingleModelSpectrumChannel::m_propagationLossTrace)) ; return tid; } @@ -116,7 +125,7 @@ SingleModelSpectrumChannel::StartTx (Ptr p, Ptr txP - Ptr senderMobility = txPhy->GetMobility ()->GetObject (); + Ptr senderMobility = txPhy->GetMobility (); for (PhyList::const_iterator rxPhyIterator = m_phyList.begin (); rxPhyIterator != m_phyList.end (); @@ -127,13 +136,14 @@ SingleModelSpectrumChannel::StartTx (Ptr p, Ptr txP Ptr rxPsd = Copy (txPsd); Time delay = MicroSeconds (0); - Ptr receiverMobility = (*rxPhyIterator)->GetMobility ()->GetObject (); + Ptr receiverMobility = (*rxPhyIterator)->GetMobility (); if (senderMobility && receiverMobility) { if (m_propagationLoss) { double gainDb = m_propagationLoss->CalcRxPower (0, senderMobility, receiverMobility); + m_propagationLossTrace (txPhy, *rxPhyIterator, -gainDb); if ( (-gainDb) > m_maxLossDb) { // beyond range @@ -155,11 +165,11 @@ SingleModelSpectrumChannel::StartTx (Ptr p, Ptr txP } Ptr pktBurstCopy = p->Copy (); - Ptr netDevObj = (*rxPhyIterator)->GetDevice (); - if (netDevObj) + Ptr netDev = (*rxPhyIterator)->GetDevice (); + if (netDev) { // the receiver has a NetDevice, so we expect that it is attached to a Node - uint32_t dstNode = netDevObj->GetObject ()->GetNode ()->GetId (); + uint32_t dstNode = netDev->GetNode ()->GetId (); Simulator::ScheduleWithContext (dstNode, delay, &SingleModelSpectrumChannel::StartRx, this, pktBurstCopy, rxPsd, st, duration, *rxPhyIterator); } diff --git a/src/spectrum/model/single-model-spectrum-channel.h b/src/spectrum/model/single-model-spectrum-channel.h index a3fb15010..0ab48c335 100644 --- a/src/spectrum/model/single-model-spectrum-channel.h +++ b/src/spectrum/model/single-model-spectrum-channel.h @@ -1,4 +1,4 @@ -//* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -23,6 +23,8 @@ #include +#include +#include namespace ns3 { @@ -113,6 +115,8 @@ private: double m_maxLossDb; + + TracedCallback, Ptr, double > m_propagationLossTrace; }; diff --git a/src/spectrum/model/spectrum-analyzer.cc b/src/spectrum/model/spectrum-analyzer.cc index e51cbe6b3..9962efc47 100644 --- a/src/spectrum/model/spectrum-analyzer.cc +++ b/src/spectrum/model/spectrum-analyzer.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -89,14 +89,14 @@ SpectrumAnalyzer::GetTypeId (void) -Ptr +Ptr SpectrumAnalyzer::GetDevice () { return m_netDevice; } -Ptr +Ptr SpectrumAnalyzer::GetMobility () { return m_mobility; @@ -110,7 +110,7 @@ SpectrumAnalyzer::GetRxSpectrumModel () const } void -SpectrumAnalyzer::SetDevice (Ptr d) +SpectrumAnalyzer::SetDevice (Ptr d) { NS_LOG_FUNCTION (this << d); m_netDevice = d; @@ -118,7 +118,7 @@ SpectrumAnalyzer::SetDevice (Ptr d) void -SpectrumAnalyzer::SetMobility (Ptr m) +SpectrumAnalyzer::SetMobility (Ptr m) { NS_LOG_FUNCTION (this << m); m_mobility = m; diff --git a/src/spectrum/model/spectrum-analyzer.h b/src/spectrum/model/spectrum-analyzer.h index d31a6d436..decfdfa99 100644 --- a/src/spectrum/model/spectrum-analyzer.h +++ b/src/spectrum/model/spectrum-analyzer.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -53,10 +53,10 @@ public: // inherited from SpectrumPhy void SetChannel (Ptr c); - void SetMobility (Ptr m); - void SetDevice (Ptr d); - Ptr GetMobility (); - Ptr GetDevice (); + void SetMobility (Ptr m); + void SetDevice (Ptr d); + Ptr GetMobility (); + Ptr GetDevice (); Ptr GetRxSpectrumModel () const; void StartRx (Ptr pb, Ptr rxPowerSpectralDensity, SpectrumType st, Time duration); @@ -86,8 +86,8 @@ protected: void DoDispose (); private: - Ptr m_mobility; - Ptr m_netDevice; + Ptr m_mobility; + Ptr m_netDevice; Ptr m_channel; virtual void GenerateReport (); diff --git a/src/spectrum/model/spectrum-channel.cc b/src/spectrum/model/spectrum-channel.cc index 6928b6292..c82c65638 100644 --- a/src/spectrum/model/spectrum-channel.cc +++ b/src/spectrum/model/spectrum-channel.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-channel.h b/src/spectrum/model/spectrum-channel.h index 91850130a..45f08d7c8 100644 --- a/src/spectrum/model/spectrum-channel.h +++ b/src/spectrum/model/spectrum-channel.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-converter.cc b/src/spectrum/model/spectrum-converter.cc index 0a48e5e30..9c9e390c3 100644 --- a/src/spectrum/model/spectrum-converter.cc +++ b/src/spectrum/model/spectrum-converter.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-converter.h b/src/spectrum/model/spectrum-converter.h index 75be37970..fbc6e5b1f 100644 --- a/src/spectrum/model/spectrum-converter.h +++ b/src/spectrum/model/spectrum-converter.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-error-model.cc b/src/spectrum/model/spectrum-error-model.cc index b6d90b7d5..81144acf5 100644 --- a/src/spectrum/model/spectrum-error-model.cc +++ b/src/spectrum/model/spectrum-error-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-error-model.h b/src/spectrum/model/spectrum-error-model.h index 3d9ebb6c5..50b239ce8 100644 --- a/src/spectrum/model/spectrum-error-model.h +++ b/src/spectrum/model/spectrum-error-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-interference.cc b/src/spectrum/model/spectrum-interference.cc index 0f5216d07..1eb67a896 100644 --- a/src/spectrum/model/spectrum-interference.cc +++ b/src/spectrum/model/spectrum-interference.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-interference.h b/src/spectrum/model/spectrum-interference.h index 36c07f526..b2dd177e3 100644 --- a/src/spectrum/model/spectrum-interference.h +++ b/src/spectrum/model/spectrum-interference.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model-300kHz-300GHz-log.cc b/src/spectrum/model/spectrum-model-300kHz-300GHz-log.cc index 8ee2020f5..a9806323f 100644 --- a/src/spectrum/model/spectrum-model-300kHz-300GHz-log.cc +++ b/src/spectrum/model/spectrum-model-300kHz-300GHz-log.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model-300kHz-300GHz-log.h b/src/spectrum/model/spectrum-model-300kHz-300GHz-log.h index 91e21f696..ccb4acc6f 100644 --- a/src/spectrum/model/spectrum-model-300kHz-300GHz-log.h +++ b/src/spectrum/model/spectrum-model-300kHz-300GHz-log.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.cc b/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.cc index 8c4cbae0d..6dfa9bb51 100644 --- a/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.cc +++ b/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.h b/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.h index ad4581d49..36b5ff36a 100644 --- a/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.h +++ b/src/spectrum/model/spectrum-model-ism2400MHz-res1MHz.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-model.cc b/src/spectrum/model/spectrum-model.cc index 268cf3ec7..2c5cf3aa7 100644 --- a/src/spectrum/model/spectrum-model.cc +++ b/src/spectrum/model/spectrum-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC diff --git a/src/spectrum/model/spectrum-model.h b/src/spectrum/model/spectrum-model.h index 56188599f..da7a54f12 100644 --- a/src/spectrum/model/spectrum-model.h +++ b/src/spectrum/model/spectrum-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-phy.cc b/src/spectrum/model/spectrum-phy.cc index 644e4b2f8..04cc6e749 100644 --- a/src/spectrum/model/spectrum-phy.cc +++ b/src/spectrum/model/spectrum-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-phy.h b/src/spectrum/model/spectrum-phy.h index c39010bf0..99563432e 100644 --- a/src/spectrum/model/spectrum-phy.h +++ b/src/spectrum/model/spectrum-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -54,28 +54,28 @@ public: * * @param d the NetDevice instance */ - virtual void SetDevice (Ptr d) = 0; + virtual void SetDevice (Ptr d) = 0; /** * get the associated NetDevice instance * * @return a Ptr to the associated NetDevice instance */ - virtual Ptr GetDevice () = 0; + virtual Ptr GetDevice () = 0; /** * Set the mobility model associated with this device. * * @param m the mobility model */ - virtual void SetMobility (Ptr m) = 0; + virtual void SetMobility (Ptr m) = 0; /** * get the associated MobilityModel instance * * @return a Ptr to the associated NetDevice instance */ - virtual Ptr GetMobility () = 0; + virtual Ptr GetMobility () = 0; /** diff --git a/src/spectrum/model/spectrum-propagation-loss-model.cc b/src/spectrum/model/spectrum-propagation-loss-model.cc index 9dba1f6ed..3bbb371de 100644 --- a/src/spectrum/model/spectrum-propagation-loss-model.cc +++ b/src/spectrum/model/spectrum-propagation-loss-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/model/spectrum-propagation-loss-model.h b/src/spectrum/model/spectrum-propagation-loss-model.h index e285d5eaa..778fea787 100644 --- a/src/spectrum/model/spectrum-propagation-loss-model.h +++ b/src/spectrum/model/spectrum-propagation-loss-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-type.cc b/src/spectrum/model/spectrum-type.cc index 177992ee8..53ef2b6cb 100644 --- a/src/spectrum/model/spectrum-type.cc +++ b/src/spectrum/model/spectrum-type.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 CTTC * diff --git a/src/spectrum/model/spectrum-type.h b/src/spectrum/model/spectrum-type.h index 841676bf7..1c6a78c07 100644 --- a/src/spectrum/model/spectrum-type.h +++ b/src/spectrum/model/spectrum-type.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/spectrum-value.cc b/src/spectrum/model/spectrum-value.cc index f98793205..88fc136b0 100644 --- a/src/spectrum/model/spectrum-value.cc +++ b/src/spectrum/model/spectrum-value.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC @@ -23,6 +23,9 @@ #include #include +#ifdef __FreeBSD__ +#define log2(x) (log(x)/M_LN2) +#endif NS_LOG_COMPONENT_DEFINE ("SpectrumValue"); @@ -32,7 +35,6 @@ namespace ns3 { SpectrumValue::SpectrumValue () - : m_values (0) { } @@ -406,6 +408,7 @@ operator << (std::ostream& os, const SpectrumValue& pvf) os << *it1 << " "; ++it1; } + os << std::endl; return os; } diff --git a/src/spectrum/model/spectrum-value.h b/src/spectrum/model/spectrum-value.h index 45b378fe0..cba4d0a17 100644 --- a/src/spectrum/model/spectrum-value.h +++ b/src/spectrum/model/spectrum-value.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/model/waveform-generator.cc b/src/spectrum/model/waveform-generator.cc index dcc5443c1..fb4874d09 100644 --- a/src/spectrum/model/waveform-generator.cc +++ b/src/spectrum/model/waveform-generator.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -89,14 +89,14 @@ WaveformGenerator::GetTypeId (void) -Ptr +Ptr WaveformGenerator::GetDevice () { return m_netDevice; } -Ptr +Ptr WaveformGenerator::GetMobility () { return m_mobility; @@ -111,14 +111,14 @@ WaveformGenerator::GetRxSpectrumModel () const } void -WaveformGenerator::SetDevice (Ptr d) +WaveformGenerator::SetDevice (Ptr d) { m_netDevice = d; } void -WaveformGenerator::SetMobility (Ptr m) +WaveformGenerator::SetMobility (Ptr m) { m_mobility = m; } diff --git a/src/spectrum/model/waveform-generator.h b/src/spectrum/model/waveform-generator.h index 3e4f2c73f..52fd896a2 100644 --- a/src/spectrum/model/waveform-generator.h +++ b/src/spectrum/model/waveform-generator.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -56,10 +56,10 @@ public: // inherited from SpectrumPhy void SetChannel (Ptr c); - void SetMobility (Ptr m); - void SetDevice (Ptr d); - Ptr GetMobility (); - Ptr GetDevice (); + void SetMobility (Ptr m); + void SetDevice (Ptr d); + Ptr GetMobility (); + Ptr GetDevice (); Ptr GetRxSpectrumModel () const; void StartRx (Ptr p, Ptr rxPsd, SpectrumType st, Time duration); @@ -129,8 +129,8 @@ public: private: virtual void DoDispose (void); - Ptr m_mobility; - Ptr m_netDevice; + Ptr m_mobility; + Ptr m_netDevice; Ptr m_channel; virtual void GenerateWaveform (); diff --git a/src/spectrum/model/wifi-spectrum-value-helper.cc b/src/spectrum/model/wifi-spectrum-value-helper.cc index a4e3267f4..b665606c6 100644 --- a/src/spectrum/model/wifi-spectrum-value-helper.cc +++ b/src/spectrum/model/wifi-spectrum-value-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -114,4 +114,4 @@ WifiSpectrumValue5MhzFactory::CreateRfFilter (uint32_t channel) } -} //namespace ns3 +} // namespace ns3 diff --git a/src/spectrum/model/wifi-spectrum-value-helper.h b/src/spectrum/model/wifi-spectrum-value-helper.h index f7a649ab4..4cc260dee 100644 --- a/src/spectrum/model/wifi-spectrum-value-helper.h +++ b/src/spectrum/model/wifi-spectrum-value-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -92,7 +92,7 @@ public: -} //namespace ns3 +} // namespace ns3 diff --git a/src/spectrum/test/spectrum-ideal-phy-test.cc b/src/spectrum/test/spectrum-ideal-phy-test.cc index 8f01bb838..b6e2e0576 100644 --- a/src/spectrum/test/spectrum-ideal-phy-test.cc +++ b/src/spectrum/test/spectrum-ideal-phy-test.cc @@ -49,6 +49,10 @@ #include #include +#ifdef __FreeBSD__ +#define log2(x) (log(x)/M_LN2) +#endif + NS_LOG_COMPONENT_DEFINE ("SpectrumIdealPhyTest"); namespace ns3 { @@ -75,6 +79,7 @@ public: private: virtual void DoRun (void); + static std::string Name (std::string channelType, double snrLinear, uint64_t phyRate); double m_snrLinear; uint64_t m_phyRate; @@ -82,24 +87,27 @@ private: std::string m_channelType; }; - +std::string +SpectrumIdealPhyTestCase::Name (std::string channelType, double snrLinear, uint64_t phyRate) +{ + std::ostringstream oss; + oss << channelType + << " snr = " << snrLinear << " (linear), " + << " phyRate = " << phyRate << " bps"; + return oss.str(); +} SpectrumIdealPhyTestCase::SpectrumIdealPhyTestCase (double snrLinear, uint64_t phyRate, bool rateIsAchievable, std::string channelType) - : TestCase (""), + : TestCase (Name (channelType, snrLinear, phyRate)), m_snrLinear (snrLinear), m_phyRate (phyRate), m_rateIsAchievable (rateIsAchievable), m_channelType (channelType) { - std::ostringstream oss; - oss << channelType - << " snr = " << snrLinear << " (linear), " - << " phyRate = " << phyRate << " bps"; - SetName (oss.str ()); } SpectrumIdealPhyTestCase::~SpectrumIdealPhyTestCase () @@ -177,7 +185,7 @@ SpectrumIdealPhyTestCase::DoRun (void) OnOffHelper onoff ("ns3::PacketSocketFactory", Address (socket)); onoff.SetAttribute ("OnTime", RandomVariableValue (ConstantVariable (250))); onoff.SetAttribute ("OffTime", RandomVariableValue (ConstantVariable (0))); - onoff.SetAttribute ("DataRate", DataRateValue (DataRate (1.2*phyRate))); + onoff.SetAttribute ("DataRate", DataRateValue (DataRate (static_cast (1.2*phyRate)))); onoff.SetAttribute ("PacketSize", UintegerValue (pktSize)); ApplicationContainer apps = onoff.Install (c.Get (0)); @@ -221,22 +229,22 @@ SpectrumIdealPhyTestSuite::SpectrumIdealPhyTestSuite () for (double snr = 0.01; snr <= 10 ; snr *= 2) { double achievableRate = g_bandwidth*log2(1+snr); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*0.1, true, "ns3::SingleModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*0.5, true, "ns3::SingleModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*0.95, true, "ns3::SingleModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*1.05, false, "ns3::SingleModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*2, false, "ns3::SingleModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*4, false, "ns3::SingleModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*0.1), true, "ns3::SingleModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*0.5), true, "ns3::SingleModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*0.95), true, "ns3::SingleModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*1.05), false, "ns3::SingleModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*2), false, "ns3::SingleModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*4), false, "ns3::SingleModelSpectrumChannel")); } for (double snr = 0.01; snr <= 10 ; snr *= 10) { double achievableRate = g_bandwidth*log2(1+snr); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*0.1, true, "ns3::MultiModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*0.5, true, "ns3::MultiModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*0.95, true, "ns3::MultiModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*1.05, false, "ns3::MultiModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*2, false, "ns3::MultiModelSpectrumChannel")); - AddTestCase (new SpectrumIdealPhyTestCase (snr, achievableRate*4, false, "ns3::MultiModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*0.1), true, "ns3::MultiModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*0.5), true, "ns3::MultiModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*0.95), true, "ns3::MultiModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*1.05), false, "ns3::MultiModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*2), false, "ns3::MultiModelSpectrumChannel")); + AddTestCase (new SpectrumIdealPhyTestCase (snr, static_cast (achievableRate*4), false, "ns3::MultiModelSpectrumChannel")); } } diff --git a/src/spectrum/test/spectrum-interference-test.cc b/src/spectrum/test/spectrum-interference-test.cc index 7d592c74f..2996c976c 100644 --- a/src/spectrum/test/spectrum-interference-test.cc +++ b/src/spectrum/test/spectrum-interference-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/spectrum/test/spectrum-test.h b/src/spectrum/test/spectrum-test.h index a2ee80dd4..a51f58ace 100644 --- a/src/spectrum/test/spectrum-test.h +++ b/src/spectrum/test/spectrum-test.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * Copyright (c) 2011 CTTC @@ -56,7 +56,7 @@ || (i->fc > j->fc + (tol)) || (i->fc < j->fc - (tol)) \ || (i->fh > j->fh + (tol)) || (i->fh < j->fh - (tol))) \ { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ + ASSERT_ON_FAILURE; \ std::ostringstream indexStream; \ indexStream << "[" << k << "]"; \ std::ostringstream msgStream; \ @@ -67,6 +67,7 @@ expectedStream << j->fl << " <-- " << j->fc << " --> " << j->fh; \ ReportTestFailure (std::string (# actual) + indexStream.str () + " == " + std::string (# expected) + indexStream.str (), \ actualStream.str (), expectedStream.str (), msgStream.str (), (file), (line)); \ + CONTINUE_ON_FAILURE; \ } \ ++i; \ ++j; \ @@ -117,7 +118,7 @@ { \ if ((*i) > (*j) + (tol) || (*i) < (*j) - (tol)) \ { \ - if (gBreakOnFailure) { *(int *)0 = 0; } \ + ASSERT_ON_FAILURE; \ std::ostringstream indexStream; \ indexStream << "[" << k << "]"; \ std::ostringstream msgStream; \ @@ -128,6 +129,7 @@ expectedStream << expected; \ ReportTestFailure (std::string (# actual) + indexStream.str () + " == " + std::string (# expected) + indexStream.str (), \ actualStream.str (), expectedStream.str (), msgStream.str (), file, line); \ + CONTINUE_ON_FAILURE; \ } \ ++i; \ ++j; \ diff --git a/src/spectrum/test/spectrum-value-test.cc b/src/spectrum/test/spectrum-value-test.cc index 3f825c7ea..172e484cd 100644 --- a/src/spectrum/test/spectrum-value-test.cc +++ b/src/spectrum/test/spectrum-value-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -72,8 +72,8 @@ SpectrumValueTestCase::MoreOrLessEqual (SpectrumValue x, SpectrumValue y) void SpectrumValueTestCase::DoRun (void) { - NS_TEST_ASSERT_MSG_SPECTRUM_MODEL_EQ_TOL (*m_a.GetSpectrumModel (), *m_b.GetSpectrumModel (), TOLERANCE, GetName ()); - NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL (m_a, m_b, TOLERANCE, GetName ()); + NS_TEST_ASSERT_MSG_SPECTRUM_MODEL_EQ_TOL (*m_a.GetSpectrumModel (), *m_b.GetSpectrumModel (), TOLERANCE, ""); + NS_TEST_ASSERT_MSG_SPECTRUM_VALUE_EQ_TOL (m_a, m_b, TOLERANCE, ""); } diff --git a/src/spectrum/wscript b/src/spectrum/wscript index 1ab4383c1..97abfffbb 100644 --- a/src/spectrum/wscript +++ b/src/spectrum/wscript @@ -40,7 +40,7 @@ def build(bld): 'test/spectrum-ideal-phy-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'spectrum' headers.source = [ 'model/spectrum-model.h', diff --git a/src/stats/bindings/modulegen__gcc_ILP32.py b/src/stats/bindings/modulegen__gcc_ILP32.py index 1ca3c087a..ff4f2a43e 100644 --- a/src/stats/bindings/modulegen__gcc_ILP32.py +++ b/src/stats/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -87,7 +89,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## data-calculator.h (module 'stats'): ns3::StatisticalSummary [class] module.add_class('StatisticalSummary', allow_subclassing=True) ## tag.h (module 'network'): ns3::Tag [class] @@ -98,10 +100,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -128,12 +130,16 @@ def register_types(module): 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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -192,6 +198,8 @@ def register_types(module): module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) ## packet-data-calculators.h (module 'stats'): ns3::PacketSizeMinMaxAvgTotalCalculator [class] module.add_class('PacketSizeMinMaxAvgTotalCalculator', parent=root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) + ## sqlite-data-output.h (module 'stats'): ns3::SqliteDataOutput [class] + module.add_class('SqliteDataOutput', parent=root_module['ns3::DataOutputInterface']) ## nstime.h (module 'core'): ns3::TimeChecker [class] module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## time-data-calculators.h (module 'stats'): ns3::TimeMinMaxAvgTotalCalculator [class] @@ -229,7 +237,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -261,8 +270,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -276,7 +285,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -306,6 +317,7 @@ def register_methods(root_module): register_Ns3OmnetDataOutput_methods(root_module, root_module['ns3::OmnetDataOutput']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::PacketSizeMinMaxAvgTotalCalculator']) + register_Ns3SqliteDataOutput_methods(root_module, root_module['ns3::SqliteDataOutput']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::TimeMinMaxAvgTotalCalculator']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) @@ -387,41 +399,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1379,10 +1393,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1409,6 +1423,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1423,10 +1439,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1891,23 +1903,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1915,26 +1917,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1965,14 +1952,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1980,11 +1962,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2009,22 +1986,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2034,6 +2006,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2048,35 +2024,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2398,6 +2377,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -2554,6 +2545,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2634,6 +2652,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3486,6 +3509,23 @@ def register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3SqliteDataOutput_methods(root_module, cls): + ## sqlite-data-output.h (module 'stats'): ns3::SqliteDataOutput::SqliteDataOutput(ns3::SqliteDataOutput const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SqliteDataOutput const &', 'arg0')]) + ## sqlite-data-output.h (module 'stats'): ns3::SqliteDataOutput::SqliteDataOutput() [constructor] + cls.add_constructor([]) + ## sqlite-data-output.h (module 'stats'): void ns3::SqliteDataOutput::Output(ns3::DataCollector & dc) [member function] + cls.add_method('Output', + 'void', + [param('ns3::DataCollector &', 'dc')], + is_virtual=True) + ## sqlite-data-output.h (module 'stats'): void ns3::SqliteDataOutput::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + return + def register_Ns3TimeChecker_methods(root_module, cls): ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor] cls.add_constructor([]) diff --git a/src/stats/bindings/modulegen__gcc_LP64.py b/src/stats/bindings/modulegen__gcc_LP64.py index 1ca3c087a..ff4f2a43e 100644 --- a/src/stats/bindings/modulegen__gcc_LP64.py +++ b/src/stats/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -87,7 +89,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## data-calculator.h (module 'stats'): ns3::StatisticalSummary [class] module.add_class('StatisticalSummary', allow_subclassing=True) ## tag.h (module 'network'): ns3::Tag [class] @@ -98,10 +100,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -128,12 +130,16 @@ def register_types(module): 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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -192,6 +198,8 @@ def register_types(module): module.add_class('Packet', import_from_module='ns.network', parent=root_module['ns3::SimpleRefCount< ns3::Packet, ns3::empty, ns3::DefaultDeleter >']) ## packet-data-calculators.h (module 'stats'): ns3::PacketSizeMinMaxAvgTotalCalculator [class] module.add_class('PacketSizeMinMaxAvgTotalCalculator', parent=root_module['ns3::MinMaxAvgTotalCalculator< unsigned int >']) + ## sqlite-data-output.h (module 'stats'): ns3::SqliteDataOutput [class] + module.add_class('SqliteDataOutput', parent=root_module['ns3::DataOutputInterface']) ## nstime.h (module 'core'): ns3::TimeChecker [class] module.add_class('TimeChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) ## time-data-calculators.h (module 'stats'): ns3::TimeMinMaxAvgTotalCalculator [class] @@ -229,7 +237,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -261,8 +270,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -276,7 +285,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -306,6 +317,7 @@ def register_methods(root_module): register_Ns3OmnetDataOutput_methods(root_module, root_module['ns3::OmnetDataOutput']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::PacketSizeMinMaxAvgTotalCalculator']) + register_Ns3SqliteDataOutput_methods(root_module, root_module['ns3::SqliteDataOutput']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) register_Ns3TimeMinMaxAvgTotalCalculator_methods(root_module, root_module['ns3::TimeMinMaxAvgTotalCalculator']) register_Ns3TimeValue_methods(root_module, root_module['ns3::TimeValue']) @@ -387,41 +399,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1379,10 +1393,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1409,6 +1423,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1423,10 +1439,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1891,23 +1903,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1915,26 +1917,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1965,14 +1952,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1980,11 +1962,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2009,22 +1986,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2034,6 +2006,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2048,35 +2024,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2398,6 +2377,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -2554,6 +2545,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2634,6 +2652,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3486,6 +3509,23 @@ def register_Ns3PacketSizeMinMaxAvgTotalCalculator_methods(root_module, cls): visibility='protected', is_virtual=True) return +def register_Ns3SqliteDataOutput_methods(root_module, cls): + ## sqlite-data-output.h (module 'stats'): ns3::SqliteDataOutput::SqliteDataOutput(ns3::SqliteDataOutput const & arg0) [copy constructor] + cls.add_constructor([param('ns3::SqliteDataOutput const &', 'arg0')]) + ## sqlite-data-output.h (module 'stats'): ns3::SqliteDataOutput::SqliteDataOutput() [constructor] + cls.add_constructor([]) + ## sqlite-data-output.h (module 'stats'): void ns3::SqliteDataOutput::Output(ns3::DataCollector & dc) [member function] + cls.add_method('Output', + 'void', + [param('ns3::DataCollector &', 'dc')], + is_virtual=True) + ## sqlite-data-output.h (module 'stats'): void ns3::SqliteDataOutput::DoDispose() [member function] + cls.add_method('DoDispose', + 'void', + [], + visibility='protected', is_virtual=True) + return + def register_Ns3TimeChecker_methods(root_module, cls): ## nstime.h (module 'core'): ns3::TimeChecker::TimeChecker() [constructor] cls.add_constructor([]) diff --git a/src/stats/model/basic-data-calculators.h b/src/stats/model/basic-data-calculators.h index 5d028e991..75dd5c291 100644 --- a/src/stats/model/basic-data-calculators.h +++ b/src/stats/model/basic-data-calculators.h @@ -18,8 +18,8 @@ * Author: Joe Kopena (tjkopena@cs.drexel.edu) */ -#ifndef __BASIC_DATA_CALCULATORS_H__ -#define __BASIC_DATA_CALCULATORS_H__ +#ifndef BASIC_DATA_CALCULATORS_H +#define BASIC_DATA_CALCULATORS_H #include "data-calculator.h" #include "data-output-interface.h" @@ -263,4 +263,4 @@ CounterCalculator::Output (DataOutputCallback &callback) const }; -#endif // __BASIC_DATA_CALCULATORS_H__ +#endif /* BASIC_DATA_CALCULATORS_H */ diff --git a/src/stats/model/data-calculator.h b/src/stats/model/data-calculator.h index 155d390cf..ccebdbdb0 100644 --- a/src/stats/model/data-calculator.h +++ b/src/stats/model/data-calculator.h @@ -18,8 +18,8 @@ * Author: Joe Kopena (tjkopena@cs.drexel.edu) */ -#ifndef __DATA_CALCULATOR_H__ -#define __DATA_CALCULATOR_H__ +#ifndef DATA_CALCULATOR_H +#define DATA_CALCULATOR_H #include "ns3/object.h" #include "ns3/nstime.h" @@ -124,4 +124,4 @@ private: }; -#endif // __DATA_CALCULATOR_H__ +#endif /* DATA_CALCULATOR_H */ diff --git a/src/stats/model/data-collector.h b/src/stats/model/data-collector.h index f53124300..b96e353d9 100644 --- a/src/stats/model/data-collector.h +++ b/src/stats/model/data-collector.h @@ -18,8 +18,8 @@ * Author: Joe Kopena (tjkopena@cs.drexel.edu) */ -#ifndef __DATA_COLLECTOR_H__ -#define __DATA_COLLECTOR_H__ +#ifndef DATA_COLLECTOR_H +#define DATA_COLLECTOR_H #include #include @@ -89,4 +89,4 @@ private: // end namespace ns3 }; -#endif // __DATA_COLLECTOR_H__ +#endif /* DATA_COLLECTOR_H */ diff --git a/src/stats/model/data-output-interface.h b/src/stats/model/data-output-interface.h index 256fe6188..a97bd098a 100644 --- a/src/stats/model/data-output-interface.h +++ b/src/stats/model/data-output-interface.h @@ -18,8 +18,8 @@ * Author: Joe Kopena (tjkopena@cs.drexel.edu) */ -#ifndef __DATA_OUTPUT_INTERFACE_H__ -#define __DATA_OUTPUT_INTERFACE_H__ +#ifndef DATA_OUTPUT_INTERFACE_H +#define DATA_OUTPUT_INTERFACE_H #include "ns3/object.h" #include "ns3/nstime.h" @@ -91,4 +91,4 @@ public: }; -#endif // __DATA_OUTPUT_INTERFACE_H__ +#endif /* DATA_OUTPUT_INTERFACE_H */ diff --git a/src/stats/model/omnet-data-output.h b/src/stats/model/omnet-data-output.h index 4cf2b4d8c..0e6ef0e5b 100644 --- a/src/stats/model/omnet-data-output.h +++ b/src/stats/model/omnet-data-output.h @@ -18,8 +18,8 @@ * Author: Joe Kopena (tjkopena@cs.drexel.edu) */ -#ifndef __OMNET_DATA_OUTPUT_H__ -#define __OMNET_DATA_OUTPUT_H__ +#ifndef OMNET_DATA_OUTPUT_H +#define OMNET_DATA_OUTPUT_H #include "ns3/nstime.h" @@ -85,4 +85,4 @@ private: }; -#endif // __OMNET_DATA_OUTPUT_H__ +#endif /* OMNET_DATA_OUTPUT_H */ diff --git a/src/stats/model/packet-data-calculators.h b/src/stats/model/packet-data-calculators.h index 9874f0b6a..d6c72b167 100644 --- a/src/stats/model/packet-data-calculators.h +++ b/src/stats/model/packet-data-calculators.h @@ -18,8 +18,8 @@ * Author: Joe Kopena (tjkopena@cs.drexel.edu) */ -#ifndef __PACKET_DATA_CALCULATORS_H__ -#define __PACKET_DATA_CALCULATORS_H__ +#ifndef PACKET_DATA_CALCULATORS_H +#define PACKET_DATA_CALCULATORS_H #include "ns3/packet.h" #include "ns3/mac48-address.h" @@ -73,4 +73,4 @@ protected: }; -#endif // __PACKET_DATA_CALCULATORS_H__ +#endif /* PACKET_DATA_CALCULATORS_H */ diff --git a/src/stats/model/sqlite-data-output.h b/src/stats/model/sqlite-data-output.h index 8aa106af3..c4562ea6d 100644 --- a/src/stats/model/sqlite-data-output.h +++ b/src/stats/model/sqlite-data-output.h @@ -18,8 +18,8 @@ * Author: Joe Kopena (tjkopena@cs.drexel.edu) */ -#ifndef __SQLITE_DATA_OUTPUT_H__ -#define __SQLITE_DATA_OUTPUT_H__ +#ifndef SQLITE_DATA_OUTPUT_H +#define SQLITE_DATA_OUTPUT_H #include "ns3/nstime.h" @@ -94,4 +94,4 @@ private: }; -#endif // __SQLITE_DATA_OUTPUT_H__ +#endif /* SQLITE_DATA_OUTPUT_H */ diff --git a/src/stats/model/time-data-calculators.h b/src/stats/model/time-data-calculators.h index 74f6de236..82351e769 100644 --- a/src/stats/model/time-data-calculators.h +++ b/src/stats/model/time-data-calculators.h @@ -18,8 +18,8 @@ * Author: Joe Kopena (tjkopena@cs.drexel.edu) */ -#ifndef __TIME_DATA_CALCULATORS_H__ -#define __TIME_DATA_CALCULATORS_H__ +#ifndef TIME_DATA_CALCULATORS_H +#define TIME_DATA_CALCULATORS_H #include "ns3/nstime.h" @@ -61,4 +61,4 @@ protected: }; -#endif // __TIME_DATA_CALCULATORS_H__ +#endif /* TIME_DATA_CALCULATORS_H */ diff --git a/src/stats/wscript b/src/stats/wscript index a4d4c5085..fde1e10bf 100644 --- a/src/stats/wscript +++ b/src/stats/wscript @@ -1,7 +1,9 @@ ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def configure(conf): - conf.env['SQLITE_STATS'] = conf.check(lib='sqlite3', define_name='SQLITE3', uselib='SQLITE3') + conf.env['SQLITE_STATS'] = conf.check_nonfatal(lib='sqlite3', define_name='SQLITE3', uselib_store='SQLITE3') + if not conf.env['SQLITE_STATS']: + conf.env['SQLITE_STATS'] = conf.pkg_check_modules('SQLITE3', 'sqlite3', mandatory=False) conf.report_optional_feature("SqliteDataOutput", "SQlite stats data output", conf.env['SQLITE_STATS'], "library 'sqlite3' not found") @@ -23,7 +25,7 @@ def build(bld): 'test/basic-data-calculators-test-suite.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'stats' headers.source = [ 'model/data-calculator.h', @@ -38,6 +40,6 @@ def build(bld): if bld.env['SQLITE_STATS']: headers.source.append('model/sqlite-data-output.h') obj.source.append('model/sqlite-data-output.cc') - obj.uselib = 'SQLITE3' + obj.use.append('SQLITE3') bld.ns3_python_bindings() diff --git a/src/tap-bridge/bindings/modulegen__gcc_ILP32.py b/src/tap-bridge/bindings/modulegen__gcc_ILP32.py index a8d822d83..bf9ea68bb 100644 --- a/src/tap-bridge/bindings/modulegen__gcc_ILP32.py +++ b/src/tap-bridge/bindings/modulegen__gcc_ILP32.py @@ -26,8 +26,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -106,10 +108,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -146,6 +148,8 @@ def register_types(module): 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::SystemThread', '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')) ## simulator-impl.h (module 'core'): ns3::SimulatorImpl [class] module.add_class('SimulatorImpl', import_from_module='ns.core', parent=root_module['ns3::Object']) ## synchronizer.h (module 'core'): ns3::Synchronizer [class] @@ -158,6 +162,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -257,7 +263,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -292,8 +299,8 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TapBridgeHelper_methods(root_module, root_module['ns3::TapBridgeHelper']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -312,10 +319,12 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, 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__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, 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_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -425,41 +434,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1494,10 +1505,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1524,6 +1535,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1538,10 +1551,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1917,23 +1926,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1941,26 +1940,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1991,14 +1975,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2006,11 +1985,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2035,22 +2009,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2060,6 +2029,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2074,35 +2047,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2513,6 +2489,18 @@ def register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SimulatorImpl_methods(root_module, cls): ## simulator-impl.h (module 'core'): ns3::SimulatorImpl::SimulatorImpl() [constructor] cls.add_constructor([]) @@ -2901,6 +2889,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2981,6 +2996,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3604,10 +3624,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -3622,11 +3650,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/tap-bridge/bindings/modulegen__gcc_LP64.py b/src/tap-bridge/bindings/modulegen__gcc_LP64.py index 916d2cae5..324018a30 100644 --- a/src/tap-bridge/bindings/modulegen__gcc_LP64.py +++ b/src/tap-bridge/bindings/modulegen__gcc_LP64.py @@ -26,8 +26,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -106,10 +108,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -146,6 +148,8 @@ def register_types(module): 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::SystemThread', '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')) ## simulator-impl.h (module 'core'): ns3::SimulatorImpl [class] module.add_class('SimulatorImpl', import_from_module='ns.core', parent=root_module['ns3::Object']) ## synchronizer.h (module 'core'): ns3::Synchronizer [class] @@ -158,6 +162,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -257,7 +263,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -292,8 +299,8 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TapBridgeHelper_methods(root_module, root_module['ns3::TapBridgeHelper']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -312,10 +319,12 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3NixVector_Ns3Empty_Ns3DefaultDeleter__lt__ns3NixVector__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::NixVector, 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__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ns3SystemThread__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::SystemThread, 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_Ns3SimulatorImpl_methods(root_module, root_module['ns3::SimulatorImpl']) register_Ns3Synchronizer_methods(root_module, root_module['ns3::Synchronizer']) register_Ns3SystemThread_methods(root_module, root_module['ns3::SystemThread']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -425,41 +434,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1494,10 +1505,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1524,6 +1535,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1538,10 +1551,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1917,23 +1926,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1941,26 +1940,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1991,14 +1975,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2006,11 +1985,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2035,22 +2009,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2060,6 +2029,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2074,35 +2047,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2513,6 +2489,18 @@ def register_Ns3SimpleRefCount__Ns3SystemThread_Ns3Empty_Ns3DefaultDeleter__lt__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SimulatorImpl_methods(root_module, cls): ## simulator-impl.h (module 'core'): ns3::SimulatorImpl::SimulatorImpl() [constructor] cls.add_constructor([]) @@ -2901,6 +2889,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2981,6 +2996,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3604,10 +3624,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -3622,11 +3650,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/tap-bridge/examples/wscript b/src/tap-bridge/examples/wscript index fa63e92c6..aeca10764 100644 --- a/src/tap-bridge/examples/wscript +++ b/src/tap-bridge/examples/wscript @@ -1,7 +1,7 @@ ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): - env = bld.env_of_name('default') + env = bld.env if env['ENABLE_TAP']: obj = bld.create_ns3_program('tap-csma', ['csma', 'tap-bridge', 'internet', 'wifi']) obj.source = 'tap-csma.cc' diff --git a/src/tap-bridge/model/tap-encode-decode.h b/src/tap-bridge/model/tap-encode-decode.h index dba82717b..5e9a1cf6e 100644 --- a/src/tap-bridge/model/tap-encode-decode.h +++ b/src/tap-bridge/model/tap-encode-decode.h @@ -29,5 +29,5 @@ bool TapStringToBuffer (std::string s, uint8_t *buffer, uint32_t *len); } // namespace ns3 -#endif // TAP_ENCODE_DECODE_H +#endif /* TAP_ENCODE_DECODE_H */ diff --git a/src/tap-bridge/wscript b/src/tap-bridge/wscript index 4ee038ab5..ab1376b60 100644 --- a/src/tap-bridge/wscript +++ b/src/tap-bridge/wscript @@ -4,7 +4,7 @@ import os.path def configure(conf): if conf.env['ENABLE_THREADING']: - conf.env['ENABLE_TAP'] = conf.check(header_name='linux/if_tun.h', + conf.env['ENABLE_TAP'] = conf.check_nonfatal(header_name='linux/if_tun.h', define_name='HAVE_IF_TUN_H') conf.report_optional_feature("TapBridge", "Tap Bridge", conf.env['ENABLE_TAP'], @@ -15,7 +15,7 @@ def configure(conf): "needs threading support which is not available") if conf.env['ENABLE_TAP']: - blddir = os.path.abspath(os.path.join(conf.blddir, conf.env.variant())) + blddir = os.path.abspath(os.path.join(conf.bldnode.abspath(), conf.variant)) tapcreatordir = os.path.abspath(os.path.join(blddir, "src/tap-bridge")) conf.env.append_value('NS3_EXECUTABLE_PATH', tapcreatordir) else: @@ -34,7 +34,7 @@ def build(bld): 'model/tap-encode-decode.cc', 'helper/tap-bridge-helper.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'tap-bridge' headers.source = [ 'model/tap-bridge.h', diff --git a/src/template/wscript b/src/template/wscript index 00c30d4f5..787bdb7dd 100644 --- a/src/template/wscript +++ b/src/template/wscript @@ -27,7 +27,7 @@ def build(bld): ] # Make headers be installed for this module. - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'template' # Set the C++ header files for this module. diff --git a/src/test/ns3tcp/ns3tcp-interop-test-suite.cc b/src/test/ns3tcp/ns3tcp-interop-test-suite.cc index a31516e8f..12512e1e4 100644 --- a/src/test/ns3tcp/ns3tcp-interop-test-suite.cc +++ b/src/test/ns3tcp/ns3tcp-interop-test-suite.cc @@ -16,6 +16,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include + #include "ns3/log.h" #include "ns3/abort.h" #include "ns3/test.h" @@ -110,7 +112,8 @@ Ns3TcpInteroperabilityTestCase::DoSetup (void) // We expect there to be a file called tcp-interop-response-vectors.pcap in // response-vectors/ of this directory // - m_pcapFilename = NS_TEST_SOURCEDIR + "/response-vectors/ns3tcp-interop-response-vectors.pcap"; + m_pcapFilename = static_cast (NS_TEST_SOURCEDIR) + + static_cast ("/response-vectors/ns3tcp-interop-response-vectors.pcap"); if (m_writeVectors) { @@ -184,7 +187,7 @@ Ns3TcpInteroperabilityTestCase::Ipv4L3Tx (std::string context, Ptr // // Avoid streams of errors -- only report the first. // - if (GetErrorStatus () == false) + if (IsStatusSuccess ()) { NS_TEST_EXPECT_MSG_EQ (result, 0, "Expected data comparison error"); } diff --git a/src/test/ns3tcp/ns3tcp-loss-test-suite.cc b/src/test/ns3tcp/ns3tcp-loss-test-suite.cc index d4a8ac6c7..e6ca84960 100644 --- a/src/test/ns3tcp/ns3tcp-loss-test-suite.cc +++ b/src/test/ns3tcp/ns3tcp-loss-test-suite.cc @@ -121,7 +121,7 @@ Ns3TcpLossTestCase::DoSetup (void) // std::ostringstream oss; oss << "/response-vectors/ns3tcp-loss-" << m_tcpModel << m_testCase << "-response-vectors.pcap"; - m_pcapFilename = NS_TEST_SOURCEDIR + oss.str (); + m_pcapFilename = CreateDataDirFilename(oss.str ()); if (m_writeVectors) { @@ -185,6 +185,8 @@ Ns3TcpLossTestCase::Ipv4L3Tx (std::string context, Ptr packet, Ptr uint32_t tsSec, tsUsec, inclLen, origLen, readLen; m_pcapFile.Read (expected, sizeof(expected), tsSec, tsUsec, inclLen, origLen, readLen); + NS_LOG_DEBUG ("read " << readLen); + uint8_t *actual = new uint8_t[readLen]; p->CopyData (actual, readLen); @@ -195,7 +197,7 @@ Ns3TcpLossTestCase::Ipv4L3Tx (std::string context, Ptr packet, Ptr // // Avoid streams of errors -- only report the first. // - if (GetErrorStatus () == false) + if (IsStatusSuccess ()) { NS_TEST_EXPECT_MSG_EQ (result, 0, "Expected data comparison error"); } @@ -442,6 +444,7 @@ public: Ns3TcpLossTestSuite::Ns3TcpLossTestSuite () : TestSuite ("ns3-tcp-loss", SYSTEM) { + SetDataDir (NS_TEST_SOURCEDIR); Packet::EnablePrinting (); // Enable packet metadata for all test cases AddTestCase (new Ns3TcpLossTestCase ("Tahoe", 0)); AddTestCase (new Ns3TcpLossTestCase ("Tahoe", 1)); diff --git a/src/test/ns3tcp/ns3tcp-state-test-suite.cc b/src/test/ns3tcp/ns3tcp-state-test-suite.cc index 5fd3d1bee..938c8509e 100644 --- a/src/test/ns3tcp/ns3tcp-state-test-suite.cc +++ b/src/test/ns3tcp/ns3tcp-state-test-suite.cc @@ -17,6 +17,7 @@ */ #include +#include #include "ns3/log.h" #include "ns3/abort.h" @@ -116,7 +117,7 @@ Ns3TcpStateTestCase::DoSetup (void) // std::ostringstream oss; oss << "/response-vectors/ns3tcp-state" << m_testCase << "-response-vectors.pcap"; - m_pcapFilename = NS_TEST_SOURCEDIR + oss.str (); + m_pcapFilename = static_cast (NS_TEST_SOURCEDIR) + oss.str (); if (m_writeVectors) { @@ -190,7 +191,7 @@ Ns3TcpStateTestCase::Ipv4L3Tx (std::string context, Ptr packet, Pt // // Avoid streams of errors -- only report the first. // - if (GetErrorStatus () == false) + if (IsStatusSuccess ()) { NS_TEST_EXPECT_MSG_EQ (result, 0, "Expected data comparison error"); } diff --git a/src/test/ns3tcp/wscript b/src/test/ns3tcp/wscript index 514353eab..5fe1f7488 100644 --- a/src/test/ns3tcp/wscript +++ b/src/test/ns3tcp/wscript @@ -16,7 +16,7 @@ def build(bld): return ns3tcp = bld.create_ns3_module('ns3tcp', ['internet', 'point-to-point', 'csma', 'applications']) - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'ns3tcp' headers.source = [ 'ns3tcp.h', diff --git a/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc b/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc index 0f1002693..476f7b2f7 100644 --- a/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc +++ b/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Dean Armstrong * diff --git a/src/test/ns3wifi/wscript b/src/test/ns3wifi/wscript index 13feb446c..68d431725 100644 --- a/src/test/ns3wifi/wscript +++ b/src/test/ns3wifi/wscript @@ -16,7 +16,7 @@ def build(bld): return ns3wifi = bld.create_ns3_module('ns3wifi', ['internet', 'mobility', 'propagation', 'wifi', 'applications']) - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'ns3wifi' headers.source = [ 'ns3wifi.h', diff --git a/src/test/wscript b/src/test/wscript index 56e15765d..ab4d0420f 100644 --- a/src/test/wscript +++ b/src/test/wscript @@ -20,7 +20,7 @@ def build(bld): return test = bld.create_ns3_module('test', ['internet', 'mobility', 'applications', 'csma', 'bridge', 'config-store', 'tools', 'point-to-point', 'csma-layout', 'flow-monitor']) - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'test' test_test = bld.create_ns3_module_test_library('test') diff --git a/src/tools/bindings/modulegen__gcc_ILP32.py b/src/tools/bindings/modulegen__gcc_ILP32.py index ba26fde79..08741408f 100644 --- a/src/tools/bindings/modulegen__gcc_ILP32.py +++ b/src/tools/bindings/modulegen__gcc_ILP32.py @@ -20,8 +20,10 @@ def module_init(): def register_types(module): root_module = module.get_root() - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -75,7 +77,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -84,10 +86,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -126,12 +128,16 @@ def register_types(module): 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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -178,7 +184,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -208,8 +215,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -227,7 +234,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -247,41 +256,43 @@ def register_methods(root_module): register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -870,10 +881,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -900,6 +911,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -914,10 +927,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1335,23 +1344,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1359,26 +1358,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1409,14 +1393,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1424,11 +1403,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1453,22 +1427,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1478,6 +1447,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1492,35 +1465,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1672,10 +1648,10 @@ def register_Ns3Gnuplot2dDataset_methods(root_module, cls): cls.add_method('Add', 'void', [param('double', 'x'), param('double', 'y'), param('double', 'errorDelta')]) - ## gnuplot.h (module 'tools'): void ns3::Gnuplot2dDataset::Add(double x, double y, double minY, double maxY) [member function] + ## gnuplot.h (module 'tools'): void ns3::Gnuplot2dDataset::Add(double x, double y, double xErrorDelta, double yErrorDelta) [member function] cls.add_method('Add', 'void', - [param('double', 'x'), param('double', 'y'), param('double', 'minY'), param('double', 'maxY')]) + [param('double', 'x'), param('double', 'y'), param('double', 'xErrorDelta'), param('double', 'yErrorDelta')]) ## gnuplot.h (module 'tools'): void ns3::Gnuplot2dDataset::AddEmptyLine() [member function] cls.add_method('AddEmptyLine', 'void', @@ -1929,6 +1905,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -2085,6 +2073,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2165,6 +2180,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/tools/bindings/modulegen__gcc_LP64.py b/src/tools/bindings/modulegen__gcc_LP64.py index ba26fde79..08741408f 100644 --- a/src/tools/bindings/modulegen__gcc_LP64.py +++ b/src/tools/bindings/modulegen__gcc_LP64.py @@ -20,8 +20,10 @@ def module_init(): def register_types(module): root_module = module.get_root() - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -75,7 +77,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -84,10 +86,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -126,12 +128,16 @@ def register_types(module): 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::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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -178,7 +184,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -208,8 +215,8 @@ def register_methods(root_module): register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -227,7 +234,9 @@ def register_methods(root_module): register_Ns3SimpleRefCount__Ns3EventImpl_Ns3Empty_Ns3DefaultDeleter__lt__ns3EventImpl__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::EventImpl, 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__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Packet__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::Packet, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -247,41 +256,43 @@ def register_methods(root_module): register_Ns3TypeIdValue_methods(root_module, root_module['ns3::TypeIdValue']) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -870,10 +881,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -900,6 +911,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -914,10 +927,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -1335,23 +1344,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -1359,26 +1358,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1409,14 +1393,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1424,11 +1403,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1453,22 +1427,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1478,6 +1447,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1492,35 +1465,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1672,10 +1648,10 @@ def register_Ns3Gnuplot2dDataset_methods(root_module, cls): cls.add_method('Add', 'void', [param('double', 'x'), param('double', 'y'), param('double', 'errorDelta')]) - ## gnuplot.h (module 'tools'): void ns3::Gnuplot2dDataset::Add(double x, double y, double minY, double maxY) [member function] + ## gnuplot.h (module 'tools'): void ns3::Gnuplot2dDataset::Add(double x, double y, double xErrorDelta, double yErrorDelta) [member function] cls.add_method('Add', 'void', - [param('double', 'x'), param('double', 'y'), param('double', 'minY'), param('double', 'maxY')]) + [param('double', 'x'), param('double', 'y'), param('double', 'xErrorDelta'), param('double', 'yErrorDelta')]) ## gnuplot.h (module 'tools'): void ns3::Gnuplot2dDataset::AddEmptyLine() [member function] cls.add_method('AddEmptyLine', 'void', @@ -1929,6 +1905,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -2085,6 +2073,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -2165,6 +2180,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', diff --git a/src/tools/examples/gnuplot-example.cc b/src/tools/examples/gnuplot-example.cc new file mode 100644 index 000000000..ab6ff8de9 --- /dev/null +++ b/src/tools/examples/gnuplot-example.cc @@ -0,0 +1,277 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 University of Washington + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Mitch Watrous (watrous@u.washington.edu) + */ + +#include + +#include "ns3/gnuplot.h" + +using namespace ns3; + +namespace { + +//=========================================================================== +// Function: Create2DPlotFile +// +// +// This function creates a 2-D plot file. +//=========================================================================== + +void Create2DPlotFile () +{ + using namespace std; + + string fileNameWithNoExtension = "plot-2d"; + string graphicsFileName = fileNameWithNoExtension + ".png"; + string plotFileName = fileNameWithNoExtension + ".plt"; + string plotTitle = "2-D Plot"; + string dataTitle = "2-D Data"; + + // Instantiate the plot and set its title. + Gnuplot plot (graphicsFileName); + plot.SetTitle (plotTitle); + + // Make the graphics file, which the plot file will create when it + // is used with Gnuplot, be a PNG file. + plot.SetTerminal ("png"); + + // Set the labels for each axis. + plot.SetLegend ("X Values", "Y Values"); + + // Set the range for the x axis. + plot.AppendExtra ("set xrange [-6:+6]"); + + // Instantiate the dataset, set its title, and make the points be + // plotted along with connecting lines. + Gnuplot2dDataset dataset; + dataset.SetTitle (dataTitle); + dataset.SetStyle (Gnuplot2dDataset::LINES_POINTS); + + double x; + double y; + + // Create the 2-D dataset. + for (x = -5.0; x <= +5.0; x += 1.0) + { + // Calculate the 2-D curve + // + // 2 + // y = x . + // + y = x * x; + + // Add this point. + dataset.Add (x, y); + } + + // Add the dataset to the plot. + plot.AddDataset (dataset); + + // Open the plot file. + ofstream plotFile (plotFileName.c_str()); + + // Write the plot file. + plot.GenerateOutput (plotFile); + + // Close the plot file. + plotFile.close (); +} + + +//=========================================================================== +// Function: Create2DPlotWithErrorBarsFile +// +// +// This function creates a 2-D plot with error bars file. +//=========================================================================== + +void Create2DPlotWithErrorBarsFile () +{ + using namespace std; + + string fileNameWithNoExtension = "plot-2d-with-error-bars"; + string graphicsFileName = fileNameWithNoExtension + ".png"; + string plotFileName = fileNameWithNoExtension + ".plt"; + string plotTitle = "2-D Plot With Error Bars"; + string dataTitle = "2-D Data With Error Bars"; + + // Instantiate the plot and set its title. + Gnuplot plot (graphicsFileName); + plot.SetTitle (plotTitle); + + // Make the graphics file, which the plot file will create when it + // is used with Gnuplot, be a PNG file. + plot.SetTerminal ("png"); + + // Set the labels for each axis. + plot.SetLegend ("X Values", "Y Values"); + + // Set the range for the x axis. + plot.AppendExtra ("set xrange [-6:+6]"); + + // Instantiate the dataset, set its title, and make the points be + // plotted with no connecting lines. + Gnuplot2dDataset dataset; + dataset.SetTitle (dataTitle); + dataset.SetStyle (Gnuplot2dDataset::POINTS); + + // Make the dataset have error bars in both the x and y directions. + dataset.SetErrorBars (Gnuplot2dDataset::XY); + + double x; + double xErrorDelta; + double y; + double yErrorDelta; + + // Create the 2-D dataset. + for (x = -5.0; x <= +5.0; x += 1.0) + { + // Calculate the 2-D curve + // + // 2 + // y = x . + // + y = x * x; + + // Make the uncertainty in the x direction be constant and make + // the uncertainty in the y direction be a constant fraction of + // y's value. + xErrorDelta = 0.25; + yErrorDelta = 0.1 * y; + + // Add this point with uncertainties in both the x and y + // direction. + dataset.Add (x, y, xErrorDelta, yErrorDelta); + } + + // Add the dataset to the plot. + plot.AddDataset (dataset); + + // Open the plot file. + ofstream plotFile (plotFileName.c_str()); + + // Write the plot file. + plot.GenerateOutput (plotFile); + + // Close the plot file. + plotFile.close (); +} + + +//=========================================================================== +// Function: Create3DPlotFile +// +// +// This function creates a 3-D plot file. +//=========================================================================== + +void Create3DPlotFile () +{ + using namespace std; + + string fileNameWithNoExtension = "plot-3d"; + string graphicsFileName = fileNameWithNoExtension + ".png"; + string plotFileName = fileNameWithNoExtension + ".plt"; + string plotTitle = "3-D Plot"; + string dataTitle = "3-D Data"; + + // Instantiate the plot and set its title. + Gnuplot plot (graphicsFileName); + plot.SetTitle (plotTitle); + + // Make the graphics file, which the plot file will create when it + // is used with Gnuplot, be a PNG file. + plot.SetTerminal ("png"); + + // Rotate the plot 30 degrees around the x axis and then rotate the + // plot 120 degrees around the new z axis. + plot.AppendExtra ("set view 30, 120, 1.0, 1.0"); + + // Make the zero for the z-axis be in the x-axis and y-axis plane. + plot.AppendExtra ("set ticslevel 0"); + + // Set the labels for each axis. + plot.AppendExtra ("set xlabel 'X Values'"); + plot.AppendExtra ("set ylabel 'Y Values'"); + plot.AppendExtra ("set zlabel 'Z Values'"); + + // Set the ranges for the x and y axis. + plot.AppendExtra ("set xrange [-5:+5]"); + plot.AppendExtra ("set yrange [-5:+5]"); + + // Instantiate the dataset, set its title, and make the points be + // connected by lines. + Gnuplot3dDataset dataset; + dataset.SetTitle (dataTitle); + dataset.SetStyle ("with lines"); + + double x; + double y; + double z; + + // Create the 3-D dataset. + for (x = -5.0; x <= +5.0; x += 1.0) + { + for (y = -5.0; y <= +5.0; y += 1.0) + { + // Calculate the 3-D surface + // + // 2 2 + // z = x * y . + // + z = x * x * y * y; + + // Add this point. + dataset.Add (x, y, z); + } + + // The blank line is necessary at the end of each x value's data + // points for the 3-D surface grid to work. + dataset.AddEmptyLine (); + } + + // Add the dataset to the plot. + plot.AddDataset (dataset); + + // Open the plot file. + ofstream plotFile (plotFileName.c_str()); + + // Write the plot file. + plot.GenerateOutput (plotFile); + + // Close the plot file. + plotFile.close (); +} + +} // anonymous namespace + + +int main (int argc, char *argv[]) +{ + // Create a 2-D plot file. + Create2DPlotFile(); + + // Create a 2-D plot with error bars file. + Create2DPlotWithErrorBarsFile(); + + // Create a 3-D plot file. + Create3DPlotFile(); + + return 0; +} diff --git a/src/tools/examples/wscript b/src/tools/examples/wscript new file mode 100644 index 000000000..13024cfc6 --- /dev/null +++ b/src/tools/examples/wscript @@ -0,0 +1,10 @@ +## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- + +def build(bld): + if not bld.env['ENABLE_EXAMPLES']: + return; + + obj = bld.create_ns3_program('gnuplot-example', ['tools']) + obj.source = 'gnuplot-example.cc' + + diff --git a/src/tools/model/event-garbage-collector.h b/src/tools/model/event-garbage-collector.h index ca19e74a0..5d4670122 100644 --- a/src/tools/model/event-garbage-collector.h +++ b/src/tools/model/event-garbage-collector.h @@ -68,6 +68,6 @@ private: void Shrink (); }; -}; // namespace ns3 +} // namespace ns3 #endif /* EVENT_GARBAGE_COLLECTOR_H */ diff --git a/src/tools/model/gnuplot.cc b/src/tools/model/gnuplot.cc index b0b8c50fa..6c81b7091 100644 --- a/src/tools/model/gnuplot.cc +++ b/src/tools/model/gnuplot.cc @@ -317,17 +317,16 @@ Gnuplot2dDataset::Add (double x, double y, double errorDelta) } void -Gnuplot2dDataset::Add (double x, double y, double minY, double maxY) +Gnuplot2dDataset::Add (double x, double y, double xErrorDelta, double yErrorDelta) { - NS_ASSERT ( reinterpret_cast(m_data)->m_errorBars == X || - reinterpret_cast(m_data)->m_errorBars == Y ); + NS_ASSERT ( reinterpret_cast(m_data)->m_errorBars == XY ); struct Point data; data.empty = false; data.x = x; data.y = y; - data.dx = minY; - data.dy = maxY; + data.dx = xErrorDelta; + data.dy = yErrorDelta; reinterpret_cast(m_data)->m_pointset.push_back (data); } diff --git a/src/tools/model/gnuplot.h b/src/tools/model/gnuplot.h index 0e1ac1d5f..d72dd5e03 100644 --- a/src/tools/model/gnuplot.h +++ b/src/tools/model/gnuplot.h @@ -177,7 +177,7 @@ public: /** * \param x x coord to new data point * \param y y coord to new data point - * \param errorDelta data point error range. + * \param errorDelta x and y data point uncertainty * * Use this method with error bar style X or Y. */ @@ -186,12 +186,12 @@ public: /** * \param x x coord to new data point * \param y y coord to new data point - * \param minY minimum error data point - * \param maxY maximum error data point + * \param xErrorDelta x data point uncertainty + * \param yErrorDelta y data point uncertainty * - * Use this method with error bar style X or Y. + * Use this method with error bar style XY. */ - void Add (double x, double y, double minY, double maxY); + void Add (double x, double y, double xErrorDelta, double yErrorDelta); /** * Add an empty line in the data output sequence. Empty lines in the plot diff --git a/src/tools/test/examples-to-run.py b/src/tools/test/examples-to-run.py new file mode 100644 index 000000000..37e6d7a49 --- /dev/null +++ b/src/tools/test/examples-to-run.py @@ -0,0 +1,20 @@ +#! /usr/bin/env python +## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- + +# A list of C++ examples to run in order to ensure that they remain +# buildable and runnable over time. Each tuple in the list contains +# +# (example_name, do_run, do_valgrind_run). +# +# See test.py for more information. +cpp_examples = [ + ("gnuplot-example", "False", "False"), +] + +# A list of Python examples to run in order to ensure that they remain +# runnable over time. Each tuple in the list contains +# +# (example_name, do_run). +# +# See test.py for more information. +python_examples = [] diff --git a/src/tools/wscript b/src/tools/wscript index a31f6ab89..b036ee29e 100644 --- a/src/tools/wscript +++ b/src/tools/wscript @@ -14,7 +14,7 @@ def build(bld): 'test/event-garbage-collector-test-suite.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'tools' headers.source = [ 'model/average.h', @@ -23,4 +23,7 @@ def build(bld): 'model/delay-jitter-estimation.h', ] + if (bld.env['ENABLE_EXAMPLES']): + bld.add_subdirs('examples') + bld.ns3_python_bindings() diff --git a/src/topology-read/bindings/modulegen__gcc_ILP32.py b/src/topology-read/bindings/modulegen__gcc_ILP32.py index 4d18f529b..350f7dab3 100644 --- a/src/topology-read/bindings/modulegen__gcc_ILP32.py +++ b/src/topology-read/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## callback.h (module 'core'): ns3::CallbackBase [class] module.add_class('CallbackBase', import_from_module='ns.core') ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] @@ -56,10 +58,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -76,6 +78,8 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] @@ -86,6 +90,8 @@ def register_types(module): module.add_class('TopologyReader', parent=root_module['ns3::Object']) ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class] module.add_class('Link', outer_class=root_module['ns3::TopologyReader']) + ## 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 >']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -154,7 +160,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) @@ -167,8 +174,8 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TopologyReaderHelper_methods(root_module, root_module['ns3::TopologyReaderHelper']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) @@ -177,9 +184,11 @@ def register_methods(root_module): 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader']) register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -278,41 +287,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3CallbackBase_methods(root_module, cls): @@ -831,10 +842,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -968,23 +979,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -992,26 +993,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1042,14 +1028,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1057,11 +1038,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1086,22 +1062,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1111,6 +1082,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1125,35 +1100,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1384,6 +1362,18 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -1635,6 +1625,33 @@ def register_Ns3TopologyReaderLink_methods(root_module, cls): [param('std::string', 'name'), param('std::string &', 'value')]) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -1682,6 +1699,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -2152,10 +2174,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -2170,11 +2200,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3OrbisTopologyReader_methods(root_module, cls): diff --git a/src/topology-read/bindings/modulegen__gcc_LP64.py b/src/topology-read/bindings/modulegen__gcc_LP64.py index 4d18f529b..350f7dab3 100644 --- a/src/topology-read/bindings/modulegen__gcc_LP64.py +++ b/src/topology-read/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## callback.h (module 'core'): ns3::CallbackBase [class] module.add_class('CallbackBase', import_from_module='ns.core') ## ipv4-address.h (module 'network'): ns3::Ipv4Address [class] @@ -56,10 +58,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -76,6 +78,8 @@ def register_types(module): module.add_class('SimpleRefCount', automatic_type_narrowing=True, import_from_module='ns.core', template_parameters=['ns3::AttributeValue', '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::CallbackImplBase', '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')) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] @@ -86,6 +90,8 @@ def register_types(module): module.add_class('TopologyReader', parent=root_module['ns3::Object']) ## topology-reader.h (module 'topology-read'): ns3::TopologyReader::Link [class] module.add_class('Link', outer_class=root_module['ns3::TopologyReader']) + ## 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 >']) ## attribute.h (module 'core'): ns3::AttributeAccessor [class] module.add_class('AttributeAccessor', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::AttributeAccessor, ns3::empty, ns3::DefaultDeleter >']) ## attribute.h (module 'core'): ns3::AttributeChecker [class] @@ -154,7 +160,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3CallbackBase_methods(root_module, root_module['ns3::CallbackBase']) register_Ns3Ipv4Address_methods(root_module, root_module['ns3::Ipv4Address']) register_Ns3Ipv4Mask_methods(root_module, root_module['ns3::Ipv4Mask']) @@ -167,8 +174,8 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TopologyReaderHelper_methods(root_module, root_module['ns3::TopologyReaderHelper']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Object_methods(root_module, root_module['ns3::Object']) @@ -177,9 +184,11 @@ def register_methods(root_module): 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 >']) register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__lt__ns3CallbackImplBase__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::CallbackImplBase, 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_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3TopologyReader_methods(root_module, root_module['ns3::TopologyReader']) register_Ns3TopologyReaderLink_methods(root_module, root_module['ns3::TopologyReader::Link']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) 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']) @@ -278,41 +287,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3CallbackBase_methods(root_module, cls): @@ -831,10 +842,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -968,23 +979,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -992,26 +993,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -1042,14 +1028,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -1057,11 +1038,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -1086,22 +1062,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -1111,6 +1082,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -1125,35 +1100,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -1384,6 +1362,18 @@ def register_Ns3SimpleRefCount__Ns3CallbackImplBase_Ns3Empty_Ns3DefaultDeleter__ 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Time_methods(root_module, cls): cls.add_binary_numeric_operator('+', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) cls.add_binary_numeric_operator('-', root_module['ns3::Time'], root_module['ns3::Time'], param('ns3::Time const &', 'right')) @@ -1635,6 +1625,33 @@ def register_Ns3TopologyReaderLink_methods(root_module, cls): [param('std::string', 'name'), param('std::string &', 'value')]) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3AttributeAccessor_methods(root_module, cls): ## attribute.h (module 'core'): ns3::AttributeAccessor::AttributeAccessor(ns3::AttributeAccessor const & arg0) [copy constructor] cls.add_constructor([param('ns3::AttributeAccessor const &', 'arg0')]) @@ -1682,6 +1699,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -2152,10 +2174,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -2170,11 +2200,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3OrbisTopologyReader_methods(root_module, cls): diff --git a/src/topology-read/model/inet-topology-reader.h b/src/topology-read/model/inet-topology-reader.h index e9c31ed81..3c7613ba3 100644 --- a/src/topology-read/model/inet-topology-reader.h +++ b/src/topology-read/model/inet-topology-reader.h @@ -19,8 +19,8 @@ * Author: Valerio Sartini (valesar@gmail.com) */ -#ifndef __INET_TOPOLOGY_READER_H__ -#define __INET_TOPOLOGY_READER_H__ +#ifndef INET_TOPOLOGY_READER_H +#define INET_TOPOLOGY_READER_H #include "ns3/nstime.h" @@ -76,4 +76,4 @@ private: }; -#endif // __INET_TOPOLOGY_READER_H__ +#endif /* INET_TOPOLOGY_READER_H */ diff --git a/src/topology-read/model/orbis-topology-reader.h b/src/topology-read/model/orbis-topology-reader.h index 9afe2a9bc..50faf8f90 100644 --- a/src/topology-read/model/orbis-topology-reader.h +++ b/src/topology-read/model/orbis-topology-reader.h @@ -19,8 +19,8 @@ * Author: Valerio Sartini (valesar@gmail.com) */ -#ifndef __ORBIS_TOPOLOGY_READER_H__ -#define __ORBIS_TOPOLOGY_READER_H__ +#ifndef ORBIS_TOPOLOGY_READER_H +#define ORBIS_TOPOLOGY_READER_H #include "ns3/nstime.h" @@ -71,6 +71,5 @@ private: }; -#endif // __ORBIS_TOPOLOGY_READER_H__ - +#endif /* ORBIS_TOPOLOGY_READER_H */ diff --git a/src/topology-read/model/rocketfuel-topology-reader.h b/src/topology-read/model/rocketfuel-topology-reader.h index 105791db7..c43716ba0 100644 --- a/src/topology-read/model/rocketfuel-topology-reader.h +++ b/src/topology-read/model/rocketfuel-topology-reader.h @@ -18,8 +18,8 @@ * Author: Hajime Tazaki (tazaki@sfc.wide.ad.jp) */ -#ifndef __ROCKETFUEL_TOPOLOGY_READER_H__ -#define __ROCKETFUEL_TOPOLOGY_READER_H__ +#ifndef ROCKETFUEL_TOPOLOGY_READER_H +#define ROCKETFUEL_TOPOLOGY_READER_H #include "ns3/nstime.h" @@ -84,6 +84,6 @@ private: }; -#endif // __ROCKETFUEL_TOPOLOGY_READER_H__ +#endif /* ROCKETFUEL_TOPOLOGY_READER_H */ diff --git a/src/topology-read/model/topology-reader.h b/src/topology-read/model/topology-reader.h index a23617e17..352f6a362 100644 --- a/src/topology-read/model/topology-reader.h +++ b/src/topology-read/model/topology-reader.h @@ -19,8 +19,8 @@ * Author: Valerio Sartini (valesar@gmail.com) */ -#ifndef __TOPOLOGY_READER_H__ -#define __TOPOLOGY_READER_H__ +#ifndef TOPOLOGY_READER_H +#define TOPOLOGY_READER_H #include #include @@ -197,4 +197,4 @@ private: }; -#endif // __TOPOLOGY_READER_H__ +#endif /* TOPOLOGY_READER_H */ diff --git a/src/topology-read/wscript b/src/topology-read/wscript index d50441e1b..8e69e8651 100644 --- a/src/topology-read/wscript +++ b/src/topology-read/wscript @@ -15,7 +15,7 @@ def build(bld): 'test/rocketfuel-topology-reader-test-suite.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'topology-read' headers.source = [ 'model/topology-reader.h', diff --git a/src/uan/bindings/modulegen__gcc_ILP32.py b/src/uan/bindings/modulegen__gcc_ILP32.py index f76869a45..c1cb18c4f 100644 --- a/src/uan/bindings/modulegen__gcc_ILP32.py +++ b/src/uan/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -93,7 +95,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -106,8 +108,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## uan-address.h (module 'uan'): ns3::UanAddress [class] module.add_class('UanAddress') ## uan-address.h (module 'uan'): ns3::UanAddress [class] @@ -128,8 +132,6 @@ def register_types(module): module.add_enum('ModulationType', ['PSK', 'QAM', 'FSK', 'OTHER'], outer_class=root_module['ns3::UanTxMode']) ## uan-tx-mode.h (module 'uan'): ns3::UanTxModeFactory [class] module.add_class('UanTxModeFactory') - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -384,7 +386,8 @@ def register_types_ns3_internal(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -421,7 +424,8 @@ def register_methods(root_module): register_Ns3Tap_methods(root_module, root_module['ns3::Tap']) register_Ns3TracedValue__Double_methods(root_module, root_module['ns3::TracedValue< double >']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UanAddress_methods(root_module, root_module['ns3::UanAddress']) register_Ns3UanHelper_methods(root_module, root_module['ns3::UanHelper']) register_Ns3UanModesList_methods(root_module, root_module['ns3::UanModesList']) @@ -430,7 +434,6 @@ def register_methods(root_module): register_Ns3UanPhyListener_methods(root_module, root_module['ns3::UanPhyListener']) register_Ns3UanTxMode_methods(root_module, root_module['ns3::UanTxMode']) register_Ns3UanTxModeFactory_methods(root_module, root_module['ns3::UanTxModeFactory']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) @@ -602,41 +605,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1707,10 +1712,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1737,6 +1742,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1751,10 +1758,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2289,19 +2292,9 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2309,26 +2302,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2359,14 +2337,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2374,11 +2347,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2403,15 +2371,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', @@ -2428,6 +2391,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2442,19 +2409,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UanAddress_methods(root_module, cls): @@ -2795,22 +2781,6 @@ def register_Ns3UanTxModeFactory_methods(root_module, cls): is_static=True) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -4334,6 +4304,11 @@ def register_Ns3UanPhy_methods(root_module, cls): 'void', [param('double', 'thresh')], is_pure_virtual=True, is_virtual=True) + ## uan-phy.h (module 'uan'): void ns3::UanPhy::SetSleepMode(bool sleep) [member function] + cls.add_method('SetSleepMode', + 'void', + [param('bool', 'sleep')], + is_pure_virtual=True, is_virtual=True) ## uan-phy.h (module 'uan'): void ns3::UanPhy::SetTransducer(ns3::Ptr trans) [member function] cls.add_method('SetTransducer', 'void', @@ -4733,6 +4708,11 @@ def register_Ns3UanPhyDual_methods(root_module, cls): cls.add_method('SetSinrModelPhy2', 'void', [param('ns3::Ptr< ns3::UanPhyCalcSinr >', 'calcSinr')]) + ## uan-phy-dual.h (module 'uan'): void ns3::UanPhyDual::SetSleepMode(bool sleep) [member function] + cls.add_method('SetSleepMode', + 'void', + [param('bool', 'sleep')], + is_virtual=True) ## uan-phy-dual.h (module 'uan'): void ns3::UanPhyDual::SetTransducer(ns3::Ptr trans) [member function] cls.add_method('SetTransducer', 'void', @@ -4933,6 +4913,11 @@ def register_Ns3UanPhyGen_methods(root_module, cls): 'void', [param('double', 'thresh')], is_virtual=True) + ## uan-phy-gen.h (module 'uan'): void ns3::UanPhyGen::SetSleepMode(bool sleep) [member function] + cls.add_method('SetSleepMode', + 'void', + [param('bool', 'sleep')], + is_virtual=True) ## uan-phy-gen.h (module 'uan'): void ns3::UanPhyGen::SetTransducer(ns3::Ptr trans) [member function] cls.add_method('SetTransducer', 'void', @@ -5278,6 +5263,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -6252,10 +6242,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -6270,11 +6268,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): @@ -6870,6 +6863,10 @@ def register_Ns3UanNetDevice_methods(root_module, cls): 'void', [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], is_virtual=True) + ## uan-net-device.h (module 'uan'): void ns3::UanNetDevice::SetSleepMode(bool sleep) [member function] + cls.add_method('SetSleepMode', + 'void', + [param('bool', 'sleep')]) ## uan-net-device.h (module 'uan'): void ns3::UanNetDevice::SetTransducer(ns3::Ptr trans) [member function] cls.add_method('SetTransducer', 'void', diff --git a/src/uan/bindings/modulegen__gcc_LP64.py b/src/uan/bindings/modulegen__gcc_LP64.py index f76869a45..c1cb18c4f 100644 --- a/src/uan/bindings/modulegen__gcc_LP64.py +++ b/src/uan/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -93,7 +95,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -106,8 +108,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## uan-address.h (module 'uan'): ns3::UanAddress [class] module.add_class('UanAddress') ## uan-address.h (module 'uan'): ns3::UanAddress [class] @@ -128,8 +132,6 @@ def register_types(module): module.add_enum('ModulationType', ['PSK', 'QAM', 'FSK', 'OTHER'], outer_class=root_module['ns3::UanTxMode']) ## uan-tx-mode.h (module 'uan'): ns3::UanTxModeFactory [class] module.add_class('UanTxModeFactory') - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector2D [class] module.add_class('Vector2D', import_from_module='ns.core') ## vector.h (module 'core'): ns3::Vector3D [class] @@ -384,7 +386,8 @@ def register_types_ns3_internal(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -421,7 +424,8 @@ def register_methods(root_module): register_Ns3Tap_methods(root_module, root_module['ns3::Tap']) register_Ns3TracedValue__Double_methods(root_module, root_module['ns3::TracedValue< double >']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UanAddress_methods(root_module, root_module['ns3::UanAddress']) register_Ns3UanHelper_methods(root_module, root_module['ns3::UanHelper']) register_Ns3UanModesList_methods(root_module, root_module['ns3::UanModesList']) @@ -430,7 +434,6 @@ def register_methods(root_module): register_Ns3UanPhyListener_methods(root_module, root_module['ns3::UanPhyListener']) register_Ns3UanTxMode_methods(root_module, root_module['ns3::UanTxMode']) register_Ns3UanTxModeFactory_methods(root_module, root_module['ns3::UanTxModeFactory']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3Vector2D_methods(root_module, root_module['ns3::Vector2D']) register_Ns3Vector3D_methods(root_module, root_module['ns3::Vector3D']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) @@ -602,41 +605,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1707,10 +1712,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1737,6 +1742,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -1751,10 +1758,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -2289,19 +2292,9 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2309,26 +2302,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2359,14 +2337,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2374,11 +2347,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2403,15 +2371,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', @@ -2428,6 +2391,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2442,19 +2409,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UanAddress_methods(root_module, cls): @@ -2795,22 +2781,6 @@ def register_Ns3UanTxModeFactory_methods(root_module, cls): is_static=True) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3Vector2D_methods(root_module, cls): cls.add_output_stream_operator() ## vector.h (module 'core'): ns3::Vector2D::Vector2D(ns3::Vector2D const & arg0) [copy constructor] @@ -4334,6 +4304,11 @@ def register_Ns3UanPhy_methods(root_module, cls): 'void', [param('double', 'thresh')], is_pure_virtual=True, is_virtual=True) + ## uan-phy.h (module 'uan'): void ns3::UanPhy::SetSleepMode(bool sleep) [member function] + cls.add_method('SetSleepMode', + 'void', + [param('bool', 'sleep')], + is_pure_virtual=True, is_virtual=True) ## uan-phy.h (module 'uan'): void ns3::UanPhy::SetTransducer(ns3::Ptr trans) [member function] cls.add_method('SetTransducer', 'void', @@ -4733,6 +4708,11 @@ def register_Ns3UanPhyDual_methods(root_module, cls): cls.add_method('SetSinrModelPhy2', 'void', [param('ns3::Ptr< ns3::UanPhyCalcSinr >', 'calcSinr')]) + ## uan-phy-dual.h (module 'uan'): void ns3::UanPhyDual::SetSleepMode(bool sleep) [member function] + cls.add_method('SetSleepMode', + 'void', + [param('bool', 'sleep')], + is_virtual=True) ## uan-phy-dual.h (module 'uan'): void ns3::UanPhyDual::SetTransducer(ns3::Ptr trans) [member function] cls.add_method('SetTransducer', 'void', @@ -4933,6 +4913,11 @@ def register_Ns3UanPhyGen_methods(root_module, cls): 'void', [param('double', 'thresh')], is_virtual=True) + ## uan-phy-gen.h (module 'uan'): void ns3::UanPhyGen::SetSleepMode(bool sleep) [member function] + cls.add_method('SetSleepMode', + 'void', + [param('bool', 'sleep')], + is_virtual=True) ## uan-phy-gen.h (module 'uan'): void ns3::UanPhyGen::SetTransducer(ns3::Ptr trans) [member function] cls.add_method('SetTransducer', 'void', @@ -5278,6 +5263,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -6252,10 +6242,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -6270,11 +6268,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): @@ -6870,6 +6863,10 @@ def register_Ns3UanNetDevice_methods(root_module, cls): 'void', [param('ns3::Callback< bool, ns3::Ptr< ns3::NetDevice >, ns3::Ptr< ns3::Packet const >, unsigned short, ns3::Address const &, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', 'cb')], is_virtual=True) + ## uan-net-device.h (module 'uan'): void ns3::UanNetDevice::SetSleepMode(bool sleep) [member function] + cls.add_method('SetSleepMode', + 'void', + [param('bool', 'sleep')]) ## uan-net-device.h (module 'uan'): void ns3::UanNetDevice::SetTransducer(ns3::Ptr trans) [member function] cls.add_method('SetTransducer', 'void', diff --git a/src/uan/examples/uan-cw-example.cc b/src/uan/examples/uan-cw-example.cc index f0ee508e5..ffefdf3a5 100644 --- a/src/uan/examples/uan-cw-example.cc +++ b/src/uan/examples/uan-cw-example.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/examples/uan-cw-example.h b/src/uan/examples/uan-cw-example.h index e7b8637fd..a37fb0bf9 100644 --- a/src/uan/examples/uan-cw-example.h +++ b/src/uan/examples/uan-cw-example.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANCWEXAMPLE_H -#define UANCWEXAMPLE_H +#ifndef UAN_CW_EXAMPLE_H +#define UAN_CW_EXAMPLE_H #include "ns3/network-module.h" #include "ns3/tools-module.h" @@ -64,4 +64,4 @@ public: Experiment (); }; -#endif //UANCWEXAMPLE_H +#endif /* UAN_CW_EXAMPLE_H */ diff --git a/src/uan/examples/uan-rc-example.cc b/src/uan/examples/uan-rc-example.cc index 80a6a78c5..0efcbbb11 100644 --- a/src/uan/examples/uan-rc-example.cc +++ b/src/uan/examples/uan-rc-example.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/examples/uan-rc-example.h b/src/uan/examples/uan-rc-example.h index edb9c1f6a..9520acf68 100644 --- a/src/uan/examples/uan-rc-example.h +++ b/src/uan/examples/uan-rc-example.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANRCEXAMPLE_H -#define UANRCEXAMPLE_H +#ifndef UAN_RC_EXAMPLE_H +#define UAN_RC_EXAMPLE_H #include "ns3/network-module.h" #include "ns3/tools-module.h" @@ -61,4 +61,4 @@ public: }; -#endif //UANRCEXAMPLE_H +#endif /* UAN_RC_EXAMPLE_H */ diff --git a/src/uan/helper/acoustic-modem-energy-model-helper.cc b/src/uan/helper/acoustic-modem-energy-model-helper.cc index 8ac35bea8..8bc931fcf 100644 --- a/src/uan/helper/acoustic-modem-energy-model-helper.cc +++ b/src/uan/helper/acoustic-modem-energy-model-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/uan/helper/acoustic-modem-energy-model-helper.h b/src/uan/helper/acoustic-modem-energy-model-helper.h index 0bea28781..3ee2fce5f 100644 --- a/src/uan/helper/acoustic-modem-energy-model-helper.h +++ b/src/uan/helper/acoustic-modem-energy-model-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/uan/helper/uan-helper.h b/src/uan/helper/uan-helper.h index 2cbf7c41c..810878dbd 100644 --- a/src/uan/helper/uan-helper.h +++ b/src/uan/helper/uan-helper.h @@ -15,12 +15,10 @@ * along with this program. If not, see . * * Author: Leonard Tracy - * - * */ -#ifndef UANHELPER_H_ -#define UANHELPER_H_ +#ifndef UAN_HELPER_H +#define UAN_HELPER_H #include #include "ns3/attribute.h" @@ -226,4 +224,4 @@ private: } // end namespace ns3 -#endif /* UANHELPER_H_ */ +#endif /* UAN_HELPER_H */ diff --git a/src/uan/model/acoustic-modem-energy-model.cc b/src/uan/model/acoustic-modem-energy-model.cc index 0aeab0154..da226c847 100644 --- a/src/uan/model/acoustic-modem-energy-model.cc +++ b/src/uan/model/acoustic-modem-energy-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/uan/model/acoustic-modem-energy-model.h b/src/uan/model/acoustic-modem-energy-model.h index ea5cdd210..445872bdd 100644 --- a/src/uan/model/acoustic-modem-energy-model.h +++ b/src/uan/model/acoustic-modem-energy-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Andrea Sacco * diff --git a/src/uan/model/uan-address.cc b/src/uan/model/uan-address.cc index 376c877f3..73f6d9b10 100644 --- a/src/uan/model/uan-address.cc +++ b/src/uan/model/uan-address.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-address.h b/src/uan/model/uan-address.h index 0cc931c67..4e37a2a51 100644 --- a/src/uan/model/uan-address.h +++ b/src/uan/model/uan-address.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANADDRESS_H -#define UANADDRESS_H +#ifndef UAN_ADDRESS_H +#define UAN_ADDRESS_H #include "ns3/address.h" #include @@ -126,4 +126,4 @@ std::istream& operator>> (std::istream& is, UanAddress & address); } // namespace ns3 -#endif // UANADDRESS_H +#endif /* UAN_ADDRESS_H */ diff --git a/src/uan/model/uan-channel.cc b/src/uan/model/uan-channel.cc index 7b4060f45..f737313da 100644 --- a/src/uan/model/uan-channel.cc +++ b/src/uan/model/uan-channel.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-channel.h b/src/uan/model/uan-channel.h index 948961f75..f55692266 100644 --- a/src/uan/model/uan-channel.h +++ b/src/uan/model/uan-channel.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANCHANNEL_H -#define UANCHANNEL_H +#ifndef UAN_CHANNEL_H +#define UAN_CHANNEL_H #include "ns3/net-device.h" #include "ns3/channel.h" @@ -112,4 +112,4 @@ protected: } -#endif // UANCHANNEL_H +#endif /* UAN_CHANNEL_H */ diff --git a/src/uan/model/uan-header-common.cc b/src/uan/model/uan-header-common.cc index 0ffdd51cb..461ee8b39 100644 --- a/src/uan/model/uan-header-common.cc +++ b/src/uan/model/uan-header-common.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-header-common.h b/src/uan/model/uan-header-common.h index 9428b3ed5..9231e303a 100644 --- a/src/uan/model/uan-header-common.h +++ b/src/uan/model/uan-header-common.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANHEADERCOMMON_H -#define UANHEADERCOMMON_H +#ifndef UAN_HEADER_COMMON_H +#define UAN_HEADER_COMMON_H #include "ns3/header.h" #include "ns3/nstime.h" @@ -93,4 +93,4 @@ private: } -#endif // UANHEADERCOMMON_H +#endif /* UAN_HEADER_COMMON_H */ diff --git a/src/uan/model/uan-header-rc.cc b/src/uan/model/uan-header-rc.cc index 6f55ea9a3..14b9af783 100644 --- a/src/uan/model/uan-header-rc.cc +++ b/src/uan/model/uan-header-rc.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-header-rc.h b/src/uan/model/uan-header-rc.h index 3dbe58272..d90cf195e 100644 --- a/src/uan/model/uan-header-rc.h +++ b/src/uan/model/uan-header-rc.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -19,8 +19,8 @@ */ -#ifndef UANHEADERRC_H -#define UANHEADERRC_H +#ifndef UAN_HEADER_RC_H +#define UAN_HEADER_RC_H #include "ns3/header.h" #include "ns3/nstime.h" @@ -372,4 +372,4 @@ private: } -#endif // UANHEADERRC_H +#endif /* UAN_HEADER_RC_H */ diff --git a/src/uan/model/uan-mac-aloha.cc b/src/uan/model/uan-mac-aloha.cc index 0e6cd476f..b0a257bf4 100644 --- a/src/uan/model/uan-mac-aloha.cc +++ b/src/uan/model/uan-mac-aloha.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-aloha.h b/src/uan/model/uan-mac-aloha.h index 2c586f408..5bc7dd6c0 100644 --- a/src/uan/model/uan-mac-aloha.h +++ b/src/uan/model/uan-mac-aloha.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANMACALOHA_H -#define UANMACALOHA_H +#ifndef UAN_MAC_ALOHA_H +#define UAN_MAC_ALOHA_H #include "uan-mac.h" #include "uan-address.h" @@ -82,4 +82,4 @@ protected: } -#endif // UANMACALOHA_H +#endif /* UAN_MAC_ALOHA_H */ diff --git a/src/uan/model/uan-mac-cw.cc b/src/uan/model/uan-mac-cw.cc index 078de9dac..fefaf6cfa 100644 --- a/src/uan/model/uan-mac-cw.cc +++ b/src/uan/model/uan-mac-cw.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -335,7 +335,7 @@ UanMacCw::PhyRxPacketGood (Ptr packet, double sinr, UanTxMode mode) UanHeaderCommon header; packet->RemoveHeader (header); - if (header.GetDest () == m_address) + if (header.GetDest () == m_address || header.GetDest () == UanAddress::GetBroadcast ()) { m_forwardUpCb (packet, header.GetSrc ()); } diff --git a/src/uan/model/uan-mac-cw.h b/src/uan/model/uan-mac-cw.h index 5d9acba97..6d1c2ea05 100644 --- a/src/uan/model/uan-mac-cw.h +++ b/src/uan/model/uan-mac-cw.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANMACCW_H -#define UANMACCW_H +#ifndef UAN_MAC_CW_H +#define UAN_MAC_CW_H #include "ns3/uan-mac.h" #include "ns3/nstime.h" @@ -126,4 +126,4 @@ protected: } -#endif // UANMACCW_H +#endif /* UAN_MAC_CW_H */ diff --git a/src/uan/model/uan-mac-rc-gw.cc b/src/uan/model/uan-mac-rc-gw.cc index 396b8c5cf..c2ec94ba7 100644 --- a/src/uan/model/uan-mac-rc-gw.cc +++ b/src/uan/model/uan-mac-rc-gw.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-rc-gw.h b/src/uan/model/uan-mac-rc-gw.h index d3b417028..0ca7a7ade 100644 --- a/src/uan/model/uan-mac-rc-gw.h +++ b/src/uan/model/uan-mac-rc-gw.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANMACRCGW_H -#define UANMACRCGW_H +#ifndef UAN_MAC_RC_GW_H +#define UAN_MAC_RC_GW_H #include "uan-mac.h" #include "uan-address.h" @@ -164,4 +164,4 @@ bool operator < (UanAddress &a, UanAddress &b); } -#endif // UANMACRCGW_H +#endif /* UAN_MAC_RC_GW_H */ diff --git a/src/uan/model/uan-mac-rc.cc b/src/uan/model/uan-mac-rc.cc index 723738b0b..83e008a49 100644 --- a/src/uan/model/uan-mac-rc.cc +++ b/src/uan/model/uan-mac-rc.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-mac-rc.h b/src/uan/model/uan-mac-rc.h index 0cafc6b30..30f6081b6 100644 --- a/src/uan/model/uan-mac-rc.h +++ b/src/uan/model/uan-mac-rc.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANMACRC_H -#define UANMACRC_H +#ifndef UAN_MAC_RC_H +#define UAN_MAC_RC_H #include "uan-mac.h" #include "uan-address.h" @@ -214,4 +214,4 @@ protected: } -#endif // UANMACRC_H +#endif /* UAN_MAC_RC_H */ diff --git a/src/uan/model/uan-mac.cc b/src/uan/model/uan-mac.cc new file mode 100644 index 000000000..d57add264 --- /dev/null +++ b/src/uan/model/uan-mac.cc @@ -0,0 +1,34 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 University of Washington + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Mitch Watrous + */ + +#include "uan-mac.h" + +namespace ns3 { + +NS_OBJECT_ENSURE_REGISTERED (UanMac); + +TypeId UanMac::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::UanMac") + .SetParent (); + return tid; +} + +} // namespace ns3 diff --git a/src/uan/model/uan-mac.h b/src/uan/model/uan-mac.h index d2de3051c..a046c41eb 100644 --- a/src/uan/model/uan-mac.h +++ b/src/uan/model/uan-mac.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANMAC_H -#define UANMAC_H +#ifndef UAN_MAC_H +#define UAN_MAC_H #include "ns3/address.h" #include "ns3/object.h" @@ -47,6 +47,8 @@ class UanAddress; class UanMac : public Object { public: + static TypeId GetTypeId (void); + /** * \returns MAC Address */ @@ -93,4 +95,4 @@ public: } -#endif // UANMAC_H +#endif /* UAN_MAC_H */ diff --git a/src/uan/model/uan-net-device.cc b/src/uan/model/uan-net-device.cc index 2319df084..3a8dc8087 100644 --- a/src/uan/model/uan-net-device.cc +++ b/src/uan/model/uan-net-device.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -389,5 +389,11 @@ UanNetDevice::SetAddress (Address address) m_mac->SetAddress (UanAddress::ConvertFrom (address)); } +void +UanNetDevice::SetSleepMode (bool sleep) +{ + m_phy->SetSleepMode (sleep); +} + } // namespace ns3 diff --git a/src/uan/model/uan-net-device.h b/src/uan/model/uan-net-device.h index b10c2170c..34fad0be6 100644 --- a/src/uan/model/uan-net-device.h +++ b/src/uan/model/uan-net-device.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANNETDEVICE_H -#define UANNETDEVICE_H +#ifndef UAN_NET_DEVICE_H +#define UAN_NET_DEVICE_H #include "ns3/net-device.h" #include "ns3/pointer.h" @@ -101,6 +101,8 @@ public: */ void Clear (void); + void SetSleepMode (bool sleep); + // Purely virtual functions from base class virtual void SetIfIndex (const uint32_t index); virtual uint32_t GetIfIndex (void) const; @@ -154,4 +156,4 @@ protected: } // namespace ns3 -#endif // UANNETDEVICE_H +#endif /* UAN_NET_DEVICE_H */ diff --git a/src/uan/model/uan-noise-model-default.cc b/src/uan/model/uan-noise-model-default.cc index 8adc228b4..91ff8fed0 100644 --- a/src/uan/model/uan-noise-model-default.cc +++ b/src/uan/model/uan-noise-model-default.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-noise-model-default.h b/src/uan/model/uan-noise-model-default.h index bd806d30b..22c0dfef6 100644 --- a/src/uan/model/uan-noise-model-default.h +++ b/src/uan/model/uan-noise-model-default.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANNOISEMODELDEFAULT_H -#define UANNOISEMODELDEFAULT_H +#ifndef UAN_NOISE_MODEL_DEFAULT_H +#define UAN_NOISE_MODEL_DEFAULT_H #include "ns3/uan-noise-model.h" #include "ns3/attribute.h" @@ -63,4 +63,4 @@ private: } -#endif // UANNOISEMODELDEFAULT_H +#endif /* UAN_NOISE_MODEL_DEFAULT_H */ diff --git a/src/uan/model/uan-noise-model.cc b/src/uan/model/uan-noise-model.cc index 7cceff67d..dc5524a60 100644 --- a/src/uan/model/uan-noise-model.cc +++ b/src/uan/model/uan-noise-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -22,6 +22,15 @@ namespace ns3 { +NS_OBJECT_ENSURE_REGISTERED (UanNoiseModel); + +TypeId UanNoiseModel::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::UanNoiseModel") + .SetParent (); + return tid; +} + void UanNoiseModel::Clear (void) { @@ -36,4 +45,4 @@ UanNoiseModel::DoDispose (void) -} //namespace ns3 +} // namespace ns3 diff --git a/src/uan/model/uan-noise-model.h b/src/uan/model/uan-noise-model.h index 2d635c052..62bb743fc 100644 --- a/src/uan/model/uan-noise-model.h +++ b/src/uan/model/uan-noise-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANNOISEMODEL_H -#define UANNOISEMODEL_H +#ifndef UAN_NOISE_MODEL_H +#define UAN_NOISE_MODEL_H #include "ns3/object.h" @@ -28,6 +28,8 @@ namespace ns3 { class UanNoiseModel : public Object { public: + static TypeId GetTypeId (void); + /** * \param fKhz Frequency in kHz * \returns Noise power in dB re 1uPa/Hz @@ -44,4 +46,4 @@ public: } // namespace ns3 -#endif // UANNOISEMODEL_H +#endif /* UAN_NOISE_MODEL_H */ diff --git a/src/uan/model/uan-phy-dual.cc b/src/uan/model/uan-phy-dual.cc index 24fe69638..076b8be24 100644 --- a/src/uan/model/uan-phy-dual.cc +++ b/src/uan/model/uan-phy-dual.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-phy-dual.h b/src/uan/model/uan-phy-dual.h index 2f7fc70e3..41c6c6e8e 100644 --- a/src/uan/model/uan-phy-dual.h +++ b/src/uan/model/uan-phy-dual.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -19,8 +19,8 @@ * Andrea Sacco */ -#ifndef UANPHYDUAL_H -#define UANPHYDUAL_H +#ifndef UAN_PHY_DUAL_H +#define UAN_PHY_DUAL_H #include "ns3/uan-phy.h" @@ -248,6 +248,11 @@ public: */ void SetSinrModelPhy2 (Ptr calcSinr); + virtual void SetSleepMode (bool sleep) + { + //TODO This method has to be implemented + } + /** * \returns Packet currently being received on Phy1 (Null Ptr if none) */ @@ -279,4 +284,4 @@ protected: } -#endif // UANPHYDUAL_H +#endif /* UAN_PHY_DUAL_H */ diff --git a/src/uan/model/uan-phy-gen.cc b/src/uan/model/uan-phy-gen.cc index b48330fba..45a989ddd 100644 --- a/src/uan/model/uan-phy-gen.cc +++ b/src/uan/model/uan-phy-gen.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -522,6 +522,11 @@ UanPhyGen::SendPacket (Ptr pkt, uint32_t modeNum) NS_LOG_DEBUG ("PHY requested to TX while already Transmitting. Dropping packet."); return; } + else if (m_state == SLEEP) + { + NS_LOG_DEBUG ("PHY requested to TX while sleeping. Dropping packet."); + return; + } UanTxMode txMode = GetMode (modeNum); @@ -544,6 +549,12 @@ UanPhyGen::SendPacket (Ptr pkt, uint32_t modeNum) void UanPhyGen::TxEndEvent () { + if (m_state == SLEEP || m_disabled == true) + { + NS_LOG_DEBUG ("Transmission ended but node sleeping or dead"); + return; + } + NS_ASSERT (m_state == TX); if (GetInterferenceDb ( (Ptr) 0) > m_ccaThreshDb) { @@ -626,7 +637,7 @@ UanPhyGen::StartRxPacket (Ptr pkt, double rxPowerDb, UanTxMode txMode, U } break; case SLEEP: - NS_FATAL_ERROR ("SLEEP state handling not yet implemented!"); + NS_LOG_DEBUG ("Sleep mode. Dropping packet."); break; } @@ -646,6 +657,13 @@ UanPhyGen::RxEndEvent (Ptr pkt, double rxPowerDb, UanTxMode txMode) return; } + if (m_disabled || m_state == SLEEP) + { + NS_LOG_DEBUG ("Sleep mode or dead. Dropping packet"); + m_pktRx = 0; + return; + } + if (GetInterferenceDb ( (Ptr) 0) > m_ccaThreshDb) { m_state = CCABUSY; @@ -811,6 +829,26 @@ UanPhyGen::SetTransducer (Ptr trans) m_transducer->AddPhy (this); } +void +UanPhyGen::SetSleepMode (bool sleep) +{ + if (sleep) + { + m_state = SLEEP; + if (!m_energyCallback.IsNull ()) + { + m_energyCallback (SLEEP); + } + } + else + { + m_state = IDLE; + if (!m_energyCallback.IsNull ()) + { + m_energyCallback (IDLE); + } + } +} void UanPhyGen::NotifyTransStartTx (Ptr packet, double txPowerDb, UanTxMode txMode) diff --git a/src/uan/model/uan-phy-gen.h b/src/uan/model/uan-phy-gen.h index a1d34ea53..8cd9a9a6b 100644 --- a/src/uan/model/uan-phy-gen.h +++ b/src/uan/model/uan-phy-gen.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -19,8 +19,8 @@ * Andrea Sacco */ -#ifndef UANPHYGEN_H -#define UANPHYGEN_H +#ifndef UAN_PHY_GEN_H +#define UAN_PHY_GEN_H #include "uan-phy.h" @@ -203,6 +203,8 @@ public: virtual Ptr GetPacketRx (void) const; virtual void Clear (void); + virtual void SetSleepMode (bool sleep); + private: typedef std::list ListenerList; @@ -261,4 +263,4 @@ protected: } // namespace ns3 -#endif // UANPHYGEN_H +#endif /* UAN_PHY_GEN_H */ diff --git a/src/uan/model/uan-phy.cc b/src/uan/model/uan-phy.cc index 3194aa284..8668b5cd0 100644 --- a/src/uan/model/uan-phy.cc +++ b/src/uan/model/uan-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -22,6 +22,15 @@ namespace ns3 { +NS_OBJECT_ENSURE_REGISTERED (UanPhyCalcSinr); + +TypeId UanPhyCalcSinr::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::UanPhyCalcSinr") + .SetParent (); + return tid; +} + void UanPhyCalcSinr::Clear () { @@ -34,6 +43,15 @@ UanPhyCalcSinr::DoDispose () Object::DoDispose (); } +NS_OBJECT_ENSURE_REGISTERED (UanPhyPer); + +TypeId UanPhyPer::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::UanPhyPer") + .SetParent (); + return tid; +} + void UanPhyPer::Clear () { @@ -46,4 +64,13 @@ UanPhyPer::DoDispose () Object::DoDispose (); } -} //namespace ns3 +NS_OBJECT_ENSURE_REGISTERED (UanPhy); + +TypeId UanPhy::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::UanPhy") + .SetParent (); + return tid; +} + +} // namespace ns3 diff --git a/src/uan/model/uan-phy.h b/src/uan/model/uan-phy.h index 08d8ecb73..380ea0218 100644 --- a/src/uan/model/uan-phy.h +++ b/src/uan/model/uan-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -20,8 +20,8 @@ */ -#ifndef UANPHY_H -#define UANPHY_H +#ifndef UAN_PHY_H +#define UAN_PHY_H #include "ns3/object.h" #include "ns3/uan-mac.h" @@ -44,6 +44,8 @@ class UanPhyCalcSinr : public Object { public: + static TypeId GetTypeId (void); + /** * \param pkt Packet to calculate SINR for * \param arrTime Arrival time of pkt @@ -97,6 +99,8 @@ public: class UanPhyPer : public Object { public: + static TypeId GetTypeId (void); + /** * Calculates the prob. of packet error based on * SINR at the receiver and a tx mode. @@ -163,6 +167,8 @@ public: class UanPhy : public Object { public: + static TypeId GetTypeId (void); + // / Enum defining possible Phy states enum State { @@ -374,8 +380,10 @@ public: * Clears all pointer references */ virtual void Clear (void) = 0; + + virtual void SetSleepMode (bool sleep) = 0; }; } -#endif // UANPHY_H +#endif /* UAN_PHY_H */ diff --git a/src/uan/model/uan-prop-model-ideal.cc b/src/uan/model/uan-prop-model-ideal.cc index 6ef01a40c..dbd7167a9 100644 --- a/src/uan/model/uan-prop-model-ideal.cc +++ b/src/uan/model/uan-prop-model-ideal.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -38,7 +38,7 @@ TypeId UanPropModelIdeal::GetTypeId (void) { static TypeId tid = TypeId ("ns3::UanPropModelIdeal") - .SetParent () + .SetParent () .AddConstructor () ; return tid; diff --git a/src/uan/model/uan-prop-model-ideal.h b/src/uan/model/uan-prop-model-ideal.h index e1b7d2271..200bd06c5 100644 --- a/src/uan/model/uan-prop-model-ideal.h +++ b/src/uan/model/uan-prop-model-ideal.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,12 +18,13 @@ * Author: Leonard Tracy */ -#ifndef UANPROPMODELIDEAL_H_ -#define UANPROPMODELIDEAL_H_ +#ifndef UAN_PROP_MODEL_IDEAL_H +#define UAN_PROP_MODEL_IDEAL_H #include "uan-prop-model.h" #include "ns3/mobility-model.h" #include "ns3/nstime.h" + namespace ns3 { /** @@ -47,4 +48,4 @@ public: } -#endif /*UANPROPMODELIDEAL_H_*/ +#endif /* UAN_PROP_MODEL_IDEAL_H */ diff --git a/src/uan/model/uan-prop-model-thorp.cc b/src/uan/model/uan-prop-model-thorp.cc index 68d0463e4..fae41dac2 100644 --- a/src/uan/model/uan-prop-model-thorp.cc +++ b/src/uan/model/uan-prop-model-thorp.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-prop-model-thorp.h b/src/uan/model/uan-prop-model-thorp.h index 94437c149..2e17387df 100644 --- a/src/uan/model/uan-prop-model-thorp.h +++ b/src/uan/model/uan-prop-model-thorp.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANPROPMODELTHORP_H_ -#define UANPROPMODELTHORP_H_ +#ifndef UAN_PROP_MODEL_THORP_H +#define UAN_PROP_MODEL_THORP_H #include "uan-prop-model.h" @@ -51,4 +51,4 @@ private: } -#endif /* UANPROPMODELTHORP_H_ */ +#endif /* UAN_PROP_MODEL_THORP_H */ diff --git a/src/uan/model/uan-prop-model.cc b/src/uan/model/uan-prop-model.cc index abfb18200..3b0121832 100644 --- a/src/uan/model/uan-prop-model.cc +++ b/src/uan/model/uan-prop-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -336,6 +336,15 @@ UanPdp::CreateImpulsePdp (void) return pdp; } +NS_OBJECT_ENSURE_REGISTERED (UanPropModel); + +TypeId UanPropModel::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::UanPropModel") + .SetParent (); + return tid; +} + void UanPropModel::Clear (void) { diff --git a/src/uan/model/uan-prop-model.h b/src/uan/model/uan-prop-model.h index 224366400..792cbaafe 100644 --- a/src/uan/model/uan-prop-model.h +++ b/src/uan/model/uan-prop-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANPROPMODEL_H_ -#define UANPROPMODEL_H_ +#ifndef UAN_PROP_MODEL_H +#define UAN_PROP_MODEL_H #include "ns3/object.h" #include "ns3/mobility-model.h" @@ -216,6 +216,8 @@ std::istream &operator>> (std::ostream &is, UanPdp &pdp); class UanPropModel : public Object { public: + static TypeId GetTypeId (void); + /** * Computes pathloss between nodes a and b. * \returns Pathloss in dB re 1 uPa @@ -251,4 +253,4 @@ public: } -#endif /*UANPROPMODEL_H_*/ +#endif /* UAN_PROP_MODEL_H */ diff --git a/src/uan/model/uan-transducer-hd.cc b/src/uan/model/uan-transducer-hd.cc index c08da0069..095ec758a 100644 --- a/src/uan/model/uan-transducer-hd.cc +++ b/src/uan/model/uan-transducer-hd.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-transducer-hd.h b/src/uan/model/uan-transducer-hd.h index fa676acb0..77d258f57 100644 --- a/src/uan/model/uan-transducer-hd.h +++ b/src/uan/model/uan-transducer-hd.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANTRANSDUCERHD_H_ -#define UANTRANSDUCERHD_H_ +#ifndef UAN_TRANSDUCER_HD_H +#define UAN_TRANSDUCER_HD_H #include "uan-transducer.h" #include "ns3/simulator.h" @@ -69,4 +69,4 @@ protected: } -#endif /*UANTRANSDUCERSIMPLE_H_*/ +#endif /* UAN_TRANSDUCER_HD_H */ diff --git a/src/uan/model/uan-transducer.cc b/src/uan/model/uan-transducer.cc new file mode 100644 index 000000000..8b6c4a996 --- /dev/null +++ b/src/uan/model/uan-transducer.cc @@ -0,0 +1,34 @@ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* + * Copyright (c) 2011 University of Washington + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Author: Mitch Watrous + */ + +#include "uan-transducer.h" + +namespace ns3 { + +NS_OBJECT_ENSURE_REGISTERED (UanTransducer); + +TypeId UanTransducer::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::UanTransducer") + .SetParent (); + return tid; +} + +} // namespace ns3 diff --git a/src/uan/model/uan-transducer.h b/src/uan/model/uan-transducer.h index 984f80c48..aa7fd1645 100644 --- a/src/uan/model/uan-transducer.h +++ b/src/uan/model/uan-transducer.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -17,8 +17,9 @@ * * Author: Leonard Tracy */ -#ifndef UANTRANSDUCER_H_ -#define UANTRANSDUCER_H_ + +#ifndef UAN_TRANSDUCER_H +#define UAN_TRANSDUCER_H #include "ns3/object.h" #include "ns3/packet.h" @@ -26,6 +27,7 @@ #include "ns3/uan-prop-model.h" #include + namespace ns3 { class UanPhy; @@ -121,6 +123,8 @@ private: class UanTransducer : public Object { public: + static TypeId GetTypeId (void); + /** * \brief Transducer state (receiving or transmitting) */ @@ -195,4 +199,4 @@ public: } // namespace ns3 -#endif /*UANTRANSDUCER_H_*/ +#endif /* UAN_TRANSDUCER_H */ diff --git a/src/uan/model/uan-tx-mode.cc b/src/uan/model/uan-tx-mode.cc index 3c7b3bd58..ca2d6656c 100644 --- a/src/uan/model/uan-tx-mode.cc +++ b/src/uan/model/uan-tx-mode.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * diff --git a/src/uan/model/uan-tx-mode.h b/src/uan/model/uan-tx-mode.h index 4cb45b7f4..7da2ba760 100644 --- a/src/uan/model/uan-tx-mode.h +++ b/src/uan/model/uan-tx-mode.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -18,8 +18,8 @@ * Author: Leonard Tracy */ -#ifndef UANTXMODE_H -#define UANTXMODE_H +#ifndef UAN_TX_MODE_H +#define UAN_TX_MODE_H #include "ns3/object.h" #include @@ -205,4 +205,4 @@ ATTRIBUTE_HELPER_HEADER (UanModesList); } // namespace ns3 -#endif // UANTXMODE_H +#endif /* UAN_TX_MODE_H */ diff --git a/src/uan/test/uan-test.cc b/src/uan/test/uan-test.cc index 302c9df48..d15dc58bc 100644 --- a/src/uan/test/uan-test.cc +++ b/src/uan/test/uan-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 University of Washington * @@ -132,19 +132,15 @@ bool UanTest::DoPhyTests () { // Phy Gen / Default PER / Default SINR - AttributeList phyList; UanModesList mList; UanTxMode mode = UanTxModeFactory::CreateMode (UanTxMode::FSK, 80, 80, 10000, 4000, 2, "TestMode"); mList.AppendMode (UanTxMode (mode)); Ptr perDef = CreateObject (); Ptr sinrDef = CreateObject (); - TypeId phyId = TypeId::LookupByName ("ns3::UanPhyGen"); - m_phyFac.SetTypeId (phyId); - phyList.SetWithTid (phyId, "PerModel", PointerValue (perDef)); - phyList.SetWithTid (phyId, "SinrModel", PointerValue (sinrDef)); - phyList.SetWithTid (phyId, "SupportedModes", UanModesListValue (mList)); - - m_phyFac.Set (phyList); + m_phyFac.SetTypeId ("ns3::UanPhyGen"); + m_phyFac.Set ("PerModel", PointerValue (perDef)); + m_phyFac.Set ("SinrModel", PointerValue (sinrDef)); + m_phyFac.Set ("SupportedModes", UanModesListValue (mList)); Ptr prop = CreateObject (); @@ -160,11 +156,9 @@ UanTest::DoPhyTests () // Phy Gen / FH-FSK SINR check Ptr sinrFhfsk = CreateObject (); - phyList.Reset (); - phyList.SetWithTid (phyId, "PerModel", PointerValue (perDef)); - phyList.SetWithTid (phyId, "SinrModel", PointerValue (sinrFhfsk)); - phyList.SetWithTid (phyId, "SupportedModes", UanModesListValue (mList)); - m_phyFac.Set (phyList); + m_phyFac.Set ("PerModel", PointerValue (perDef)); + m_phyFac.Set ("SinrModel", PointerValue (sinrFhfsk)); + m_phyFac.Set ("SupportedModes", UanModesListValue (mList)); #ifdef UAN_PROP_BH_INSTALLED Ptr prop = CreateObject (); @@ -199,12 +193,10 @@ UanTest::DoPhyTests () m1.AppendMode (mode11); m1.AppendMode (mode21); - phyId = TypeId::LookupByName ("ns3::UanPhyDual"); - m_phyFac.SetTypeId (phyId); - phyList.Reset (); - phyList.SetWithTid (phyId, "SupportedModesPhy1", UanModesListValue (m0)); - phyList.SetWithTid (phyId, "SupportedModesPhy2", UanModesListValue (m1)); - m_phyFac.Set (phyList); + m_phyFac = ObjectFactory (); + m_phyFac.SetTypeId ("ns3::UanPhyDual"); + m_phyFac.Set ("SupportedModesPhy1", UanModesListValue (m0)); + m_phyFac.Set ("SupportedModesPhy2", UanModesListValue (m1)); // No collision (Get 2 packets) NS_TEST_ASSERT_MSG_EQ_RETURNS_BOOL (DoOnePhyTest (Seconds (1.0), Seconds (3.01), 50, 50, prop), diff --git a/src/uan/wscript b/src/uan/wscript index 2030ee156..d72cabf8d 100644 --- a/src/uan/wscript +++ b/src/uan/wscript @@ -5,6 +5,8 @@ def build(bld): module.source = [ 'model/uan-channel.cc', 'model/uan-phy-gen.cc', + 'model/uan-mac.cc', + 'model/uan-transducer.cc', 'model/uan-transducer-hd.cc', 'model/uan-address.cc', 'model/uan-net-device.cc', @@ -32,7 +34,7 @@ def build(bld): 'test/uan-test.cc', 'test/uan-energy-model-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'uan' headers.source = [ 'model/uan-channel.h', diff --git a/src/virtual-net-device/model/virtual-net-device.h b/src/virtual-net-device/model/virtual-net-device.h index e9a7a6439..9b8ef6a7a 100644 --- a/src/virtual-net-device/model/virtual-net-device.h +++ b/src/virtual-net-device/model/virtual-net-device.h @@ -170,7 +170,7 @@ private: bool m_isPointToPoint; }; -}; // namespace ns3 +} // namespace ns3 #endif diff --git a/src/virtual-net-device/wscript b/src/virtual-net-device/wscript index 2b462afc2..590e3a845 100644 --- a/src/virtual-net-device/wscript +++ b/src/virtual-net-device/wscript @@ -6,7 +6,7 @@ def build(bld): module.source = [ 'model/virtual-net-device.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'virtual-net-device' headers.source = [ 'model/virtual-net-device.h', diff --git a/src/visualizer/bindings/modulegen__gcc_ILP32.py b/src/visualizer/bindings/modulegen__gcc_ILP32.py index de02af88b..b11ac12a0 100644 --- a/src/visualizer/bindings/modulegen__gcc_ILP32.py +++ b/src/visualizer/bindings/modulegen__gcc_ILP32.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -68,6 +70,8 @@ def register_types(module): module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core') ## object.h (module 'core'): ns3::ObjectDeleter [struct] module.add_class('ObjectDeleter', import_from_module='ns.core') + ## object-factory.h (module 'core'): ns3::ObjectFactory [class] + module.add_class('ObjectFactory', import_from_module='ns.core') ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class] module.add_class('PacketMetadata', import_from_module='ns.network') ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct] @@ -108,6 +112,8 @@ def register_types(module): module.add_class('TxPacketSample', parent=root_module['ns3::PyViz::PacketSample'], outer_class=root_module['ns3::PyViz']) ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator.h (module 'core'): ns3::Simulator [class] + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -116,10 +122,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -154,10 +160,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -172,6 +180,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -201,7 +211,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -236,6 +246,10 @@ def register_types(module): 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']) + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class] + module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class] + module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## 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] @@ -262,6 +276,7 @@ def register_types(module): module.add_container('std::vector< std::string >', 'std::string', container_type='vector') module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set') module.add_container('std::vector< ns3::PyViz::NodeStatistics >', 'ns3::PyViz::NodeStatistics', container_type='vector') + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') ## Register a nested module for the namespace FatalImpl @@ -275,7 +290,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -293,6 +309,7 @@ def register_methods(root_module): register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address']) register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) + register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata']) register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item']) register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator']) @@ -311,11 +328,12 @@ def register_methods(root_module): register_Ns3PyVizTransmissionSample_methods(root_module, root_module['ns3::PyViz::TransmissionSample']) register_Ns3PyVizTxPacketSample_methods(root_module, root_module['ns3::PyViz::TxPacketSample']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) + register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -333,11 +351,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -367,6 +387,8 @@ def register_methods(root_module): register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) + register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) + register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) @@ -447,41 +469,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1463,10 +1487,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1487,6 +1511,42 @@ def register_Ns3ObjectDeleter_methods(root_module, cls): is_static=True) return +def register_Ns3ObjectFactory_methods(root_module, cls): + cls.add_output_stream_operator() + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) + ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] + cls.add_method('Create', + 'ns3::Ptr< ns3::Object >', + [], + is_const=True) + ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_const=True) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('Set', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('ns3::TypeId', 'tid')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('char const *', 'tid')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('std::string', 'tid')]) + return + def register_Ns3PacketMetadata_methods(root_module, cls): ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor] cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')]) @@ -1865,6 +1925,96 @@ def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods is_static=True) return +def register_Ns3Simulator_methods(root_module, cls): + ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) + ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static ns3::Ptr ns3::Simulator::GetImplementation() [member function] + cls.add_method('GetImplementation', + 'ns3::Ptr< ns3::SimulatorImpl >', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] + cls.add_method('SetImplementation', + 'void', + [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_static=True) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -1979,23 +2129,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2003,26 +2143,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2053,14 +2178,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2068,11 +2188,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2097,22 +2212,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2122,6 +2232,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2136,35 +2250,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2438,10 +2555,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2666,6 +2783,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3186,6 +3315,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3266,6 +3422,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3620,29 +3781,18 @@ def register_Ns3Ipv4AddressValue_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -3651,102 +3801,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -3757,36 +3836,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -3797,26 +3958,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -3911,10 +4072,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4390,10 +4556,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4408,11 +4582,46 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', + return + +def register_Ns3ObjectFactoryChecker_methods(root_module, cls): + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')]) + return + +def register_Ns3ObjectFactoryValue_methods(root_module, cls): + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor] + cls.add_constructor([param('ns3::ObjectFactory const &', 'value')]) + ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactoryValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::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) + ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function] + cls.add_method('Get', + 'ns3::ObjectFactory', + [], + is_const=True) + ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::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) + ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function] + cls.add_method('Set', 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) + [param('ns3::ObjectFactory const &', 'value')]) return def register_Ns3OutputStreamWrapper_methods(root_module, cls): diff --git a/src/visualizer/bindings/modulegen__gcc_LP64.py b/src/visualizer/bindings/modulegen__gcc_LP64.py index de02af88b..b11ac12a0 100644 --- a/src/visualizer/bindings/modulegen__gcc_LP64.py +++ b/src/visualizer/bindings/modulegen__gcc_LP64.py @@ -24,8 +24,10 @@ def register_types(module): module.add_class('Address', import_from_module='ns.network') ## address.h (module 'network'): ns3::Address::MaxSize_e [enumeration] module.add_enum('MaxSize_e', ['MAX_SIZE'], outer_class=root_module['ns3::Address'], import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -68,6 +70,8 @@ def register_types(module): module.add_class('ObjectBase', allow_subclassing=True, import_from_module='ns.core') ## object.h (module 'core'): ns3::ObjectDeleter [struct] module.add_class('ObjectDeleter', import_from_module='ns.core') + ## object-factory.h (module 'core'): ns3::ObjectFactory [class] + module.add_class('ObjectFactory', import_from_module='ns.core') ## packet-metadata.h (module 'network'): ns3::PacketMetadata [class] module.add_class('PacketMetadata', import_from_module='ns.network') ## packet-metadata.h (module 'network'): ns3::PacketMetadata::Item [struct] @@ -108,6 +112,8 @@ def register_types(module): module.add_class('TxPacketSample', parent=root_module['ns3::PyViz::PacketSample'], outer_class=root_module['ns3::PyViz']) ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## simulator.h (module 'core'): ns3::Simulator [class] + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -116,10 +122,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## empty.h (module 'core'): ns3::empty [class] module.add_class('empty', import_from_module='ns.core') ## int64x64-double.h (module 'core'): ns3::int64x64_t [class] @@ -154,10 +160,12 @@ def register_types(module): 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::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] module.add_class('Socket', import_from_module='ns.network', parent=root_module['ns3::Object']) ## socket.h (module 'network'): ns3::Socket::SocketErrno [enumeration] - module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') + module.add_enum('SocketErrno', ['ERROR_NOTERROR', 'ERROR_ISCONN', 'ERROR_NOTCONN', 'ERROR_MSGSIZE', 'ERROR_AGAIN', 'ERROR_SHUTDOWN', 'ERROR_OPNOTSUPP', 'ERROR_AFNOSUPPORT', 'ERROR_INVAL', 'ERROR_BADF', 'ERROR_NOROUTETOHOST', 'ERROR_NODEV', 'ERROR_ADDRNOTAVAIL', 'ERROR_ADDRINUSE', 'SOCKET_ERRNO_LAST'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::Socket::SocketType [enumeration] module.add_enum('SocketType', ['NS3_SOCK_STREAM', 'NS3_SOCK_SEQPACKET', 'NS3_SOCK_DGRAM', 'NS3_SOCK_RAW'], outer_class=root_module['ns3::Socket'], import_from_module='ns.network') ## socket.h (module 'network'): ns3::SocketAddressTag [class] @@ -172,6 +180,8 @@ def register_types(module): module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## 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] @@ -201,7 +211,7 @@ def register_types(module): ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol [class] module.add_class('Ipv4L3Protocol', import_from_module='ns.internet', parent=root_module['ns3::Ipv4']) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::DropReason [enumeration] - module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') + module.add_enum('DropReason', ['DROP_TTL_EXPIRED', 'DROP_NO_ROUTE', 'DROP_BAD_CHECKSUM', 'DROP_INTERFACE_DOWN', 'DROP_ROUTE_ERROR', 'DROP_FRAGMENT_TIMEOUT'], outer_class=root_module['ns3::Ipv4L3Protocol'], import_from_module='ns.internet') ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol [class] module.add_class('Ipv4L4Protocol', import_from_module='ns.internet', parent=root_module['ns3::Object']) ## ipv4-l4-protocol.h (module 'internet'): ns3::Ipv4L4Protocol::RxStatus [enumeration] @@ -236,6 +246,10 @@ def register_types(module): 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']) + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker [class] + module.add_class('ObjectFactoryChecker', import_from_module='ns.core', parent=root_module['ns3::AttributeChecker']) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue [class] + module.add_class('ObjectFactoryValue', import_from_module='ns.core', parent=root_module['ns3::AttributeValue']) ## 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] @@ -262,6 +276,7 @@ def register_types(module): module.add_container('std::vector< std::string >', 'std::string', container_type='vector') module.add_container('std::set< unsigned int >', 'unsigned int', container_type='set') module.add_container('std::vector< ns3::PyViz::NodeStatistics >', 'ns3::PyViz::NodeStatistics', container_type='vector') + module.add_container('std::map< unsigned int, unsigned int >', ('unsigned int', 'unsigned int'), container_type='map') ## Register a nested module for the namespace FatalImpl @@ -275,7 +290,8 @@ def register_types_ns3_FatalImpl(module): def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -293,6 +309,7 @@ def register_methods(root_module): register_Ns3Mac48Address_methods(root_module, root_module['ns3::Mac48Address']) register_Ns3ObjectBase_methods(root_module, root_module['ns3::ObjectBase']) register_Ns3ObjectDeleter_methods(root_module, root_module['ns3::ObjectDeleter']) + register_Ns3ObjectFactory_methods(root_module, root_module['ns3::ObjectFactory']) register_Ns3PacketMetadata_methods(root_module, root_module['ns3::PacketMetadata']) register_Ns3PacketMetadataItem_methods(root_module, root_module['ns3::PacketMetadata::Item']) register_Ns3PacketMetadataItemIterator_methods(root_module, root_module['ns3::PacketMetadata::ItemIterator']) @@ -311,11 +328,12 @@ def register_methods(root_module): register_Ns3PyVizTransmissionSample_methods(root_module, root_module['ns3::PyViz::TransmissionSample']) register_Ns3PyVizTxPacketSample_methods(root_module, root_module['ns3::PyViz::TxPacketSample']) register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods(root_module, root_module['ns3::SimpleRefCount< ns3::Object, ns3::ObjectBase, ns3::ObjectDeleter >']) + register_Ns3Simulator_methods(root_module, root_module['ns3::Simulator']) register_Ns3Tag_methods(root_module, root_module['ns3::Tag']) register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3Empty_methods(root_module, root_module['ns3::empty']) register_Ns3Int64x64_t_methods(root_module, root_module['ns3::int64x64_t']) register_Ns3Chunk_methods(root_module, root_module['ns3::Chunk']) @@ -333,11 +351,13 @@ def register_methods(root_module): 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__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_Ns3SocketAddressTag_methods(root_module, root_module['ns3::SocketAddressTag']) register_Ns3SocketIpTtlTag_methods(root_module, root_module['ns3::SocketIpTtlTag']) 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_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']) @@ -367,6 +387,8 @@ def register_methods(root_module): register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) register_Ns3Node_methods(root_module, root_module['ns3::Node']) + register_Ns3ObjectFactoryChecker_methods(root_module, root_module['ns3::ObjectFactoryChecker']) + register_Ns3ObjectFactoryValue_methods(root_module, root_module['ns3::ObjectFactoryValue']) register_Ns3OutputStreamWrapper_methods(root_module, root_module['ns3::OutputStreamWrapper']) register_Ns3Packet_methods(root_module, root_module['ns3::Packet']) register_Ns3TimeChecker_methods(root_module, root_module['ns3::TimeChecker']) @@ -447,41 +469,43 @@ def register_Ns3Address_methods(root_module, cls): is_const=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -1463,10 +1487,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -1487,6 +1511,42 @@ def register_Ns3ObjectDeleter_methods(root_module, cls): is_static=True) return +def register_Ns3ObjectFactory_methods(root_module, cls): + cls.add_output_stream_operator() + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(ns3::ObjectFactory const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) + ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] + cls.add_method('Create', + 'ns3::Ptr< ns3::Object >', + [], + is_const=True) + ## object-factory.h (module 'core'): ns3::TypeId ns3::ObjectFactory::GetTypeId() const [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_const=True) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(std::string name, ns3::AttributeValue const & value) [member function] + cls.add_method('Set', + 'void', + [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('ns3::TypeId', 'tid')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(char const * tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('char const *', 'tid')]) + ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(std::string tid) [member function] + cls.add_method('SetTypeId', + 'void', + [param('std::string', 'tid')]) + return + def register_Ns3PacketMetadata_methods(root_module, cls): ## packet-metadata.h (module 'network'): ns3::PacketMetadata::PacketMetadata(uint64_t uid, uint32_t size) [constructor] cls.add_constructor([param('uint64_t', 'uid'), param('uint32_t', 'size')]) @@ -1865,6 +1925,96 @@ def register_Ns3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter_methods is_static=True) return +def register_Ns3Simulator_methods(root_module, cls): + ## simulator.h (module 'core'): ns3::Simulator::Simulator(ns3::Simulator const & arg0) [copy constructor] + cls.add_constructor([param('ns3::Simulator const &', 'arg0')]) + ## simulator.h (module 'core'): static void ns3::Simulator::Cancel(ns3::EventId const & id) [member function] + cls.add_method('Cancel', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Destroy() [member function] + cls.add_method('Destroy', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetContext() [member function] + cls.add_method('GetContext', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetDelayLeft(ns3::EventId const & id) [member function] + cls.add_method('GetDelayLeft', + 'ns3::Time', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static ns3::Ptr ns3::Simulator::GetImplementation() [member function] + cls.add_method('GetImplementation', + 'ns3::Ptr< ns3::SimulatorImpl >', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::GetMaximumSimulationTime() [member function] + cls.add_method('GetMaximumSimulationTime', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static uint32_t ns3::Simulator::GetSystemId() [member function] + cls.add_method('GetSystemId', + 'uint32_t', + [], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsExpired(ns3::EventId const & id) [member function] + cls.add_method('IsExpired', + 'bool', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static bool ns3::Simulator::IsFinished() [member function] + cls.add_method('IsFinished', + 'bool', + [], + is_static=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Next() [member function] + cls.add_method('Next', + 'ns3::Time', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static ns3::Time ns3::Simulator::Now() [member function] + cls.add_method('Now', + 'ns3::Time', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Remove(ns3::EventId const & id) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::EventId const &', 'id')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::RunOneEvent() [member function] + cls.add_method('RunOneEvent', + 'void', + [], + is_static=True, deprecated=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetImplementation(ns3::Ptr impl) [member function] + cls.add_method('SetImplementation', + 'void', + [param('ns3::Ptr< ns3::SimulatorImpl >', 'impl')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::SetScheduler(ns3::ObjectFactory schedulerFactory) [member function] + cls.add_method('SetScheduler', + 'void', + [param('ns3::ObjectFactory', 'schedulerFactory')], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop() [member function] + cls.add_method('Stop', + 'void', + [], + is_static=True) + ## simulator.h (module 'core'): static void ns3::Simulator::Stop(ns3::Time const & time) [member function] + cls.add_method('Stop', + 'void', + [param('ns3::Time const &', 'time')], + is_static=True) + return + def register_Ns3Tag_methods(root_module, cls): ## tag.h (module 'network'): ns3::Tag::Tag() [constructor] cls.add_constructor([]) @@ -1979,23 +2129,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -2003,26 +2143,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -2053,14 +2178,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -2068,11 +2188,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -2097,22 +2212,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -2122,6 +2232,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -2136,35 +2250,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3Empty_methods(root_module, cls): @@ -2438,10 +2555,10 @@ def register_Ns3Ipv4Header_methods(root_module, cls): cls.add_method('SetDontFragment', 'void', []) - ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offset) [member function] + ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetFragmentOffset(uint16_t offsetBytes) [member function] cls.add_method('SetFragmentOffset', 'void', - [param('uint16_t', 'offset')]) + [param('uint16_t', 'offsetBytes')]) ## ipv4-header.h (module 'internet'): void ns3::Ipv4Header::SetIdentification(uint16_t identification) [member function] cls.add_method('SetIdentification', 'void', @@ -2666,6 +2783,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3Socket_methods(root_module, cls): ## socket.h (module 'network'): ns3::Socket::Socket(ns3::Socket const & arg0) [copy constructor] cls.add_constructor([param('ns3::Socket const &', 'arg0')]) @@ -3186,6 +3315,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -3266,6 +3422,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -3620,29 +3781,18 @@ def register_Ns3Ipv4AddressValue_methods(root_module, cls): return def register_Ns3Ipv4L3Protocol_methods(root_module, cls): - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] - cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] - cls.add_method('GetTypeId', - 'ns3::TypeId', - [], - is_static=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::Ipv4L3Protocol() [constructor] cls.add_constructor([]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] - cls.add_method('SetNode', - 'void', - [param('ns3::Ptr< ns3::Node >', 'node')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] - cls.add_method('SetRoutingProtocol', - 'void', - [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] + cls.add_method('AddAddress', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] + cls.add_method('AddInterface', + 'uint32_t', + [param('ns3::Ptr< ns3::NetDevice >', 'device')], is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] - cls.add_method('GetRoutingProtocol', - 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::CreateRawSocket() [member function] cls.add_method('CreateRawSocket', 'ns3::Ptr< ns3::Socket >', @@ -3651,102 +3801,31 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): cls.add_method('DeleteRawSocket', 'void', [param('ns3::Ptr< ns3::Socket >', 'socket')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] - cls.add_method('Insert', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] - cls.add_method('GetProtocol', - 'ns3::Ptr< ns3::Ipv4L4Protocol >', - [param('int', 'protocolNumber')], - is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] - cls.add_method('Remove', - 'void', - [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] - cls.add_method('SetDefaultTtl', - 'void', - [param('uint8_t', 'ttl')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] - cls.add_method('Send', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] - cls.add_method('SendWithHeader', - 'void', - [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::AddInterface(ns3::Ptr device) [member function] - cls.add_method('AddInterface', - 'uint32_t', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] + cls.add_method('GetAddress', + 'ns3::Ipv4InterfaceAddress', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetInterface(uint32_t i) const [member function] cls.add_method('GetInterface', 'ns3::Ptr< ns3::Ipv4Interface >', [param('uint32_t', 'i')], is_const=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] - cls.add_method('GetNInterfaces', - 'uint32_t', - [], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForAddress(ns3::Ipv4Address addr) const [member function] cls.add_method('GetInterfaceForAddress', 'int32_t', [param('ns3::Ipv4Address', 'addr')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] - cls.add_method('GetInterfaceForPrefix', - 'int32_t', - [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], - is_const=True, is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForDevice(ns3::Ptr device) const [member function] cls.add_method('GetInterfaceForDevice', 'int32_t', [param('ns3::Ptr< ns3::NetDevice const >', 'device')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] - cls.add_method('IsDestinationAddress', - 'bool', - [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + ## ipv4-l3-protocol.h (module 'internet'): int32_t ns3::Ipv4L3Protocol::GetInterfaceForPrefix(ns3::Ipv4Address addr, ns3::Ipv4Mask mask) const [member function] + cls.add_method('GetInterfaceForPrefix', + 'int32_t', + [param('ns3::Ipv4Address', 'addr'), param('ns3::Ipv4Mask', 'mask')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::AddAddress(uint32_t i, ns3::Ipv4InterfaceAddress address) [member function] - cls.add_method('AddAddress', - 'bool', - [param('uint32_t', 'i'), param('ns3::Ipv4InterfaceAddress', 'address')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4InterfaceAddress ns3::Ipv4L3Protocol::GetAddress(uint32_t interfaceIndex, uint32_t addressIndex) const [member function] - cls.add_method('GetAddress', - 'ns3::Ipv4InterfaceAddress', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] - cls.add_method('GetNAddresses', - 'uint32_t', - [param('uint32_t', 'interface')], - is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] - cls.add_method('RemoveAddress', - 'bool', - [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] - cls.add_method('SelectSourceAddress', - 'ns3::Ipv4Address', - [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] - cls.add_method('SetMetric', - 'void', - [param('uint32_t', 'i'), param('uint16_t', 'metric')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): uint16_t ns3::Ipv4L3Protocol::GetMetric(uint32_t i) const [member function] cls.add_method('GetMetric', 'uint16_t', @@ -3757,36 +3836,118 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'uint16_t', [param('uint32_t', 'i')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] - cls.add_method('IsUp', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNAddresses(uint32_t interface) const [member function] + cls.add_method('GetNAddresses', + 'uint32_t', + [param('uint32_t', 'interface')], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] - cls.add_method('SetUp', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] - cls.add_method('SetDown', - 'void', - [param('uint32_t', 'i')], - is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] - cls.add_method('IsForwarding', - 'bool', - [param('uint32_t', 'i')], + ## ipv4-l3-protocol.h (module 'internet'): uint32_t ns3::Ipv4L3Protocol::GetNInterfaces() const [member function] + cls.add_method('GetNInterfaces', + 'uint32_t', + [], is_const=True, is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] - cls.add_method('SetForwarding', - 'void', - [param('uint32_t', 'i'), param('bool', 'val')], - is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetNetDevice(uint32_t i) [member function] cls.add_method('GetNetDevice', 'ns3::Ptr< ns3::NetDevice >', [param('uint32_t', 'i')], is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetProtocol(int protocolNumber) const [member function] + cls.add_method('GetProtocol', + 'ns3::Ptr< ns3::Ipv4L4Protocol >', + [param('int', 'protocolNumber')], + is_const=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ptr ns3::Ipv4L3Protocol::GetRoutingProtocol() const [member function] + cls.add_method('GetRoutingProtocol', + 'ns3::Ptr< ns3::Ipv4RoutingProtocol >', + [], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): static ns3::TypeId ns3::Ipv4L3Protocol::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Insert(ns3::Ptr protocol) [member function] + cls.add_method('Insert', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsDestinationAddress(ns3::Ipv4Address address, uint32_t iif) const [member function] + cls.add_method('IsDestinationAddress', + 'bool', + [param('ns3::Ipv4Address', 'address'), param('uint32_t', 'iif')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsForwarding(uint32_t i) const [member function] + cls.add_method('IsForwarding', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::IsUp(uint32_t i) const [member function] + cls.add_method('IsUp', + 'bool', + [param('uint32_t', 'i')], + is_const=True, is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::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')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Remove(ns3::Ptr protocol) [member function] + cls.add_method('Remove', + 'void', + [param('ns3::Ptr< ns3::Ipv4L4Protocol >', 'protocol')]) + ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::RemoveAddress(uint32_t interfaceIndex, uint32_t addressIndex) [member function] + cls.add_method('RemoveAddress', + 'bool', + [param('uint32_t', 'interfaceIndex'), param('uint32_t', 'addressIndex')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4Address ns3::Ipv4L3Protocol::SelectSourceAddress(ns3::Ptr device, ns3::Ipv4Address dst, ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e scope) [member function] + cls.add_method('SelectSourceAddress', + 'ns3::Ipv4Address', + [param('ns3::Ptr< ns3::NetDevice const >', 'device'), param('ns3::Ipv4Address', 'dst'), param('ns3::Ipv4InterfaceAddress::InterfaceAddressScope_e', 'scope')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::Send(ns3::Ptr packet, ns3::Ipv4Address source, ns3::Ipv4Address destination, uint8_t protocol, ns3::Ptr route) [member function] + cls.add_method('Send', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Address', 'source'), param('ns3::Ipv4Address', 'destination'), param('uint8_t', 'protocol'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SendWithHeader(ns3::Ptr packet, ns3::Ipv4Header ipHeader, ns3::Ptr route) [member function] + cls.add_method('SendWithHeader', + 'void', + [param('ns3::Ptr< ns3::Packet >', 'packet'), param('ns3::Ipv4Header', 'ipHeader'), param('ns3::Ptr< ns3::Ipv4Route >', 'route')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDefaultTtl(uint8_t ttl) [member function] + cls.add_method('SetDefaultTtl', + 'void', + [param('uint8_t', 'ttl')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetDown(uint32_t i) [member function] + cls.add_method('SetDown', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetForwarding(uint32_t i, bool val) [member function] + cls.add_method('SetForwarding', + 'void', + [param('uint32_t', 'i'), param('bool', 'val')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetMetric(uint32_t i, uint16_t metric) [member function] + cls.add_method('SetMetric', + 'void', + [param('uint32_t', 'i'), param('uint16_t', 'metric')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetNode(ns3::Ptr node) [member function] + cls.add_method('SetNode', + 'void', + [param('ns3::Ptr< ns3::Node >', 'node')]) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetRoutingProtocol(ns3::Ptr routingProtocol) [member function] + cls.add_method('SetRoutingProtocol', + 'void', + [param('ns3::Ptr< ns3::Ipv4RoutingProtocol >', 'routingProtocol')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetUp(uint32_t i) [member function] + cls.add_method('SetUp', + 'void', + [param('uint32_t', 'i')], + is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): ns3::Ipv4L3Protocol::PROT_NUMBER [variable] + cls.add_static_attribute('PROT_NUMBER', 'uint16_t const', is_const=True) ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::DoDispose() [member function] cls.add_method('DoDispose', 'void', @@ -3797,26 +3958,26 @@ def register_Ns3Ipv4L3Protocol_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] - cls.add_method('SetIpForward', - 'void', - [param('bool', 'forward')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetIpForward() const [member function] cls.add_method('GetIpForward', 'bool', [], is_const=True, visibility='private', is_virtual=True) - ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] - cls.add_method('SetWeakEsModel', - 'void', - [param('bool', 'model')], - visibility='private', is_virtual=True) ## ipv4-l3-protocol.h (module 'internet'): bool ns3::Ipv4L3Protocol::GetWeakEsModel() const [member function] cls.add_method('GetWeakEsModel', 'bool', [], is_const=True, visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetIpForward(bool forward) [member function] + cls.add_method('SetIpForward', + 'void', + [param('bool', 'forward')], + visibility='private', is_virtual=True) + ## ipv4-l3-protocol.h (module 'internet'): void ns3::Ipv4L3Protocol::SetWeakEsModel(bool model) [member function] + cls.add_method('SetWeakEsModel', + 'void', + [param('bool', 'model')], + visibility='private', is_virtual=True) return def register_Ns3Ipv4L4Protocol_methods(root_module, cls): @@ -3911,10 +4072,15 @@ def register_Ns3Ipv4MulticastRoute_methods(root_module, cls): 'ns3::Ipv4Address', [], is_const=True) - ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) const [member function] + ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetOutputTtl(uint32_t oif) [member function] cls.add_method('GetOutputTtl', 'uint32_t', [param('uint32_t', 'oif')], + deprecated=True) + ## ipv4-route.h (module 'internet'): std::map, std::allocator > > ns3::Ipv4MulticastRoute::GetOutputTtlMap() const [member function] + cls.add_method('GetOutputTtlMap', + 'std::map< unsigned int, unsigned int >', + [], is_const=True) ## ipv4-route.h (module 'internet'): uint32_t ns3::Ipv4MulticastRoute::GetParent() const [member function] cls.add_method('GetParent', @@ -4390,10 +4556,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -4408,11 +4582,46 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', + return + +def register_Ns3ObjectFactoryChecker_methods(root_module, cls): + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryChecker::ObjectFactoryChecker(ns3::ObjectFactoryChecker const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactoryChecker const &', 'arg0')]) + return + +def register_Ns3ObjectFactoryValue_methods(root_module, cls): + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue() [constructor] + cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactoryValue const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ObjectFactoryValue const &', 'arg0')]) + ## object-factory.h (module 'core'): ns3::ObjectFactoryValue::ObjectFactoryValue(ns3::ObjectFactory const & value) [constructor] + cls.add_constructor([param('ns3::ObjectFactory const &', 'value')]) + ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactoryValue::Copy() const [member function] + cls.add_method('Copy', + 'ns3::Ptr< ns3::AttributeValue >', + [], + is_const=True, is_virtual=True) + ## object-factory.h (module 'core'): bool ns3::ObjectFactoryValue::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) + ## object-factory.h (module 'core'): ns3::ObjectFactory ns3::ObjectFactoryValue::Get() const [member function] + cls.add_method('Get', + 'ns3::ObjectFactory', + [], + is_const=True) + ## object-factory.h (module 'core'): std::string ns3::ObjectFactoryValue::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) + ## object-factory.h (module 'core'): void ns3::ObjectFactoryValue::Set(ns3::ObjectFactory const & value) [member function] + cls.add_method('Set', 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) + [param('ns3::ObjectFactory const &', 'value')]) return def register_Ns3OutputStreamWrapper_methods(root_module, cls): diff --git a/src/visualizer/visualizer/base.py b/src/visualizer/visualizer/base.py index acbe3e28b..9e81ebdbd 100644 --- a/src/visualizer/visualizer/base.py +++ b/src/visualizer/visualizer/base.py @@ -1,4 +1,12 @@ -import ns3 +import ns.point_to_point +import ns.csma +import ns.wifi +import ns.bridge +import ns.internet +import ns.mesh +import ns.wimax +import ns.wimax + import gobject import os.path import sys @@ -26,14 +34,14 @@ class NetDeviceTraits(object): self.is_virtual = is_virtual netdevice_traits = { - ns3.PointToPointNetDevice: NetDeviceTraits(is_wireless=False), - ns3.CsmaNetDevice: NetDeviceTraits(is_wireless=False), - ns3.WifiNetDevice: NetDeviceTraits(is_wireless=True), - ns3.BridgeNetDevice: NetDeviceTraits(is_virtual=True), - ns3.LoopbackNetDevice: NetDeviceTraits(is_virtual=True, is_wireless=False), - ns3.MeshPointDevice: NetDeviceTraits(is_virtual=True), - ns3.SubscriberStationNetDevice: NetDeviceTraits(is_wireless=True), - ns3.BaseStationNetDevice: NetDeviceTraits(is_wireless=True), + ns.point_to_point.PointToPointNetDevice: NetDeviceTraits(is_wireless=False), + ns.csma.CsmaNetDevice: NetDeviceTraits(is_wireless=False), + ns.wifi.WifiNetDevice: NetDeviceTraits(is_wireless=True), + ns.bridge.BridgeNetDevice: NetDeviceTraits(is_virtual=True), + ns.internet.LoopbackNetDevice: NetDeviceTraits(is_virtual=True, is_wireless=False), + ns.mesh.MeshPointDevice: NetDeviceTraits(is_virtual=True), + ns.wimax.SubscriberStationNetDevice: NetDeviceTraits(is_wireless=True), + ns.wimax.BaseStationNetDevice: NetDeviceTraits(is_wireless=True), } def lookup_netdevice_traits(class_type): diff --git a/src/visualizer/visualizer/core.py b/src/visualizer/visualizer/core.py index 63a91444f..2eed9bd4c 100644 --- a/src/visualizer/visualizer/core.py +++ b/src/visualizer/visualizer/core.py @@ -20,7 +20,12 @@ else: SHELL_FONT = "Luxi Mono 10" -import ns3 +import ns.core +import ns.network +import ns.visualizer +import ns.internet +import ns.mobility + import math import os import sys @@ -154,15 +159,15 @@ class Node(PyVizObject): def tooltip_query(self, tooltip): self.visualizer.simulation.lock.acquire() try: - ns3_node = ns3.NodeList.GetNode(self.node_index) - ipv4 = ns3_node.GetObject(ns3.Ipv4.GetTypeId()) - ipv6 = ns3_node.GetObject(ns3.Ipv6.GetTypeId()) + ns3_node = ns.network.NodeList.GetNode(self.node_index) + ipv4 = ns3_node.GetObject(ns.internet.Ipv4.GetTypeId()) + ipv6 = ns3_node.GetObject(ns.internet.Ipv6.GetTypeId()) lines = ['Node %i' % self.node_index] lines.append('') self.emit("query-extra-tooltip-info", lines) - mob = ns3_node.GetObject(ns3.MobilityModel.GetTypeId()) + mob = ns3_node.GetObject(ns.mobility.MobilityModel.GetTypeId()) if mob is not None: lines.append(' Mobility Model: %s' % mob.GetInstanceTypeId().GetName()) @@ -170,7 +175,7 @@ class Node(PyVizObject): lines.append('') lines.append(' NetDevice %i:' % devI) dev = ns3_node.GetDevice(devI) - name = ns3.Names.FindName(dev) + name = ns.core.Names.FindName(dev) if name: lines.append(' Name: %s' % name) devname = dev.GetInstanceTypeId().GetName() @@ -296,8 +301,8 @@ class Node(PyVizObject): @property def has_mobility(self): if self._has_mobility is None: - node = ns3.NodeList.GetNode(self.node_index) - mobility = node.GetObject(ns3.MobilityModel.GetTypeId()) + node = ns.network.NodeList.GetNode(self.node_index) + mobility = node.GetObject(ns.mobility.MobilityModel.GetTypeId()) self._has_mobility = (mobility is not None) return self._has_mobility @@ -352,7 +357,7 @@ class SimulationThread(threading.Thread): self.go.clear() self.target_time = 0 # in seconds self.quit = False - self.sim_helper = ns3.PyViz() + self.sim_helper = ns.visualizer.PyViz() self.pause_messages = [] def set_nodes_of_interest(self, nodes): @@ -374,13 +379,13 @@ class SimulationThread(threading.Thread): self.lock.acquire() try: if 0: - if ns3.Simulator.IsFinished(): + if ns3.core.Simulator.IsFinished(): self.viz.play_button.set_sensitive(False) break #print "sim: Current time is %f; Run until: %f" % (ns3.Simulator.Now ().GetSeconds (), self.target_time) #if ns3.Simulator.Now ().GetSeconds () > self.target_time: # print "skipping, model is ahead of view!" - self.sim_helper.SimulatorRunUntil(ns3.Seconds(self.target_time)) + self.sim_helper.SimulatorRunUntil(ns.core.Seconds(self.target_time)) #print "sim: Run until ended at current time: ", ns3.Simulator.Now ().GetSeconds () self.pause_messages.extend(self.sim_helper.GetPauseMessages()) gobject.idle_add(self.viz.update_model, priority=PRIORITY_UPDATE_MODEL) @@ -462,7 +467,7 @@ class Visualizer(gobject.GObject): assert isinstance(mode, ShowTransmissionsMode) self._show_transmissions_mode = mode if self._show_transmissions_mode == ShowTransmissionsMode.ALL: - self.simulation.set_nodes_of_interest(range(ns3.NodeList.GetNNodes())) + self.simulation.set_nodes_of_interest(range(ns.network.NodeList.GetNNodes())) elif self._show_transmissions_mode == ShowTransmissionsMode.NONE: self.simulation.set_nodes_of_interest([]) elif self._show_transmissions_mode == ShowTransmissionsMode.SELECTED: @@ -738,19 +743,19 @@ class Visualizer(gobject.GObject): self.window.show() def scan_topology(self): - print "scanning topology: %i nodes..." % (ns3.NodeList.GetNNodes(),) + print "scanning topology: %i nodes..." % (ns.network.NodeList.GetNNodes(),) graph = pygraphviz.AGraph() seen_nodes = 0 - for nodeI in range(ns3.NodeList.GetNNodes()): + for nodeI in range(ns.network.NodeList.GetNNodes()): seen_nodes += 1 if seen_nodes == 100: - print "scan topology... %i nodes visited (%.1f%%)" % (nodeI, 100*nodeI/ns3.NodeList.GetNNodes()) + print "scan topology... %i nodes visited (%.1f%%)" % (nodeI, 100*nodeI/ns.network.NodeList.GetNNodes()) seen_nodes = 0 - node = ns3.NodeList.GetNode(nodeI) + node = ns.network.NodeList.GetNode(nodeI) node_name = "Node %i" % nodeI node_view = self.get_node(nodeI) - mobility = node.GetObject(ns3.MobilityModel.GetTypeId()) + mobility = node.GetObject(ns.mobility.MobilityModel.GetTypeId()) if mobility is not None: node_view.set_color("red") pos = mobility.GetPosition() @@ -840,7 +845,7 @@ class Visualizer(gobject.GObject): def update_view(self): #print "update_view" - self.time_label.set_text("Time: %f s" % ns3.Simulator.Now().GetSeconds()) + self.time_label.set_text("Time: %f s" % ns.core.Simulator.Now().GetSeconds()) self._update_node_positions() @@ -856,8 +861,8 @@ class Visualizer(gobject.GObject): def _update_node_positions(self): for node in self.nodes.itervalues(): if node.has_mobility: - ns3_node = ns3.NodeList.GetNode(node.node_index) - mobility = ns3_node.GetObject(ns3.MobilityModel.GetTypeId()) + ns3_node = ns.network.NodeList.GetNode(node.node_index) + mobility = ns3_node.GetObject(ns.mobility.MobilityModel.GetTypeId()) if mobility is not None: pos = mobility.GetPosition() x, y = transform_point_simulation_to_canvas(pos.x, pos.y) @@ -870,14 +875,14 @@ class Visualizer(gobject.GObject): vadj.value = py - vadj.page_size/2 def center_on_node(self, node): - if isinstance(node, ns3.Node): + if isinstance(node, ns.network.Node): node = self.nodes[node.GetId()] elif isinstance(node, (int, long)): node = self.nodes[node] elif isinstance(node, Node): pass else: - raise TypeError("expected int, viz.Node or ns3.Node, not %r" % node) + raise TypeError("expected int, viz.Node or ns.network.Node, not %r" % node) x, y = node.get_position() hadj = self._scrolled_window.get_hadjustment() @@ -913,7 +918,7 @@ class Visualizer(gobject.GObject): bounds_x1, bounds_y1 = self.canvas.convert_from_pixels(hadj.value, vadj.value) bounds_x2, bounds_y2 = self.canvas.convert_from_pixels(hadj.value + hadj.page_size, vadj.value + vadj.page_size) - pos1_x, pos1_y, pos2_x, pos2_y = ns3.PyViz.LineClipping(bounds_x1, bounds_y1, + pos1_x, pos1_y, pos2_x, pos2_y = ns.visualizer.PyViz.LineClipping(bounds_x1, bounds_y1, bounds_x2, bounds_y2, pos1_x, pos1_y, pos2_x, pos2_y) @@ -1059,7 +1064,7 @@ class Visualizer(gobject.GObject): self.simulation.pause_messages = [] try: self.update_view() - self.simulation.target_time = ns3.Simulator.Now ().GetSeconds () + self.sample_period + self.simulation.target_time = ns.core.Simulator.Now ().GetSeconds () + self.sample_period #print "view: target time set to %f" % self.simulation.target_time finally: self.simulation.lock.release() @@ -1209,8 +1214,8 @@ class Visualizer(gobject.GObject): def begin_node_drag(self, node): self.simulation.lock.acquire() try: - ns3_node = ns3.NodeList.GetNode(node.node_index) - mob = ns3_node.GetObject(ns3.MobilityModel.GetTypeId()) + ns3_node = ns.network.NodeList.GetNode(node.node_index) + mob = ns3_node.GetObject(ns.mobility.MobilityModel.GetTypeId()) if mob is None: return if self.node_drag_state is not None: @@ -1226,8 +1231,8 @@ class Visualizer(gobject.GObject): def node_drag_motion(self, item, targe_item, event, node): self.simulation.lock.acquire() try: - ns3_node = ns3.NodeList.GetNode(node.node_index) - mob = ns3_node.GetObject(ns3.MobilityModel.GetTypeId()) + ns3_node = ns.network.NodeList.GetNode(node.node_index) + mob = ns3_node.GetObject(ns.mobility.MobilityModel.GetTypeId()) if mob is None: return False if self.node_drag_state is None: @@ -1271,14 +1276,14 @@ class Visualizer(gobject.GObject): else: self.simulation.lock.acquire() try: - ns3_node = ns3.NodeList.GetNode(self.selected_node.node_index) + ns3_node = ns.network.NodeList.GetNode(self.selected_node.node_index) finally: self.simulation.lock.release() __IPYTHON__.user_ns['selected_node'] = ns3_node def select_node(self, node): - if isinstance(node, ns3.Node): + if isinstance(node, ns.network.Node): node = self.nodes[node.GetId()] elif isinstance(node, (int, long)): node = self.nodes[node] @@ -1287,7 +1292,7 @@ class Visualizer(gobject.GObject): elif node is None: pass else: - raise TypeError("expected None, int, viz.Node or ns3.Node, not %r" % node) + raise TypeError("expected None, int, viz.Node or ns.network.Node, not %r" % node) if node is self.selected_node: return @@ -1414,7 +1419,7 @@ class Visualizer(gobject.GObject): surface.finish() def set_follow_node(self, node): - if isinstance(node, ns3.Node): + if isinstance(node, ns.network.Node): node = self.nodes[node.GetId()] self.follow_node = node @@ -1473,11 +1478,11 @@ def start(): if _import_error is not None: import sys print >> sys.stderr, "No visualization support (%s)." % (str(_import_error),) - ns3.Simulator.Run() + ns.core.Simulator.Run() return load_plugins() viz = Visualizer() for hook, args in initialization_hooks: gobject.idle_add(hook, viz, *args) - ns3.Packet.EnablePrinting() + ns.network.Packet.EnablePrinting() viz.start() diff --git a/src/visualizer/visualizer/plugins/interface_statistics.py b/src/visualizer/visualizer/plugins/interface_statistics.py index 0124ab8c3..1cb0ef573 100644 --- a/src/visualizer/visualizer/plugins/interface_statistics.py +++ b/src/visualizer/visualizer/plugins/interface_statistics.py @@ -1,5 +1,6 @@ import gtk -import ns3 +import ns.core +import ns.network from visualizer.base import InformationWindow NODE_STATISTICS_MEMORY = 10 @@ -125,13 +126,13 @@ class ShowInterfaceStatistics(InformationWindow): self.visualizer.remove_information_window(self) def update(self): - node = ns3.NodeList.GetNode(self.node_index) + node = ns.network.NodeList.GetNode(self.node_index) stats_list = self.statistics_collector.get_interface_statistics(self.node_index) self.table_model.clear() for iface, stats in enumerate(stats_list): tree_iter = self.table_model.append() netdevice = node.GetDevice(iface) - interface_name = ns3.Names.FindName(netdevice) + interface_name = ns.core.Names.FindName(netdevice) if not interface_name: interface_name = "(interface %i)" % iface self.table_model.set(tree_iter, diff --git a/src/visualizer/visualizer/plugins/ipv4_routing_table.py b/src/visualizer/visualizer/plugins/ipv4_routing_table.py index 91ed41f5e..134e7d795 100644 --- a/src/visualizer/visualizer/plugins/ipv4_routing_table.py +++ b/src/visualizer/visualizer/plugins/ipv4_routing_table.py @@ -1,5 +1,9 @@ import gtk -import ns3 + +import ns.core +import ns.network +import ns.internet + from visualizer.base import InformationWindow class ShowIpv4RoutingTable(InformationWindow): @@ -66,23 +70,23 @@ class ShowIpv4RoutingTable(InformationWindow): self.visualizer.remove_information_window(self) def update(self): - node = ns3.NodeList.GetNode(self.node_index) - ipv4 = node.GetObject(ns3.Ipv4.GetTypeId()) + node = ns.network.NodeList.GetNode(self.node_index) + ipv4 = node.GetObject(ns.internet.Ipv4.GetTypeId()) routing = ipv4.GetRoutingProtocol() if routing is None: return routing_protocols = [] # list of (protocol, type_string, priority) - if isinstance(routing, ns3.Ipv4StaticRouting): + if isinstance(routing, ns.internet.Ipv4StaticRouting): ipv4_routing = routing_protocols.append((routing, "static", 0)) - elif isinstance(routing, ns3.Ipv4ListRouting): + elif isinstance(routing, ns.internet.Ipv4ListRouting): list_routing = routing for rI in range(list_routing.GetNRoutingProtocols()): routing, prio = list_routing.GetRoutingProtocol(rI) - if isinstance(routing, ns3.Ipv4StaticRouting): + if isinstance(routing, ns.internet.Ipv4StaticRouting): routing_protocols.append((routing, "static", prio)) - elif isinstance(routing, ns3.Ipv4GlobalRouting): + elif isinstance(routing, ns.internet.Ipv4GlobalRouting): routing_protocols.append((routing, "global", prio)) if not routing_protocols: return @@ -96,7 +100,7 @@ class ShowIpv4RoutingTable(InformationWindow): if netdevice is None: interface_name = 'lo' else: - interface_name = ns3.Names.FindName(netdevice) + interface_name = ns.core.Names.FindName(netdevice) if not interface_name: interface_name = "(interface %i)" % route.GetInterface() self.table_model.set(tree_iter, diff --git a/src/visualizer/visualizer/plugins/olsr.py b/src/visualizer/visualizer/plugins/olsr.py index f74023417..b5752c8f3 100644 --- a/src/visualizer/visualizer/plugins/olsr.py +++ b/src/visualizer/visualizer/plugins/olsr.py @@ -1,5 +1,10 @@ import gtk -import ns3 + +import ns.core +import ns.network +import ns.internet +import ns.olsr + from visualizer.base import InformationWindow class ShowOlsrRoutingTable(InformationWindow): @@ -60,9 +65,9 @@ class ShowOlsrRoutingTable(InformationWindow): self.visualizer.remove_information_window(self) def update(self): - node = ns3.NodeList.GetNode(self.node_index) - olsr = node.GetObject(ns3.olsr.RoutingProtocol.GetTypeId()) - ipv4 = node.GetObject(ns3.Ipv4.GetTypeId()) + node = ns.network.NodeList.GetNode(self.node_index) + olsr = node.GetObject(ns.olsr.olsr.RoutingProtocol.GetTypeId()) + ipv4 = node.GetObject(ns.internet.Ipv4.GetTypeId()) if olsr is None: return self.table_model.clear() @@ -72,7 +77,7 @@ class ShowOlsrRoutingTable(InformationWindow): if netdevice is None: interface_name = 'lo' else: - interface_name = ns3.Names.FindName(netdevice) + interface_name = ns.core.Names.FindName(netdevice) if not interface_name: interface_name = "(interface %i)" % route.interface self.table_model.set(tree_iter, @@ -83,8 +88,8 @@ class ShowOlsrRoutingTable(InformationWindow): def populate_node_menu(viz, node, menu): - ns3_node = ns3.NodeList.GetNode(node.node_index) - olsr = ns3_node.GetObject(ns3.olsr.RoutingProtocol.GetTypeId()) + ns3_node = ns.network.NodeList.GetNode(node.node_index) + olsr = ns3_node.GetObject(ns.olsr.olsr.RoutingProtocol.GetTypeId()) if olsr is None: print "No OLSR" return diff --git a/src/visualizer/visualizer/plugins/show_last_packets.py b/src/visualizer/visualizer/plugins/show_last_packets.py index 78ae288cd..8971dfc18 100644 --- a/src/visualizer/visualizer/plugins/show_last_packets.py +++ b/src/visualizer/visualizer/plugins/show_last_packets.py @@ -1,6 +1,10 @@ import gobject import gtk -import ns3 + +import ns.core +import ns.network +import ns.visualizer + from visualizer.base import InformationWindow from visualizer.higcontainer import HIGContainer from kiwi.ui.objectlist import ObjectList, Column @@ -39,7 +43,7 @@ class ShowLastPackets(InformationWindow): if sample.device is None: interface_name = "(unknown)" else: - interface_name = ns3.Names.FindName(sample.device) + interface_name = ns.core.Names.FindName(sample.device) if not interface_name: interface_name = "(interface %i)" % sample.device.GetIfIndex() self.table_model.set(tree_iter, @@ -59,7 +63,7 @@ class ShowLastPackets(InformationWindow): self.win.set_title("Last packets for node %i" % node_index) self.visualizer = visualizer self.viz_node = visualizer.get_node(node_index) - self.node = ns3.NodeList.GetNode(node_index) + self.node = ns.network.NodeList.GetNode(node_index) def smart_expand(expander, vbox): if expander.get_expanded(): @@ -102,7 +106,7 @@ class ShowLastPackets(InformationWindow): # Packet Filter # - options - self.packet_capture_options = ns3.PyViz.PacketCaptureOptions() + self.packet_capture_options = ns.visualizer.PyViz.PacketCaptureOptions() self.packet_capture_options.numLastPackets = 100 packet_filter_vbox = gtk.VBox(False, 4) @@ -129,10 +133,10 @@ class ShowLastPackets(InformationWindow): self.packet_filter_list = [] # list of TypeIdConfig instances - Header = ns3.TypeId.LookupByName("ns3::Header") - Trailer = ns3.TypeId.LookupByName("ns3::Trailer") - for typeid_i in range(ns3.TypeId.GetRegisteredN()): - typeid = ns3.TypeId.GetRegistered(typeid_i) + Header = ns.core.TypeId.LookupByName("ns3::Header") + Trailer = ns.core.TypeId.LookupByName("ns3::Trailer") + for typeid_i in range(ns.core.TypeId.GetRegisteredN()): + typeid = ns.core.TypeId.GetRegistered(typeid_i) # check if this is a header or trailer subtype typeid_tmp = typeid type_is_good = False @@ -157,9 +161,9 @@ class ShowLastPackets(InformationWindow): def update_capture_options(): if self.op_AND_button.props.active: - self.packet_capture_options.mode = ns3.PyViz.PACKET_CAPTURE_FILTER_HEADERS_AND + self.packet_capture_options.mode = ns.visualizer.PyViz.PACKET_CAPTURE_FILTER_HEADERS_AND else: - self.packet_capture_options.mode = ns3.PyViz.PACKET_CAPTURE_FILTER_HEADERS_OR + self.packet_capture_options.mode = ns.visualizer.PyViz.PACKET_CAPTURE_FILTER_HEADERS_OR self.packet_capture_options.numLastPackets = 100 self.packet_capture_options.headers = [c.typeid for c in self.packet_filter_list if c.selected] self.visualizer.simulation.lock.acquire() diff --git a/src/visualizer/visualizer/plugins/wifi_intrastructure_link.py b/src/visualizer/visualizer/plugins/wifi_intrastructure_link.py index 866803af1..f48df8e8c 100644 --- a/src/visualizer/visualizer/plugins/wifi_intrastructure_link.py +++ b/src/visualizer/visualizer/plugins/wifi_intrastructure_link.py @@ -1,5 +1,6 @@ import math -import ns3 +import ns.wifi +import ns.network import goocanvas from visualizer.base import Link, transform_distance_canvas_to_simulation @@ -77,17 +78,17 @@ class WifiLinkMonitor(object): self.stations = [] for node in viz.nodes.itervalues(): - ns3_node = ns3.NodeList.GetNode(node.node_index) + ns3_node = ns.network.NodeList.GetNode(node.node_index) for devI in range(ns3_node.GetNDevices()): dev = ns3_node.GetDevice(devI) - if not isinstance(dev, ns3.WifiNetDevice): + if not isinstance(dev, ns.wifi.WifiNetDevice): continue wifi_mac = dev.GetMac() - if isinstance(wifi_mac, ns3.StaWifiMac): + if isinstance(wifi_mac, ns.wifi.StaWifiMac): wifi_link = WifiLink(viz.links_group, node, dev) self.stations.append((dev, node, wifi_link)) - elif isinstance(wifi_mac, ns3.ApWifiMac): - bssid = ns3.Mac48Address.ConvertFrom(dev.GetAddress()) + elif isinstance(wifi_mac, ns.wifi.ApWifiMac): + bssid = ns.network.Mac48Address.ConvertFrom(dev.GetAddress()) self.access_points[str(bssid)] = node #print "APs: ", self.access_points #print "STAs: ", self.stations diff --git a/src/visualizer/wscript b/src/visualizer/wscript index 9dea2216e..8857f458e 100644 --- a/src/visualizer/wscript +++ b/src/visualizer/wscript @@ -13,7 +13,7 @@ def build(bld): if 'visualizer' in bld.env['MODULES_NOT_BUILT']: return - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'visualizer' headers.source = [ ] @@ -36,8 +36,8 @@ def build(bld): return module.features.append('pyembed') - module.env.append_value('CXXFLAGS', module.env['shlib_CXXFLAGS']) - module.includes = '.' + #module.env.append_value('CXXFLAGS', module.env['shlib_CXXFLAGS']) + #module.includes = '.' module.source.extend([ 'model/pyviz.cc', diff --git a/src/wifi/bindings/modulegen__gcc_ILP32.py b/src/wifi/bindings/modulegen__gcc_ILP32.py index 7a48328f9..981884181 100644 --- a/src/wifi/bindings/modulegen__gcc_ILP32.py +++ b/src/wifi/bindings/modulegen__gcc_ILP32.py @@ -20,6 +20,8 @@ def module_init(): def register_types(module): root_module = module.get_root() + ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration] + module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF']) ## wifi-mac-header.h (module 'wifi'): ns3::WifiMacType [enumeration] module.add_enum('WifiMacType', ['WIFI_MAC_CTL_RTS', 'WIFI_MAC_CTL_CTS', 'WIFI_MAC_CTL_ACK', 'WIFI_MAC_CTL_BACKREQ', 'WIFI_MAC_CTL_BACKRESP', 'WIFI_MAC_MGT_BEACON', 'WIFI_MAC_MGT_ASSOCIATION_REQUEST', 'WIFI_MAC_MGT_ASSOCIATION_RESPONSE', 'WIFI_MAC_MGT_DISASSOCIATION', 'WIFI_MAC_MGT_REASSOCIATION_REQUEST', 'WIFI_MAC_MGT_REASSOCIATION_RESPONSE', 'WIFI_MAC_MGT_PROBE_REQUEST', 'WIFI_MAC_MGT_PROBE_RESPONSE', 'WIFI_MAC_MGT_AUTHENTICATION', 'WIFI_MAC_MGT_DEAUTHENTICATION', 'WIFI_MAC_MGT_ACTION', 'WIFI_MAC_MGT_ACTION_NO_ACK', 'WIFI_MAC_MGT_MULTIHOP_ACTION', 'WIFI_MAC_DATA', 'WIFI_MAC_DATA_CFACK', 'WIFI_MAC_DATA_CFPOLL', 'WIFI_MAC_DATA_CFACK_CFPOLL', 'WIFI_MAC_DATA_NULL', 'WIFI_MAC_DATA_NULL_CFACK', 'WIFI_MAC_DATA_NULL_CFPOLL', 'WIFI_MAC_DATA_NULL_CFACK_CFPOLL', 'WIFI_MAC_QOSDATA', 'WIFI_MAC_QOSDATA_CFACK', 'WIFI_MAC_QOSDATA_CFPOLL', 'WIFI_MAC_QOSDATA_CFACK_CFPOLL', 'WIFI_MAC_QOSDATA_NULL', 'WIFI_MAC_QOSDATA_NULL_CFPOLL', 'WIFI_MAC_QOSDATA_NULL_CFACK_CFPOLL']) ## wifi-preamble.h (module 'wifi'): ns3::WifiPreamble [enumeration] @@ -27,9 +29,7 @@ def register_types(module): ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration] module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT']) ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration] - module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH']) - ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration] - module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF']) + module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH']) ## qos-tag.h (module 'wifi'): ns3::UserPriority [enumeration] module.add_enum('UserPriority', ['UP_BK', 'UP_BE', 'UP_EE', 'UP_CL', 'UP_VI', 'UP_VO', 'UP_NC']) ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration] @@ -48,8 +48,10 @@ def register_types(module): module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') ## athstats-helper.h (module 'wifi'): ns3::AthstatsHelper [class] module.add_class('AthstatsHelper') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## block-ack-manager.h (module 'wifi'): ns3::Bar [struct] module.add_class('Bar') ## block-ack-agreement.h (module 'wifi'): ns3::BlockAckAgreement [class] @@ -176,12 +178,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wifi-helper.h (module 'wifi'): ns3::WifiHelper [class] @@ -264,10 +266,20 @@ def register_types(module): module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class] module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object']) + ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] + module.add_class('PropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] + module.add_class('PropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) ## qos-tag.h (module 'wifi'): ns3::QosTag [class] module.add_class('QosTag', parent=root_module['ns3::Tag']) ## qos-wifi-mac-helper.h (module 'wifi'): ns3::QosWifiMacHelper [class] module.add_class('QosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) + ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel [class] + module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] + module.add_class('RandomPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] + module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## 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] @@ -286,16 +298,24 @@ def register_types(module): 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::TraceSourceAccessor', '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, template_parameters=['ns3::WifiInformationElement', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel [class] + module.add_class('ThreeLogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) + ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] + module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader [class] module.add_class('WifiActionHeader', parent=root_module['ns3::Header']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader::CategoryValue [enumeration] @@ -366,6 +386,12 @@ def register_types(module): module.add_class('Channel', import_from_module='ns.network', parent=root_module['ns3::Object']) ## constant-rate-wifi-manager.h (module 'wifi'): ns3::ConstantRateWifiManager [class] module.add_class('ConstantRateWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) + ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] + module.add_class('ConstantSpeedPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) + ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel [class] + module.add_class('Cost231PropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel::Environment [enumeration] + module.add_enum('Environment', ['SubUrban', 'MediumCity', 'Metropolitan'], outer_class=root_module['ns3::Cost231PropagationLossModel'], import_from_module='ns.propagation') ## ctrl-headers.h (module 'wifi'): ns3::CtrlBAckRequestHeader [class] module.add_class('CtrlBAckRequestHeader', parent=root_module['ns3::Header']) ## ctrl-headers.h (module 'wifi'): ns3::CtrlBAckResponseHeader [class] @@ -384,6 +410,10 @@ def register_types(module): module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) ## supported-rates.h (module 'wifi'): ns3::ExtendedSupportedRatesIE [class] module.add_class('ExtendedSupportedRatesIE', parent=root_module['ns3::WifiInformationElement']) + ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] + module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] + module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## ideal-wifi-manager.h (module 'wifi'): ns3::IdealWifiManager [class] module.add_class('IdealWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] @@ -402,18 +432,26 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## jakes-propagation-loss-model.h (module 'propagation'): ns3::JakesPropagationLossModel [class] + module.add_class('JakesPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] + module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] module.add_class('Mac48AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## mac-low.h (module 'wifi'): ns3::MacLow [class] module.add_class('MacLow', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel [class] + module.add_class('MatrixPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mgt-headers.h (module 'wifi'): ns3::MgtBeaconHeader [class] module.add_class('MgtBeaconHeader', parent=root_module['ns3::MgtProbeResponseHeader']) ## minstrel-wifi-manager.h (module 'wifi'): ns3::MinstrelWifiManager [class] module.add_class('MinstrelWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## msdu-aggregator.h (module 'wifi'): ns3::MsduAggregator [class] module.add_class('MsduAggregator', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel [class] + module.add_class('NakagamiPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## net-device.h (module 'network'): ns3::NetDevice [class] module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object']) ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration] @@ -527,7 +565,8 @@ def register_methods(root_module): register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3AthstatsHelper_methods(root_module, root_module['ns3::AthstatsHelper']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Bar_methods(root_module, root_module['ns3::Bar']) register_Ns3BlockAckAgreement_methods(root_module, root_module['ns3::BlockAckAgreement']) register_Ns3BlockAckCache_methods(root_module, root_module['ns3::BlockAckCache']) @@ -584,9 +623,9 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) @@ -626,8 +665,13 @@ def register_methods(root_module): register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) + register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) + register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3QosTag_methods(root_module, root_module['ns3::QosTag']) register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) + register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) + register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) 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 >']) @@ -637,9 +681,13 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) + register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) + register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3WifiActionHeader_methods(root_module, root_module['ns3::WifiActionHeader']) register_Ns3WifiActionHeaderActionValue_methods(root_module, root_module['ns3::WifiActionHeader::ActionValue']) register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement']) @@ -665,6 +713,8 @@ def register_methods(root_module): register_Ns3CaraWifiManager_methods(root_module, root_module['ns3::CaraWifiManager']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) register_Ns3ConstantRateWifiManager_methods(root_module, root_module['ns3::ConstantRateWifiManager']) + register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) + register_Ns3Cost231PropagationLossModel_methods(root_module, root_module['ns3::Cost231PropagationLossModel']) register_Ns3CtrlBAckRequestHeader_methods(root_module, root_module['ns3::CtrlBAckRequestHeader']) register_Ns3CtrlBAckResponseHeader_methods(root_module, root_module['ns3::CtrlBAckResponseHeader']) register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf']) @@ -674,6 +724,8 @@ def register_methods(root_module): register_Ns3ErrorRateModel_methods(root_module, root_module['ns3::ErrorRateModel']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) register_Ns3ExtendedSupportedRatesIE_methods(root_module, root_module['ns3::ExtendedSupportedRatesIE']) + register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) + register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) register_Ns3IdealWifiManager_methods(root_module, root_module['ns3::IdealWifiManager']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) @@ -683,12 +735,16 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) + register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3MacLow_methods(root_module, root_module['ns3::MacLow']) + register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) register_Ns3MgtBeaconHeader_methods(root_module, root_module['ns3::MgtBeaconHeader']) register_Ns3MinstrelWifiManager_methods(root_module, root_module['ns3::MinstrelWifiManager']) register_Ns3MsduAggregator_methods(root_module, root_module['ns3::MsduAggregator']) + register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3NistErrorRateModel_methods(root_module, root_module['ns3::NistErrorRateModel']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) @@ -937,41 +993,43 @@ def register_Ns3AthstatsHelper_methods(root_module, cls): [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')]) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Bar_methods(root_module, cls): @@ -2763,10 +2821,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2793,6 +2851,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2807,10 +2867,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -3551,23 +3607,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -3575,26 +3621,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -3625,14 +3656,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -3640,11 +3666,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -3669,22 +3690,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -3694,6 +3710,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -3708,19 +3728,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -3745,22 +3784,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -3850,9 +3873,9 @@ def register_Ns3WifiMode_methods(root_module, cls): 'uint8_t', [], is_const=True) - ## wifi-mode.h (module 'wifi'): uint32_t ns3::WifiMode::GetDataRate() const [member function] + ## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate() const [member function] cls.add_method('GetDataRate', - 'uint32_t', + 'uint64_t', [], is_const=True) ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass ns3::WifiMode::GetModulationClass() const [member function] @@ -3860,9 +3883,9 @@ def register_Ns3WifiMode_methods(root_module, cls): 'ns3::WifiModulationClass', [], is_const=True) - ## wifi-mode.h (module 'wifi'): uint32_t ns3::WifiMode::GetPhyRate() const [member function] + ## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetPhyRate() const [member function] cls.add_method('GetPhyRate', - 'uint32_t', + 'uint64_t', [], is_const=True) ## wifi-mode.h (module 'wifi'): uint32_t ns3::WifiMode::GetUid() const [member function] @@ -5022,6 +5045,47 @@ def register_Ns3PcapFileWrapper_methods(root_module, cls): []) return +def register_Ns3PropagationDelayModel_methods(root_module, cls): + ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel() [constructor] + cls.add_constructor([]) + ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('GetDelay', + 'ns3::Time', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::PropagationDelayModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + return + +def register_Ns3PropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::PropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel::PropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::PropagationLossModel::SetNext(ns3::Ptr next) [member function] + cls.add_method('SetNext', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('CalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3QosTag_methods(root_module, cls): ## qos-tag.h (module 'wifi'): ns3::QosTag::QosTag(ns3::QosTag const & arg0) [copy constructor] cls.add_constructor([param('ns3::QosTag const &', 'arg0')]) @@ -5107,6 +5171,53 @@ def register_Ns3QosWifiMacHelper_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): + ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel::RandomPropagationDelayModel(ns3::RandomPropagationDelayModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RandomPropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel::RandomPropagationDelayModel() [constructor] + cls.add_constructor([]) + ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::RandomPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('GetDelay', + 'ns3::Time', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, is_virtual=True) + ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::RandomPropagationDelayModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + return + +def register_Ns3RandomPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RandomPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel::RandomPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::RandomPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3RangePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RangePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel::RangePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::RangePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', 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([]) @@ -5215,6 +5326,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -5227,6 +5350,21 @@ def register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDel is_static=True) return +def register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel::ThreeLogDistancePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::ThreeLogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3Time_methods(root_module, cls): cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) cls.add_binary_comparison_operator('!=') @@ -5383,6 +5521,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -5416,6 +5581,56 @@ def register_Ns3Trailer_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel::TwoRayGroundPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetSystemLoss(double systemLoss) [member function] + cls.add_method('SetSystemLoss', + 'void', + [param('double', 'systemLoss')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetSystemLoss() const [member function] + cls.add_method('GetSystemLoss', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetHeightAboveZ(double heightAboveZ) [member function] + cls.add_method('SetHeightAboveZ', + 'void', + [param('double', 'heightAboveZ')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3WifiActionHeader_methods(root_module, cls): ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader::WifiActionHeader(ns3::WifiActionHeader const & arg0) [copy constructor] cls.add_constructor([param('ns3::WifiActionHeader const &', 'arg0')]) @@ -7641,6 +7856,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -7893,6 +8113,109 @@ def register_Ns3ConstantRateWifiManager_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): + ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel() [constructor] + cls.add_constructor([]) + ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::ConstantSpeedPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('GetDelay', + 'ns3::Time', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, is_virtual=True) + ## propagation-delay-model.h (module 'propagation'): double ns3::ConstantSpeedPropagationDelayModel::GetSpeed() const [member function] + cls.add_method('GetSpeed', + 'double', + [], + is_const=True) + ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::ConstantSpeedPropagationDelayModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-delay-model.h (module 'propagation'): void ns3::ConstantSpeedPropagationDelayModel::SetSpeed(double speed) [member function] + cls.add_method('SetSpeed', + 'void', + [param('double', 'speed')]) + return + +def register_Ns3Cost231PropagationLossModel_methods(root_module, cls): + ## cost231-propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::Cost231PropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel::Cost231PropagationLossModel() [constructor] + cls.add_constructor([]) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetLoss(ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('GetLoss', + 'double', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetBSAntennaHeight(double height) [member function] + cls.add_method('SetBSAntennaHeight', + 'void', + [param('double', 'height')]) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetSSAntennaHeight(double height) [member function] + cls.add_method('SetSSAntennaHeight', + 'void', + [param('double', 'height')]) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetEnvironment(ns3::Cost231PropagationLossModel::Environment env) [member function] + cls.add_method('SetEnvironment', + 'void', + [param('ns3::Cost231PropagationLossModel::Environment', 'env')]) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetBSAntennaHeight() const [member function] + cls.add_method('GetBSAntennaHeight', + 'double', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetSSAntennaHeight() const [member function] + cls.add_method('GetSSAntennaHeight', + 'double', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel::Environment ns3::Cost231PropagationLossModel::GetEnvironment() const [member function] + cls.add_method('GetEnvironment', + 'ns3::Cost231PropagationLossModel::Environment', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetShadowing() [member function] + cls.add_method('GetShadowing', + 'double', + []) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetShadowing(double shadowing) [member function] + cls.add_method('SetShadowing', + 'void', + [param('double', 'shadowing')]) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3CtrlBAckRequestHeader_methods(root_module, cls): ## ctrl-headers.h (module 'wifi'): ns3::CtrlBAckRequestHeader::CtrlBAckRequestHeader(ns3::CtrlBAckRequestHeader const & arg0) [copy constructor] cls.add_constructor([param('ns3::CtrlBAckRequestHeader const &', 'arg0')]) @@ -8532,6 +8855,71 @@ def register_Ns3ExtendedSupportedRatesIE_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3FixedRssLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel::FixedRssLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FixedRssLossModel::SetRss(double rss) [member function] + cls.add_method('SetRss', + 'void', + [param('double', 'rss')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::FixedRssLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3FriisPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FriisPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel::FriisPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetSystemLoss(double systemLoss) [member function] + cls.add_method('SetSystemLoss', + 'void', + [param('double', 'systemLoss')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetSystemLoss() const [member function] + cls.add_method('GetSystemLoss', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3IdealWifiManager_methods(root_module, cls): ## ideal-wifi-manager.h (module 'wifi'): ns3::IdealWifiManager::IdealWifiManager(ns3::IdealWifiManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::IdealWifiManager const &', 'arg0')]) @@ -8764,6 +9152,67 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3JakesPropagationLossModel_methods(root_module, cls): + ## jakes-propagation-loss-model.h (module 'propagation'): ns3::JakesPropagationLossModel::JakesPropagationLossModel() [constructor] + cls.add_constructor([]) + ## jakes-propagation-loss-model.h (module 'propagation'): uint8_t ns3::JakesPropagationLossModel::GetNOscillators() const [member function] + cls.add_method('GetNOscillators', + 'uint8_t', + [], + is_const=True) + ## jakes-propagation-loss-model.h (module 'propagation'): uint8_t ns3::JakesPropagationLossModel::GetNRays() const [member function] + cls.add_method('GetNRays', + 'uint8_t', + [], + is_const=True) + ## jakes-propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::JakesPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## jakes-propagation-loss-model.h (module 'propagation'): void ns3::JakesPropagationLossModel::SetNOscillators(uint8_t nOscillators) [member function] + cls.add_method('SetNOscillators', + 'void', + [param('uint8_t', 'nOscillators')]) + ## jakes-propagation-loss-model.h (module 'propagation'): void ns3::JakesPropagationLossModel::SetNRays(uint8_t nRays) [member function] + cls.add_method('SetNRays', + 'void', + [param('uint8_t', 'nRays')]) + ## jakes-propagation-loss-model.h (module 'propagation'): double ns3::JakesPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::LogDistancePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel::LogDistancePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::LogDistancePropagationLossModel::SetPathLossExponent(double n) [member function] + cls.add_method('SetPathLossExponent', + 'void', + [param('double', 'n')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::LogDistancePropagationLossModel::GetPathLossExponent() const [member function] + cls.add_method('GetPathLossExponent', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): void ns3::LogDistancePropagationLossModel::SetReference(double referenceDistance, double referenceLoss) [member function] + cls.add_method('SetReference', + 'void', + [param('double', 'referenceDistance'), param('double', 'referenceLoss')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::LogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3Mac48AddressChecker_methods(root_module, cls): ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] cls.add_constructor([]) @@ -8950,6 +9399,29 @@ def register_Ns3MacLow_methods(root_module, cls): visibility='private', is_virtual=True) return +def register_Ns3MatrixPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::MatrixPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel::MatrixPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::MatrixPropagationLossModel::SetLoss(ns3::Ptr a, ns3::Ptr b, double loss, bool symmetric=true) [member function] + cls.add_method('SetLoss', + 'void', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('double', 'loss'), param('bool', 'symmetric', default_value='true')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::MatrixPropagationLossModel::SetDefaultLoss(double arg0) [member function] + cls.add_method('SetDefaultLoss', + 'void', + [param('double', 'arg0')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::MatrixPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3MgtBeaconHeader_methods(root_module, cls): ## mgt-headers.h (module 'wifi'): ns3::MgtBeaconHeader::MgtBeaconHeader() [constructor] cls.add_constructor([]) @@ -9051,6 +9523,21 @@ def register_Ns3MsduAggregator_methods(root_module, cls): is_static=True) return +def register_Ns3NakagamiPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::NakagamiPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel::NakagamiPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::NakagamiPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3NetDevice_methods(root_module, cls): ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor] cls.add_constructor([]) @@ -9299,10 +9786,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -9317,11 +9812,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/wifi/bindings/modulegen__gcc_LP64.py b/src/wifi/bindings/modulegen__gcc_LP64.py index 7a48328f9..981884181 100644 --- a/src/wifi/bindings/modulegen__gcc_LP64.py +++ b/src/wifi/bindings/modulegen__gcc_LP64.py @@ -20,6 +20,8 @@ def module_init(): def register_types(module): root_module = module.get_root() + ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration] + module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF']) ## wifi-mac-header.h (module 'wifi'): ns3::WifiMacType [enumeration] module.add_enum('WifiMacType', ['WIFI_MAC_CTL_RTS', 'WIFI_MAC_CTL_CTS', 'WIFI_MAC_CTL_ACK', 'WIFI_MAC_CTL_BACKREQ', 'WIFI_MAC_CTL_BACKRESP', 'WIFI_MAC_MGT_BEACON', 'WIFI_MAC_MGT_ASSOCIATION_REQUEST', 'WIFI_MAC_MGT_ASSOCIATION_RESPONSE', 'WIFI_MAC_MGT_DISASSOCIATION', 'WIFI_MAC_MGT_REASSOCIATION_REQUEST', 'WIFI_MAC_MGT_REASSOCIATION_RESPONSE', 'WIFI_MAC_MGT_PROBE_REQUEST', 'WIFI_MAC_MGT_PROBE_RESPONSE', 'WIFI_MAC_MGT_AUTHENTICATION', 'WIFI_MAC_MGT_DEAUTHENTICATION', 'WIFI_MAC_MGT_ACTION', 'WIFI_MAC_MGT_ACTION_NO_ACK', 'WIFI_MAC_MGT_MULTIHOP_ACTION', 'WIFI_MAC_DATA', 'WIFI_MAC_DATA_CFACK', 'WIFI_MAC_DATA_CFPOLL', 'WIFI_MAC_DATA_CFACK_CFPOLL', 'WIFI_MAC_DATA_NULL', 'WIFI_MAC_DATA_NULL_CFACK', 'WIFI_MAC_DATA_NULL_CFPOLL', 'WIFI_MAC_DATA_NULL_CFACK_CFPOLL', 'WIFI_MAC_QOSDATA', 'WIFI_MAC_QOSDATA_CFACK', 'WIFI_MAC_QOSDATA_CFPOLL', 'WIFI_MAC_QOSDATA_CFACK_CFPOLL', 'WIFI_MAC_QOSDATA_NULL', 'WIFI_MAC_QOSDATA_NULL_CFPOLL', 'WIFI_MAC_QOSDATA_NULL_CFACK_CFPOLL']) ## wifi-preamble.h (module 'wifi'): ns3::WifiPreamble [enumeration] @@ -27,9 +29,7 @@ def register_types(module): ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass [enumeration] module.add_enum('WifiModulationClass', ['WIFI_MOD_CLASS_UNKNOWN', 'WIFI_MOD_CLASS_IR', 'WIFI_MOD_CLASS_FHSS', 'WIFI_MOD_CLASS_DSSS', 'WIFI_MOD_CLASS_ERP_PBCC', 'WIFI_MOD_CLASS_DSSS_OFDM', 'WIFI_MOD_CLASS_ERP_OFDM', 'WIFI_MOD_CLASS_OFDM', 'WIFI_MOD_CLASS_HT']) ## wifi-phy-standard.h (module 'wifi'): ns3::WifiPhyStandard [enumeration] - module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10Mhz', 'WIFI_PHY_STANDARD_80211_5Mhz', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH']) - ## qos-utils.h (module 'wifi'): ns3::AcIndex [enumeration] - module.add_enum('AcIndex', ['AC_BE', 'AC_BK', 'AC_VI', 'AC_VO', 'AC_BE_NQOS', 'AC_UNDEF']) + module.add_enum('WifiPhyStandard', ['WIFI_PHY_STANDARD_80211a', 'WIFI_PHY_STANDARD_80211b', 'WIFI_PHY_STANDARD_80211g', 'WIFI_PHY_STANDARD_80211_10MHZ', 'WIFI_PHY_STANDARD_80211_5MHZ', 'WIFI_PHY_STANDARD_holland', 'WIFI_PHY_STANDARD_80211p_CCH', 'WIFI_PHY_STANDARD_80211p_SCH']) ## qos-tag.h (module 'wifi'): ns3::UserPriority [enumeration] module.add_enum('UserPriority', ['UP_BK', 'UP_BE', 'UP_EE', 'UP_CL', 'UP_VI', 'UP_VO', 'UP_NC']) ## wifi-mode.h (module 'wifi'): ns3::WifiCodeRate [enumeration] @@ -48,8 +48,10 @@ def register_types(module): module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') ## athstats-helper.h (module 'wifi'): ns3::AthstatsHelper [class] module.add_class('AthstatsHelper') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## block-ack-manager.h (module 'wifi'): ns3::Bar [struct] module.add_class('Bar') ## block-ack-agreement.h (module 'wifi'): ns3::BlockAckAgreement [class] @@ -176,12 +178,12 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## random-variable.h (module 'core'): ns3::WeibullVariable [class] module.add_class('WeibullVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## wifi-helper.h (module 'wifi'): ns3::WifiHelper [class] @@ -264,10 +266,20 @@ def register_types(module): module.add_class('ParetoVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) ## pcap-file-wrapper.h (module 'network'): ns3::PcapFileWrapper [class] module.add_class('PcapFileWrapper', import_from_module='ns.network', parent=root_module['ns3::Object']) + ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel [class] + module.add_class('PropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel [class] + module.add_class('PropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::Object']) ## qos-tag.h (module 'wifi'): ns3::QosTag [class] module.add_class('QosTag', parent=root_module['ns3::Tag']) ## qos-wifi-mac-helper.h (module 'wifi'): ns3::QosWifiMacHelper [class] module.add_class('QosWifiMacHelper', parent=root_module['ns3::WifiMacHelper']) + ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel [class] + module.add_class('RandomPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel [class] + module.add_class('RandomPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel [class] + module.add_class('RangePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## 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] @@ -286,16 +298,24 @@ def register_types(module): 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::TraceSourceAccessor', '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, template_parameters=['ns3::WifiInformationElement', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) + ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel [class] + module.add_class('ThreeLogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## nstime.h (module 'core'): ns3::Time [class] module.add_class('Time', import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time::Unit [enumeration] module.add_enum('Unit', ['S', 'MS', 'US', 'NS', 'PS', 'FS', 'LAST'], outer_class=root_module['ns3::Time'], import_from_module='ns.core') ## nstime.h (module 'core'): ns3::Time [class] 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) + ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] + module.add_class('TwoRayGroundPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader [class] module.add_class('WifiActionHeader', parent=root_module['ns3::Header']) ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader::CategoryValue [enumeration] @@ -366,6 +386,12 @@ def register_types(module): module.add_class('Channel', import_from_module='ns.network', parent=root_module['ns3::Object']) ## constant-rate-wifi-manager.h (module 'wifi'): ns3::ConstantRateWifiManager [class] module.add_class('ConstantRateWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) + ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel [class] + module.add_class('ConstantSpeedPropagationDelayModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationDelayModel']) + ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel [class] + module.add_class('Cost231PropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel::Environment [enumeration] + module.add_enum('Environment', ['SubUrban', 'MediumCity', 'Metropolitan'], outer_class=root_module['ns3::Cost231PropagationLossModel'], import_from_module='ns.propagation') ## ctrl-headers.h (module 'wifi'): ns3::CtrlBAckRequestHeader [class] module.add_class('CtrlBAckRequestHeader', parent=root_module['ns3::Header']) ## ctrl-headers.h (module 'wifi'): ns3::CtrlBAckResponseHeader [class] @@ -384,6 +410,10 @@ def register_types(module): module.add_class('EventImpl', import_from_module='ns.core', parent=root_module['ns3::SimpleRefCount< ns3::EventImpl, ns3::empty, ns3::DefaultDeleter >']) ## supported-rates.h (module 'wifi'): ns3::ExtendedSupportedRatesIE [class] module.add_class('ExtendedSupportedRatesIE', parent=root_module['ns3::WifiInformationElement']) + ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel [class] + module.add_class('FixedRssLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel [class] + module.add_class('FriisPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## ideal-wifi-manager.h (module 'wifi'): ns3::IdealWifiManager [class] module.add_class('IdealWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## ipv4-address.h (module 'network'): ns3::Ipv4AddressChecker [class] @@ -402,18 +432,26 @@ def register_types(module): module.add_class('Ipv6PrefixChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## ipv6-address.h (module 'network'): ns3::Ipv6PrefixValue [class] module.add_class('Ipv6PrefixValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) + ## jakes-propagation-loss-model.h (module 'propagation'): ns3::JakesPropagationLossModel [class] + module.add_class('JakesPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) + ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel [class] + module.add_class('LogDistancePropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker [class] module.add_class('Mac48AddressChecker', import_from_module='ns.network', parent=root_module['ns3::AttributeChecker']) ## mac48-address.h (module 'network'): ns3::Mac48AddressValue [class] module.add_class('Mac48AddressValue', import_from_module='ns.network', parent=root_module['ns3::AttributeValue']) ## mac-low.h (module 'wifi'): ns3::MacLow [class] module.add_class('MacLow', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel [class] + module.add_class('MatrixPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## mgt-headers.h (module 'wifi'): ns3::MgtBeaconHeader [class] module.add_class('MgtBeaconHeader', parent=root_module['ns3::MgtProbeResponseHeader']) ## minstrel-wifi-manager.h (module 'wifi'): ns3::MinstrelWifiManager [class] module.add_class('MinstrelWifiManager', parent=root_module['ns3::WifiRemoteStationManager']) ## msdu-aggregator.h (module 'wifi'): ns3::MsduAggregator [class] module.add_class('MsduAggregator', parent=root_module['ns3::Object']) + ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel [class] + module.add_class('NakagamiPropagationLossModel', import_from_module='ns.propagation', parent=root_module['ns3::PropagationLossModel']) ## net-device.h (module 'network'): ns3::NetDevice [class] module.add_class('NetDevice', import_from_module='ns.network', parent=root_module['ns3::Object']) ## net-device.h (module 'network'): ns3::NetDevice::PacketType [enumeration] @@ -527,7 +565,8 @@ def register_methods(root_module): register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) register_Ns3AthstatsHelper_methods(root_module, root_module['ns3::AthstatsHelper']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Bar_methods(root_module, root_module['ns3::Bar']) register_Ns3BlockAckAgreement_methods(root_module, root_module['ns3::BlockAckAgreement']) register_Ns3BlockAckCache_methods(root_module, root_module['ns3::BlockAckCache']) @@ -584,9 +623,9 @@ def register_methods(root_module): register_Ns3TagBuffer_methods(root_module, root_module['ns3::TagBuffer']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WifiHelper_methods(root_module, root_module['ns3::WifiHelper']) register_Ns3WifiMacHelper_methods(root_module, root_module['ns3::WifiMacHelper']) @@ -626,8 +665,13 @@ def register_methods(root_module): register_Ns3ObjectAggregateIterator_methods(root_module, root_module['ns3::Object::AggregateIterator']) register_Ns3ParetoVariable_methods(root_module, root_module['ns3::ParetoVariable']) register_Ns3PcapFileWrapper_methods(root_module, root_module['ns3::PcapFileWrapper']) + register_Ns3PropagationDelayModel_methods(root_module, root_module['ns3::PropagationDelayModel']) + register_Ns3PropagationLossModel_methods(root_module, root_module['ns3::PropagationLossModel']) register_Ns3QosTag_methods(root_module, root_module['ns3::QosTag']) register_Ns3QosWifiMacHelper_methods(root_module, root_module['ns3::QosWifiMacHelper']) + register_Ns3RandomPropagationDelayModel_methods(root_module, root_module['ns3::RandomPropagationDelayModel']) + register_Ns3RandomPropagationLossModel_methods(root_module, root_module['ns3::RandomPropagationLossModel']) + register_Ns3RangePropagationLossModel_methods(root_module, root_module['ns3::RangePropagationLossModel']) 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 >']) @@ -637,9 +681,13 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::WifiInformationElement, ns3::empty, ns3::DefaultDeleter >']) + register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) + register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3WifiActionHeader_methods(root_module, root_module['ns3::WifiActionHeader']) register_Ns3WifiActionHeaderActionValue_methods(root_module, root_module['ns3::WifiActionHeader::ActionValue']) register_Ns3WifiInformationElement_methods(root_module, root_module['ns3::WifiInformationElement']) @@ -665,6 +713,8 @@ def register_methods(root_module): register_Ns3CaraWifiManager_methods(root_module, root_module['ns3::CaraWifiManager']) register_Ns3Channel_methods(root_module, root_module['ns3::Channel']) register_Ns3ConstantRateWifiManager_methods(root_module, root_module['ns3::ConstantRateWifiManager']) + register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, root_module['ns3::ConstantSpeedPropagationDelayModel']) + register_Ns3Cost231PropagationLossModel_methods(root_module, root_module['ns3::Cost231PropagationLossModel']) register_Ns3CtrlBAckRequestHeader_methods(root_module, root_module['ns3::CtrlBAckRequestHeader']) register_Ns3CtrlBAckResponseHeader_methods(root_module, root_module['ns3::CtrlBAckResponseHeader']) register_Ns3Dcf_methods(root_module, root_module['ns3::Dcf']) @@ -674,6 +724,8 @@ def register_methods(root_module): register_Ns3ErrorRateModel_methods(root_module, root_module['ns3::ErrorRateModel']) register_Ns3EventImpl_methods(root_module, root_module['ns3::EventImpl']) register_Ns3ExtendedSupportedRatesIE_methods(root_module, root_module['ns3::ExtendedSupportedRatesIE']) + register_Ns3FixedRssLossModel_methods(root_module, root_module['ns3::FixedRssLossModel']) + register_Ns3FriisPropagationLossModel_methods(root_module, root_module['ns3::FriisPropagationLossModel']) register_Ns3IdealWifiManager_methods(root_module, root_module['ns3::IdealWifiManager']) register_Ns3Ipv4AddressChecker_methods(root_module, root_module['ns3::Ipv4AddressChecker']) register_Ns3Ipv4AddressValue_methods(root_module, root_module['ns3::Ipv4AddressValue']) @@ -683,12 +735,16 @@ def register_methods(root_module): register_Ns3Ipv6AddressValue_methods(root_module, root_module['ns3::Ipv6AddressValue']) register_Ns3Ipv6PrefixChecker_methods(root_module, root_module['ns3::Ipv6PrefixChecker']) register_Ns3Ipv6PrefixValue_methods(root_module, root_module['ns3::Ipv6PrefixValue']) + register_Ns3JakesPropagationLossModel_methods(root_module, root_module['ns3::JakesPropagationLossModel']) + register_Ns3LogDistancePropagationLossModel_methods(root_module, root_module['ns3::LogDistancePropagationLossModel']) register_Ns3Mac48AddressChecker_methods(root_module, root_module['ns3::Mac48AddressChecker']) register_Ns3Mac48AddressValue_methods(root_module, root_module['ns3::Mac48AddressValue']) register_Ns3MacLow_methods(root_module, root_module['ns3::MacLow']) + register_Ns3MatrixPropagationLossModel_methods(root_module, root_module['ns3::MatrixPropagationLossModel']) register_Ns3MgtBeaconHeader_methods(root_module, root_module['ns3::MgtBeaconHeader']) register_Ns3MinstrelWifiManager_methods(root_module, root_module['ns3::MinstrelWifiManager']) register_Ns3MsduAggregator_methods(root_module, root_module['ns3::MsduAggregator']) + register_Ns3NakagamiPropagationLossModel_methods(root_module, root_module['ns3::NakagamiPropagationLossModel']) register_Ns3NetDevice_methods(root_module, root_module['ns3::NetDevice']) register_Ns3NistErrorRateModel_methods(root_module, root_module['ns3::NistErrorRateModel']) register_Ns3NixVector_methods(root_module, root_module['ns3::NixVector']) @@ -937,41 +993,43 @@ def register_Ns3AthstatsHelper_methods(root_module, cls): [param('std::string', 'filename'), param('ns3::NodeContainer', 'n')]) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Bar_methods(root_module, cls): @@ -2763,10 +2821,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2793,6 +2851,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2807,10 +2867,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -3551,23 +3607,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -3575,26 +3621,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -3625,14 +3656,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -3640,11 +3666,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -3669,22 +3690,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -3694,6 +3710,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -3708,19 +3728,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3UniformVariable_methods(root_module, cls): @@ -3745,22 +3784,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3WeibullVariable_methods(root_module, cls): ## random-variable.h (module 'core'): ns3::WeibullVariable::WeibullVariable(ns3::WeibullVariable const & arg0) [copy constructor] cls.add_constructor([param('ns3::WeibullVariable const &', 'arg0')]) @@ -3850,9 +3873,9 @@ def register_Ns3WifiMode_methods(root_module, cls): 'uint8_t', [], is_const=True) - ## wifi-mode.h (module 'wifi'): uint32_t ns3::WifiMode::GetDataRate() const [member function] + ## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetDataRate() const [member function] cls.add_method('GetDataRate', - 'uint32_t', + 'uint64_t', [], is_const=True) ## wifi-mode.h (module 'wifi'): ns3::WifiModulationClass ns3::WifiMode::GetModulationClass() const [member function] @@ -3860,9 +3883,9 @@ def register_Ns3WifiMode_methods(root_module, cls): 'ns3::WifiModulationClass', [], is_const=True) - ## wifi-mode.h (module 'wifi'): uint32_t ns3::WifiMode::GetPhyRate() const [member function] + ## wifi-mode.h (module 'wifi'): uint64_t ns3::WifiMode::GetPhyRate() const [member function] cls.add_method('GetPhyRate', - 'uint32_t', + 'uint64_t', [], is_const=True) ## wifi-mode.h (module 'wifi'): uint32_t ns3::WifiMode::GetUid() const [member function] @@ -5022,6 +5045,47 @@ def register_Ns3PcapFileWrapper_methods(root_module, cls): []) return +def register_Ns3PropagationDelayModel_methods(root_module, cls): + ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel() [constructor] + cls.add_constructor([]) + ## propagation-delay-model.h (module 'propagation'): ns3::PropagationDelayModel::PropagationDelayModel(ns3::PropagationDelayModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::PropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::PropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('GetDelay', + 'ns3::Time', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::PropagationDelayModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + return + +def register_Ns3PropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::PropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::PropagationLossModel::PropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::PropagationLossModel::SetNext(ns3::Ptr next) [member function] + cls.add_method('SetNext', + 'void', + [param('ns3::Ptr< ns3::PropagationLossModel >', 'next')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::CalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('CalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_pure_virtual=True, is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3QosTag_methods(root_module, cls): ## qos-tag.h (module 'wifi'): ns3::QosTag::QosTag(ns3::QosTag const & arg0) [copy constructor] cls.add_constructor([param('ns3::QosTag const &', 'arg0')]) @@ -5107,6 +5171,53 @@ def register_Ns3QosWifiMacHelper_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3RandomPropagationDelayModel_methods(root_module, cls): + ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel::RandomPropagationDelayModel(ns3::RandomPropagationDelayModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::RandomPropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): ns3::RandomPropagationDelayModel::RandomPropagationDelayModel() [constructor] + cls.add_constructor([]) + ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::RandomPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('GetDelay', + 'ns3::Time', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, is_virtual=True) + ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::RandomPropagationDelayModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + return + +def register_Ns3RandomPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RandomPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::RandomPropagationLossModel::RandomPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::RandomPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3RangePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::RangePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::RangePropagationLossModel::RangePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::RangePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', 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([]) @@ -5215,6 +5326,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDeleter__lt__ns3WifiInformationElement__gt___methods(root_module, cls): ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount() [constructor] cls.add_constructor([]) @@ -5227,6 +5350,21 @@ def register_Ns3SimpleRefCount__Ns3WifiInformationElement_Ns3Empty_Ns3DefaultDel is_static=True) return +def register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::ThreeLogDistancePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::ThreeLogDistancePropagationLossModel::ThreeLogDistancePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::ThreeLogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3Time_methods(root_module, cls): cls.add_inplace_numeric_operator('+=', param('ns3::Time const &', 'right')) cls.add_binary_comparison_operator('!=') @@ -5383,6 +5521,33 @@ def register_Ns3Time_methods(root_module, cls): is_const=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -5416,6 +5581,56 @@ def register_Ns3Trailer_methods(root_module, cls): is_pure_virtual=True, is_const=True, is_virtual=True) return +def register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::TwoRayGroundPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel::TwoRayGroundPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetSystemLoss(double systemLoss) [member function] + cls.add_method('SetSystemLoss', + 'void', + [param('double', 'systemLoss')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::GetSystemLoss() const [member function] + cls.add_method('GetSystemLoss', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): void ns3::TwoRayGroundPropagationLossModel::SetHeightAboveZ(double heightAboveZ) [member function] + cls.add_method('SetHeightAboveZ', + 'void', + [param('double', 'heightAboveZ')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::TwoRayGroundPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3WifiActionHeader_methods(root_module, cls): ## mgt-headers.h (module 'wifi'): ns3::WifiActionHeader::WifiActionHeader(ns3::WifiActionHeader const & arg0) [copy constructor] cls.add_constructor([param('ns3::WifiActionHeader const &', 'arg0')]) @@ -7641,6 +7856,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -7893,6 +8113,109 @@ def register_Ns3ConstantRateWifiManager_methods(root_module, cls): is_const=True, visibility='private', is_virtual=True) return +def register_Ns3ConstantSpeedPropagationDelayModel_methods(root_module, cls): + ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel(ns3::ConstantSpeedPropagationDelayModel const & arg0) [copy constructor] + cls.add_constructor([param('ns3::ConstantSpeedPropagationDelayModel const &', 'arg0')]) + ## propagation-delay-model.h (module 'propagation'): ns3::ConstantSpeedPropagationDelayModel::ConstantSpeedPropagationDelayModel() [constructor] + cls.add_constructor([]) + ## propagation-delay-model.h (module 'propagation'): ns3::Time ns3::ConstantSpeedPropagationDelayModel::GetDelay(ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('GetDelay', + 'ns3::Time', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, is_virtual=True) + ## propagation-delay-model.h (module 'propagation'): double ns3::ConstantSpeedPropagationDelayModel::GetSpeed() const [member function] + cls.add_method('GetSpeed', + 'double', + [], + is_const=True) + ## propagation-delay-model.h (module 'propagation'): static ns3::TypeId ns3::ConstantSpeedPropagationDelayModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-delay-model.h (module 'propagation'): void ns3::ConstantSpeedPropagationDelayModel::SetSpeed(double speed) [member function] + cls.add_method('SetSpeed', + 'void', + [param('double', 'speed')]) + return + +def register_Ns3Cost231PropagationLossModel_methods(root_module, cls): + ## cost231-propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::Cost231PropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel::Cost231PropagationLossModel() [constructor] + cls.add_constructor([]) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetLoss(ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('GetLoss', + 'double', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetBSAntennaHeight(double height) [member function] + cls.add_method('SetBSAntennaHeight', + 'void', + [param('double', 'height')]) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetSSAntennaHeight(double height) [member function] + cls.add_method('SetSSAntennaHeight', + 'void', + [param('double', 'height')]) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetEnvironment(ns3::Cost231PropagationLossModel::Environment env) [member function] + cls.add_method('SetEnvironment', + 'void', + [param('ns3::Cost231PropagationLossModel::Environment', 'env')]) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetBSAntennaHeight() const [member function] + cls.add_method('GetBSAntennaHeight', + 'double', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetSSAntennaHeight() const [member function] + cls.add_method('GetSSAntennaHeight', + 'double', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): ns3::Cost231PropagationLossModel::Environment ns3::Cost231PropagationLossModel::GetEnvironment() const [member function] + cls.add_method('GetEnvironment', + 'ns3::Cost231PropagationLossModel::Environment', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::GetShadowing() [member function] + cls.add_method('GetShadowing', + 'double', + []) + ## cost231-propagation-loss-model.h (module 'propagation'): void ns3::Cost231PropagationLossModel::SetShadowing(double shadowing) [member function] + cls.add_method('SetShadowing', + 'void', + [param('double', 'shadowing')]) + ## cost231-propagation-loss-model.h (module 'propagation'): double ns3::Cost231PropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3CtrlBAckRequestHeader_methods(root_module, cls): ## ctrl-headers.h (module 'wifi'): ns3::CtrlBAckRequestHeader::CtrlBAckRequestHeader(ns3::CtrlBAckRequestHeader const & arg0) [copy constructor] cls.add_constructor([param('ns3::CtrlBAckRequestHeader const &', 'arg0')]) @@ -8532,6 +8855,71 @@ def register_Ns3ExtendedSupportedRatesIE_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3FixedRssLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FixedRssLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::FixedRssLossModel::FixedRssLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FixedRssLossModel::SetRss(double rss) [member function] + cls.add_method('SetRss', + 'void', + [param('double', 'rss')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::FixedRssLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3FriisPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::FriisPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::FriisPropagationLossModel::FriisPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double frequency, double speed) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'frequency'), param('double', 'speed')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetLambda(double lambda) [member function] + cls.add_method('SetLambda', + 'void', + [param('double', 'lambda')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetSystemLoss(double systemLoss) [member function] + cls.add_method('SetSystemLoss', + 'void', + [param('double', 'systemLoss')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::FriisPropagationLossModel::SetMinDistance(double minDistance) [member function] + cls.add_method('SetMinDistance', + 'void', + [param('double', 'minDistance')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetMinDistance() const [member function] + cls.add_method('GetMinDistance', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetLambda() const [member function] + cls.add_method('GetLambda', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::GetSystemLoss() const [member function] + cls.add_method('GetSystemLoss', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): double ns3::FriisPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3IdealWifiManager_methods(root_module, cls): ## ideal-wifi-manager.h (module 'wifi'): ns3::IdealWifiManager::IdealWifiManager(ns3::IdealWifiManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::IdealWifiManager const &', 'arg0')]) @@ -8764,6 +9152,67 @@ def register_Ns3Ipv6PrefixValue_methods(root_module, cls): [param('ns3::Ipv6Prefix const &', 'value')]) return +def register_Ns3JakesPropagationLossModel_methods(root_module, cls): + ## jakes-propagation-loss-model.h (module 'propagation'): ns3::JakesPropagationLossModel::JakesPropagationLossModel() [constructor] + cls.add_constructor([]) + ## jakes-propagation-loss-model.h (module 'propagation'): uint8_t ns3::JakesPropagationLossModel::GetNOscillators() const [member function] + cls.add_method('GetNOscillators', + 'uint8_t', + [], + is_const=True) + ## jakes-propagation-loss-model.h (module 'propagation'): uint8_t ns3::JakesPropagationLossModel::GetNRays() const [member function] + cls.add_method('GetNRays', + 'uint8_t', + [], + is_const=True) + ## jakes-propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::JakesPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## jakes-propagation-loss-model.h (module 'propagation'): void ns3::JakesPropagationLossModel::SetNOscillators(uint8_t nOscillators) [member function] + cls.add_method('SetNOscillators', + 'void', + [param('uint8_t', 'nOscillators')]) + ## jakes-propagation-loss-model.h (module 'propagation'): void ns3::JakesPropagationLossModel::SetNRays(uint8_t nRays) [member function] + cls.add_method('SetNRays', + 'void', + [param('uint8_t', 'nRays')]) + ## jakes-propagation-loss-model.h (module 'propagation'): double ns3::JakesPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + +def register_Ns3LogDistancePropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::LogDistancePropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::LogDistancePropagationLossModel::LogDistancePropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::LogDistancePropagationLossModel::SetPathLossExponent(double n) [member function] + cls.add_method('SetPathLossExponent', + 'void', + [param('double', 'n')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::LogDistancePropagationLossModel::GetPathLossExponent() const [member function] + cls.add_method('GetPathLossExponent', + 'double', + [], + is_const=True) + ## propagation-loss-model.h (module 'propagation'): void ns3::LogDistancePropagationLossModel::SetReference(double referenceDistance, double referenceLoss) [member function] + cls.add_method('SetReference', + 'void', + [param('double', 'referenceDistance'), param('double', 'referenceLoss')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::LogDistancePropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3Mac48AddressChecker_methods(root_module, cls): ## mac48-address.h (module 'network'): ns3::Mac48AddressChecker::Mac48AddressChecker() [constructor] cls.add_constructor([]) @@ -8950,6 +9399,29 @@ def register_Ns3MacLow_methods(root_module, cls): visibility='private', is_virtual=True) return +def register_Ns3MatrixPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::MatrixPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::MatrixPropagationLossModel::MatrixPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): void ns3::MatrixPropagationLossModel::SetLoss(ns3::Ptr a, ns3::Ptr b, double loss, bool symmetric=true) [member function] + cls.add_method('SetLoss', + 'void', + [param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b'), param('double', 'loss'), param('bool', 'symmetric', default_value='true')]) + ## propagation-loss-model.h (module 'propagation'): void ns3::MatrixPropagationLossModel::SetDefaultLoss(double arg0) [member function] + cls.add_method('SetDefaultLoss', + 'void', + [param('double', 'arg0')]) + ## propagation-loss-model.h (module 'propagation'): double ns3::MatrixPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3MgtBeaconHeader_methods(root_module, cls): ## mgt-headers.h (module 'wifi'): ns3::MgtBeaconHeader::MgtBeaconHeader() [constructor] cls.add_constructor([]) @@ -9051,6 +9523,21 @@ def register_Ns3MsduAggregator_methods(root_module, cls): is_static=True) return +def register_Ns3NakagamiPropagationLossModel_methods(root_module, cls): + ## propagation-loss-model.h (module 'propagation'): static ns3::TypeId ns3::NakagamiPropagationLossModel::GetTypeId() [member function] + cls.add_method('GetTypeId', + 'ns3::TypeId', + [], + is_static=True) + ## propagation-loss-model.h (module 'propagation'): ns3::NakagamiPropagationLossModel::NakagamiPropagationLossModel() [constructor] + cls.add_constructor([]) + ## propagation-loss-model.h (module 'propagation'): double ns3::NakagamiPropagationLossModel::DoCalcRxPower(double txPowerDbm, ns3::Ptr a, ns3::Ptr b) const [member function] + cls.add_method('DoCalcRxPower', + 'double', + [param('double', 'txPowerDbm'), param('ns3::Ptr< ns3::MobilityModel >', 'a'), param('ns3::Ptr< ns3::MobilityModel >', 'b')], + is_const=True, visibility='private', is_virtual=True) + return + def register_Ns3NetDevice_methods(root_module, cls): ## net-device.h (module 'network'): ns3::NetDevice::NetDevice() [constructor] cls.add_constructor([]) @@ -9299,10 +9786,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -9317,11 +9812,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/wifi/bindings/modulegen_customizations.py b/src/wifi/bindings/modulegen_customizations.py new file mode 100644 index 000000000..c5c8f60c7 --- /dev/null +++ b/src/wifi/bindings/modulegen_customizations.py @@ -0,0 +1,4 @@ + +def post_register_types(root_module): + root_module.add_include('"ns3/propagation-module.h"') + diff --git a/src/wifi/bindings/scan-header.h b/src/wifi/bindings/scan-header.h new file mode 100644 index 000000000..4e5907596 --- /dev/null +++ b/src/wifi/bindings/scan-header.h @@ -0,0 +1,5 @@ +// -*- c++ -*- + +#include "ns3/wifi-module.h" + +#include "ns3/propagation-module.h" diff --git a/src/wifi/examples/wifi-phy-test.cc b/src/wifi/examples/wifi-phy-test.cc index f538b6e16..28ac94b15 100644 --- a/src/wifi/examples/wifi-phy-test.cc +++ b/src/wifi/examples/wifi-phy-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/helper/athstats-helper.cc b/src/wifi/helper/athstats-helper.cc index 96da705a9..4b1afe5a2 100644 --- a/src/wifi/helper/athstats-helper.cc +++ b/src/wifi/helper/athstats-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/wifi/helper/athstats-helper.h b/src/wifi/helper/athstats-helper.h index 891ee47e2..6669b2051 100644 --- a/src/wifi/helper/athstats-helper.h +++ b/src/wifi/helper/athstats-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * diff --git a/src/wifi/helper/nqos-wifi-mac-helper.cc b/src/wifi/helper/nqos-wifi-mac-helper.cc index 2a63e3c19..0afd5a8ad 100644 --- a/src/wifi/helper/nqos-wifi-mac-helper.cc +++ b/src/wifi/helper/nqos-wifi-mac-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -75,4 +75,4 @@ NqosWifiMacHelper::Create (void) const return mac; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/helper/nqos-wifi-mac-helper.h b/src/wifi/helper/nqos-wifi-mac-helper.h index a41ee6f91..2c00dd268 100644 --- a/src/wifi/helper/nqos-wifi-mac-helper.h +++ b/src/wifi/helper/nqos-wifi-mac-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -93,6 +93,6 @@ private: ObjectFactory m_mac; }; -} //namespace ns3 +} // namespace ns3 #endif /* NQOS_WIFI_MAC_HELPER_H */ diff --git a/src/wifi/helper/qos-wifi-mac-helper.cc b/src/wifi/helper/qos-wifi-mac-helper.cc index 1000255be..8df5247b5 100644 --- a/src/wifi/helper/qos-wifi-mac-helper.cc +++ b/src/wifi/helper/qos-wifi-mac-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -150,4 +150,4 @@ QosWifiMacHelper::Create (void) const return mac; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/helper/qos-wifi-mac-helper.h b/src/wifi/helper/qos-wifi-mac-helper.h index 5ce3409d0..c00b9b448 100644 --- a/src/wifi/helper/qos-wifi-mac-helper.h +++ b/src/wifi/helper/qos-wifi-mac-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -152,6 +152,6 @@ private: std::map m_bAckInactivityTimeouts; }; -} //namespace ns3 +} // namespace ns3 #endif /* QOS_WIFI_MAC_HELPER_H */ diff --git a/src/wifi/helper/yans-wifi-helper.cc b/src/wifi/helper/yans-wifi-helper.cc index 8a817fbf7..d59ad6835 100644 --- a/src/wifi/helper/yans-wifi-helper.cc +++ b/src/wifi/helper/yans-wifi-helper.cc @@ -458,7 +458,7 @@ YansWifiPhyHelper::EnableAsciiInternal ( // // All of the ascii enable functions vector through here including the ones // that are wandering through all of devices on perhaps all of the nodes in - // the system. We can only deal with devices of type CsmaNetDevice. + // the system. We can only deal with devices of type WifiNetDevice. // Ptr device = nd->GetObject (); if (device == 0) diff --git a/src/wifi/model/aarf-wifi-manager.cc b/src/wifi/model/aarf-wifi-manager.cc index a258a3941..89ecf0ebe 100644 --- a/src/wifi/model/aarf-wifi-manager.cc +++ b/src/wifi/model/aarf-wifi-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/aarf-wifi-manager.h b/src/wifi/model/aarf-wifi-manager.h index 514b589ae..085599b90 100644 --- a/src/wifi/model/aarf-wifi-manager.h +++ b/src/wifi/model/aarf-wifi-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/aarfcd-wifi-manager.cc b/src/wifi/model/aarfcd-wifi-manager.cc index 4b06771ff..3b60872dc 100644 --- a/src/wifi/model/aarfcd-wifi-manager.cc +++ b/src/wifi/model/aarfcd-wifi-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/aarfcd-wifi-manager.h b/src/wifi/model/aarfcd-wifi-manager.h index bd3779045..aff4c947e 100644 --- a/src/wifi/model/aarfcd-wifi-manager.h +++ b/src/wifi/model/aarfcd-wifi-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/adhoc-wifi-mac.cc b/src/wifi/model/adhoc-wifi-mac.cc index 27ff71899..64c633a47 100644 --- a/src/wifi/model/adhoc-wifi-mac.cc +++ b/src/wifi/model/adhoc-wifi-mac.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/adhoc-wifi-mac.h b/src/wifi/model/adhoc-wifi-mac.h index 77341cfd9..465c04f1c 100644 --- a/src/wifi/model/adhoc-wifi-mac.h +++ b/src/wifi/model/adhoc-wifi-mac.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/amrr-wifi-manager.cc b/src/wifi/model/amrr-wifi-manager.cc index 65e3f7717..aa5514c47 100644 --- a/src/wifi/model/amrr-wifi-manager.cc +++ b/src/wifi/model/amrr-wifi-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2003,2007 INRIA * diff --git a/src/wifi/model/amrr-wifi-manager.h b/src/wifi/model/amrr-wifi-manager.h index 1142feaac..96352338a 100644 --- a/src/wifi/model/amrr-wifi-manager.h +++ b/src/wifi/model/amrr-wifi-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2003,2007 INRIA * diff --git a/src/wifi/model/amsdu-subframe-header.cc b/src/wifi/model/amsdu-subframe-header.cc index 442590b15..e7c65a568 100644 --- a/src/wifi/model/amsdu-subframe-header.cc +++ b/src/wifi/model/amsdu-subframe-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -115,4 +115,4 @@ AmsduSubframeHeader::GetLength (void) const return m_length; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/amsdu-subframe-header.h b/src/wifi/model/amsdu-subframe-header.h index 63b41fd7c..d0baec94e 100644 --- a/src/wifi/model/amsdu-subframe-header.h +++ b/src/wifi/model/amsdu-subframe-header.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -56,6 +56,6 @@ private: uint16_t m_length; }; -} //namespace ns3 +} // namespace ns3 #endif /* AMSDU_SUBFRAME_HEADER_H */ diff --git a/src/wifi/model/ap-wifi-mac.cc b/src/wifi/model/ap-wifi-mac.cc index 2af531eb1..444935783 100644 --- a/src/wifi/model/ap-wifi-mac.cc +++ b/src/wifi/model/ap-wifi-mac.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/ap-wifi-mac.h b/src/wifi/model/ap-wifi-mac.h index 4175bca94..679e5a083 100644 --- a/src/wifi/model/ap-wifi-mac.h +++ b/src/wifi/model/ap-wifi-mac.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/arf-wifi-manager.cc b/src/wifi/model/arf-wifi-manager.cc index 1e37b1e81..e7a0986fc 100644 --- a/src/wifi/model/arf-wifi-manager.cc +++ b/src/wifi/model/arf-wifi-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/arf-wifi-manager.h b/src/wifi/model/arf-wifi-manager.h index 50fc3837a..7233dd7de 100644 --- a/src/wifi/model/arf-wifi-manager.h +++ b/src/wifi/model/arf-wifi-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/block-ack-agreement.cc b/src/wifi/model/block-ack-agreement.cc index b264f9896..e85726059 100644 --- a/src/wifi/model/block-ack-agreement.cc +++ b/src/wifi/model/block-ack-agreement.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -118,4 +118,4 @@ BlockAckAgreement::IsAmsduSupported (void) const return (m_amsduSupported == 1) ? true : false; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/block-ack-agreement.h b/src/wifi/model/block-ack-agreement.h index c0364ea36..0becac294 100644 --- a/src/wifi/model/block-ack-agreement.h +++ b/src/wifi/model/block-ack-agreement.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -63,6 +63,6 @@ protected: EventId m_inactivityEvent; }; -} //namespace ns3 +} // namespace ns3 #endif /* BLOCK_ACK_AGREEMENT_H */ diff --git a/src/wifi/model/block-ack-cache.cc b/src/wifi/model/block-ack-cache.cc index 095bf044c..bc8a45c4f 100644 --- a/src/wifi/model/block-ack-cache.cc +++ b/src/wifi/model/block-ack-cache.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 MIRKO BANCHI * @@ -131,4 +131,4 @@ BlockAckCache::FillBlockAckBitmap (CtrlBAckResponseHeader *blockAckHeader) } } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/block-ack-cache.h b/src/wifi/model/block-ack-cache.h index affee0fa3..c16acfd26 100644 --- a/src/wifi/model/block-ack-cache.h +++ b/src/wifi/model/block-ack-cache.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 MIRKO BANCHI * @@ -52,6 +52,6 @@ private: uint16_t m_bitmap[4096]; }; -} //namespace ns3 +} // namespace ns3 #endif /* BLOCK_ACK_CACHE_H */ diff --git a/src/wifi/model/block-ack-manager.cc b/src/wifi/model/block-ack-manager.cc index 2387002d7..8333361d8 100644 --- a/src/wifi/model/block-ack-manager.cc +++ b/src/wifi/model/block-ack-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * @@ -649,4 +649,4 @@ BlockAckManager::GetSeqNumOfNextRetryPacket (Mac48Address recipient, uint8_t tid return 4096; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/block-ack-manager.h b/src/wifi/model/block-ack-manager.h index 3eb2edb25..0f1161950 100644 --- a/src/wifi/model/block-ack-manager.h +++ b/src/wifi/model/block-ack-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * @@ -315,6 +315,6 @@ private: Callback m_unblockPackets; }; -} //namespace ns3 +} // namespace ns3 #endif /* BLOCK_ACK_MANAGER_H */ diff --git a/src/wifi/model/capability-information.cc b/src/wifi/model/capability-information.cc index 07483ce02..da42cd913 100644 --- a/src/wifi/model/capability-information.cc +++ b/src/wifi/model/capability-information.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/capability-information.h b/src/wifi/model/capability-information.h index 7ba7170b2..f332de994 100644 --- a/src/wifi/model/capability-information.h +++ b/src/wifi/model/capability-information.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/cara-wifi-manager.cc b/src/wifi/model/cara-wifi-manager.cc index 0d9d6f34a..89904337e 100644 --- a/src/wifi/model/cara-wifi-manager.cc +++ b/src/wifi/model/cara-wifi-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/cara-wifi-manager.h b/src/wifi/model/cara-wifi-manager.h index 2085116d1..1b999197a 100644 --- a/src/wifi/model/cara-wifi-manager.h +++ b/src/wifi/model/cara-wifi-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/constant-rate-wifi-manager.cc b/src/wifi/model/constant-rate-wifi-manager.cc index a9e56b571..c5f8a8a11 100644 --- a/src/wifi/model/constant-rate-wifi-manager.cc +++ b/src/wifi/model/constant-rate-wifi-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005 INRIA * diff --git a/src/wifi/model/constant-rate-wifi-manager.h b/src/wifi/model/constant-rate-wifi-manager.h index 802e95a1a..ee1a43e51 100644 --- a/src/wifi/model/constant-rate-wifi-manager.h +++ b/src/wifi/model/constant-rate-wifi-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/ctrl-headers.cc b/src/wifi/model/ctrl-headers.cc index 448c3337e..11552e8c6 100644 --- a/src/wifi/model/ctrl-headers.cc +++ b/src/wifi/model/ctrl-headers.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -726,4 +726,4 @@ CtrlBAckResponseHeader::ResetBitmap (void) memset (&bitmap, 0, sizeof (bitmap)); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/ctrl-headers.h b/src/wifi/model/ctrl-headers.h index 8b6e53e2b..6cddf9aaa 100644 --- a/src/wifi/model/ctrl-headers.h +++ b/src/wifi/model/ctrl-headers.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -186,6 +186,6 @@ private: } bitmap; }; -} //namespace ns3 +} // namespace ns3 #endif /* CTRL_HEADERS_H */ diff --git a/src/wifi/model/dca-txop.cc b/src/wifi/model/dca-txop.cc index c12cd6d5b..9ef37253b 100644 --- a/src/wifi/model/dca-txop.cc +++ b/src/wifi/model/dca-txop.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/wifi/model/dca-txop.h b/src/wifi/model/dca-txop.h index 81a1d8a7d..d3c9559a0 100644 --- a/src/wifi/model/dca-txop.h +++ b/src/wifi/model/dca-txop.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * @@ -170,7 +170,7 @@ private: uint8_t m_fragmentNumber; }; -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/dcf-manager.cc b/src/wifi/model/dcf-manager.cc index 2f3b805f9..655f0e584 100644 --- a/src/wifi/model/dcf-manager.cc +++ b/src/wifi/model/dcf-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/dcf-manager.h b/src/wifi/model/dcf-manager.h index 22b95ba53..34c6e8b2a 100644 --- a/src/wifi/model/dcf-manager.h +++ b/src/wifi/model/dcf-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/dcf.cc b/src/wifi/model/dcf.cc index cf7d22e4f..2cfa4985b 100644 --- a/src/wifi/model/dcf.cc +++ b/src/wifi/model/dcf.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/wifi/model/dcf.h b/src/wifi/model/dcf.h index cc09e4e72..6e3b27f54 100644 --- a/src/wifi/model/dcf.h +++ b/src/wifi/model/dcf.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/wifi/model/dsss-error-rate-model.cc b/src/wifi/model/dsss-error-rate-model.cc index 4dbab9fb6..1ea067841 100644 --- a/src/wifi/model/dsss-error-rate-model.cc +++ b/src/wifi/model/dsss-error-rate-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/wifi/model/dsss-error-rate-model.h b/src/wifi/model/dsss-error-rate-model.h index 08a65f846..643e7c396 100644 --- a/src/wifi/model/dsss-error-rate-model.h +++ b/src/wifi/model/dsss-error-rate-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/wifi/model/edca-txop-n.cc b/src/wifi/model/edca-txop-n.cc index 1cb017ef8..0d270b8d9 100644 --- a/src/wifi/model/edca-txop-n.cc +++ b/src/wifi/model/edca-txop-n.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI @@ -1111,4 +1111,4 @@ EdcaTxopN::DoStart () m_dcf->StartBackoffNow (m_rng->GetNext (0, m_dcf->GetCw ())); ns3::Dcf::DoStart (); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/edca-txop-n.h b/src/wifi/model/edca-txop-n.h index 8acea5605..0cc5b2c05 100644 --- a/src/wifi/model/edca-txop-n.h +++ b/src/wifi/model/edca-txop-n.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI @@ -227,6 +227,6 @@ private: struct Bar m_currentBar; }; -} //namespace ns3 +} // namespace ns3 #endif /* EDCA_TXOP_N_H */ diff --git a/src/wifi/model/error-rate-model.cc b/src/wifi/model/error-rate-model.cc index 0f4214f75..8cc49a563 100644 --- a/src/wifi/model/error-rate-model.cc +++ b/src/wifi/model/error-rate-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/error-rate-model.h b/src/wifi/model/error-rate-model.h index 1e328e4c7..81c1a3bf9 100644 --- a/src/wifi/model/error-rate-model.h +++ b/src/wifi/model/error-rate-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/ideal-wifi-manager.cc b/src/wifi/model/ideal-wifi-manager.cc index 37073eecf..e28f0fc62 100644 --- a/src/wifi/model/ideal-wifi-manager.cc +++ b/src/wifi/model/ideal-wifi-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/ideal-wifi-manager.h b/src/wifi/model/ideal-wifi-manager.h index 838eb26dc..048baab32 100644 --- a/src/wifi/model/ideal-wifi-manager.h +++ b/src/wifi/model/ideal-wifi-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/interference-helper.cc b/src/wifi/model/interference-helper.cc index d998e314d..dd26619be 100644 --- a/src/wifi/model/interference-helper.cc +++ b/src/wifi/model/interference-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/interference-helper.h b/src/wifi/model/interference-helper.h index df83090a2..685b6fb4b 100644 --- a/src/wifi/model/interference-helper.h +++ b/src/wifi/model/interference-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/mac-low.cc b/src/wifi/model/mac-low.cc index 2f8e9c115..a8e09b128 100644 --- a/src/wifi/model/mac-low.cc +++ b/src/wifi/model/mac-low.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/mac-low.h b/src/wifi/model/mac-low.h index 75103761b..2bfeedd9e 100644 --- a/src/wifi/model/mac-low.h +++ b/src/wifi/model/mac-low.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2006 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/mac-rx-middle.cc b/src/wifi/model/mac-rx-middle.cc index 24dc3eafd..cefd899a9 100644 --- a/src/wifi/model/mac-rx-middle.cc +++ b/src/wifi/model/mac-rx-middle.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/wifi/model/mac-rx-middle.h b/src/wifi/model/mac-rx-middle.h index c59cd8a85..c0570c47a 100644 --- a/src/wifi/model/mac-rx-middle.h +++ b/src/wifi/model/mac-rx-middle.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005 INRIA * diff --git a/src/wifi/model/mac-tx-middle.cc b/src/wifi/model/mac-tx-middle.cc index 14582dad3..5b0fd8efc 100644 --- a/src/wifi/model/mac-tx-middle.cc +++ b/src/wifi/model/mac-tx-middle.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/mac-tx-middle.h b/src/wifi/model/mac-tx-middle.h index 719bf1b3c..0a0e017d2 100644 --- a/src/wifi/model/mac-tx-middle.h +++ b/src/wifi/model/mac-tx-middle.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/mgt-headers.cc b/src/wifi/model/mgt-headers.cc index 051c291c3..38950c33b 100644 --- a/src/wifi/model/mgt-headers.cc +++ b/src/wifi/model/mgt-headers.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/mgt-headers.h b/src/wifi/model/mgt-headers.h index 6f900ba51..fc087f427 100644 --- a/src/wifi/model/mgt-headers.h +++ b/src/wifi/model/mgt-headers.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/minstrel-wifi-manager.cc b/src/wifi/model/minstrel-wifi-manager.cc index ec0314901..42071084d 100644 --- a/src/wifi/model/minstrel-wifi-manager.cc +++ b/src/wifi/model/minstrel-wifi-manager.cc @@ -787,7 +787,7 @@ MinstrelWifiManager::PrintTable (MinstrelWifiRemoteStation *station) } } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/msdu-aggregator.cc b/src/wifi/model/msdu-aggregator.cc index 20f48a4d3..fb5eb2446 100644 --- a/src/wifi/model/msdu-aggregator.cc +++ b/src/wifi/model/msdu-aggregator.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -73,4 +73,4 @@ MsduAggregator::Deaggregate (Ptr aggregatedPacket) return set; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/msdu-aggregator.h b/src/wifi/model/msdu-aggregator.h index 709ac8437..12d04a1ff 100644 --- a/src/wifi/model/msdu-aggregator.h +++ b/src/wifi/model/msdu-aggregator.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -53,6 +53,6 @@ public: static DeaggregatedMsdus Deaggregate (Ptr aggregatedPacket); }; -} //namespace ns3 +} // namespace ns3 #endif /* MSDU_AGGREGATOR_H */ diff --git a/src/wifi/model/msdu-standard-aggregator.cc b/src/wifi/model/msdu-standard-aggregator.cc index 6e6560ccb..c77516506 100644 --- a/src/wifi/model/msdu-standard-aggregator.cc +++ b/src/wifi/model/msdu-standard-aggregator.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -87,4 +87,4 @@ MsduStandardAggregator::CalculatePadding (Ptr packet) return (4 - (packet->GetSize () % 4 )) % 4; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/msdu-standard-aggregator.h b/src/wifi/model/msdu-standard-aggregator.h index abba6587f..05a5ce350 100644 --- a/src/wifi/model/msdu-standard-aggregator.h +++ b/src/wifi/model/msdu-standard-aggregator.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -56,6 +56,6 @@ private: uint32_t m_maxAmsduLength; }; -} //namespace ns3 +} // namespace ns3 #endif /* MSDU_STANDARD_AGGREGATOR_H */ diff --git a/src/wifi/model/nist-error-rate-model.cc b/src/wifi/model/nist-error-rate-model.cc index 362fc9986..24132fac5 100644 --- a/src/wifi/model/nist-error-rate-model.cc +++ b/src/wifi/model/nist-error-rate-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/wifi/model/nist-error-rate-model.h b/src/wifi/model/nist-error-rate-model.h index 8e4859e0e..fb0376106 100644 --- a/src/wifi/model/nist-error-rate-model.h +++ b/src/wifi/model/nist-error-rate-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 The Boeing Company * diff --git a/src/wifi/model/onoe-wifi-manager.cc b/src/wifi/model/onoe-wifi-manager.cc index 60fecccc4..c5d28c715 100644 --- a/src/wifi/model/onoe-wifi-manager.cc +++ b/src/wifi/model/onoe-wifi-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2003,2007 INRIA * diff --git a/src/wifi/model/onoe-wifi-manager.h b/src/wifi/model/onoe-wifi-manager.h index 2d1e82165..622842d4a 100644 --- a/src/wifi/model/onoe-wifi-manager.h +++ b/src/wifi/model/onoe-wifi-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2003,2007 INRIA * diff --git a/src/wifi/model/originator-block-ack-agreement.cc b/src/wifi/model/originator-block-ack-agreement.cc index fcba89115..4fedcddbf 100644 --- a/src/wifi/model/originator-block-ack-agreement.cc +++ b/src/wifi/model/originator-block-ack-agreement.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * @@ -93,4 +93,4 @@ OriginatorBlockAckAgreement::CompleteExchange (void) m_sentMpdus = 0; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/originator-block-ack-agreement.h b/src/wifi/model/originator-block-ack-agreement.h index 26da1f5af..417f8304c 100644 --- a/src/wifi/model/originator-block-ack-agreement.h +++ b/src/wifi/model/originator-block-ack-agreement.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * @@ -115,6 +115,6 @@ private: bool m_needBlockAckReq; }; -} //namespace ns3 +} // namespace ns3 #endif /* ORIGINATOR_BLOCK_ACK_AGREEMENT_H */ diff --git a/src/wifi/model/qos-blocked-destinations.cc b/src/wifi/model/qos-blocked-destinations.cc index 7220c57ef..7778d9336 100644 --- a/src/wifi/model/qos-blocked-destinations.cc +++ b/src/wifi/model/qos-blocked-destinations.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI @@ -65,4 +65,4 @@ QosBlockedDestinations::Unblock (Mac48Address dest, uint8_t tid) } } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/qos-blocked-destinations.h b/src/wifi/model/qos-blocked-destinations.h index 10f60998e..eed99d378 100644 --- a/src/wifi/model/qos-blocked-destinations.h +++ b/src/wifi/model/qos-blocked-destinations.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI @@ -43,6 +43,6 @@ private: BlockedPackets m_blockedQosPackets; }; -} //namespace ns3 +} // namespace ns3 #endif /* QOS_BLOCKED_DESTINATIONS_H */ diff --git a/src/wifi/model/qos-tag.cc b/src/wifi/model/qos-tag.cc index 97ab79219..bbc2a4125 100644 --- a/src/wifi/model/qos-tag.cc +++ b/src/wifi/model/qos-tag.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -96,4 +96,4 @@ QosTag::Print (std::ostream &os) const os << "Tid=" << m_tid; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/qos-tag.h b/src/wifi/model/qos-tag.h index c53e3e452..46ec01c22 100644 --- a/src/wifi/model/qos-tag.h +++ b/src/wifi/model/qos-tag.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -106,6 +106,6 @@ private: uint8_t m_tid; }; -} //namespace ns3 +} // namespace ns3 #endif /* QOS_TAG_H */ diff --git a/src/wifi/model/qos-utils.cc b/src/wifi/model/qos-utils.cc index 148be49ab..b444f11bb 100644 --- a/src/wifi/model/qos-utils.cc +++ b/src/wifi/model/qos-utils.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -91,4 +91,4 @@ QosUtilsIsOldPacket (uint16_t startingSeq, uint16_t seqNumber) return (distance >= 2048); } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/qos-utils.h b/src/wifi/model/qos-utils.h index 7aa58bdf4..b689ff718 100644 --- a/src/wifi/model/qos-utils.h +++ b/src/wifi/model/qos-utils.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 MIRKO BANCHI * @@ -106,6 +106,6 @@ uint32_t QosUtilsMapSeqControlToUniqueInteger (uint16_t seqControl, uint16_t end */ bool QosUtilsIsOldPacket (uint16_t startingSeq, uint16_t seqNumber); -} //namespace ns3 +} // namespace ns3 #endif /* QOS_UTILS_H */ diff --git a/src/wifi/model/random-stream.cc b/src/wifi/model/random-stream.cc index 34ba66c14..7f6f1828e 100644 --- a/src/wifi/model/random-stream.cc +++ b/src/wifi/model/random-stream.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/wifi/model/random-stream.h b/src/wifi/model/random-stream.h index b72bfae11..a9887081a 100644 --- a/src/wifi/model/random-stream.h +++ b/src/wifi/model/random-stream.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * diff --git a/src/wifi/model/regular-wifi-mac.cc b/src/wifi/model/regular-wifi-mac.cc index 4ef8e463f..e93a525eb 100644 --- a/src/wifi/model/regular-wifi-mac.cc +++ b/src/wifi/model/regular-wifi-mac.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * @@ -658,8 +658,8 @@ RegularWifiMac::FinishConfigureStandard (enum WifiPhyStandard standard) case WIFI_PHY_STANDARD_holland: case WIFI_PHY_STANDARD_80211a: case WIFI_PHY_STANDARD_80211g: - case WIFI_PHY_STANDARD_80211_10Mhz: - case WIFI_PHY_STANDARD_80211_5Mhz: + case WIFI_PHY_STANDARD_80211_10MHZ: + case WIFI_PHY_STANDARD_80211_5MHZ: cwmin = 15; cwmax = 1023; break; diff --git a/src/wifi/model/regular-wifi-mac.h b/src/wifi/model/regular-wifi-mac.h index 93e50a564..f501adf0e 100644 --- a/src/wifi/model/regular-wifi-mac.h +++ b/src/wifi/model/regular-wifi-mac.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/wifi/model/rraa-wifi-manager.cc b/src/wifi/model/rraa-wifi-manager.cc index eb8d8947a..bf1e16a31 100644 --- a/src/wifi/model/rraa-wifi-manager.cc +++ b/src/wifi/model/rraa-wifi-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2004,2005,2006 INRIA * diff --git a/src/wifi/model/rraa-wifi-manager.h b/src/wifi/model/rraa-wifi-manager.h index a32fdad84..5187301db 100644 --- a/src/wifi/model/rraa-wifi-manager.h +++ b/src/wifi/model/rraa-wifi-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/ssid.cc b/src/wifi/model/ssid.cc index ee1ea1414..d511f9ece 100644 --- a/src/wifi/model/ssid.cc +++ b/src/wifi/model/ssid.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/ssid.h b/src/wifi/model/ssid.h index 5647c8195..f5fc93554 100644 --- a/src/wifi/model/ssid.h +++ b/src/wifi/model/ssid.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/sta-wifi-mac.cc b/src/wifi/model/sta-wifi-mac.cc index 3572c867d..f0d649c56 100644 --- a/src/wifi/model/sta-wifi-mac.cc +++ b/src/wifi/model/sta-wifi-mac.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/sta-wifi-mac.h b/src/wifi/model/sta-wifi-mac.h index 510fc8387..046cd2385 100644 --- a/src/wifi/model/sta-wifi-mac.h +++ b/src/wifi/model/sta-wifi-mac.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/status-code.cc b/src/wifi/model/status-code.cc index 361778f30..a7720828c 100644 --- a/src/wifi/model/status-code.cc +++ b/src/wifi/model/status-code.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/status-code.h b/src/wifi/model/status-code.h index 9beb4ac48..54c5e8738 100644 --- a/src/wifi/model/status-code.h +++ b/src/wifi/model/status-code.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/supported-rates.cc b/src/wifi/model/supported-rates.cc index 8d0756cbf..6e54a7840 100644 --- a/src/wifi/model/supported-rates.cc +++ b/src/wifi/model/supported-rates.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/supported-rates.h b/src/wifi/model/supported-rates.h index 4d90218c3..f5766c6f0 100644 --- a/src/wifi/model/supported-rates.h +++ b/src/wifi/model/supported-rates.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/wifi-channel.cc b/src/wifi/model/wifi-channel.cc index f6c342395..59295d842 100644 --- a/src/wifi/model/wifi-channel.cc +++ b/src/wifi/model/wifi-channel.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/wifi/model/wifi-channel.h b/src/wifi/model/wifi-channel.h index 51bef9c5f..cdd478c5b 100644 --- a/src/wifi/model/wifi-channel.h +++ b/src/wifi/model/wifi-channel.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * @@ -21,7 +21,6 @@ #define WIFI_CHANNEL_H #include "ns3/channel.h" -#include "ns3/attribute-list.h" namespace ns3 { diff --git a/src/wifi/model/wifi-information-element-vector.cc b/src/wifi/model/wifi-information-element-vector.cc index 3547cf77a..4e6aba20e 100644 --- a/src/wifi/model/wifi-information-element-vector.cc +++ b/src/wifi/model/wifi-information-element-vector.cc @@ -190,4 +190,4 @@ WifiInformationElementVector::operator== (const WifiInformationElementVector & a return true; } -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/model/wifi-mac-header.cc b/src/wifi/model/wifi-mac-header.cc index 9eca0feb1..5f10f7c2b 100644 --- a/src/wifi/model/wifi-mac-header.cc +++ b/src/wifi/model/wifi-mac-header.cc @@ -1,4 +1,4 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-mac-header.h b/src/wifi/model/wifi-mac-header.h index f16a03f8c..ebe438228 100644 --- a/src/wifi/model/wifi-mac-header.h +++ b/src/wifi/model/wifi-mac-header.h @@ -1,4 +1,4 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-mac-queue.cc b/src/wifi/model/wifi-mac-queue.cc index 7f4c28d10..4965b8ee5 100644 --- a/src/wifi/model/wifi-mac-queue.cc +++ b/src/wifi/model/wifi-mac-queue.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-mac-queue.h b/src/wifi/model/wifi-mac-queue.h index 5e8e0c885..609b0d13d 100644 --- a/src/wifi/model/wifi-mac-queue.h +++ b/src/wifi/model/wifi-mac-queue.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005, 2009 INRIA * Copyright (c) 2009 MIRKO BANCHI diff --git a/src/wifi/model/wifi-mac-trailer.cc b/src/wifi/model/wifi-mac-trailer.cc index 7b081070c..bb4579e42 100644 --- a/src/wifi/model/wifi-mac-trailer.cc +++ b/src/wifi/model/wifi-mac-trailer.cc @@ -1,4 +1,4 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/wifi-mac-trailer.h b/src/wifi/model/wifi-mac-trailer.h index fb5c34b42..4370756b9 100644 --- a/src/wifi/model/wifi-mac-trailer.h +++ b/src/wifi/model/wifi-mac-trailer.h @@ -1,4 +1,4 @@ -/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006 INRIA * diff --git a/src/wifi/model/wifi-mac.cc b/src/wifi/model/wifi-mac.cc index 61208d65c..9a956a66f 100644 --- a/src/wifi/model/wifi-mac.cc +++ b/src/wifi/model/wifi-mac.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * @@ -271,10 +271,10 @@ WifiMac::ConfigureStandard (enum WifiPhyStandard standard) case WIFI_PHY_STANDARD_80211g: Configure80211g (); break; - case WIFI_PHY_STANDARD_80211_10Mhz: + case WIFI_PHY_STANDARD_80211_10MHZ: Configure80211_10Mhz (); break; - case WIFI_PHY_STANDARD_80211_5Mhz: + case WIFI_PHY_STANDARD_80211_5MHZ: Configure80211_5Mhz (); break; case WIFI_PHY_STANDARD_holland: diff --git a/src/wifi/model/wifi-mac.h b/src/wifi/model/wifi-mac.h index a208abb4a..eb8473643 100644 --- a/src/wifi/model/wifi-mac.h +++ b/src/wifi/model/wifi-mac.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * diff --git a/src/wifi/model/wifi-mode.cc b/src/wifi/model/wifi-mode.cc index 9ec1cfb2f..24ef5a27c 100644 --- a/src/wifi/model/wifi-mode.cc +++ b/src/wifi/model/wifi-mode.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * @@ -47,13 +47,13 @@ WifiMode::GetBandwidth (void) const struct WifiModeFactory::WifiModeItem *item = WifiModeFactory::GetFactory ()->Get (m_uid); return item->bandwidth; } -uint32_t +uint64_t WifiMode::GetPhyRate (void) const { struct WifiModeFactory::WifiModeItem *item = WifiModeFactory::GetFactory ()->Get (m_uid); return item->phyRate; } -uint32_t +uint64_t WifiMode::GetDataRate (void) const { struct WifiModeFactory::WifiModeItem *item = WifiModeFactory::GetFactory ()->Get (m_uid); diff --git a/src/wifi/model/wifi-mode.h b/src/wifi/model/wifi-mode.h index 5f87e836f..ca670e004 100644 --- a/src/wifi/model/wifi-mode.h +++ b/src/wifi/model/wifi-mode.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * @@ -98,11 +98,11 @@ public: * If a transmission mode uses 1/2 FEC, and if its * data rate is 3Mbs, the phy rate is 6Mbs */ - uint32_t GetPhyRate (void) const; + uint64_t GetPhyRate (void) const; /** * \returns the data bit rate of this signal. */ - uint32_t GetDataRate (void) const; + uint64_t GetDataRate (void) const; /** * \returns the coding rate of this transmission mode */ diff --git a/src/wifi/model/wifi-net-device.cc b/src/wifi/model/wifi-net-device.cc index 6b654b14e..bdf06f5ec 100644 --- a/src/wifi/model/wifi-net-device.cc +++ b/src/wifi/model/wifi-net-device.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-net-device.h b/src/wifi/model/wifi-net-device.h index 4aaf76a96..40dbe7e0d 100644 --- a/src/wifi/model/wifi-net-device.h +++ b/src/wifi/model/wifi-net-device.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy-standard.h b/src/wifi/model/wifi-phy-standard.h index 0f11c2a12..99a60de2f 100644 --- a/src/wifi/model/wifi-phy-standard.h +++ b/src/wifi/model/wifi-phy-standard.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2007 INRIA * @@ -36,9 +36,9 @@ enum WifiPhyStandard /** ERP-OFDM PHY (Clause 19, Section 19.5) */ WIFI_PHY_STANDARD_80211g, /** OFDM PHY for the 5 GHz band (Clause 17 with 10 MHz channel bandwidth) */ - WIFI_PHY_STANDARD_80211_10Mhz, + WIFI_PHY_STANDARD_80211_10MHZ, /** OFDM PHY for the 5 GHz band (Clause 17 with 5 MHz channel bandwidth) */ - WIFI_PHY_STANDARD_80211_5Mhz, + WIFI_PHY_STANDARD_80211_5MHZ, /** This is intended to be the configuration used in this paper: * Gavin Holland, Nitin Vaidya and Paramvir Bahl, "A Rate-Adaptive * MAC Protocol for Multi-Hop Wireless Networks", in Proc. of diff --git a/src/wifi/model/wifi-phy-state-helper.cc b/src/wifi/model/wifi-phy-state-helper.cc index 8391dc58c..7ba666abd 100644 --- a/src/wifi/model/wifi-phy-state-helper.cc +++ b/src/wifi/model/wifi-phy-state-helper.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy-state-helper.h b/src/wifi/model/wifi-phy-state-helper.h index 2d497b62b..18f323e41 100644 --- a/src/wifi/model/wifi-phy-state-helper.h +++ b/src/wifi/model/wifi-phy-state-helper.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy.cc b/src/wifi/model/wifi-phy.cc index 8040ef791..da0a541bd 100644 --- a/src/wifi/model/wifi-phy.cc +++ b/src/wifi/model/wifi-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-phy.h b/src/wifi/model/wifi-phy.h index b165faa54..224b57856 100644 --- a/src/wifi/model/wifi-phy.h +++ b/src/wifi/model/wifi-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/wifi-preamble.h b/src/wifi/model/wifi-preamble.h index 45063def7..71c6cea2f 100644 --- a/src/wifi/model/wifi-preamble.h +++ b/src/wifi/model/wifi-preamble.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/wifi/model/wifi-remote-station-manager.cc b/src/wifi/model/wifi-remote-station-manager.cc index 60c430201..ebbeeda7d 100644 --- a/src/wifi/model/wifi-remote-station-manager.cc +++ b/src/wifi/model/wifi-remote-station-manager.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/wifi/model/wifi-remote-station-manager.h b/src/wifi/model/wifi-remote-station-manager.h index e78859c61..bef8bd410 100644 --- a/src/wifi/model/wifi-remote-station-manager.h +++ b/src/wifi/model/wifi-remote-station-manager.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006,2007 INRIA * diff --git a/src/wifi/model/yans-error-rate-model.cc b/src/wifi/model/yans-error-rate-model.cc index 09d7bc531..a7ff3f41b 100644 --- a/src/wifi/model/yans-error-rate-model.cc +++ b/src/wifi/model/yans-error-rate-model.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/yans-error-rate-model.h b/src/wifi/model/yans-error-rate-model.h index 70552fd18..905147184 100644 --- a/src/wifi/model/yans-error-rate-model.h +++ b/src/wifi/model/yans-error-rate-model.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/model/yans-wifi-channel.cc b/src/wifi/model/yans-wifi-channel.cc index 7e6dc9175..51370a28c 100644 --- a/src/wifi/model/yans-wifi-channel.cc +++ b/src/wifi/model/yans-wifi-channel.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/wifi/model/yans-wifi-channel.h b/src/wifi/model/yans-wifi-channel.h index 1f00140fb..109a95a71 100644 --- a/src/wifi/model/yans-wifi-channel.h +++ b/src/wifi/model/yans-wifi-channel.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2006,2007 INRIA * diff --git a/src/wifi/model/yans-wifi-phy.cc b/src/wifi/model/yans-wifi-phy.cc index 8465fd806..b36d44431 100644 --- a/src/wifi/model/yans-wifi-phy.cc +++ b/src/wifi/model/yans-wifi-phy.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * @@ -166,10 +166,10 @@ YansWifiPhy::ConfigureStandard (enum WifiPhyStandard standard) case WIFI_PHY_STANDARD_80211g: Configure80211g (); break; - case WIFI_PHY_STANDARD_80211_10Mhz: + case WIFI_PHY_STANDARD_80211_10MHZ: Configure80211_10Mhz (); break; - case WIFI_PHY_STANDARD_80211_5Mhz: + case WIFI_PHY_STANDARD_80211_5MHZ: Configure80211_5Mhz (); break; case WIFI_PHY_STANDARD_holland: diff --git a/src/wifi/model/yans-wifi-phy.h b/src/wifi/model/yans-wifi-phy.h index ccbad43ef..814e977c3 100644 --- a/src/wifi/model/yans-wifi-phy.h +++ b/src/wifi/model/yans-wifi-phy.h @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/test/block-ack-test-suite.cc b/src/wifi/test/block-ack-test-suite.cc index 8b5e4c1e6..7e8a317fc 100644 --- a/src/wifi/test/block-ack-test-suite.cc +++ b/src/wifi/test/block-ack-test-suite.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009, 2010 MIRKO BANCHI * diff --git a/src/wifi/test/dcf-manager-test.cc b/src/wifi/test/dcf-manager-test.cc index fc18eb1ec..3e8ecceb4 100644 --- a/src/wifi/test/dcf-manager-test.cc +++ b/src/wifi/test/dcf-manager-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * diff --git a/src/wifi/test/tx-duration-test.cc b/src/wifi/test/tx-duration-test.cc index ff793d81e..1cc2e7e19 100644 --- a/src/wifi/test/tx-duration-test.cc +++ b/src/wifi/test/tx-duration-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2009 CTTC * @@ -192,5 +192,5 @@ TxDurationTestSuite::TxDurationTestSuite () } static TxDurationTestSuite g_txDurationTestSuite; -} //namespace ns3 +} // namespace ns3 diff --git a/src/wifi/test/wifi-test.cc b/src/wifi/test/wifi-test.cc index d92c0a713..9ec79be81 100644 --- a/src/wifi/test/wifi-test.cc +++ b/src/wifi/test/wifi-test.cc @@ -1,4 +1,4 @@ -/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ +/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2005,2006 INRIA * 2010 NICTA diff --git a/src/wifi/wscript b/src/wifi/wscript index 0784c8ee2..d12baaefb 100644 --- a/src/wifi/wscript +++ b/src/wifi/wscript @@ -75,7 +75,7 @@ def build(bld): 'test/wifi-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'wifi' headers.source = [ 'model/wifi-information-element.h', @@ -140,8 +140,8 @@ def build(bld): ] if bld.env['ENABLE_GSL']: - obj.uselib = 'GSL GSLCBLAS M' - obj_test.uselib = 'GSL GSLCBLAS M' + obj.use.extend(['GSL', 'GSLCBLAS', 'M']) + obj_test.use.extend(['GSL', 'GSLCBLAS', 'M']) if (bld.env['ENABLE_EXAMPLES']): bld.add_subdirs('examples') diff --git a/src/wimax/bindings/modulegen__gcc_ILP32.py b/src/wimax/bindings/modulegen__gcc_ILP32.py index 1c0864520..cdf6d79d7 100644 --- a/src/wimax/bindings/modulegen__gcc_ILP32.py +++ b/src/wimax/bindings/modulegen__gcc_ILP32.py @@ -32,8 +32,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -165,7 +167,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -180,8 +182,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## wimax-tlv.h (module 'wimax'): ns3::U16TlvValue [class] module.add_class('U16TlvValue', parent=root_module['ns3::TlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::U32TlvValue [class] @@ -192,8 +196,6 @@ def register_types(module): module.add_class('UcdChannelEncodings', allow_subclassing=True) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## wimax-tlv.h (module 'wimax'): ns3::VectorTlvValue [class] module.add_class('VectorTlvValue', parent=root_module['ns3::TlvValue']) ## random-variable.h (module 'core'): ns3::WeibullVariable [class] @@ -318,6 +320,8 @@ def register_types(module): 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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## ss-service-flow-manager.h (module 'wimax'): ns3::SsServiceFlowManager [class] module.add_class('SsServiceFlowManager', parent=root_module['ns3::ServiceFlowManager']) ## ss-service-flow-manager.h (module 'wimax'): ns3::SsServiceFlowManager::ConfirmationCode [enumeration] @@ -334,6 +338,8 @@ def register_types(module): module.add_class('Tlv', parent=root_module['ns3::Header']) ## wimax-tlv.h (module 'wimax'): ns3::Tlv::CommonTypes [enumeration] module.add_enum('CommonTypes', ['HMAC_TUPLE', 'MAC_VERSION_ENCODING', 'CURRENT_TRANSMIT_POWER', 'DOWNLINK_SERVICE_FLOW', 'UPLINK_SERVICE_FLOW', 'VENDOR_ID_EMCODING', 'VENDOR_SPECIFIC_INFORMATION'], outer_class=root_module['ns3::Tlv']) + ## 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] @@ -561,7 +567,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -620,13 +627,13 @@ def register_methods(root_module): register_Ns3TosTlvValue_methods(root_module, root_module['ns3::TosTlvValue']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3U16TlvValue_methods(root_module, root_module['ns3::U16TlvValue']) register_Ns3U32TlvValue_methods(root_module, root_module['ns3::U32TlvValue']) register_Ns3U8TlvValue_methods(root_module, root_module['ns3::U8TlvValue']) register_Ns3UcdChannelEncodings_methods(root_module, root_module['ns3::UcdChannelEncodings']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3VectorTlvValue_methods(root_module, root_module['ns3::VectorTlvValue']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WimaxHelper_methods(root_module, root_module['ns3::WimaxHelper']) @@ -680,10 +687,12 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SsServiceFlowManager_methods(root_module, root_module['ns3::SsServiceFlowManager']) register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3Tlv_methods(root_module, root_module['ns3::Tlv']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3Ucd_methods(root_module, root_module['ns3::Ucd']) @@ -949,41 +958,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -2371,10 +2382,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2401,6 +2412,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2415,10 +2428,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -4284,23 +4293,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -4308,26 +4307,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -4358,14 +4342,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -4373,11 +4352,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -4402,22 +4376,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -4427,6 +4396,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -4441,19 +4414,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3U16TlvValue_methods(root_module, cls): @@ -4650,22 +4642,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3VectorTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::VectorTlvValue::VectorTlvValue(ns3::VectorTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::VectorTlvValue const &', 'arg0')]) @@ -6336,6 +6312,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SsServiceFlowManager_methods(root_module, cls): ## ss-service-flow-manager.h (module 'wimax'): ns3::SsServiceFlowManager::SsServiceFlowManager(ns3::SsServiceFlowManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::SsServiceFlowManager const &', 'arg0')]) @@ -6629,6 +6617,33 @@ def register_Ns3Tlv_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -8034,6 +8049,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -9779,10 +9799,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -9797,11 +9825,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/wimax/bindings/modulegen__gcc_LP64.py b/src/wimax/bindings/modulegen__gcc_LP64.py index 428852c57..873888c08 100644 --- a/src/wimax/bindings/modulegen__gcc_LP64.py +++ b/src/wimax/bindings/modulegen__gcc_LP64.py @@ -32,8 +32,10 @@ def register_types(module): module.add_class('AsciiTraceHelper', import_from_module='ns.network') ## trace-helper.h (module 'network'): ns3::AsciiTraceHelperForDevice [class] module.add_class('AsciiTraceHelperForDevice', allow_subclassing=True, import_from_module='ns.network') - ## attribute-list.h (module 'core'): ns3::AttributeList [class] - module.add_class('AttributeList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList [class] + module.add_class('AttributeConstructionList', import_from_module='ns.core') + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item [struct] + module.add_class('Item', import_from_module='ns.core', outer_class=root_module['ns3::AttributeConstructionList']) ## buffer.h (module 'network'): ns3::Buffer [class] module.add_class('Buffer', import_from_module='ns.network') ## buffer.h (module 'network'): ns3::Buffer::Iterator [class] @@ -165,7 +167,7 @@ def register_types(module): ## 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::Object', 'ns3::ObjectBase', 'ns3::ObjectDeleter'], parent=root_module['ns3::ObjectBase'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## simulator.h (module 'core'): ns3::Simulator [class] - module.add_class('Simulator', is_singleton=True, import_from_module='ns.core') + module.add_class('Simulator', destructor_visibility='private', import_from_module='ns.core') ## tag.h (module 'network'): ns3::Tag [class] module.add_class('Tag', import_from_module='ns.network', parent=root_module['ns3::ObjectBase']) ## tag-buffer.h (module 'network'): ns3::TagBuffer [class] @@ -180,8 +182,10 @@ def register_types(module): module.add_class('TypeId', import_from_module='ns.core') ## type-id.h (module 'core'): ns3::TypeId::AttributeFlag [enumeration] module.add_enum('AttributeFlag', ['ATTR_GET', 'ATTR_SET', 'ATTR_CONSTRUCT', 'ATTR_SGC'], outer_class=root_module['ns3::TypeId'], import_from_module='ns.core') - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo [struct] - module.add_class('AttributeInfo', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation [struct] + module.add_class('AttributeInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation [struct] + module.add_class('TraceSourceInformation', import_from_module='ns.core', outer_class=root_module['ns3::TypeId']) ## wimax-tlv.h (module 'wimax'): ns3::U16TlvValue [class] module.add_class('U16TlvValue', parent=root_module['ns3::TlvValue']) ## wimax-tlv.h (module 'wimax'): ns3::U32TlvValue [class] @@ -192,8 +196,6 @@ def register_types(module): module.add_class('UcdChannelEncodings', allow_subclassing=True) ## random-variable.h (module 'core'): ns3::UniformVariable [class] module.add_class('UniformVariable', import_from_module='ns.core', parent=root_module['ns3::RandomVariable']) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList [class] - module.add_class('UnsafeAttributeList', import_from_module='ns.core') ## wimax-tlv.h (module 'wimax'): ns3::VectorTlvValue [class] module.add_class('VectorTlvValue', parent=root_module['ns3::TlvValue']) ## random-variable.h (module 'core'): ns3::WeibullVariable [class] @@ -318,6 +320,8 @@ def register_types(module): 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::TraceSourceAccessor', 'ns3::empty', 'ns3::DefaultDeleter'], parent=root_module['ns3::empty'], memory_policy=cppclass.ReferenceCountingMethodsPolicy(incref_method='Ref', decref_method='Unref', peekref_method='GetReferenceCount')) ## ss-service-flow-manager.h (module 'wimax'): ns3::SsServiceFlowManager [class] module.add_class('SsServiceFlowManager', parent=root_module['ns3::ServiceFlowManager']) ## ss-service-flow-manager.h (module 'wimax'): ns3::SsServiceFlowManager::ConfirmationCode [enumeration] @@ -334,6 +338,8 @@ def register_types(module): module.add_class('Tlv', parent=root_module['ns3::Header']) ## wimax-tlv.h (module 'wimax'): ns3::Tlv::CommonTypes [enumeration] module.add_enum('CommonTypes', ['HMAC_TUPLE', 'MAC_VERSION_ENCODING', 'CURRENT_TRANSMIT_POWER', 'DOWNLINK_SERVICE_FLOW', 'UPLINK_SERVICE_FLOW', 'VENDOR_ID_EMCODING', 'VENDOR_SPECIFIC_INFORMATION'], outer_class=root_module['ns3::Tlv']) + ## 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 >']) ## trailer.h (module 'network'): ns3::Trailer [class] module.add_class('Trailer', import_from_module='ns.network', parent=root_module['ns3::Chunk']) ## propagation-loss-model.h (module 'propagation'): ns3::TwoRayGroundPropagationLossModel [class] @@ -561,7 +567,8 @@ def register_methods(root_module): register_Ns3Address_methods(root_module, root_module['ns3::Address']) register_Ns3AsciiTraceHelper_methods(root_module, root_module['ns3::AsciiTraceHelper']) register_Ns3AsciiTraceHelperForDevice_methods(root_module, root_module['ns3::AsciiTraceHelperForDevice']) - register_Ns3AttributeList_methods(root_module, root_module['ns3::AttributeList']) + register_Ns3AttributeConstructionList_methods(root_module, root_module['ns3::AttributeConstructionList']) + register_Ns3AttributeConstructionListItem_methods(root_module, root_module['ns3::AttributeConstructionList::Item']) register_Ns3Buffer_methods(root_module, root_module['ns3::Buffer']) register_Ns3BufferIterator_methods(root_module, root_module['ns3::Buffer::Iterator']) register_Ns3ByteTagIterator_methods(root_module, root_module['ns3::ByteTagIterator']) @@ -620,13 +627,13 @@ def register_methods(root_module): register_Ns3TosTlvValue_methods(root_module, root_module['ns3::TosTlvValue']) register_Ns3TriangularVariable_methods(root_module, root_module['ns3::TriangularVariable']) register_Ns3TypeId_methods(root_module, root_module['ns3::TypeId']) - register_Ns3TypeIdAttributeInfo_methods(root_module, root_module['ns3::TypeId::AttributeInfo']) + register_Ns3TypeIdAttributeInformation_methods(root_module, root_module['ns3::TypeId::AttributeInformation']) + register_Ns3TypeIdTraceSourceInformation_methods(root_module, root_module['ns3::TypeId::TraceSourceInformation']) register_Ns3U16TlvValue_methods(root_module, root_module['ns3::U16TlvValue']) register_Ns3U32TlvValue_methods(root_module, root_module['ns3::U32TlvValue']) register_Ns3U8TlvValue_methods(root_module, root_module['ns3::U8TlvValue']) register_Ns3UcdChannelEncodings_methods(root_module, root_module['ns3::UcdChannelEncodings']) register_Ns3UniformVariable_methods(root_module, root_module['ns3::UniformVariable']) - register_Ns3UnsafeAttributeList_methods(root_module, root_module['ns3::UnsafeAttributeList']) register_Ns3VectorTlvValue_methods(root_module, root_module['ns3::VectorTlvValue']) register_Ns3WeibullVariable_methods(root_module, root_module['ns3::WeibullVariable']) register_Ns3WimaxHelper_methods(root_module, root_module['ns3::WimaxHelper']) @@ -680,10 +687,12 @@ def register_methods(root_module): 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__Ns3TraceSourceAccessor_Ns3Empty_Ns3DefaultDeleter__lt__ns3TraceSourceAccessor__gt___methods(root_module, root_module['ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter >']) register_Ns3SsServiceFlowManager_methods(root_module, root_module['ns3::SsServiceFlowManager']) register_Ns3ThreeLogDistancePropagationLossModel_methods(root_module, root_module['ns3::ThreeLogDistancePropagationLossModel']) register_Ns3Time_methods(root_module, root_module['ns3::Time']) register_Ns3Tlv_methods(root_module, root_module['ns3::Tlv']) + register_Ns3TraceSourceAccessor_methods(root_module, root_module['ns3::TraceSourceAccessor']) register_Ns3Trailer_methods(root_module, root_module['ns3::Trailer']) register_Ns3TwoRayGroundPropagationLossModel_methods(root_module, root_module['ns3::TwoRayGroundPropagationLossModel']) register_Ns3Ucd_methods(root_module, root_module['ns3::Ucd']) @@ -949,41 +958,43 @@ def register_Ns3AsciiTraceHelperForDevice_methods(root_module, cls): is_pure_virtual=True, is_virtual=True) return -def register_Ns3AttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList() [constructor] +def register_Ns3AttributeConstructionList_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList(ns3::AttributeConstructionList const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::AttributeConstructionList() [constructor] cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::AttributeList::AttributeList(ns3::AttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::AttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::DeserializeFromString(std::string value) [member function] - cls.add_method('DeserializeFromString', - 'bool', - [param('std::string', 'value')]) - ## attribute-list.h (module 'core'): static ns3::AttributeList * ns3::AttributeList::GetGlobal() [member function] - cls.add_method('GetGlobal', - 'ns3::AttributeList *', - [], - is_static=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Reset() [member function] - cls.add_method('Reset', + ## attribute-construction-list.h (module 'core'): void ns3::AttributeConstructionList::Add(std::string name, ns3::Ptr checker, ns3::Ptr value) [member function] + cls.add_method('Add', 'void', - []) - ## attribute-list.h (module 'core'): std::string ns3::AttributeList::SerializeToString() const [member function] - cls.add_method('SerializeToString', - 'std::string', + [param('std::string', 'name'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker'), param('ns3::Ptr< ns3::AttributeValue >', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::Begin() const [member function] + cls.add_method('Begin', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', [], is_const=True) - ## attribute-list.h (module 'core'): void ns3::AttributeList::Set(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): bool ns3::AttributeList::SetFailSafe(std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetFailSafe', - 'bool', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## attribute-list.h (module 'core'): void ns3::AttributeList::SetWithTid(ns3::TypeId tid, std::string name, ns3::AttributeValue const & value) [member function] - cls.add_method('SetWithTid', - 'void', - [param('ns3::TypeId', 'tid'), param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) + ## attribute-construction-list.h (module 'core'): std::_List_const_iterator ns3::AttributeConstructionList::End() const [member function] + cls.add_method('End', + 'std::_List_const_iterator< ns3::AttributeConstructionList::Item >', + [], + is_const=True) + ## attribute-construction-list.h (module 'core'): ns3::Ptr ns3::AttributeConstructionList::Find(ns3::Ptr checker) const [member function] + cls.add_method('Find', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')], + is_const=True) + return + +def register_Ns3AttributeConstructionListItem_methods(root_module, cls): + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item() [constructor] + cls.add_constructor([]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::Item(ns3::AttributeConstructionList::Item const & arg0) [copy constructor] + cls.add_constructor([param('ns3::AttributeConstructionList::Item const &', 'arg0')]) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::checker [variable] + cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## attribute-construction-list.h (module 'core'): ns3::AttributeConstructionList::Item::value [variable] + cls.add_instance_attribute('value', 'ns3::Ptr< ns3::AttributeValue >', is_const=False) return def register_Ns3Buffer_methods(root_module, cls): @@ -2371,10 +2382,10 @@ def register_Ns3ObjectBase_methods(root_module, cls): cls.add_method('TraceDisconnectWithoutContext', 'bool', [param('std::string', 'name'), param('ns3::CallbackBase const &', 'cb')]) - ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeList const & attributes) [member function] + ## object-base.h (module 'core'): void ns3::ObjectBase::ConstructSelf(ns3::AttributeConstructionList const & attributes) [member function] cls.add_method('ConstructSelf', 'void', - [param('ns3::AttributeList const &', 'attributes')], + [param('ns3::AttributeConstructionList const &', 'attributes')], visibility='protected') ## object-base.h (module 'core'): void ns3::ObjectBase::NotifyConstructionCompleted() [member function] cls.add_method('NotifyConstructionCompleted', @@ -2401,6 +2412,8 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_constructor([param('ns3::ObjectFactory const &', 'arg0')]) ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory() [constructor] cls.add_constructor([]) + ## object-factory.h (module 'core'): ns3::ObjectFactory::ObjectFactory(std::string typeId) [constructor] + cls.add_constructor([param('std::string', 'typeId')]) ## object-factory.h (module 'core'): ns3::Ptr ns3::ObjectFactory::Create() const [member function] cls.add_method('Create', 'ns3::Ptr< ns3::Object >', @@ -2415,10 +2428,6 @@ def register_Ns3ObjectFactory_methods(root_module, cls): cls.add_method('Set', 'void', [param('std::string', 'name'), param('ns3::AttributeValue const &', 'value')]) - ## object-factory.h (module 'core'): void ns3::ObjectFactory::Set(ns3::AttributeList const & list) [member function] - cls.add_method('Set', - 'void', - [param('ns3::AttributeList const &', 'list')]) ## object-factory.h (module 'core'): void ns3::ObjectFactory::SetTypeId(ns3::TypeId tid) [member function] cls.add_method('SetTypeId', 'void', @@ -4284,23 +4293,13 @@ def register_Ns3TypeId_methods(root_module, cls): cls.add_method('AddAttribute', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('uint32_t', 'flags'), param('ns3::AttributeValue const &', 'initialValue'), param('ns3::Ptr< ns3::AttributeAccessor const >', 'accessor'), param('ns3::Ptr< ns3::AttributeChecker const >', 'checker')]) - ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] + ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::AddTraceSource(std::string name, std::string help, ns3::Ptr accessor) [member function] cls.add_method('AddTraceSource', 'ns3::TypeId', [param('std::string', 'name'), param('std::string', 'help'), param('ns3::Ptr< ns3::TraceSourceAccessor const >', 'accessor')]) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeAccessor(uint32_t i) const [member function] - cls.add_method('GetAttributeAccessor', - 'ns3::Ptr< ns3::AttributeAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeChecker(uint32_t i) const [member function] - cls.add_method('GetAttributeChecker', - 'ns3::Ptr< ns3::AttributeChecker const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeFlags(uint32_t i) const [member function] - cls.add_method('GetAttributeFlags', - 'uint32_t', + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation ns3::TypeId::GetAttribute(uint32_t i) const [member function] + cls.add_method('GetAttribute', + 'ns3::TypeId::AttributeInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeFullName(uint32_t i) const [member function] @@ -4308,26 +4307,11 @@ def register_Ns3TypeId_methods(root_module, cls): 'std::string', [param('uint32_t', 'i')], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeHelp(uint32_t i) const [member function] - cls.add_method('GetAttributeHelp', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetAttributeInitialValue(uint32_t i) const [member function] - cls.add_method('GetAttributeInitialValue', - 'ns3::Ptr< ns3::AttributeValue const >', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetAttributeN() const [member function] cls.add_method('GetAttributeN', 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetAttributeName(uint32_t i) const [member function] - cls.add_method('GetAttributeName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): ns3::Callback ns3::TypeId::GetConstructor() const [member function] cls.add_method('GetConstructor', 'ns3::Callback< ns3::ObjectBase *, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty >', @@ -4358,14 +4342,9 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::GetTraceSourceAccessor(uint32_t i) const [member function] - cls.add_method('GetTraceSourceAccessor', - 'ns3::Ptr< ns3::TraceSourceAccessor const >', - [param('uint32_t', 'i')], - is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceHelp(uint32_t i) const [member function] - cls.add_method('GetTraceSourceHelp', - 'std::string', + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation ns3::TypeId::GetTraceSource(uint32_t i) const [member function] + cls.add_method('GetTraceSource', + 'ns3::TypeId::TraceSourceInformation', [param('uint32_t', 'i')], is_const=True) ## type-id.h (module 'core'): uint32_t ns3::TypeId::GetTraceSourceN() const [member function] @@ -4373,11 +4352,6 @@ def register_Ns3TypeId_methods(root_module, cls): 'uint32_t', [], is_const=True) - ## type-id.h (module 'core'): std::string ns3::TypeId::GetTraceSourceName(uint32_t i) const [member function] - cls.add_method('GetTraceSourceName', - 'std::string', - [param('uint32_t', 'i')], - is_const=True) ## type-id.h (module 'core'): uint16_t ns3::TypeId::GetUid() const [member function] cls.add_method('GetUid', 'uint16_t', @@ -4402,22 +4376,17 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [param('ns3::TypeId', 'other')], is_const=True) - ## type-id.h (module 'core'): static bool ns3::TypeId::LookupAttributeByFullName(std::string fullName, ns3::TypeId::AttributeInfo * info) [member function] - cls.add_method('LookupAttributeByFullName', - 'bool', - [param('std::string', 'fullName'), param('ns3::TypeId::AttributeInfo *', 'info')], - is_static=True) - ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInfo * info) const [member function] + ## type-id.h (module 'core'): bool ns3::TypeId::LookupAttributeByName(std::string name, ns3::TypeId::AttributeInformation * info) const [member function] cls.add_method('LookupAttributeByName', 'bool', - [param('std::string', 'name'), param('ns3::TypeId::AttributeInfo *', 'info', transfer_ownership=False)], + [param('std::string', 'name'), param('ns3::TypeId::AttributeInformation *', 'info')], is_const=True) ## type-id.h (module 'core'): static ns3::TypeId ns3::TypeId::LookupByName(std::string name) [member function] cls.add_method('LookupByName', 'ns3::TypeId', [param('std::string', 'name')], is_static=True) - ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] + ## type-id.h (module 'core'): ns3::Ptr ns3::TypeId::LookupTraceSourceByName(std::string name) const [member function] cls.add_method('LookupTraceSourceByName', 'ns3::Ptr< ns3::TraceSourceAccessor const >', [param('std::string', 'name')], @@ -4427,6 +4396,10 @@ def register_Ns3TypeId_methods(root_module, cls): 'bool', [], is_const=True) + ## type-id.h (module 'core'): bool ns3::TypeId::SetAttributeInitialValue(uint32_t i, ns3::Ptr initialValue) [member function] + cls.add_method('SetAttributeInitialValue', + 'bool', + [param('uint32_t', 'i'), param('ns3::Ptr< ns3::AttributeValue const >', 'initialValue')]) ## type-id.h (module 'core'): ns3::TypeId ns3::TypeId::SetGroupName(std::string groupName) [member function] cls.add_method('SetGroupName', 'ns3::TypeId', @@ -4441,19 +4414,38 @@ def register_Ns3TypeId_methods(root_module, cls): [param('uint16_t', 'tid')]) return -def register_Ns3TypeIdAttributeInfo_methods(root_module, cls): - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo() [constructor] +def register_Ns3TypeIdAttributeInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation() [constructor] cls.add_constructor([]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::AttributeInfo(ns3::TypeId::AttributeInfo const & arg0) [copy constructor] - cls.add_constructor([param('ns3::TypeId::AttributeInfo const &', 'arg0')]) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::accessor [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::AttributeInformation(ns3::TypeId::AttributeInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::AttributeInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::accessor [variable] cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::AttributeAccessor const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::checker [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::checker [variable] cls.add_instance_attribute('checker', 'ns3::Ptr< ns3::AttributeChecker const >', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::flags [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::flags [variable] cls.add_instance_attribute('flags', 'uint32_t', is_const=False) - ## type-id.h (module 'core'): ns3::TypeId::AttributeInfo::initialValue [variable] + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::initialValue [variable] cls.add_instance_attribute('initialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::AttributeInformation::originalInitialValue [variable] + cls.add_instance_attribute('originalInitialValue', 'ns3::Ptr< ns3::AttributeValue const >', is_const=False) + return + +def register_Ns3TypeIdTraceSourceInformation_methods(root_module, cls): + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation() [constructor] + cls.add_constructor([]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::TraceSourceInformation(ns3::TypeId::TraceSourceInformation const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TypeId::TraceSourceInformation const &', 'arg0')]) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::accessor [variable] + cls.add_instance_attribute('accessor', 'ns3::Ptr< ns3::TraceSourceAccessor const >', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::help [variable] + cls.add_instance_attribute('help', 'std::string', is_const=False) + ## type-id.h (module 'core'): ns3::TypeId::TraceSourceInformation::name [variable] + cls.add_instance_attribute('name', 'std::string', is_const=False) return def register_Ns3U16TlvValue_methods(root_module, cls): @@ -4650,22 +4642,6 @@ def register_Ns3UniformVariable_methods(root_module, cls): [param('double', 's'), param('double', 'l')]) return -def register_Ns3UnsafeAttributeList_methods(root_module, cls): - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList() [constructor] - cls.add_constructor([]) - ## attribute-list.h (module 'core'): ns3::UnsafeAttributeList::UnsafeAttributeList(ns3::UnsafeAttributeList const & o) [copy constructor] - cls.add_constructor([param('ns3::UnsafeAttributeList const &', 'o')]) - ## attribute-list.h (module 'core'): ns3::AttributeList ns3::UnsafeAttributeList::GetSafe(std::string name) const [member function] - cls.add_method('GetSafe', - 'ns3::AttributeList', - [param('std::string', 'name')], - is_const=True) - ## attribute-list.h (module 'core'): void ns3::UnsafeAttributeList::Set(std::string name, ns3::AttributeValue const & param) [member function] - cls.add_method('Set', - 'void', - [param('std::string', 'name'), param('ns3::AttributeValue const &', 'param')]) - return - def register_Ns3VectorTlvValue_methods(root_module, cls): ## wimax-tlv.h (module 'wimax'): ns3::VectorTlvValue::VectorTlvValue(ns3::VectorTlvValue const & arg0) [copy constructor] cls.add_constructor([param('ns3::VectorTlvValue const &', 'arg0')]) @@ -6336,6 +6312,18 @@ def register_Ns3SimpleRefCount__Ns3Packet_Ns3Empty_Ns3DefaultDeleter__lt__ns3Pac 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([]) + ## simple-ref-count.h (module 'core'): ns3::SimpleRefCount >::SimpleRefCount(ns3::SimpleRefCount > const & o) [copy constructor] + cls.add_constructor([param('ns3::SimpleRefCount< ns3::TraceSourceAccessor, ns3::empty, ns3::DefaultDeleter< ns3::TraceSourceAccessor > > 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_Ns3SsServiceFlowManager_methods(root_module, cls): ## ss-service-flow-manager.h (module 'wimax'): ns3::SsServiceFlowManager::SsServiceFlowManager(ns3::SsServiceFlowManager const & arg0) [copy constructor] cls.add_constructor([param('ns3::SsServiceFlowManager const &', 'arg0')]) @@ -6629,6 +6617,33 @@ def register_Ns3Tlv_methods(root_module, cls): is_const=True, is_virtual=True) return +def register_Ns3TraceSourceAccessor_methods(root_module, cls): + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor(ns3::TraceSourceAccessor const & arg0) [copy constructor] + cls.add_constructor([param('ns3::TraceSourceAccessor const &', 'arg0')]) + ## trace-source-accessor.h (module 'core'): ns3::TraceSourceAccessor::TraceSourceAccessor() [constructor] + cls.add_constructor([]) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Connect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Connect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::ConnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('ConnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::Disconnect(ns3::ObjectBase * obj, std::string context, ns3::CallbackBase const & cb) const [member function] + cls.add_method('Disconnect', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('std::string', 'context'), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + ## trace-source-accessor.h (module 'core'): bool ns3::TraceSourceAccessor::DisconnectWithoutContext(ns3::ObjectBase * obj, ns3::CallbackBase const & cb) const [member function] + cls.add_method('DisconnectWithoutContext', + 'bool', + [param('ns3::ObjectBase *', 'obj', transfer_ownership=False), param('ns3::CallbackBase const &', 'cb')], + is_pure_virtual=True, is_const=True, is_virtual=True) + return + def register_Ns3Trailer_methods(root_module, cls): cls.add_output_stream_operator() ## trailer.h (module 'network'): ns3::Trailer::Trailer() [constructor] @@ -8034,6 +8049,11 @@ def register_Ns3AttributeChecker_methods(root_module, cls): 'ns3::Ptr< ns3::AttributeValue >', [], is_pure_virtual=True, is_const=True, is_virtual=True) + ## attribute.h (module 'core'): ns3::Ptr ns3::AttributeChecker::CreateValidValue(ns3::AttributeValue const & value) const [member function] + cls.add_method('CreateValidValue', + 'ns3::Ptr< ns3::AttributeValue >', + [param('ns3::AttributeValue const &', 'value')], + is_const=True) ## attribute.h (module 'core'): std::string ns3::AttributeChecker::GetUnderlyingTypeInformation() const [member function] cls.add_method('GetUnderlyingTypeInformation', 'std::string', @@ -9779,10 +9799,18 @@ def register_Ns3Node_methods(root_module, cls): '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', @@ -9797,11 +9825,6 @@ def register_Ns3Node_methods(root_module, cls): 'void', [], visibility='protected', is_virtual=True) - ## node.h (module 'network'): void ns3::Node::NotifyDeviceAdded(ns3::Ptr device) [member function] - cls.add_method('NotifyDeviceAdded', - 'void', - [param('ns3::Ptr< ns3::NetDevice >', 'device')], - visibility='private', is_virtual=True) return def register_Ns3ObjectFactoryChecker_methods(root_module, cls): diff --git a/src/wimax/examples/wimax-ipv4.cc b/src/wimax/examples/wimax-ipv4.cc index 9ba27eb2e..fb1eafcc5 100644 --- a/src/wimax/examples/wimax-ipv4.cc +++ b/src/wimax/examples/wimax-ipv4.cc @@ -112,7 +112,7 @@ int main (int argc, char *argv[]) scheduler); bsDevs = wimax.Install (bsNodes, WimaxHelper::DEVICE_TYPE_BASE_STATION, WimaxHelper::SIMPLE_PHY_TYPE_OFDM, scheduler); - Ptr ss[nbSS]; + Ptr* ss = new Ptr[nbSS]; for (int i = 0; i < nbSS; i++) { @@ -141,10 +141,10 @@ int main (int argc, char *argv[]) wimax.EnableLogComponents (); // Turn on all wimax logging } /*------------------------------*/ - UdpServerHelper udpServer[nbSS / 2]; - ApplicationContainer serverApps[nbSS / 2]; - UdpClientHelper udpClient[nbSS / 2]; - ApplicationContainer clientApps[nbSS / 2]; + UdpServerHelper* udpServer = new UdpServerHelper[nbSS / 2]; + ApplicationContainer* serverApps = new ApplicationContainer[nbSS / 2]; + UdpClientHelper* udpClient = new UdpClientHelper[nbSS / 2]; + ApplicationContainer* clientApps = new ApplicationContainer[nbSS / 2]; for (int i = 0; i < nbSS / 2; i++) { @@ -204,10 +204,16 @@ int main (int argc, char *argv[]) NS_LOG_INFO ("Starting simulation....."); Simulator::Run (); + delete[] clientApps; + delete[] udpClient; + delete[] serverApps; + delete[] udpServer; for (int i = 0; i < nbSS; i++) { ss[i] = 0; } + delete[] ss; + bs = 0; Simulator::Destroy (); diff --git a/src/wimax/model/bandwidth-manager.cc b/src/wimax/model/bandwidth-manager.cc index 376c07ac4..1772233e1 100644 --- a/src/wimax/model/bandwidth-manager.cc +++ b/src/wimax/model/bandwidth-manager.cc @@ -37,6 +37,15 @@ NS_LOG_COMPONENT_DEFINE ("BandwidthManager"); namespace ns3 { +NS_OBJECT_ENSURE_REGISTERED (BandwidthManager); + +TypeId BandwidthManager::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::BandwidthManager") + .SetParent (); + return tid; +} + BandwidthManager::BandwidthManager (Ptr device) : m_device (device), m_nrBwReqsSent (0) diff --git a/src/wimax/model/bandwidth-manager.h b/src/wimax/model/bandwidth-manager.h index 7540ea6d6..8e1c726f9 100644 --- a/src/wimax/model/bandwidth-manager.h +++ b/src/wimax/model/bandwidth-manager.h @@ -54,6 +54,7 @@ class UplinkScheduler; class BandwidthManager : public Object { public: + static TypeId GetTypeId (void); BandwidthManager (Ptr device); ~BandwidthManager (void); void DoDispose (void); diff --git a/src/wimax/model/bs-link-manager.cc b/src/wimax/model/bs-link-manager.cc index 6fd7ca1cb..9dc50231f 100644 --- a/src/wimax/model/bs-link-manager.cc +++ b/src/wimax/model/bs-link-manager.cc @@ -36,7 +36,14 @@ NS_LOG_COMPONENT_DEFINE ("BSLinkManager"); namespace ns3 { -NS_OBJECT_ENSURE_REGISTERED ( BSLinkManager); +NS_OBJECT_ENSURE_REGISTERED (BSLinkManager); + +TypeId BSLinkManager::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::BSLinkManager") + .SetParent (); + return tid; +} BSLinkManager::BSLinkManager (Ptr bs) : m_bs (bs), diff --git a/src/wimax/model/bs-link-manager.h b/src/wimax/model/bs-link-manager.h index 8b63c9014..9c73a6f3d 100644 --- a/src/wimax/model/bs-link-manager.h +++ b/src/wimax/model/bs-link-manager.h @@ -38,6 +38,7 @@ namespace ns3 { class BSLinkManager : public Object { public: + static TypeId GetTypeId (void); BSLinkManager (Ptr bs); ~BSLinkManager (void); /** diff --git a/src/wimax/model/burst-profile-manager.cc b/src/wimax/model/burst-profile-manager.cc index 28fe5db52..4bc4ebaaa 100644 --- a/src/wimax/model/burst-profile-manager.cc +++ b/src/wimax/model/burst-profile-manager.cc @@ -31,6 +31,15 @@ NS_LOG_COMPONENT_DEFINE ("BurstProfileManager"); namespace ns3 { +NS_OBJECT_ENSURE_REGISTERED (BurstProfileManager); + +TypeId BurstProfileManager::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::BurstProfileManager") + .SetParent (); + return tid; +} + BurstProfileManager::BurstProfileManager (Ptr device) : m_device (device) { diff --git a/src/wimax/model/burst-profile-manager.h b/src/wimax/model/burst-profile-manager.h index a915931d3..df0ff6739 100644 --- a/src/wimax/model/burst-profile-manager.h +++ b/src/wimax/model/burst-profile-manager.h @@ -37,6 +37,7 @@ class RngReq; class BurstProfileManager : public Object { public: + static TypeId GetTypeId (void); BurstProfileManager (Ptr device); ~BurstProfileManager (void); void DoDispose (void); diff --git a/src/wimax/model/bvec.h b/src/wimax/model/bvec.h index 63e755147..446a3bcf0 100644 --- a/src/wimax/model/bvec.h +++ b/src/wimax/model/bvec.h @@ -18,11 +18,14 @@ * Author: Mohamed Amine Ismail * */ -#ifndef BVEC_H_ -#define BVEC_H_ + +#ifndef BVEC_H +#define BVEC_H + #include namespace ns3 { typedef std::vector bvec; } -#endif /* BVEC_H_ */ + +#endif /* BVEC_H */ diff --git a/src/wimax/model/connection-manager.cc b/src/wimax/model/connection-manager.cc index cf67a8c81..2cca97390 100644 --- a/src/wimax/model/connection-manager.cc +++ b/src/wimax/model/connection-manager.cc @@ -35,6 +35,15 @@ NS_LOG_COMPONENT_DEFINE ("ConnectionManager"); namespace ns3 { +NS_OBJECT_ENSURE_REGISTERED (ConnectionManager); + +TypeId ConnectionManager::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::ConnectionManager") + .SetParent (); + return tid; +} + ConnectionManager::ConnectionManager (void) : m_cidFactory (0) { diff --git a/src/wimax/model/connection-manager.h b/src/wimax/model/connection-manager.h index 469807b9b..f0f187e1b 100644 --- a/src/wimax/model/connection-manager.h +++ b/src/wimax/model/connection-manager.h @@ -44,6 +44,7 @@ class SubscriberStationNetDevice; class ConnectionManager : public Object { public: + static TypeId GetTypeId (void); ConnectionManager (void); ~ConnectionManager (void); void DoDispose (void); @@ -87,8 +88,7 @@ private: CidFactory *m_cidFactory; }; -} -; // namespace ns3 +} // namespace ns3 #endif /* CONNECTION_MANAGER_H */ diff --git a/src/wimax/model/cs-parameters.h b/src/wimax/model/cs-parameters.h index 67385ec1a..fd4e5c7c0 100644 --- a/src/wimax/model/cs-parameters.h +++ b/src/wimax/model/cs-parameters.h @@ -20,10 +20,12 @@ * */ +#ifndef WIMAX_CS_PARAMETERS_H +#define WIMAX_CS_PARAMETERS_H + #include "ipcs-classifier-record.h" #include "wimax-tlv.h" -#ifndef CSPARAMETERS_H_ -#define CSPARAMETERS_H_ + namespace ns3 { /** @@ -76,4 +78,4 @@ private: }; } -#endif /* CSPARAMETERS_H_ */ +#endif /* WIMAX_CS_PARAMETERS_H */ diff --git a/src/wimax/model/default-traces.h b/src/wimax/model/default-traces.h index fe1bd1145..b8ab593d9 100644 --- a/src/wimax/model/default-traces.h +++ b/src/wimax/model/default-traces.h @@ -33,8 +33,8 @@ -#ifndef DEFAULTTRACES_H_ -#define DEFAULTTRACES_H_ +#ifndef WIMAX_DEFAULT_TRACES_H +#define WIMAX_DEFAULT_TRACES_H double modulation0[6][29] = { @@ -831,4 +831,4 @@ double modulation6[6][626] = { 0.01943 } }; -#endif /* DEFAULTTRACES_H_ */ +#endif /* WIMAX_DEFAULT_TRACES_H */ diff --git a/src/wimax/model/dl-mac-messages.cc b/src/wimax/model/dl-mac-messages.cc index b109d9143..ae0fd6d51 100644 --- a/src/wimax/model/dl-mac-messages.cc +++ b/src/wimax/model/dl-mac-messages.cc @@ -676,6 +676,5 @@ DlMap::Deserialize (Buffer::Iterator start) return i.GetDistanceFrom (start); } -} -; // namespace ns3 +} // namespace ns3 diff --git a/src/wimax/model/dl-mac-messages.h b/src/wimax/model/dl-mac-messages.h index 38cf85bb7..2982ceacc 100644 --- a/src/wimax/model/dl-mac-messages.h +++ b/src/wimax/model/dl-mac-messages.h @@ -64,8 +64,7 @@ private: }; -} -; // namespace ns3 +} // namespace ns3 #endif /* DCD_CHANNEL_ENCODINGS_H */ @@ -123,8 +122,7 @@ private: uint32_t m_frameNumber; }; -} -; // namespace ns3 +} // namespace ns3 #endif /* OFDM_DCD_CHANNEL_ENCODINGS_H */ @@ -194,8 +192,7 @@ private: uint8_t m_fecCodeType; }; -} -; // namespace ns3 +} // namespace ns3 #endif /* OFDM_DL_BURST_PROFILE_H */ @@ -248,8 +245,7 @@ private: uint8_t m_nrDlBurstProfiles; }; -} -; // namespace ns3 +} // namespace ns3 #endif /* DCD_H */ @@ -297,8 +293,7 @@ private: }; -} -; // namespace ns3 +} // namespace ns3 #endif /* OFDM_DL_MAP_IE_H */ @@ -349,7 +344,6 @@ private: // m_paddingNibble; //fields to be implemented later on: }; -} -; // namespace ns3 +} // namespace ns3 #endif /* DL_MAP_H */ diff --git a/src/wimax/model/ipcs-classifier-record.cc b/src/wimax/model/ipcs-classifier-record.cc index df4c4ca3a..d4a7e0148 100644 --- a/src/wimax/model/ipcs-classifier-record.cc +++ b/src/wimax/model/ipcs-classifier-record.cc @@ -34,8 +34,8 @@ IpcsClassifierRecord::IpcsClassifierRecord (void) m_tosHigh = 0; m_tosMask = 0; m_cid = 0; - m_protocol.push_back (6); // udp - m_protocol.push_back (17); // tcp + m_protocol.push_back (6); // tcp + m_protocol.push_back (17); // udp AddSrcAddr (Ipv4Address ("0.0.0.0"), Ipv4Mask ("0.0.0.0")); AddDstAddr (Ipv4Address ("0.0.0.0"), Ipv4Mask ("0.0.0.0")); AddSrcPortRange (0, 65535); @@ -349,5 +349,4 @@ IpcsClassifierRecord::ToTlv (void) const return tmp_tlv; } -} -; // namespace ns3 +} // namespace ns3 diff --git a/src/wimax/model/ipcs-classifier-record.h b/src/wimax/model/ipcs-classifier-record.h index edfafffbf..850064905 100644 --- a/src/wimax/model/ipcs-classifier-record.h +++ b/src/wimax/model/ipcs-classifier-record.h @@ -19,8 +19,8 @@ * */ -#ifndef IPCS_CLASSIFIER_RECORD_H_ -#define IPCS_CLASSIFIER_RECORD_H_ +#ifndef IPCS_CLASSIFIER_RECORD_H +#define IPCS_CLASSIFIER_RECORD_H #include #include "ns3/ipv4-address.h" @@ -165,7 +165,6 @@ private: uint16_t m_cid; }; -} -; // namespace ns3 +} // namespace ns3 -#endif /* IPCS_CLASSIFIER_RECORD2_H_ */ +#endif /* IPCS_CLASSIFIER_RECORD_H */ diff --git a/src/wimax/model/ipcs-classifier.cc b/src/wimax/model/ipcs-classifier.cc index 733c89010..2eae1d756 100644 --- a/src/wimax/model/ipcs-classifier.cc +++ b/src/wimax/model/ipcs-classifier.cc @@ -35,6 +35,15 @@ NS_LOG_COMPONENT_DEFINE ("IpcsClassifier"); namespace ns3 { +NS_OBJECT_ENSURE_REGISTERED (IpcsClassifier); + +TypeId IpcsClassifier::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::IpcsClassifier") + .SetParent (); + return tid; +} + IpcsClassifier::IpcsClassifier (void) { } diff --git a/src/wimax/model/ipcs-classifier.h b/src/wimax/model/ipcs-classifier.h index cd07cf4bb..4c2c55f31 100644 --- a/src/wimax/model/ipcs-classifier.h +++ b/src/wimax/model/ipcs-classifier.h @@ -19,8 +19,9 @@ * */ -#ifndef IPCSCLASSIFIER_H_ -#define IPCSCLASSIFIER_H_ +#ifndef IPCS_CLASSIFIER_H +#define IPCS_CLASSIFIER_H + #include #include #include "ss-service-flow-manager.h" @@ -36,6 +37,7 @@ class SsServiceFlowManager; class IpcsClassifier : public Object { public: + static TypeId GetTypeId (void); IpcsClassifier (void); ~IpcsClassifier (void); /** @@ -47,7 +49,6 @@ public: */ ServiceFlow * Classify (Ptr packet, Ptr sfm, ServiceFlow::Direction dir); }; -} -; // namespace ns3 +} // namespace ns3 -#endif /* IPCSCLASSIFIER_H_ */ +#endif /* IPCS_CLASSIFIER_H */ diff --git a/src/wimax/model/mac-messages.h b/src/wimax/model/mac-messages.h index 876ddb4ac..cfc453f5a 100644 --- a/src/wimax/model/mac-messages.h +++ b/src/wimax/model/mac-messages.h @@ -76,8 +76,7 @@ private: uint8_t m_type; }; -} -; // namespace ns3 +} // namespace ns3 #endif /* MANAGEMENT_MESSAGE_TYPE_H */ diff --git a/src/wimax/model/ofdm-downlink-frame-prefix.cc b/src/wimax/model/ofdm-downlink-frame-prefix.cc index 98fe7d147..ccfeb7d31 100644 --- a/src/wimax/model/ofdm-downlink-frame-prefix.cc +++ b/src/wimax/model/ofdm-downlink-frame-prefix.cc @@ -279,6 +279,5 @@ OfdmDownlinkFramePrefix::Deserialize (Buffer::Iterator start) return GetSerializedSize (); } -} -; // namespace ns3 +} // namespace ns3 diff --git a/src/wimax/model/ofdm-downlink-frame-prefix.h b/src/wimax/model/ofdm-downlink-frame-prefix.h index c27b5cff9..dce9171a6 100644 --- a/src/wimax/model/ofdm-downlink-frame-prefix.h +++ b/src/wimax/model/ofdm-downlink-frame-prefix.h @@ -64,8 +64,7 @@ private: }; -} -; // namespace ns3 +} // namespace ns3 #endif /* DL_FRAME_PREFIX_IE_H */ @@ -109,7 +108,6 @@ private: uint8_t m_hcs; // Header Check Sequence }; -} -; // namespace ns3 +} // namespace ns3 #endif /* OFDM_DOWNLINK_FRAME_PREFIX_H */ diff --git a/src/wimax/model/service-flow-manager.cc b/src/wimax/model/service-flow-manager.cc index 73e87e290..2d3eda046 100644 --- a/src/wimax/model/service-flow-manager.cc +++ b/src/wimax/model/service-flow-manager.cc @@ -43,6 +43,15 @@ NS_LOG_COMPONENT_DEFINE ("ServiceFlowManager"); namespace ns3 { +NS_OBJECT_ENSURE_REGISTERED (ServiceFlowManager); + +TypeId ServiceFlowManager::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::ServiceFlowManager") + .SetParent (); + return tid; +} + ServiceFlowManager::ServiceFlowManager () { m_serviceFlows = new std::vector; diff --git a/src/wimax/model/service-flow-manager.h b/src/wimax/model/service-flow-manager.h index 919296835..8592e95e9 100644 --- a/src/wimax/model/service-flow-manager.h +++ b/src/wimax/model/service-flow-manager.h @@ -47,6 +47,8 @@ public: CONFIRMATION_CODE_SUCCESS, CONFIRMATION_CODE_REJECT }; + static TypeId GetTypeId (void); + ServiceFlowManager (); ~ServiceFlowManager (void); void DoDispose (void); diff --git a/src/wimax/model/simple-ofdm-send-param.h b/src/wimax/model/simple-ofdm-send-param.h index f60f6c724..d3500f967 100644 --- a/src/wimax/model/simple-ofdm-send-param.h +++ b/src/wimax/model/simple-ofdm-send-param.h @@ -19,15 +19,15 @@ * */ +#ifndef SIMPLE_OFDM_SEND_PARAM_H +#define SIMPLE_OFDM_SEND_PARAM_H + #include #include "wimax-channel.h" #include "bvec.h" #include "wimax-phy.h" #include "ns3/propagation-loss-model.h" -#ifndef SIMPLEOFDMSENDPARAM_H_ -#define SIMPLEOFDMSENDPARAM_H_ - namespace ns3 { /** @@ -121,4 +121,5 @@ private: }; } // namespace ns3 -#endif /* SIMPLEOFDMSENDPARAM_H_ */ + +#endif /* SIMPLE_OFDM_SEND_PARAM_H */ diff --git a/src/wimax/model/snr-to-block-error-rate-manager.h b/src/wimax/model/snr-to-block-error-rate-manager.h index e4cc74195..e3e6915a5 100644 --- a/src/wimax/model/snr-to-block-error-rate-manager.h +++ b/src/wimax/model/snr-to-block-error-rate-manager.h @@ -20,8 +20,8 @@ */ -#ifndef SNRTOBLOCKERRORRATEMANAGER_H_ -#define SNRTOBLOCKERRORRATEMANAGER_H_ +#ifndef SNR_TO_BLOCK_ERROR_RATE_MANAGER_H +#define SNR_TO_BLOCK_ERROR_RATE_MANAGER_H #include "ns3/snr-to-block-error-rate-record.h" #include @@ -101,4 +101,4 @@ private: }; } -#endif /* SNRTOBLOCKERRORRATEMANAGER_H_ */ +#endif /* SNR_TO_BLOCK_ERROR_RATE_MANAGER_H */ diff --git a/src/wimax/model/snr-to-block-error-rate-record.h b/src/wimax/model/snr-to-block-error-rate-record.h index 797894c7c..ed808bd58 100644 --- a/src/wimax/model/snr-to-block-error-rate-record.h +++ b/src/wimax/model/snr-to-block-error-rate-record.h @@ -19,8 +19,9 @@ * */ -#ifndef SNRTOBLOCKERRORRATERECORD_H_ -#define SNRTOBLOCKERRORRATERECORD_H_ +#ifndef SNR_TO_BLOCK_ERROR_RATE_RECORD_H +#define SNR_TO_BLOCK_ERROR_RATE_RECORD_H + namespace ns3 { /** @@ -109,4 +110,4 @@ private: } -#endif /* SNRTOBLOCKERRORRATE_H_ */ +#endif /* SNR_TO_BLOCK_ERROR_RATE_RECORD_H */ diff --git a/src/wimax/model/ss-link-manager.cc b/src/wimax/model/ss-link-manager.cc index 8b3033fe5..ca71a872e 100644 --- a/src/wimax/model/ss-link-manager.cc +++ b/src/wimax/model/ss-link-manager.cc @@ -35,6 +35,15 @@ NS_LOG_COMPONENT_DEFINE ("SSLinkManager"); namespace ns3 { +NS_OBJECT_ENSURE_REGISTERED (SSLinkManager); + +TypeId SSLinkManager::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::SSLinkManager") + .SetParent (); + return tid; +} + SSLinkManager::SSLinkManager (Ptr ss) : m_ss (ss), m_rangingStatus (WimaxNetDevice::RANGING_STATUS_EXPIRED), diff --git a/src/wimax/model/ss-link-manager.h b/src/wimax/model/ss-link-manager.h index 2c5b7aa5e..d00d04ada 100644 --- a/src/wimax/model/ss-link-manager.h +++ b/src/wimax/model/ss-link-manager.h @@ -41,6 +41,7 @@ namespace ns3 { class SSLinkManager : public Object { public: + static TypeId GetTypeId (void); SSLinkManager (Ptr ss); ~SSLinkManager (void); void DoDispose (void); diff --git a/src/wimax/model/ss-manager.cc b/src/wimax/model/ss-manager.cc index a9760f72b..689957e57 100644 --- a/src/wimax/model/ss-manager.cc +++ b/src/wimax/model/ss-manager.cc @@ -28,7 +28,14 @@ NS_LOG_COMPONENT_DEFINE ("SSManager"); namespace ns3 { -NS_OBJECT_ENSURE_REGISTERED ( SSManager); +NS_OBJECT_ENSURE_REGISTERED (SSManager); + +TypeId SSManager::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::SSManager") + .SetParent (); + return tid; +} SSManager::SSManager (void) { diff --git a/src/wimax/model/ss-manager.h b/src/wimax/model/ss-manager.h index f3f3b050f..1a6410045 100644 --- a/src/wimax/model/ss-manager.h +++ b/src/wimax/model/ss-manager.h @@ -37,6 +37,7 @@ namespace ns3 { class SSManager : public Object { public: + static TypeId GetTypeId (void); SSManager (void); ~SSManager (void); SSRecord* CreateSSRecord (const Mac48Address &macAddress); diff --git a/src/wimax/model/ss-scheduler.cc b/src/wimax/model/ss-scheduler.cc index 8dcee937a..02814229f 100644 --- a/src/wimax/model/ss-scheduler.cc +++ b/src/wimax/model/ss-scheduler.cc @@ -36,6 +36,13 @@ NS_LOG_COMPONENT_DEFINE ("SSScheduler"); namespace ns3 { NS_OBJECT_ENSURE_REGISTERED (SSScheduler); +TypeId SSScheduler::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::SSScheduler") + .SetParent (); + return tid; +} + SSScheduler::SSScheduler (Ptr ss) : m_ss (ss), m_pollMe (false) diff --git a/src/wimax/model/ss-scheduler.h b/src/wimax/model/ss-scheduler.h index 25b23a4ac..d6041d4f3 100644 --- a/src/wimax/model/ss-scheduler.h +++ b/src/wimax/model/ss-scheduler.h @@ -41,6 +41,7 @@ class SSScheduler : public Object { public: + static TypeId GetTypeId (void); SSScheduler (Ptr ss); ~SSScheduler (void); diff --git a/src/wimax/model/ul-job.cc b/src/wimax/model/ul-job.cc index db0b9105d..4584a7e5e 100644 --- a/src/wimax/model/ul-job.cc +++ b/src/wimax/model/ul-job.cc @@ -164,5 +164,4 @@ PriorityUlJob::SetUlJob (Ptr job) m_job = job; } -} -; // namespace ns3 +} // namespace ns3 diff --git a/src/wimax/model/ul-mac-messages.cc b/src/wimax/model/ul-mac-messages.cc index a22d89b7a..fae6080a7 100644 --- a/src/wimax/model/ul-mac-messages.cc +++ b/src/wimax/model/ul-mac-messages.cc @@ -711,5 +711,4 @@ UlMap::Deserialize (Buffer::Iterator start) return i.GetDistanceFrom (start); } -} -; // namespace ns3 +} // namespace ns3 diff --git a/src/wimax/model/wimax-channel.cc b/src/wimax/model/wimax-channel.cc index 28d2242e5..c877d6c3d 100644 --- a/src/wimax/model/wimax-channel.cc +++ b/src/wimax/model/wimax-channel.cc @@ -27,6 +27,15 @@ NS_LOG_COMPONENT_DEFINE ("WimaxChannel"); namespace ns3 { +NS_OBJECT_ENSURE_REGISTERED (WimaxChannel); + +TypeId WimaxChannel::GetTypeId (void) +{ + static TypeId tid = TypeId ("ns3::WimaxChannel") + .SetParent (); + return tid; +} + WimaxChannel::WimaxChannel (void) { } diff --git a/src/wimax/model/wimax-channel.h b/src/wimax/model/wimax-channel.h index 14e3bcd9f..388c23959 100644 --- a/src/wimax/model/wimax-channel.h +++ b/src/wimax/model/wimax-channel.h @@ -39,6 +39,7 @@ class PacketBurst; class WimaxChannel : public Channel { public: + static TypeId GetTypeId (void); WimaxChannel (void); virtual ~WimaxChannel (void); /** diff --git a/src/wimax/model/wimax-mac-header.cc b/src/wimax/model/wimax-mac-header.cc index 77a8155b2..afa1602c7 100644 --- a/src/wimax/model/wimax-mac-header.cc +++ b/src/wimax/model/wimax-mac-header.cc @@ -657,5 +657,4 @@ FragmentationSubheader::Deserialize (Buffer::Iterator start) return i.GetDistanceFrom (start); } -} -; // namespace ns3 +} // namespace ns3 diff --git a/src/wimax/model/wimax-mac-header.h b/src/wimax/model/wimax-mac-header.h index e2202f09d..9a587ef11 100644 --- a/src/wimax/model/wimax-mac-header.h +++ b/src/wimax/model/wimax-mac-header.h @@ -61,8 +61,7 @@ private: uint8_t m_type; }; -} -; // namespace ns3 +} // namespace ns3 #endif /* MAC_HEADER_TYPE_H */ @@ -129,8 +128,7 @@ private: }; -} -; // namespace ns3 +} // namespace ns3 #endif /* GENERIC_MAC_HEADER */ @@ -193,8 +191,7 @@ private: }; -} -; // namespace ns3 +} // namespace ns3 #endif /* BANDWIDTH_REQUEST_HEADER_H */ @@ -244,8 +241,7 @@ private: uint16_t m_pbr; // PiggyBack Request }; -} -; // namespace ns3 +} // namespace ns3 #endif /* GRANT_MANAGEMENT_SUBHEADER_H */ @@ -289,7 +285,6 @@ private: uint8_t m_fc; // Fragment Control uint8_t m_fsn; // Fragment Sequence Number }; -} -; // namespace ns3 +} // namespace ns3 #endif /* FRAGMENTATION_SUBHEADER_H */ diff --git a/src/wimax/model/wimax-tlv.h b/src/wimax/model/wimax-tlv.h index 493805e70..9d4ae2ccf 100644 --- a/src/wimax/model/wimax-tlv.h +++ b/src/wimax/model/wimax-tlv.h @@ -19,6 +19,11 @@ * */ +#ifndef WIMAX_TLV_H +#define WIMAX_TLV_H + +#define WIMAX_TLV_EXTENDED_LENGTH_MASK 0x80 + #include "ns3/ipv4-address.h" #include #include "ns3/log.h" @@ -27,12 +32,6 @@ #include "ns3/header.h" #include -#ifndef WIMAXTLV_H_ -#define WIMAXTLV_H_ -#define WIMAX_TLV_EXTENDED_LENGTH_MASK 0x80 - - - namespace ns3 { /** @@ -372,4 +371,4 @@ private: } -#endif /* TLV_H_ */ +#endif /* WIMAX_TLV_H */ diff --git a/src/wimax/wscript b/src/wimax/wscript index 5f96e2a35..ffc08e54c 100644 --- a/src/wimax/wscript +++ b/src/wimax/wscript @@ -1,6 +1,6 @@ ## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*- def build(bld): - obj = bld.create_ns3_module('wimax', ['network', 'spectrum', 'point-to-point']) + obj = bld.create_ns3_module('wimax', ['network', 'point-to-point', 'internet', 'applications', 'propagation', 'mobility']) obj.source = [ 'model/cid.cc', 'model/cid-factory.cc', @@ -63,7 +63,7 @@ def build(bld): 'test/wimax-fragmentation-test.cc', ] - headers = bld.new_task_gen('ns3header') + headers = bld.new_task_gen(features=['ns3header']) headers.module = 'wimax' headers.source = [ 'model/wimax-channel.h', diff --git a/src/wscript b/src/wscript index 7d1a9e9e8..20c72bbd9 100644 --- a/src/wscript +++ b/src/wscript @@ -6,15 +6,13 @@ import shutil import types import warnings +from waflib.Errors import WafError + import TaskGen import Task import Options import Build import Utils -import Constants - -import ccroot -ccroot.USE_TOP_LEVEL = True import wutils @@ -23,54 +21,21 @@ try: except NameError: from sets import Set as set # Python 2.3 fallback -all_modules = [ - 'core', - 'network', - 'config-store', - 'internet', - 'propagation', - 'point-to-point', - 'csma', - 'emu', - 'bridge', - 'tap-bridge', - 'virtual-net-device', - 'applications', - 'nix-vector-routing', - 'olsr', - 'aodv', - 'dsdv', - 'click', - 'openflow', - 'mobility', - 'wifi', - 'netanim', - 'stats', - 'uan', - 'spectrum', - 'mesh', - 'test', - 'test/ns3tcp', - 'test/ns3wifi', - 'flow-monitor', - 'wimax', - 'lte', - 'mpi', - 'topology-read', - 'energy', - 'tools', - 'visualizer', - 'point-to-point-layout', - 'csma-layout', - 'template', - 'buildings', - ] -def set_options(opt): - opt.sub_options('core') - opt.sub_options('click') - opt.sub_options('openflow') +all_modules = [] +for dirname in os.listdir('src'): + if dirname.startswith('.') or dir == 'CVS': + continue + path = os.path.join('src', dirname) + if not os.path.isdir(path): + continue + if os.path.exists(os.path.join(path, 'wscript')): + all_modules.append(dirname) +all_modules.sort() + + +def options(opt): opt.add_option('--enable-rpath', help=("Link programs with rpath" " (normally not needed, see " @@ -82,20 +47,15 @@ def set_options(opt): help=("Build only these modules (and dependencies)"), dest='enable_modules') -def configure(conf): - conf.sub_config('core') - conf.sub_config('emu') - conf.sub_config('tap-bridge') - conf.sub_config('config-store') - conf.sub_config('internet') - conf.sub_config('netanim') - conf.sub_config('test') - conf.sub_config('click') - conf.sub_config('openflow') - conf.sub_config('stats') - conf.sub_config('visualizer') + for module in all_modules: + opt.sub_options(module, mandatory=False) - blddir = os.path.abspath(os.path.join(conf.blddir, conf.env.variant())) + +def configure(conf): + for module in all_modules: + conf.sub_config(module, mandatory=False) + + blddir = os.path.abspath(os.path.join(conf.bldnode.abspath(), conf.variant)) conf.env.append_value('NS3_MODULE_PATH', blddir) if Options.options.enable_rpath: conf.env.append_value('RPATH', '-Wl,-rpath=%s' % (os.path.join(blddir),)) @@ -104,131 +64,85 @@ def configure(conf): conf.env['NS3_MODULES'] = ['ns3-' + module.split('/')[-1] for module in all_modules] -class ns3module_taskgen(TaskGen.task_gen): - def __init__(self, *args, **kwargs): - super(ns3module_taskgen, self).__init__(*args, **kwargs) - self.libs = [] - def apply(self): - static_enabled = False - shared_enabled = True - bld = self.bld - if bld.env['ENABLE_STATIC_NS3']: - static_enabled = True - shared_enabled = False - if bld.env['ENABLE_SHARED_AND_STATIC_NS3']: - static_enabled = True - shared_enabled = True - - assert self.name.startswith("ns3-") - name = self.name.split("ns3-")[1] - - if static_enabled: - static = self._create_ns3_module(self.bld, name, self.dependencies, True) - self.libs.append(static) - else: - static = None - - if shared_enabled: - shared = self._create_ns3_module(self.bld, name, self.dependencies, False) - self.libs.append(shared) - else: - shared = None - - if static is not None and shared is None: - static.name = self.name + "--lib" - static.uselib_local = ['ns3-%s--lib' % (dep,) for dep in self.dependencies] - - elif shared is not None and static is None: - shared.name = self.name + "--lib" - shared.uselib_local = ['ns3-%s--lib' % (dep,) for dep in self.dependencies] - else: - shared.name = self.name + "--lib" - shared.uselib_local = ['ns3-%s--lib' % (dep,) for dep in self.dependencies] - static.name = self.name + "--static" - static.uselib_local = ['ns3-%s--static' % (dep,) for dep in self.dependencies] - - if not self.test: - pcfile = bld.new_task_gen('ns3pcfile') - pcfile.module = self - - - def _create_ns3_module(self, bld, name, dependencies, static): - - # FIXME: env modifications are overwritten by parent caller - - # Create a separate library for this module. - if static: - module = bld.new_task_gen('cxx', 'cstaticlib') - else: - module = bld.new_task_gen('cxx', 'cshlib') - - module.source = self.source - module.env = self.env.copy() - features = list(self.features) - features.remove("ns3module") - module.features.extend(features) - module.path = self.path - module.uselib = self.uselib - if hasattr(self, 'includes'): - module.includes = self.includes - if hasattr(self, "is_ns3_module"): - module.is_ns3_module = self.is_ns3_module - - module.is_static = static - module.vnum = wutils.VNUM - # Add the proper path to the module's name. - module.target = '%s/ns3-%s' % (bld.srcnode.relpath_gen(self.path), name) - # Set the libraries this module depends on. - module.module_deps = list(dependencies) - if not static: - module.env.append_value('CXXFLAGS', module.env['shlib_CXXFLAGS']) - module.env.append_value('CCFLAGS', module.env['shlib_CXXFLAGS']) - # Turn on the link flags for shared libraries if we have the - # proper compiler and platform. - if module.env['CXX_NAME'] in ['gcc', 'icc'] and module.env['WL_SONAME_SUPPORTED']: - # Get the module library name without any relative paths - # at its beginning because all of the libraries will end - # up in the same directory. - module_library_name = os.path.basename(ccroot.get_target_name(module)) - module.env.append_value('LINKFLAGS', '-Wl,--soname=%s' % module_library_name) - elif module.env['CXX_NAME'] in ['gcc', 'icc'] and \ - os.uname()[4] == 'x86_64' and \ - module.env['ENABLE_PYTHON_BINDINGS']: - # enable that flag for static builds only on x86-64 platforms - # when gcc is present and only when we want python bindings - # (it's more efficient to not use this option if we can avoid it) - module.env.append_value('CXXFLAGS', '-mcmodel=large') - module.env.append_value('CCFLAGS', '-mcmodel=large') - module.env.append_value('CXXDEFINES', "NS3_MODULE_COMPILATION") - module.env.append_value('CCDEFINES', "NS3_MODULE_COMPILATION") - - module.install_path = "${LIBDIR}" - - return module +# we need the 'ns3module' waf "feature" to be created because code +# elsewhere looks for it to find the ns3 module objects. +@TaskGen.feature('ns3module') +def _add_test_code(module): + pass def create_ns3_module(bld, name, dependencies=(), test=False): - module = bld.new_task_gen('ns3module') - module.bld = bld + static = bool(bld.env.ENABLE_STATIC_NS3) + # Create a separate library for this module. + if static: + module = bld.new_task_gen(features=['cxx', 'cxxstlib', 'ns3module']) + else: + module = bld.new_task_gen(features=['cxx', 'cxxshlib', 'ns3module']) + module.target = '%s/ns3-%s' % (bld.srcnode.relpath_gen(module.path), name) + linkflags = [] + cxxflags = [] + ccflags = [] + if not static: + cxxflags = module.env['shlib_CXXFLAGS'] + ccflags = module.env['shlib_CXXFLAGS'] + # Turn on the link flags for shared libraries if we have the + # proper compiler and platform. + if module.env['CXX_NAME'] in ['gcc', 'icc'] and module.env['WL_SONAME_SUPPORTED']: + # Get the module library name without any relative paths + # at its beginning because all of the libraries will end + # up in the same directory. + module_library_name = module.env.cshlib_PATTERN % (os.path.basename(module.target),) + linkflags = '-Wl,--soname=' + module_library_name + cxxdefines = ["NS3_MODULE_COMPILATION"] + ccdefines = ["NS3_MODULE_COMPILATION"] + + module.env.append_value('CXXFLAGS', cxxflags) + module.env.append_value('CCFLAGS', ccflags) + module.env.append_value('LINKFLAGS', linkflags) + module.env.append_value('CXXDEFINES', cxxdefines) + module.env.append_value('CCDEFINES', ccdefines) + + module.is_static = static + module.vnum = wutils.VNUM + # Add the proper path to the module's name. + # Set the libraries this module depends on. + module.module_deps = list(dependencies) + + module.install_path = "${LIBDIR}" + module.name = "ns3-" + name module.dependencies = dependencies # Initially create an empty value for this because the pcfile # writing task assumes every module has a uselib attribute. module.uselib = '' - module.uselib_local = ['ns3-' + dep for dep in dependencies] - module.module_deps = list(dependencies) + module.use = ['ns3-' + dep for dep in dependencies] module.test = test module.is_ns3_module = True + module.ns3_dir_location = bld.path.relpath_gen(bld.srcnode) + module.env.append_value("INCLUDES", '#') + + pcfilegen = bld(features='ns3pcfile') + pcfilegen.module = module + return module +@TaskGen.feature("ns3testlib") +@TaskGen.before_method("apply_incpaths") +def apply_incpaths_ns3testlib(self): + if not self.source: + return + testdir = self.source[-1].parent.relpath_gen(self.bld.srcnode) + self.env.append_value("DEFINES", 'NS_TEST_SOURCEDIR="%s"' % (testdir,)) + def create_ns3_module_test_library(bld, name): # Create an ns3 module for the test library that depends only on # the module being tested. library_name = name + "-test" - library = bld.create_ns3_module(library_name, [name], test = True) + library = bld.create_ns3_module(library_name, [name], test=True) + library.features.append("ns3testlib") # Modify attributes for the test library that are different from a # normal module. @@ -237,7 +151,7 @@ def create_ns3_module_test_library(bld, name): library.module_name = 'ns3-' + name # Add this module and test library to the list. - bld.env.append_value('NS3_MODULES_WITH_TEST_LIBRARIES', (library.module_name, library.name)) + bld.env.append_value('NS3_MODULES_WITH_TEST_LIBRARIES', [(library.module_name, library.name)]) # Set the include path from the build directory to modules. relative_path_from_build_to_here = bld.path.relpath_gen(bld.bldnode) @@ -254,6 +168,9 @@ def create_obj(bld, *args): def ns3_python_bindings(bld): + if Options.options.apiscan: + return + # this method is called from a module wscript, so remember bld.path is not bindings/python! module_abs_src_path = bld.path.abspath() module = os.path.basename(module_abs_src_path) @@ -262,8 +179,6 @@ def ns3_python_bindings(bld): if not env['ENABLE_PYTHON_BINDINGS']: return - if env['BINDINGS_TYPE'] not in ('modular', 'both'): - return bindings_dir = bld.path.find_dir("bindings") if bindings_dir is None or not os.path.exists(bindings_dir.abspath()): @@ -301,6 +216,7 @@ def ns3_python_bindings(bld): source=("bindings/%s.py" % (module_py_name,)), target=('%s/%s.py' % (module_target_dir, module_py_name))) extension_name = '_%s' % (module_py_name,) + bld.install_files('${PYTHONDIR}/ns', ["bindings/%s.py" % (module_py_name,)]) else: extension_name = module_py_name @@ -308,7 +224,9 @@ def ns3_python_bindings(bld): #if not debug: # target.append('ns3modulegen.log') - argv = ['NS3_ENABLED_FEATURES=${FEATURES}', '${PYTHON}'] + argv = ['NS3_ENABLED_FEATURES=${FEATURES}', + 'GCC_RTTI_ABI_COMPLETE=${GCC_RTTI_ABI_COMPLETE}', + '${PYTHON}'] #if debug: # argv.extend(["-m", "pdb"]) @@ -321,40 +239,42 @@ def ns3_python_bindings(bld): if was_enabled: features.append(name) - bindgen = bld.new_task_gen('command', source=source, target=target, command=argv) + bindgen = bld.new_task_gen(features=['command'], source=source, target=target, command=argv) bindgen.env['FEATURES'] = ','.join(features) - bindgen.dep_vars = ['FEATURES'] + bindgen.dep_vars = ['FEATURES', "GCC_RTTI_ABI_COMPLETE"] bindgen.before = 'cxx' - bindgen.after = 'gen_ns3_module_header_task' + bindgen.after = 'gen_ns3_module_header' bindgen.name = "pybindgen(ns3 module %s)" % module + bindgen.install_path = None # generate the extension module - pymod = bld.new_task_gen(features='cxx cshlib pyext') + pymod = bld.new_task_gen(features='cxx cxxshlib pyext') pymod.source = ['bindings/ns3module.cc'] pymod.target = '%s/%s' % (module_target_dir, extension_name) pymod.name = 'ns3module_%s' % module - pymod.uselib_local = ["%s--lib" % mod for mod in pymod.env['NS3_ENABLED_MODULES']] # Should be '"ns3-"+module', but see bug 1117 + pymod.use = ["%s" % mod for mod in pymod.env['NS3_ENABLED_MODULES']] # Should be '"ns3-"+module', but see bug 1117 if pymod.env['ENABLE_STATIC_NS3']: if sys.platform == 'darwin': pymod.env.append_value('LINKFLAGS', '-Wl,-all_load') - for mod in pymod.uselib_local: - mod = mod.split("--lib")[0] + for mod in pymod.usel: + #mod = mod.split("--lib")[0] pymod.env.append_value('LINKFLAGS', '-l' + mod) else: pymod.env.append_value('LINKFLAGS', '-Wl,--whole-archive,-Bstatic') - for mod in pymod.uselib_local: - mod = mod.split("--lib")[0] + for mod in pymod.use: + #mod = mod.split("--lib")[0] pymod.env.append_value('LINKFLAGS', '-l' + mod) pymod.env.append_value('LINKFLAGS', '-Wl,-Bdynamic,--no-whole-archive') - defines = list(pymod.env['CXXDEFINES']) + defines = list(pymod.env['DEFINES']) defines.extend(['NS_DEPRECATED=', 'NS3_DEPRECATED_H']) if Options.platform == 'win32': try: defines.remove('_DEBUG') # causes undefined symbols on win32 except ValueError: pass - pymod.env['CXXDEFINES'] = defines - pymod.includes = 'bindings' + pymod.env['DEFINES'] = defines + pymod.includes = '# bindings' + pymod.install_path = '${PYTHONDIR}/ns' return pymod @@ -380,30 +300,35 @@ def build(bld): bld.add_subdirs(list(all_modules)) for module in all_modules: - modheader = bld.new_task_gen('ns3moduleheader') + modheader = bld.new_task_gen(features=['ns3moduleheader']) modheader.module = module.split('/')[-1] class ns3pcfile_task(Task.Task): after = 'cc cxx' + def __str__(self): "string to display to the user" tgt_str = ' '.join([a.nice_path(self.env) for a in self.outputs]) return 'pcfile: %s\n' % (tgt_str) + def runnable_status(self): return super(ns3pcfile_task, self).runnable_status() + def _self_libs(self, env, name, libdir): if env['ENABLE_STATIC_NS3']: - path_st = 'STATICLIBPATH_ST' - lib_st = 'STATICLIB_ST' - lib_marker = 'STATICLIB_MARKER' + path_st = 'STLIBPATH_ST' + lib_st = 'STLIB_ST' + lib_marker = 'STLIB_MARKER' else: path_st = 'LIBPATH_ST' lib_st = 'LIB_ST' lib_marker = 'SHLIB_MARKER' - retval = [env[path_st] % libdir, - env[lib_marker], - env[lib_st] % name] + retval = [env[path_st] % libdir] + if env[lib_marker]: + retval.append(env[lib_marker]) + retval.append(env[lib_st] % name) return retval + def _lib(self, env, dep): libpath = env['LIBPATH_%s' % dep] linkflags = env['LINKFLAGS_%s' % dep] @@ -415,37 +340,44 @@ class ns3pcfile_task(Task.Task): for lib in libs: retval.append(env['LIB_ST'] % lib) return retval + def _listify(self, v): if isinstance(v, list): return v else: return [v] + def _cflags(self, dep): flags = self.env['CFLAGS_%s' % dep] return self._listify(flags) + def _cxxflags(self, dep): return self._listify(self.env['CXXFLAGS_%s' % dep]) + def _defines(self, dep): - defines = self.env['CCDEFINES_%s' % dep] + self.env['CXXDEFINES_%s' % dep] - return [self.env['CCDEFINES_ST'] % define for define in self.env['CCDEFINES_%s' % dep]] + \ - [self.env['CXXDEFINES_ST'] % define for define in self.env['CXXDEFINES_%s' % dep]] + return [self.env['DEFINES_ST'] % define for define in self.env['DEFINES_%s' % dep]] + def _includes(self, dep): - includes = self.env['CPPPATH_%s' % dep] + includes = self.env['INCLUDES_%s' % dep] return [self.env['CPPPATH_ST'] % include for include in includes] - def _generate_pcfile(self, name, use, uselib_local, prefix, outfilename): - outfile = open(outfilename, 'w') - includedir = os.path.join(prefix, 'include') - libdir = os.path.join(prefix, 'lib') - libs = self._self_libs(self.env, name, '${libdir}') + def _generate_pcfile(self, name, use, env, outfilename): + outfile = open(outfilename, 'wt') + prefix = env.PREFIX + includedir = env.INCLUDEDIR + libdir = env.LIBDIR + libs = self._self_libs(env, name, '${libdir}') for dep in use: - libs = libs + self._lib(self.env, dep) - for dep in uselib_local: - libs = libs + [self.env['LIB_ST'] % dep] + libs += self._lib(env, dep) + for dep in env.LIBS: + libs += self.env['LIB_ST'] % dep cflags = [self.env['CPPPATH_ST'] % '${includedir}'] + requires = [] for dep in use: cflags = cflags + self._cflags(dep) + self._cxxflags(dep) + \ self._defines(dep) + self._includes(dep) + if dep.startswith('ns3-'): + requires.append("lib"+dep) print >> outfile, """ prefix=%s libdir=%s @@ -456,65 +388,57 @@ Description: ns-3 module %s Version: devel Libs: %s Cflags: %s +Requires: %s """ % (prefix, libdir, includedir, - name, name, ' '.join(libs), ' '.join(cflags)) + name, name, ' '.join(libs), ' '.join(cflags), ' '.join(requires)) outfile.close() def run(self): - output_filename = self.outputs[0].bldpath(self.env) - self._generate_pcfile(self.module.name, self.module.uselib, - self.module.uselib_local, - self.env['PREFIX'], output_filename) - -class ns3pcfile_taskgen(TaskGen.task_gen): - def __init__(self, *args, **kwargs): - super(ns3pcfile_taskgen, self).__init__(*args, **kwargs) - def apply(self): - output_filename = 'lib%s.pc' % self.module.name - output_node = self.path.find_or_declare(output_filename) - assert output_node is not None, str(self) - task = self.create_task('ns3pcfile', env=self.env) - self.bld.install_files(os.path.join('${PREFIX}', 'lib', 'pkgconfig'), - output_node) - task.set_outputs([output_node]) - task.module = self.module + output_filename = self.outputs[0].abspath() + self._generate_pcfile(self.module.name, + self.module.to_list(self.module.use), + self.env, output_filename) -class ns3header_taskgen(TaskGen.task_gen): - """A set of NS-3 header files""" - COLOR = 'BLUE' - def __init__(self, *args, **kwargs): - super(ns3header_taskgen, self).__init__(*args, **kwargs) - self.install_path = None - self.sub_dir = None # if not None, header files will be published as ns3/sub_dir/file.h - self.module = None # module name - self.mode = 'install' +@TaskGen.feature('ns3pcfile') +@TaskGen.after_method('process_rule') +def apply(self): + output_filename = 'lib%s.pc' % self.module.name + output_node = self.path.find_or_declare(output_filename) + assert output_node is not None, str(self) + task = self.create_task('ns3pcfile') + self.bld.install_files('${LIBDIR}/pkgconfig', output_node) + task.set_outputs([output_node]) + task.module = self.module + + + +@TaskGen.feature('ns3header') +@TaskGen.after_method('process_rule') +def apply_ns3header(self): + if self.module is None: + raise WafError("'module' missing on ns3headers object %s" % self) + ns3_dir_node = self.bld.path.find_dir("ns3") + for filename in set(self.to_list(self.source)): + src_node = self.path.find_resource(filename) + if src_node is None: + raise WafError("source ns3 header file %s not found" % (filename,)) + dst_node = ns3_dir_node.find_or_declare(src_node.name) + assert dst_node is not None + task = self.create_task('ns3header') + task.mode = getattr(self, 'mode', 'install') + if task.mode == 'install': + self.bld.install_files('${PREFIX}/include/ns3', [src_node]) + task.set_inputs([src_node]) + task.set_outputs([dst_node]) + else: + task.header_to_remove = dst_node + self.headers = set(self.to_list(self.source)) + self.source = '' # tell WAF not to process these files further - def apply(self): - for filename in set(self.to_list(self.source)): - src_node = self.path.find_resource(filename) - if self.module is None: - raise Utils.WafError("'module' missing on ns3headers object %s" % self) - ns3_dir_node = self.bld.path.find_dir("ns3") - if self.sub_dir is not None: - ns3_dir_node = ns3_dir_node.find_dir(self.sub_dir) - for filename in set(self.to_list(self.source)): - src_node = self.path.find_resource(filename) - if src_node is None: - raise Utils.WafError("source ns3 header file %s not found" % (filename,)) - dst_node = ns3_dir_node.find_or_declare(os.path.basename(filename)) - assert dst_node is not None - task = self.create_task('ns3header', env=self.env) - task.mode = self.mode - if self.mode == 'install': - self.bld.install_files('${PREFIX}/include/ns3', [src_node]) - task.set_inputs([src_node]) - task.set_outputs([dst_node]) - else: - task.header_to_remove = dst_node class ns3header_task(Task.Task): - before = 'cc cxx gen_ns3_module_header_task' + before = 'cc cxx gen_ns3_module_header' color = 'BLUE' def __str__(self): @@ -525,23 +449,41 @@ class ns3header_task(Task.Task): if self.outputs: sep = ' -> ' else: sep = '' if self.mode == 'remove': - return 'rm-ns3-header %s\n' % (self.header_to_remove.bldpath(self.env),) + return 'rm-ns3-header %s\n' % (self.header_to_remove.abspath(),) return 'install-ns3-header: %s%s%s\n' % (src_str, sep, tgt_str) + def __repr__(self): + return str(self) + + def uid(self): + try: + return self.uid_ + except AttributeError: + m = Utils.md5() + up = m.update + up(self.__class__.__name__.encode()) + for x in self.inputs + self.outputs: + up(x.abspath().encode()) + up(self.mode) + if self.mode == 'remove': + up(self.header_to_remove.abspath().encode()) + self.uid_ = m.digest() + return self.uid_ + def runnable_status(self): if self.mode == 'remove': - if os.path.exists(self.header_to_remove.bldpath(self.env)): - return Constants.RUN_ME + if os.path.exists(self.header_to_remove.abspath()): + return Task.RUN_ME else: - return Constants.SKIP_ME + return Task.SKIP_ME else: return super(ns3header_task, self).runnable_status() def run(self): if self.mode == 'install': assert len(self.inputs) == len(self.outputs) - inputs = [node.srcpath(self.env) for node in self.inputs] - outputs = [node.bldpath(self.env) for node in self.outputs] + inputs = [node.abspath() for node in self.inputs] + outputs = [node.abspath() for node in self.outputs] for src, dst in zip(inputs, outputs): try: os.chmod(dst, 0600) @@ -555,7 +497,7 @@ class ns3header_task(Task.Task): else: assert len(self.inputs) == 0 assert len(self.outputs) == 0 - out_file_name = self.header_to_remove.bldpath(self.env) + out_file_name = self.header_to_remove.abspath() try: os.unlink(out_file_name) except OSError, ex: @@ -566,15 +508,15 @@ class ns3header_task(Task.Task): class gen_ns3_module_header_task(Task.Task): before = 'cc cxx' - after = 'ns3header_task' + after = 'ns3header' color = 'BLUE' def runnable_status(self): if self.mode == 'remove': - if os.path.exists(self.header_to_remove.bldpath(self.env)): - return Constants.RUN_ME + if os.path.exists(self.header_to_remove.abspath()): + return Task.RUN_ME else: - return Constants.SKIP_ME + return Task.SKIP_ME else: return super(gen_ns3_module_header_task, self).runnable_status() @@ -586,24 +528,23 @@ class gen_ns3_module_header_task(Task.Task): if self.outputs: sep = ' -> ' else: sep = '' if self.mode == 'remove': - return 'rm-module-header %s\n' % (self.header_to_remove.bldpath(self.env),) + return 'rm-module-header %s\n' % (self.header_to_remove.abspath(),) return 'gen-module-header: %s%s%s\n' % (src_str, sep, tgt_str) def run(self): if self.mode == 'remove': assert len(self.inputs) == 0 assert len(self.outputs) == 0 - out_file_name = self.header_to_remove.bldpath(self.env) + out_file_name = self.header_to_remove.abspath() try: os.unlink(out_file_name) except OSError, ex: if ex.errno != 2: raise return 0 - assert len(self.outputs) == 1 - out_file_name = self.outputs[0].bldpath(self.env) - header_files = [os.path.basename(node.abspath(self.env)) for node in self.inputs] + out_file_name = self.outputs[0].get_bld().abspath()#self.env) + header_files = [os.path.basename(node.abspath()) for node in self.inputs] outfile = file(out_file_name, "w") header_files.sort() @@ -631,7 +572,7 @@ class gen_ns3_module_header_task(Task.Task): return 0 def sig_explicit_deps(self): - self.m.update('\n'.join([node.abspath(self.env) for node in self.inputs])) + self.m.update('\n'.join([node.abspath() for node in self.inputs])) return self.m.digest() def unique_id(self): @@ -645,50 +586,46 @@ class gen_ns3_module_header_task(Task.Task): return self.uid -class ns3moduleheader_taskgen(TaskGen.task_gen): - """ - Generates a 'ns3/foo-module.h' header file that includes all - public ns3 headers of a certain module. - """ - COLOR = 'BLUE' - def __init__(self, *args, **kwargs): - super(ns3moduleheader_taskgen, self).__init__(*args, **kwargs) - self.mode = 'install' +# Generates a 'ns3/foo-module.h' header file that includes all public +# ns3 headers of a certain module. +@TaskGen.feature('ns3moduleheader') +@TaskGen.after_method('process_rule') +def apply_ns3moduleheader(self): + ## get all of the ns3 headers + ns3_dir_node = self.bld.path.find_dir("ns3") + all_headers_inputs = [] + found_the_module = False + for ns3headers in self.bld.all_task_gen: + if 'ns3header' in getattr(ns3headers, "features", []): + if ns3headers.module != self.module: + continue + found_the_module = True + for source in ns3headers.headers: + source = os.path.basename(source) + node = ns3_dir_node.find_or_declare(os.path.basename(source)) + if node is None: + fatal("missing header file %s" % (source,)) + all_headers_inputs.append(node) + if not found_the_module: + raise WafError("error finding headers for module %s" % self.module) + if not all_headers_inputs: + return - def apply(self): - ## get all of the ns3 headers - ns3_dir_node = self.bld.path.find_dir("ns3") - all_headers_inputs = [] - found_the_module = False - for ns3headers in self.bld.all_task_gen: - if isinstance(ns3headers, ns3header_taskgen): - if ns3headers.module != self.module: - continue - found_the_module = True - for source in set(ns3headers.to_list(ns3headers.source)): - source = os.path.basename(source) - node = ns3_dir_node.find_or_declare(os.path.basename(source)) - if node is None: - fatal("missing header file %s" % (source,)) - all_headers_inputs.append(node) - if not found_the_module: - raise Utils.WscriptError("error finding headers for module %s" % self.module) - if not all_headers_inputs: - return - all_headers_outputs = [ns3_dir_node.find_or_declare("%s-module.h" % self.module)] - task = self.create_task('gen_ns3_module_header', env=self.env) - task.module = self.module - task.mode = self.mode - if self.mode == 'install': - self.bld.install_files('${PREFIX}/include/ns3', - ns3_dir_node.find_or_declare("%s-module.h" % self.module)) - task.set_inputs(all_headers_inputs) - task.set_outputs(all_headers_outputs) - module_obj = self.bld.name_to_obj("ns3-" + self.module, self.env) - assert module_obj is not None, self.module - task.module_deps = module_obj.module_deps - else: - task.header_to_remove = all_headers_outputs[0] + try: + module_obj = self.bld.get_tgen_by_name("ns3-" + self.module) + except WafError: # maybe the module was disabled, and therefore removed + return - def install(self): - pass + all_headers_outputs = [ns3_dir_node.find_or_declare("%s-module.h" % self.module)] + task = self.create_task('gen_ns3_module_header') + task.module = self.module + task.mode = getattr(self, "mode", "install") + if task.mode == 'install': + assert module_obj is not None, self.module + self.bld.install_files('${PREFIX}/include/ns3', + ns3_dir_node.find_or_declare("%s-module.h" % self.module)) + task.set_inputs(all_headers_inputs) + task.set_outputs(all_headers_outputs) + task.module_deps = module_obj.module_deps + else: + task.header_to_remove = all_headers_outputs[0] diff --git a/test.py b/test.py index bc8680e97..7fee5e8fb 100755 --- a/test.py +++ b/test.py @@ -42,7 +42,6 @@ from utils import get_list_from_file # found in the associated subdirectory wscript files. # interesting_config_items = [ - "NS3_BUILDDIR", "NS3_ENABLED_MODULES", "NS3_MODULE_PATH", "NSC_ENABLED", @@ -165,53 +164,49 @@ def parse_examples_to_run_file( # TMP_OUTPUT_DIR = "testpy-output" -def get_node_text(node): - for child in node.childNodes: - if child.nodeType == child.TEXT_NODE: - return child.nodeValue - return "None" +def read_test(test): + result = test.find('Result').text + name = test.find('Name').text + if not test.find('Time') is None: + time_real = test.find('Time').get('real') + else: + time_real = '' + return (result, name, time_real) # # A simple example of writing a text file with a test result summary. It is # expected that this output will be fine for developers looking for problems. # +def node_to_text (test, f): + (result, name, time_real) = read_test(test) + output = "%s: Test Suite \"%s\" (%s)\n" % (result, name, time_real) + f.write(output) + for details in test.findall('FailureDetails'): + f.write(" Details:\n") + f.write(" Message: %s\n" % details.find('Message').text) + f.write(" Condition: %s\n" % details.find('Condition').text) + f.write(" Actual: %s\n" % details.find('Actual').text) + f.write(" Limit: %s\n" % details.find('Limit').text) + f.write(" File: %s\n" % details.find('File').text) + f.write(" Line: %s\n" % details.find('Line').text) + for child in test.findall('Test'): + node_to_text(child, f) + def translate_to_text(results_file, text_file): f = open(text_file, 'w') - try: - dom = xml.dom.minidom.parse(results_file) - except xml.parsers.expat.error: - print "\nAn error was encountered while parsing the XML file %s." % (results_file) - sys.exit(1) + import xml.etree.ElementTree as ET + et = ET.parse (results_file) + for test in et.findall('Test'): + node_to_text (test, f) - for suite in dom.getElementsByTagName("TestSuite"): - result = get_node_text(suite.getElementsByTagName("SuiteResult")[0]) - name = get_node_text(suite.getElementsByTagName("SuiteName")[0]) - time = get_node_text(suite.getElementsByTagName("SuiteTime")[0]) - output = "%s: Test Suite \"%s\" (%s)\n" % (result, name, time) - f.write(output) - if result != "CRASH": - for case in suite.getElementsByTagName("TestCase"): - result = get_node_text(case.getElementsByTagName("CaseResult")[0]) - name = get_node_text(case.getElementsByTagName("CaseName")[0]) - time = get_node_text(case.getElementsByTagName("CaseTime")[0]) - output = " %s: Test Case \"%s\" (%s)\n" % (result, name, time) - f.write(output) - - if result == "FAIL": - for details in case.getElementsByTagName("FailureDetails"): - f.write(" Details:\n") - f.write(" Message: %s\n" % get_node_text(details.getElementsByTagName("Message")[0])) - f.write(" Condition: %s\n" % get_node_text(details.getElementsByTagName("Condition")[0])) - f.write(" Actual: %s\n" % get_node_text(details.getElementsByTagName("Actual")[0])) - f.write(" Limit: %s\n" % get_node_text(details.getElementsByTagName("Limit")[0])) - f.write(" File: %s\n" % get_node_text(details.getElementsByTagName("File")[0])) - f.write(" Line: %s\n" % get_node_text(details.getElementsByTagName("Line")[0])) - - for example in dom.getElementsByTagName("Example"): - result = get_node_text(example.getElementsByTagName("Result")[0]) - name = get_node_text(example.getElementsByTagName("Name")[0]) - time = get_node_text(example.getElementsByTagName("ElapsedTime")[0]) - output = "%s: Example \"%s\" (%s)\n" % (result, name, time) + for example in et.findall('Example'): + result = example.find('Result').text + name = example.find('Name').text + if not example.find('Time') is None: + time_real = example.find('Time').get('real') + else: + time_real = '' + output = "%s: Example \"%s\" (%s)\n" % (result, name, time_real) f.write(output) f.close() @@ -231,20 +226,18 @@ def translate_to_html(results_file, html_file): # # Read and parse the whole results file. # - dom = xml.dom.minidom.parse(results_file) + import xml.etree.ElementTree as ET + et = ET.parse(results_file) # # Iterate through the test suites # f.write("

Test Suites

\n") - for suite in dom.getElementsByTagName("TestSuite"): - + for suite in et.findall('Test'): # # For each test suite, get its name, result and execution time info # - name = get_node_text(suite.getElementsByTagName("SuiteName")[0]) - result = get_node_text(suite.getElementsByTagName("SuiteResult")[0]) - time = get_node_text(suite.getElementsByTagName("SuiteTime")[0]) + (result, name, time) = read_test (suite) # # Print a level three header with the result, name and time. If the @@ -316,15 +309,13 @@ def translate_to_html(results_file, html_file): # # Now iterate through all of the test cases. # - for case in suite.getElementsByTagName("TestCase"): + for case in suite.findall('Test'): # # Get the name, result and timing information from xml to use in # printing table below. # - name = get_node_text(case.getElementsByTagName("CaseName")[0]) - result = get_node_text(case.getElementsByTagName("CaseResult")[0]) - time = get_node_text(case.getElementsByTagName("CaseTime")[0]) + (result, name, time) = read_test(case) # # If the test case failed, we iterate through possibly multiple @@ -349,7 +340,7 @@ def translate_to_html(results_file, html_file): # first_row = True - for details in case.getElementsByTagName("FailureDetails"): + for details in case.findall('FailureDetails'): # # Start a new row in the table for each possible Failure Detail @@ -367,12 +358,12 @@ def translate_to_html(results_file, html_file): f.write("\n") f.write("") - f.write("Message: %s, " % get_node_text(details.getElementsByTagName("Message")[0])) - f.write("Condition: %s, " % get_node_text(details.getElementsByTagName("Condition")[0])) - f.write("Actual: %s, " % get_node_text(details.getElementsByTagName("Actual")[0])) - f.write("Limit: %s, " % get_node_text(details.getElementsByTagName("Limit")[0])) - f.write("File: %s, " % get_node_text(details.getElementsByTagName("File")[0])) - f.write("Line: %s" % get_node_text(details.getElementsByTagName("Line")[0])) + f.write("Message: %s, " % details.find('Message').text) + f.write("Condition: %s, " % details.find('Condition').text) + f.write("Actual: %s, " % details.find('Actual').text) + f.write("Limit: %s, " % details.find('Limit').text) + f.write("File: %s, " % details.find('File').text) + f.write("Line: %s" % details.find('Line').text) f.write("\n") # @@ -428,7 +419,7 @@ def translate_to_html(results_file, html_file): # # Now iterate through all of the examples # - for example in dom.getElementsByTagName("Example"): + for example in et.findall("Example"): # # Start a new row for each example @@ -438,9 +429,7 @@ def translate_to_html(results_file, html_file): # # Get the result and name of the example in question # - result = get_node_text(example.getElementsByTagName("Result")[0]) - name = get_node_text(example.getElementsByTagName("Name")[0]) - time = get_node_text(example.getElementsByTagName("ElapsedTime")[0]) + (result, name, time) = read_test(example) # # If the example either failed or crashed, print its result status @@ -493,24 +482,6 @@ def sigint_hook(signal, frame): thread_exit = True return 0 -# -# Waf can be configured to compile in debug or optimized modes. In each -# case, the resulting built goes into a different directory. If we want -# test tests to run from the correct code-base, we have to figure out which -# mode waf is running in. This is called its active variant. -# -# XXX This function pokes around in the waf internal state file. To be a -# little less hacky, we should add a commmand to waf to return this info -# and use that result. -# -def read_waf_active_variant(): - for line in open("build/c4che/default.cache.py").readlines(): - if line.startswith("NS3_ACTIVE_VARIANT"): - exec(line, globals()) - break - - if options.verbose: - print "NS3_ACTIVE_VARIANT == %s" % NS3_ACTIVE_VARIANT # # In general, the build process itself naturally takes care of figuring out @@ -529,7 +500,13 @@ def read_waf_active_variant(): # and use that result. # def read_waf_config(): - for line in open("build/c4che/%s.cache.py" % NS3_ACTIVE_VARIANT).readlines(): + for line in open(".lock-wafbuild", "rt"): + if line.startswith("out_dir ="): + key, val = line.split('=') + out_dir = eval(val.strip()) + global NS3_BUILDDIR + NS3_BUILDDIR = out_dir + for line in open("%s/c4che/_cache.py" % out_dir).readlines(): for item in interesting_config_items: if line.startswith(item): exec(line, globals()) @@ -565,7 +542,7 @@ def make_paths(): if key == "PYTHONPATH": have_PYTHONPATH = True - pypath = os.environ["PYTHONPATH"] = os.path.join (NS3_BUILDDIR, NS3_ACTIVE_VARIANT, "bindings", "python") + pypath = os.environ["PYTHONPATH"] = os.path.join (NS3_BUILDDIR, "bindings", "python") if not have_PYTHONPATH: os.environ["PYTHONPATH"] = pypath @@ -694,7 +671,7 @@ def run_job_synchronously(shell_command, directory, valgrind, is_python, build_p if len(build_path): path_cmd = os.path.join (build_path, shell_command) else: - path_cmd = os.path.join (NS3_BUILDDIR, NS3_ACTIVE_VARIANT, shell_command) + path_cmd = os.path.join (NS3_BUILDDIR, shell_command) if valgrind: cmd = "valgrind --suppressions=%s --leak-check=full --show-reachable=yes --error-exitcode=2 %s" % (suppressions_path, @@ -786,7 +763,7 @@ class Job: # # This is the shell command that will be executed in the job. For example, # - # "utils/test-runner --suite=some-test-suite" + # "utils/test-runner --test-name=some-test-suite" # def set_shell_command(self, shell_command): self.shell_command = shell_command @@ -919,8 +896,12 @@ class worker_thread(threading.Thread): # to the test runner, specifically the base directory and temp # file name # + if options.update_data: + update_data = '--update-data' + else: + update_data = '' (job.returncode, standard_out, standard_err, et) = run_job_synchronously(job.shell_command + - " --basedir=%s --tempdir=%s --out=%s" % (job.basedir, job.tempdir, job.tmp_file_name), + " --xml --tempdir=%s --out=%s %s" % (job.tempdir, job.tmp_file_name, update_data), job.cwd, options.valgrind, False) job.set_elapsed_time(et) @@ -997,12 +978,11 @@ def run_tests(): # pieces of the system have been built. This will tell us what examples # are runnable. # - read_waf_active_variant() read_waf_config() make_paths() # Get the information from the build status file. - build_status_file = os.path.join (NS3_BUILDDIR, NS3_ACTIVE_VARIANT, 'build-status.py') + build_status_file = os.path.join (NS3_BUILDDIR, 'build-status.py') if os.path.exists(build_status_file): ns3_runnable_programs = get_list_from_file(build_status_file, "ns3_runnable_programs") ns3_runnable_scripts = get_list_from_file(build_status_file, "ns3_runnable_scripts") @@ -1019,7 +999,7 @@ def run_tests(): # Set the directories and paths for this example. example_directory = os.path.join("examples", directory) examples_to_run_path = os.path.join(example_directory, "examples-to-run.py") - cpp_executable_dir = os.path.join(NS3_BUILDDIR, NS3_ACTIVE_VARIANT, example_directory) + cpp_executable_dir = os.path.join(NS3_BUILDDIR, example_directory) python_script_dir = os.path.join(example_directory) # Parse this example directory's file. @@ -1038,7 +1018,7 @@ def run_tests(): module_directory = os.path.join("src", module) example_directory = os.path.join(module_directory, "examples") examples_to_run_path = os.path.join(module_directory, "test", "examples-to-run.py") - cpp_executable_dir = os.path.join(NS3_BUILDDIR, NS3_ACTIVE_VARIANT, example_directory) + cpp_executable_dir = os.path.join(NS3_BUILDDIR, example_directory) python_script_dir = os.path.join(example_directory) # Parse this module's file. @@ -1063,12 +1043,12 @@ def run_tests(): # handle them without doing all of the hard work. # if options.kinds: - path_cmd = os.path.join("utils", "test-runner --kinds") + path_cmd = os.path.join("utils", "test-runner --print-test-type-list") (rc, standard_out, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) print standard_out if options.list: - path_cmd = os.path.join("utils", "test-runner --list") + path_cmd = os.path.join("utils", "test-runner --print-test-name-list") (rc, standard_out, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) print standard_out @@ -1113,7 +1093,7 @@ def run_tests(): xml_results_file = os.path.join(testpy_output_dir, "results.xml") f = open(xml_results_file, 'w') f.write('\n') - f.write('\n') + f.write('\n') f.close() # @@ -1138,13 +1118,21 @@ def run_tests(): # execution quite easily. # if len(options.suite): - suites = options.suite + "\n" + # See if this is a valid test suite. + path_cmd = os.path.join("utils", "test-runner --print-test-name-list") + (rc, suites, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) + if options.suite in suites: + suites = options.suite + "\n" + else: + print >> sys.stderr, 'The test suite was not run because an unknown test suite name was requested.' + sys.exit(2) + elif len(options.example) == 0 and len(options.pyexample) == 0: if len(options.constrain): - path_cmd = os.path.join("utils", "test-runner --list --constrain=%s" % options.constrain) + path_cmd = os.path.join("utils", "test-runner --print-test-name-list --test-type=%s" % options.constrain) (rc, suites, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) else: - path_cmd = os.path.join("utils", "test-runner --list") + path_cmd = os.path.join("utils", "test-runner --print-test-name-list") (rc, suites, standard_err, et) = run_job_synchronously(path_cmd, os.getcwd(), False, False) else: suites = "" @@ -1222,11 +1210,11 @@ def run_tests(): job.set_basedir(os.getcwd()) job.set_tempdir(testpy_output_dir) if (options.multiple): - multiple = " --multiple" - else: multiple = "" + else: + multiple = " --stop-on-failure" - path_cmd = os.path.join("utils", "test-runner --suite=%s%s" % (test, multiple)) + path_cmd = os.path.join("utils", "test-runner --test-name=%s%s" % (test, multiple)) job.set_shell_command(path_cmd) if options.valgrind and test in core_valgrind_skip_tests: @@ -1510,7 +1498,7 @@ def run_tests(): else: f.write(' CRASH\n') - f.write(' %.3f\n' % job.elapsed_time) + f.write(' \n') + f.write('\n') f.close() # @@ -1669,6 +1654,9 @@ def main(argv): metavar="EXAMPLE", help="specify a single example to run (with relative path)") + parser.add_option("-u", "--update-data", action="store_true", dest="update_data", default=False, + help="If examples use reference data files, get them to re-generate them") + parser.add_option("-g", "--grind", action="store_true", dest="valgrind", default=False, help="run the test suites and examples using valgrind") diff --git a/utils/bench-event-collector.cc b/utils/bench-event-collector.cc deleted file mode 100644 index 2e3110476..000000000 --- a/utils/bench-event-collector.cc +++ /dev/null @@ -1,35 +0,0 @@ -#include -#include -#include -#include "ns3/event-collector.h" -#include "ns3/simulator.h" - -using namespace ns3; - -void Foo () -{ - -} - -int main (int argc, char *argv[]) -{ - EventCollector events; - - if (argc < 3) - { - std::cerr << "usage: bench-event-collector NUM_EVENTS NUM_REPETITIONS" << std::endl; - return 1; - } - int numEvents = atoi (argv[1]); - int numRepetitions = atoi (argv[2]); - - for (int repetition = 0; repetition < numRepetitions; ++repetition) - { - for (int n = 0; n < numEvents; ++n) - { - events.Track (Simulator::Schedule (Simulator::Now (), Foo)); - } - Simulator::Run (); - } -} - diff --git a/utils/lcov/genhtml b/utils/lcov/genhtml index 9502a27c1..d74063a4f 100755 --- a/utils/lcov/genhtml +++ b/utils/lcov/genhtml @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# Copyright (c) International Business Machines Corp., 2002 +# Copyright (c) International Business Machines Corp., 2002,2010 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -48,6 +48,20 @@ # 2003-04-30 / Peter Oberparleiter: made info write to STDERR, not STDOUT # 2003-07-10 / Peter Oberparleiter: added line checksum support # 2004-08-09 / Peter Oberparleiter: added configuration file support +# 2005-03-04 / Cal Pierog: added legend to HTML output, fixed coloring of +# "good coverage" background +# 2006-03-18 / Marcus Boerger: added --custom-intro, --custom-outro and +# overwrite --no-prefix if --prefix is present +# 2006-03-20 / Peter Oberparleiter: changes to custom_* function (rename +# to html_prolog/_epilog, minor modifications to implementation), +# changed prefix/noprefix handling to be consistent with current +# logic +# 2006-03-20 / Peter Oberparleiter: added --html-extension option +# 2008-07-14 / Tom Zoerner: added --function-coverage command line option; +# added function table to source file page +# 2008-08-13 / Peter Oberparleiter: modified function coverage +# implementation (now enabled per default), +# introduced sorting option (enabled per default) # use strict; @@ -57,16 +71,27 @@ use Digest::MD5 qw(md5_base64); # Global constants -our $title = "LTP GCOV extension - code coverage report"; -our $lcov_version = "LTP GCOV extension version 1.4"; +our $title = "LCOV - code coverage report"; +our $lcov_version = 'LCOV version 1.9'; our $lcov_url = "http://ltp.sourceforge.net/coverage/lcov.php"; +our $tool_name = basename($0); # Specify coverage rate limits (in %) for classifying file entries # HI: $hi_limit <= rate <= 100 graph color: green # MED: $med_limit <= rate < $hi_limit graph color: orange # LO: 0 <= rate < $med_limit graph color: red -our $hi_limit = 50; -our $med_limit = 15; + +# For line coverage/all coverage types if not specified +our $hi_limit = 90; +our $med_limit = 75; + +# For function coverage +our $fn_hi_limit; +our $fn_med_limit; + +# For branch coverage +our $br_hi_limit; +our $br_med_limit; # Width of overview image our $overview_width = 80; @@ -81,31 +106,78 @@ our $nav_resolution = 4; # line in the window. This number specifies that offset in lines. our $nav_offset = 10; -our $overview_title = "directory"; +# Clicking on a function name should show the source code at a position a +# few lines before the first line of code of that function. This number +# specifies that offset in lines. +our $func_offset = 2; + +our $overview_title = "top level"; + +# Width for line coverage information in the source code view +our $line_field_width = 12; + +# Width for branch coverage information in the source code view +our $br_field_width = 16; + +# Internal Constants + +# Header types +our $HDR_DIR = 0; +our $HDR_FILE = 1; +our $HDR_SOURCE = 2; +our $HDR_TESTDESC = 3; +our $HDR_FUNC = 4; + +# Sort types +our $SORT_FILE = 0; +our $SORT_LINE = 1; +our $SORT_FUNC = 2; +our $SORT_BRANCH = 3; + +# Fileview heading types +our $HEAD_NO_DETAIL = 1; +our $HEAD_DETAIL_HIDDEN = 2; +our $HEAD_DETAIL_SHOWN = 3; + +# Offsets for storing branch coverage data in vectors +our $BR_BLOCK = 0; +our $BR_BRANCH = 1; +our $BR_TAKEN = 2; +our $BR_VEC_ENTRIES = 3; +our $BR_VEC_WIDTH = 32; + +# Additional offsets used when converting branch coverage data to HTML +our $BR_LEN = 3; +our $BR_OPEN = 4; +our $BR_CLOSE = 5; + +# Branch data combination types +our $BR_SUB = 0; +our $BR_ADD = 1; # Data related prototypes sub print_usage(*); sub gen_html(); +sub html_create($$); sub process_dir($); sub process_file($$$); sub info(@); sub read_info_file($); sub get_info_entry($); -sub set_info_entry($$$$$;$$); +sub set_info_entry($$$$$$$$$;$$$$$$); sub get_prefix(@); sub shorten_prefix($); sub get_dir_list(@); sub get_relative_base_path($); sub read_testfile($); sub get_date_string(); -sub split_filename($); sub create_sub_dir($); sub subtract_counts($$); sub add_counts($$); sub apply_baseline($$); sub remove_unused_descriptions(); sub get_found_and_hit($); -sub get_affecting_tests($); +sub get_affecting_tests($$$); sub combine_info_files($$); sub merge_checksums($$$); sub combine_info_entries($$$); @@ -113,6 +185,19 @@ sub apply_prefix($$); sub system_no_output($@); sub read_config($); sub apply_config($); +sub get_html_prolog($); +sub get_html_epilog($); +sub write_dir_page($$$$$$$$$$$$$$$$$); +sub classify_rate($$$$); +sub br_taken_add($$); +sub br_taken_sub($$); +sub br_ivec_len($); +sub br_ivec_get($$); +sub br_ivec_push($$$$); +sub combine_brcount($$$); +sub get_br_found_and_hit($); +sub warn_handler($); +sub die_handler($); # HTML related prototypes @@ -120,32 +205,33 @@ sub escape_html($); sub get_bar_graph_code($$$); sub write_png_files(); +sub write_htaccess_file(); sub write_css_file(); -sub write_description_file($$$); +sub write_description_file($$$$$$$); +sub write_function_table(*$$$$$$$$$$); sub write_html(*$); sub write_html_prolog(*$$); sub write_html_epilog(*$;$); -sub write_header(*$$$$$); +sub write_header(*$$$$$$$$$$); sub write_header_prolog(*$); -sub write_header_line(*$$;$$); +sub write_header_line(*@); sub write_header_epilog(*$); -sub write_file_table(*$$$$); -sub write_file_table_prolog(*$$); -sub write_file_table_entry(*$$$$); -sub write_file_table_detail_heading(*$$); -sub write_file_table_detail_entry(*$$$); +sub write_file_table(*$$$$$$$); +sub write_file_table_prolog(*$@); +sub write_file_table_entry(*$$$@); +sub write_file_table_detail_entry(*$@); sub write_file_table_epilog(*); sub write_test_table_prolog(*$); sub write_test_table_entry(*$$); sub write_test_table_epilog(*); -sub write_source($$$$$); +sub write_source($$$$$$$); sub write_source_prolog(*); -sub write_source_line(*$$$$); +sub write_source_line(*$$$$$$); sub write_source_epilog(*); sub write_frameset(*$$$); @@ -173,12 +259,31 @@ our $help; # Help option flag our $version; # Version option flag our $show_details; # If set, generate detailed directory view our $no_prefix; # If set, do not remove filename prefix +our $func_coverage = 1; # If set, generate function coverage statistics +our $no_func_coverage; # Disable func_coverage +our $br_coverage = 1; # If set, generate branch coverage statistics +our $no_br_coverage; # Disable br_coverage +our $sort = 1; # If set, provide directory listings with sorted entries +our $no_sort; # Disable sort our $frames; # If set, use frames for source code view our $keep_descriptions; # If set, do not remove unused test case descriptions our $no_sourceview; # If set, do not create a source code view for each file our $highlight; # If set, highlight lines covered by converted data only +our $legend; # If set, include legend in output our $tab_size = 8; # Number of spaces to use in place of tab our $config; # Configuration file contents +our $html_prolog_file; # Custom HTML prolog file (up to and including ) +our $html_epilog_file; # Custom HTML epilog file (from onwards) +our $html_prolog; # Actual HTML prolog +our $html_epilog; # Actual HTML epilog +our $html_ext = "html"; # Extension for generated HTML files +our $html_gzip = 0; # Compress with gzip +our $demangle_cpp = 0; # Demangle C++ function names +our @fileview_sortlist; +our @fileview_sortname = ("", "-sort-l", "-sort-f", "-sort-b"); +our @funcview_sortlist; +our @rate_name = ("Lo", "Med", "Hi"); +our @rate_png = ("ruby.png", "amber.png", "emerald.png"); our $cwd = `pwd`; # Current working directory chomp($cwd); @@ -189,6 +294,12 @@ our $tool_dir = dirname($0); # Directory where genhtml tool is installed # Code entry point # +$SIG{__WARN__} = \&warn_handler; +$SIG{__DIE__} = \&die_handler; + +# Prettify version string +$lcov_version =~ s/\$\s*Revision\s*:?\s*(\S+)\s*\$/$1/; + # Add current working directory if $tool_dir is not already an absolute path if (! ($tool_dir =~ /^\/(.*)$/)) { @@ -196,7 +307,7 @@ if (! ($tool_dir =~ /^\/(.*)$/)) } # Read configuration file if available -if (-r $ENV{"HOME"}."/.lcovrc") +if (defined($ENV{"HOME"}) && (-r $ENV{"HOME"}."/.lcovrc")) { $config = read_config($ENV{"HOME"}."/.lcovrc"); } @@ -212,6 +323,7 @@ if ($config) "genhtml_css_file" => \$css_filename, "genhtml_hi_limit" => \$hi_limit, "genhtml_med_limit" => \$med_limit, + "genhtml_line_field_width" => \$line_field_width, "genhtml_overview_width" => \$overview_width, "genhtml_nav_resolution" => \$nav_resolution, "genhtml_nav_offset" => \$nav_offset, @@ -219,30 +331,75 @@ if ($config) "genhtml_no_prefix" => \$no_prefix, "genhtml_no_source" => \$no_sourceview, "genhtml_num_spaces" => \$tab_size, - "genhtml_highlight" => \$highlight}); + "genhtml_highlight" => \$highlight, + "genhtml_legend" => \$legend, + "genhtml_html_prolog" => \$html_prolog_file, + "genhtml_html_epilog" => \$html_epilog_file, + "genhtml_html_extension" => \$html_ext, + "genhtml_html_gzip" => \$html_gzip, + "genhtml_function_hi_limit" => \$fn_hi_limit, + "genhtml_function_med_limit" => \$fn_med_limit, + "genhtml_function_coverage" => \$func_coverage, + "genhtml_branch_hi_limit" => \$br_hi_limit, + "genhtml_branch_med_limit" => \$br_med_limit, + "genhtml_branch_coverage" => \$br_coverage, + "genhtml_branch_field_width" => \$br_field_width, + "genhtml_sort" => \$sort, + }); } +# Copy limit values if not specified +$fn_hi_limit = $hi_limit if (!defined($fn_hi_limit)); +$fn_med_limit = $med_limit if (!defined($fn_med_limit)); +$br_hi_limit = $hi_limit if (!defined($br_hi_limit)); +$br_med_limit = $med_limit if (!defined($br_med_limit)); + # Parse command line options -if (!GetOptions("output-directory=s" => \$output_directory, - "title=s" => \$test_title, - "description-file=s" => \$desc_filename, - "keep-descriptions" => \$keep_descriptions, - "css-file=s" => \$css_filename, - "baseline-file=s" => \$base_filename, - "prefix=s" => \$dir_prefix, +if (!GetOptions("output-directory|o=s" => \$output_directory, + "title|t=s" => \$test_title, + "description-file|d=s" => \$desc_filename, + "keep-descriptions|k" => \$keep_descriptions, + "css-file|c=s" => \$css_filename, + "baseline-file|b=s" => \$base_filename, + "prefix|p=s" => \$dir_prefix, "num-spaces=i" => \$tab_size, "no-prefix" => \$no_prefix, "no-sourceview" => \$no_sourceview, - "show-details" => \$show_details, - "frames" => \$frames, + "show-details|s" => \$show_details, + "frames|f" => \$frames, "highlight" => \$highlight, - "quiet" => \$quiet, - "help|h" => \$help, - "version" => \$version + "legend" => \$legend, + "quiet|q" => \$quiet, + "help|h|?" => \$help, + "version|v" => \$version, + "html-prolog=s" => \$html_prolog_file, + "html-epilog=s" => \$html_epilog_file, + "html-extension=s" => \$html_ext, + "html-gzip" => \$html_gzip, + "function-coverage" => \$func_coverage, + "no-function-coverage" => \$no_func_coverage, + "branch-coverage" => \$br_coverage, + "no-branch-coverage" => \$no_br_coverage, + "sort" => \$sort, + "no-sort" => \$no_sort, + "demangle-cpp" => \$demangle_cpp, )) { - print_usage(*STDERR); + print(STDERR "Use $tool_name --help to get usage information\n"); exit(1); +} else { + # Merge options + if ($no_func_coverage) { + $func_coverage = 0; + } + if ($no_br_coverage) { + $br_coverage = 0; + } + + # Merge sort options + if ($no_sort) { + $sort = 0; + } } @info_filenames = @ARGV; @@ -257,16 +414,15 @@ if ($help) # Check for version option if ($version) { - print($lcov_version."\n"); + print("$tool_name: $lcov_version\n"); exit(0); } # Check for info filename if (!@info_filenames) { - print(STDERR "No filename specified\n"); - print_usage(*STDERR); - exit(1); + die("No filename specified\n". + "Use $tool_name --help to get usage information\n"); } # Generate a title if none is specified @@ -302,20 +458,51 @@ if ($tab_size < 1) exit(1); } +# Get HTML prolog and epilog +$html_prolog = get_html_prolog($html_prolog_file); +$html_epilog = get_html_epilog($html_epilog_file); + # Issue a warning if --no-sourceview is enabled together with --frames -if ($no_sourceview && $frames) +if ($no_sourceview && defined($frames)) { warn("WARNING: option --frames disabled because --no-sourceview ". "was specified!\n"); $frames = undef; } +# Issue a warning if --no-prefix is enabled together with --prefix +if ($no_prefix && defined($dir_prefix)) +{ + warn("WARNING: option --prefix disabled because --no-prefix was ". + "specified!\n"); + $dir_prefix = undef; +} + +@fileview_sortlist = ($SORT_FILE); +@funcview_sortlist = ($SORT_FILE); + +if ($sort) { + push(@fileview_sortlist, $SORT_LINE); + push(@fileview_sortlist, $SORT_FUNC) if ($func_coverage); + push(@fileview_sortlist, $SORT_BRANCH) if ($br_coverage); + push(@funcview_sortlist, $SORT_LINE); +} + if ($frames) { # Include genpng code needed for overview image generation do("$tool_dir/genpng"); } +# Ensure that the c++filt tool is available when using --demangle-cpp +if ($demangle_cpp) +{ + if (system_no_output(3, "c++filt", "--version")) { + die("ERROR: could not find c++filt tool needed for ". + "--demangle-cpp\n"); + } +} + # Make sure output_directory exists, create it if necessary if ($output_directory) { @@ -323,12 +510,10 @@ if ($output_directory) if (! -e _) { - system("mkdir", "-p", $output_directory) - and die("ERROR: cannot create directory $_!\n"); + create_sub_dir($output_directory); } } - # Do something gen_html(); @@ -345,37 +530,113 @@ exit(0); sub print_usage(*) { local *HANDLE = $_[0]; - my $executable_name = basename($0); print(HANDLE <index.html") - or die("ERROR: cannot open index.html for writing!\n"); - write_html_prolog(*HTML_HANDLE, "", "LCOV - $test_title"); - write_header(*HTML_HANDLE, 0, "", "", $overall_found, $overall_hit); - write_file_table(*HTML_HANDLE, "", \%overview, {}, 0); - write_html_epilog(*HTML_HANDLE, ""); - close(*HTML_HANDLE); + + # Create sorted pages + foreach (@fileview_sortlist) { + write_dir_page($fileview_sortname[$_], ".", "", $test_title, + undef, $overall_found, $overall_hit, + $total_fn_found, $total_fn_hit, $total_br_found, + $total_br_hit, \%overview, {}, {}, {}, 0, $_); + } # Check if there are any test case descriptions to write out if (%test_description) { info("Writing test case description file.\n"); write_description_file( \%test_description, - $overall_found, $overall_hit); + $overall_found, $overall_hit, + $total_fn_found, $total_fn_hit, + $total_br_found, $total_br_hit); } - if ($overall_found == 0) + print_overall_rate(1, $overall_found, $overall_hit, + $func_coverage, $total_fn_found, $total_fn_hit, + $br_coverage, $total_br_found, $total_br_hit); + + chdir($cwd); +} + +# +# html_create(handle, filename) +# + +sub html_create($$) +{ + my $handle = $_[0]; + my $filename = $_[1]; + + if ($html_gzip) { - info("Warning: No lines found!\n"); + open($handle, "|gzip -c >$filename") + or die("ERROR: cannot open $filename for writing ". + "(gzip)!\n"); } else { - info("Overall coverage rate: %d of %d lines (%.1f%%)\n", - $overall_hit, $overall_found, - $overall_hit*100/$overall_found); + open($handle, ">$filename") + or die("ERROR: cannot open $filename for writing!\n"); } +} - chdir($cwd); +sub write_dir_page($$$$$$$$$$$$$$$$$) +{ + my ($name, $rel_dir, $base_dir, $title, $trunc_dir, $overall_found, + $overall_hit, $total_fn_found, $total_fn_hit, $total_br_found, + $total_br_hit, $overview, $testhash, $testfnchash, $testbrhash, + $view_type, $sort_type) = @_; + + # Generate directory overview page including details + html_create(*HTML_HANDLE, "$rel_dir/index$name.$html_ext"); + if (!defined($trunc_dir)) { + $trunc_dir = ""; + } + write_html_prolog(*HTML_HANDLE, $base_dir, "LCOV - $title$trunc_dir"); + write_header(*HTML_HANDLE, $view_type, $trunc_dir, $rel_dir, + $overall_found, $overall_hit, $total_fn_found, + $total_fn_hit, $total_br_found, $total_br_hit, $sort_type); + write_file_table(*HTML_HANDLE, $base_dir, $overview, $testhash, + $testfnchash, $testbrhash, $view_type, $sort_type); + write_html_epilog(*HTML_HANDLE, $base_dir); + close(*HTML_HANDLE); } @@ -556,12 +880,25 @@ sub process_dir($) my %overview; my $lines_found; my $lines_hit; + my $fn_found; + my $fn_hit; + my $br_found; + my $br_hit; my $overall_found=0; my $overall_hit=0; + my $total_fn_found=0; + my $total_fn_hit=0; + my $total_br_found = 0; + my $total_br_hit = 0; my $base_name; my $extension; my $testdata; my %testhash; + my $testfncdata; + my %testfnchash; + my $testbrdata; + my %testbrhash; + my @sort_list; local *HTML_HANDLE; # Remove prefix if applicable @@ -587,70 +924,68 @@ sub process_dir($) # sub-directories foreach $filename (grep(/^\Q$abs_dir\E\/[^\/]*$/,keys(%info_data))) { - ($lines_found, $lines_hit, $testdata) = + my $page_link; + my $func_link; + + ($lines_found, $lines_hit, $fn_found, $fn_hit, $br_found, + $br_hit, $testdata, $testfncdata, $testbrdata) = process_file($trunc_dir, $rel_dir, $filename); $base_name = basename($filename); - if ($no_sourceview) - { - # User asked as not to create source code view, do not - # provide a page link - $overview{$base_name} = - "$lines_found,$lines_hit"; - } - elsif ($frames) - { + if ($no_sourceview) { + $page_link = ""; + } elsif ($frames) { # Link to frameset page - $overview{$base_name} = - "$lines_found,$lines_hit,". - "$base_name.gcov.frameset.html"; - } - else - { + $page_link = "$base_name.gcov.frameset.$html_ext"; + } else { # Link directory to source code view page - $overview{$base_name} = - "$lines_found,$lines_hit,". - "$base_name.gcov.html"; + $page_link = "$base_name.gcov.$html_ext"; } + $overview{$base_name} = [$lines_found, $lines_hit, $fn_found, + $fn_hit, $br_found, $br_hit, + $page_link, + get_rate($lines_found, $lines_hit), + get_rate($fn_found, $fn_hit), + get_rate($br_found, $br_hit)]; $testhash{$base_name} = $testdata; + $testfnchash{$base_name} = $testfncdata; + $testbrhash{$base_name} = $testbrdata; $overall_found += $lines_found; $overall_hit += $lines_hit; + + $total_fn_found += $fn_found; + $total_fn_hit += $fn_hit; + + $total_br_found += $br_found; + $total_br_hit += $br_hit; } - # Generate directory overview page (without details) - open(*HTML_HANDLE, ">$rel_dir/index.html") - or die("ERROR: cannot open $rel_dir/index.html ". - "for writing!\n"); - write_html_prolog(*HTML_HANDLE, $base_dir, - "LCOV - $test_title - $trunc_dir"); - write_header(*HTML_HANDLE, 1, $trunc_dir, $rel_dir, $overall_found, - $overall_hit); - write_file_table(*HTML_HANDLE, $base_dir, \%overview, {}, 1); - write_html_epilog(*HTML_HANDLE, $base_dir); - close(*HTML_HANDLE); - - if ($show_details) - { + # Create sorted pages + foreach (@fileview_sortlist) { + # Generate directory overview page (without details) + write_dir_page($fileview_sortname[$_], $rel_dir, $base_dir, + $test_title, $trunc_dir, $overall_found, + $overall_hit, $total_fn_found, $total_fn_hit, + $total_br_found, $total_br_hit, \%overview, {}, + {}, {}, 1, $_); + if (!$show_details) { + next; + } # Generate directory overview page including details - open(*HTML_HANDLE, ">$rel_dir/index-detail.html") - or die("ERROR: cannot open $rel_dir/". - "index-detail.html for writing!\n"); - write_html_prolog(*HTML_HANDLE, $base_dir, - "LCOV - $test_title - $trunc_dir"); - write_header(*HTML_HANDLE, 1, $trunc_dir, $rel_dir, - $overall_found, - $overall_hit); - write_file_table(*HTML_HANDLE, $base_dir, \%overview, - \%testhash, 1); - write_html_epilog(*HTML_HANDLE, $base_dir); - close(*HTML_HANDLE); + write_dir_page("-detail".$fileview_sortname[$_], $rel_dir, + $base_dir, $test_title, $trunc_dir, + $overall_found, $overall_hit, $total_fn_found, + $total_fn_hit, $total_br_found, $total_br_hit, + \%overview, \%testhash, \%testfnchash, + \%testbrhash, 1, $_); } # Calculate resulting line counts - return ($overall_found, $overall_hit); + return ($overall_found, $overall_hit, $total_fn_found, $total_fn_hit, + $total_br_found, $total_br_hit); } @@ -711,6 +1046,37 @@ sub get_converted_lines($) } +sub write_function_page($$$$$$$$$$$$$$$$$$) +{ + my ($base_dir, $rel_dir, $trunc_dir, $base_name, $title, + $lines_found, $lines_hit, $fn_found, $fn_hit, $br_found, $br_hit, + $sumcount, $funcdata, $sumfnccount, $testfncdata, $sumbrcount, + $testbrdata, $sort_type) = @_; + my $pagetitle; + my $filename; + + # Generate function table for this file + if ($sort_type == 0) { + $filename = "$rel_dir/$base_name.func.$html_ext"; + } else { + $filename = "$rel_dir/$base_name.func-sort-c.$html_ext"; + } + html_create(*HTML_HANDLE, $filename); + $pagetitle = "LCOV - $title - $trunc_dir/$base_name - functions"; + write_html_prolog(*HTML_HANDLE, $base_dir, $pagetitle); + write_header(*HTML_HANDLE, 4, "$trunc_dir/$base_name", + "$rel_dir/$base_name", $lines_found, $lines_hit, + $fn_found, $fn_hit, $br_found, $br_hit, $sort_type); + write_function_table(*HTML_HANDLE, "$base_name.gcov.$html_ext", + $sumcount, $funcdata, + $sumfnccount, $testfncdata, $sumbrcount, + $testbrdata, $base_name, + $base_dir, $sort_type); + write_html_epilog(*HTML_HANDLE, $base_dir, 1); + close(*HTML_HANDLE); +} + + # # process_file(trunc_dir, rel_dir, filename) # @@ -729,42 +1095,69 @@ sub process_file($$$) my $sumcount; my $funcdata; my $checkdata; + my $testfncdata; + my $sumfnccount; + my $testbrdata; + my $sumbrcount; my $lines_found; my $lines_hit; + my $fn_found; + my $fn_hit; + my $br_found; + my $br_hit; my $converted; my @source; my $pagetitle; local *HTML_HANDLE; - ($testdata, $sumcount, $funcdata, $checkdata, $lines_found, - $lines_hit) = get_info_entry($info_data{$filename}); + ($testdata, $sumcount, $funcdata, $checkdata, $testfncdata, + $sumfnccount, $testbrdata, $sumbrcount, $lines_found, $lines_hit, + $fn_found, $fn_hit, $br_found, $br_hit) + = get_info_entry($info_data{$filename}); # Return after this point in case user asked us not to generate # source code view if ($no_sourceview) { - return ($lines_found, $lines_hit, $testdata); + return ($lines_found, $lines_hit, $fn_found, $fn_hit, + $br_found, $br_hit, $testdata, $testfncdata, + $testbrdata); } $converted = get_converted_lines($testdata); # Generate source code view for this file - open(*HTML_HANDLE, ">$rel_dir/$base_name.gcov.html") - or die("ERROR: cannot open $rel_dir/$base_name.gcov.html ". - "for writing!\n"); + html_create(*HTML_HANDLE, "$rel_dir/$base_name.gcov.$html_ext"); $pagetitle = "LCOV - $test_title - $trunc_dir/$base_name"; write_html_prolog(*HTML_HANDLE, $base_dir, $pagetitle); write_header(*HTML_HANDLE, 2, "$trunc_dir/$base_name", - "$rel_dir/$base_name", $lines_found, $lines_hit); + "$rel_dir/$base_name", $lines_found, $lines_hit, + $fn_found, $fn_hit, $br_found, $br_hit, 0); @source = write_source(*HTML_HANDLE, $filename, $sumcount, $checkdata, - $converted); + $converted, $funcdata, $sumbrcount); write_html_epilog(*HTML_HANDLE, $base_dir, 1); close(*HTML_HANDLE); + if ($func_coverage) { + # Create function tables + foreach (@funcview_sortlist) { + write_function_page($base_dir, $rel_dir, $trunc_dir, + $base_name, $test_title, + $lines_found, $lines_hit, + $fn_found, $fn_hit, $br_found, + $br_hit, $sumcount, + $funcdata, $sumfnccount, + $testfncdata, $sumbrcount, + $testbrdata, $_); + } + } + # Additional files are needed in case of frame output if (!$frames) { - return ($lines_found, $lines_hit, $testdata); + return ($lines_found, $lines_hit, $fn_found, $fn_hit, + $br_found, $br_hit, $testdata, $testfncdata, + $testbrdata); } # Create overview png file @@ -772,23 +1165,20 @@ sub process_file($$$) @source); # Create frameset page - open(*HTML_HANDLE, ">$rel_dir/$base_name.gcov.frameset.html") - or die("ERROR: cannot open ". - "$rel_dir/$base_name.gcov.frameset.html". - " for writing!\n"); + html_create(*HTML_HANDLE, + "$rel_dir/$base_name.gcov.frameset.$html_ext"); write_frameset(*HTML_HANDLE, $base_dir, $base_name, $pagetitle); close(*HTML_HANDLE); # Write overview frame - open(*HTML_HANDLE, ">$rel_dir/$base_name.gcov.overview.html") - or die("ERROR: cannot open ". - "$rel_dir/$base_name.gcov.overview.html". - " for writing!\n"); + html_create(*HTML_HANDLE, + "$rel_dir/$base_name.gcov.overview.$html_ext"); write_overview(*HTML_HANDLE, $base_dir, $base_name, $pagetitle, scalar(@source)); close(*HTML_HANDLE); - return ($lines_found, $lines_hit, $testdata); + return ($lines_found, $lines_hit, $fn_found, $fn_hit, $br_found, + $br_hit, $testdata, $testfncdata, $testbrdata); } @@ -806,13 +1196,24 @@ sub process_file($$$) # "found" -> $lines_found (number of instrumented lines found in file) # "hit" -> $lines_hit (number of executed lines in file) # "check" -> \%checkdata +# "testfnc" -> \%testfncdata +# "sumfnc" -> \%sumfnccount +# "testbr" -> \%testbrdata +# "sumbr" -> \%sumbrcount # -# %testdata: name of test affecting this file -> \%testcount +# %testdata : name of test affecting this file -> \%testcount +# %testfncdata: name of test affecting this file -> \%testfnccount +# %testbrdata: name of test affecting this file -> \%testbrcount # -# %testcount: line number -> execution count for a single test -# %sumcount : line number -> execution count for all tests -# %funcdata : line number -> name of function beginning at that line -# %checkdata: line number -> checksum of source code line +# %testcount : line number -> execution count for a single test +# %testfnccount: function name -> execution count for a single test +# %testbrcount : line number -> branch coverage data for a single test +# %sumcount : line number -> execution count for all tests +# %sumfnccount : function name -> execution count for all tests +# %sumbrcount : line number -> branch coverage data for all tests +# %funcdata : function name -> line number +# %checkdata : line number -> checksum of source code line +# $brdata : vector of items: block, branch, taken # # Note that .info file sections referring to the same file and test name # will automatically be combined by adding all execution counts. @@ -834,15 +1235,26 @@ sub read_info_file($) my $sumcount; # " " my $funcdata; # " " my $checkdata; # " " + my $testfncdata; + my $testfnccount; + my $sumfnccount; + my $testbrdata; + my $testbrcount; + my $sumbrcount; my $line; # Current line read from .info file my $testname; # Current test name my $filename; # Current filename my $hitcount; # Count for lines hit my $count; # Execution count of current line my $negative; # If set, warn about negative counts - my $checksum; # Checksum of current line + my $changed_testname; # If set, warn about changed testname + my $line_checksum; # Checksum of current line + my $br_found; + my $br_hit; local *INFO_HANDLE; # Filehandle for .info file + info("Reading data file $tracefile\n"); + # Check if file exists and is readable stat($_[0]); if (!(-r _)) @@ -860,7 +1272,7 @@ sub read_info_file($) if ($_[0] =~ /\.gz$/) { # Check for availability of GZIP tool - system_no_output(1, "gunzip", "-h") + system_no_output(1, "gunzip" ,"-h") and die("ERROR: gunzip command not available!\n"); # Check integrity of compressed file @@ -870,12 +1282,12 @@ sub read_info_file($) # Open compressed file open(INFO_HANDLE, "gunzip -c $_[0]|") - or die("ERROR: cannot start gunzip to uncompress ". + or die("ERROR: cannot start gunzip to decompress ". "file $_[0]!\n"); } else { - # Open uncompressed file + # Open decompressed file open(INFO_HANDLE, $_[0]) or die("ERROR: cannot read file $_[0]!\n"); } @@ -889,10 +1301,15 @@ sub read_info_file($) # Switch statement foreach ($line) { - /^TN:(\w*(,\w+)?)/ && do + /^TN:([^,]*)(,diff)?/ && do { # Test name information found $testname = defined($1) ? $1 : ""; + if ($testname =~ s/\W/_/g) + { + $changed_testname = 1; + } + $testname .= $2 if (defined($2)); last; }; @@ -903,17 +1320,22 @@ sub read_info_file($) $filename = $1; $data = $result{$filename}; - ($testdata, $sumcount, $funcdata, $checkdata) = + ($testdata, $sumcount, $funcdata, $checkdata, + $testfncdata, $sumfnccount, $testbrdata, + $sumbrcount) = get_info_entry($data); if (defined($testname)) { $testcount = $testdata->{$testname}; + $testfnccount = $testfncdata->{$testname}; + $testbrcount = $testbrdata->{$testname}; } else { - my %new_hash; - $testcount = \%new_hash; + $testcount = {}; + $testfnccount = {}; + $testbrcount = {}; } last; }; @@ -939,17 +1361,18 @@ sub read_info_file($) # Store line checksum if available if (defined($3)) { - $checksum = substr($3, 1); + $line_checksum = substr($3, 1); # Does it match a previous definition if (defined($checkdata->{$1}) && - ($checkdata->{$1} ne $checksum)) + ($checkdata->{$1} ne + $line_checksum)) { die("ERROR: checksum mismatch ". "at $filename:$1\n"); } - $checkdata->{$1} = $checksum; + $checkdata->{$1} = $line_checksum; } last; }; @@ -957,7 +1380,52 @@ sub read_info_file($) /^FN:(\d+),([^,]+)/ && do { # Function data found, add to structure - $funcdata->{$1} = $2; + $funcdata->{$2} = $1; + + # Also initialize function call data + if (!defined($sumfnccount->{$2})) { + $sumfnccount->{$2} = 0; + } + if (defined($testname)) + { + if (!defined($testfnccount->{$2})) { + $testfnccount->{$2} = 0; + } + } + last; + }; + + /^FNDA:(\d+),([^,]+)/ && do + { + # Function call count found, add to structure + # Add summary counts + $sumfnccount->{$2} += $1; + + # Add test-specific counts + if (defined($testname)) + { + $testfnccount->{$2} += $1; + } + last; + }; + + /^BRDA:(\d+),(\d+),(\d+),(\d+|-)/ && do { + # Branch coverage data found + my ($line, $block, $branch, $taken) = + ($1, $2, $3, $4); + + $sumbrcount->{$line} = + br_ivec_push($sumbrcount->{$line}, + $block, $branch, $taken); + + # Add test-specific counts + if (defined($testname)) { + $testbrcount->{$line} = + br_ivec_push( + $testbrcount->{$line}, + $block, $branch, + $taken); + } last; }; @@ -971,13 +1439,21 @@ sub read_info_file($) { $testdata->{$testname} = $testcount; - } + $testfncdata->{$testname} = + $testfnccount; + $testbrdata->{$testname} = + $testbrcount; + } + set_info_entry($data, $testdata, $sumcount, $funcdata, - $checkdata); + $checkdata, $testfncdata, + $sumfnccount, + $testbrdata, + $sumbrcount); $result{$filename} = $data; + last; } - }; # default @@ -991,7 +1467,26 @@ sub read_info_file($) { $data = $result{$filename}; - ($testdata, $sumcount, $funcdata) = get_info_entry($data); + ($testdata, $sumcount, undef, undef, $testfncdata, + $sumfnccount, $testbrdata, $sumbrcount) = + get_info_entry($data); + + # Filter out empty files + if (scalar(keys(%{$sumcount})) == 0) + { + delete($result{$filename}); + next; + } + # Filter out empty test cases + foreach $testname (keys(%{$testdata})) + { + if (!defined($testdata->{$testname}) || + scalar(keys(%{$testdata->{$testname}})) == 0) + { + delete($testdata->{$testname}); + delete($testfncdata->{$testname}); + } + } $data->{"found"} = scalar(keys(%{$sumcount})); $hitcount = 0; @@ -1003,7 +1498,22 @@ sub read_info_file($) $data->{"hit"} = $hitcount; - $result{$filename} = $data; + # Get found/hit values for function call data + $data->{"f_found"} = scalar(keys(%{$sumfnccount})); + $hitcount = 0; + + foreach (keys(%{$sumfnccount})) { + if ($sumfnccount->{$_} > 0) { + $hitcount++; + } + } + $data->{"f_hit"} = $hitcount; + + # Get found/hit values for branch data + ($br_found, $br_hit) = get_br_found_and_hit($sumbrcount); + + $data->{"b_found"} = $br_found; + $data->{"b_hit"} = $br_hit; } if (scalar(keys(%result)) == 0) @@ -1015,6 +1525,11 @@ sub read_info_file($) warn("WARNING: negative counts found in tracefile ". "$tracefile\n"); } + if ($changed_testname) + { + warn("WARNING: invalid characters removed from testname in ". + "tracefile $tracefile\n"); + } return(\%result); } @@ -1026,7 +1541,8 @@ sub read_info_file($) # Retrieve data from an entry of the structure generated by read_info_file(). # Return a list of references to hashes: # (test data hash ref, sum count hash ref, funcdata hash ref, checkdata hash -# ref, lines found, lines hit) +# ref, testfncdata hash ref, sumfnccount hash ref, lines found, lines hit, +# functions found, functions hit) # sub get_info_entry($) @@ -1035,22 +1551,34 @@ sub get_info_entry($) my $sumcount_ref = $_[0]->{"sum"}; my $funcdata_ref = $_[0]->{"func"}; my $checkdata_ref = $_[0]->{"check"}; + my $testfncdata = $_[0]->{"testfnc"}; + my $sumfnccount = $_[0]->{"sumfnc"}; + my $testbrdata = $_[0]->{"testbr"}; + my $sumbrcount = $_[0]->{"sumbr"}; my $lines_found = $_[0]->{"found"}; my $lines_hit = $_[0]->{"hit"}; + my $fn_found = $_[0]->{"f_found"}; + my $fn_hit = $_[0]->{"f_hit"}; + my $br_found = $_[0]->{"b_found"}; + my $br_hit = $_[0]->{"b_hit"}; return ($testdata_ref, $sumcount_ref, $funcdata_ref, $checkdata_ref, - $lines_found, $lines_hit); + $testfncdata, $sumfnccount, $testbrdata, $sumbrcount, + $lines_found, $lines_hit, $fn_found, $fn_hit, + $br_found, $br_hit); } # # set_info_entry(hash_ref, testdata_ref, sumcount_ref, funcdata_ref, -# checkdata_ref[,lines_found, lines_hit]) +# checkdata_ref, testfncdata_ref, sumfcncount_ref, +# testbrdata_ref, sumbrcount_ref[,lines_found, +# lines_hit, f_found, f_hit, $b_found, $b_hit]) # # Update the hash referenced by HASH_REF with the provided data references. # -sub set_info_entry($$$$$;$$) +sub set_info_entry($$$$$$$$$;$$$$$$) { my $data_ref = $_[0]; @@ -1058,9 +1586,526 @@ sub set_info_entry($$$$$;$$) $data_ref->{"sum"} = $_[2]; $data_ref->{"func"} = $_[3]; $data_ref->{"check"} = $_[4]; + $data_ref->{"testfnc"} = $_[5]; + $data_ref->{"sumfnc"} = $_[6]; + $data_ref->{"testbr"} = $_[7]; + $data_ref->{"sumbr"} = $_[8]; - if (defined($_[5])) { $data_ref->{"found"} = $_[5]; } - if (defined($_[6])) { $data_ref->{"hit"} = $_[6]; } + if (defined($_[9])) { $data_ref->{"found"} = $_[9]; } + if (defined($_[10])) { $data_ref->{"hit"} = $_[10]; } + if (defined($_[11])) { $data_ref->{"f_found"} = $_[11]; } + if (defined($_[12])) { $data_ref->{"f_hit"} = $_[12]; } + if (defined($_[13])) { $data_ref->{"b_found"} = $_[13]; } + if (defined($_[14])) { $data_ref->{"b_hit"} = $_[14]; } +} + + +# +# add_counts(data1_ref, data2_ref) +# +# DATA1_REF and DATA2_REF are references to hashes containing a mapping +# +# line number -> execution count +# +# Return a list (RESULT_REF, LINES_FOUND, LINES_HIT) where RESULT_REF +# is a reference to a hash containing the combined mapping in which +# execution counts are added. +# + +sub add_counts($$) +{ + my %data1 = %{$_[0]}; # Hash 1 + my %data2 = %{$_[1]}; # Hash 2 + my %result; # Resulting hash + my $line; # Current line iteration scalar + my $data1_count; # Count of line in hash1 + my $data2_count; # Count of line in hash2 + my $found = 0; # Total number of lines found + my $hit = 0; # Number of lines with a count > 0 + + foreach $line (keys(%data1)) + { + $data1_count = $data1{$line}; + $data2_count = $data2{$line}; + + # Add counts if present in both hashes + if (defined($data2_count)) { $data1_count += $data2_count; } + + # Store sum in %result + $result{$line} = $data1_count; + + $found++; + if ($data1_count > 0) { $hit++; } + } + + # Add lines unique to data2 + foreach $line (keys(%data2)) + { + # Skip lines already in data1 + if (defined($data1{$line})) { next; } + + # Copy count from data2 + $result{$line} = $data2{$line}; + + $found++; + if ($result{$line} > 0) { $hit++; } + } + + return (\%result, $found, $hit); +} + + +# +# merge_checksums(ref1, ref2, filename) +# +# REF1 and REF2 are references to hashes containing a mapping +# +# line number -> checksum +# +# Merge checksum lists defined in REF1 and REF2 and return reference to +# resulting hash. Die if a checksum for a line is defined in both hashes +# but does not match. +# + +sub merge_checksums($$$) +{ + my $ref1 = $_[0]; + my $ref2 = $_[1]; + my $filename = $_[2]; + my %result; + my $line; + + foreach $line (keys(%{$ref1})) + { + if (defined($ref2->{$line}) && + ($ref1->{$line} ne $ref2->{$line})) + { + die("ERROR: checksum mismatch at $filename:$line\n"); + } + $result{$line} = $ref1->{$line}; + } + + foreach $line (keys(%{$ref2})) + { + $result{$line} = $ref2->{$line}; + } + + return \%result; +} + + +# +# merge_func_data(funcdata1, funcdata2, filename) +# + +sub merge_func_data($$$) +{ + my ($funcdata1, $funcdata2, $filename) = @_; + my %result; + my $func; + + if (defined($funcdata1)) { + %result = %{$funcdata1}; + } + + foreach $func (keys(%{$funcdata2})) { + my $line1 = $result{$func}; + my $line2 = $funcdata2->{$func}; + + if (defined($line1) && ($line1 != $line2)) { + warn("WARNING: function data mismatch at ". + "$filename:$line2\n"); + next; + } + $result{$func} = $line2; + } + + return \%result; +} + + +# +# add_fnccount(fnccount1, fnccount2) +# +# Add function call count data. Return list (fnccount_added, f_found, f_hit) +# + +sub add_fnccount($$) +{ + my ($fnccount1, $fnccount2) = @_; + my %result; + my $fn_found; + my $fn_hit; + my $function; + + if (defined($fnccount1)) { + %result = %{$fnccount1}; + } + foreach $function (keys(%{$fnccount2})) { + $result{$function} += $fnccount2->{$function}; + } + $fn_found = scalar(keys(%result)); + $fn_hit = 0; + foreach $function (keys(%result)) { + if ($result{$function} > 0) { + $fn_hit++; + } + } + + return (\%result, $fn_found, $fn_hit); +} + +# +# add_testfncdata(testfncdata1, testfncdata2) +# +# Add function call count data for several tests. Return reference to +# added_testfncdata. +# + +sub add_testfncdata($$) +{ + my ($testfncdata1, $testfncdata2) = @_; + my %result; + my $testname; + + foreach $testname (keys(%{$testfncdata1})) { + if (defined($testfncdata2->{$testname})) { + my $fnccount; + + # Function call count data for this testname exists + # in both data sets: add + ($fnccount) = add_fnccount( + $testfncdata1->{$testname}, + $testfncdata2->{$testname}); + $result{$testname} = $fnccount; + next; + } + # Function call count data for this testname is unique to + # data set 1: copy + $result{$testname} = $testfncdata1->{$testname}; + } + + # Add count data for testnames unique to data set 2 + foreach $testname (keys(%{$testfncdata2})) { + if (!defined($result{$testname})) { + $result{$testname} = $testfncdata2->{$testname}; + } + } + return \%result; +} + + +# +# brcount_to_db(brcount) +# +# Convert brcount data to the following format: +# +# db: line number -> block hash +# block hash: block number -> branch hash +# branch hash: branch number -> taken value +# + +sub brcount_to_db($) +{ + my ($brcount) = @_; + my $line; + my $db; + + # Add branches from first count to database + foreach $line (keys(%{$brcount})) { + my $brdata = $brcount->{$line}; + my $i; + my $num = br_ivec_len($brdata); + + for ($i = 0; $i < $num; $i++) { + my ($block, $branch, $taken) = br_ivec_get($brdata, $i); + + $db->{$line}->{$block}->{$branch} = $taken; + } + } + + return $db; +} + + +# +# db_to_brcount(db) +# +# Convert branch coverage data back to brcount format. +# + +sub db_to_brcount($) +{ + my ($db) = @_; + my $line; + my $brcount = {}; + my $br_found = 0; + my $br_hit = 0; + + # Convert database back to brcount format + foreach $line (sort({$a <=> $b} keys(%{$db}))) { + my $ldata = $db->{$line}; + my $brdata; + my $block; + + foreach $block (sort({$a <=> $b} keys(%{$ldata}))) { + my $bdata = $ldata->{$block}; + my $branch; + + foreach $branch (sort({$a <=> $b} keys(%{$bdata}))) { + my $taken = $bdata->{$branch}; + + $br_found++; + $br_hit++ if ($taken ne "-" && $taken > 0); + $brdata = br_ivec_push($brdata, $block, + $branch, $taken); + } + } + $brcount->{$line} = $brdata; + } + + return ($brcount, $br_found, $br_hit); +} + + +# +# combine_brcount(brcount1, brcount2, type) +# +# If add is BR_ADD, add branch coverage data and return list (brcount_added, +# br_found, br_hit). If add is BR_SUB, subtract the taken values of brcount2 +# from brcount1 and return (brcount_sub, br_found, br_hit). +# + +sub combine_brcount($$$) +{ + my ($brcount1, $brcount2, $type) = @_; + my $line; + my $block; + my $branch; + my $taken; + my $db; + my $br_found = 0; + my $br_hit = 0; + my $result; + + # Convert branches from first count to database + $db = brcount_to_db($brcount1); + # Combine values from database and second count + foreach $line (keys(%{$brcount2})) { + my $brdata = $brcount2->{$line}; + my $num = br_ivec_len($brdata); + my $i; + + for ($i = 0; $i < $num; $i++) { + ($block, $branch, $taken) = br_ivec_get($brdata, $i); + my $new_taken = $db->{$line}->{$block}->{$branch}; + + if ($type == $BR_ADD) { + $new_taken = br_taken_add($new_taken, $taken); + } elsif ($type == $BR_SUB) { + $new_taken = br_taken_sub($new_taken, $taken); + } + $db->{$line}->{$block}->{$branch} = $new_taken + if (defined($new_taken)); + } + } + # Convert database back to brcount format + ($result, $br_found, $br_hit) = db_to_brcount($db); + + return ($result, $br_found, $br_hit); +} + + +# +# add_testbrdata(testbrdata1, testbrdata2) +# +# Add branch coverage data for several tests. Return reference to +# added_testbrdata. +# + +sub add_testbrdata($$) +{ + my ($testbrdata1, $testbrdata2) = @_; + my %result; + my $testname; + + foreach $testname (keys(%{$testbrdata1})) { + if (defined($testbrdata2->{$testname})) { + my $brcount; + + # Branch coverage data for this testname exists + # in both data sets: add + ($brcount) = combine_brcount($testbrdata1->{$testname}, + $testbrdata2->{$testname}, $BR_ADD); + $result{$testname} = $brcount; + next; + } + # Branch coverage data for this testname is unique to + # data set 1: copy + $result{$testname} = $testbrdata1->{$testname}; + } + + # Add count data for testnames unique to data set 2 + foreach $testname (keys(%{$testbrdata2})) { + if (!defined($result{$testname})) { + $result{$testname} = $testbrdata2->{$testname}; + } + } + return \%result; +} + + +# +# combine_info_entries(entry_ref1, entry_ref2, filename) +# +# Combine .info data entry hashes referenced by ENTRY_REF1 and ENTRY_REF2. +# Return reference to resulting hash. +# + +sub combine_info_entries($$$) +{ + my $entry1 = $_[0]; # Reference to hash containing first entry + my $testdata1; + my $sumcount1; + my $funcdata1; + my $checkdata1; + my $testfncdata1; + my $sumfnccount1; + my $testbrdata1; + my $sumbrcount1; + + my $entry2 = $_[1]; # Reference to hash containing second entry + my $testdata2; + my $sumcount2; + my $funcdata2; + my $checkdata2; + my $testfncdata2; + my $sumfnccount2; + my $testbrdata2; + my $sumbrcount2; + + my %result; # Hash containing combined entry + my %result_testdata; + my $result_sumcount = {}; + my $result_funcdata; + my $result_testfncdata; + my $result_sumfnccount; + my $result_testbrdata; + my $result_sumbrcount; + my $lines_found; + my $lines_hit; + my $fn_found; + my $fn_hit; + my $br_found; + my $br_hit; + + my $testname; + my $filename = $_[2]; + + # Retrieve data + ($testdata1, $sumcount1, $funcdata1, $checkdata1, $testfncdata1, + $sumfnccount1, $testbrdata1, $sumbrcount1) = get_info_entry($entry1); + ($testdata2, $sumcount2, $funcdata2, $checkdata2, $testfncdata2, + $sumfnccount2, $testbrdata2, $sumbrcount2) = get_info_entry($entry2); + + # Merge checksums + $checkdata1 = merge_checksums($checkdata1, $checkdata2, $filename); + + # Combine funcdata + $result_funcdata = merge_func_data($funcdata1, $funcdata2, $filename); + + # Combine function call count data + $result_testfncdata = add_testfncdata($testfncdata1, $testfncdata2); + ($result_sumfnccount, $fn_found, $fn_hit) = + add_fnccount($sumfnccount1, $sumfnccount2); + + # Combine branch coverage data + $result_testbrdata = add_testbrdata($testbrdata1, $testbrdata2); + ($result_sumbrcount, $br_found, $br_hit) = + combine_brcount($sumbrcount1, $sumbrcount2, $BR_ADD); + + # Combine testdata + foreach $testname (keys(%{$testdata1})) + { + if (defined($testdata2->{$testname})) + { + # testname is present in both entries, requires + # combination + ($result_testdata{$testname}) = + add_counts($testdata1->{$testname}, + $testdata2->{$testname}); + } + else + { + # testname only present in entry1, add to result + $result_testdata{$testname} = $testdata1->{$testname}; + } + + # update sum count hash + ($result_sumcount, $lines_found, $lines_hit) = + add_counts($result_sumcount, + $result_testdata{$testname}); + } + + foreach $testname (keys(%{$testdata2})) + { + # Skip testnames already covered by previous iteration + if (defined($testdata1->{$testname})) { next; } + + # testname only present in entry2, add to result hash + $result_testdata{$testname} = $testdata2->{$testname}; + + # update sum count hash + ($result_sumcount, $lines_found, $lines_hit) = + add_counts($result_sumcount, + $result_testdata{$testname}); + } + + # Calculate resulting sumcount + + # Store result + set_info_entry(\%result, \%result_testdata, $result_sumcount, + $result_funcdata, $checkdata1, $result_testfncdata, + $result_sumfnccount, $result_testbrdata, + $result_sumbrcount, $lines_found, $lines_hit, + $fn_found, $fn_hit, $br_found, $br_hit); + + return(\%result); +} + + +# +# combine_info_files(info_ref1, info_ref2) +# +# Combine .info data in hashes referenced by INFO_REF1 and INFO_REF2. Return +# reference to resulting hash. +# + +sub combine_info_files($$) +{ + my %hash1 = %{$_[0]}; + my %hash2 = %{$_[1]}; + my $filename; + + foreach $filename (keys(%hash2)) + { + if ($hash1{$filename}) + { + # Entry already exists in hash1, combine them + $hash1{$filename} = + combine_info_entries($hash1{$filename}, + $hash2{$filename}, + $filename); + } + else + { + # Entry is unique in both hashes, simply add to + # resulting hash + $hash1{$filename} = $hash2{$filename}; + } + } + + return(\%hash1); } @@ -1212,6 +2257,7 @@ sub read_testfile($) { my %result; my $test_name; + my $changed_testname; local *TEST_HANDLE; open(TEST_HANDLE, "<".$_[0]) @@ -1226,6 +2272,10 @@ sub read_testfile($) { # Store name for later use $test_name = $1; + if ($test_name =~ s/\W/_/g) + { + $changed_testname = 1; + } } # Match lines beginning with TD: @@ -1247,6 +2297,12 @@ sub read_testfile($) close(TEST_HANDLE); + if ($changed_testname) + { + warn("WARNING: invalid characters removed from testname in ". + "descriptions file $_[0]\n"); + } + return \%result; } @@ -1310,13 +2366,17 @@ sub get_date_string() sub create_sub_dir($) { - system("mkdir", "-p" ,$_[0]) - and die("ERROR: cannot create directory $_!\n"); + my ($dir) = @_; + + system("mkdir", "-p" ,$dir) + and die("ERROR: cannot create directory $dir!\n"); } # -# write_description_file(descriptions, overall_found, overall_hit) +# write_description_file(descriptions, overall_found, overall_hit, +# total_fn_found, total_fn_hit, total_br_found, +# total_br_hit) # # Write HTML file containing all test case descriptions. DESCRIPTIONS is a # reference to a hash containing a mapping @@ -1326,19 +2386,22 @@ sub create_sub_dir($) # Die on error. # -sub write_description_file($$$) +sub write_description_file($$$$$$$) { my %description = %{$_[0]}; my $found = $_[1]; my $hit = $_[2]; + my $fn_found = $_[3]; + my $fn_hit = $_[4]; + my $br_found = $_[5]; + my $br_hit = $_[6]; my $test_name; local *HTML_HANDLE; - open(HTML_HANDLE, ">descriptions.html") - or die("ERROR: cannot open descriptions.html for writing!\n"); - + html_create(*HTML_HANDLE,"descriptions.$html_ext"); write_html_prolog(*HTML_HANDLE, "", "LCOV - test case descriptions"); - write_header(*HTML_HANDLE, 3, "", "", $found, $hit); + write_header(*HTML_HANDLE, 3, "", "", $found, $hit, $fn_found, + $fn_hit, $br_found, $br_hit, 0); write_test_table_prolog(*HTML_HANDLE, "Test case descriptions - alphabetical list"); @@ -1352,7 +2415,7 @@ sub write_description_file($$$) write_test_table_epilog(*HTML_HANDLE); write_html_epilog(*HTML_HANDLE, ""); - close(HTML_HANDLE); + close(*HTML_HANDLE); } @@ -1401,8 +2464,8 @@ sub write_png_files() 0x00, 0x00, 0x00, 0xa2, 0x7a, 0xda, 0x7e, 0x00, 0x00, 0x00, 0x0a, 0x49, 0x44, 0x41, 0x54, 0x78, 0xda, 0x63, 0x60, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0xe5, 0x27, 0xde, 0xfc, 0x00, - 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, - 0x82]; + 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, + 0x82]; $data{"emerald.png"} = [0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x01, @@ -1453,7 +2516,19 @@ sub write_png_files() 0x54, 0x78, 0x9c, 0x63, 0x60, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x48, 0xaf, 0xa4, 0x71, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82]; - + $data{"updown.png"} = + [0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, + 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x0a, + 0x00, 0x00, 0x00, 0x0e, 0x08, 0x06, 0x00, 0x00, 0x00, 0x16, + 0xa3, 0x8d, 0xab, 0x00, 0x00, 0x00, 0x3c, 0x49, 0x44, 0x41, + 0x54, 0x28, 0xcf, 0x63, 0x60, 0x40, 0x03, 0xff, 0xa1, 0x00, + 0x5d, 0x9c, 0x11, 0x5d, 0x11, 0x8a, 0x24, 0x23, 0x23, 0x23, + 0x86, 0x42, 0x6c, 0xa6, 0x20, 0x2b, 0x66, 0xc4, 0xa7, 0x08, + 0x59, 0x31, 0x23, 0x21, 0x45, 0x30, 0xc0, 0xc4, 0x30, 0x60, + 0x80, 0xfa, 0x6e, 0x24, 0x3e, 0x78, 0x48, 0x0a, 0x70, 0x62, + 0xa2, 0x90, 0x81, 0xd8, 0x44, 0x01, 0x00, 0xe9, 0x5c, 0x2f, + 0xf5, 0xe2, 0x9d, 0x0f, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x49, + 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82] if ($sort); foreach (keys(%data)) { open(PNG_HANDLE, ">".$_) @@ -1465,6 +2540,28 @@ sub write_png_files() } +# +# write_htaccess_file() +# + +sub write_htaccess_file() +{ + local *HTACCESS_HANDLE; + my $htaccess_data; + + open(*HTACCESS_HANDLE, ">.htaccess") + or die("ERROR: cannot open .htaccess for writing!\n"); + + $htaccess_data = (<<"END_OF_HTACCESS") +AddEncoding x-gzip .html +END_OF_HTACCESS + ; + + print(HTACCESS_HANDLE $htaccess_data); + close(*HTACCESS_HANDLE); +} + + # # write_css_file() # @@ -1495,318 +2592,522 @@ sub write_css_file() /* All views: initial background and text color */ body { - color: #000000; + color: #000000; background-color: #FFFFFF; } - - + /* All views: standard link format*/ a:link { - color: #284FA8; + color: #284FA8; text-decoration: underline; } - - + /* All views: standard link - visited format */ a:visited { - color: #00CB40; + color: #00CB40; text-decoration: underline; } - - + /* All views: standard link - activated format */ a:active { - color: #FF0040; + color: #FF0040; text-decoration: underline; } - - + /* All views: main title format */ td.title { - text-align: center; + text-align: center; padding-bottom: 10px; - font-family: sans-serif; - font-size: 20pt; - font-style: italic; - font-weight: bold; + font-family: sans-serif; + font-size: 20pt; + font-style: italic; + font-weight: bold; } - - + /* All views: header item format */ td.headerItem { - text-align: right; + text-align: right; padding-right: 6px; - font-family: sans-serif; - font-weight: bold; + font-family: sans-serif; + font-weight: bold; + vertical-align: top; + white-space: nowrap; } - - + /* All views: header item value format */ td.headerValue { - text-align: left; - color: #284FA8; + text-align: left; + color: #284FA8; font-family: sans-serif; font-weight: bold; + white-space: nowrap; } - + /* All views: header item coverage table heading */ + td.headerCovTableHead + { + text-align: center; + padding-right: 6px; + padding-left: 6px; + padding-bottom: 0px; + font-family: sans-serif; + font-size: 80%; + white-space: nowrap; + } + + /* All views: header item coverage table entry */ + td.headerCovTableEntry + { + text-align: right; + color: #284FA8; + font-family: sans-serif; + font-weight: bold; + white-space: nowrap; + padding-left: 12px; + padding-right: 4px; + background-color: #DAE7FE; + } + + /* All views: header item coverage table entry for high coverage rate */ + td.headerCovTableEntryHi + { + text-align: right; + color: #000000; + font-family: sans-serif; + font-weight: bold; + white-space: nowrap; + padding-left: 12px; + padding-right: 4px; + background-color: #A7FC9D; + } + + /* All views: header item coverage table entry for medium coverage rate */ + td.headerCovTableEntryMed + { + text-align: right; + color: #000000; + font-family: sans-serif; + font-weight: bold; + white-space: nowrap; + padding-left: 12px; + padding-right: 4px; + background-color: #FFEA20; + } + + /* All views: header item coverage table entry for ow coverage rate */ + td.headerCovTableEntryLo + { + text-align: right; + color: #000000; + font-family: sans-serif; + font-weight: bold; + white-space: nowrap; + padding-left: 12px; + padding-right: 4px; + background-color: #FF0000; + } + + /* All views: header legend value for legend entry */ + td.headerValueLeg + { + text-align: left; + color: #000000; + font-family: sans-serif; + font-size: 80%; + white-space: nowrap; + padding-top: 4px; + } + /* All views: color of horizontal ruler */ td.ruler { background-color: #6688D4; } - - + /* All views: version string format */ td.versionInfo { - text-align: center; - padding-top: 2px; - font-family: sans-serif; - font-style: italic; + text-align: center; + padding-top: 2px; + font-family: sans-serif; + font-style: italic; } - - + /* Directory view/File view (all)/Test case descriptions: table headline format */ td.tableHead { - text-align: center; - color: #FFFFFF; + text-align: center; + color: #FFFFFF; background-color: #6688D4; - font-family: sans-serif; - font-size: 120%; - font-weight: bold; + font-family: sans-serif; + font-size: 120%; + font-weight: bold; + white-space: nowrap; + padding-left: 4px; + padding-right: 4px; } - + span.tableHeadSort + { + padding-right: 4px; + } + /* Directory view/File view (all): filename entry format */ td.coverFile { - text-align: left; - padding-left: 10px; - padding-right: 20px; - color: #284FA8; + text-align: left; + padding-left: 10px; + padding-right: 20px; + color: #284FA8; background-color: #DAE7FE; - font-family: monospace; + font-family: monospace; } - - + /* Directory view/File view (all): bar-graph entry format*/ td.coverBar { - padding-left: 10px; - padding-right: 10px; + padding-left: 10px; + padding-right: 10px; background-color: #DAE7FE; } - - + /* Directory view/File view (all): bar-graph outline color */ td.coverBarOutline { background-color: #000000; } - - + /* Directory view/File view (all): percentage entry for files with high coverage rate */ td.coverPerHi { - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #DAE7FE; - font-weight: bold; + text-align: right; + padding-left: 10px; + padding-right: 10px; + background-color: #A7FC9D; + font-weight: bold; + font-family: sans-serif; } - - + /* Directory view/File view (all): line count entry for files with high coverage rate */ td.coverNumHi { - text-align: right; - padding-left: 10px; - padding-right: 10px; - background-color: #DAE7FE; + text-align: right; + padding-left: 10px; + padding-right: 10px; + background-color: #A7FC9D; + white-space: nowrap; + font-family: sans-serif; } - - + /* Directory view/File view (all): percentage entry for files with medium coverage rate */ td.coverPerMed { - text-align: right; - padding-left: 10px; - padding-right: 10px; + text-align: right; + padding-left: 10px; + padding-right: 10px; background-color: #FFEA20; - font-weight: bold; + font-weight: bold; + font-family: sans-serif; } - - + /* Directory view/File view (all): line count entry for files with medium coverage rate */ td.coverNumMed { - text-align: right; - padding-left: 10px; - padding-right: 10px; + text-align: right; + padding-left: 10px; + padding-right: 10px; background-color: #FFEA20; + white-space: nowrap; + font-family: sans-serif; } - - + /* Directory view/File view (all): percentage entry for files with low coverage rate */ td.coverPerLo { - text-align: right; - padding-left: 10px; - padding-right: 10px; + text-align: right; + padding-left: 10px; + padding-right: 10px; background-color: #FF0000; - font-weight: bold; + font-weight: bold; + font-family: sans-serif; } - - + /* Directory view/File view (all): line count entry for files with low coverage rate */ td.coverNumLo { - text-align: right; - padding-left: 10px; - padding-right: 10px; + text-align: right; + padding-left: 10px; + padding-right: 10px; background-color: #FF0000; + white-space: nowrap; + font-family: sans-serif; } - - + /* File view (all): "show/hide details" link format */ a.detail:link { color: #B8D0FF; + font-size:80%; } - - + /* File view (all): "show/hide details" link - visited format */ a.detail:visited { color: #B8D0FF; + font-size:80%; } - - + /* File view (all): "show/hide details" link - activated format */ a.detail:active { color: #FFFFFF; + font-size:80%; } - - - /* File view (detail): test name table headline format */ - td.testNameHead - { - text-align: right; - padding-right: 10px; - background-color: #DAE7FE; - font-family: sans-serif; - font-weight: bold; - } - - - /* File view (detail): test lines table headline format */ - td.testLinesHead - { - text-align: center; - background-color: #DAE7FE; - font-family: sans-serif; - font-weight: bold; - } - - + /* File view (detail): test name entry */ td.testName { - text-align: right; - padding-right: 10px; + text-align: right; + padding-right: 10px; background-color: #DAE7FE; + font-family: sans-serif; } - - + /* File view (detail): test percentage entry */ td.testPer { - text-align: right; - padding-left: 10px; - padding-right: 10px; + text-align: right; + padding-left: 10px; + padding-right: 10px; background-color: #DAE7FE; + font-family: sans-serif; } - - + /* File view (detail): test lines count entry */ td.testNum { - text-align: right; - padding-left: 10px; - padding-right: 10px; + text-align: right; + padding-left: 10px; + padding-right: 10px; background-color: #DAE7FE; + font-family: sans-serif; } - - + /* Test case descriptions: test name format*/ dt { font-family: sans-serif; font-weight: bold; } - - + /* Test case descriptions: description table body */ td.testDescription { - padding-top: 10px; - padding-left: 30px; - padding-bottom: 10px; - padding-right: 30px; + padding-top: 10px; + padding-left: 30px; + padding-bottom: 10px; + padding-right: 30px; background-color: #DAE7FE; } + + /* Source code view: function entry */ + td.coverFn + { + text-align: left; + padding-left: 10px; + padding-right: 20px; + color: #284FA8; + background-color: #DAE7FE; + font-family: monospace; + } + /* Source code view: function entry zero count*/ + td.coverFnLo + { + text-align: right; + padding-left: 10px; + padding-right: 10px; + background-color: #FF0000; + font-weight: bold; + font-family: sans-serif; + } + + /* Source code view: function entry nonzero count*/ + td.coverFnHi + { + text-align: right; + padding-left: 10px; + padding-right: 10px; + background-color: #DAE7FE; + font-weight: bold; + font-family: sans-serif; + } /* Source code view: source code format */ pre.source { font-family: monospace; white-space: pre; + margin-top: 2px; } - + /* Source code view: line number format */ span.lineNum { background-color: #EFE383; } - - + /* Source code view: format for lines which were executed */ + td.lineCov, span.lineCov { background-color: #CAD7FE; } - - + + /* Source code view: format for Cov legend */ + span.coverLegendCov + { + padding-left: 10px; + padding-right: 10px; + padding-bottom: 2px; + background-color: #CAD7FE; + } + /* Source code view: format for lines which were not executed */ + td.lineNoCov, span.lineNoCov { background-color: #FF6230; } - - + + /* Source code view: format for NoCov legend */ + span.coverLegendNoCov + { + padding-left: 10px; + padding-right: 10px; + padding-bottom: 2px; + background-color: #FF6230; + } + + /* Source code view (function table): standard link - visited format */ + td.lineNoCov > a:visited, + td.lineCov > a:visited + { + color: black; + text-decoration: underline; + } + /* Source code view: format for lines which were executed only in a previous version */ span.lineDiffCov { background-color: #B5F7AF; } + + /* Source code view: format for branches which were executed + * and taken */ + span.branchCov + { + background-color: #CAD7FE; + } + + /* Source code view: format for branches which were executed + * but not taken */ + span.branchNoCov + { + background-color: #FF6230; + } + + /* Source code view: format for branches which were not executed */ + span.branchNoExec + { + background-color: #FF6230; + } + + /* Source code view: format for the source code heading line */ + pre.sourceHeading + { + white-space: pre; + font-family: monospace; + font-weight: bold; + margin: 0px; + } + + /* All views: header legend value for low rate */ + td.headerValueLegL + { + font-family: sans-serif; + text-align: center; + white-space: nowrap; + padding-left: 4px; + padding-right: 2px; + background-color: #FF0000; + font-size: 80%; + } + + /* All views: header legend value for med rate */ + td.headerValueLegM + { + font-family: sans-serif; + text-align: center; + white-space: nowrap; + padding-left: 2px; + padding-right: 2px; + background-color: #FFEA20; + font-size: 80%; + } + + /* All views: header legend value for hi rate */ + td.headerValueLegH + { + font-family: sans-serif; + text-align: center; + white-space: nowrap; + padding-left: 2px; + padding-right: 4px; + background-color: #A7FC9D; + font-size: 80%; + } + + /* All views except source code view: legend format for low coverage */ + span.coverLegendCovLo + { + padding-left: 10px; + padding-right: 10px; + padding-top: 2px; + background-color: #FF0000; + } + + /* All views except source code view: legend format for med coverage */ + span.coverLegendCovMed + { + padding-left: 10px; + padding-right: 10px; + padding-top: 2px; + background-color: #FFEA20; + } + + /* All views except source code view: legend format for hi coverage */ + span.coverLegendCovHi + { + padding-left: 10px; + padding-right: 10px; + padding-top: 2px; + background-color: #A7FC9D; + } END_OF_CSS ; @@ -1847,9 +3148,8 @@ sub get_bar_graph_code($$$) $remainder = sprintf("%d", 100-$width); # Decide which .png file to use - if ($rate < $med_limit) { $png_name = "ruby.png"; } - elsif ($rate < $hi_limit) { $png_name = "amber.png"; } - else { $png_name = "emerald.png"; } + $png_name = $rate_png[classify_rate($_[1], $_[2], $med_limit, + $hi_limit)]; if ($width == 0) { @@ -1883,6 +3183,29 @@ END_OF_HTML return($graph_code); } +# +# sub classify_rate(found, hit, med_limit, high_limit) +# +# Return 0 for low rate, 1 for medium rate and 2 for hi rate. +# + +sub classify_rate($$$$) +{ + my ($found, $hit, $med, $hi) = @_; + my $rate; + + if ($found == 0) { + return 2; + } + $rate = $hit * 100 / $found; + if ($rate < $med) { + return 0; + } elsif ($rate < $hi) { + return 1; + } + return 2; +} + # # write_html(filehandle, html_code) @@ -1914,28 +3237,15 @@ sub write_html(*$) sub write_html_prolog(*$$) { + my $basedir = $_[1]; my $pagetitle = $_[2]; + my $prolog; + $prolog = $html_prolog; + $prolog =~ s/\@pagetitle\@/$pagetitle/g; + $prolog =~ s/\@basedir\@/$basedir/g; - # ************************************************************* - - write_html($_[0], < - - - - - - $pagetitle - - - - - -END_OF_HTML - ; - - # ************************************************************* + write_html($_[0], $prolog); } @@ -1965,54 +3275,40 @@ END_OF_HTML # -# write_header_line(filehandle, item1, value1, [item2, value2]) +# write_header_line(handle, content) # -# Write a header line, containing of either one or two pairs "header item" -# and "header value". +# Write a header line with the specified table contents. # -sub write_header_line(*$$;$$) +sub write_header_line(*@) { - my $item1 = $_[1]; - my $value1 = $_[2]; + my ($handle, @content) = @_; + my $entry; - # Use GOTO to prevent indenting HTML with more than one tabs - if (scalar(@_) > 3) { goto two_items } + write_html($handle, " \n"); + foreach $entry (@content) { + my ($width, $class, $text, $colspan) = @{$entry}; - # ************************************************************* - - write_html($_[0], < - $item1: - $value1 - -END_OF_HTML - ; - - return(); - - # ************************************************************* - - -two_items: - my $item2 = $_[3]; - my $value2 = $_[4]; - - - # ************************************************************* - - write_html($_[0], < - $item1: - $value1 - - $item2: - $value2 - -END_OF_HTML - ; - - # ************************************************************* + if (defined($width)) { + $width = " width=\"$width\""; + } else { + $width = ""; + } + if (defined($class)) { + $class = " class=\"$class\""; + } else { + $class = ""; + } + if (defined($colspan)) { + $colspan = " colspan=\"$colspan\""; + } else { + $colspan = ""; + } + $text = "" if (!defined($text)); + write_html($handle, + " $text\n"); + } + write_html($handle, " \n"); } @@ -2027,9 +3323,11 @@ sub write_header_epilog(*$) # ************************************************************* write_html($_[0], < + @@ -2041,148 +3339,172 @@ END_OF_HTML # -# write_file_table_prolog(filehandle, left_heading, right_heading) +# write_file_table_prolog(handle, file_heading, ([heading, num_cols], ...)) # # Write heading for file table. # -sub write_file_table_prolog(*$$) +sub write_file_table_prolog(*$@) { - # ************************************************************* + my ($handle, $file_heading, @columns) = @_; + my $num_columns = 0; + my $file_width; + my $col; + my $width; - write_html($_[0], < 2); + + foreach $col (@columns) { + my ($heading, $cols) = @{$col}; + + $num_columns += $cols; + } + $file_width = 100 - $num_columns * $width; + + # Table definition + write_html($handle, < - +
- - - - - - - - - - - + END_OF_HTML - ; + # Empty first row + foreach $col (@columns) { + my ($heading, $cols) = @{$col}; - # ************************************************************* + while ($cols-- > 0) { + write_html($handle, < +END_OF_HTML + } + } + # Next row + write_html($handle, < + + + +END_OF_HTML + # Heading row + foreach $col (@columns) { + my ($heading, $cols) = @{$col}; + my $colspan = ""; + + $colspan = " colspan=$cols" if ($cols > 1); + write_html($handle, <$heading +END_OF_HTML + } + write_html($handle, < +END_OF_HTML } -# -# write_file_table_entry(filehandle, cover_filename, cover_bar_graph, -# cover_found, cover_hit) +# write_file_table_entry(handle, base_dir, filename, page_link, +# ([ found, hit, med_limit, hi_limit, graph ], ..) # # Write an entry of the file table. # -sub write_file_table_entry(*$$$$) +sub write_file_table_entry(*$$$@) { - my $rate; - my $rate_string; - my $classification = "Lo"; + my ($handle, $base_dir, $filename, $page_link, @entries) = @_; + my $file_code; + my $entry; - if ($_[3]>0) - { - $rate = $_[4] * 100 / $_[3]; - $rate_string = sprintf("%.1f", $rate)." %"; - - if ($rate < $med_limit) { $classification = "Lo"; } - elsif ($rate < $hi_limit) { $classification = "Med"; } - else { $classification = "Hi"; } - } - else - { - $rate_string = "undefined"; + # Add link to source if provided + if (defined($page_link) && $page_link ne "") { + $file_code = "$filename"; + } else { + $file_code = $filename; } - # ************************************************************* - - write_html($_[0], < - + +END_OF_HTML + # Columns as defined + foreach $entry (@entries) { + my ($found, $hit, $med, $hi, $graph) = @{$entry}; + my $bar_graph; + my $class; + my $rate; + + # Generate bar graph if requested + if ($graph) { + $bar_graph = get_bar_graph_code($base_dir, $found, + $hit); + write_html($handle, < - $_[2] + $bar_graph - - - - END_OF_HTML - ; - - # ************************************************************* + } + # Get rate color and text + if ($found == 0) { + $rate = "-"; + $class = "Hi"; + } else { + $rate = sprintf("%.1f %%", $hit * 100 / $found); + $class = $rate_name[classify_rate($found, $hit, + $med, $hi)]; + } + write_html($handle, <$rate + +END_OF_HTML + } + # End of row + write_html($handle, < +END_OF_HTML } # -# write_file_table_detail_heading(filehandle, left_heading, right_heading) -# -# Write heading for detail section in file table. -# - -sub write_file_table_detail_heading(*$$) -{ - # ************************************************************* - - write_html($_[0], < - - - - -END_OF_HTML - ; - - # ************************************************************* -} - - -# -# write_file_table_detail_entry(filehandle, test_name, cover_found, cover_hit) +# write_file_table_detail_entry(filehandle, test_name, ([found, hit], ...)) # # Write entry for detail section in file table. # -sub write_file_table_detail_entry(*$$$) +sub write_file_table_detail_entry(*$@) { - my $rate; - my $name = $_[1]; - - if ($_[2]>0) - { - $rate = sprintf("%.1f", $_[3]*100/$_[2])." %"; - } - else - { - $rate = "undefined"; - } + my ($handle, $test, @entries) = @_; + my $entry; - if ($name =~ /^(.*),diff$/) - { - $name = $1." (converted)"; + if ($test eq "") { + $test = "<unnamed>"; + } elsif ($test =~ /^(.*),diff$/) { + $test = $1." (converted)"; } - - if ($name eq "") - { - $name = "<unnamed>"; - } - - # ************************************************************* - - write_html($_[0], < - + +END_OF_HTML + # Test data + foreach $entry (@entries) { + my ($found, $hit) = @{$entry}; + my $rate = "-"; + + if ($found > 0) { + $rate = sprintf("%.1f %%", $hit * 100 / $found); + } + write_html($handle, <$rate - + +END_OF_HTML + } + + write_html($handle, < END_OF_HTML - ; # ************************************************************* } @@ -2287,6 +3609,17 @@ END_OF_HTML } +sub fmt_centered($$) +{ + my ($width, $text) = @_; + my $w0 = length($text); + my $w1 = int(($width - $w0) / 2); + my $w2 = $width - $w0 - $w1; + + return (" "x$w1).$text.(" "x$w2); +} + + # # write_source_prolog(filehandle) # @@ -2295,6 +3628,15 @@ END_OF_HTML sub write_source_prolog(*) { + my $lineno_heading = " "; + my $branch_heading = ""; + my $line_heading = fmt_centered($line_field_width, "Line data"); + my $source_heading = " Source code"; + + if ($br_coverage) { + $branch_heading = fmt_centered($br_field_width, "Branch data"). + " "; + } # ************************************************************* write_html($_[0], <
- - + +

$_[1]$_[2]

$file_heading$_[1]$file_code$rate_string$_[4] / $_[3] lines
$hit / $found$_[1]$_[2]
$name$test$_[3] / $_[2] lines$hit / $found
+	      
+
${lineno_heading}${branch_heading}${line_heading} ${source_heading}
+
 END_OF_HTML
 	;
 
@@ -2312,50 +3656,251 @@ END_OF_HTML
 
 
 #
-# write_source_line(filehandle, line_num, source, hit_count, converted)
+# get_branch_blocks(brdata)
+#
+# Group branches that belong to the same basic block.
+#
+# Returns: [block1, block2, ...]
+# block:   [branch1, branch2, ...]
+# branch:  [block_num, branch_num, taken_count, text_length, open, close]
+#
+
+sub get_branch_blocks($)
+{
+	my ($brdata) = @_;
+	my $last_block_num;
+	my $block = [];
+	my @blocks;
+	my $i;
+	my $num = br_ivec_len($brdata);
+
+	# Group branches
+	for ($i = 0; $i < $num; $i++) {
+		my ($block_num, $branch, $taken) = br_ivec_get($brdata, $i);
+		my $br;
+
+		if (defined($last_block_num) && $block_num != $last_block_num) {
+			push(@blocks, $block);
+			$block = [];
+		}
+		$br = [$block_num, $branch, $taken, 3, 0, 0];
+		push(@{$block}, $br);
+		$last_block_num = $block_num;
+	}
+	push(@blocks, $block) if (scalar(@{$block}) > 0);
+
+	# Add braces to first and last branch in group
+	foreach $block (@blocks) {
+		$block->[0]->[$BR_OPEN] = 1;
+		$block->[0]->[$BR_LEN]++;
+		$block->[scalar(@{$block}) - 1]->[$BR_CLOSE] = 1;
+		$block->[scalar(@{$block}) - 1]->[$BR_LEN]++;
+	}
+
+	return @blocks;
+}
+
+#
+# get_block_len(block)
+#
+# Calculate total text length of all branches in a block of branches.
+#
+
+sub get_block_len($)
+{
+	my ($block) = @_;
+	my $len = 0;
+	my $branch;
+
+	foreach $branch (@{$block}) {
+		$len += $branch->[$BR_LEN];
+	}
+
+	return $len;
+}
+
+
+#
+# get_branch_html(brdata)
+#
+# Return a list of HTML lines which represent the specified branch coverage
+# data in source code view.
+#
+
+sub get_branch_html($)
+{
+	my ($brdata) = @_;
+	my @blocks = get_branch_blocks($brdata);
+	my $block;
+	my $branch;
+	my $line_len = 0;
+	my $line = [];	# [branch2|" ", branch|" ", ...]
+	my @lines;	# [line1, line2, ...]
+	my @result;
+
+	# Distribute blocks to lines
+	foreach $block (@blocks) {
+		my $block_len = get_block_len($block);
+
+		# Does this block fit into the current line?
+		if ($line_len + $block_len <= $br_field_width) {
+			# Add it
+			$line_len += $block_len;
+			push(@{$line}, @{$block});
+			next;
+		} elsif ($block_len <= $br_field_width) {
+			# It would fit if the line was empty - add it to new
+			# line
+			push(@lines, $line);
+			$line_len = $block_len;
+			$line = [ @{$block} ];
+			next;
+		}
+		# Split the block into several lines
+		foreach $branch (@{$block}) {
+			if ($line_len + $branch->[$BR_LEN] >= $br_field_width) {
+				# Start a new line
+				if (($line_len + 1 <= $br_field_width) &&
+				    scalar(@{$line}) > 0 &&
+				    !$line->[scalar(@$line) - 1]->[$BR_CLOSE]) {
+					# Try to align branch symbols to be in
+					# one # row
+					push(@{$line}, " ");
+				}
+				push(@lines, $line);
+				$line_len = 0;
+				$line = [];
+			}
+			push(@{$line}, $branch);
+			$line_len += $branch->[$BR_LEN];
+		}
+	}
+	push(@lines, $line);
+
+	# Convert to HTML
+	foreach $line (@lines) {
+		my $current = "";
+		my $current_len = 0;
+
+		foreach $branch (@$line) {
+			# Skip alignment space
+			if ($branch eq " ") {
+				$current .= " ";
+				$current_len++;
+				next;
+			}
+
+			my ($block_num, $br_num, $taken, $len, $open, $close) =
+			   @{$branch};
+			my $class;
+			my $title;
+			my $text;
+
+			if ($taken eq '-') {
+				$class	= "branchNoExec";
+				$text	= " # ";
+				$title	= "Branch $br_num was not executed";
+			} elsif ($taken == 0) {
+				$class	= "branchNoCov";
+				$text	= " - ";
+				$title	= "Branch $br_num was not taken";
+			} else {
+				$class	= "branchCov";
+				$text	= " + ";
+				$title	= "Branch $br_num was taken $taken ".
+					  "time";
+				$title .= "s" if ($taken > 1);
+			}
+			$current .= "[" if ($open);
+			$current .= "";
+			$current .= $text."";
+			$current .= "]" if ($close);
+			$current_len += $len;
+		}
+
+		# Right-align result text
+		if ($current_len < $br_field_width) {
+			$current = (" "x($br_field_width - $current_len)).
+				   $current;
+		}
+		push(@result, $current);
+	}
+
+	return @result;
+}
+
+
+#
+# format_count(count, width)
+#
+# Return a right-aligned representation of count that fits in width characters.
+#
+
+sub format_count($$)
+{
+	my ($count, $width) = @_;
+	my $result;
+	my $exp;
+
+	$result = sprintf("%*.0f", $width, $count);
+	while (length($result) > $width) {
+		last if ($count < 10);
+		$exp++;
+		$count = int($count/10);
+		$result = sprintf("%*s", $width, ">$count*10^$exp");
+	}
+	return $result;
+}
+
+#
+# write_source_line(filehandle, line_num, source, hit_count, converted,
+#                   brdata, add_anchor)
 #
 # Write formatted source code line. Return a line in a format as needed
 # by gen_png()
 #
 
-sub write_source_line(*$$$$)
+sub write_source_line(*$$$$$$)
 {
+	my ($handle, $line, $source, $count, $converted, $brdata,
+	    $add_anchor) = @_;
 	my $source_format;
-	my $count;
+	my $count_format;
 	my $result;
 	my $anchor_start = "";
 	my $anchor_end = "";
+	my $count_field_width = $line_field_width - 1;
+	my @br_html;
+	my $html;
 
-	if (!(defined$_[3]))
-	{
+	# Get branch HTML data for this line
+	@br_html = get_branch_html($brdata) if ($br_coverage);
+
+	if (!defined($count)) {
 		$result		= "";
 		$source_format	= "";
-		$count		= " "x15;
+		$count_format	= " "x$count_field_width;
 	}
-	elsif ($_[3] == 0)
-	{
-		$result		= $_[3];
+	elsif ($count == 0) {
+		$result		= $count;
 		$source_format	= '';
-		$count		= sprintf("%15d", $_[3]);
+		$count_format	= format_count($count, $count_field_width);
 	}
-	elsif ($_[4] && defined($highlight))
-	{
-		$result		= "*".$_[3];
+	elsif ($converted && defined($highlight)) {
+		$result		= "*".$count;
 		$source_format	= '';
-		$count		= sprintf("%15d", $_[3]);
+		$count_format	= format_count($count, $count_field_width);
 	}
-	else
-	{
-		$result		= $_[3];
+	else {
+		$result		= $count;
 		$source_format	= '';
-		$count		= sprintf("%15d", $_[3]);
+		$count_format	= format_count($count, $count_field_width);
 	}
-
-	$result .= ":".$_[2];
+	$result .= ":".$source;
 
 	# Write out a line number navigation anchor every $nav_resolution
 	# lines if necessary
-	if ($frames && (($_[1] - 1) % $nav_resolution == 0))
+	if ($add_anchor)
 	{
 		$anchor_start	= "";
 		$anchor_end	= "";
@@ -2364,13 +3909,23 @@ sub write_source_line(*$$$$)
 
 	# *************************************************************
 
-	write_html($_[0],
-		   $anchor_start.
-		   ''.sprintf("%8d", $_[1]).
-		   " $source_format$count : ".
-		   escape_html($_[2]).($source_format?"":"").
-		   $anchor_end."\n");
+	$html = $anchor_start;
+	$html .= "".sprintf("%8d", $line)." ";
+	$html .= shift(@br_html).":" if ($br_coverage);
+	$html .= "$source_format$count_format : ";
+	$html .= escape_html($source);
+	$html .= "" if ($source_format);
+	$html .= $anchor_end."\n";
 
+	write_html($handle, $html);
+
+	if ($br_coverage) {
+		# Add lines for overlong branch information
+		foreach (@br_html) {
+			write_html($handle, "".
+				   "         $_\n");
+		}
+	}
 	# *************************************************************
 
 	return($result);
@@ -2411,7 +3966,9 @@ END_OF_HTML
 
 sub write_html_epilog(*$;$)
 {
+	my $basedir = $_[1];
 	my $break_code = "";
+	my $epilog;
 
 	if (defined($_[2]))
 	{
@@ -2422,17 +3979,17 @@ sub write_html_epilog(*$;$)
 
 	write_html($_[0], <
-	  
Generated by: $lcov_version
Generated by: $lcov_version

- - - END_OF_HTML ; - # ************************************************************* + $epilog = $html_epilog; + $epilog =~ s/\@basedir\@/$basedir/g; + + write_html($_[0], $epilog); } @@ -2459,8 +4016,8 @@ sub write_frameset(*$$$) - - + + <center>Frames not supported by your browser!<br></center> @@ -2488,7 +4045,7 @@ sub write_overview_line(*$$$) # ************************************************************* write_html($_[0], < + overview END_OF_HTML ; @@ -2551,7 +4108,7 @@ END_OF_HTML
- Top

+ Top

Overview
@@ -2563,16 +4120,36 @@ END_OF_HTML } +# format_rate(found, hit) # -# write_header(filehandle, type, trunc_file_name, rel_file_name, lines_found, -# lines_hit) -# -# Write a complete standard page header. TYPE may be (0, 1, 2, 3) -# corresponding to (directory view header, file view header, source view -# header, test case description header) +# Return formatted percent string for coverage rate. # -sub write_header(*$$$$$) +sub format_rate($$) +{ + return $_[0] == 0 ? "-" : sprintf("%.1f", $_[1] * 100 / $_[0])." %"; +} + + +sub max($$) +{ + my ($a, $b) = @_; + + return $a if ($a > $b); + return $b; +} + + +# +# write_header(filehandle, type, trunc_file_name, rel_file_name, lines_found, +# lines_hit, funcs_found, funcs_hit, sort_type) +# +# Write a complete standard page header. TYPE may be (0, 1, 2, 3, 4) +# corresponding to (directory view header, file view header, source view +# header, test case description header, function view header) +# + +sub write_header(*$$$$$$$$$$) { local *HTML_HANDLE = $_[0]; my $type = $_[1]; @@ -2580,68 +4157,77 @@ sub write_header(*$$$$$) my $rel_filename = $_[3]; my $lines_found = $_[4]; my $lines_hit = $_[5]; + my $fn_found = $_[6]; + my $fn_hit = $_[7]; + my $br_found = $_[8]; + my $br_hit = $_[9]; + my $sort_type = $_[10]; my $base_dir; my $view; my $test; - my $rate; my $base_name; - - # Calculate coverage rate - if ($lines_found>0) - { - $rate = sprintf("%.1f", $lines_hit * 100 / $lines_found)." %"; - } - else - { - $rate = "-"; - } + my $style; + my $rate; + my @row_left; + my @row_right; + my $num_rows; + my $i; $base_name = basename($rel_filename); # Prepare text for "current view" field - if ($type == 0) + if ($type == $HDR_DIR) { # Main overview $base_dir = ""; $view = $overview_title; } - elsif ($type == 1) + elsif ($type == $HDR_FILE) { # Directory overview $base_dir = get_relative_base_path($rel_filename); - $view = "". + $view = "". "$overview_title - $trunc_name"; } - elsif ($type == 2) + elsif ($type == $HDR_SOURCE || $type == $HDR_FUNC) { # File view my $dir_name = dirname($rel_filename); - - $base_dir = get_relative_base_path($dir_name); if ($frames) { # Need to break frameset when clicking any of these # links - $view = "$overview_title - ". - "". + "". "$dir_name - $base_name"; } else { - $view = "". + $view = "". "$overview_title - ". - "". + "". "$dir_name - $base_name"; } + + # Add function suffix + if ($func_coverage) { + $view .= ""; + if ($type == $HDR_SOURCE) { + $view .= " (source / functions)"; + } elsif ($type == $HDR_FUNC) { + $view .= " (source / functions)"; + } + $view .= ""; + } } - elsif ($type == 3) + elsif ($type == $HDR_TESTDESC) { # Test description header $base_dir = ""; - $view = "". + $view = "". "$overview_title - test case descriptions"; } @@ -2649,60 +4235,265 @@ sub write_header(*$$$$$) $test = escape_html($test_title); # Append link to test description page if available - if (%test_description && ($type != 3)) + if (%test_description && ($type != $HDR_TESTDESC)) { - if ($frames && ($type == 2)) + if ($frames && ($type == $HDR_SOURCE || $type == $HDR_FUNC)) { # Need to break frameset when clicking this link - $test .= " ( ". - "view test case descriptions )"; + $test .= " ( ". + "". + "view descriptions )"; } else { - $test .= " ( ". - "view test case descriptions )"; + $test .= " ( ". + "". + "view descriptions )"; } } # Write header write_header_prolog(*HTML_HANDLE, $base_dir); - write_header_line(*HTML_HANDLE, "Current view", $view); - write_header_line(*HTML_HANDLE, "Test", $test); - write_header_line(*HTML_HANDLE, "Date", $date, - "Instrumented lines", $lines_found); - write_header_line(*HTML_HANDLE, "Code covered", $rate, - "Executed lines", $lines_hit); + + # Left row + push(@row_left, [[ "10%", "headerItem", "Current view:" ], + [ "35%", "headerValue", $view ]]); + push(@row_left, [[undef, "headerItem", "Test:"], + [undef, "headerValue", $test]]); + push(@row_left, [[undef, "headerItem", "Date:"], + [undef, "headerValue", $date]]); + + # Right row + if ($legend && ($type == $HDR_SOURCE || $type == $HDR_FUNC)) { + my $text = <hit + not hit +END_OF_HTML + if ($br_coverage) { + $text .= <+ taken + - not taken + # not executed +END_OF_HTML + } + push(@row_left, [[undef, "headerItem", "Legend:"], + [undef, "headerValueLeg", $text]]); + } elsif ($legend && ($type != $HDR_TESTDESC)) { + my $text = <low: < $med_limit % + medium: >= $med_limit % + high: >= $hi_limit % +END_OF_HTML + push(@row_left, [[undef, "headerItem", "Legend:"], + [undef, "headerValueLeg", $text]]); + } + if ($type == $HDR_TESTDESC) { + push(@row_right, [[ "55%" ]]); + } else { + push(@row_right, [["15%", undef, undef ], + ["10%", "headerCovTableHead", "Hit" ], + ["10%", "headerCovTableHead", "Total" ], + ["15%", "headerCovTableHead", "Coverage"]]); + } + # Line coverage + $style = $rate_name[classify_rate($lines_found, $lines_hit, + $med_limit, $hi_limit)]; + $rate = format_rate($lines_found, $lines_hit); + push(@row_right, [[undef, "headerItem", "Lines:"], + [undef, "headerCovTableEntry", $lines_hit], + [undef, "headerCovTableEntry", $lines_found], + [undef, "headerCovTableEntry$style", $rate]]) + if ($type != $HDR_TESTDESC); + # Function coverage + if ($func_coverage) { + $style = $rate_name[classify_rate($fn_found, $fn_hit, + $fn_med_limit, $fn_hi_limit)]; + $rate = format_rate($fn_found, $fn_hit); + push(@row_right, [[undef, "headerItem", "Functions:"], + [undef, "headerCovTableEntry", $fn_hit], + [undef, "headerCovTableEntry", $fn_found], + [undef, "headerCovTableEntry$style", $rate]]) + if ($type != $HDR_TESTDESC); + } + # Branch coverage + if ($br_coverage) { + $style = $rate_name[classify_rate($br_found, $br_hit, + $br_med_limit, $br_hi_limit)]; + $rate = format_rate($br_found, $br_hit); + push(@row_right, [[undef, "headerItem", "Branches:"], + [undef, "headerCovTableEntry", $br_hit], + [undef, "headerCovTableEntry", $br_found], + [undef, "headerCovTableEntry$style", $rate]]) + if ($type != $HDR_TESTDESC); + } + + # Print rows + $num_rows = max(scalar(@row_left), scalar(@row_right)); + for ($i = 0; $i < $num_rows; $i++) { + my $left = $row_left[$i]; + my $right = $row_right[$i]; + + if (!defined($left)) { + $left = [[undef, undef, undef], [undef, undef, undef]]; + } + if (!defined($right)) { + $right = []; + } + write_header_line(*HTML_HANDLE, @{$left}, + [ $i == 0 ? "5%" : undef, undef, undef], + @{$right}); + } + + # Fourth line write_header_epilog(*HTML_HANDLE, $base_dir); } # -# split_filename(filename) -# -# Return (path, filename, extension) for a given FILENAME. +# get_sorted_keys(hash_ref, sort_type) # -sub split_filename($) +sub get_sorted_keys($$) { - if (!$_[0]) { return(); } - my @path_components = split('/', $_[0]); - my @file_components = split('\.', pop(@path_components)); - my $extension = pop(@file_components); + my ($hash, $type) = @_; - return (join("/",@path_components), join(".",@file_components), - $extension); + if ($type == $SORT_FILE) { + # Sort by name + return sort(keys(%{$hash})); + } elsif ($type == $SORT_LINE) { + # Sort by line coverage + return sort({$hash->{$a}[7] <=> $hash->{$b}[7]} keys(%{$hash})); + } elsif ($type == $SORT_FUNC) { + # Sort by function coverage; + return sort({$hash->{$a}[8] <=> $hash->{$b}[8]} keys(%{$hash})); + } elsif ($type == $SORT_BRANCH) { + # Sort by br coverage; + return sort({$hash->{$a}[9] <=> $hash->{$b}[9]} keys(%{$hash})); + } } +sub get_sort_code($$$) +{ + my ($link, $alt, $base) = @_; + my $png; + my $link_start; + my $link_end; + + if (!defined($link)) { + $png = "glass.png"; + $link_start = ""; + $link_end = ""; + } else { + $png = "updown.png"; + $link_start = ''; + $link_end = ""; + } + + return ' '.$link_start. + ''.$link_end.''; +} + +sub get_file_code($$$$) +{ + my ($type, $text, $sort_button, $base) = @_; + my $result = $text; + my $link; + + if ($sort_button) { + if ($type == $HEAD_NO_DETAIL) { + $link = "index.$html_ext"; + } else { + $link = "index-detail.$html_ext"; + } + } + $result .= get_sort_code($link, "Sort by name", $base); + + return $result; +} + +sub get_line_code($$$$$) +{ + my ($type, $sort_type, $text, $sort_button, $base) = @_; + my $result = $text; + my $sort_link; + + if ($type == $HEAD_NO_DETAIL) { + # Just text + if ($sort_button) { + $sort_link = "index-sort-l.$html_ext"; + } + } elsif ($type == $HEAD_DETAIL_HIDDEN) { + # Text + link to detail view + $result .= ' ( show details )'; + if ($sort_button) { + $sort_link = "index-sort-l.$html_ext"; + } + } else { + # Text + link to standard view + $result .= ' ( hide details )'; + if ($sort_button) { + $sort_link = "index-detail-sort-l.$html_ext"; + } + } + # Add sort button + $result .= get_sort_code($sort_link, "Sort by line coverage", $base); + + return $result; +} + +sub get_func_code($$$$) +{ + my ($type, $text, $sort_button, $base) = @_; + my $result = $text; + my $link; + + if ($sort_button) { + if ($type == $HEAD_NO_DETAIL) { + $link = "index-sort-f.$html_ext"; + } else { + $link = "index-detail-sort-f.$html_ext"; + } + } + $result .= get_sort_code($link, "Sort by function coverage", $base); + return $result; +} + +sub get_br_code($$$$) +{ + my ($type, $text, $sort_button, $base) = @_; + my $result = $text; + my $link; + + if ($sort_button) { + if ($type == $HEAD_NO_DETAIL) { + $link = "index-sort-b.$html_ext"; + } else { + $link = "index-detail-sort-b.$html_ext"; + } + } + $result .= get_sort_code($link, "Sort by branch coverage", $base); + return $result; +} # -# write_file_table(filehandle, base_dir, overview, testhash, fileview) +# write_file_table(filehandle, base_dir, overview, testhash, testfnchash, +# testbrhash, fileview, sort_type) # # Write a complete file table. OVERVIEW is a reference to a hash containing # the following mapping: # -# filename -> "lines_found,lines_hit,page_link" +# filename -> "lines_found,lines_hit,funcs_found,funcs_hit,page_link, +# func_link" # # TESTHASH is a reference to the following hash: # @@ -2714,95 +4505,138 @@ sub split_filename($) # otherwise. # -sub write_file_table(*$$$$) +sub write_file_table(*$$$$$$$) { local *HTML_HANDLE = $_[0]; my $base_dir = $_[1]; - my %overview = %{$_[2]}; - my %testhash = %{$_[3]}; - my $fileview = $_[4]; + my $overview = $_[2]; + my $testhash = $_[3]; + my $testfnchash = $_[4]; + my $testbrhash = $_[5]; + my $fileview = $_[6]; + my $sort_type = $_[7]; my $filename; my $bar_graph; my $hit; my $found; + my $fn_found; + my $fn_hit; + my $br_found; + my $br_hit; my $page_link; my $testname; my $testdata; - my $testcount; + my $testfncdata; + my $testbrdata; my %affecting_tests; - my $coverage_heading = "Coverage"; + my $line_code = ""; + my $func_code; + my $br_code; + my $file_code; + my @head_columns; - # Provide a link to details/non-detail list if this is directory - # overview and we are supposed to create a detail view + # Determine HTML code for column headings if (($base_dir ne "") && $show_details) { - if (%testhash) - { - # This is the detail list, provide link to standard - # list - $coverage_heading .= " ( hide ". - "details )"; - } - else - { - # This is the standard list, provide link to detail - # list - $coverage_heading .= " ( show ". - "details )"; - } + my $detailed = keys(%{$testhash}); + + $file_code = get_file_code($detailed ? $HEAD_DETAIL_HIDDEN : + $HEAD_NO_DETAIL, + $fileview ? "Filename" : "Directory", + $sort && $sort_type != $SORT_FILE, + $base_dir); + $line_code = get_line_code($detailed ? $HEAD_DETAIL_SHOWN : + $HEAD_DETAIL_HIDDEN, + $sort_type, + "Line Coverage", + $sort && $sort_type != $SORT_LINE, + $base_dir); + $func_code = get_func_code($detailed ? $HEAD_DETAIL_HIDDEN : + $HEAD_NO_DETAIL, + "Functions", + $sort && $sort_type != $SORT_FUNC, + $base_dir); + $br_code = get_br_code($detailed ? $HEAD_DETAIL_HIDDEN : + $HEAD_NO_DETAIL, + "Branches", + $sort && $sort_type != $SORT_BRANCH, + $base_dir); + } else { + $file_code = get_file_code($HEAD_NO_DETAIL, + $fileview ? "Filename" : "Directory", + $sort && $sort_type != $SORT_FILE, + $base_dir); + $line_code = get_line_code($HEAD_NO_DETAIL, $sort_type, "Line Coverage", + $sort && $sort_type != $SORT_LINE, + $base_dir); + $func_code = get_func_code($HEAD_NO_DETAIL, "Functions", + $sort && $sort_type != $SORT_FUNC, + $base_dir); + $br_code = get_br_code($HEAD_NO_DETAIL, "Branches", + $sort && $sort_type != $SORT_BRANCH, + $base_dir); } + push(@head_columns, [ $line_code, 3 ]); + push(@head_columns, [ $func_code, 2]) if ($func_coverage); + push(@head_columns, [ $br_code, 2]) if ($br_coverage); - write_file_table_prolog(*HTML_HANDLE, - $fileview ? "Filename" : "Directory name", - $coverage_heading); + write_file_table_prolog(*HTML_HANDLE, $file_code, @head_columns); - foreach $filename (sort(keys(%overview))) + foreach $filename (get_sorted_keys($overview, $sort_type)) { - ($found, $hit, $page_link) = split(",", $overview{$filename}); - $bar_graph = get_bar_graph_code($base_dir, $found, $hit); + my @columns; + ($found, $hit, $fn_found, $fn_hit, $br_found, $br_hit, + $page_link) = @{$overview->{$filename}}; - $testdata = $testhash{$filename}; - - # Add anchor tag in case a page link is provided - if ($page_link) - { - $filename = "$filename"; + # Line coverage + push(@columns, [$found, $hit, $med_limit, $hi_limit, 1]); + # Function coverage + if ($func_coverage) { + push(@columns, [$fn_found, $fn_hit, $fn_med_limit, + $fn_hi_limit, 0]); } + # Branch coverage + if ($br_coverage) { + push(@columns, [$br_found, $br_hit, $br_med_limit, + $br_hi_limit, 0]); + } + write_file_table_entry(*HTML_HANDLE, $base_dir, $filename, + $page_link, @columns); - write_file_table_entry(*HTML_HANDLE, $filename, $bar_graph, - $found, $hit); + $testdata = $testhash->{$filename}; + $testfncdata = $testfnchash->{$filename}; + $testbrdata = $testbrhash->{$filename}; # Check whether we should write test specific coverage # as well if (!($show_details && $testdata)) { next; } # Filter out those tests that actually affect this file - %affecting_tests = %{ get_affecting_tests($testdata) }; + %affecting_tests = %{ get_affecting_tests($testdata, + $testfncdata, $testbrdata) }; # Does any of the tests affect this file at all? if (!%affecting_tests) { next; } - # Write test details for this entry - write_file_table_detail_heading(*HTML_HANDLE, "Test name", - "Lines hit"); - foreach $testname (keys(%affecting_tests)) { - ($found, $hit) = + my @results; + ($found, $hit, $fn_found, $fn_hit, $br_found, $br_hit) = split(",", $affecting_tests{$testname}); # Insert link to description of available if ($test_description{$testname}) { $testname = "". + "descriptions.$html_ext#$testname\">". "$testname"; } + push(@results, [$found, $hit]); + push(@results, [$fn_found, $fn_hit]) if ($func_coverage); + push(@results, [$br_found, $br_hit]) if ($br_coverage); write_file_table_detail_entry(*HTML_HANDLE, $testname, - $found, $hit); + @results); } } @@ -2839,33 +4673,248 @@ sub get_found_and_hit($) # -# get_affecting_tests(hashref) +# get_func_found_and_hit(sumfnccount) +# +# Return (f_found, f_hit) for sumfnccount +# + +sub get_func_found_and_hit($) +{ + my ($sumfnccount) = @_; + my $function; + my $fn_found; + my $fn_hit; + + $fn_found = scalar(keys(%{$sumfnccount})); + $fn_hit = 0; + foreach $function (keys(%{$sumfnccount})) { + if ($sumfnccount->{$function} > 0) { + $fn_hit++; + } + } + return ($fn_found, $fn_hit); +} + + +# +# br_taken_to_num(taken) +# +# Convert a branch taken value .info format to number format. +# + +sub br_taken_to_num($) +{ + my ($taken) = @_; + + return 0 if ($taken eq '-'); + return $taken + 1; +} + + +# +# br_num_to_taken(taken) +# +# Convert a branch taken value in number format to .info format. +# + +sub br_num_to_taken($) +{ + my ($taken) = @_; + + return '-' if ($taken == 0); + return $taken - 1; +} + + +# +# br_taken_add(taken1, taken2) +# +# Return the result of taken1 + taken2 for 'branch taken' values. +# + +sub br_taken_add($$) +{ + my ($t1, $t2) = @_; + + return $t1 if (!defined($t2)); + return $t2 if (!defined($t1)); + return $t1 if ($t2 eq '-'); + return $t2 if ($t1 eq '-'); + return $t1 + $t2; +} + + +# +# br_taken_sub(taken1, taken2) +# +# Return the result of taken1 - taken2 for 'branch taken' values. Return 0 +# if the result would become negative. +# + +sub br_taken_sub($$) +{ + my ($t1, $t2) = @_; + + return $t1 if (!defined($t2)); + return undef if (!defined($t1)); + return $t1 if ($t1 eq '-'); + return $t1 if ($t2 eq '-'); + return 0 if $t2 > $t1; + return $t1 - $t2; +} + + +# +# br_ivec_len(vector) +# +# Return the number of entries in the branch coverage vector. +# + +sub br_ivec_len($) +{ + my ($vec) = @_; + + return 0 if (!defined($vec)); + return (length($vec) * 8 / $BR_VEC_WIDTH) / $BR_VEC_ENTRIES; +} + + +# +# br_ivec_get(vector, number) +# +# Return an entry from the branch coverage vector. +# + +sub br_ivec_get($$) +{ + my ($vec, $num) = @_; + my $block; + my $branch; + my $taken; + my $offset = $num * $BR_VEC_ENTRIES; + + # Retrieve data from vector + $block = vec($vec, $offset + $BR_BLOCK, $BR_VEC_WIDTH); + $branch = vec($vec, $offset + $BR_BRANCH, $BR_VEC_WIDTH); + $taken = vec($vec, $offset + $BR_TAKEN, $BR_VEC_WIDTH); + + # Decode taken value from an integer + $taken = br_num_to_taken($taken); + + return ($block, $branch, $taken); +} + + +# +# br_ivec_push(vector, block, branch, taken) +# +# Add an entry to the branch coverage vector. If an entry with the same +# branch ID already exists, add the corresponding taken values. +# + +sub br_ivec_push($$$$) +{ + my ($vec, $block, $branch, $taken) = @_; + my $offset; + my $num = br_ivec_len($vec); + my $i; + + $vec = "" if (!defined($vec)); + + # Check if branch already exists in vector + for ($i = 0; $i < $num; $i++) { + my ($v_block, $v_branch, $v_taken) = br_ivec_get($vec, $i); + + next if ($v_block != $block || $v_branch != $branch); + + # Add taken counts + $taken = br_taken_add($taken, $v_taken); + last; + } + + $offset = $i * $BR_VEC_ENTRIES; + $taken = br_taken_to_num($taken); + + # Add to vector + vec($vec, $offset + $BR_BLOCK, $BR_VEC_WIDTH) = $block; + vec($vec, $offset + $BR_BRANCH, $BR_VEC_WIDTH) = $branch; + vec($vec, $offset + $BR_TAKEN, $BR_VEC_WIDTH) = $taken; + + return $vec; +} + + +# +# get_br_found_and_hit(sumbrcount) +# +# Return (br_found, br_hit) for sumbrcount +# + +sub get_br_found_and_hit($) +{ + my ($sumbrcount) = @_; + my $line; + my $br_found = 0; + my $br_hit = 0; + + foreach $line (keys(%{$sumbrcount})) { + my $brdata = $sumbrcount->{$line}; + my $i; + my $num = br_ivec_len($brdata); + + for ($i = 0; $i < $num; $i++) { + my $taken; + + (undef, undef, $taken) = br_ivec_get($brdata, $i); + + $br_found++; + $br_hit++ if ($taken ne "-" && $taken > 0); + } + } + + return ($br_found, $br_hit); +} + + +# +# get_affecting_tests(testdata, testfncdata, testbrdata) # # HASHREF contains a mapping filename -> (linenumber -> exec count). Return # a hash containing mapping filename -> "lines found, lines hit" for each # filename which has a nonzero hit count. # -sub get_affecting_tests($) +sub get_affecting_tests($$$) { - my %hash = %{$_[0]}; + my ($testdata, $testfncdata, $testbrdata) = @_; my $testname; my $testcount; + my $testfnccount; + my $testbrcount; my %result; my $found; my $hit; + my $fn_found; + my $fn_hit; + my $br_found; + my $br_hit; - foreach $testname (keys(%hash)) + foreach $testname (keys(%{$testdata})) { # Get (line number -> count) hash for this test case - $testcount = $hash{$testname}; + $testcount = $testdata->{$testname}; + $testfnccount = $testfncdata->{$testname}; + $testbrcount = $testbrdata->{$testname}; # Calculate sum ($found, $hit) = get_found_and_hit($testcount); + ($fn_found, $fn_hit) = get_func_found_and_hit($testfnccount); + ($br_found, $br_hit) = get_br_found_and_hit($testbrcount); if ($hit>0) { - $result{$testname} = "$found,$hit"; + $result{$testname} = "$found,$hit,$fn_found,$fn_hit,". + "$br_found,$br_hit"; } } @@ -2873,9 +4922,21 @@ sub get_affecting_tests($) } +sub get_hash_reverse($) +{ + my ($hash) = @_; + my %result; + + foreach (keys(%{$hash})) { + $result{$hash->{$_}} = $_; + } + + return \%result; +} + # # write_source(filehandle, source_filename, count_data, checksum_data, -# converted_data) +# converted_data, func_data, sumbrcount) # # Write an HTML view of a source code file. Returns a list containing # data as needed by gen_png(). @@ -2883,7 +4944,7 @@ sub get_affecting_tests($) # Die on error. # -sub write_source($$$$$) +sub write_source($$$$$$$) { local *HTML_HANDLE = $_[0]; local *SOURCE_HANDLE; @@ -2893,6 +4954,10 @@ sub write_source($$$$$) my @result; my $checkdata = $_[3]; my $converted = $_[4]; + my $funcdata = $_[5]; + my $sumbrcount = $_[6]; + my $datafunc = get_hash_reverse($funcdata); + my $add_anchor; if ($_[2]) { @@ -2908,6 +4973,9 @@ sub write_source($$$$$) { chomp($_); + # Also remove CR from line-end + s/\015$//; + # Source code matches coverage data? if (defined($checkdata->{$line_number}) && ($checkdata->{$line_number} ne md5_base64($_))) @@ -2916,10 +4984,25 @@ sub write_source($$$$$) "$line_number\n"); } + $add_anchor = 0; + if ($frames) { + if (($line_number - 1) % $nav_resolution == 0) { + $add_anchor = 1; + } + } + if ($func_coverage) { + if ($line_number == 1) { + $add_anchor = 1; + } elsif (defined($datafunc->{$line_number + + $func_offset})) { + $add_anchor = 1; + } + } push (@result, write_source_line(HTML_HANDLE, $line_number, $_, $count_data{$line_number}, - $converted->{$line_number})); + $converted->{$line_number}, + $sumbrcount->{$line_number}, $add_anchor)); } close(SOURCE_HANDLE); @@ -2928,6 +5011,141 @@ sub write_source($$$$$) } +sub funcview_get_func_code($$$) +{ + my ($name, $base, $type) = @_; + my $result; + my $link; + + if ($sort && $type == 1) { + $link = "$name.func.$html_ext"; + } + $result = "Function Name"; + $result .= get_sort_code($link, "Sort by function name", $base); + + return $result; +} + +sub funcview_get_count_code($$$) +{ + my ($name, $base, $type) = @_; + my $result; + my $link; + + if ($sort && $type == 0) { + $link = "$name.func-sort-c.$html_ext"; + } + $result = "Hit count"; + $result .= get_sort_code($link, "Sort by hit count", $base); + + return $result; +} + +# +# funcview_get_sorted(funcdata, sumfncdata, sort_type) +# +# Depending on the value of sort_type, return a list of functions sorted +# by name (type 0) or by the associated call count (type 1). +# + +sub funcview_get_sorted($$$) +{ + my ($funcdata, $sumfncdata, $type) = @_; + + if ($type == 0) { + return sort(keys(%{$funcdata})); + } + return sort({$sumfncdata->{$b} <=> $sumfncdata->{$a}} + keys(%{$sumfncdata})); +} + +# +# write_function_table(filehandle, source_file, sumcount, funcdata, +# sumfnccount, testfncdata, sumbrcount, testbrdata, +# base_name, base_dir, sort_type) +# +# Write an HTML table listing all functions in a source file, including +# also function call counts and line coverages inside of each function. +# +# Die on error. +# + +sub write_function_table(*$$$$$$$$$$) +{ + local *HTML_HANDLE = $_[0]; + my $source = $_[1]; + my $sumcount = $_[2]; + my $funcdata = $_[3]; + my $sumfncdata = $_[4]; + my $testfncdata = $_[5]; + my $sumbrcount = $_[6]; + my $testbrdata = $_[7]; + my $name = $_[8]; + my $base = $_[9]; + my $type = $_[10]; + my $func; + my $func_code; + my $count_code; + + # Get HTML code for headings + $func_code = funcview_get_func_code($name, $base, $type); + $count_code = funcview_get_count_code($name, $base, $type); + write_html(*HTML_HANDLE, < + + + + + + +END_OF_HTML + ; + + # Get a sorted table + foreach $func (funcview_get_sorted($funcdata, $sumfncdata, $type)) { + if (!defined($funcdata->{$func})) + { + next; + } + + my $startline = $funcdata->{$func} - $func_offset; + my $name = $func; + my $count = $sumfncdata->{$name}; + my $countstyle; + + # Demangle C++ function names if requested + if ($demangle_cpp) { + $name = `c++filt "$name"`; + chomp($name); + } + # Escape any remaining special characters + $name = escape_html($name); + if ($startline < 1) { + $startline = 1; + } + if ($count == 0) { + $countstyle = "coverFnLo"; + } else { + $countstyle = "coverFnHi"; + } + + write_html(*HTML_HANDLE, < + + + +END_OF_HTML + ; + } + write_html(*HTML_HANDLE, < +
+ +END_OF_HTML + ; +} + + # # info(printf_parameter) # @@ -2982,57 +5200,45 @@ sub subtract_counts($$) # -# add_counts(data1_ref, data2_ref) +# subtract_fnccounts(data, base) # -# DATA1_REF and DATA2_REF are references to hashes containing a mapping -# -# line number -> execution count -# -# Return a list (RESULT_REF, LINES_FOUND, LINES_HIT) where RESULT_REF -# is a reference to a hash containing the combined mapping in which -# execution counts are added. +# Subtract function call counts found in base from those in data. +# Return (data, f_found, f_hit). # -sub add_counts($$) +sub subtract_fnccounts($$) { - my %data1 = %{$_[0]}; # Hash 1 - my %data2 = %{$_[1]}; # Hash 2 - my %result; # Resulting hash - my $line; # Current line iteration scalar - my $data1_count; # Count of line in hash1 - my $data2_count; # Count of line in hash2 - my $found = 0; # Total number of lines found - my $hit = 0; # Number of lines with a count > 0 + my %data; + my %base; + my $func; + my $data_count; + my $base_count; + my $fn_hit = 0; + my $fn_found = 0; - foreach $line (keys(%data1)) - { - $data1_count = $data1{$line}; - $data2_count = $data2{$line}; + %data = %{$_[0]} if (defined($_[0])); + %base = %{$_[1]} if (defined($_[1])); + foreach $func (keys(%data)) { + $fn_found++; + $data_count = $data{$func}; + $base_count = $base{$func}; - # Add counts if present in both hashes - if (defined($data2_count)) { $data1_count += $data2_count; } + if (defined($base_count)) { + $data_count -= $base_count; - # Store sum in %result - $result{$line} = $data1_count; + # Make sure we don't get negative numbers + if ($data_count < 0) { + $data_count = 0; + } + } - $found++; - if ($data1_count > 0) { $hit++; } + $data{$func} = $data_count; + if ($data_count > 0) { + $fn_hit++; + } } - # Add lines unique to data2 - foreach $line (keys(%data2)) - { - # Skip lines already in data1 - if (defined($data1{$line})) { next; } - - # Copy count from data2 - $result{$line} = $data2{$line}; - - $found++; - if ($result{$line} > 0) { $hit++; } - } - - return (\%result, $found, $hit); + return (\%data, $fn_found, $fn_hit); } @@ -3053,14 +5259,25 @@ sub apply_baseline($$) my $data_testdata; my $data_funcdata; my $data_checkdata; + my $data_testfncdata; + my $data_testbrdata; my $data_count; + my $data_testfnccount; + my $data_testbrcount; my $base; - my $base_testdata; my $base_checkdata; + my $base_sumfnccount; + my $base_sumbrcount; my $base_count; my $sumcount; + my $sumfnccount; + my $sumbrcount; my $found; my $hit; + my $fn_found; + my $fn_hit; + my $br_found; + my $br_hit; foreach $filename (keys(%data_hash)) { @@ -3068,50 +5285,80 @@ sub apply_baseline($$) $data = $data_hash{$filename}; $base = $base_hash{$filename}; + # Skip data entries for which no base entry exists + if (!defined($base)) + { + next; + } + # Get set entries for data and baseline - ($data_testdata, undef, $data_funcdata, $data_checkdata) = + ($data_testdata, undef, $data_funcdata, $data_checkdata, + $data_testfncdata, undef, $data_testbrdata) = get_info_entry($data); - ($base_testdata, $base_count, undef, $base_checkdata) = + (undef, $base_count, undef, $base_checkdata, undef, + $base_sumfnccount, undef, $base_sumbrcount) = get_info_entry($base); # Check for compatible checksums merge_checksums($data_checkdata, $base_checkdata, $filename); - # Sumcount has to be calculated anew + # sumcount has to be calculated anew $sumcount = {}; + $sumfnccount = {}; + $sumbrcount = {}; # For each test case, subtract test specific counts foreach $testname (keys(%{$data_testdata})) { # Get counts of both data and baseline $data_count = $data_testdata->{$testname}; - - $hit = 0; + $data_testfnccount = $data_testfncdata->{$testname}; + $data_testbrcount = $data_testbrdata->{$testname}; ($data_count, undef, $hit) = subtract_counts($data_count, $base_count); + ($data_testfnccount) = + subtract_fnccounts($data_testfnccount, + $base_sumfnccount); + ($data_testbrcount) = + combine_brcount($data_testbrcount, + $base_sumbrcount, $BR_SUB); + # Check whether this test case did hit any line at all if ($hit > 0) { # Write back resulting hash $data_testdata->{$testname} = $data_count; + $data_testfncdata->{$testname} = + $data_testfnccount; + $data_testbrdata->{$testname} = + $data_testbrcount; } else { # Delete test case which did not impact this # file delete($data_testdata->{$testname}); + delete($data_testfncdata->{$testname}); + delete($data_testbrdata->{$testname}); } # Add counts to sum of counts ($sumcount, $found, $hit) = add_counts($sumcount, $data_count); + ($sumfnccount, $fn_found, $fn_hit) = + add_fnccount($sumfnccount, $data_testfnccount); + ($sumbrcount, $br_found, $br_hit) = + combine_brcount($sumbrcount, $data_testbrcount, + $BR_ADD); } # Write back resulting entry - set_info_entry($data, $data_testdata, $sumcount, - $data_funcdata, $data_checkdata, $found, $hit); + set_info_entry($data, $data_testdata, $sumcount, $data_funcdata, + $data_checkdata, $data_testfncdata, $sumfnccount, + $data_testbrdata, $sumbrcount, $found, $hit, + $fn_found, $fn_hit, $br_found, $br_hit); $data_hash{$filename} = $data; } @@ -3164,179 +5411,6 @@ sub remove_unused_descriptions() } -# -# merge_checksums(ref1, ref2, filename) -# -# REF1 and REF2 are references to hashes containing a mapping -# -# line number -> checksum -# -# Merge checksum lists defined in REF1 and REF2 and return reference to -# resulting hash. Die if a checksum for a line is defined in both hashes -# but does not match. -# - -sub merge_checksums($$$) -{ - my $ref1 = $_[0]; - my $ref2 = $_[1]; - my $filename = $_[2]; - my %result; - my $line; - - foreach $line (keys(%{$ref1})) - { - if (defined($ref2->{$line}) && - ($ref1->{$line} ne $ref2->{$line})) - { - die("ERROR: checksum mismatch at $filename:$line\n"); - } - $result{$line} = $ref1->{$line}; - } - - foreach $line (keys(%{$ref2})) - { - $result{$line} = $ref2->{$line}; - } - - return \%result; -} - - -# -# combine_info_entries(entry_ref1, entry_ref2, filename) -# -# Combine .info data entry hashes referenced by ENTRY_REF1 and ENTRY_REF2. -# Return reference to resulting hash. -# - -sub combine_info_entries($$$) -{ - my $entry1 = $_[0]; # Reference to hash containing first entry - my $testdata1; - my $sumcount1; - my $funcdata1; - my $checkdata1; - - my $entry2 = $_[1]; # Reference to hash containing second entry - my $testdata2; - my $sumcount2; - my $funcdata2; - my $checkdata2; - - my %result; # Hash containing combined entry - my %result_testdata; - my $result_sumcount = {}; - my %result_funcdata; - my $lines_found; - my $lines_hit; - - my $testname; - my $filename = $_[2]; - - # Retrieve data - ($testdata1, $sumcount1, $funcdata1, $checkdata1) = - get_info_entry($entry1); - ($testdata2, $sumcount2, $funcdata2, $checkdata2) = - get_info_entry($entry2); - - # Merge checksums - $checkdata1 = merge_checksums($checkdata1, $checkdata2, $filename); - - # Combine funcdata - foreach (keys(%{$funcdata1})) - { - $result_funcdata{$_} = $funcdata1->{$_}; - } - - foreach (keys(%{$funcdata2})) - { - $result_funcdata{$_} = $funcdata2->{$_}; - } - - # Combine testdata - foreach $testname (keys(%{$testdata1})) - { - if (defined($testdata2->{$testname})) - { - # testname is present in both entries, requires - # combination - ($result_testdata{$testname}) = - add_counts($testdata1->{$testname}, - $testdata2->{$testname}); - } - else - { - # testname only present in entry1, add to result - $result_testdata{$testname} = $testdata1->{$testname}; - } - - # update sum count hash - ($result_sumcount, $lines_found, $lines_hit) = - add_counts($result_sumcount, - $result_testdata{$testname}); - } - - foreach $testname (keys(%{$testdata2})) - { - # Skip testnames already covered by previous iteration - if (defined($testdata1->{$testname})) { next; } - - # testname only present in entry2, add to result hash - $result_testdata{$testname} = $testdata2->{$testname}; - - # update sum count hash - ($result_sumcount, $lines_found, $lines_hit) = - add_counts($result_sumcount, - $result_testdata{$testname}); - } - - # Calculate resulting sumcount - - # Store result - set_info_entry(\%result, \%result_testdata, $result_sumcount, - \%result_funcdata, $checkdata1, $lines_found, - $lines_hit); - - return(\%result); -} - - -# -# combine_info_files(info_ref1, info_ref2) -# -# Combine .info data in hashes referenced by INFO_REF1 and INFO_REF2. Return -# reference to resulting hash. -# - -sub combine_info_files($$) -{ - my %hash1 = %{$_[0]}; - my %hash2 = %{$_[1]}; - my $filename; - - foreach $filename (keys(%hash2)) - { - if ($hash1{$filename}) - { - # Entry already exists in hash1, combine them - $hash1{$filename} = - combine_info_entries($hash1{$filename}, - $hash2{$filename}, - $filename); - } - else - { - # Entry is unique in both hashes, simply add to - # resulting hash - $hash1{$filename} = $hash2{$filename}; - } - } - - return(\%hash1); -} - - # # apply_prefix(filename, prefix) # @@ -3387,7 +5461,7 @@ sub system_no_output($@) # Redirect to /dev/null ($mode & 1) && open(STDOUT, ">/dev/null"); ($mode & 2) && open(STDERR, ">/dev/null"); - + system(@_); $result = $?; @@ -3398,7 +5472,7 @@ sub system_no_output($@) # Restore old handles ($mode & 1) && open(STDOUT, ">>&OLD_STDOUT"); ($mode & 2) && open(STDERR, ">>&OLD_STDERR"); - + return $result; } @@ -3473,3 +5547,102 @@ sub apply_config($) } } } + + +# +# get_html_prolog(FILENAME) +# +# If FILENAME is defined, return contents of file. Otherwise return default +# HTML prolog. Die on error. +# + +sub get_html_prolog($) +{ + my $filename = $_[0]; + my $result = ""; + + if (defined($filename)) + { + local *HANDLE; + + open(HANDLE, "<".$filename) + or die("ERROR: cannot open html prolog $filename!\n"); + while () + { + $result .= $_; + } + close(HANDLE); + } + else + { + $result = < + + + + + + \@pagetitle\@ + + + + + +END_OF_HTML + ; + } + + return $result; +} + + +# +# get_html_epilog(FILENAME) +# +# If FILENAME is defined, return contents of file. Otherwise return default +# HTML epilog. Die on error. +# +sub get_html_epilog($) +{ + my $filename = $_[0]; + my $result = ""; + + if (defined($filename)) + { + local *HANDLE; + + open(HANDLE, "<".$filename) + or die("ERROR: cannot open html epilog $filename!\n"); + while () + { + $result .= $_; + } + close(HANDLE); + } + else + { + $result = < + +END_OF_HTML + ; + } + + return $result; + +} + +sub warn_handler($) +{ + my ($msg) = @_; + + warn("$tool_name: $msg"); +} + +sub die_handler($) +{ + my ($msg) = @_; + + die("$tool_name: $msg"); +} diff --git a/utils/lcov/geninfo b/utils/lcov/geninfo index 9e2faec6b..eedd1720c 100755 --- a/utils/lcov/geninfo +++ b/utils/lcov/geninfo @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# Copyright (c) International Business Machines Corp., 2002 +# Copyright (c) International Business Machines Corp., 2002,2010 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,18 +44,24 @@ # 2004-02-16 / Andreas Krebbel: Added support for .gcno/.gcda files and # gcov versioning # 2004-08-09 / Peter Oberparleiter: added configuration file support +# 2008-07-14 / Tom Zoerner: added --function-coverage command line option +# 2008-08-13 / Peter Oberparleiter: modified function coverage +# implementation (now enabled per default) # use strict; use File::Basename; +use File::Spec::Functions qw /abs2rel catdir file_name_is_absolute splitdir + splitpath/; use Getopt::Long; use Digest::MD5 qw(md5_base64); # Constants -our $lcov_version = "LTP GCOV extension version 1.4"; +our $lcov_version = 'LCOV version 1.9'; our $lcov_url = "http://ltp.sourceforge.net/coverage/lcov.php"; our $gcov_tool = "gcov"; +our $tool_name = basename($0); our $GCOV_VERSION_3_4_0 = 0x30400; our $GCOV_VERSION_3_3_0 = 0x30300; @@ -64,31 +70,79 @@ our $GCNO_LINES_TAG = 0x01450000; our $GCNO_FILE_MAGIC = 0x67636e6f; our $BBG_FILE_MAGIC = 0x67626267; -our $COMPAT_SLES9 = "sles9"; +our $COMPAT_HAMMER = "hammer"; + +our $ERROR_GCOV = 0; +our $ERROR_SOURCE = 1; +our $ERROR_GRAPH = 2; + +our $EXCL_START = "LCOV_EXCL_START"; +our $EXCL_STOP = "LCOV_EXCL_STOP"; +our $EXCL_LINE = "LCOV_EXCL_LINE"; + +our $BR_LINE = 0; +our $BR_BLOCK = 1; +our $BR_BRANCH = 2; +our $BR_TAKEN = 3; +our $BR_VEC_ENTRIES = 4; +our $BR_VEC_WIDTH = 32; + +our $UNNAMED_BLOCK = 9999; # Prototypes sub print_usage(*); sub gen_info($); -sub process_dafile($); +sub process_dafile($$); sub match_filename($@); sub solve_ambiguous_match($$$); sub split_filename($); sub solve_relative_path($$); -sub get_dir($); sub read_gcov_header($); sub read_gcov_file($); -sub read_bb_file($); -sub read_string(*$); -sub read_gcno_file($); -sub read_gcno_string(*$); -sub read_sles9_bbg_file($); -sub read_sles9_bbg_string(*$); -sub unpack_int32($$); sub info(@); sub get_gcov_version(); sub system_no_output($@); sub read_config($); sub apply_config($); +sub get_exclusion_data($); +sub apply_exclusion_data($$); +sub process_graphfile($$); +sub filter_fn_name($); +sub warn_handler($); +sub die_handler($); +sub graph_error($$); +sub graph_expect($); +sub graph_read(*$;$); +sub graph_skip(*$;$); +sub sort_uniq(@); +sub sort_uniq_lex(@); +sub graph_cleanup($); +sub graph_find_base($); +sub graph_from_bb($$$); +sub graph_add_order($$$); +sub read_bb_word(*;$); +sub read_bb_value(*;$); +sub read_bb_string(*$); +sub read_bb($$); +sub read_bbg_word(*;$); +sub read_bbg_value(*;$); +sub read_bbg_string(*); +sub read_bbg_lines_record(*$$$$$$); +sub read_bbg($$); +sub read_gcno_word(*;$); +sub read_gcno_value(*$;$); +sub read_gcno_string(*$); +sub read_gcno_lines_record(*$$$$$$$); +sub read_gcno_function_record(*$$$$); +sub read_gcno($$); +sub get_gcov_capabilities(); +sub get_overall_line($$$$); +sub print_overall_rate($$$$$$$$$); +sub br_gvec_len($); +sub br_gvec_get($$); +sub debug($); +sub int_handler(); + # Global variables our $gcov_version; @@ -96,18 +150,30 @@ our $graph_file_extension; our $data_file_extension; our @data_directory; our $test_name = ""; -our $source_dirs = ""; our $quiet; our $help; our $output_filename; +our $base_directory; our $version; our $follow; -our $nochecksum; -our $preserve_paths; -our $adjust_testname = (`uname -m` =~ /^s390/); # Always on on s390 +our $checksum; +our $no_checksum; +our $compat_libtool; +our $no_compat_libtool; +our $adjust_testname; our $config; # Configuration file contents our $compatibility; # Compatibility version flag - used to indicate # non-standard GCOV data format versions +our @ignore_errors; # List of errors to ignore (parameter) +our @ignore; # List of errors to ignore (array) +our $initial; +our $no_recursion = 0; +our $maxdepth; +our $no_markers = 0; +our $opt_derive_func_data = 0; +our $debug = 0; +our $gcov_caps; +our @gcov_options; our $cwd = `pwd`; chomp($cwd); @@ -119,9 +185,17 @@ chomp($cwd); # Register handler routine to be called when interrupted $SIG{"INT"} = \&int_handler; +$SIG{__WARN__} = \&warn_handler; +$SIG{__DIE__} = \&die_handler; + +# Prettify version string +$lcov_version =~ s/\$\s*Revision\s*:?\s*(\S+)\s*\$/$1/; + +# Set LANG so that gcov output will be in a unified format +$ENV{"LANG"} = "C"; # Read configuration file if available -if (-r $ENV{"HOME"}."/.lcovrc") +if (defined($ENV{"HOME"}) && (-r $ENV{"HOME"}."/.lcovrc")) { $config = read_config($ENV{"HOME"}."/.lcovrc"); } @@ -136,23 +210,57 @@ if ($config) apply_config({ "geninfo_gcov_tool" => \$gcov_tool, "geninfo_adjust_testname" => \$adjust_testname, - "geninfo_no_checksum" => \$nochecksum}); + "geninfo_checksum" => \$checksum, + "geninfo_no_checksum" => \$no_checksum, # deprecated + "geninfo_compat_libtool" => \$compat_libtool}); + + # Merge options + if (defined($no_checksum)) + { + $checksum = ($no_checksum ? 0 : 1); + $no_checksum = undef; + } } # Parse command line options -if (!GetOptions("test-name=s" => \$test_name, - "output-filename=s" => \$output_filename, - "source-dirs=s" => \$source_dirs, - "no-checksum" => \$nochecksum, - "version" =>\$version, - "quiet" => \$quiet, - "help" => \$help, - "follow" => \$follow +if (!GetOptions("test-name|t=s" => \$test_name, + "output-filename|o=s" => \$output_filename, + "checksum" => \$checksum, + "no-checksum" => \$no_checksum, + "base-directory|b=s" => \$base_directory, + "version|v" =>\$version, + "quiet|q" => \$quiet, + "help|h|?" => \$help, + "follow|f" => \$follow, + "compat-libtool" => \$compat_libtool, + "no-compat-libtool" => \$no_compat_libtool, + "gcov-tool=s" => \$gcov_tool, + "ignore-errors=s" => \@ignore_errors, + "initial|i" => \$initial, + "no-recursion" => \$no_recursion, + "no-markers" => \$no_markers, + "derive-func-data" => \$opt_derive_func_data, + "debug" => \$debug, )) { - print_usage(*STDERR); + print(STDERR "Use $tool_name --help to get usage information\n"); exit(1); } +else +{ + # Merge options + if (defined($no_checksum)) + { + $checksum = ($no_checksum ? 0 : 1); + $no_checksum = undef; + } + + if (defined($no_compat_libtool)) + { + $compat_libtool = ($no_compat_libtool ? 0 : 1); + $no_compat_libtool = undef; + } +} @data_directory = @ARGV; @@ -166,17 +274,29 @@ if ($help) # Check for version option if ($version) { - print($lcov_version."\n"); + print("$tool_name: $lcov_version\n"); exit(0); } -# Adjust test name if necessary (standard for s390 architecture) +# Make sure test names only contain valid characters +if ($test_name =~ s/\W/_/g) +{ + warn("WARNING: invalid characters removed from testname!\n"); +} + +# Adjust test name to include uname output if requested if ($adjust_testname) { $test_name .= "__".`uname -a`; $test_name =~ s/\W/_/g; } +# Make sure base_directory contains an absolute path specification +if ($base_directory) +{ + $base_directory = solve_relative_path($cwd, $base_directory); +} + # Check for follow option if ($follow) { @@ -187,12 +307,44 @@ else $follow = ""; } +# Determine checksum mode +if (defined($checksum)) +{ + # Normalize to boolean + $checksum = ($checksum ? 1 : 0); +} +else +{ + # Default is off + $checksum = 0; +} + +# Determine libtool compatibility mode +if (defined($compat_libtool)) +{ + $compat_libtool = ($compat_libtool? 1 : 0); +} +else +{ + # Default is on + $compat_libtool = 1; +} + +# Determine max depth for recursion +if ($no_recursion) +{ + $maxdepth = "-maxdepth 1"; +} +else +{ + $maxdepth = ""; +} + # Check for directory name if (!@data_directory) { - print(STDERR "No directory specified\n"); - print_usage(*STDERR); - exit(1); + die("No directory specified\n". + "Use $tool_name --help to get usage information\n"); } else { @@ -206,6 +358,32 @@ else } } +if (@ignore_errors) +{ + my @expanded; + my $error; + + # Expand comma-separated entries + foreach (@ignore_errors) { + if (/,/) + { + push(@expanded, split(",", $_)); + } + else + { + push(@expanded, $_); + } + } + + foreach (@expanded) + { + /^gcov$/ && do { $ignore[$ERROR_GCOV] = 1; next; } ; + /^source$/ && do { $ignore[$ERROR_SOURCE] = 1; next; }; + /^graph$/ && do { $ignore[$ERROR_GRAPH] = 1; next; }; + die("ERROR: unknown argument for --ignore-errors: $_\n"); + } +} + if (system_no_output(3, $gcov_tool, "--help") == -1) { die("ERROR: need tool $gcov_tool!\n"); @@ -215,7 +393,7 @@ $gcov_version = get_gcov_version(); if ($gcov_version < $GCOV_VERSION_3_4_0) { - if (defined($compatibility) && $compatibility eq $COMPAT_SLES9) + if (defined($compatibility) && $compatibility eq $COMPAT_HAMMER) { $data_file_extension = ".da"; $graph_file_extension = ".bbg"; @@ -232,11 +410,16 @@ else $graph_file_extension = ".gcno"; } -# Check for availability of --preserve-paths option of gcov -if (`$gcov_tool --help` =~ /--preserve-paths/) -{ - $preserve_paths = "--preserve-paths"; -} +# Determine gcov options +$gcov_caps = get_gcov_capabilities(); +push(@gcov_options, "-b") if ($gcov_caps->{'branch-probabilities'}); +push(@gcov_options, "-c") if ($gcov_caps->{'branch-counts'}); +# Below branch option is disabled due to a reported compiler bug +# present in gcc-4.5 version and earlier. If enabled, gcov will hang on +# such compilers. This workaround just means that lcov won't be able +# to separate multiple branch blocks in a line. +# push(@gcov_options, "-a") if ($gcov_caps->{'all-blocks'}); +push(@gcov_options, "-p") if ($gcov_caps->{'preserve-paths'}); # Check output filename if (defined($output_filename) && ($output_filename ne "-")) @@ -257,9 +440,13 @@ if (defined($output_filename) && ($output_filename ne "-")) } # Do something -foreach (@data_directory) -{ - gen_info($_); +foreach my $entry (@data_directory) { + gen_info($entry); +} + +if ($initial) { + warn("Note: --initial does not generate branch coverage ". + "data\n"); } info("Finished .info-file creation\n"); @@ -276,28 +463,70 @@ exit(0); sub print_usage(*) { local *HANDLE = $_[0]; - my $tool_name = basename($0); print(HANDLE </dev/null`; + @file_list = `find "$directory" $maxdepth $follow -name \\*$ext -type f 2>/dev/null`; chomp(@file_list); - @file_list or die("ERROR: no $data_file_extension files found ". - "in $directory!\n"); - info("Found %d data files in %s\n", $#file_list+1, $directory); + @file_list or + die("ERROR: no $ext files found in $directory!\n"); + $prefix = get_common_prefix(1, @file_list); + info("Found %d %s files in %s\n", $#file_list+1, $type, + $directory); } else { @file_list = ($directory); + $prefix = ""; } # Process all files in list - foreach (@file_list) { process_dafile($_); } + foreach $file (@file_list) { + # Process file + if ($initial) { + process_graphfile($file, $prefix); + } else { + process_dafile($file, $prefix); + } + } } +sub derive_data($$$) +{ + my ($contentdata, $funcdata, $bbdata) = @_; + my @gcov_content = @{$contentdata}; + my @gcov_functions = @{$funcdata}; + my %fn_count; + my %ln_fn; + my $line; + my $maxline; + my %fn_name; + my $fn; + my $count; + + if (!defined($bbdata)) { + return @gcov_functions; + } + + # First add existing function data + while (@gcov_functions) { + $count = shift(@gcov_functions); + $fn = shift(@gcov_functions); + + $fn_count{$fn} = $count; + } + + # Convert line coverage data to function data + foreach $fn (keys(%{$bbdata})) { + my $line_data = $bbdata->{$fn}; + my $line; + + if ($fn eq "") { + next; + } + # Find the lowest line count for this function + $count = 0; + foreach $line (@$line_data) { + my $lcount = $gcov_content[ ( $line - 1 ) * 3 + 1 ]; + + if (($lcount > 0) && + (($count == 0) || ($lcount < $count))) { + $count = $lcount; + } + } + $fn_count{$fn} = $count; + } + + + # Check if we got data for all functions + foreach $fn (keys(%fn_name)) { + if ($fn eq "") { + next; + } + if (defined($fn_count{$fn})) { + next; + } + warn("WARNING: no derived data found for function $fn\n"); + } + + # Convert hash to list in @gcov_functions format + foreach $fn (sort(keys(%fn_count))) { + push(@gcov_functions, $fn_count{$fn}, $fn); + } + + return @gcov_functions; +} + # -# process_dafile(da_filename) +# get_filenames(directory, pattern) +# +# Return a list of filenames found in directory which match the specified +# pattern. +# +# Die on error. +# + +sub get_filenames($$) +{ + my ($dirname, $pattern) = @_; + my @result; + my $directory; + local *DIR; + + opendir(DIR, $dirname) or + die("ERROR: cannot read directory $dirname\n"); + while ($directory = readdir(DIR)) { + push(@result, $directory) if ($directory =~ /$pattern/); + } + closedir(DIR); + + return @result; +} + +# +# process_dafile(da_filename, dir) # # Create a .info file for a single data file. # # Die on error. # -sub process_dafile($) +sub process_dafile($$) { - info("Processing %s\n", $_[0]); - + my ($file, $dir) = @_; my $da_filename; # Name of data file to process my $da_dir; # Directory of data file + my $source_dir; # Directory of source file my $da_basename; # data filename without ".da/.gcda" extension my $bb_filename; # Name of respective graph file - my %bb_content; # Contents of graph file + my $bb_basename; # Basename of the original graph file + my $graph; # Contents of graph file + my $instr; # Contents of graph file part 2 my $gcov_error; # Error code of gcov tool my $object_dir; # Directory containing all object files my $source_filename; # Name of a source code file my $gcov_file; # Name of a .gcov file my @gcov_content; # Content of a .gcov file - my @gcov_branches; # Branch content of a .gcov file + my $gcov_branches; # Branch content of a .gcov file + my @gcov_functions; # Function calls of a .gcov file my @gcov_list; # List of generated .gcov files my $line_number; # Line number count my $lines_hit; # Number of instrumented lines hit my $lines_found; # Number of instrumented lines found + my $funcs_hit; # Number of instrumented functions hit + my $funcs_found; # Number of instrumented functions found + my $br_hit; + my $br_found; my $source; # gcov source header information my $object; # gcov object header information my @matches; # List of absolute paths matching filename my @unprocessed; # List of unprocessed source code files + my $base_dir; # Base directory for current file + my @tmp_links; # Temporary links to be cleaned up my @result; my $index; my $da_renamed; # If data file is to be renamed local *INFO_HANDLE; + info("Processing %s\n", abs2rel($file, $dir)); # Get path to data file in absolute and normalized form (begins with /, # contains no more ../ or ./) - $da_filename = solve_relative_path($cwd, $_[0]); + $da_filename = solve_relative_path($cwd, $file); # Get directory and basename of data file ($da_dir, $da_basename) = split_filename($da_filename); - # Check for writable $da_dir (gcov will try to write files there) - stat($da_dir); - if (!-w _) - { - die("ERROR: cannot write to directory $da_dir!\n"); + # avoid files from .libs dirs + if ($compat_libtool && $da_dir =~ m/(.*)\/\.libs$/) { + $source_dir = $1; + } else { + $source_dir = $da_dir; } if (-z $da_filename) @@ -417,15 +769,35 @@ sub process_dafile($) $da_renamed = 0; } - # Construct name of graph file - $bb_filename = $da_dir."/".$da_basename.$graph_file_extension; + # Construct base_dir for current file + if ($base_directory) + { + $base_dir = $base_directory; + } + else + { + $base_dir = $source_dir; + } + # Check for writable $base_dir (gcov will try to write files there) + stat($base_dir); + if (!-w _) + { + die("ERROR: cannot write to directory $base_dir!\n"); + } + + # Construct name of graph file + $bb_basename = $da_basename.$graph_file_extension; + $bb_filename = "$da_dir/$bb_basename"; # Find out the real location of graph file in case we're just looking at # a link while (readlink($bb_filename)) { + my $last_dir = dirname($bb_filename); + $bb_filename = readlink($bb_filename); + $bb_filename = solve_relative_path($last_dir, $bb_filename); } # Ignore empty graph file (e.g. source file with no statement) @@ -440,27 +812,27 @@ sub process_dafile($) # information about functions and their source code positions. if ($gcov_version < $GCOV_VERSION_3_4_0) { - if (defined($compatibility) && $compatibility eq $COMPAT_SLES9) + if (defined($compatibility) && $compatibility eq $COMPAT_HAMMER) { - %bb_content = read_sles9_bbg_file($bb_filename); + ($instr, $graph) = read_bbg($bb_filename, $base_dir); } else { - %bb_content = read_bb_file($bb_filename); + ($instr, $graph) = read_bb($bb_filename, $base_dir); } } else { - %bb_content = read_gcno_file($bb_filename); + ($instr, $graph) = read_gcno($bb_filename, $base_dir); } # Set $object_dir to real location of object files. This may differ # from $da_dir if the graph file is just a link to the "real" object - # file location. We need to apply GCOV with using that directory to - # ensure that all relative #include-files are found as well. - ($object_dir) = split_filename($bb_filename); + # file location. + $object_dir = dirname($bb_filename); - # Is the data file in the same directory with all the other files? + # Is the data file in a different directory? (this happens e.g. with + # the gcov-kernel patch) if ($object_dir ne $da_dir) { # Need to create link to data file in $object_dir @@ -468,10 +840,21 @@ sub process_dafile($) "$object_dir/$da_basename$data_file_extension") and die ("ERROR: cannot create link $object_dir/". "$da_basename$data_file_extension!\n"); + push(@tmp_links, + "$object_dir/$da_basename$data_file_extension"); + # Need to create link to graph file if basename of link + # and file are different (CONFIG_MODVERSION compat) + if ((basename($bb_filename) ne $bb_basename) && + (! -e "$object_dir/$bb_basename")) { + symlink($bb_filename, "$object_dir/$bb_basename") or + warn("WARNING: cannot create link ". + "$object_dir/$bb_basename\n"); + push(@tmp_links, "$object_dir/$bb_basename"); + } } # Change to directory containing data files and apply GCOV - #chdir($object_dir); + chdir($base_dir); if ($da_renamed) { @@ -482,19 +865,8 @@ sub process_dafile($) } # Execute gcov command and suppress standard output - if ($preserve_paths) - { - $gcov_error = system_no_output(1, $gcov_tool, $da_basename.".c", - "-o", $object_dir, - "--preserve-paths", - "-b"); - } - else - { - $gcov_error = system_no_output(1, $gcov_tool, $da_basename.".c", - "-o", $object_dir, - "-b"); - } + $gcov_error = system_no_output(1, $gcov_tool, $da_filename, + "-o", $object_dir, @gcov_options); if ($da_renamed) { @@ -502,16 +874,23 @@ sub process_dafile($) and die ("ERROR: cannot rename $da_filename.ori"); } - # Clean up link - if ($object_dir ne $da_dir) - { - unlink($object_dir."/".$da_basename.$data_file_extension); + # Clean up temporary links + foreach (@tmp_links) { + unlink($_); } - $gcov_error and die("ERROR: GCOV failed for $da_filename!\n"); + if ($gcov_error) + { + if ($ignore[$ERROR_GCOV]) + { + warn("WARNING: GCOV failed for $da_filename!\n"); + return; + } + die("ERROR: GCOV failed for $da_filename!\n"); + } # Collect data from resulting .gcov files and create .info file - @gcov_list = glob("*.gcov"); + @gcov_list = get_filenames('.', '\.gcov$'); # Check for files if (!@gcov_list) @@ -547,26 +926,35 @@ sub process_dafile($) # Traverse the list of generated .gcov files and combine them into a # single .info file - @unprocessed = keys(%bb_content); - foreach $gcov_file (@gcov_list) + @unprocessed = keys(%{$instr}); + foreach $gcov_file (sort(@gcov_list)) { + my $i; + my $num; + ($source, $object) = read_gcov_header($gcov_file); - if ($source) + if (defined($source)) { - $source = solve_relative_path($object_dir, $source); + $source = solve_relative_path($base_dir, $source); } # gcov will happily create output even if there's no source code - # available - this interfers with checksum creation so we need + # available - this interferes with checksum creation so we need # to pull the emergency brake here. - if (defined($source) && ! -r $source && ! $nochecksum) + if (defined($source) && ! -r $source && $checksum) { + if ($ignore[$ERROR_SOURCE]) + { + warn("WARNING: could not read source file ". + "$source\n"); + next; + } die("ERROR: could not read source file $source\n"); } @matches = match_filename(defined($source) ? $source : - $gcov_file, keys(%bb_content)); + $gcov_file, keys(%{$instr})); # Skip files that are not mentioned in the graph file if (!@matches) @@ -580,8 +968,15 @@ sub process_dafile($) # Read in contents of gcov file @result = read_gcov_file($gcov_file); + if (!defined($result[0])) { + warn("WARNING: skipping unreadable file ". + $gcov_file."\n"); + unlink($gcov_file); + next; + } @gcov_content = @{$result[0]}; - @gcov_branches = @{$result[1]}; + $gcov_branches = $result[1]; + @gcov_functions = @{$result[2]}; # Skip empty files if (!@gcov_content) @@ -616,15 +1011,96 @@ sub process_dafile($) # Write absolute path of source file printf(INFO_HANDLE "SF:%s\n", $source_filename); + # If requested, derive function coverage data from + # line coverage data of the first line of a function + if ($opt_derive_func_data) { + @gcov_functions = + derive_data(\@gcov_content, \@gcov_functions, + $graph->{$source_filename}); + } + # Write function-related information - foreach (split(",",$bb_content{$source_filename})) + if (defined($graph->{$source_filename})) { - # Write "line_number,function_name" for each function. - # Note that $_ contains this information in the form - # "function_name=line_number" so that the order of - # elements has to be reversed. - printf(INFO_HANDLE "FN:%s\n", - join(",", (split("=", $_))[1,0])); + my $fn_data = $graph->{$source_filename}; + my $fn; + + foreach $fn (sort + {$fn_data->{$a}->[0] <=> $fn_data->{$b}->[0]} + keys(%{$fn_data})) { + my $ln_data = $fn_data->{$fn}; + my $line = $ln_data->[0]; + + # Skip empty function + if ($fn eq "") { + next; + } + # Remove excluded functions + if (!$no_markers) { + my $gfn; + my $found = 0; + + foreach $gfn (@gcov_functions) { + if ($gfn eq $fn) { + $found = 1; + last; + } + } + if (!$found) { + next; + } + } + + # Normalize function name + $fn = filter_fn_name($fn); + + print(INFO_HANDLE "FN:$line,$fn\n"); + } + } + + #-- + #-- FNDA: , + #-- FNF: overall count of functions + #-- FNH: overall count of functions with non-zero call count + #-- + $funcs_found = 0; + $funcs_hit = 0; + while (@gcov_functions) + { + my $count = shift(@gcov_functions); + my $fn = shift(@gcov_functions); + + $fn = filter_fn_name($fn); + printf(INFO_HANDLE "FNDA:$count,$fn\n"); + $funcs_found++; + $funcs_hit++ if ($count > 0); + } + if ($funcs_found > 0) { + printf(INFO_HANDLE "FNF:%s\n", $funcs_found); + printf(INFO_HANDLE "FNH:%s\n", $funcs_hit); + } + + # Write coverage information for each instrumented branch: + # + # BRDA:,,, + # + # where 'taken' is the number of times the branch was taken + # or '-' if the block to which the branch belongs was never + # executed + $br_found = 0; + $br_hit = 0; + $num = br_gvec_len($gcov_branches); + for ($i = 0; $i < $num; $i++) { + my ($line, $block, $branch, $taken) = + br_gvec_get($gcov_branches, $i); + + print(INFO_HANDLE "BRDA:$line,$block,$branch,$taken\n"); + $br_found++; + $br_hit++ if ($taken ne '-' && $taken > 0); + } + if ($br_found > 0) { + printf(INFO_HANDLE "BRF:%s\n", $br_found); + printf(INFO_HANDLE "BRH:%s\n", $br_hit); } # Reset line counters @@ -644,8 +1120,8 @@ sub process_dafile($) { $lines_found++; printf(INFO_HANDLE "DA:".$line_number.",". - $gcov_content[1].($nochecksum ? "" : - ",". md5_base64($gcov_content[2])). + $gcov_content[1].($checksum ? + ",". md5_base64($gcov_content[2]) : ""). "\n"); # Increase $lines_hit in case of an execution @@ -657,27 +1133,6 @@ sub process_dafile($) splice(@gcov_content,0,3); } - #-- - #-- BA: , - #-- - #-- print one BA line for every branch of a - #-- conditional. values - #-- are: - #-- 0 - not executed - #-- 1 - executed but not taken - #-- 2 - executed and taken - #-- - while (@gcov_branches) - { - if ($gcov_branches[0]) - { - printf(INFO_HANDLE "BA:%s,%s\n", - $gcov_branches[0], - $gcov_branches[1]); - } - splice(@gcov_branches,0,2); - } - # Write line statistics and section separator printf(INFO_HANDLE "LF:%s\n", $lines_found); printf(INFO_HANDLE "LH:%s\n", $lines_hit); @@ -707,28 +1162,6 @@ sub process_dafile($) } -# cleanup_path (path) -sub cleanup_path($@) -{ - my $result = shift @_; - - # Remove // - $result =~ s/\/\//\//g; - - # Remove . - $result =~ s/\/\.\//\//g; - - # Solve .. - while ($result =~ s/\/[^\/]+\/\.\.\//\//) - { - } - - # Remove preceding .. - $result =~ s/^\/\.\.\//\//g; - - return $result; -} - # # solve_relative_path(path, dir) # @@ -748,18 +1181,20 @@ sub solve_relative_path($$) $result = "$path/$result"; } - $result = cleanup_path ($result); + # Remove // + $result =~ s/\/\//\//g; - if (-f $result) { - return $result; - } - for my $prefix (split (':', $source_dirs)) { - $result = cleanup_path ("$prefix/$dir"); - if (-f $result) { - return $result; - } + # Remove . + $result =~ s/\/\.\//\//g; + + # Solve .. + while ($result =~ s/\/[^\/]+\/\.\.\//\//) + { } + # Remove preceding .. + $result =~ s/^\/\.\.\//\//g; + return $result; } @@ -773,28 +1208,42 @@ sub solve_relative_path($$) sub match_filename($@) { - my $filename = shift; - my @list = @_; + my ($filename, @list) = @_; + my ($vol, $dir, $file) = splitpath($filename); + my @comp = splitdir($dir); + my $comps = scalar(@comp); + my $entry; my @result; - $filename =~ s/^(.*).gcov$/$1/; +entry: + foreach $entry (@list) { + my ($evol, $edir, $efile) = splitpath($entry); + my @ecomp; + my $ecomps; + my $i; - if ($filename =~ /^\/(.*)$/) - { - $filename = "$1"; - } - - foreach (@list) - { - if (/\/\Q$filename\E(.*)$/ && $1 eq "") - { - @result = (@result, $_); + # Filename component must match + if ($efile ne $file) { + next; } + # Check directory components last to first for match + @ecomp = splitdir($edir); + $ecomps = scalar(@ecomp); + if ($ecomps < $comps) { + next; + } + for ($i = 0; $i < $comps; $i++) { + if ($comp[$comps - $i - 1] ne + $ecomp[$ecomps - $i - 1]) { + next entry; + } + } + push(@result, $entry), } + return @result; } - # # solve_ambiguous_match(rel_filename, matches_ref, gcov_content_ref) # @@ -829,6 +1278,9 @@ sub solve_ambiguous_match($$$) { chomp; + # Also remove CR from line-end + s/\015$//; + if ($_ ne @$content[$index]) { $no_match = 1; @@ -866,21 +1318,6 @@ sub split_filename($) } -# -# get_dir(filename); -# -# Return the directory component of a given FILENAME. -# - -sub get_dir($) -{ - my @components = split("/", $_[0]); - pop(@components); - - return join("/", @components); -} - - # # read_gcov_header(gcov_filename) # @@ -903,13 +1340,23 @@ sub read_gcov_header($) my $object; local *INPUT; - open(INPUT, $_[0]) - or die("ERROR: cannot read $_[0]!\n"); + if (!open(INPUT, $_[0])) + { + if ($ignore_errors[$ERROR_GCOV]) + { + warn("WARNING: cannot read $_[0]!\n"); + return (undef,undef); + } + die("ERROR: cannot read $_[0]!\n"); + } while () { chomp($_); + # Also remove CR from line-end + s/\015$//; + if (/^\s+-:\s+0:Source:(.*)$/) { # Source: header entry @@ -932,11 +1379,89 @@ sub read_gcov_header($) } +# +# br_gvec_len(vector) +# +# Return the number of entries in the branch coverage vector. +# + +sub br_gvec_len($) +{ + my ($vec) = @_; + + return 0 if (!defined($vec)); + return (length($vec) * 8 / $BR_VEC_WIDTH) / $BR_VEC_ENTRIES; +} + + +# +# br_gvec_get(vector, number) +# +# Return an entry from the branch coverage vector. +# + +sub br_gvec_get($$) +{ + my ($vec, $num) = @_; + my $line; + my $block; + my $branch; + my $taken; + my $offset = $num * $BR_VEC_ENTRIES; + + # Retrieve data from vector + $line = vec($vec, $offset + $BR_LINE, $BR_VEC_WIDTH); + $block = vec($vec, $offset + $BR_BLOCK, $BR_VEC_WIDTH); + $branch = vec($vec, $offset + $BR_BRANCH, $BR_VEC_WIDTH); + $taken = vec($vec, $offset + $BR_TAKEN, $BR_VEC_WIDTH); + + # Decode taken value from an integer + if ($taken == 0) { + $taken = "-"; + } else { + $taken--; + } + + return ($line, $block, $branch, $taken); +} + + +# +# br_gvec_push(vector, line, block, branch, taken) +# +# Add an entry to the branch coverage vector. +# + +sub br_gvec_push($$$$$) +{ + my ($vec, $line, $block, $branch, $taken) = @_; + my $offset; + + $vec = "" if (!defined($vec)); + $offset = br_gvec_len($vec) * $BR_VEC_ENTRIES; + + # Encode taken value into an integer + if ($taken eq "-") { + $taken = 0; + } else { + $taken++; + } + + # Add to vector + vec($vec, $offset + $BR_LINE, $BR_VEC_WIDTH) = $line; + vec($vec, $offset + $BR_BLOCK, $BR_VEC_WIDTH) = $block; + vec($vec, $offset + $BR_BRANCH, $BR_VEC_WIDTH) = $branch; + vec($vec, $offset + $BR_TAKEN, $BR_VEC_WIDTH) = $taken; + + return $vec; +} + + # # read_gcov_file(gcov_filename) # # Parse file GCOV_FILENAME (.gcov file format) and return the list: -# (reference to gcov_content, reference to gcov_branch) +# (reference to gcov_content, reference to gcov_branch, reference to gcov_func) # # gcov_content is a list of 3 elements # (flag, count, source) for each source code line: @@ -945,8 +1470,11 @@ sub read_gcov_header($) # $result[($line_number-1)*3+1] = execution count for line $line_number # $result[($line_number-1)*3+2] = source code text for line $line_number # -# gcov_branch is a list of 2 elements -# (linenumber, branch result) for each branch +# gcov_branch is a vector of 4 4-byte long elements for each branch: +# line number, block number, branch number, count + 1 or 0 +# +# gcov_func is a list of 2 elements +# (number of calls, function name) for each function # # Die on error. # @@ -955,12 +1483,23 @@ sub read_gcov_file($) { my $filename = $_[0]; my @result = (); - my @branches = (); + my $branches = ""; + my @functions = (); my $number; + my $exclude_flag = 0; + my $exclude_line = 0; + my $last_block = $UNNAMED_BLOCK; + my $last_line = 0; local *INPUT; - open(INPUT, $filename) - or die("ERROR: cannot read $filename!\n"); + if (!open(INPUT, $filename)) { + if ($ignore_errors[$ERROR_GCOV]) + { + warn("WARNING: cannot read $filename!\n"); + return (undef, undef, undef); + } + die("ERROR: cannot read $filename!\n"); + } if ($gcov_version < $GCOV_VERSION_3_3_0) { @@ -969,45 +1508,61 @@ sub read_gcov_file($) { chomp($_); - if (/^\t\t(.*)$/) - { - # Uninstrumented line - push(@result, 0); - push(@result, 0); - push(@result, $1); + # Also remove CR from line-end + s/\015$//; + + if (/^branch\s+(\d+)\s+taken\s+=\s+(\d+)/) { + next if ($exclude_line); + $branches = br_gvec_push($branches, $last_line, + $last_block, $1, $2); + } elsif (/^branch\s+(\d+)\s+never\s+executed/) { + next if ($exclude_line); + $branches = br_gvec_push($branches, $last_line, + $last_block, $1, '-'); } - elsif (/^branch/) - { - # Branch execution data - push(@branches, scalar(@result) / 3); - if (/^branch \d+ never executed$/) - { - push(@branches, 0); - } - elsif (/^branch \d+ taken = 0%/) - { - push(@branches, 1); - } - else - { - push(@branches, 2); - } - } - elsif (/^call/) + elsif (/^call/ || /^function/) { # Function call return data } else { + $last_line++; + # Check for exclusion markers + if (!$no_markers) { + if (/$EXCL_STOP/) { + $exclude_flag = 0; + } elsif (/$EXCL_START/) { + $exclude_flag = 1; + } + if (/$EXCL_LINE/ || $exclude_flag) { + $exclude_line = 1; + } else { + $exclude_line = 0; + } + } # Source code execution data + if (/^\t\t(.*)$/) + { + # Uninstrumented line + push(@result, 0); + push(@result, 0); + push(@result, $1); + next; + } $number = (split(" ",substr($_, 0, 16)))[0]; # Check for zero count which is indicated # by ###### if ($number eq "######") { $number = 0; } - push(@result, 1); - push(@result, $number); + if ($exclude_line) { + # Register uninstrumented line instead + push(@result, 0); + push(@result, 0); + } else { + push(@result, 1); + push(@result, $number); + } push(@result, substr($_, 16)); } } @@ -1019,22 +1574,29 @@ sub read_gcov_file($) { chomp($_); - if (/^branch\s+\d+\s+(\S+)\s+(\S+)/) + # Also remove CR from line-end + s/\015$//; + + if (/^\s*(\d+|\$+):\s*(\d+)-block\s+(\d+)\s*$/) { + # Block information - used to group related + # branches + $last_line = $2; + $last_block = $3; + } elsif (/^branch\s+(\d+)\s+taken\s+(\d+)/) { + next if ($exclude_line); + $branches = br_gvec_push($branches, $last_line, + $last_block, $1, $2); + } elsif (/^branch\s+(\d+)\s+never\s+executed/) { + next if ($exclude_line); + $branches = br_gvec_push($branches, $last_line, + $last_block, $1, '-'); + } + elsif (/^function\s+(\S+)\s+called\s+(\d+)/) { - # Branch execution data - push(@branches, scalar(@result) / 3); - if ($1 eq "never") - { - push(@branches, 0); - } - elsif ($2 eq "0%") - { - push(@branches, 1); - } - else - { - push(@branches, 2); + if ($exclude_line) { + next; } + push(@functions, $2, $1); } elsif (/^call/) { @@ -1042,515 +1604,59 @@ sub read_gcov_file($) } elsif (/^\s*([^:]+):\s*([^:]+):(.*)$/) { + my ($count, $line, $code) = ($1, $2, $3); + + $last_line = $line; + $last_block = $UNNAMED_BLOCK; + # Check for exclusion markers + if (!$no_markers) { + if (/$EXCL_STOP/) { + $exclude_flag = 0; + } elsif (/$EXCL_START/) { + $exclude_flag = 1; + } + if (/$EXCL_LINE/ || $exclude_flag) { + $exclude_line = 1; + } else { + $exclude_line = 0; + } + } # :: - if ($2 eq "0") + if ($line eq "0") { # Extra data } - elsif ($1 eq "-") + elsif ($count eq "-") { # Uninstrumented line push(@result, 0); push(@result, 0); - push(@result, $3); + push(@result, $code); } else { - # Source code execution data - $number = $1; - - # Check for zero count - if ($number eq "#####") { $number = 0; } - - push(@result, 1); - push(@result, $number); - push(@result, $3); - } - } - } - } - - close(INPUT); - return(\@result, \@branches); -} - - -# -# read_bb_file(bb_filename) -# -# Read .bb file BB_FILENAME and return a hash containing the following -# mapping: -# -# filename -> comma-separated list of pairs (function name=starting -# line number) for each function found -# -# for each entry in the .bb file. Filenames are absolute, i.e. relative -# filenames are prefixed with bb_filename's path component. -# -# Die on error. -# - -sub read_bb_file($) -{ - my $bb_filename = $_[0]; - my %result; - my $filename; - my $function_name; - my $cwd = `pwd`; - chomp($cwd); - my $base_dir = get_dir(solve_relative_path( - $cwd, $bb_filename)); - my $minus_one = sprintf("%d", 0x80000001); - my $minus_two = sprintf("%d", 0x80000002); - my $value; - my $packed_word; - local *INPUT; - - open(INPUT, $bb_filename) - or die("ERROR: cannot read $bb_filename!\n"); - - binmode(INPUT); - - # Read data in words of 4 bytes - while (read(INPUT, $packed_word, 4) == 4) - { - # Decode integer in intel byteorder - $value = unpack_int32($packed_word, 0); - - # Note: the .bb file format is documented in GCC info pages - if ($value == $minus_one) - { - # Filename follows - $filename = read_string(*INPUT, $minus_one) - or die("ERROR: incomplete filename in ". - "$bb_filename!\n"); - - # Make path absolute - $filename = solve_relative_path($base_dir, $filename); - - # Insert into hash if not yet present. - # This is necessary because functions declared as - # "inline" are not listed as actual functions in - # .bb files - if (!$result{$filename}) - { - $result{$filename}=""; - } - } - elsif ($value == $minus_two) - { - # Function name follows - $function_name = read_string(*INPUT, $minus_two) - or die("ERROR: incomplete function ". - "name in $bb_filename!\n"); - } - elsif ($value > 0) - { - if ($function_name) - { - # Got a full entry filename, funcname, lineno - # Add to resulting hash - - $result{$filename}.= - ($result{$filename} ? "," : ""). - join("=",($function_name,$value)); - undef($function_name); - } - } - } - close(INPUT); - - if (!scalar(keys(%result))) - { - die("ERROR: no data found in $bb_filename!\n"); - } - return %result; -} - - -# -# read_string(handle, delimiter); -# -# Read and return a string in 4-byte chunks from HANDLE until DELIMITER -# is found. -# -# Return empty string on error. -# - -sub read_string(*$) -{ - my $HANDLE = $_[0]; - my $delimiter = $_[1]; - my $string = ""; - my $packed_word; - my $value; - - while (read($HANDLE,$packed_word,4) == 4) - { - $value = unpack_int32($packed_word, 0); - - if ($value == $delimiter) - { - # Remove trailing nil bytes - $/="\0"; - while (chomp($string)) {}; - $/="\n"; - return($string); - } - - $string = $string.$packed_word; - } - return(""); -} - - -# -# read_gcno_file(bb_filename) -# -# Read .gcno file BB_FILENAME and return a hash containing the following -# mapping: -# -# filename -> comma-separated list of pairs (function name=starting -# line number) for each function found -# -# for each entry in the .gcno file. Filenames are absolute, i.e. relative -# filenames are prefixed with bb_filename's path component. -# -# Die on error. -# - -sub read_gcno_file($) -{ - my $gcno_filename = $_[0]; - my %result; - my $filename; - my $function_name; - my $lineno; - my $length; - my $cwd = `pwd`; - my $value; - my $endianness; - my $blocks; - chomp($cwd); - my $base_dir = get_dir(solve_relative_path( - $cwd, $gcno_filename)); - my $packed_word; - local *INPUT; - - open(INPUT, $gcno_filename) - or die("ERROR: cannot read $gcno_filename!\n"); - - binmode(INPUT); - - read(INPUT, $packed_word, 4) == 4 - or die("ERROR: Invalid gcno file format\n"); - - $value = unpack_int32($packed_word, 0); - $endianness = !($value == $GCNO_FILE_MAGIC); - - unpack_int32($packed_word, $endianness) == $GCNO_FILE_MAGIC - or die("ERROR: gcno file magic does not match\n"); - - seek(INPUT, 8, 1); - - # Read data in words of 4 bytes - while (read(INPUT, $packed_word, 4) == 4) - { - # Decode integer in intel byteorder - $value = unpack_int32($packed_word, $endianness); - - if ($value == $GCNO_FUNCTION_TAG) - { - # skip length, ident and checksum - seek(INPUT, 12, 1); - (undef, $function_name) = - read_gcno_string(*INPUT, $endianness); - (undef, $filename) = - read_gcno_string(*INPUT, $endianness); - $filename = solve_relative_path($base_dir, $filename); - - read(INPUT, $packed_word, 4); - $lineno = unpack_int32($packed_word, $endianness); - - $result{$filename}.= - ($result{$filename} ? "," : ""). - join("=",($function_name,$lineno)); - } - elsif ($value == $GCNO_LINES_TAG) - { - # Check for names of files containing inlined code - # included in this file - read(INPUT, $packed_word, 4); - $length = unpack_int32($packed_word, $endianness); - while ($length > 0) - { - read(INPUT, $packed_word, 4); - $lineno = unpack_int32($packed_word, - $endianness); - $length--; - if ($lineno != 0) - { - next; - } - #added because if length is zero the following - #reading process will die, it will read garbage - if ($length == 0) - { - next; - } - ($blocks, $filename) = - read_gcno_string(*INPUT, $endianness); - if ($blocks > 1) - { - $filename = solve_relative_path( - $base_dir, $filename); - if (!defined($result{$filename})) - { - $result{$filename} = ""; + if ($exclude_line) { + push(@result, 0); + push(@result, 0); + } else { + # Check for zero count + if ($count eq "#####") { + $count = 0; + } + push(@result, 1); + push(@result, $count); } + push(@result, $code); } - $length -= $blocks; } } - else - { - read(INPUT, $packed_word, 4); - $length = unpack_int32($packed_word, $endianness); - seek(INPUT, 4 * $length, 1); - } } + close(INPUT); - - if (!scalar(keys(%result))) - { - die("ERROR: no data found in $gcno_filename!\n"); + if ($exclude_flag) { + warn("WARNING: unterminated exclusion section in $filename\n"); } - return %result; -} - - -# -# read_gcno_string(handle, endianness); -# -# Read a string in 4-byte chunks from HANDLE. -# -# Return (number of 4-byte chunks read, string). -# - -sub read_gcno_string(*$) -{ - my $handle = $_[0]; - my $endianness = $_[1]; - my $number_of_blocks = 0; - my $string = ""; - my $packed_word; - - read($handle, $packed_word, 4) == 4 - or die("ERROR: reading string\n"); - - $number_of_blocks = unpack_int32($packed_word, $endianness); - - if ($number_of_blocks == 0) - { - return (1, undef); - } - - read($handle, $packed_word, 4 * $number_of_blocks) == - 4 * $number_of_blocks or die("ERROR: reading string\n"); - - $string = $string . $packed_word; - - # Remove trailing nil bytes - $/="\0"; - while (chomp($string)) {}; - $/="\n"; - - return(1 + $number_of_blocks, $string); -} - - -# -# read_sles9_bbg_file(bb_filename) -# -# Read .bbg file BB_FILENAME and return a hash containing the following -# mapping: -# -# filename -> comma-separated list of pairs (function name=starting -# line number) for each function found -# -# for each entry in the .bbg file. Filenames are absolute, i.e. relative -# filenames are prefixed with bb_filename's path component. -# -# Die on error. -# - -sub read_sles9_bbg_file($) -{ - my $bbg_filename = $_[0]; - my %result; - my $filename; - my $function_name; - my $first_line; - my $lineno; - my $length; - my $cwd = `pwd`; - my $value; - my $endianness; - my $blocks; - chomp($cwd); - my $base_dir = get_dir(solve_relative_path($cwd, $bbg_filename)); - my $packed_word; - local *INPUT; - - open(INPUT, $bbg_filename) - or die("ERROR: cannot read $bbg_filename!\n"); - - binmode(INPUT); - - read(INPUT, $packed_word, 4) == 4 - or die("ERROR: invalid bbg file format\n"); - - $value = unpack_int32($packed_word, 0); - $endianness = 1; - - unpack_int32($packed_word, $endianness) == $BBG_FILE_MAGIC - or die("ERROR: bbg file magic does not match\n"); - - seek(INPUT, 4, 1); - - # Read data in words of 4 bytes - while (read(INPUT, $packed_word, 4) == 4) - { - # Decode integer in intel byteorder - $value = unpack_int32($packed_word, $endianness); - - # Get record length - read(INPUT, $packed_word, 4); - $length = unpack_int32($packed_word, $endianness); - - if ($value == $GCNO_FUNCTION_TAG) - { - # Get function name - ($value, $function_name) = - read_sles9_bbg_string(*INPUT, $endianness); - - seek(INPUT, $length - $value * 4, 1); - } - elsif ($value == $GCNO_LINES_TAG) - { - # Get linenumber and filename - - # Skip block number - seek(INPUT, 4, 1); - $length -= 4; - - while ($length > 0) - { - read(INPUT, $packed_word, 4); - $lineno = unpack_int32($packed_word, - $endianness); - $length -= 4; - if ($lineno != 0) - { - if (!defined($first_line)) - { - $first_line = $lineno; - } - next; - } - ($blocks, $value) = - read_sles9_bbg_string( - *INPUT, $endianness); - if (!defined($filename)) - { - $filename = $value; - } - $length -= $blocks * 4; - } - # Got a complete data set? - if (defined($filename) && defined($function_name) && - defined($first_line)) - { - $filename = solve_relative_path( - $base_dir, $filename); - # Add it to our result hash - if (defined($result{$filename})) - { - $result{$filename} .= - ",$function_name=$first_line"; - } - else - { - $result{$filename} = - "$function_name=$first_line"; - } - $filename = undef; - $function_name = undef; - $first_line = undef; - } - } - else - { - # Skip other records - seek(INPUT, $length, 1); - } - } - close(INPUT); - - if (!scalar(keys(%result))) - { - die("ERROR: no data found in $bbg_filename!\n"); - } - return %result; -} - - -# -# read_sles9_bbg_string(handle, endianness); -# -# Read a string in 4-byte chunks from HANDLE. -# -# Return (number of 4-byte chunks read, string). -# - -sub read_sles9_bbg_string(*$) -{ - my $handle = $_[0]; - my $endianness = $_[1]; - my $length = 0; - my $string = ""; - my $packed_word; - my $pad; - - read($handle, $packed_word, 4) == 4 - or die("ERROR: reading string\n"); - - $length = unpack_int32($packed_word, $endianness); - $pad = 4 - $length % 4; - - if ($length == 0) - { - return (1, undef); - } - - read($handle, $string, $length) == - $length or die("ERROR: reading string\n"); - seek($handle, $pad, 1); - - return(1 + ($length + $pad) / 4, $string); -} - -# -# unpack_int32(word, endianess) -# -# Interpret 4-byte binary string WORD as signed 32 bit integer in -# endian encoding defined by ENDIANNESS (0=little, 1=big) and return its -# value. -# - -sub unpack_int32($$) -{ - return sprintf("%d", unpack($_[1] ? "N" : "V",$_[0])); + return(\@result, $branches, \@functions); } @@ -1585,10 +1691,11 @@ sub get_gcov_version() $result = $1 << 16 | $2 << 8; } } - if ($version_string =~ /suse/i && $result == 0x30303) + if ($version_string =~ /suse/i && $result == 0x30303 || + $version_string =~ /mandrake/i && $result == 0x30302) { - info("Using compatibility mode for SUSE GCC 3.3.3\n"); - $compatibility = $COMPAT_SLES9; + info("Using compatibility mode for GCC 3.3 (hammer)\n"); + $compatibility = $COMPAT_HAMMER; } return $result; } @@ -1608,7 +1715,7 @@ sub info(@) # Print info string if (defined($output_filename) && ($output_filename eq "-")) { - # Don't interfer with the .info output to STDOUT + # Don't interfere with the .info output to STDOUT printf(STDERR @_); } else @@ -1745,3 +1852,1221 @@ sub apply_config($) } } } + + +# +# get_exclusion_data(filename) +# +# Scan specified source code file for exclusion markers and return +# linenumber -> 1 +# for all lines which should be excluded. +# + +sub get_exclusion_data($) +{ + my ($filename) = @_; + my %list; + my $flag = 0; + local *HANDLE; + + if (!open(HANDLE, "<$filename")) { + warn("WARNING: could not open $filename\n"); + return undef; + } + while () { + if (/$EXCL_STOP/) { + $flag = 0; + } elsif (/$EXCL_START/) { + $flag = 1; + } + if (/$EXCL_LINE/ || $flag) { + $list{$.} = 1; + } + } + close(HANDLE); + + if ($flag) { + warn("WARNING: unterminated exclusion section in $filename\n"); + } + + return \%list; +} + + +# +# apply_exclusion_data(instr, graph) +# +# Remove lines from instr and graph data structures which are marked +# for exclusion in the source code file. +# +# Return adjusted (instr, graph). +# +# graph : file name -> function data +# function data : function name -> line data +# line data : [ line1, line2, ... ] +# +# instr : filename -> line data +# line data : [ line1, line2, ... ] +# + +sub apply_exclusion_data($$) +{ + my ($instr, $graph) = @_; + my $filename; + my %excl_data; + my $excl_read_failed = 0; + + # Collect exclusion marker data + foreach $filename (sort_uniq_lex(keys(%{$graph}), keys(%{$instr}))) { + my $excl = get_exclusion_data($filename); + + # Skip and note if file could not be read + if (!defined($excl)) { + $excl_read_failed = 1; + next; + } + + # Add to collection if there are markers + $excl_data{$filename} = $excl if (keys(%{$excl}) > 0); + } + + # Warn if not all source files could be read + if ($excl_read_failed) { + warn("WARNING: some exclusion markers may be ignored\n"); + } + + # Skip if no markers were found + return ($instr, $graph) if (keys(%excl_data) == 0); + + # Apply exclusion marker data to graph + foreach $filename (keys(%excl_data)) { + my $function_data = $graph->{$filename}; + my $excl = $excl_data{$filename}; + my $function; + + next if (!defined($function_data)); + + foreach $function (keys(%{$function_data})) { + my $line_data = $function_data->{$function}; + my $line; + my @new_data; + + # To be consistent with exclusion parser in non-initial + # case we need to remove a function if the first line + # was excluded + if ($excl->{$line_data->[0]}) { + delete($function_data->{$function}); + next; + } + # Copy only lines which are not excluded + foreach $line (@{$line_data}) { + push(@new_data, $line) if (!$excl->{$line}); + } + + # Store modified list + if (scalar(@new_data) > 0) { + $function_data->{$function} = \@new_data; + } else { + # All of this function was excluded + delete($function_data->{$function}); + } + } + + # Check if all functions of this file were excluded + if (keys(%{$function_data}) == 0) { + delete($graph->{$filename}); + } + } + + # Apply exclusion marker data to instr + foreach $filename (keys(%excl_data)) { + my $line_data = $instr->{$filename}; + my $excl = $excl_data{$filename}; + my $line; + my @new_data; + + next if (!defined($line_data)); + + # Copy only lines which are not excluded + foreach $line (@{$line_data}) { + push(@new_data, $line) if (!$excl->{$line}); + } + + # Store modified list + if (scalar(@new_data) > 0) { + $instr->{$filename} = \@new_data; + } else { + # All of this file was excluded + delete($instr->{$filename}); + } + } + + return ($instr, $graph); +} + + +sub process_graphfile($$) +{ + my ($file, $dir) = @_; + my $graph_filename = $file; + my $graph_dir; + my $graph_basename; + my $source_dir; + my $base_dir; + my $graph; + my $instr; + my $filename; + local *INFO_HANDLE; + + info("Processing %s\n", abs2rel($file, $dir)); + + # Get path to data file in absolute and normalized form (begins with /, + # contains no more ../ or ./) + $graph_filename = solve_relative_path($cwd, $graph_filename); + + # Get directory and basename of data file + ($graph_dir, $graph_basename) = split_filename($graph_filename); + + # avoid files from .libs dirs + if ($compat_libtool && $graph_dir =~ m/(.*)\/\.libs$/) { + $source_dir = $1; + } else { + $source_dir = $graph_dir; + } + + # Construct base_dir for current file + if ($base_directory) + { + $base_dir = $base_directory; + } + else + { + $base_dir = $source_dir; + } + + if ($gcov_version < $GCOV_VERSION_3_4_0) + { + if (defined($compatibility) && $compatibility eq $COMPAT_HAMMER) + { + ($instr, $graph) = read_bbg($graph_filename, $base_dir); + } + else + { + ($instr, $graph) = read_bb($graph_filename, $base_dir); + } + } + else + { + ($instr, $graph) = read_gcno($graph_filename, $base_dir); + } + + if (!$no_markers) { + # Apply exclusion marker data to graph file data + ($instr, $graph) = apply_exclusion_data($instr, $graph); + } + + # Check whether we're writing to a single file + if ($output_filename) + { + if ($output_filename eq "-") + { + *INFO_HANDLE = *STDOUT; + } + else + { + # Append to output file + open(INFO_HANDLE, ">>$output_filename") + or die("ERROR: cannot write to ". + "$output_filename!\n"); + } + } + else + { + # Open .info file for output + open(INFO_HANDLE, ">$graph_filename.info") + or die("ERROR: cannot create $graph_filename.info!\n"); + } + + # Write test name + printf(INFO_HANDLE "TN:%s\n", $test_name); + foreach $filename (sort(keys(%{$instr}))) + { + my $funcdata = $graph->{$filename}; + my $line; + my $linedata; + + print(INFO_HANDLE "SF:$filename\n"); + + if (defined($funcdata)) { + my @functions = sort {$funcdata->{$a}->[0] <=> + $funcdata->{$b}->[0]} + keys(%{$funcdata}); + my $func; + + # Gather list of instrumented lines and functions + foreach $func (@functions) { + $linedata = $funcdata->{$func}; + + # Print function name and starting line + print(INFO_HANDLE "FN:".$linedata->[0]. + ",".filter_fn_name($func)."\n"); + } + # Print zero function coverage data + foreach $func (@functions) { + print(INFO_HANDLE "FNDA:0,". + filter_fn_name($func)."\n"); + } + # Print function summary + print(INFO_HANDLE "FNF:".scalar(@functions)."\n"); + print(INFO_HANDLE "FNH:0\n"); + } + # Print zero line coverage data + foreach $line (@{$instr->{$filename}}) { + print(INFO_HANDLE "DA:$line,0\n"); + } + # Print line summary + print(INFO_HANDLE "LF:".scalar(@{$instr->{$filename}})."\n"); + print(INFO_HANDLE "LH:0\n"); + + print(INFO_HANDLE "end_of_record\n"); + } + if (!($output_filename && ($output_filename eq "-"))) + { + close(INFO_HANDLE); + } +} + +sub filter_fn_name($) +{ + my ($fn) = @_; + + # Remove characters used internally as function name delimiters + $fn =~ s/[,=]/_/g; + + return $fn; +} + +sub warn_handler($) +{ + my ($msg) = @_; + + warn("$tool_name: $msg"); +} + +sub die_handler($) +{ + my ($msg) = @_; + + die("$tool_name: $msg"); +} + + +# +# graph_error(filename, message) +# +# Print message about error in graph file. If ignore_graph_error is set, return. +# Otherwise abort. +# + +sub graph_error($$) +{ + my ($filename, $msg) = @_; + + if ($ignore[$ERROR_GRAPH]) { + warn("WARNING: $filename: $msg - skipping\n"); + return; + } + die("ERROR: $filename: $msg\n"); +} + +# +# graph_expect(description) +# +# If debug is set to a non-zero value, print the specified description of what +# is expected to be read next from the graph file. +# + +sub graph_expect($) +{ + my ($msg) = @_; + + if (!$debug || !defined($msg)) { + return; + } + + print(STDERR "DEBUG: expecting $msg\n"); +} + +# +# graph_read(handle, bytes[, description]) +# +# Read and return the specified number of bytes from handle. Return undef +# if the number of bytes could not be read. +# + +sub graph_read(*$;$) +{ + my ($handle, $length, $desc) = @_; + my $data; + my $result; + + graph_expect($desc); + $result = read($handle, $data, $length); + if ($debug) { + my $ascii = ""; + my $hex = ""; + my $i; + + print(STDERR "DEBUG: read($length)=$result: "); + for ($i = 0; $i < length($data); $i++) { + my $c = substr($data, $i, 1);; + my $n = ord($c); + + $hex .= sprintf("%02x ", $n); + if ($n >= 32 && $n <= 127) { + $ascii .= $c; + } else { + $ascii .= "."; + } + } + print(STDERR "$hex |$ascii|"); + print(STDERR "\n"); + } + if ($result != $length) { + return undef; + } + return $data; +} + +# +# graph_skip(handle, bytes[, description]) +# +# Read and discard the specified number of bytes from handle. Return non-zero +# if bytes could be read, zero otherwise. +# + +sub graph_skip(*$;$) +{ + my ($handle, $length, $desc) = @_; + + if (defined(graph_read($handle, $length, $desc))) { + return 1; + } + return 0; +} + +# +# sort_uniq(list) +# +# Return list in numerically ascending order and without duplicate entries. +# + +sub sort_uniq(@) +{ + my (@list) = @_; + my %hash; + + foreach (@list) { + $hash{$_} = 1; + } + return sort { $a <=> $b } keys(%hash); +} + +# +# sort_uniq_lex(list) +# +# Return list in lexically ascending order and without duplicate entries. +# + +sub sort_uniq_lex(@) +{ + my (@list) = @_; + my %hash; + + foreach (@list) { + $hash{$_} = 1; + } + return sort keys(%hash); +} + +# +# graph_cleanup(graph) +# +# Remove entries for functions with no lines. Remove duplicate line numbers. +# Sort list of line numbers numerically ascending. +# + +sub graph_cleanup($) +{ + my ($graph) = @_; + my $filename; + + foreach $filename (keys(%{$graph})) { + my $per_file = $graph->{$filename}; + my $function; + + foreach $function (keys(%{$per_file})) { + my $lines = $per_file->{$function}; + + if (scalar(@$lines) == 0) { + # Remove empty function + delete($per_file->{$function}); + next; + } + # Normalize list + $per_file->{$function} = [ sort_uniq(@$lines) ]; + } + if (scalar(keys(%{$per_file})) == 0) { + # Remove empty file + delete($graph->{$filename}); + } + } +} + +# +# graph_find_base(bb) +# +# Try to identify the filename which is the base source file for the +# specified bb data. +# + +sub graph_find_base($) +{ + my ($bb) = @_; + my %file_count; + my $basefile; + my $file; + my $func; + my $filedata; + my $count; + my $num; + + # Identify base name for this bb data. + foreach $func (keys(%{$bb})) { + $filedata = $bb->{$func}; + + foreach $file (keys(%{$filedata})) { + $count = $file_count{$file}; + + # Count file occurrence + $file_count{$file} = defined($count) ? $count + 1 : 1; + } + } + $count = 0; + $num = 0; + foreach $file (keys(%file_count)) { + if ($file_count{$file} > $count) { + # The file that contains code for the most functions + # is likely the base file + $count = $file_count{$file}; + $num = 1; + $basefile = $file; + } elsif ($file_count{$file} == $count) { + # If more than one file could be the basefile, we + # don't have a basefile + $basefile = undef; + } + } + + return $basefile; +} + +# +# graph_from_bb(bb, fileorder, bb_filename) +# +# Convert data from bb to the graph format and list of instrumented lines. +# Returns (instr, graph). +# +# bb : function name -> file data +# : undef -> file order +# file data : filename -> line data +# line data : [ line1, line2, ... ] +# +# file order : function name -> [ filename1, filename2, ... ] +# +# graph : file name -> function data +# function data : function name -> line data +# line data : [ line1, line2, ... ] +# +# instr : filename -> line data +# line data : [ line1, line2, ... ] +# + +sub graph_from_bb($$$) +{ + my ($bb, $fileorder, $bb_filename) = @_; + my $graph = {}; + my $instr = {}; + my $basefile; + my $file; + my $func; + my $filedata; + my $linedata; + my $order; + + $basefile = graph_find_base($bb); + # Create graph structure + foreach $func (keys(%{$bb})) { + $filedata = $bb->{$func}; + $order = $fileorder->{$func}; + + # Account for lines in functions + if (defined($basefile) && defined($filedata->{$basefile})) { + # If the basefile contributes to this function, + # account this function to the basefile. + $graph->{$basefile}->{$func} = $filedata->{$basefile}; + } else { + # If the basefile does not contribute to this function, + # account this function to the first file contributing + # lines. + $graph->{$order->[0]}->{$func} = + $filedata->{$order->[0]}; + } + + foreach $file (keys(%{$filedata})) { + # Account for instrumented lines + $linedata = $filedata->{$file}; + push(@{$instr->{$file}}, @$linedata); + } + } + # Clean up array of instrumented lines + foreach $file (keys(%{$instr})) { + $instr->{$file} = [ sort_uniq(@{$instr->{$file}}) ]; + } + + return ($instr, $graph); +} + +# +# graph_add_order(fileorder, function, filename) +# +# Add an entry for filename to the fileorder data set for function. +# + +sub graph_add_order($$$) +{ + my ($fileorder, $function, $filename) = @_; + my $item; + my $list; + + $list = $fileorder->{$function}; + foreach $item (@$list) { + if ($item eq $filename) { + return; + } + } + push(@$list, $filename); + $fileorder->{$function} = $list; +} +# +# read_bb_word(handle[, description]) +# +# Read and return a word in .bb format from handle. +# + +sub read_bb_word(*;$) +{ + my ($handle, $desc) = @_; + + return graph_read($handle, 4, $desc); +} + +# +# read_bb_value(handle[, description]) +# +# Read a word in .bb format from handle and return the word and its integer +# value. +# + +sub read_bb_value(*;$) +{ + my ($handle, $desc) = @_; + my $word; + + $word = read_bb_word($handle, $desc); + return undef if (!defined($word)); + + return ($word, unpack("V", $word)); +} + +# +# read_bb_string(handle, delimiter) +# +# Read and return a string in .bb format from handle up to the specified +# delimiter value. +# + +sub read_bb_string(*$) +{ + my ($handle, $delimiter) = @_; + my $word; + my $value; + my $string = ""; + + graph_expect("string"); + do { + ($word, $value) = read_bb_value($handle, "string or delimiter"); + return undef if (!defined($value)); + if ($value != $delimiter) { + $string .= $word; + } + } while ($value != $delimiter); + $string =~ s/\0//g; + + return $string; +} + +# +# read_bb(filename, base_dir) +# +# Read the contents of the specified .bb file and return (instr, graph), where: +# +# instr : filename -> line data +# line data : [ line1, line2, ... ] +# +# graph : filename -> file_data +# file_data : function name -> line_data +# line_data : [ line1, line2, ... ] +# +# Relative filenames are converted to absolute form using base_dir as +# base directory. See the gcov info pages of gcc 2.95 for a description of +# the .bb file format. +# + +sub read_bb($$) +{ + my ($bb_filename, $base) = @_; + my $minus_one = 0x80000001; + my $minus_two = 0x80000002; + my $value; + my $filename; + my $function; + my $bb = {}; + my $fileorder = {}; + my $instr; + my $graph; + local *HANDLE; + + open(HANDLE, "<$bb_filename") or goto open_error; + binmode(HANDLE); + while (!eof(HANDLE)) { + $value = read_bb_value(*HANDLE, "data word"); + goto incomplete if (!defined($value)); + if ($value == $minus_one) { + # Source file name + graph_expect("filename"); + $filename = read_bb_string(*HANDLE, $minus_one); + goto incomplete if (!defined($filename)); + if ($filename ne "") { + $filename = solve_relative_path($base, + $filename); + } + } elsif ($value == $minus_two) { + # Function name + graph_expect("function name"); + $function = read_bb_string(*HANDLE, $minus_two); + goto incomplete if (!defined($function)); + } elsif ($value > 0) { + # Line number + if (!defined($filename) || !defined($function)) { + warn("WARNING: unassigned line number ". + "$value\n"); + next; + } + push(@{$bb->{$function}->{$filename}}, $value); + graph_add_order($fileorder, $function, $filename); + } + } + close(HANDLE); + ($instr, $graph) = graph_from_bb($bb, $fileorder, $bb_filename); + graph_cleanup($graph); + + return ($instr, $graph); + +open_error: + graph_error($bb_filename, "could not open file"); + return undef; +incomplete: + graph_error($bb_filename, "reached unexpected end of file"); + return undef; +} + +# +# read_bbg_word(handle[, description]) +# +# Read and return a word in .bbg format. +# + +sub read_bbg_word(*;$) +{ + my ($handle, $desc) = @_; + + return graph_read($handle, 4, $desc); +} + +# +# read_bbg_value(handle[, description]) +# +# Read a word in .bbg format from handle and return its integer value. +# + +sub read_bbg_value(*;$) +{ + my ($handle, $desc) = @_; + my $word; + + $word = read_bbg_word($handle, $desc); + return undef if (!defined($word)); + + return unpack("N", $word); +} + +# +# read_bbg_string(handle) +# +# Read and return a string in .bbg format. +# + +sub read_bbg_string(*) +{ + my ($handle, $desc) = @_; + my $length; + my $string; + + graph_expect("string"); + # Read string length + $length = read_bbg_value($handle, "string length"); + return undef if (!defined($length)); + if ($length == 0) { + return ""; + } + # Read string + $string = graph_read($handle, $length, "string"); + return undef if (!defined($string)); + # Skip padding + graph_skip($handle, 4 - $length % 4, "string padding") or return undef; + + return $string; +} + +# +# read_bbg_lines_record(handle, bbg_filename, bb, fileorder, filename, +# function, base) +# +# Read a bbg format lines record from handle and add the relevant data to +# bb and fileorder. Return filename on success, undef on error. +# + +sub read_bbg_lines_record(*$$$$$$) +{ + my ($handle, $bbg_filename, $bb, $fileorder, $filename, $function, + $base) = @_; + my $string; + my $lineno; + + graph_expect("lines record"); + # Skip basic block index + graph_skip($handle, 4, "basic block index") or return undef; + while (1) { + # Read line number + $lineno = read_bbg_value($handle, "line number"); + return undef if (!defined($lineno)); + if ($lineno == 0) { + # Got a marker for a new filename + graph_expect("filename"); + $string = read_bbg_string($handle); + return undef if (!defined($string)); + # Check for end of record + if ($string eq "") { + return $filename; + } + $filename = solve_relative_path($base, $string); + next; + } + # Got an actual line number + if (!defined($filename)) { + warn("WARNING: unassigned line number in ". + "$bbg_filename\n"); + next; + } + push(@{$bb->{$function}->{$filename}}, $lineno); + graph_add_order($fileorder, $function, $filename); + } +} + +# +# read_bbg(filename, base_dir) +# +# Read the contents of the specified .bbg file and return the following mapping: +# graph: filename -> file_data +# file_data: function name -> line_data +# line_data: [ line1, line2, ... ] +# +# Relative filenames are converted to absolute form using base_dir as +# base directory. See the gcov-io.h file in the SLES 9 gcc 3.3.3 source code +# for a description of the .bbg format. +# + +sub read_bbg($$) +{ + my ($bbg_filename, $base) = @_; + my $file_magic = 0x67626267; + my $tag_function = 0x01000000; + my $tag_lines = 0x01450000; + my $word; + my $tag; + my $length; + my $function; + my $filename; + my $bb = {}; + my $fileorder = {}; + my $instr; + my $graph; + local *HANDLE; + + open(HANDLE, "<$bbg_filename") or goto open_error; + binmode(HANDLE); + # Read magic + $word = read_bbg_value(*HANDLE, "file magic"); + goto incomplete if (!defined($word)); + # Check magic + if ($word != $file_magic) { + goto magic_error; + } + # Skip version + graph_skip(*HANDLE, 4, "version") or goto incomplete; + while (!eof(HANDLE)) { + # Read record tag + $tag = read_bbg_value(*HANDLE, "record tag"); + goto incomplete if (!defined($tag)); + # Read record length + $length = read_bbg_value(*HANDLE, "record length"); + goto incomplete if (!defined($tag)); + if ($tag == $tag_function) { + graph_expect("function record"); + # Read function name + graph_expect("function name"); + $function = read_bbg_string(*HANDLE); + goto incomplete if (!defined($function)); + $filename = undef; + # Skip function checksum + graph_skip(*HANDLE, 4, "function checksum") + or goto incomplete; + } elsif ($tag == $tag_lines) { + # Read lines record + $filename = read_bbg_lines_record(HANDLE, $bbg_filename, + $bb, $fileorder, $filename, + $function, $base); + goto incomplete if (!defined($filename)); + } else { + # Skip record contents + graph_skip(*HANDLE, $length, "unhandled record") + or goto incomplete; + } + } + close(HANDLE); + ($instr, $graph) = graph_from_bb($bb, $fileorder, $bbg_filename); + graph_cleanup($graph); + + return ($instr, $graph); + +open_error: + graph_error($bbg_filename, "could not open file"); + return undef; +incomplete: + graph_error($bbg_filename, "reached unexpected end of file"); + return undef; +magic_error: + graph_error($bbg_filename, "found unrecognized bbg file magic"); + return undef; +} + +# +# read_gcno_word(handle[, description]) +# +# Read and return a word in .gcno format. +# + +sub read_gcno_word(*;$) +{ + my ($handle, $desc) = @_; + + return graph_read($handle, 4, $desc); +} + +# +# read_gcno_value(handle, big_endian[, description]) +# +# Read a word in .gcno format from handle and return its integer value +# according to the specified endianness. +# + +sub read_gcno_value(*$;$) +{ + my ($handle, $big_endian, $desc) = @_; + my $word; + + $word = read_gcno_word($handle, $desc); + return undef if (!defined($word)); + if ($big_endian) { + return unpack("N", $word); + } else { + return unpack("V", $word); + } +} + +# +# read_gcno_string(handle, big_endian) +# +# Read and return a string in .gcno format. +# + +sub read_gcno_string(*$) +{ + my ($handle, $big_endian) = @_; + my $length; + my $string; + + graph_expect("string"); + # Read string length + $length = read_gcno_value($handle, $big_endian, "string length"); + return undef if (!defined($length)); + if ($length == 0) { + return ""; + } + $length *= 4; + # Read string + $string = graph_read($handle, $length, "string and padding"); + return undef if (!defined($string)); + $string =~ s/\0//g; + + return $string; +} + +# +# read_gcno_lines_record(handle, gcno_filename, bb, fileorder, filename, +# function, base, big_endian) +# +# Read a gcno format lines record from handle and add the relevant data to +# bb and fileorder. Return filename on success, undef on error. +# + +sub read_gcno_lines_record(*$$$$$$$) +{ + my ($handle, $gcno_filename, $bb, $fileorder, $filename, $function, + $base, $big_endian) = @_; + my $string; + my $lineno; + + graph_expect("lines record"); + # Skip basic block index + graph_skip($handle, 4, "basic block index") or return undef; + while (1) { + # Read line number + $lineno = read_gcno_value($handle, $big_endian, "line number"); + return undef if (!defined($lineno)); + if ($lineno == 0) { + # Got a marker for a new filename + graph_expect("filename"); + $string = read_gcno_string($handle, $big_endian); + return undef if (!defined($string)); + # Check for end of record + if ($string eq "") { + return $filename; + } + $filename = solve_relative_path($base, $string); + next; + } + # Got an actual line number + if (!defined($filename)) { + warn("WARNING: unassigned line number in ". + "$gcno_filename\n"); + next; + } + # Add to list + push(@{$bb->{$function}->{$filename}}, $lineno); + graph_add_order($fileorder, $function, $filename); + } +} + +# +# read_gcno_function_record(handle, graph, base, big_endian) +# +# Read a gcno format function record from handle and add the relevant data +# to graph. Return (filename, function) on success, undef on error. +# + +sub read_gcno_function_record(*$$$$) +{ + my ($handle, $bb, $fileorder, $base, $big_endian) = @_; + my $filename; + my $function; + my $lineno; + my $lines; + + graph_expect("function record"); + # Skip ident and checksum + graph_skip($handle, 8, "function ident and checksum") or return undef; + # Read function name + graph_expect("function name"); + $function = read_gcno_string($handle, $big_endian); + return undef if (!defined($function)); + # Read filename + graph_expect("filename"); + $filename = read_gcno_string($handle, $big_endian); + return undef if (!defined($filename)); + $filename = solve_relative_path($base, $filename); + # Read first line number + $lineno = read_gcno_value($handle, $big_endian, "initial line number"); + return undef if (!defined($lineno)); + # Add to list + push(@{$bb->{$function}->{$filename}}, $lineno); + graph_add_order($fileorder, $function, $filename); + + return ($filename, $function); +} + +# +# read_gcno(filename, base_dir) +# +# Read the contents of the specified .gcno file and return the following +# mapping: +# graph: filename -> file_data +# file_data: function name -> line_data +# line_data: [ line1, line2, ... ] +# +# Relative filenames are converted to absolute form using base_dir as +# base directory. See the gcov-io.h file in the gcc 3.3 source code +# for a description of the .gcno format. +# + +sub read_gcno($$) +{ + my ($gcno_filename, $base) = @_; + my $file_magic = 0x67636e6f; + my $tag_function = 0x01000000; + my $tag_lines = 0x01450000; + my $big_endian; + my $word; + my $tag; + my $length; + my $filename; + my $function; + my $bb = {}; + my $fileorder = {}; + my $instr; + my $graph; + local *HANDLE; + + open(HANDLE, "<$gcno_filename") or goto open_error; + binmode(HANDLE); + # Read magic + $word = read_gcno_word(*HANDLE, "file magic"); + goto incomplete if (!defined($word)); + # Determine file endianness + if (unpack("N", $word) == $file_magic) { + $big_endian = 1; + } elsif (unpack("V", $word) == $file_magic) { + $big_endian = 0; + } else { + goto magic_error; + } + # Skip version and stamp + graph_skip(*HANDLE, 8, "version and stamp") or goto incomplete; + while (!eof(HANDLE)) { + my $next_pos; + my $curr_pos; + + # Read record tag + $tag = read_gcno_value(*HANDLE, $big_endian, "record tag"); + goto incomplete if (!defined($tag)); + # Read record length + $length = read_gcno_value(*HANDLE, $big_endian, + "record length"); + goto incomplete if (!defined($length)); + # Convert length to bytes + $length *= 4; + # Calculate start of next record + $next_pos = tell(HANDLE); + goto tell_error if ($next_pos == -1); + $next_pos += $length; + # Process record + if ($tag == $tag_function) { + ($filename, $function) = read_gcno_function_record( + *HANDLE, $bb, $fileorder, $base, $big_endian); + goto incomplete if (!defined($function)); + } elsif ($tag == $tag_lines) { + # Read lines record + $filename = read_gcno_lines_record(*HANDLE, + $gcno_filename, $bb, $fileorder, + $filename, $function, $base, + $big_endian); + goto incomplete if (!defined($filename)); + } else { + # Skip record contents + graph_skip(*HANDLE, $length, "unhandled record") + or goto incomplete; + } + # Ensure that we are at the start of the next record + $curr_pos = tell(HANDLE); + goto tell_error if ($curr_pos == -1); + next if ($curr_pos == $next_pos); + goto record_error if ($curr_pos > $next_pos); + graph_skip(*HANDLE, $next_pos - $curr_pos, + "unhandled record content") + or goto incomplete; + } + close(HANDLE); + ($instr, $graph) = graph_from_bb($bb, $fileorder, $gcno_filename); + graph_cleanup($graph); + + return ($instr, $graph); + +open_error: + graph_error($gcno_filename, "could not open file"); + return undef; +incomplete: + graph_error($gcno_filename, "reached unexpected end of file"); + return undef; +magic_error: + graph_error($gcno_filename, "found unrecognized gcno file magic"); + return undef; +tell_error: + graph_error($gcno_filename, "could not determine file position"); + return undef; +record_error: + graph_error($gcno_filename, "found unrecognized record format"); + return undef; +} + +sub debug($) +{ + my ($msg) = @_; + + return if (!$debug); + print(STDERR "DEBUG: $msg"); +} + +# +# get_gcov_capabilities +# +# Determine the list of available gcov options. +# + +sub get_gcov_capabilities() +{ + my $help = `$gcov_tool --help`; + my %capabilities; + + foreach (split(/\n/, $help)) { + next if (!/--(\S+)/); + next if ($1 eq 'help'); + next if ($1 eq 'version'); + next if ($1 eq 'object-directory'); + + $capabilities{$1} = 1; + debug("gcov has capability '$1'\n"); + } + + return \%capabilities; +} diff --git a/utils/lcov/lcov b/utils/lcov/lcov index 706bb5101..4e392ffa3 100755 --- a/utils/lcov/lcov +++ b/utils/lcov/lcov @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# Copyright (c) International Business Machines Corp., 2002 +# Copyright (c) International Business Machines Corp., 2002,2010 # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -56,38 +56,47 @@ # modprobe before insmod (needed for 2.6) # 2004-03-30 / Peter Oberparleiter: added --path option # 2004-08-09 / Peter Oberparleiter: added configuration file support +# 2008-08-13 / Peter Oberparleiter: added function coverage support # use strict; -use File::Basename; +use File::Basename; +use File::Path; +use File::Find; +use File::Temp qw /tempdir/; +use File::Spec::Functions qw /abs2rel canonpath catdir catfile catpath + file_name_is_absolute rootdir splitdir splitpath/; use Getopt::Long; +use Cwd qw /abs_path getcwd/; # Global constants -our $lcov_version = "LTP GCOV extension version 1.4"; +our $lcov_version = 'LCOV version 1.9'; our $lcov_url = "http://ltp.sourceforge.net/coverage/lcov.php"; - -# Names of the GCOV kernel module -our @gcovmod = ("gcov-prof", "gcov-proc"); +our $tool_name = basename($0); # Directory containing gcov kernel files -our $gcov_dir = "/proc/gcov"; - -# The location of the insmod tool -our $insmod_tool = "/sbin/insmod"; - -# The location of the modprobe tool -our $modprobe_tool = "/sbin/modprobe"; - -# The location of the rmmod tool -our $rmmod_tool = "/sbin/rmmod"; +our $gcov_dir; # Where to create temporary directories -our $tmp_dir = "/tmp"; +our $tmp_dir; -# How to prefix a temporary directory name -our $tmp_prefix = "tmpdir"; +# Internal constants +our $GKV_PROC = 0; # gcov-kernel data in /proc via external patch +our $GKV_SYS = 1; # gcov-kernel data in /sys via vanilla 2.6.31+ +our @GKV_NAME = ( "external", "upstream" ); +our $pkg_gkv_file = ".gcov_kernel_version"; +our $pkg_build_file = ".build_directory"; +our $BR_BLOCK = 0; +our $BR_BRANCH = 1; +our $BR_TAKEN = 2; +our $BR_VEC_ENTRIES = 3; +our $BR_VEC_WIDTH = 32; + +# Branch data combination types +our $BR_SUB = 0; +our $BR_ADD = 1; # Prototypes sub print_usage(*); @@ -96,10 +105,12 @@ sub userspace_reset(); sub userspace_capture(); sub kernel_reset(); sub kernel_capture(); +sub kernel_capture_initial(); +sub package_capture(); sub add_traces(); sub read_info_file($); sub get_info_entry($); -sub set_info_entry($$$$$;$$); +sub set_info_entry($$$$$$$$$;$$$$$$); sub add_counts($$); sub merge_checksums($$$); sub combine_info_entries($$$); @@ -114,13 +125,20 @@ sub diff(); sub system_no_output($@); sub read_config($); sub apply_config($); - sub info(@); -sub unload_module($); -sub check_and_load_kernel_module(); sub create_temp_dir(); sub transform_pattern($); - +sub warn_handler($); +sub die_handler($); +sub abort_handler($); +sub temp_cleanup(); +sub setup_gkv(); +sub get_overall_line($$$$); +sub print_overall_rate($$$$$$$$$); +sub lcov_geninfo(@); +sub create_package($$$;$); +sub get_func_found_and_hit($); +sub br_ivec_get($$); # Global variables & initialization our @directory; # Specifies where to get coverage data from @@ -134,28 +152,60 @@ our $reset; # If set, reset all coverage data to zero our $capture; # If set, capture data our $output_filename; # Name for file to write coverage data to our $test_name = ""; # Test case name -our $source_dirs = ""; our $quiet = ""; # If set, suppress information messages our $help; # Help option flag our $version; # Version option flag -our $nochecksum =""; # If set, don't calculate a checksum for each line our $convert_filenames; # If set, convert filenames when applying diff our $strip; # If set, strip leading directories when applying diff -our $need_unload; # If set, unload gcov kernel module our $temp_dir_name; # Name of temporary directory our $cwd = `pwd`; # Current working directory our $to_file; # If set, indicates that output is written to a file our $follow; # If set, indicates that find shall follow links our $diff_path = ""; # Path removed from tracefile when applying diff +our $base_directory; # Base directory (cwd of gcc during compilation) +our $checksum; # If set, calculate a checksum for each line +our $no_checksum; # If set, don't calculate a checksum for each line +our $compat_libtool; # If set, indicates that libtool mode is to be enabled +our $no_compat_libtool; # If set, indicates that libtool mode is to be disabled +our $gcov_tool; +our $ignore_errors; +our $initial; +our $no_recursion = 0; +our $to_package; +our $from_package; +our $maxdepth; +our $no_markers; our $config; # Configuration file contents chomp($cwd); our $tool_dir = dirname($0); # Directory where genhtml tool is installed +our @temp_dirs; +our $gcov_gkv; # gcov kernel support version found on machine +our $opt_derive_func_data; +our $opt_debug; +our $opt_list_full_path; +our $opt_no_list_full_path; +our $opt_list_width = 80; +our $opt_list_truncate_max = 20; +our $ln_overall_found; +our $ln_overall_hit; +our $fn_overall_found; +our $fn_overall_hit; +our $br_overall_found; +our $br_overall_hit; # # Code entry point # +$SIG{__WARN__} = \&warn_handler; +$SIG{__DIE__} = \&die_handler; +$SIG{'INT'} = \&abort_handler; +$SIG{'QUIT'} = \&abort_handler; + +# Prettify version string +$lcov_version =~ s/\$\s*Revision\s*:?\s*(\S+)\s*\$/$1/; + # Add current working directory if $tool_dir is not already an absolute path if (! ($tool_dir =~ /^\/(.*)$/)) { @@ -163,7 +213,7 @@ if (! ($tool_dir =~ /^\/(.*)$/)) } # Read configuration file if available -if (-r $ENV{"HOME"}."/.lcovrc") +if (defined($ENV{"HOME"}) && (-r $ENV{"HOME"}."/.lcovrc")) { $config = read_config($ENV{"HOME"}."/.lcovrc"); } @@ -177,38 +227,74 @@ if ($config) # Copy configuration file values to variables apply_config({ "lcov_gcov_dir" => \$gcov_dir, - "lcov_insmod_tool" => \$insmod_tool, - "lcov_modprobe_tool" => \$modprobe_tool, - "lcov_rmmod_tool" => \$rmmod_tool, - "lcov_tmp_dir" => \$tmp_dir}); + "lcov_tmp_dir" => \$tmp_dir, + "lcov_list_full_path" => \$opt_list_full_path, + "lcov_list_width" => \$opt_list_width, + "lcov_list_truncate_max"=> \$opt_list_truncate_max, + }); } # Parse command line options if (!GetOptions("directory|d|di=s" => \@directory, - "add-tracefile=s" => \@add_tracefile, - "list=s" => \$list, - "kernel-directory=s" => \@kernel_directory, - "extract=s" => \$extract, - "remove=s" => \$remove, + "add-tracefile|a=s" => \@add_tracefile, + "list|l=s" => \$list, + "kernel-directory|k=s" => \@kernel_directory, + "extract|e=s" => \$extract, + "remove|r=s" => \$remove, "diff=s" => \$diff, - "no-checksum" => \$nochecksum, "convert-filenames" => \$convert_filenames, "strip=i" => \$strip, "capture|c" => \$capture, - "output-file=s" => \$output_filename, - "test-name=s" => \$test_name, - "source-dirs=s" => \$source_dirs, - "zerocounters" => \$reset, - "quiet" => \$quiet, - "help" => \$help, - "version" => \$version, - "follow" => \$follow, - "path=s" => \$diff_path + "output-file|o=s" => \$output_filename, + "test-name|t=s" => \$test_name, + "zerocounters|z" => \$reset, + "quiet|q" => \$quiet, + "help|h|?" => \$help, + "version|v" => \$version, + "follow|f" => \$follow, + "path=s" => \$diff_path, + "base-directory|b=s" => \$base_directory, + "checksum" => \$checksum, + "no-checksum" => \$no_checksum, + "compat-libtool" => \$compat_libtool, + "no-compat-libtool" => \$no_compat_libtool, + "gcov-tool=s" => \$gcov_tool, + "ignore-errors=s" => \$ignore_errors, + "initial|i" => \$initial, + "no-recursion" => \$no_recursion, + "to-package=s" => \$to_package, + "from-package=s" => \$from_package, + "no-markers" => \$no_markers, + "derive-func-data" => \$opt_derive_func_data, + "debug" => \$opt_debug, + "list-full-path" => \$opt_list_full_path, + "no-list-full-path" => \$opt_no_list_full_path, )) { - print_usage(*STDERR); + print(STDERR "Use $tool_name --help to get usage information\n"); exit(1); } +else +{ + # Merge options + if (defined($no_checksum)) + { + $checksum = ($no_checksum ? 0 : 1); + $no_checksum = undef; + } + + if (defined($no_compat_libtool)) + { + $compat_libtool = ($no_compat_libtool ? 0 : 1); + $no_compat_libtool = undef; + } + + if (defined($opt_no_list_full_path)) + { + $opt_list_full_path = ($opt_no_list_full_path ? 0 : 1); + $opt_no_list_full_path = undef; + } +} # Check for help option if ($help) @@ -220,21 +306,45 @@ if ($help) # Check for version option if ($version) { - print("$lcov_version\n"); + print("$tool_name: $lcov_version\n"); exit(0); } +# Check list width option +if ($opt_list_width <= 40) { + die("ERROR: lcov_list_width parameter out of range (needs to be ". + "larger than 40)\n"); +} + # Normalize --path text $diff_path =~ s/\/$//; +if ($follow) +{ + $follow = "-follow"; +} +else +{ + $follow = ""; +} + +if ($no_recursion) +{ + $maxdepth = "-maxdepth 1"; +} +else +{ + $maxdepth = ""; +} + # Check for valid options check_options(); # Only --extract, --remove and --diff allow unnamed parameters if (@ARGV && !($extract || $remove || $diff)) { - print_usage(*STDERR); - exit(1); + die("Extra parameter found: '".join(" ", @ARGV)."'\n". + "Use $tool_name --help to get usage information\n"); } # Check for output filename @@ -249,6 +359,11 @@ if ($capture) } } +# Determine kernel directory for gcov data +if (!$from_package && !@directory && ($capture || $reset)) { + ($gcov_gkv, $gcov_dir) = setup_gkv(); +} + # Check for requested functionality if ($reset) { @@ -264,27 +379,40 @@ if ($reset) } elsif ($capture) { - # Differentiate between user space and kernel - if (@directory) - { + # Capture source can be user space, kernel or package + if ($from_package) { + package_capture(); + } elsif (@directory) { userspace_capture(); - } - else - { - kernel_capture(); + } else { + if ($initial) { + if (defined($to_package)) { + die("ERROR: --initial cannot be used together ". + "with --to-package\n"); + } + kernel_capture_initial(); + } else { + kernel_capture(); + } } } elsif (@add_tracefile) { - add_traces(); + ($ln_overall_found, $ln_overall_hit, + $fn_overall_found, $fn_overall_hit, + $br_overall_found, $br_overall_hit) = add_traces(); } elsif ($remove) { - remove(); + ($ln_overall_found, $ln_overall_hit, + $fn_overall_found, $fn_overall_hit, + $br_overall_found, $br_overall_hit) = remove(); } elsif ($extract) { - extract(); + ($ln_overall_found, $ln_overall_hit, + $fn_overall_found, $fn_overall_hit, + $br_overall_found, $br_overall_hit) = extract(); } elsif ($list) { @@ -294,20 +422,25 @@ elsif ($diff) { if (scalar(@ARGV) != 1) { - die("ERROR: option --diff requires one additional argument!\n"); + die("ERROR: option --diff requires one additional argument!\n". + "Use $tool_name --help to get usage information\n"); } - diff(); + ($ln_overall_found, $ln_overall_hit, + $fn_overall_found, $fn_overall_hit, + $br_overall_found, $br_overall_hit) = diff(); } -info("Done.\n"); +temp_cleanup(); + +if (defined($ln_overall_found)) { + print_overall_rate(1, $ln_overall_found, $ln_overall_hit, + 1, $fn_overall_found, $fn_overall_hit, + 1, $br_overall_found, $br_overall_hit); +} else { + info("Done.\n") if (!$list && !$capture); +} exit(0); -# Check for follow option -if ($follow) -{ - $follow = "--follow"; -} - # # print_usage(handle) # @@ -317,7 +450,6 @@ if ($follow) sub print_usage(*) { local *HANDLE = $_[0]; - my $tool_name = basename($0); print(HANDLE < 1) { - die("ERROR: only one of -z, -c, -e, -a, -r, -l or ". - "--diff allowed!\n"); + die("ERROR: only one of -z, -c, -a, -e, -r, -l or ". + "--diff allowed!\n". + "Use $tool_name --help to get usage information\n"); } } @@ -401,18 +549,9 @@ sub userspace_reset() foreach $current_dir (@directory) { - info("Deleting all .da and .gcda files in $current_dir and ". - "subdirectories\n"); - if ($follow) - { - @file_list = - `find $current_dir -follow \\( -name \\*.gcda -o -name \\*.da \\) -type f 2>/dev/null`; - } - else - { - @file_list = - `find $current_dir \\( -name \\*.gcda -o -name \\*.da \\) -type f 2>/dev/null`; - } + info("Deleting all .da files in $current_dir". + ($no_recursion?"\n":" and subdirectories\n")); + @file_list = `find "$current_dir" $maxdepth $follow -name \\*\\.da -o -name \\*\\.gcda -type f 2>/dev/null`; chomp(@file_list); foreach (@file_list) { @@ -425,43 +564,31 @@ sub userspace_reset() # # userspace_capture() # -# Capture coverage data found in DIRECTORY and write it to OUTPUT_FILENAME -# if specified, otherwise to STDOUT. +# Capture coverage data found in DIRECTORY and write it to a package (if +# TO_PACKAGE specified) or to OUTPUT_FILENAME or STDOUT. # # Die on error. # sub userspace_capture() { - my @param; - my $file_list = join(" ", @directory); + my $dir; + my $build; - info("Capturing coverage data from $file_list\n"); - @param = ("$tool_dir/geninfo", @directory); - if ($output_filename) - { - @param = (@param, "--output-filename", $output_filename); + if (!defined($to_package)) { + lcov_geninfo(@directory); + return; } - if ($test_name) - { - @param = (@param, "--test-name", $test_name); + if (scalar(@directory) != 1) { + die("ERROR: -d may be specified only once with --to-package\n"); } - if ($follow) - { - @param = (@param, "--follow"); + $dir = $directory[0]; + if (defined($base_directory)) { + $build = $base_directory; + } else { + $build = $dir; } - if ($quiet) - { - @param = (@param, "--quiet"); - } - if ($nochecksum) - { - @param = (@param, "--no-checksum"); - } - @param = (@param, "--source-dirs", $source_dirs); - - system(@param); - exit($? >> 8); + create_package($to_package, $dir, $build); } @@ -476,93 +603,158 @@ sub userspace_capture() sub kernel_reset() { local *HANDLE; - check_and_load_kernel_module(); + my $reset_file; info("Resetting kernel execution counters\n"); - open(HANDLE, ">$gcov_dir/vmlinux") or - die("ERROR: cannot write to $gcov_dir/vmlinux!\n"); + if (-e "$gcov_dir/vmlinux") { + $reset_file = "$gcov_dir/vmlinux"; + } elsif (-e "$gcov_dir/reset") { + $reset_file = "$gcov_dir/reset"; + } else { + die("ERROR: no reset control found in $gcov_dir\n"); + } + open(HANDLE, ">$reset_file") or + die("ERROR: cannot write to $reset_file!\n"); print(HANDLE "0"); close(HANDLE); - - # Unload module if we loaded it in the first place - if ($need_unload) - { - unload_module($need_unload); - } } # -# kernel_capture() +# lcov_copy_single(from, to) +# +# Copy single regular file FROM to TO without checking its size. This is +# required to work with special files generated by the kernel +# seq_file-interface. # -# Capture kernel coverage data and write it to OUTPUT_FILENAME if specified, -# otherwise stdout. # - -sub kernel_capture() +sub lcov_copy_single($$) { - my @param; + my ($from, $to) = @_; + my $content; + local $/; + local *HANDLE; - check_and_load_kernel_module(); + open(HANDLE, "<$from") or die("ERROR: cannot read $from: $!\n"); + $content = ; + close(HANDLE); + open(HANDLE, ">$to") or die("ERROR: cannot write $from: $!\n"); + if (defined($content)) { + print(HANDLE $content); + } + close(HANDLE); +} - # Make sure the temporary directory is removed upon script termination - END - { - if ($temp_dir_name) - { - stat($temp_dir_name); - if (-r _) - { - info("Removing temporary directory ". - "$temp_dir_name\n"); +# +# lcov_find(dir, function, data[, extension, ...)]) +# +# Search DIR for files and directories whose name matches PATTERN and run +# FUNCTION for each match. If not pattern is specified, match all names. +# +# FUNCTION has the following prototype: +# function(dir, relative_name, data) +# +# Where: +# dir: the base directory for this search +# relative_name: the name relative to the base directory of this entry +# data: the DATA variable passed to lcov_find +# +sub lcov_find($$$;@) +{ + my ($dir, $fn, $data, @pattern) = @_; + my $result; + my $_fn = sub { + my $filename = $File::Find::name; - # Remove temporary directory - system("rm", "-rf", $temp_dir_name) - and warn("WARNING: cannot remove ". - "temporary directory ". - "$temp_dir_name!\n"); + if (defined($result)) { + return; + } + $filename = abs2rel($filename, $dir); + foreach (@pattern) { + if ($filename =~ /$_/) { + goto ok; } } + return; + ok: + $result = &$fn($dir, $filename, $data); + }; + if (scalar(@pattern) == 0) { + @pattern = ".*"; } + find( { wanted => $_fn, no_chdir => 1 }, $dir); - # Get temporary directory - $temp_dir_name = create_temp_dir(); + return $result; +} - info("Copying kernel data to temporary directory $temp_dir_name\n"); +# +# lcov_copy_fn(from, rel, to) +# +# Copy directories, files and links from/rel to to/rel. +# - if (!@kernel_directory) - { - # Copy files from gcov kernel directory - system("cp", "-dr", $gcov_dir, $temp_dir_name) - and die("ERROR: cannot copy files from $gcov_dir!\n"); +sub lcov_copy_fn($$$) +{ + my ($from, $rel, $to) = @_; + my $absfrom = canonpath(catfile($from, $rel)); + my $absto = canonpath(catfile($to, $rel)); + + if (-d) { + if (! -d $absto) { + mkpath($absto) or + die("ERROR: cannot create directory $absto\n"); + chmod(0700, $absto); + } + } elsif (-l) { + # Copy symbolic link + my $link = readlink($absfrom); + + if (!defined($link)) { + die("ERROR: cannot read link $absfrom: $!\n"); + } + symlink($link, $absto) or + die("ERROR: cannot create link $absto: $!\n"); + } else { + lcov_copy_single($absfrom, $absto); + chmod(0600, $absto); } - else - { - # Prefix list of kernel sub-directories with the gcov kernel - # directory - my $file_list = join(" ", map {"$gcov_dir/$_";} - @kernel_directory); + return undef; +} - # Copy files from gcov kernel directory - system("cp", "-dr", $file_list, $temp_dir_name) - and die("ERROR: cannot copy files from $file_list!\n"); +# +# lcov_copy(from, to, subdirs) +# +# Copy all specified SUBDIRS and files from directory FROM to directory TO. For +# regular files, copy file contents without checking its size. This is required +# to work with seq_file-generated files. +# + +sub lcov_copy($$;@) +{ + my ($from, $to, @subdirs) = @_; + my @pattern; + + foreach (@subdirs) { + push(@pattern, "^$_"); } + lcov_find($from, \&lcov_copy_fn, $to, @pattern); +} - # Make directories writable - system("find", $temp_dir_name, "-type", "d", "-exec", "chmod", "u+w", - "{}", ";") - and die("ERROR: cannot modify access rights for ". - "$temp_dir_name!\n"); +# +# lcov_geninfo(directory) +# +# Call geninfo for the specified directory and with the parameters specified +# at the command line. +# - # Make files writable - system("find", $temp_dir_name, "-type", "f", "-exec", "chmod", "u+w", - "{}", ";") - and die("ERROR: cannot modify access rights for ". - "$temp_dir_name!\n"); +sub lcov_geninfo(@) +{ + my (@dir) = @_; + my @param; # Capture data - info("Capturing coverage data from $temp_dir_name\n"); - @param = ("$tool_dir/geninfo", $temp_dir_name); + info("Capturing coverage data from ".join(" ", @dir)."\n"); + @param = ("$tool_dir/geninfo", @dir); if ($output_filename) { @param = (@param, "--output-filename", $output_filename); @@ -579,17 +771,478 @@ sub kernel_capture() { @param = (@param, "--quiet"); } - if ($nochecksum) + if (defined($checksum)) { - @param = (@param, "--no-checksum"); + if ($checksum) + { + @param = (@param, "--checksum"); + } + else + { + @param = (@param, "--no-checksum"); + } + } + if ($base_directory) + { + @param = (@param, "--base-directory", $base_directory); + } + if ($no_compat_libtool) + { + @param = (@param, "--no-compat-libtool"); + } + elsif ($compat_libtool) + { + @param = (@param, "--compat-libtool"); + } + if ($gcov_tool) + { + @param = (@param, "--gcov-tool", $gcov_tool); + } + if ($ignore_errors) + { + @param = (@param, "--ignore-errors", $ignore_errors); + } + if ($initial) + { + @param = (@param, "--initial"); + } + if ($no_markers) + { + @param = (@param, "--no-markers"); + } + if ($opt_derive_func_data) + { + @param = (@param, "--derive-func-data"); + } + if ($opt_debug) + { + @param = (@param, "--debug"); } system(@param) and exit($? >> 8); +} +# +# read_file(filename) +# +# Return the contents of the file defined by filename. +# - # Unload module if we loaded it in the first place - if ($need_unload) - { - unload_module($need_unload); +sub read_file($) +{ + my ($filename) = @_; + my $content; + local $\; + local *HANDLE; + + open(HANDLE, "<$filename") || return undef; + $content = ; + close(HANDLE); + + return $content; +} + +# +# get_package(package_file) +# +# Unpack unprocessed coverage data files from package_file to a temporary +# directory and return directory name, build directory and gcov kernel version +# as found in package. +# + +sub get_package($) +{ + my ($file) = @_; + my $dir = create_temp_dir(); + my $gkv; + my $build; + my $cwd = getcwd(); + my $count; + local *HANDLE; + + info("Reading package $file:\n"); + info(" data directory .......: $dir\n"); + $file = abs_path($file); + chdir($dir); + open(HANDLE, "tar xvfz $file 2>/dev/null|") + or die("ERROR: could not process package $file\n"); + while () { + if (/\.da$/ || /\.gcda$/) { + $count++; + } + } + close(HANDLE); + $build = read_file("$dir/$pkg_build_file"); + if (defined($build)) { + info(" build directory ......: $build\n"); + } + $gkv = read_file("$dir/$pkg_gkv_file"); + if (defined($gkv)) { + $gkv = int($gkv); + if ($gkv != $GKV_PROC && $gkv != $GKV_SYS) { + die("ERROR: unsupported gcov kernel version found ". + "($gkv)\n"); + } + info(" content type .........: kernel data\n"); + info(" gcov kernel version ..: %s\n", $GKV_NAME[$gkv]); + } else { + info(" content type .........: application data\n"); + } + info(" data files ...........: $count\n"); + chdir($cwd); + + return ($dir, $build, $gkv); +} + +# +# write_file(filename, $content) +# +# Create a file named filename and write the specified content to it. +# + +sub write_file($$) +{ + my ($filename, $content) = @_; + local *HANDLE; + + open(HANDLE, ">$filename") || return 0; + print(HANDLE $content); + close(HANDLE) || return 0; + + return 1; +} + +# count_package_data(filename) +# +# Count the number of coverage data files in the specified package file. +# + +sub count_package_data($) +{ + my ($filename) = @_; + local *HANDLE; + my $count = 0; + + open(HANDLE, "tar tfz $filename|") or return undef; + while () { + if (/\.da$/ || /\.gcda$/) { + $count++; + } + } + close(HANDLE); + return $count; +} + +# +# create_package(package_file, source_directory, build_directory[, +# kernel_gcov_version]) +# +# Store unprocessed coverage data files from source_directory to package_file. +# + +sub create_package($$$;$) +{ + my ($file, $dir, $build, $gkv) = @_; + my $cwd = getcwd(); + + # Print information about the package + info("Creating package $file:\n"); + info(" data directory .......: $dir\n"); + + # Handle build directory + if (defined($build)) { + info(" build directory ......: $build\n"); + write_file("$dir/$pkg_build_file", $build) + or die("ERROR: could not write to ". + "$dir/$pkg_build_file\n"); + } + + # Handle gcov kernel version data + if (defined($gkv)) { + info(" content type .........: kernel data\n"); + info(" gcov kernel version ..: %s\n", $GKV_NAME[$gkv]); + write_file("$dir/$pkg_gkv_file", $gkv) + or die("ERROR: could not write to ". + "$dir/$pkg_gkv_file\n"); + } else { + info(" content type .........: application data\n"); + } + + # Create package + $file = abs_path($file); + chdir($dir); + system("tar cfz $file .") + and die("ERROR: could not create package $file\n"); + + # Remove temporary files + unlink("$dir/$pkg_build_file"); + unlink("$dir/$pkg_gkv_file"); + + # Show number of data files + if (!$quiet) { + my $count = count_package_data($file); + + if (defined($count)) { + info(" data files ...........: $count\n"); + } + } + chdir($cwd); +} + +sub find_link_fn($$$) +{ + my ($from, $rel, $filename) = @_; + my $absfile = catfile($from, $rel, $filename); + + if (-l $absfile) { + return $absfile; + } + return undef; +} + +# +# get_base(dir) +# +# Return (BASE, OBJ), where +# - BASE: is the path to the kernel base directory relative to dir +# - OBJ: is the absolute path to the kernel build directory +# + +sub get_base($) +{ + my ($dir) = @_; + my $marker = "kernel/gcov/base.gcno"; + my $markerfile; + my $sys; + my $obj; + my $link; + + $markerfile = lcov_find($dir, \&find_link_fn, $marker); + if (!defined($markerfile)) { + return (undef, undef); + } + + # sys base is parent of parent of markerfile. + $sys = abs2rel(dirname(dirname(dirname($markerfile))), $dir); + + # obj base is parent of parent of markerfile link target. + $link = readlink($markerfile); + if (!defined($link)) { + die("ERROR: could not read $markerfile\n"); + } + $obj = dirname(dirname(dirname($link))); + + return ($sys, $obj); +} + +# +# apply_base_dir(data_dir, base_dir, build_dir, @directories) +# +# Make entries in @directories relative to data_dir. +# + +sub apply_base_dir($$$@) +{ + my ($data, $base, $build, @dirs) = @_; + my $dir; + my @result; + + foreach $dir (@dirs) { + # Is directory path relative to data directory? + if (-d catdir($data, $dir)) { + push(@result, $dir); + next; + } + # Relative to the auto-detected base-directory? + if (defined($base)) { + if (-d catdir($data, $base, $dir)) { + push(@result, catdir($base, $dir)); + next; + } + } + # Relative to the specified base-directory? + if (defined($base_directory)) { + if (file_name_is_absolute($base_directory)) { + $base = abs2rel($base_directory, rootdir()); + } else { + $base = $base_directory; + } + if (-d catdir($data, $base, $dir)) { + push(@result, catdir($base, $dir)); + next; + } + } + # Relative to the build directory? + if (defined($build)) { + if (file_name_is_absolute($build)) { + $base = abs2rel($build, rootdir()); + } else { + $base = $build; + } + if (-d catdir($data, $base, $dir)) { + push(@result, catdir($base, $dir)); + next; + } + } + die("ERROR: subdirectory $dir not found\n". + "Please use -b to specify the correct directory\n"); + } + return @result; +} + +# +# copy_gcov_dir(dir, [@subdirectories]) +# +# Create a temporary directory and copy all or, if specified, only some +# subdirectories from dir to that directory. Return the name of the temporary +# directory. +# + +sub copy_gcov_dir($;@) +{ + my ($data, @dirs) = @_; + my $tempdir = create_temp_dir(); + + info("Copying data to temporary directory $tempdir\n"); + lcov_copy($data, $tempdir, @dirs); + + return $tempdir; +} + +# +# kernel_capture_initial +# +# Capture initial kernel coverage data, i.e. create a coverage data file from +# static graph files which contains zero coverage data for all instrumented +# lines. +# + +sub kernel_capture_initial() +{ + my $build; + my $source; + my @params; + + if (defined($base_directory)) { + $build = $base_directory; + $source = "specified"; + } else { + (undef, $build) = get_base($gcov_dir); + if (!defined($build)) { + die("ERROR: could not auto-detect build directory.\n". + "Please use -b to specify the build directory\n"); + } + $source = "auto-detected"; + } + info("Using $build as kernel build directory ($source)\n"); + # Build directory needs to be passed to geninfo + $base_directory = $build; + if (@kernel_directory) { + foreach my $dir (@kernel_directory) { + push(@params, "$build/$dir"); + } + } else { + push(@params, $build); + } + lcov_geninfo(@params); +} + +# +# kernel_capture_from_dir(directory, gcov_kernel_version, build) +# +# Perform the actual kernel coverage capturing from the specified directory +# assuming that the data was copied from the specified gcov kernel version. +# + +sub kernel_capture_from_dir($$$) +{ + my ($dir, $gkv, $build) = @_; + + # Create package or coverage file + if (defined($to_package)) { + create_package($to_package, $dir, $build, $gkv); + } else { + # Build directory needs to be passed to geninfo + $base_directory = $build; + lcov_geninfo($dir); + } +} + +# +# adjust_kernel_dir(dir, build) +# +# Adjust directories specified with -k so that they point to the directory +# relative to DIR. Return the build directory if specified or the auto- +# detected build-directory. +# + +sub adjust_kernel_dir($$) +{ + my ($dir, $build) = @_; + my ($sys_base, $build_auto) = get_base($dir); + + if (!defined($build)) { + $build = $build_auto; + } + if (!defined($build)) { + die("ERROR: could not auto-detect build directory.\n". + "Please use -b to specify the build directory\n"); + } + # Make @kernel_directory relative to sysfs base + if (@kernel_directory) { + @kernel_directory = apply_base_dir($dir, $sys_base, $build, + @kernel_directory); + } + return $build; +} + +sub kernel_capture() +{ + my $data_dir; + my $build = $base_directory; + + if ($gcov_gkv == $GKV_SYS) { + $build = adjust_kernel_dir($gcov_dir, $build); + } + $data_dir = copy_gcov_dir($gcov_dir, @kernel_directory); + kernel_capture_from_dir($data_dir, $gcov_gkv, $build); +} + +# +# package_capture() +# +# Capture coverage data from a package of unprocessed coverage data files +# as generated by lcov --to-package. +# + +sub package_capture() +{ + my $dir; + my $build; + my $gkv; + + ($dir, $build, $gkv) = get_package($from_package); + + # Check for build directory + if (defined($base_directory)) { + if (defined($build)) { + info("Using build directory specified by -b.\n"); + } + $build = $base_directory; + } + + # Do the actual capture + if (defined($gkv)) { + if ($gkv == $GKV_SYS) { + $build = adjust_kernel_dir($dir, $build); + } + if (@kernel_directory) { + $dir = copy_gcov_dir($dir, @kernel_directory); + } + kernel_capture_from_dir($dir, $gkv, $build); + } else { + # Build directory needs to be passed to geninfo + $base_directory = $build; + lcov_geninfo($dir); } } @@ -608,117 +1261,17 @@ sub info(@) # Print info string if ($to_file) { - print(@_) + printf(@_) } else { - # Don't interfer with the .info output to STDOUT + # Don't interfere with the .info output to STDOUT printf(STDERR @_); } } } -# -# Check if the gcov kernel module is loaded. If it is, exit, if not, try -# to load it. -# -# Die on error. -# - -sub check_and_load_kernel_module() -{ - my $module_name; - - # Is it loaded already? - stat("$gcov_dir"); - if (-r _) { return(); } - - info("Loading required gcov kernel module.\n"); - - # Do we have access to the insmod tool? - stat($insmod_tool); - if (!-x _) - { - die("ERROR: need insmod tool ($insmod_tool) to access kernel ". - "coverage data!\n"); - } - # Do we have access to the modprobe tool? - stat($modprobe_tool); - if (!-x _) - { - die("ERROR: need modprobe tool ($modprobe_tool) to access ". - "kernel coverage data!\n"); - } - - # Try some possibilities of where the gcov kernel module may be found - foreach $module_name (@gcovmod) - { - # Try to load module from system wide module directory - # /lib/modules - if (system_no_output(3, $modprobe_tool, $module_name) == 0) - { - # Succeeded - $need_unload = $module_name; - return(); - } - - # Try to load linux 2.5/2.6 module from tool directory - if (system_no_output(3, $insmod_tool, - "$tool_dir/$module_name.ko") == 0) - { - # Succeeded - $need_unload = $module_name; - return(); - } - - # Try to load linux 2.4 module from tool directory - if (system_no_output(3, $insmod_tool, - "$tool_dir/$module_name.o") == 0) - { - # Succeeded - $need_unload = $module_name; - return(); - } - } - - # Hm, loading failed - maybe we aren't root? - if ($> != 0) - { - die("ERROR: need root access to load kernel module!\n"); - } - - die("ERROR: cannot load required gcov kernel module!\n"); -} - - -# -# unload_module() -# -# Unload the gcov kernel module. -# - -sub unload_module($) -{ - my $module = $_[0]; - - info("Unloading kernel module $module\n"); - - # Do we have access to the rmmod tool? - stat($rmmod_tool); - if (!-x _) - { - warn("WARNING: cannot execute rmmod tool at $rmmod_tool - ". - "gcov module still loaded!\n"); - } - - # Unload gcov kernel module - system_no_output(1, $rmmod_tool, $module) - and warn("WARNING: cannot unload gcov kernel module ". - "$module!\n"); -} - - # # create_temp_dir() # @@ -729,24 +1282,200 @@ sub unload_module($) sub create_temp_dir() { - my $dirname; - my $number = sprintf("%d", rand(1000)); + my $dir; - # Endless loops are evil - while ($number++ < 1000) - { - $dirname = "$tmp_dir/$tmp_prefix$number"; - stat($dirname); - if (-e _) { next; } + if (defined($tmp_dir)) { + $dir = tempdir(DIR => $tmp_dir, CLEANUP => 1); + } else { + $dir = tempdir(CLEANUP => 1); + } + if (!defined($dir)) { + die("ERROR: cannot create temporary directory\n"); + } + push(@temp_dirs, $dir); - mkdir($dirname) - or die("ERROR: cannot create temporary directory ". - "$dirname!\n"); + return $dir; +} - return($dirname); + +# +# br_taken_to_num(taken) +# +# Convert a branch taken value .info format to number format. +# + +sub br_taken_to_num($) +{ + my ($taken) = @_; + + return 0 if ($taken eq '-'); + return $taken + 1; +} + + +# +# br_num_to_taken(taken) +# +# Convert a branch taken value in number format to .info format. +# + +sub br_num_to_taken($) +{ + my ($taken) = @_; + + return '-' if ($taken == 0); + return $taken - 1; +} + + +# +# br_taken_add(taken1, taken2) +# +# Return the result of taken1 + taken2 for 'branch taken' values. +# + +sub br_taken_add($$) +{ + my ($t1, $t2) = @_; + + return $t1 if (!defined($t2)); + return $t2 if (!defined($t1)); + return $t1 if ($t2 eq '-'); + return $t2 if ($t1 eq '-'); + return $t1 + $t2; +} + + +# +# br_taken_sub(taken1, taken2) +# +# Return the result of taken1 - taken2 for 'branch taken' values. Return 0 +# if the result would become negative. +# + +sub br_taken_sub($$) +{ + my ($t1, $t2) = @_; + + return $t1 if (!defined($t2)); + return undef if (!defined($t1)); + return $t1 if ($t1 eq '-'); + return $t1 if ($t2 eq '-'); + return 0 if $t2 > $t1; + return $t1 - $t2; +} + + +# +# +# br_ivec_len(vector) +# +# Return the number of entries in the branch coverage vector. +# + +sub br_ivec_len($) +{ + my ($vec) = @_; + + return 0 if (!defined($vec)); + return (length($vec) * 8 / $BR_VEC_WIDTH) / $BR_VEC_ENTRIES; +} + + +# +# br_ivec_push(vector, block, branch, taken) +# +# Add an entry to the branch coverage vector. If an entry with the same +# branch ID already exists, add the corresponding taken values. +# + +sub br_ivec_push($$$$) +{ + my ($vec, $block, $branch, $taken) = @_; + my $offset; + my $num = br_ivec_len($vec); + my $i; + + $vec = "" if (!defined($vec)); + + # Check if branch already exists in vector + for ($i = 0; $i < $num; $i++) { + my ($v_block, $v_branch, $v_taken) = br_ivec_get($vec, $i); + + next if ($v_block != $block || $v_branch != $branch); + + # Add taken counts + $taken = br_taken_add($taken, $v_taken); + last; } - die("ERROR: cannot create temporary directory in $tmp_dir!\n"); + $offset = $i * $BR_VEC_ENTRIES; + $taken = br_taken_to_num($taken); + + # Add to vector + vec($vec, $offset + $BR_BLOCK, $BR_VEC_WIDTH) = $block; + vec($vec, $offset + $BR_BRANCH, $BR_VEC_WIDTH) = $branch; + vec($vec, $offset + $BR_TAKEN, $BR_VEC_WIDTH) = $taken; + + return $vec; +} + + +# +# br_ivec_get(vector, number) +# +# Return an entry from the branch coverage vector. +# + +sub br_ivec_get($$) +{ + my ($vec, $num) = @_; + my $block; + my $branch; + my $taken; + my $offset = $num * $BR_VEC_ENTRIES; + + # Retrieve data from vector + $block = vec($vec, $offset + $BR_BLOCK, $BR_VEC_WIDTH); + $branch = vec($vec, $offset + $BR_BRANCH, $BR_VEC_WIDTH); + $taken = vec($vec, $offset + $BR_TAKEN, $BR_VEC_WIDTH); + + # Decode taken value from an integer + $taken = br_num_to_taken($taken); + + return ($block, $branch, $taken); +} + + +# +# get_br_found_and_hit(brcount) +# +# Return (br_found, br_hit) for brcount +# + +sub get_br_found_and_hit($) +{ + my ($brcount) = @_; + my $line; + my $br_found = 0; + my $br_hit = 0; + + foreach $line (keys(%{$brcount})) { + my $brdata = $brcount->{$line}; + my $i; + my $num = br_ivec_len($brdata); + + for ($i = 0; $i < $num; $i++) { + my $taken; + + (undef, undef, $taken) = br_ivec_get($brdata, $i); + + $br_found++; + $br_hit++ if ($taken ne "-" && $taken > 0); + } + } + + return ($br_found, $br_hit); } @@ -764,13 +1493,24 @@ sub create_temp_dir() # "found" -> $lines_found (number of instrumented lines found in file) # "hit" -> $lines_hit (number of executed lines in file) # "check" -> \%checkdata +# "testfnc" -> \%testfncdata +# "sumfnc" -> \%sumfnccount +# "testbr" -> \%testbrdata +# "sumbr" -> \%sumbrcount # -# %testdata: name of test affecting this file -> \%testcount +# %testdata : name of test affecting this file -> \%testcount +# %testfncdata: name of test affecting this file -> \%testfnccount +# %testbrdata: name of test affecting this file -> \%testbrcount # -# %testcount: line number -> execution count for a single test -# %sumcount : line number -> execution count for all tests -# %funcdata : line number -> name of function beginning at that line -# %checkdata: line number -> checksum of source code line +# %testcount : line number -> execution count for a single test +# %testfnccount: function name -> execution count for a single test +# %testbrcount : line number -> branch coverage data for a single test +# %sumcount : line number -> execution count for all tests +# %sumfnccount : function name -> execution count for all tests +# %sumbrcount : line number -> branch coverage data for all tests +# %funcdata : function name -> line number +# %checkdata : line number -> checksum of source code line +# $brdata : vector of items: block, branch, taken # # Note that .info file sections referring to the same file and test name # will automatically be combined by adding all execution counts. @@ -792,13 +1532,20 @@ sub read_info_file($) my $sumcount; # " " my $funcdata; # " " my $checkdata; # " " + my $testfncdata; + my $testfnccount; + my $sumfnccount; + my $testbrdata; + my $testbrcount; + my $sumbrcount; my $line; # Current line read from .info file my $testname; # Current test name my $filename; # Current filename my $hitcount; # Count for lines hit my $count; # Execution count of current line my $negative; # If set, warn about negative counts - my $checksum; # Checksum of current line + my $changed_testname; # If set, warn about changed testname + my $line_checksum; # Checksum of current line local *INFO_HANDLE; # Filehandle for .info file info("Reading tracefile $tracefile\n"); @@ -849,10 +1596,15 @@ sub read_info_file($) # Switch statement foreach ($line) { - /^TN:(\w*(,\w+)?)/ && do + /^TN:([^,]*)(,diff)?/ && do { # Test name information found $testname = defined($1) ? $1 : ""; + if ($testname =~ s/\W/_/g) + { + $changed_testname = 1; + } + $testname .= $2 if (defined($2)); last; }; @@ -863,17 +1615,22 @@ sub read_info_file($) $filename = $1; $data = $result{$filename}; - ($testdata, $sumcount, $funcdata, $checkdata) = + ($testdata, $sumcount, $funcdata, $checkdata, + $testfncdata, $sumfnccount, $testbrdata, + $sumbrcount) = get_info_entry($data); if (defined($testname)) { $testcount = $testdata->{$testname}; + $testfnccount = $testfncdata->{$testname}; + $testbrcount = $testbrdata->{$testname}; } else { - my %new_hash; - $testcount = \%new_hash; + $testcount = {}; + $testfnccount = {}; + $testbrcount = {}; } last; }; @@ -899,17 +1656,18 @@ sub read_info_file($) # Store line checksum if available if (defined($3)) { - $checksum = substr($3, 1); + $line_checksum = substr($3, 1); # Does it match a previous definition if (defined($checkdata->{$1}) && - ($checkdata->{$1} ne $checksum)) + ($checkdata->{$1} ne + $line_checksum)) { die("ERROR: checksum mismatch ". "at $filename:$1\n"); } - $checkdata->{$1} = $checksum; + $checkdata->{$1} = $line_checksum; } last; }; @@ -917,7 +1675,52 @@ sub read_info_file($) /^FN:(\d+),([^,]+)/ && do { # Function data found, add to structure - $funcdata->{$1} = $2; + $funcdata->{$2} = $1; + + # Also initialize function call data + if (!defined($sumfnccount->{$2})) { + $sumfnccount->{$2} = 0; + } + if (defined($testname)) + { + if (!defined($testfnccount->{$2})) { + $testfnccount->{$2} = 0; + } + } + last; + }; + + /^FNDA:(\d+),([^,]+)/ && do + { + # Function call count found, add to structure + # Add summary counts + $sumfnccount->{$2} += $1; + + # Add test-specific counts + if (defined($testname)) + { + $testfnccount->{$2} += $1; + } + last; + }; + + /^BRDA:(\d+),(\d+),(\d+),(\d+|-)/ && do { + # Branch coverage data found + my ($line, $block, $branch, $taken) = + ($1, $2, $3, $4); + + $sumbrcount->{$line} = + br_ivec_push($sumbrcount->{$line}, + $block, $branch, $taken); + + # Add test-specific counts + if (defined($testname)) { + $testbrcount->{$line} = + br_ivec_push( + $testbrcount->{$line}, + $block, $branch, + $taken); + } last; }; @@ -931,10 +1734,18 @@ sub read_info_file($) { $testdata->{$testname} = $testcount; + $testfncdata->{$testname} = + $testfnccount; + $testbrdata->{$testname} = + $testbrcount; } + set_info_entry($data, $testdata, $sumcount, $funcdata, - $checkdata); + $checkdata, $testfncdata, + $sumfnccount, + $testbrdata, + $sumbrcount); $result{$filename} = $data; last; } @@ -946,25 +1757,29 @@ sub read_info_file($) } close(INFO_HANDLE); - # Calculate lines_found and lines_hit for each file + # Calculate hit and found values for lines and functions of each file foreach $filename (keys(%result)) { $data = $result{$filename}; - ($testdata, $sumcount, $funcdata) = get_info_entry($data); + ($testdata, $sumcount, undef, undef, $testfncdata, + $sumfnccount, $testbrdata, $sumbrcount) = + get_info_entry($data); - # Filter out empty test cases + # Filter out empty files if (scalar(keys(%{$sumcount})) == 0) { delete($result{$filename}); next; } + # Filter out empty test cases foreach $testname (keys(%{$testdata})) { if (!defined($testdata->{$testname}) || scalar(keys(%{$testdata->{$testname}})) == 0) { delete($testdata->{$testname}); + delete($testfncdata->{$testname}); } } @@ -978,7 +1793,24 @@ sub read_info_file($) $data->{"hit"} = $hitcount; - $result{$filename} = $data; + # Get found/hit values for function call data + $data->{"f_found"} = scalar(keys(%{$sumfnccount})); + $hitcount = 0; + + foreach (keys(%{$sumfnccount})) { + if ($sumfnccount->{$_} > 0) { + $hitcount++; + } + } + $data->{"f_hit"} = $hitcount; + + # Get found/hit values for branch data + { + my ($br_found, $br_hit) = get_br_found_and_hit($sumbrcount); + + $data->{"b_found"} = $br_found; + $data->{"b_hit"} = $br_hit; + } } if (scalar(keys(%result)) == 0) @@ -990,6 +1822,11 @@ sub read_info_file($) warn("WARNING: negative counts found in tracefile ". "$tracefile\n"); } + if ($changed_testname) + { + warn("WARNING: invalid characters removed from testname in ". + "tracefile $tracefile\n"); + } return(\%result); } @@ -1001,7 +1838,9 @@ sub read_info_file($) # Retrieve data from an entry of the structure generated by read_info_file(). # Return a list of references to hashes: # (test data hash ref, sum count hash ref, funcdata hash ref, checkdata hash -# ref, lines found, lines hit) +# ref, testfncdata hash ref, sumfnccount hash ref, testbrdata hash ref, +# sumbrcount hash ref, lines found, lines hit, functions found, +# functions hit, branches found, branches hit) # sub get_info_entry($) @@ -1010,22 +1849,34 @@ sub get_info_entry($) my $sumcount_ref = $_[0]->{"sum"}; my $funcdata_ref = $_[0]->{"func"}; my $checkdata_ref = $_[0]->{"check"}; + my $testfncdata = $_[0]->{"testfnc"}; + my $sumfnccount = $_[0]->{"sumfnc"}; + my $testbrdata = $_[0]->{"testbr"}; + my $sumbrcount = $_[0]->{"sumbr"}; my $lines_found = $_[0]->{"found"}; my $lines_hit = $_[0]->{"hit"}; + my $f_found = $_[0]->{"f_found"}; + my $f_hit = $_[0]->{"f_hit"}; + my $br_found = $_[0]->{"b_found"}; + my $br_hit = $_[0]->{"b_hit"}; return ($testdata_ref, $sumcount_ref, $funcdata_ref, $checkdata_ref, - $lines_found, $lines_hit); + $testfncdata, $sumfnccount, $testbrdata, $sumbrcount, + $lines_found, $lines_hit, $f_found, $f_hit, + $br_found, $br_hit); } # # set_info_entry(hash_ref, testdata_ref, sumcount_ref, funcdata_ref, -# checkdata_ref[,lines_found, lines_hit]) +# checkdata_ref, testfncdata_ref, sumfcncount_ref, +# testbrdata_ref, sumbrcount_ref[,lines_found, +# lines_hit, f_found, f_hit, $b_found, $b_hit]) # # Update the hash referenced by HASH_REF with the provided data references. # -sub set_info_entry($$$$$;$$) +sub set_info_entry($$$$$$$$$;$$$$$$) { my $data_ref = $_[0]; @@ -1033,9 +1884,17 @@ sub set_info_entry($$$$$;$$) $data_ref->{"sum"} = $_[2]; $data_ref->{"func"} = $_[3]; $data_ref->{"check"} = $_[4]; + $data_ref->{"testfnc"} = $_[5]; + $data_ref->{"sumfnc"} = $_[6]; + $data_ref->{"testbr"} = $_[7]; + $data_ref->{"sumbr"} = $_[8]; - if (defined($_[5])) { $data_ref->{"found"} = $_[5]; } - if (defined($_[6])) { $data_ref->{"hit"} = $_[6]; } + if (defined($_[9])) { $data_ref->{"found"} = $_[9]; } + if (defined($_[10])) { $data_ref->{"hit"} = $_[10]; } + if (defined($_[11])) { $data_ref->{"f_found"} = $_[11]; } + if (defined($_[12])) { $data_ref->{"f_hit"} = $_[12]; } + if (defined($_[13])) { $data_ref->{"b_found"} = $_[13]; } + if (defined($_[14])) { $data_ref->{"b_hit"} = $_[14]; } } @@ -1134,48 +1993,262 @@ sub merge_checksums($$$) # -# merge_func_data(ref1, ref2, filename) +# merge_func_data(funcdata1, funcdata2, filename) # sub merge_func_data($$$) { - my $ref1 = $_[0]; - my $ref2 = $_[1]; - my $filename = $_[2]; + my ($funcdata1, $funcdata2, $filename) = @_; my %result; - my %ignore; - my $line1; - my $line2; + my $func; - # Check for mismatch - foreach $line1 (keys(%{$ref1})) - { - foreach $line2 (keys(%{$ref2})) - { - if (($ref1->{$line1} eq $ref2->{$line2}) && - ($line1 != $line2)) - { - warn("WARNING: function data mismatch at ". - "$filename:$ref1->{$line1}\n"); - $ignore{$line2} = 1; + if (defined($funcdata1)) { + %result = %{$funcdata1}; + } + + foreach $func (keys(%{$funcdata2})) { + my $line1 = $result{$func}; + my $line2 = $funcdata2->{$func}; + + if (defined($line1) && ($line1 != $line2)) { + warn("WARNING: function data mismatch at ". + "$filename:$line2\n"); + next; + } + $result{$func} = $line2; + } + + return \%result; +} + + +# +# add_fnccount(fnccount1, fnccount2) +# +# Add function call count data. Return list (fnccount_added, f_found, f_hit) +# + +sub add_fnccount($$) +{ + my ($fnccount1, $fnccount2) = @_; + my %result; + my $f_found; + my $f_hit; + my $function; + + if (defined($fnccount1)) { + %result = %{$fnccount1}; + } + foreach $function (keys(%{$fnccount2})) { + $result{$function} += $fnccount2->{$function}; + } + $f_found = scalar(keys(%result)); + $f_hit = 0; + foreach $function (keys(%result)) { + if ($result{$function} > 0) { + $f_hit++; + } + } + + return (\%result, $f_found, $f_hit); +} + +# +# add_testfncdata(testfncdata1, testfncdata2) +# +# Add function call count data for several tests. Return reference to +# added_testfncdata. +# + +sub add_testfncdata($$) +{ + my ($testfncdata1, $testfncdata2) = @_; + my %result; + my $testname; + + foreach $testname (keys(%{$testfncdata1})) { + if (defined($testfncdata2->{$testname})) { + my $fnccount; + + # Function call count data for this testname exists + # in both data sets: merge + ($fnccount) = add_fnccount( + $testfncdata1->{$testname}, + $testfncdata2->{$testname}); + $result{$testname} = $fnccount; + next; + } + # Function call count data for this testname is unique to + # data set 1: copy + $result{$testname} = $testfncdata1->{$testname}; + } + + # Add count data for testnames unique to data set 2 + foreach $testname (keys(%{$testfncdata2})) { + if (!defined($result{$testname})) { + $result{$testname} = $testfncdata2->{$testname}; + } + } + return \%result; +} + + +# +# brcount_to_db(brcount) +# +# Convert brcount data to the following format: +# +# db: line number -> block hash +# block hash: block number -> branch hash +# branch hash: branch number -> taken value +# + +sub brcount_to_db($) +{ + my ($brcount) = @_; + my $line; + my $db; + + # Add branches from first count to database + foreach $line (keys(%{$brcount})) { + my $brdata = $brcount->{$line}; + my $i; + my $num = br_ivec_len($brdata); + + for ($i = 0; $i < $num; $i++) { + my ($block, $branch, $taken) = br_ivec_get($brdata, $i); + + $db->{$line}->{$block}->{$branch} = $taken; + } + } + + return $db; +} + + +# +# db_to_brcount(db) +# +# Convert branch coverage data back to brcount format. +# + +sub db_to_brcount($) +{ + my ($db) = @_; + my $line; + my $brcount = {}; + my $br_found = 0; + my $br_hit = 0; + + # Convert database back to brcount format + foreach $line (sort({$a <=> $b} keys(%{$db}))) { + my $ldata = $db->{$line}; + my $brdata; + my $block; + + foreach $block (sort({$a <=> $b} keys(%{$ldata}))) { + my $bdata = $ldata->{$block}; + my $branch; + + foreach $branch (sort({$a <=> $b} keys(%{$bdata}))) { + my $taken = $bdata->{$branch}; + + $br_found++; + $br_hit++ if ($taken ne "-" && $taken > 0); + $brdata = br_ivec_push($brdata, $block, + $branch, $taken); } } + $brcount->{$line} = $brdata; } - # Merge - foreach (keys(%{$ref1})) - { - $result{$_} = $ref1->{$_}; - } + return ($brcount, $br_found, $br_hit); +} - foreach (keys(%{$ref2})) - { - if (!$ignore{$_}) - { - $result{$_} = $ref2->{$_}; + +# combine_brcount(brcount1, brcount2, type) +# +# If add is BR_ADD, add branch coverage data and return list (brcount_added, +# br_found, br_hit). If add is BR_SUB, subtract the taken values of brcount2 +# from brcount1 and return (brcount_sub, br_found, br_hit). +# + +sub combine_brcount($$$) +{ + my ($brcount1, $brcount2, $type) = @_; + my $line; + my $block; + my $branch; + my $taken; + my $db; + my $br_found = 0; + my $br_hit = 0; + my $result; + + # Convert branches from first count to database + $db = brcount_to_db($brcount1); + # Combine values from database and second count + foreach $line (keys(%{$brcount2})) { + my $brdata = $brcount2->{$line}; + my $num = br_ivec_len($brdata); + my $i; + + for ($i = 0; $i < $num; $i++) { + ($block, $branch, $taken) = br_ivec_get($brdata, $i); + my $new_taken = $db->{$line}->{$block}->{$branch}; + + if ($type == $BR_ADD) { + $new_taken = br_taken_add($new_taken, $taken); + } elsif ($type == $BR_SUB) { + $new_taken = br_taken_sub($new_taken, $taken); + } + $db->{$line}->{$block}->{$branch} = $new_taken + if (defined($new_taken)); } } + # Convert database back to brcount format + ($result, $br_found, $br_hit) = db_to_brcount($db); + return ($result, $br_found, $br_hit); +} + + +# +# add_testbrdata(testbrdata1, testbrdata2) +# +# Add branch coverage data for several tests. Return reference to +# added_testbrdata. +# + +sub add_testbrdata($$) +{ + my ($testbrdata1, $testbrdata2) = @_; + my %result; + my $testname; + + foreach $testname (keys(%{$testbrdata1})) { + if (defined($testbrdata2->{$testname})) { + my $brcount; + + # Branch coverage data for this testname exists + # in both data sets: add + ($brcount) = combine_brcount( + $testbrdata1->{$testname}, + $testbrdata2->{$testname}, $BR_ADD); + $result{$testname} = $brcount; + next; + } + # Branch coverage data for this testname is unique to + # data set 1: copy + $result{$testname} = $testbrdata1->{$testname}; + } + + # Add count data for testnames unique to data set 2 + foreach $testname (keys(%{$testbrdata2})) { + if (!defined($result{$testname})) { + $result{$testname} = $testbrdata2->{$testname}; + } + } return \%result; } @@ -1194,35 +2267,61 @@ sub combine_info_entries($$$) my $sumcount1; my $funcdata1; my $checkdata1; + my $testfncdata1; + my $sumfnccount1; + my $testbrdata1; + my $sumbrcount1; my $entry2 = $_[1]; # Reference to hash containing second entry my $testdata2; my $sumcount2; my $funcdata2; my $checkdata2; + my $testfncdata2; + my $sumfnccount2; + my $testbrdata2; + my $sumbrcount2; my %result; # Hash containing combined entry my %result_testdata; my $result_sumcount = {}; my $result_funcdata; + my $result_testfncdata; + my $result_sumfnccount; + my $result_testbrdata; + my $result_sumbrcount; my $lines_found; my $lines_hit; + my $f_found; + my $f_hit; + my $br_found; + my $br_hit; my $testname; my $filename = $_[2]; # Retrieve data - ($testdata1, $sumcount1, $funcdata1, $checkdata1) = - get_info_entry($entry1); - ($testdata2, $sumcount2, $funcdata2, $checkdata2) = - get_info_entry($entry2); + ($testdata1, $sumcount1, $funcdata1, $checkdata1, $testfncdata1, + $sumfnccount1, $testbrdata1, $sumbrcount1) = get_info_entry($entry1); + ($testdata2, $sumcount2, $funcdata2, $checkdata2, $testfncdata2, + $sumfnccount2, $testbrdata2, $sumbrcount2) = get_info_entry($entry2); # Merge checksums $checkdata1 = merge_checksums($checkdata1, $checkdata2, $filename); # Combine funcdata $result_funcdata = merge_func_data($funcdata1, $funcdata2, $filename); - + + # Combine function call count data + $result_testfncdata = add_testfncdata($testfncdata1, $testfncdata2); + ($result_sumfnccount, $f_found, $f_hit) = + add_fnccount($sumfnccount1, $sumfnccount2); + + # Combine branch coverage data + $result_testbrdata = add_testbrdata($testbrdata1, $testbrdata2); + ($result_sumbrcount, $br_found, $br_hit) = + combine_brcount($sumbrcount1, $sumbrcount2, $BR_ADD); + # Combine testdata foreach $testname (keys(%{$testdata1})) { @@ -1264,8 +2363,10 @@ sub combine_info_entries($$$) # Store result set_info_entry(\%result, \%result_testdata, $result_sumcount, - $result_funcdata, $checkdata1, $lines_found, - $lines_hit); + $result_funcdata, $checkdata1, $result_testfncdata, + $result_sumfnccount, $result_testbrdata, + $result_sumbrcount, $lines_found, $lines_hit, + $f_found, $f_hit, $br_found, $br_hit); return(\%result); } @@ -1315,6 +2416,7 @@ sub add_traces() my $total_trace; my $current_trace; my $tracefile; + my @result; local *INFO_HANDLE; info("Combining tracefiles.\n"); @@ -1339,13 +2441,15 @@ sub add_traces() info("Writing data to $output_filename\n"); open(INFO_HANDLE, ">$output_filename") or die("ERROR: cannot write to $output_filename!\n"); - write_info_file(*INFO_HANDLE, $total_trace); + @result = write_info_file(*INFO_HANDLE, $total_trace); close(*INFO_HANDLE); } else { - write_info_file(*STDOUT, $total_trace); + @result = write_info_file(*STDOUT, $total_trace); } + + return @result; } @@ -1363,38 +2467,106 @@ sub write_info_file(*$) my $sumcount; my $funcdata; my $checkdata; + my $testfncdata; + my $sumfnccount; + my $testbrdata; + my $sumbrcount; my $testname; my $line; + my $func; my $testcount; + my $testfnccount; + my $testbrcount; my $found; my $hit; + my $f_found; + my $f_hit; + my $br_found; + my $br_hit; + my $ln_total_found = 0; + my $ln_total_hit = 0; + my $fn_total_found = 0; + my $fn_total_hit = 0; + my $br_total_found = 0; + my $br_total_hit = 0; - foreach $source_file (keys(%data)) + foreach $source_file (sort(keys(%data))) { $entry = $data{$source_file}; - ($testdata, $sumcount, $funcdata, $checkdata) = + ($testdata, $sumcount, $funcdata, $checkdata, $testfncdata, + $sumfnccount, $testbrdata, $sumbrcount, $found, $hit, + $f_found, $f_hit, $br_found, $br_hit) = get_info_entry($entry); - foreach $testname (keys(%{$testdata})) + + # Add to totals + $ln_total_found += $found; + $ln_total_hit += $hit; + $fn_total_found += $f_found; + $fn_total_hit += $f_hit; + $br_total_found += $br_found; + $br_total_hit += $br_hit; + + foreach $testname (sort(keys(%{$testdata}))) { $testcount = $testdata->{$testname}; + $testfnccount = $testfncdata->{$testname}; + $testbrcount = $testbrdata->{$testname}; $found = 0; $hit = 0; print(INFO_HANDLE "TN:$testname\n"); print(INFO_HANDLE "SF:$source_file\n"); - foreach $line (sort({$a <=> $b} keys(%{$funcdata}))) + # Write function related data + foreach $func ( + sort({$funcdata->{$a} <=> $funcdata->{$b}} + keys(%{$funcdata}))) { - print(INFO_HANDLE "FN:$line,". - $funcdata->{$line}."\n"); + print(INFO_HANDLE "FN:".$funcdata->{$func}. + ",$func\n"); + } + foreach $func (keys(%{$testfnccount})) { + print(INFO_HANDLE "FNDA:". + $testfnccount->{$func}. + ",$func\n"); + } + ($f_found, $f_hit) = + get_func_found_and_hit($testfnccount); + print(INFO_HANDLE "FNF:$f_found\n"); + print(INFO_HANDLE "FNH:$f_hit\n"); + + # Write branch related data + $br_found = 0; + $br_hit = 0; + foreach $line (sort({$a <=> $b} + keys(%{$testbrcount}))) { + my $brdata = $testbrcount->{$line}; + my $num = br_ivec_len($brdata); + my $i; + + for ($i = 0; $i < $num; $i++) { + my ($block, $branch, $taken) = + br_ivec_get($brdata, $i); + + print(INFO_HANDLE "BRDA:$line,$block,". + "$branch,$taken\n"); + $br_found++; + $br_hit++ if ($taken ne '-' && + $taken > 0); + } + } + if ($br_found > 0) { + print(INFO_HANDLE "BRF:$br_found\n"); + print(INFO_HANDLE "BRH:$br_hit\n"); } + # Write line related data foreach $line (sort({$a <=> $b} keys(%{$testcount}))) { print(INFO_HANDLE "DA:$line,". $testcount->{$line}. (defined($checkdata->{$line}) && - !$nochecksum ? + $checksum ? ",".$checkdata->{$line} : "")."\n"); $found++; if ($testcount->{$line} > 0) @@ -1408,6 +2580,9 @@ sub write_info_file(*$) print(INFO_HANDLE "end_of_record\n"); } } + + return ($ln_total_found, $ln_total_hit, $fn_total_found, $fn_total_hit, + $br_total_found, $br_total_hit); } @@ -1461,6 +2636,7 @@ sub extract() my $pattern; my @pattern_list; my $extracted = 0; + my @result; local *INFO_HANDLE; # Need perlreg expressions instead of shell pattern @@ -1495,13 +2671,15 @@ sub extract() info("Writing data to $output_filename\n"); open(INFO_HANDLE, ">$output_filename") or die("ERROR: cannot write to $output_filename!\n"); - write_info_file(*INFO_HANDLE, $data); + @result = write_info_file(*INFO_HANDLE, $data); close(*INFO_HANDLE); } else { - write_info_file(*STDOUT, $data); + @result = write_info_file(*STDOUT, $data); } + + return @result; } @@ -1517,6 +2695,7 @@ sub remove() my $pattern; my @pattern_list; my $removed = 0; + my @result; local *INFO_HANDLE; # Need perlreg expressions instead of shell pattern @@ -1548,16 +2727,126 @@ sub remove() info("Writing data to $output_filename\n"); open(INFO_HANDLE, ">$output_filename") or die("ERROR: cannot write to $output_filename!\n"); - write_info_file(*INFO_HANDLE, $data); + @result = write_info_file(*INFO_HANDLE, $data); close(*INFO_HANDLE); } else { - write_info_file(*STDOUT, $data); + @result = write_info_file(*STDOUT, $data); } + + return @result; } +# get_prefix(max_width, max_percentage_too_long, path_list) +# +# Return a path prefix that satisfies the following requirements: +# - is shared by more paths in path_list than any other prefix +# - the percentage of paths which would exceed the given max_width length +# after applying the prefix does not exceed max_percentage_too_long +# +# If multiple prefixes satisfy all requirements, the longest prefix is +# returned. Return an empty string if no prefix could be found. + +sub get_prefix($$@) +{ + my ($max_width, $max_long, @path_list) = @_; + my $path; + my $ENTRY_NUM = 0; + my $ENTRY_LONG = 1; + my %prefix; + + # Build prefix hash + foreach $path (@path_list) { + my ($v, $d, $f) = splitpath($path); + my @dirs = splitdir($d); + my $p_len = length($path); + my $i; + + # Remove trailing '/' + pop(@dirs) if ($dirs[scalar(@dirs) - 1] eq ''); + for ($i = 0; $i < scalar(@dirs); $i++) { + my $subpath = catpath($v, catdir(@dirs[0..$i]), ''); + my $entry = $prefix{$subpath}; + + $entry = [ 0, 0 ] if (!defined($entry)); + $entry->[$ENTRY_NUM]++; + if (($p_len - length($subpath) - 1) > $max_width) { + $entry->[$ENTRY_LONG]++; + } + $prefix{$subpath} = $entry; + } + } + # Find suitable prefix (sort descending by two keys: 1. number of + # entries covered by a prefix, 2. length of prefix) + foreach $path (sort {($prefix{$a}->[$ENTRY_NUM] == + $prefix{$b}->[$ENTRY_NUM]) ? + length($b) <=> length($a) : + $prefix{$b}->[$ENTRY_NUM] <=> + $prefix{$a}->[$ENTRY_NUM]} + keys(%prefix)) { + my ($num, $long) = @{$prefix{$path}}; + + # Check for additional requirement: number of filenames + # that would be too long may not exceed a certain percentage + if ($long <= $num * $max_long / 100) { + return $path; + } + } + + return ""; +} + + +# +# shorten_filename(filename, width) +# +# Truncate filename if it is longer than width characters. +# + +sub shorten_filename($$) +{ + my ($filename, $width) = @_; + my $l = length($filename); + my $s; + my $e; + + return $filename if ($l <= $width); + $e = int(($width - 3) / 2); + $s = $width - 3 - $e; + + return substr($filename, 0, $s).'...'.substr($filename, $l - $e); +} + + +sub shorten_number($$) +{ + my ($number, $width) = @_; + my $result = sprintf("%*d", $width, $number); + + return $result if (length($result) <= $width); + $number = $number / 1000; + return $result if (length($result) <= $width); + $result = sprintf("%*dk", $width - 1, $number); + return $result if (length($result) <= $width); + $number = $number / 1000; + $result = sprintf("%*dM", $width - 1, $number); + return $result if (length($result) <= $width); + return '#'; +} + +sub shorten_rate($$) +{ + my ($rate, $width) = @_; + my $result = sprintf("%*.1f%%", $width - 3, $rate); + + return $result if (length($result) <= $width); + $result = sprintf("%*d%%", $width - 1, $rate); + return $result if (length($result) <= $width); + return "#"; +} + # # list() # @@ -1569,17 +2858,278 @@ sub list() my $found; my $hit; my $entry; + my $fn_found; + my $fn_hit; + my $br_found; + my $br_hit; + my $total_found = 0; + my $total_hit = 0; + my $fn_total_found = 0; + my $fn_total_hit = 0; + my $br_total_found = 0; + my $br_total_hit = 0; + my $prefix; + my $strlen = length("Filename"); + my $format; + my $heading1; + my $heading2; + my @footer; + my $barlen; + my $rate; + my $fnrate; + my $brrate; + my $lastpath; + my $F_LN_NUM = 0; + my $F_LN_RATE = 1; + my $F_FN_NUM = 2; + my $F_FN_RATE = 3; + my $F_BR_NUM = 4; + my $F_BR_RATE = 5; + my @fwidth_narrow = (5, 5, 3, 5, 4, 5); + my @fwidth_wide = (6, 5, 5, 5, 6, 5); + my @fwidth = @fwidth_wide; + my $w; + my $max_width = $opt_list_width; + my $max_long = $opt_list_truncate_max; + my $fwidth_narrow_length; + my $fwidth_wide_length; + my $got_prefix = 0; + my $root_prefix = 0; - info("Listing contents of $list:\n"); + # Calculate total width of narrow fields + $fwidth_narrow_length = 0; + foreach $w (@fwidth_narrow) { + $fwidth_narrow_length += $w + 1; + } + # Calculate total width of wide fields + $fwidth_wide_length = 0; + foreach $w (@fwidth_wide) { + $fwidth_wide_length += $w + 1; + } + # Get common file path prefix + $prefix = get_prefix($max_width - $fwidth_narrow_length, $max_long, + keys(%{$data})); + $root_prefix = 1 if ($prefix eq rootdir()); + $got_prefix = 1 if (length($prefix) > 0); + $prefix =~ s/\/$//; + # Get longest filename length + foreach $filename (keys(%{$data})) { + if (!$opt_list_full_path) { + if (!$got_prefix || !$root_prefix && + !($filename =~ s/^\Q$prefix\/\E//)) { + my ($v, $d, $f) = splitpath($filename); - # List all files + $filename = $f; + } + } + # Determine maximum length of entries + if (length($filename) > $strlen) { + $strlen = length($filename) + } + } + if (!$opt_list_full_path) { + my $blanks; + + $w = $fwidth_wide_length; + # Check if all columns fit into max_width characters + if ($strlen + $fwidth_wide_length > $max_width) { + # Use narrow fields + @fwidth = @fwidth_narrow; + $w = $fwidth_narrow_length; + if (($strlen + $fwidth_narrow_length) > $max_width) { + # Truncate filenames at max width + $strlen = $max_width - $fwidth_narrow_length; + } + } + # Add some blanks between filename and fields if possible + $blanks = int($strlen * 0.5); + $blanks = 4 if ($blanks < 4); + $blanks = 8 if ($blanks > 8); + if (($strlen + $w + $blanks) < $max_width) { + $strlen += $blanks; + } else { + $strlen = $max_width - $w; + } + } + # Filename + $w = $strlen; + $format = "%-${w}s|"; + $heading1 = sprintf("%*s|", $w, ""); + $heading2 = sprintf("%-*s|", $w, "Filename"); + $barlen = $w + 1; + # Line coverage rate + $w = $fwidth[$F_LN_RATE]; + $format .= "%${w}s "; + $heading1 .= sprintf("%-*s |", $w + $fwidth[$F_LN_NUM], + "Lines"); + $heading2 .= sprintf("%-*s ", $w, "Rate"); + $barlen += $w + 1; + # Number of lines + $w = $fwidth[$F_LN_NUM]; + $format .= "%${w}s|"; + $heading2 .= sprintf("%*s|", $w, "Num"); + $barlen += $w + 1; + # Function coverage rate + $w = $fwidth[$F_FN_RATE]; + $format .= "%${w}s "; + $heading1 .= sprintf("%-*s|", $w + $fwidth[$F_FN_NUM] + 1, + "Functions"); + $heading2 .= sprintf("%-*s ", $w, "Rate"); + $barlen += $w + 1; + # Number of functions + $w = $fwidth[$F_FN_NUM]; + $format .= "%${w}s|"; + $heading2 .= sprintf("%*s|", $w, "Num"); + $barlen += $w + 1; + # Branch coverage rate + $w = $fwidth[$F_BR_RATE]; + $format .= "%${w}s "; + $heading1 .= sprintf("%-*s", $w + $fwidth[$F_BR_NUM] + 1, + "Branches"); + $heading2 .= sprintf("%-*s ", $w, "Rate"); + $barlen += $w + 1; + # Number of branches + $w = $fwidth[$F_BR_NUM]; + $format .= "%${w}s"; + $heading2 .= sprintf("%*s", $w, "Num"); + $barlen += $w; + # Line end + $format .= "\n"; + $heading1 .= "\n"; + $heading2 .= "\n"; + + # Print heading + print($heading1); + print($heading2); + print(("="x$barlen)."\n"); + + # Print per file information foreach $filename (sort(keys(%{$data}))) { + my @file_data; + my $print_filename = $filename; + $entry = $data->{$filename}; - (undef, undef, undef, undef, $found, $hit) = + if (!$opt_list_full_path) { + my $p; + + $print_filename = $filename; + if (!$got_prefix || !$root_prefix && + !($print_filename =~ s/^\Q$prefix\/\E//)) { + my ($v, $d, $f) = splitpath($filename); + + $p = catpath($v, $d, ""); + $p =~ s/\/$//; + $print_filename = $f; + } else { + $p = $prefix; + } + + if (!defined($lastpath) || $lastpath ne $p) { + print("\n") if (defined($lastpath)); + $lastpath = $p; + print("[$lastpath/]\n") if (!$root_prefix); + } + $print_filename = shorten_filename($print_filename, + $strlen); + } + + (undef, undef, undef, undef, undef, undef, undef, undef, + $found, $hit, $fn_found, $fn_hit, $br_found, $br_hit) = get_info_entry($entry); - printf("$filename: $hit of $found lines hit\n"); + + # Assume zero count if there is no function data for this file + if (!defined($fn_found) || !defined($fn_hit)) { + $fn_found = 0; + $fn_hit = 0; + } + # Assume zero count if there is no branch data for this file + if (!defined($br_found) || !defined($br_hit)) { + $br_found = 0; + $br_hit = 0; + } + + # Add line coverage totals + $total_found += $found; + $total_hit += $hit; + # Add function coverage totals + $fn_total_found += $fn_found; + $fn_total_hit += $fn_hit; + # Add branch coverage totals + $br_total_found += $br_found; + $br_total_hit += $br_hit; + + # Determine line coverage rate for this file + if ($found == 0) { + $rate = "-"; + } else { + $rate = shorten_rate(100 * $hit / $found, + $fwidth[$F_LN_RATE]); + } + # Determine function coverage rate for this file + if (!defined($fn_found) || $fn_found == 0) { + $fnrate = "-"; + } else { + $fnrate = shorten_rate(100 * $fn_hit / $fn_found, + $fwidth[$F_FN_RATE]); + } + # Determine branch coverage rate for this file + if (!defined($br_found) || $br_found == 0) { + $brrate = "-"; + } else { + $brrate = shorten_rate(100 * $br_hit / $br_found, + $fwidth[$F_BR_RATE]); + } + + # Assemble line parameters + push(@file_data, $print_filename); + push(@file_data, $rate); + push(@file_data, shorten_number($found, $fwidth[$F_LN_NUM])); + push(@file_data, $fnrate); + push(@file_data, shorten_number($fn_found, $fwidth[$F_FN_NUM])); + push(@file_data, $brrate); + push(@file_data, shorten_number($br_found, $fwidth[$F_BR_NUM])); + + # Print assembled line + printf($format, @file_data); } + + # Determine total line coverage rate + if ($total_found == 0) { + $rate = "-"; + } else { + $rate = shorten_rate(100 * $total_hit / $total_found, + $fwidth[$F_LN_RATE]); + } + # Determine total function coverage rate + if ($fn_total_found == 0) { + $fnrate = "-"; + } else { + $fnrate = shorten_rate(100 * $fn_total_hit / $fn_total_found, + $fwidth[$F_FN_RATE]); + } + # Determine total branch coverage rate + if ($br_total_found == 0) { + $brrate = "-"; + } else { + $brrate = shorten_rate(100 * $br_total_hit / $br_total_found, + $fwidth[$F_BR_RATE]); + } + + # Print separator + print(("="x$barlen)."\n"); + + # Assemble line parameters + push(@footer, sprintf("%*s", $strlen, "Total:")); + push(@footer, $rate); + push(@footer, shorten_number($total_found, $fwidth[$F_LN_NUM])); + push(@footer, $fnrate); + push(@footer, shorten_number($fn_total_found, $fwidth[$F_FN_NUM])); + push(@footer, $brrate); + push(@footer, shorten_number($br_total_found, $fwidth[$F_BR_NUM])); + + # Print assembled line + printf($format, @footer); } @@ -1863,7 +3413,7 @@ sub apply_diff($$) # Transform all other lines which come after the last diff entry foreach (sort({$a <=> $b} keys(%{$count_data}))) { - if ($_ < $last_old) + if ($_ <= $last_old) { # Skip lines which were covered by line hash next; @@ -1876,10 +3426,92 @@ sub apply_diff($$) } +# +# apply_diff_to_brcount(brcount, linedata) +# +# Adjust line numbers of branch coverage data according to linedata. +# + +sub apply_diff_to_brcount($$) +{ + my ($brcount, $linedata) = @_; + my $db; + + # Convert brcount to db format + $db = brcount_to_db($brcount); + # Apply diff to db format + $db = apply_diff($db, $linedata); + # Convert db format back to brcount format + ($brcount) = db_to_brcount($db); + + return $brcount; +} + + +# +# get_hash_max(hash_ref) +# +# Return the highest integer key from hash. +# + +sub get_hash_max($) +{ + my ($hash) = @_; + my $max; + + foreach (keys(%{$hash})) { + if (!defined($max)) { + $max = $_; + } elsif ($hash->{$_} > $max) { + $max = $_; + } + } + return $max; +} + +sub get_hash_reverse($) +{ + my ($hash) = @_; + my %result; + + foreach (keys(%{$hash})) { + $result{$hash->{$_}} = $_; + } + + return \%result; +} + +# +# apply_diff_to_funcdata(funcdata, line_hash) +# + +sub apply_diff_to_funcdata($$) +{ + my ($funcdata, $linedata) = @_; + my $last_new = get_hash_max($linedata); + my $last_old = $linedata->{$last_new}; + my $func; + my %result; + my $line_diff = get_hash_reverse($linedata); + + foreach $func (keys(%{$funcdata})) { + my $line = $funcdata->{$func}; + + if (defined($line_diff->{$line})) { + $result{$func} = $line_diff->{$line}; + } elsif ($line > $last_old) { + $result{$func} = $line + $last_new - $last_old; + } + } + + return \%result; +} + + # # get_line_hash($filename, $diff_data, $path_data) # -# Find line hash in DIFF_DATA which matches FILENAME. On succes, return list +# Find line hash in DIFF_DATA which matches FILENAME. On success, return list # line hash. or undef in case of no match. Die if more than one line hashes in # DIFF_DATA match. # @@ -1897,10 +3529,16 @@ sub get_line_hash($$$) my $old_depth; my $new_depth; + # Remove trailing slash from diff path + $diff_path =~ s/\/$//; foreach (keys(%{$diff_data})) { + my $sep = ""; + + $sep = '/' if (!/^\//); + # Try to match diff filename with filename - if ($filename =~ /^\Q$diff_path\E\/$_$/) + if ($filename =~ /^\Q$diff_path$sep$_\E$/) { if ($diff_name) { @@ -2013,6 +3651,63 @@ sub convert_paths($$) } } +# +# sub adjust_fncdata(funcdata, testfncdata, sumfnccount) +# +# Remove function call count data from testfncdata and sumfnccount which +# is no longer present in funcdata. +# + +sub adjust_fncdata($$$) +{ + my ($funcdata, $testfncdata, $sumfnccount) = @_; + my $testname; + my $func; + my $f_found; + my $f_hit; + + # Remove count data in testfncdata for functions which are no longer + # in funcdata + foreach $testname (%{$testfncdata}) { + my $fnccount = $testfncdata->{$testname}; + + foreach $func (%{$fnccount}) { + if (!defined($funcdata->{$func})) { + delete($fnccount->{$func}); + } + } + } + # Remove count data in sumfnccount for functions which are no longer + # in funcdata + foreach $func (%{$sumfnccount}) { + if (!defined($funcdata->{$func})) { + delete($sumfnccount->{$func}); + } + } +} + +# +# get_func_found_and_hit(sumfnccount) +# +# Return (f_found, f_hit) for sumfnccount +# + +sub get_func_found_and_hit($) +{ + my ($sumfnccount) = @_; + my $function; + my $f_found; + my $f_hit; + + $f_found = scalar(keys(%{$sumfnccount})); + $f_hit = 0; + foreach $function (keys(%{$sumfnccount})) { + if ($sumfnccount->{$function} > 0) { + $f_hit++; + } + } + return ($f_found, $f_hit); +} # # diff() @@ -2035,10 +3730,19 @@ sub diff() my $sumcount; my $funcdata; my $checkdata; + my $testfncdata; + my $sumfnccount; + my $testbrdata; + my $sumbrcount; my $found; my $hit; + my $f_found; + my $f_hit; + my $br_found; + my $br_hit; my $converted = 0; my $unchanged = 0; + my @result; local *INFO_HANDLE; ($diff_data, $path_data) = read_diff($ARGV[0]); @@ -2068,17 +3772,25 @@ sub diff() } info("Converting $filename\n"); $entry = $trace_data->{$filename}; - ($testdata, $sumcount, $funcdata, $checkdata) = + ($testdata, $sumcount, $funcdata, $checkdata, $testfncdata, + $sumfnccount, $testbrdata, $sumbrcount) = get_info_entry($entry); # Convert test data foreach $testname (keys(%{$testdata})) { + # Adjust line numbers of line coverage data $testdata->{$testname} = apply_diff($testdata->{$testname}, $line_hash); + # Adjust line numbers of branch coverage data + $testbrdata->{$testname} = + apply_diff_to_brcount($testbrdata->{$testname}, + $line_hash); # Remove empty sets of test data if (scalar(keys(%{$testdata->{$testname}})) == 0) { delete($testdata->{$testname}); + delete($testfncdata->{$testname}); + delete($testbrdata->{$testname}); } } # Rename test data to indicate conversion @@ -2097,16 +3809,43 @@ sub diff() $testdata->{$testname}, $testdata->{$testname.",diff"}); delete($testdata->{$testname.",diff"}); + # Add function call counts + ($testfncdata->{$testname}) = add_fnccount( + $testfncdata->{$testname}, + $testfncdata->{$testname.",diff"}); + delete($testfncdata->{$testname.",diff"}); + # Add branch counts + ($testbrdata->{$testname}) = combine_brcount( + $testbrdata->{$testname}, + $testbrdata->{$testname.",diff"}, + $BR_ADD); + delete($testbrdata->{$testname.",diff"}); } + # Move test data to new testname $testdata->{$testname.",diff"} = $testdata->{$testname}; delete($testdata->{$testname}); + # Move function call count data to new testname + $testfncdata->{$testname.",diff"} = + $testfncdata->{$testname}; + delete($testfncdata->{$testname}); + # Move branch count data to new testname + $testbrdata->{$testname.",diff"} = + $testbrdata->{$testname}; + delete($testbrdata->{$testname}); } # Convert summary of test data $sumcount = apply_diff($sumcount, $line_hash); # Convert function data - $funcdata = apply_diff($funcdata, $line_hash); + $funcdata = apply_diff_to_funcdata($funcdata, $line_hash); + # Convert branch coverage data + $sumbrcount = apply_diff_to_brcount($sumbrcount, $line_hash); + # Update found/hit numbers # Convert checksum data $checkdata = apply_diff($checkdata, $line_hash); + # Convert function call count data + adjust_fncdata($funcdata, $testfncdata, $sumfnccount); + ($f_found, $f_hit) = get_func_found_and_hit($sumfnccount); + ($br_found, $br_hit) = get_br_found_and_hit($sumbrcount); # Update found/hit numbers $found = 0; $hit = 0; @@ -2122,7 +3861,9 @@ sub diff() { # Store converted entry set_info_entry($entry, $testdata, $sumcount, $funcdata, - $checkdata, $found, $hit); + $checkdata, $testfncdata, $sumfnccount, + $testbrdata, $sumbrcount, $found, $hit, + $f_found, $f_hit, $br_found, $br_hit); } else { @@ -2147,13 +3888,15 @@ sub diff() info("Writing data to $output_filename\n"); open(INFO_HANDLE, ">$output_filename") or die("ERROR: cannot write to $output_filename!\n"); - write_info_file(*INFO_HANDLE, $trace_data); + @result = write_info_file(*INFO_HANDLE, $trace_data); close(*INFO_HANDLE); } else { - write_info_file(*STDOUT, $trace_data); + @result = write_info_file(*STDOUT, $trace_data); } + + return @result; } @@ -2269,3 +4012,164 @@ sub apply_config($) } } } + +sub warn_handler($) +{ + my ($msg) = @_; + + temp_cleanup(); + warn("$tool_name: $msg"); +} + +sub die_handler($) +{ + my ($msg) = @_; + + temp_cleanup(); + die("$tool_name: $msg"); +} + +sub abort_handler($) +{ + temp_cleanup(); + exit(1); +} + +sub temp_cleanup() +{ + if (@temp_dirs) { + info("Removing temporary directories.\n"); + foreach (@temp_dirs) { + rmtree($_); + } + @temp_dirs = (); + } +} + +sub setup_gkv_sys() +{ + system_no_output(3, "mount", "-t", "debugfs", "nodev", + "/sys/kernel/debug"); +} + +sub setup_gkv_proc() +{ + if (system_no_output(3, "modprobe", "gcov_proc")) { + system_no_output(3, "modprobe", "gcov_prof"); + } +} + +sub check_gkv_sys($) +{ + my ($dir) = @_; + + if (-e "$dir/reset") { + return 1; + } + return 0; +} + +sub check_gkv_proc($) +{ + my ($dir) = @_; + + if (-e "$dir/vmlinux") { + return 1; + } + return 0; +} + +sub setup_gkv() +{ + my $dir; + my $sys_dir = "/sys/kernel/debug/gcov"; + my $proc_dir = "/proc/gcov"; + my @todo; + + if (!defined($gcov_dir)) { + info("Auto-detecting gcov kernel support.\n"); + @todo = ( "cs", "cp", "ss", "cs", "sp", "cp" ); + } elsif ($gcov_dir =~ /proc/) { + info("Checking gcov kernel support at $gcov_dir ". + "(user-specified).\n"); + @todo = ( "cp", "sp", "cp", "cs", "ss", "cs"); + } else { + info("Checking gcov kernel support at $gcov_dir ". + "(user-specified).\n"); + @todo = ( "cs", "ss", "cs", "cp", "sp", "cp", ); + } + foreach (@todo) { + if ($_ eq "cs") { + # Check /sys + $dir = defined($gcov_dir) ? $gcov_dir : $sys_dir; + if (check_gkv_sys($dir)) { + info("Found ".$GKV_NAME[$GKV_SYS]." gcov ". + "kernel support at $dir\n"); + return ($GKV_SYS, $dir); + } + } elsif ($_ eq "cp") { + # Check /proc + $dir = defined($gcov_dir) ? $gcov_dir : $proc_dir; + if (check_gkv_proc($dir)) { + info("Found ".$GKV_NAME[$GKV_PROC]." gcov ". + "kernel support at $dir\n"); + return ($GKV_PROC, $dir); + } + } elsif ($_ eq "ss") { + # Setup /sys + setup_gkv_sys(); + } elsif ($_ eq "sp") { + # Setup /proc + setup_gkv_proc(); + } + } + if (defined($gcov_dir)) { + die("ERROR: could not find gcov kernel data at $gcov_dir\n"); + } else { + die("ERROR: no gcov kernel data found\n"); + } +} + + +# +# get_overall_line(found, hit, name_singular, name_plural) +# +# Return a string containing overall information for the specified +# found/hit data. +# + +sub get_overall_line($$$$) +{ + my ($found, $hit, $name_sn, $name_pl) = @_; + my $name; + + return "no data found" if (!defined($found) || $found == 0); + $name = ($found == 1) ? $name_sn : $name_pl; + return sprintf("%.1f%% (%d of %d %s)", $hit * 100 / $found, $hit, + $found, $name); +} + + +# +# print_overall_rate(ln_do, ln_found, ln_hit, fn_do, fn_found, fn_hit, br_do +# br_found, br_hit) +# +# Print overall coverage rates for the specified coverage types. +# + +sub print_overall_rate($$$$$$$$$) +{ + my ($ln_do, $ln_found, $ln_hit, $fn_do, $fn_found, $fn_hit, + $br_do, $br_found, $br_hit) = @_; + + info("Overall coverage rate:\n"); + info(" lines......: %s\n", + get_overall_line($ln_found, $ln_hit, "line", "lines")) + if ($ln_do); + info(" functions..: %s\n", + get_overall_line($fn_found, $fn_hit, "function", "functions")) + if ($fn_do); + info(" branches...: %s\n", + get_overall_line($br_found, $br_hit, "branch", "branches")) + if ($br_do); +} diff --git a/utils/print-introspected-doxygen.cc b/utils/print-introspected-doxygen.cc index be89b7574..1f548a7c1 100644 --- a/utils/print-introspected-doxygen.cc +++ b/utils/print-introspected-doxygen.cc @@ -1,5 +1,6 @@ #include #include +#include #include "ns3/object.h" #include "ns3/pointer.h" #include "ns3/object-vector.h" @@ -13,60 +14,87 @@ using namespace ns3; NS_LOG_COMPONENT_DEFINE ("PrintIntrospectedDoxygen"); +namespace +{ + std::string anchor; + std::string boldStart; + std::string boldStop; + std::string breakBoth; + std::string breakHtmlOnly; + std::string breakTextOnly; + std::string brief; + std::string commentStart; + std::string commentStop; + std::string defgroupAttributeListStart; + std::string defgroupAttributeListStop; + std::string defgroupGlobalValueListStart; + std::string defgroupGlobalValueListStop; + std::string defgroupTraceSourceListStart; + std::string defgroupTraceSourceListStop; + std::string functionStart; + std::string functionStop; + std::string indentHtmlOnly; + std::string ingroupConstructs; + std::string listStart; + std::string listStop; + std::string listLineStart; + std::string listLineStop; + std::string reference; + +} // anonymous namespace + void PrintAttributes (TypeId tid, std::ostream &os) { - os << "
    "<" << tid.GetAttributeName (j) << ": " - << tid.GetAttributeHelp (j) << std::endl; - Ptr checker = tid.GetAttributeChecker (j); - os << "
      " << std::endl - << "
    • Set with class: \\ref " << checker->GetValueTypeName () << "
    • " << std::endl; - if (checker->HasUnderlyingTypeInformation ()) + struct TypeId::AttributeInformation info = tid.GetAttribute(j); + os << listLineStart << boldStart << info.name << boldStop << ": " + << info.help << std::endl; + os << " " << listStart << std::endl + << " " << listLineStart << "Set with class: " << reference << info.checker->GetValueTypeName () << listLineStop << std::endl; + if (info.checker->HasUnderlyingTypeInformation ()) { - os << "
    • Underlying type: \\ref " << checker->GetUnderlyingTypeInformation () << "
    • " << std::endl; + os << " " << listLineStart << "Underlying type: " << reference << info.checker->GetUnderlyingTypeInformation () << listLineStop << std::endl; } - uint32_t flags = tid.GetAttributeFlags (j); - Ptr accessor = tid.GetAttributeAccessor (j); - if (flags & TypeId::ATTR_CONSTRUCT && accessor->HasSetter ()) + if (info.flags & TypeId::ATTR_CONSTRUCT && info.accessor->HasSetter ()) { - Ptr initial = tid.GetAttributeInitialValue (j); - os << "
    • Initial value: " << initial->SerializeToString (checker) << "
    • " << std::endl; + os << " " << listLineStart << "Initial value: " << info.initialValue->SerializeToString (info.checker) << listLineStop << std::endl; } - os << "
    • Flags: "; - if (flags & TypeId::ATTR_CONSTRUCT && accessor->HasSetter ()) + os << " " << listLineStart << "Flags: "; + if (info.flags & TypeId::ATTR_CONSTRUCT && info.accessor->HasSetter ()) { os << "construct "; } - if (flags & TypeId::ATTR_SET && accessor->HasSetter ()) + if (info.flags & TypeId::ATTR_SET && info.accessor->HasSetter ()) { os << "write "; } - if (flags & TypeId::ATTR_GET && accessor->HasGetter ()) + if (info.flags & TypeId::ATTR_GET && info.accessor->HasGetter ()) { os << "read "; } - os << "
    • " << std::endl; - os << "
    " << std::endl; + os << listLineStop << std::endl; + os << " " << listStop << " " << std::endl; } - os << "
" << std::endl; + os << listStop << std::endl; } void PrintTraceSources (TypeId tid, std::ostream &os) { - os << "
    "<" << tid.GetTraceSourceName (i) << ": " - << tid.GetTraceSourceHelp (i) + struct TypeId::TraceSourceInformation info = tid.GetTraceSource (i); + os << listLineStart << boldStart << info.name << boldStop << ": " + << info.help << std::endl; - os << "" << std::endl; + os << listLineStop << std::endl; } - os << "
"< checker = tid.GetAttributeChecker (i); - const PointerChecker *ptrChecker = dynamic_cast (PeekPointer (checker)); + struct TypeId::AttributeInformation info = tid.GetAttribute(i); + const PointerChecker *ptrChecker = dynamic_cast (PeekPointer (info.checker)); if (ptrChecker != 0) { TypeId pointee = ptrChecker->GetPointeeTypeId (); - m_currentPath.push_back (tid.GetAttributeName (i)); + m_currentPath.push_back (info.name); m_alreadyProcessed.push_back (tid); DoGather (pointee); m_alreadyProcessed.pop_back (); @@ -186,11 +214,11 @@ StaticInformation::DoGather (TypeId tid) continue; } // attempt to cast to an object vector. - const ObjectVectorChecker *vectorChecker = dynamic_cast (PeekPointer (checker)); + const ObjectPtrContainerChecker *vectorChecker = dynamic_cast (PeekPointer (info.checker)); if (vectorChecker != 0) { TypeId item = vectorChecker->GetItemTypeId (); - m_currentPath.push_back (tid.GetAttributeName (i) + "/[i]"); + m_currentPath.push_back (info.name + "/[i]"); m_alreadyProcessed.push_back (tid); DoGather (item); m_alreadyProcessed.pop_back (); @@ -261,8 +289,100 @@ StaticInformation::find_and_replace( std::string &source, const std::string find } } +void +PrintHelp (const char *program_name) +{ + std::cout << "Usage: " << program_name << " [options]" << std::endl + << std::endl + << "Options:" << std::endl + << " --help : print these options" << std::endl + << " --output-text : format output as plain text" << std::endl; +} + int main (int argc, char *argv[]) { + bool outputText = false; + char *programName = argv[0]; + + argv++; + + while (*argv != 0) + { + char *arg = *argv; + + if (strcmp (arg, "--help") == 0) + { + PrintHelp (programName); + return 0; + } + else if (strcmp(arg, "--output-text") == 0) + { + outputText = true; + } + else + { + // un-recognized command-line argument + PrintHelp (programName); + return 0; + } + argv++; + } + + if (outputText) + { + anchor = ""; + boldStart = ""; + boldStop = ""; + breakBoth = "\n"; + breakHtmlOnly = ""; + breakTextOnly = "\n"; + brief = ""; + commentStart = "===============================================================\n"; + commentStop = ""; + defgroupAttributeListStart = ""; + defgroupAttributeListStop = "\n"; + defgroupGlobalValueListStart = ""; + defgroupGlobalValueListStop = ""; + defgroupTraceSourceListStart = ""; + defgroupTraceSourceListStop = "\n"; + functionStart = ""; + functionStop = "\n\n"; + indentHtmlOnly = ""; + ingroupConstructs = ""; + listStart = ""; + listStop = ""; + listLineStart = " * "; + listLineStop = ""; + reference = ""; + } + else + { + anchor = "\\anchor "; + boldStart = ""; + boldStop = ""; + breakBoth = "
"; + breakHtmlOnly = "
"; + breakTextOnly = ""; + brief = "\\brief "; + commentStart = "/*!"; + commentStop = "*/"; + defgroupAttributeListStart = "\\defgroup AttributeList "; + defgroupAttributeListStop = ""; + defgroupGlobalValueListStart = "\\defgroup GlobalValueList "; + defgroupGlobalValueListStop = ""; + defgroupTraceSourceListStart = "\\defgroup TraceSourceList "; + defgroupTraceSourceListStop = ""; + functionStart = "\\fn "; + functionStop = ""; + indentHtmlOnly = " "; + ingroupConstructs = "\\ingroup constructs\n"; + listStart = "
    "; + listStop = "
"; + listLineStart = "
  • "; + listLineStop = "
  • "; + reference = "\\ref "; + } + NodeContainer c; c.Create (1); StaticInformation info; @@ -280,37 +400,67 @@ int main (int argc, char *argv[]) info.Gather (object->GetInstanceTypeId ()); } + std::map< std::string, uint32_t> nameMap; + std::map< std::string, uint32_t>::const_iterator nameMapIterator; + + // Create a map from the class names to their index in the vector of + // TypeId's so that the names will end up in alphabetical order. for (uint32_t i = 0; i < TypeId::GetRegisteredN (); i++) { - std::cout << "/*!" << std::endl; TypeId tid = TypeId::GetRegistered (i); if (tid.MustHideFromDocumentation ()) { continue; } - std::cout << "\\fn static TypeId " << tid.GetName () << "::GetTypeId (void)" << std::endl; - std::cout << "\\brief This method returns the TypeId associated to \\ref " << tid.GetName () + + // Capitalize all of letters in the name so that it sorts + // correctly in the map. + std::string name = tid.GetName (); + for (uint32_t j = 0; j < name.length (); j++) + { + name[j] = toupper (name[j]); + } + + // Save this name's index. + nameMap[name] = i; + } + + // Iterate over the map, which will print the class names in + // alphabetical order. + for (nameMapIterator = nameMap.begin (); nameMapIterator != nameMap.end (); nameMapIterator++) + { + // Get the class's index out of the map; + uint32_t i = nameMapIterator->second; + + std::cout << commentStart << std::endl; + TypeId tid = TypeId::GetRegistered (i); + if (tid.MustHideFromDocumentation ()) + { + continue; + } + std::cout << functionStart << "static TypeId " << tid.GetName () << "::GetTypeId (void)" << functionStop << std::endl; + std::cout << brief << "This method returns the TypeId associated to " << reference << tid.GetName () << "." << std::endl << std::endl; std::vector paths = info.Get (tid); if (!paths.empty ()) { std::cout << "This object is accessible through the following paths with Config::Set and Config::Connect:" << std::endl; - std::cout << "
      " << std::endl; + std::cout << listStart << std::endl; for (uint32_t k = 0; k < paths.size (); ++k) { std::string path = paths[k]; - std::cout << "
    • " << path << "
    • " << std::endl; + std::cout << listLineStart << path << listLineStop << breakTextOnly << std::endl; } - std::cout << "
    " << std::endl; + std::cout << listStop << std::endl; } if (tid.GetAttributeN () == 0) { - std::cout << "No Attributes defined for this type.
    " << std::endl; + std::cout << "No Attributes defined for this type." << breakBoth << std::endl; } else { - std::cout << "Attributes defined for this type:
    " << std::endl; + std::cout << "Attributes defined for this type:" << breakHtmlOnly << std::endl; PrintAttributes (tid, std::cout); } { @@ -319,7 +469,7 @@ int main (int argc, char *argv[]) { if (tmp.GetAttributeN () != 0) { - std::cout << "Attributes defined in parent class " << tmp.GetName () << ":
    " << std::endl; + std::cout << "Attributes defined in parent class " << tmp.GetName () << ":" << breakHtmlOnly << std::endl; PrintAttributes (tmp, std::cout); } tmp = tmp.GetParent (); @@ -327,11 +477,11 @@ int main (int argc, char *argv[]) } if (tid.GetTraceSourceN () == 0) { - std::cout << "No TraceSources defined for this type.
    " << std::endl; + std::cout << "No TraceSources defined for this type." << breakBoth << std::endl; } else { - std::cout << "TraceSources defined for this type:
    " << std::endl; + std::cout << "TraceSources defined for this type:" << breakHtmlOnly << std::endl; PrintTraceSources (tid, std::cout); } { @@ -340,19 +490,19 @@ int main (int argc, char *argv[]) { if (tmp.GetTraceSourceN () != 0) { - std::cout << "TraceSources defined in parent class " << tmp.GetName () << ":
    " << std::endl; + std::cout << "TraceSources defined in parent class " << tmp.GetName () << ":" << breakHtmlOnly << std::endl; PrintTraceSources (tmp, std::cout); } tmp = tmp.GetParent (); } } - std::cout << "*/" << std::endl; + std::cout << commentStop << std::endl; } - std::cout << "/*!" << std::endl - << "\\ingroup constructs" << std::endl - << "\\defgroup TraceSourceList The list of all trace sources." << std::endl; + std::cout << commentStart << std::endl + << ingroupConstructs + << defgroupTraceSourceListStart << "The list of all trace sources." << defgroupTraceSourceListStop << std::endl; for (uint32_t i = 0; i < TypeId::GetRegisteredN (); ++i) { TypeId tid = TypeId::GetRegistered (i); @@ -361,20 +511,20 @@ int main (int argc, char *argv[]) { continue; } - std::cout << "" << tid.GetName () << "
    " << std::endl - << "
      " << std::endl; + std::cout << boldStart << tid.GetName () << boldStop << breakHtmlOnly << std::endl + << listStart << std::endl; for (uint32_t j = 0; j < tid.GetTraceSourceN (); ++j) { - std::cout << "
    • " << tid.GetTraceSourceName (j) << ": " << tid.GetTraceSourceHelp (j) << "
    • " << std::endl; + struct TypeId::TraceSourceInformation info = tid.GetTraceSource(j); + std::cout << listLineStart << info.name << ": " << info.help << listLineStop << std::endl; } - std::cout << "
    " << std::endl; + std::cout << listStop << std::endl; } - std::cout << "*/" << std::endl; + std::cout << commentStop << std::endl; - - std::cout << "/*!" << std::endl - << "\\ingroup constructs" << std::endl - << "\\defgroup AttributeList The list of all attributes." << std::endl; + std::cout << commentStart << std::endl + << ingroupConstructs + << defgroupAttributeListStart << "The list of all attributes." << defgroupAttributeListStop << std::endl; for (uint32_t i = 0; i < TypeId::GetRegisteredN (); ++i) { TypeId tid = TypeId::GetRegistered (i); @@ -383,30 +533,31 @@ int main (int argc, char *argv[]) { continue; } - std::cout << "" << tid.GetName () << "
    " << std::endl - << "
      " << std::endl; + std::cout << boldStart << tid.GetName () << boldStop << breakHtmlOnly << std::endl + << listStart << std::endl; for (uint32_t j = 0; j < tid.GetAttributeN (); ++j) { - std::cout << "
    • " << tid.GetAttributeName (j) << ": " << tid.GetAttributeHelp (j) << "
    • " << std::endl; + struct TypeId::AttributeInformation info = tid.GetAttribute(j); + std::cout << listLineStart << info.name << ": " << info.help << listLineStop << std::endl; } - std::cout << "
    " << std::endl; + std::cout << listStop << std::endl; } - std::cout << "*/" << std::endl; + std::cout << commentStop << std::endl; - std::cout << "/*!" << std::endl - << "\\ingroup constructs" << std::endl - << "\\defgroup GlobalValueList The list of all global values." << std::endl - << "
      " << std::endl; + std::cout << commentStart << std::endl + << ingroupConstructs + << defgroupGlobalValueListStart << "The list of all global values." << defgroupGlobalValueListStop << std::endl + << listStart << std::endl; for (GlobalValue::Iterator i = GlobalValue::Begin (); i != GlobalValue::End (); ++i) { StringValue val; (*i)->GetValue (val); - std::cout << "
    • \\anchor GlobalValue" << (*i)->GetName () << " " << (*i)->GetName () << ": " << (*i)->GetHelp () << "(" << val.Get () << ")
    • " << std::endl; + std::cout << indentHtmlOnly << listLineStart << boldStart << anchor << "GlobalValue" << (*i)->GetName () << " " << (*i)->GetName () << boldStop << ": " << (*i)->GetHelp () << "(" << val.Get () << ")" << listLineStop << std::endl; } - std::cout << "
    " << std::endl - << "*/" << std::endl; + std::cout << listStop << std::endl + << commentStop << std::endl; return 0; diff --git a/utils/python-unit-tests.py b/utils/python-unit-tests.py index fcd011952..8c791bf5d 100644 --- a/utils/python-unit-tests.py +++ b/utils/python-unit-tests.py @@ -1,68 +1,74 @@ import unittest -import ns3 +from ns.core import Simulator, Seconds, Config, int64x64_t +import ns.core +import ns.network +import ns.internet +import ns.mobility +import ns.csma + class TestSimulator(unittest.TestCase): def testScheduleNow(self): def callback(args): self._args_received = args - self._cb_time = ns3.Simulator.Now() - ns3.Simulator.Destroy() + self._cb_time = Simulator.Now() + Simulator.Destroy() self._args_received = None self._cb_time = None - ns3.Simulator.ScheduleNow(callback, "args") - ns3.Simulator.Run() + Simulator.ScheduleNow(callback, "args") + Simulator.Run() self.assertEqual(self._args_received, "args") self.assertEqual(self._cb_time.GetSeconds(), 0.0) def testSchedule(self): def callback(args): self._args_received = args - self._cb_time = ns3.Simulator.Now() - ns3.Simulator.Destroy() + self._cb_time = Simulator.Now() + Simulator.Destroy() self._args_received = None self._cb_time = None - ns3.Simulator.Schedule(ns3.Seconds(123), callback, "args") - ns3.Simulator.Run() + Simulator.Schedule(Seconds(123), callback, "args") + Simulator.Run() self.assertEqual(self._args_received, "args") self.assertEqual(self._cb_time.GetSeconds(), 123.0) def testScheduleDestroy(self): def callback(args): self._args_received = args - self._cb_time = ns3.Simulator.Now() - ns3.Simulator.Destroy() + self._cb_time = Simulator.Now() + Simulator.Destroy() self._args_received = None self._cb_time = None def null(): pass - ns3.Simulator.Schedule(ns3.Seconds(123), null) - ns3.Simulator.ScheduleDestroy(callback, "args") - ns3.Simulator.Run() - ns3.Simulator.Destroy() + Simulator.Schedule(Seconds(123), null) + Simulator.ScheduleDestroy(callback, "args") + Simulator.Run() + Simulator.Destroy() self.assertEqual(self._args_received, "args") self.assertEqual(self._cb_time.GetSeconds(), 123.0) def testTimeComparison(self): - self.assert_(ns3.Seconds(123) == ns3.Seconds(123)) - self.assert_(ns3.Seconds(123) >= ns3.Seconds(123)) - self.assert_(ns3.Seconds(123) <= ns3.Seconds(123)) - self.assert_(ns3.Seconds(124) > ns3.Seconds(123)) - self.assert_(ns3.Seconds(123) < ns3.Seconds(124)) + self.assert_(Seconds(123) == Seconds(123)) + self.assert_(Seconds(123) >= Seconds(123)) + self.assert_(Seconds(123) <= Seconds(123)) + self.assert_(Seconds(124) > Seconds(123)) + self.assert_(Seconds(123) < Seconds(124)) def testTimeNumericOperations(self): - self.assertEqual(ns3.Seconds(10) + ns3.Seconds(5), ns3.Seconds(15)) - self.assertEqual(ns3.Seconds(10) - ns3.Seconds(5), ns3.Seconds(5)) - - v1 = ns3.Scalar(5)*ns3.Seconds(10) - self.assertEqual(v1, ns3.Seconds(50)) + self.assertEqual(Seconds(10) + Seconds(5), Seconds(15)) + self.assertEqual(Seconds(10) - Seconds(5), Seconds(5)) + + v1 = int64x64_t(5.0)*int64x64_t(10) + self.assertEqual(v1, int64x64_t(50)) def testConfig(self): - ns3.Config.SetDefault("ns3::OnOffApplication::PacketSize", ns3.UintegerValue(123)) + Config.SetDefault("ns3::OnOffApplication::PacketSize", ns.core.UintegerValue(123)) # hm.. no Config.Get? def testSocket(self): - node = ns3.Node() - internet = ns3.InternetStackHelper() + node = ns.network.Node() + internet = ns.internet.InternetStackHelper() internet.Install(node) self._received_packet = None @@ -70,14 +76,14 @@ class TestSimulator(unittest.TestCase): assert self._received_packet is None self._received_packet = socket.Recv() - sink = ns3.Socket.CreateSocket(node, ns3.TypeId.LookupByName("ns3::UdpSocketFactory")) - sink.Bind(ns3.InetSocketAddress(ns3.Ipv4Address.GetAny(), 80)) + sink = ns.network.Socket.CreateSocket(node, ns.core.TypeId.LookupByName("ns3::UdpSocketFactory")) + sink.Bind(ns.network.InetSocketAddress(ns.network.Ipv4Address.GetAny(), 80)) sink.SetRecvCallback(rx_callback) - source = ns3.Socket.CreateSocket(node, ns3.TypeId.LookupByName("ns3::UdpSocketFactory")) - source.SendTo(ns3.Packet(19), 0, ns3.InetSocketAddress(ns3.Ipv4Address("127.0.0.1"), 80)) + source = ns.network.Socket.CreateSocket(node, ns.core.TypeId.LookupByName("ns3::UdpSocketFactory")) + source.SendTo(ns.network.Packet(19), 0, ns.network.InetSocketAddress(ns.network.Ipv4Address("127.0.0.1"), 80)) - ns3.Simulator.Run() + Simulator.Run() self.assert_(self._received_packet is not None) self.assertEqual(self._received_packet.GetSize(), 19) @@ -87,30 +93,30 @@ class TestSimulator(unittest.TestCase): ## Yes, I know, the GetAttribute interface for Python is ## horrible, we should fix this soon, I hope. ## - queue = ns3.DropTailQueue() + queue = ns.network.DropTailQueue() - queue.SetAttribute("MaxPackets", ns3.UintegerValue(123456)) + queue.SetAttribute("MaxPackets", ns.core.UintegerValue(123456)) - limit = ns3.UintegerValue() + limit = ns.core.UintegerValue() queue.GetAttribute("MaxPackets", limit) self.assertEqual(limit.Get(), 123456) ## -- object pointer values - mobility = ns3.RandomWaypointMobilityModel() - ptr = ns3.PointerValue() + mobility = ns.mobility.RandomWaypointMobilityModel() + ptr = ns.core.PointerValue() mobility.GetAttribute("PositionAllocator", ptr) self.assertEqual(ptr.GetObject(), None) - pos = ns3.ListPositionAllocator() - mobility.SetAttribute("PositionAllocator", ns3.PointerValue(pos)) + pos = ns.mobility.ListPositionAllocator() + mobility.SetAttribute("PositionAllocator", ns.core.PointerValue(pos)) - ptr = ns3.PointerValue() + ptr = ns.core.PointerValue() mobility.GetAttribute("PositionAllocator", ptr) self.assert_(ptr.GetObject() is not None) def testIdentity(self): - csma = ns3.CsmaNetDevice() - channel = ns3.CsmaChannel() + csma = ns.csma.CsmaNetDevice() + channel = ns.csma.CsmaChannel() csma.Attach(channel) c1 = csma.GetChannel() @@ -119,13 +125,13 @@ class TestSimulator(unittest.TestCase): self.assert_(c1 is c2) def testTypeId(self): - typeId1 = ns3.TypeId.LookupByNameFailSafe("ns3::UdpSocketFactory") + typeId1 = ns.core.TypeId.LookupByNameFailSafe("ns3::UdpSocketFactory") self.assertEqual(typeId1.GetName (), "ns3::UdpSocketFactory") - self.assertRaises(KeyError, ns3.TypeId.LookupByNameFailSafe, "__InvalidTypeName__") + self.assertRaises(KeyError, ns.core.TypeId.LookupByNameFailSafe, "__InvalidTypeName__") def testCommandLine(self): - cmd = ns3.CommandLine() + cmd = ns.core.CommandLine() cmd.AddValue("Test1", "this is a test option") cmd.AddValue("Test2", "this is a test option") cmd.AddValue("Test3", "this is a test option", variable="test_xxx") @@ -146,7 +152,7 @@ class TestSimulator(unittest.TestCase): self.assertEqual(foo.test_foo, "xpto") def testSubclass(self): - class MyNode(ns3.Node): + class MyNode(ns.network.Node): def __init__(self): super(MyNode, self).__init__() diff --git a/utils/test-runner.cc b/utils/test-runner.cc index 93ad3738e..d44ee42d2 100644 --- a/utils/test-runner.cc +++ b/utils/test-runner.cc @@ -17,455 +17,8 @@ */ #include "ns3/test.h" -#include "ns3/assert.h" -#include "ns3/abort.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -extern bool gBreakOnFailure; - -using namespace ns3; - -// -// Create a temporary directory for use by test programs. This is not a -// foolproof thing, but a reasonably good way to get a throwaway directory -// while running tests in a debugger. -// -std::string -TempDir (void) +int main (int argc, char *argv[]) { - char *path = NULL; - - path = getenv ("TMP"); - if (path == NULL) - { - path = getenv ("TEMP"); - if (path == NULL) - { - path = const_cast ("/tmp"); - } - } - - // - // Just in case the user wants to go back and find the output, we give - // a hint as to which dir we created by including a time hint. - // - time_t now = time (NULL); - struct tm *tm_now = localtime (&now); - - // - // But we also randomize the name in case there are multiple users doing - // this at the same time - // - srand (time (0)); - long int n = rand (); - - // - // The final path to the directory is going to look something like - // - // /tmp/ns3-14.30.29.32767 - // - // The first segment comes from one of the temporary directory env - // variables or /tmp if not found. The directory name starts with an - // identifier telling folks who is making all of the temp directories - // and then the local time (in this case 14.30.29 -- which is 2:30 and - // 29 seconds PM). - // - char dirname[1024]; - snprintf (dirname, sizeof(dirname), "%s/ns-3.%d.%d.%d.%ld", path, tm_now->tm_hour, tm_now->tm_min, tm_now->tm_sec, n); - -#if (defined(_WIN32) || defined(_WIN64)) && !defined(__CYGWIN__) - if(mkdir(dirname) == 0) -#else - if (mkdir (dirname, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH) == 0) -#endif - { - return dirname; - } - else - { - return ""; - } -} - -// -// Test suites may need to figure out where their source directory is in order -// to find test vectors. To do that they will need to know where the base -// directory of the distribution is (the directory in which "src" is found). -// It is painful for a user debugging test suites to always provide that dir -// so we try and find it in the current directory tree. -// -std::string -BaseDir (void) -{ - // - // Get an absolute path to the current working directory. Following code - // depends on the leading '/' - // - char pathbuf[PATH_MAX]; - if (getcwd (pathbuf, sizeof(pathbuf)) == NULL) - { - NS_ABORT_MSG ("Basedir(): unable to getcwd()"); - } - - // - // Walk up the directory tree looking for a directory that has files that - // indicate it is the base of an ns-3 distribution. We use VERSION and - // LICENSE which have been there from the beginning of time. - // - for (;;) - { - bool haveVersion = false; - bool haveLicense = false; - - // - // Open the directory file for the current directory and loop through - // the directory entries. - // - DIR *dp = opendir (pathbuf); - if (dp != NULL) - { - while (struct dirent *de = readdir (dp)) - { - if (strcmp (de->d_name, "VERSION") == 0) - { - haveVersion = true; - } - - if (strcmp (de->d_name, "LICENSE") == 0) - { - haveLicense = true; - } - } - } - closedir (dp); - - // - // If there's a file named VERSION and a file named LICENSE in this - // directory, we assume it's our base directory. - // - if (haveVersion && haveLicense) - { - return pathbuf; - } - - // - // Strip off the last segment of the current directory. - // - char *last = strrchr (pathbuf, '/'); - NS_ASSERT_MSG (last, "No \"/\" found in absolute path ???"); - *last = '\0'; - - if (strlen(pathbuf) == 0) - { - return ""; - } - } - - // - // Quiet the compiler. - // - return ""; -} - -// -// Run one of the test suites. Returns an integer with the boolean sense of -// "an error has occurred." That is, 0 == false -> no error; 1 == true -> an -// error occurred. -// -int -main (int argc, char *argv[]) -{ - bool doVerbose = false; - bool doList = false; - bool doMultiple = false; - bool doHelp = false; - bool doSuite = false; - bool doKinds = false; - - gBreakOnFailure = false; - - bool haveBasedir = false; - bool haveTempdir = false; - bool haveType = false; - - std::string suiteName; - std::string basedir; - std::string tempdir; - std::string outfileName; - std::string typeName; - - - for (int i = 1; i < argc; ++i) - { - std::string arg(argv[i]); - - if (arg.find ("--assert") != std::string::npos) - { - gBreakOnFailure = true; - } - - if (arg.find ("--basedir=") != std::string::npos) - { - basedir = arg.substr (arg.find_first_of ("=") + 1, 9999); - haveBasedir = true; - } - - if (arg.find ("--constrain=") != std::string::npos) - { - typeName = arg.substr (arg.find_first_of ("=") + 1, 9999); - haveType = true; - } - - if (arg.compare ("--help") == 0) - { - doHelp = true; - } - - if (arg.compare ("--kinds") == 0) - { - doKinds = true; - } - - if (arg.compare ("--list") == 0) - { - doList = true; - } - - if (arg.compare ("--multiple") == 0) - { - doMultiple = true; - } - - if (arg.find ("--out=") != std::string::npos) - { - outfileName = arg.substr (arg.find_first_of ("=") + 1, 9999); - } - - if (arg.find ("--suite=") != std::string::npos) - { - suiteName = arg.substr (arg.find_first_of ("=") + 1, 9999); - doSuite = true; - } - - if (arg.find ("--tempdir=") != std::string::npos) - { - tempdir = arg.substr (arg.find_first_of ("=") + 1, 9999); - haveTempdir = true; - } - - if (arg.compare ("--verbose") == 0) - { - doVerbose = true; - } - } - - // - // A help request trumps everything else. If we have one, just print the help - // and leave. - // - if (doHelp) - { - std::cout << " --assert: Tell tests to segfault (like assert) if an error is detected" << std::endl; - std::cout << " --basedir=dir: Set the base directory (where to find src) to \"dir\"" << std::endl; - std::cout << " --tempdir=dir: Set the temporary directory (where to find data files) to \"dir\"" << std::endl; - std::cout << " --constrain=test-type: Constrain checks to test suites of type \"test-type\"" << std::endl; - std::cout << " --help: Print this message" << std::endl; - std::cout << " --kinds: List all of the available kinds of tests" << std::endl; - std::cout << " --list: List all of the test suites (optionally constrained by test-type)" << std::endl; - std::cout << " --multiple: Allow test suites and cases to produce multiple failures" << std::endl; - std::cout << " --out=file-name: Set the test status output file to \"file-name\"" << std::endl; - std::cout << " --suite=suite-name: Run the test suite named \"suite-name\"" << std::endl; - std::cout << " --verbose: Turn on messages in the run test suites" << std::endl; - - return false; - } - - // - // A kinds request trumps everything remaining. If we are asked, just - // print the list of types and leave. - // - if (doKinds) - { - // - // Coming up with a string to represent a test type is completely up to - // us here. We just define the types as being a string composed of the - // enum defined in test.h converted to lower case. - // - std::cout << " bvt: Build Verification Tests (to see if build completed successfully)" << std::endl; - std::cout << " core: Run all TestSuite-based tests (exclude examples)" << std::endl; - std::cout << " example: Examples (to see if example programs run successfully)" << std::endl; - std::cout << " performance: Performance Tests (check to see if the system is as fast as expected)" << std::endl; - std::cout << " system: System Tests (spans modules to check integration of modules)" << std::endl; - std::cout << " unit: Unit Tests (within modules to check basic functionality)" << std::endl; - - return false; - } - - // - // A list request is the first functional request. It trumps running the - // actual tests. If we get a list request, we don't run anything, we just - // do the requested list which may or may not be qualified by a typename. - // - if (doList) - { - for (uint32_t i = 0; i < TestRunner::GetNTestSuites (); ++i) - { - TestSuite *suite = TestRunner::GetTestSuite (i); - - // - // Filter the tests listed by type if requested. The special typeName - // "core" means any TestSuite. - // - if (haveType && typeName != "core") - { - TestSuite::TestType type = suite->GetTestType (); - if (typeName == "bvt" && type != TestSuite::BVT) - { - continue; - } - - if (typeName == "unit" && type != TestSuite::UNIT) - { - continue; - } - - if (typeName == "system" && type != TestSuite::SYSTEM) - { - continue; - } - - if (typeName == "example" && type != TestSuite::EXAMPLE) - { - continue; - } - - if (typeName == "performance" && type != TestSuite::PERFORMANCE) - { - continue; - } - } - - // - // This creates a list of test suite names that can be used by the - // high level test manager to get a list of all tests. It will then - // typically launch individual tests in parallel, calling back here - // with a specific "suite=" to run. - // - std::cout << suite->GetName () << std::endl; - } - - return false; - } - - // - // We have a lot of options possible to provide flexibility. It can become - // painful, however, to provide all of the options when debugging, and it - // turns out that not all tests require all options. It is really helpful - // to try and put together some reasonable defaults if we're not provided - // them. - // - if (!haveTempdir) - { - // - // No temporary directory was provided. We don't know if the selected - // test or tests will need one, but we can cook something up. The - // tmpnam function has its own set of problems, so we'll just do our - // own thing. - // - tempdir = TempDir (); - if (tempdir.size ()) - { - std::cout << "Temporary directory not provided. Using \"" << tempdir << "\"" << std::endl; - haveTempdir = true; - } - else - { - std::cout << "Temporary directory not provided and unable to create one." << std::endl; - return true; - } - } - - if (haveBasedir == false) - { - // - // No basedir was provided. If we don't have it, we can try and find it - // in the current directory tree. - // - basedir = BaseDir (); - if (basedir.size ()) - { - std::cout << "Base directory not provided. Using \"" << basedir << "\"" << std::endl; - haveBasedir = true; - } - else - { - std::cout << "Base directory not provided and unable to find one." << std::endl; - return true; - } - } - - // - // If given an output file, we just append the output of each test suite - // we're asked to run to the end of that file. We need to append since the - // higher level test runner may be just running a number of tests back to - // back. We leave it up to that code to decide how to deal with possible - // parallel operation -- we just append to a file here. If no output file - // is specified, we don't do any output and just return the sense of error - // given by the test. - // - std::ofstream *pofs = 0; - std::ofstream ofs; - - if (!outfileName.empty ()) - { - ofs.open (outfileName.c_str (), std::fstream::out | std::fstream::app); - pofs = &ofs; - } - - // - // If we have a specified test suite to run, then we only run that suite. - // The default case is to "run everything. We don't expect this to be done - // much since typically higher level code will be running suites in parallel - // but we'll do it if asked. - // - bool result = false; - bool suiteRan = false; - - for (uint32_t i = 0; i < TestRunner::GetNTestSuites (); ++i) - { - TestSuite *testSuite = TestRunner::GetTestSuite (i); - if (doSuite == false || (doSuite == true && suiteName == testSuite->GetName ())) - { - testSuite->SetBaseDir (basedir); - testSuite->SetTempDir (tempdir); - testSuite->SetStream (pofs); - testSuite->SetVerbose (doVerbose); - testSuite->SetContinueOnFailure (doMultiple); - result |= testSuite->Run (); - suiteRan = true; - } - } - - ofs.close(); - - // - // If we couldn't figure out how to run at least one test, then return an error - // - if (suiteRan == false) - { - std::cout << "Unable to find a test to run (constraints too severe or test not found)" << std::endl; - return true; - } - - return result; + return ns3::TestRunner::Run (argc, argv); } diff --git a/utils/wscript b/utils/wscript index ade5ef6e6..a1addf860 100644 --- a/utils/wscript +++ b/utils/wscript @@ -10,15 +10,23 @@ def build(bld): # Set the libraries the testrunner depends on equal to the list of # enabled modules plus the list of enabled module test libraries. - test_runner.uselib_local = [mod+"--lib" for mod in (env['NS3_ENABLED_MODULES'] + env['NS3_ENABLED_MODULE_TEST_LIBRARIES'])] + test_runner.use = [mod for mod in (env['NS3_ENABLED_MODULES'] + env['NS3_ENABLED_MODULE_TEST_LIBRARIES'])] obj = bld.create_ns3_program('bench-simulator', ['core']) obj.source = 'bench-simulator.cc' - obj = bld.create_ns3_program('bench-packets', ['network']) - obj.source = 'bench-packets.cc' + # Because the list of enabled modules must be set before + # test-runner can be built, this diretory is parsed by the top + # level wscript file after all of the other program module + # dependencies have been handled. + # + # So, make sure that the network module is enabled before building + # these programs. + if 'ns3-network' in env['NS3_ENABLED_MODULES']: + obj = bld.create_ns3_program('bench-packets', ['network']) + obj.source = 'bench-packets.cc' - obj = bld.create_ns3_program('print-introspected-doxygen') - obj.source = 'print-introspected-doxygen.cc' - obj.uselib_local = [mod+"--lib" for mod in env['NS3_ENABLED_MODULES']] + obj = bld.create_ns3_program('print-introspected-doxygen', ['network']) + obj.source = 'print-introspected-doxygen.cc' + obj.use = [mod for mod in env['NS3_ENABLED_MODULES']] diff --git a/waf b/waf index 22d00ed29..f7c97d6a8 100755 Binary files a/waf and b/waf differ diff --git a/waf-tools/boost.py b/waf-tools/boost.py new file mode 100644 index 000000000..2ca82e245 --- /dev/null +++ b/waf-tools/boost.py @@ -0,0 +1,278 @@ +#!/usr/bin/env python +# encoding: utf-8 +# +# partially based on boost.py written by Gernot Vormayr +# written by Ruediger Sonderfeld , 2008 +# modified by Bjoern Michaelsen, 2008 +# modified by Luca Fossati, 2008 +# rewritten for waf 1.5.1, Thomas Nagy, 2008 +# rewritten for waf 1.6.2, Sylvain Rouquette, 2011 + +''' +To add the boost tool to the waf file: +$ ./waf-light --tools=compat15,boost + or, if you have waf >= 1.6.2 +$ ./waf update --files=boost + +The wscript will look like: + +def options(opt): + opt.load('compiler_cxx boost') + +def configure(conf): + conf.load('compiler_cxx boost') + conf.check_boost(lib='system filesystem', mt=True, static=True) + +def build(bld): + bld(source='main.cpp', target='app', use='BOOST') +''' + +import sys +import re +from waflib import Utils, Logs +from waflib.Configure import conf +from waflib.Errors import WafError + +BOOST_LIBS = ('/usr/lib', '/usr/local/lib', + '/opt/local/lib', '/sw/lib', '/lib') +BOOST_INCLUDES = ('/usr/include', '/usr/local/include', + '/opt/local/include', '/sw/include') +BOOST_VERSION_FILE = 'boost/version.hpp' +BOOST_VERSION_CODE = ''' +#include +#include +int main() { std::cout << BOOST_LIB_VERSION << std::endl; } +''' + +# toolsets from {boost_dir}/tools/build/v2/tools/common.jam +PLATFORM = Utils.unversioned_sys_platform() +detect_intel = lambda env: (PLATFORM == 'win32') and 'iw' or 'il' +detect_clang = lambda env: (PLATFORM == 'darwin') and 'clang-darwin' or 'clang' +detect_mingw = lambda env: (re.search('MinGW', env.CXX[0])) and 'mgw' or 'gcc' +BOOST_TOOLSETS = { + 'borland': 'bcb', + 'clang': detect_clang, + 'como': 'como', + 'cw': 'cw', + 'darwin': 'xgcc', + 'edg': 'edg', + 'g++': detect_mingw, + 'gcc': detect_mingw, + 'icpc': detect_intel, + 'intel': detect_intel, + 'kcc': 'kcc', + 'kylix': 'bck', + 'mipspro': 'mp', + 'mingw': 'mgw', + 'msvc': 'vc', + 'qcc': 'qcc', + 'sun': 'sw', + 'sunc++': 'sw', + 'tru64cxx': 'tru', + 'vacpp': 'xlc' +} + + +def options(opt): + opt.add_option('--boost-includes', type='string', + default='', dest='boost_includes', + help='''path to the boost directory where the includes are + e.g. /boost_1_45_0/include''') + opt.add_option('--boost-libs', type='string', + default='', dest='boost_libs', + help='''path to the directory where the boost libs are + e.g. /boost_1_45_0/stage/lib''') + opt.add_option('--boost-static', action='store_true', + default=False, dest='boost_static', + help='link static libraries') + opt.add_option('--boost-mt', action='store_true', + default=False, dest='boost_mt', + help='select multi-threaded libraries') + opt.add_option('--boost-abi', type='string', default='', dest='boost_abi', + help='''select libraries with tags (dgsyp, d for debug), + see doc Boost, Getting Started, chapter 6.1''') + opt.add_option('--boost-toolset', type='string', + default='', dest='boost_toolset', + help='force a toolset e.g. msvc, vc90, \ + gcc, mingw, mgw45 (default: auto)') + py_version = '%d%d' % (sys.version_info[0], sys.version_info[1]) + opt.add_option('--boost-python', type='string', + default=py_version, dest='boost_python', + help='select the lib python with this version \ + (default: %s)' % py_version) + + +@conf +def __boost_get_version_file(self, dir): + try: + return self.root.find_dir(dir).find_node(BOOST_VERSION_FILE) + except: + return None + + +@conf +def boost_get_version(self, dir): + """silently retrieve the boost version number""" + re_but = re.compile('^#define\\s+BOOST_LIB_VERSION\\s+"(.*)"$', re.M) + try: + val = re_but.search(self.__boost_get_version_file(dir).read()).group(1) + except: + val = self.check_cxx(fragment=BOOST_VERSION_CODE, includes=[dir], + execute=True, define_ret=True) + return val + + +@conf +def boost_get_includes(self, *k, **kw): + includes = k and k[0] or kw.get('includes', None) + if includes and self.__boost_get_version_file(includes): + return includes + for dir in BOOST_INCLUDES: + if self.__boost_get_version_file(dir): + return dir + if includes: + self.fatal('headers not found in %s' % includes) + else: + self.fatal('headers not found, use --boost-includes=/path/to/boost') + + +@conf +def boost_get_toolset(self, cc): + toolset = cc + if not cc: + build_platform = Utils.unversioned_sys_platform() + if build_platform in BOOST_TOOLSETS: + cc = build_platform + else: + cc = self.env.CXX_NAME + if cc in BOOST_TOOLSETS: + toolset = BOOST_TOOLSETS[cc] + return isinstance(toolset, str) and toolset or toolset(self.env) + + +@conf +def __boost_get_libs_path(self, *k, **kw): + ''' return the lib path and all the files in it ''' + if 'files' in kw: + return self.root.find_dir('.'), Utils.to_list(kw['files']) + libs = k and k[0] or kw.get('libs', None) + if libs: + path = self.root.find_dir(libs) + files = path.ant_glob('*boost_*') + if not libs or not files: + for dir in BOOST_LIBS: + try: + path = self.root.find_dir(dir) + files = path.ant_glob('*boost_*') + if files: + break + path = self.root.find_dir(dir + '64') + files = path.ant_glob('*boost_*') + if files: + break + except: + path = None + if not path: + if libs: + self.fatal('libs not found in %s' % libs) + else: + self.fatal('libs not found, \ + use --boost-includes=/path/to/boost/lib') + return path, files + + +@conf +def boost_get_libs(self, *k, **kw): + ''' + return the lib path and the required libs + according to the parameters + ''' + path, files = self.__boost_get_libs_path(**kw) + t = [] + if kw.get('mt', False): + t.append('mt') + if kw.get('abi', None): + t.append(kw['abi']) + tags = t and '(-%s)+' % '-'.join(t) or '' + toolset = '(-%s[0-9]{0,3})+' % self.boost_get_toolset(kw.get('toolset', '')) + version = '(-%s)+' % self.env.BOOST_VERSION + + def find_lib(re_lib, files): + for file in files: + if re_lib.search(file.name): + return file + return None + + def format_lib_name(name): + if name.startswith('lib'): + name = name[3:] + return name.split('.')[0] + + libs = [] + for lib in Utils.to_list(k and k[0] or kw.get('lib', None)): + py = (lib == 'python') and '(-py%s)+' % kw['python'] or '' + # Trying libraries, from most strict match to least one + for pattern in ['boost_%s%s%s%s%s' % (lib, toolset, tags, py, version), + 'boost_%s%s%s%s' % (lib, tags, py, version), + 'boost_%s%s%s' % (lib, tags, version), + # Give up trying to find the right version + 'boost_%s%s%s%s' % (lib, toolset, tags, py), + 'boost_%s%s%s' % (lib, tags, py), + 'boost_%s%s' % (lib, tags)]: + file = find_lib(re.compile(pattern), files) + if file: + libs.append(format_lib_name(file.name)) + break + else: + self.fatal('lib %s not found in %s' % (lib, path)) + + return path.abspath(), libs + + +@conf +def check_boost(self, *k, **kw): + """ + initialize boost + + You can pass the same parameters as the command line (without "--boost-"), + but the command line has the priority. + """ + if not self.env['CXX']: + self.fatal('load a c++ compiler first, conf.load("compiler_cxx")') + + params = {'lib': k and k[0] or kw.get('lib', None)} + for key, value in self.options.__dict__.items(): + if not key.startswith('boost_'): + continue + key = key[len('boost_'):] + params[key] = value and value or kw.get(key, '') + + var = kw.get('uselib_store', 'BOOST') + + self.start_msg('Checking boost includes') + try: + self.env['INCLUDES_%s' % var] = self.boost_get_includes(**params) + self.env.BOOST_VERSION = self.boost_get_version(self.env['INCLUDES_%s' % var]) + except WafError: + self.end_msg("not found", 'YELLOW') + raise + self.end_msg(self.env.BOOST_VERSION) + if Logs.verbose: + Logs.pprint('CYAN', ' path : %s' % self.env['INCLUDES_%s' % var]) + + if not params['lib']: + return + self.start_msg('Checking boost libs') + try: + suffix = params.get('static', 'ST') or '' + path, libs = self.boost_get_libs(**params) + except WafError: + self.end_msg("not found", 'YELLOW') + raise + self.env['%sLIBPATH_%s' % (suffix, var)] = [path] + self.env['%sLIB_%s' % (suffix, var)] = libs + self.end_msg('ok') + if Logs.verbose: + Logs.pprint('CYAN', ' path : %s' % path) + Logs.pprint('CYAN', ' libs : %s' % libs) + diff --git a/waf-tools/cflags.py b/waf-tools/cflags.py index 1738c88f9..cf9c93c46 100644 --- a/waf-tools/cflags.py +++ b/waf-tools/cflags.py @@ -144,7 +144,7 @@ profiles = { default_profile = 'default' -def set_options(opt): +def options(opt): assert default_profile in profiles opt.add_option('-d', '--build-profile', action='store', @@ -157,7 +157,7 @@ def set_options(opt): choices=profiles.keys(), dest='build_profile') -def detect(conf): +def configure(conf): cc = conf.env['COMPILER_CC'] or None cxx = conf.env['COMPILER_CXX'] or None if not (cc or cxx): diff --git a/waf-tools/command.py b/waf-tools/command.py index 5034acf3c..9066e0abb 100644 --- a/waf-tools/command.py +++ b/waf-tools/command.py @@ -1,9 +1,10 @@ -from TaskGen import feature, taskgen, before, task_gen -import Node, Task, Utils, Build, pproc, Constants +import TaskGen# import feature, taskgen_method, before_method, task_gen +import Node, Task, Utils, Build +import subprocess import Options import shellcmd -shellcmd.subprocess = pproc # the WAF version of the subprocess module is supposedly less buggy +#shellcmd.subprocess = pproc # the WAF version of the subprocess module is supposedly less buggy from Logs import debug, error shellcmd.debug = debug @@ -18,7 +19,7 @@ arg_rx = re.compile(r"(?P\$\$)|(?P\$\{(?P\w+)(?P.*?)\} class command_task(Task.Task): color = "BLUE" def __init__(self, env, generator): - Task.Task.__init__(self, env, normal=1, generator=generator) + Task.Task.__init__(self, env=env, normal=1, generator=generator) def __str__(self): "string to display to the user" @@ -33,7 +34,6 @@ class command_task(Task.Task): pipeline = shellcmd.Pipeline() pipeline.parse(self.generator.command) cmd = pipeline.get_abbreviated_command() - return 'command (%s): %s%s%s\n' % (cmd, src_str, sep, tgt_str) def _subst_arg(self, arg, direction, namespace): @@ -50,21 +50,24 @@ class command_task(Task.Task): result = eval(var+code, namespace) if isinstance(result, Node.Node): if var == 'TGT': - return result.bldpath(self.env) + return result.get_bld().abspath() elif var == 'SRC': - return result.srcpath(self.env) + return result.srcpath() else: raise ValueError("Bad subst variable %r" % var) elif result is self.inputs: if len(self.inputs) == 1: - return result[0].srcpath(self.env) + return result[0].srcpath() else: raise ValueError("${SRC} requested but have multiple sources; which one?") elif result is self.outputs: if len(self.outputs) == 1: - return result[0].bldpath(self.env) + return result[0].get_bld().abspath() else: raise ValueError("${TGT} requested but have multiple targets; which one?") + elif isinstance(result, list): + assert len(result) == 1 + return result[0] else: return result return None @@ -95,40 +98,37 @@ class command_task(Task.Task): cmd.env_vars = env_vars elif isinstance(cmd, shellcmd.Chdir): cmd.dir = self._subst_arg(cmd.dir, None, namespace) - return pipeline.run(verbose=(Options.options.verbose > 0)) -@taskgen -@feature('command') +@TaskGen.taskgen_method +@TaskGen.feature('command') def init_command(self): Utils.def_attrs(self, - # other variables that can be used in the command: ${VARIABLE} - variables = None) + # other variables that can be used in the command: ${VARIABLE} + variables = None, + rule='') -@taskgen -@feature('command') -@before('apply_core') +@TaskGen.feature('command') +@TaskGen.after_method('process_rule') def apply_command(self): - self.meths.remove('apply_core') + #self.meths.remove('apply_core') # create the task task = self.create_task('command') setattr(task, "dep_vars", getattr(self, "dep_vars", None)) # process the sources inputs = [] - for src in self.to_list(self.source): - node = self.path.find_resource(src) - if node is None: - raise Utils.WafError("source %s not found" % src) - inputs.append(node) + for node in self.source: + inputs.append(node) task.set_inputs(inputs) task.set_outputs([self.path.find_or_declare(tgt) for tgt in self.to_list(self.target)]) + self.source = '' #Task.file_deps = Task.extract_deps -class command_taskgen(task_gen): - def __init__(self, *k, **kw): - task_gen.__init__(self, *k, **kw) - self.features.append('command') +# class command_taskgen(task_gen): +# def __init__(self, *k, **kw): +# task_gen.__init__(self, *k, **kw) +# self.features.append('command') diff --git a/waf-tools/misc.py b/waf-tools/misc.py new file mode 100644 index 000000000..e8620fb14 --- /dev/null +++ b/waf-tools/misc.py @@ -0,0 +1,416 @@ +#!/usr/bin/env python +# encoding: utf-8 +# Thomas Nagy, 2006-2010 (ita) + +""" +This tool is totally deprecated + +Try using: + .pc.in files for .pc files + the feature intltool_in - see demos/intltool + make-like rules +""" + +import shutil, re, os +from waflib import TaskGen, Node, Task, Utils, Build, Errors +from waflib.TaskGen import feature, after_method, before_method +from waflib.Logs import debug + +def copy_attrs(orig, dest, names, only_if_set=False): + """ + copy class attributes from an object to another + """ + for a in Utils.to_list(names): + u = getattr(orig, a, ()) + if u or not only_if_set: + setattr(dest, a, u) + +def copy_func(tsk): + "Make a file copy. This might be used to make other kinds of file processing (even calling a compiler is possible)" + env = tsk.env + infile = tsk.inputs[0].abspath() + outfile = tsk.outputs[0].abspath() + try: + shutil.copy2(infile, outfile) + except (OSError, IOError): + return 1 + else: + if tsk.chmod: os.chmod(outfile, tsk.chmod) + return 0 + +def action_process_file_func(tsk): + "Ask the function attached to the task to process it" + if not tsk.fun: raise Errors.WafError('task must have a function attached to it for copy_func to work!') + return tsk.fun(tsk) + +@feature('cmd') +def apply_cmd(self): + "call a command everytime" + if not self.fun: raise Errors.WafError('cmdobj needs a function!') + tsk = Task.TaskBase() + tsk.fun = self.fun + tsk.env = self.env + self.tasks.append(tsk) + tsk.install_path = self.install_path + +@feature('copy') +@before_method('process_source') +def apply_copy(self): + Utils.def_attrs(self, fun=copy_func) + self.default_install_path = 0 + + lst = self.to_list(self.source) + self.meths.remove('process_source') + + for filename in lst: + node = self.path.find_resource(filename) + if not node: raise Errors.WafError('cannot find input file %s for processing' % filename) + + target = self.target + if not target or len(lst)>1: target = node.name + + # TODO the file path may be incorrect + newnode = self.path.find_or_declare(target) + + tsk = self.create_task('copy', node, newnode) + tsk.fun = self.fun + tsk.chmod = getattr(self, 'chmod', Utils.O644) + + if not tsk.env: + tsk.debug() + raise Errors.WafError('task without an environment') + +def subst_func(tsk): + "Substitutes variables in a .in file" + + m4_re = re.compile('@(\w+)@', re.M) + + code = tsk.inputs[0].read() #Utils.readf(infile) + + # replace all % by %% to prevent errors by % signs in the input file while string formatting + code = code.replace('%', '%%') + + s = m4_re.sub(r'%(\1)s', code) + + env = tsk.env + di = getattr(tsk, 'dict', {}) or getattr(tsk.generator, 'dict', {}) + if not di: + names = m4_re.findall(code) + for i in names: + di[i] = env.get_flat(i) or env.get_flat(i.upper()) + + tsk.outputs[0].write(s % di) + +@feature('subst') +@before_method('process_source') +def apply_subst(self): + Utils.def_attrs(self, fun=subst_func) + lst = self.to_list(self.source) + self.meths.remove('process_source') + + self.dict = getattr(self, 'dict', {}) + + for filename in lst: + node = self.path.find_resource(filename) + if not node: raise Errors.WafError('cannot find input file %s for processing' % filename) + + if self.target: + newnode = self.path.find_or_declare(self.target) + else: + newnode = node.change_ext('') + + try: + self.dict = self.dict.get_merged_dict() + except AttributeError: + pass + + if self.dict and not self.env['DICT_HASH']: + self.env = self.env.derive() + keys = list(self.dict.keys()) + keys.sort() + lst = [self.dict[x] for x in keys] + self.env['DICT_HASH'] = str(Utils.h_list(lst)) + + tsk = self.create_task('copy', node, newnode) + tsk.fun = self.fun + tsk.dict = self.dict + tsk.dep_vars = ['DICT_HASH'] + tsk.chmod = getattr(self, 'chmod', Utils.O644) + + if not tsk.env: + tsk.debug() + raise Errors.WafError('task without an environment') + +#################### +## command-output #### +#################### + +class cmd_arg(object): + """command-output arguments for representing files or folders""" + def __init__(self, name, template='%s'): + self.name = name + self.template = template + self.node = None + +class input_file(cmd_arg): + def find_node(self, base_path): + assert isinstance(base_path, Node.Node) + self.node = base_path.find_resource(self.name) + if self.node is None: + raise Errors.WafError("Input file %s not found in " % (self.name, base_path)) + + def get_path(self, env, absolute): + if absolute: + return self.template % self.node.abspath() + else: + return self.template % self.node.srcpath() + +class output_file(cmd_arg): + def find_node(self, base_path): + assert isinstance(base_path, Node.Node) + self.node = base_path.find_or_declare(self.name) + if self.node is None: + raise Errors.WafError("Output file %s not found in " % (self.name, base_path)) + + def get_path(self, env, absolute): + if absolute: + return self.template % self.node.abspath() + else: + return self.template % self.node.bldpath() + +class cmd_dir_arg(cmd_arg): + def find_node(self, base_path): + assert isinstance(base_path, Node.Node) + self.node = base_path.find_dir(self.name) + if self.node is None: + raise Errors.WafError("Directory %s not found in " % (self.name, base_path)) + +class input_dir(cmd_dir_arg): + def get_path(self, dummy_env, dummy_absolute): + return self.template % self.node.abspath() + +class output_dir(cmd_dir_arg): + def get_path(self, env, dummy_absolute): + return self.template % self.node.abspath() + + +class command_output(Task.Task): + color = "BLUE" + def __init__(self, env, command, command_node, command_args, stdin, stdout, cwd, os_env, stderr): + Task.Task.__init__(self, env=env) + assert isinstance(command, (str, Node.Node)) + self.command = command + self.command_args = command_args + self.stdin = stdin + self.stdout = stdout + self.cwd = cwd + self.os_env = os_env + self.stderr = stderr + + if command_node is not None: self.dep_nodes = [command_node] + self.dep_vars = [] # additional environment variables to look + + def run(self): + task = self + #assert len(task.inputs) > 0 + + def input_path(node, template): + if task.cwd is None: + return template % node.bldpath() + else: + return template % node.abspath() + def output_path(node, template): + fun = node.abspath + if task.cwd is None: fun = node.bldpath + return template % fun() + + if isinstance(task.command, Node.Node): + argv = [input_path(task.command, '%s')] + else: + argv = [task.command] + + for arg in task.command_args: + if isinstance(arg, str): + argv.append(arg) + else: + assert isinstance(arg, cmd_arg) + argv.append(arg.get_path(task.env, (task.cwd is not None))) + + if task.stdin: + stdin = open(input_path(task.stdin, '%s')) + else: + stdin = None + + if task.stdout: + stdout = open(output_path(task.stdout, '%s'), "w") + else: + stdout = None + + if task.stderr: + stderr = open(output_path(task.stderr, '%s'), "w") + else: + stderr = None + + if task.cwd is None: + cwd = ('None (actually %r)' % os.getcwd()) + else: + cwd = repr(task.cwd) + debug("command-output: cwd=%s, stdin=%r, stdout=%r, argv=%r" % + (cwd, stdin, stdout, argv)) + + if task.os_env is None: + os_env = os.environ + else: + os_env = task.os_env + command = Utils.subprocess.Popen(argv, stdin=stdin, stdout=stdout, stderr=stderr, cwd=task.cwd, env=os_env) + return command.wait() + +@feature('command-output') +def init_cmd_output(self): + Utils.def_attrs(self, + stdin = None, + stdout = None, + stderr = None, + # the command to execute + command = None, + + # whether it is an external command; otherwise it is assumed + # to be an executable binary or script that lives in the + # source or build tree. + command_is_external = False, + + # extra parameters (argv) to pass to the command (excluding + # the command itself) + argv = [], + + # dependencies to other objects -> this is probably not what you want (ita) + # values must be 'task_gen' instances (not names!) + dependencies = [], + + # dependencies on env variable contents + dep_vars = [], + + # input files that are implicit, i.e. they are not + # stdin, nor are they mentioned explicitly in argv + hidden_inputs = [], + + # output files that are implicit, i.e. they are not + # stdout, nor are they mentioned explicitly in argv + hidden_outputs = [], + + # change the subprocess to this cwd (must use obj.input_dir() or output_dir() here) + cwd = None, + + # OS environment variables to pass to the subprocess + # if None, use the default environment variables unchanged + os_env = None) + +@feature('command-output') +@after_method('init_cmd_output') +def apply_cmd_output(self): + if self.command is None: + raise Errors.WafError("command-output missing command") + if self.command_is_external: + cmd = self.command + cmd_node = None + else: + cmd_node = self.path.find_resource(self.command) + assert cmd_node is not None, ('''Could not find command '%s' in source tree. +Hint: if this is an external command, +use command_is_external=True''') % (self.command,) + cmd = cmd_node + + if self.cwd is None: + cwd = None + else: + assert isinstance(cwd, CmdDirArg) + self.cwd.find_node(self.path) + + args = [] + inputs = [] + outputs = [] + + for arg in self.argv: + if isinstance(arg, cmd_arg): + arg.find_node(self.path) + if isinstance(arg, input_file): + inputs.append(arg.node) + if isinstance(arg, output_file): + outputs.append(arg.node) + + if self.stdout is None: + stdout = None + else: + assert isinstance(self.stdout, str) + stdout = self.path.find_or_declare(self.stdout) + if stdout is None: + raise Errors.WafError("File %s not found" % (self.stdout,)) + outputs.append(stdout) + + if self.stderr is None: + stderr = None + else: + assert isinstance(self.stderr, str) + stderr = self.path.find_or_declare(self.stderr) + if stderr is None: + raise Errors.WafError("File %s not found" % (self.stderr,)) + outputs.append(stderr) + + if self.stdin is None: + stdin = None + else: + assert isinstance(self.stdin, str) + stdin = self.path.find_resource(self.stdin) + if stdin is None: + raise Errors.WafError("File %s not found" % (self.stdin,)) + inputs.append(stdin) + + for hidden_input in self.to_list(self.hidden_inputs): + node = self.path.find_resource(hidden_input) + if node is None: + raise Errors.WafError("File %s not found in dir %s" % (hidden_input, self.path)) + inputs.append(node) + + for hidden_output in self.to_list(self.hidden_outputs): + node = self.path.find_or_declare(hidden_output) + if node is None: + raise Errors.WafError("File %s not found in dir %s" % (hidden_output, self.path)) + outputs.append(node) + + if not (inputs or getattr(self, 'no_inputs', None)): + raise Errors.WafError('command-output objects must have at least one input file or give self.no_inputs') + if not (outputs or getattr(self, 'no_outputs', None)): + raise Errors.WafError('command-output objects must have at least one output file or give self.no_outputs') + + cwd = self.bld.variant_dir + task = command_output(self.env, cmd, cmd_node, self.argv, stdin, stdout, cwd, self.os_env, stderr) + task.generator = self + copy_attrs(self, task, 'before after ext_in ext_out', only_if_set=True) + self.tasks.append(task) + + task.inputs = inputs + task.outputs = outputs + task.dep_vars = self.to_list(self.dep_vars) + + for dep in self.dependencies: + assert dep is not self + dep.post() + for dep_task in dep.tasks: + task.set_run_after(dep_task) + + if not task.inputs: + # the case for svnversion, always run, and update the output nodes + task.runnable_status = type(Task.TaskBase.run)(runnable_status, task, task.__class__) # always run + task.post_run = type(Task.TaskBase.run)(post_run, task, task.__class__) + + # TODO the case with no outputs? + +def post_run(self): + for x in self.outputs: + x.sig = Utils.h_file(x.abspath()) + +def runnable_status(self): + return self.RUN_ME + +Task.task_factory('copy', vars=[], func=action_process_file_func) + diff --git a/waf-tools/pkgconfig.py b/waf-tools/pkgconfig.py index 95d7cf587..bc7572772 100644 --- a/waf-tools/pkgconfig.py +++ b/waf-tools/pkgconfig.py @@ -3,10 +3,11 @@ import Options import Configure -import pproc as subprocess +import subprocess import config_c +import sys -def detect(conf): +def configure(conf): pkg_config = conf.find_program('pkg-config', var='PKG_CONFIG') if not pkg_config: return @@ -19,25 +20,31 @@ def pkg_check_modules(conf, uselib_name, expression, mandatory=True): else: return False + if Options.options.verbose: + extra_msg = ' (%s)' % expression + else: + extra_msg = '' + + conf.start_msg('Checking for pkg-config flags for %s%s' % (uselib_name, extra_msg)) + argv = [pkg_config, '--cflags', '--libs', expression] - cmd = subprocess.Popen(argv, stdout=subprocess.PIPE) - out, dummy = cmd.communicate() + cmd = subprocess.Popen(argv, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + out, err = cmd.communicate() retval = cmd.wait() - msg_checking = ("pkg-config flags for %s" % (uselib_name,)) - if Options.options.verbose: - if retval == 0: - conf.check_message_custom(msg_checking, - ('(%s)' % expression), out) - else: - conf.check_message(msg_checking, ('(%s)' % expression), False) + conf.to_log('%r: %r (exit code %i)\n%s' % (argv, out, retval, err)) + + if retval != 0: + conf.end_msg(False) + sys.stderr.write(err) else: - conf.check_message(msg_checking, '', (retval == 0), '') - conf.log.write('%r: %r (exit code %i)\n' % (argv, out, retval)) + if Options.options.verbose: + conf.end_msg(out) + else: + conf.end_msg(True) if retval == 0: - - config_c.parse_flags(out, uselib_name, conf.env) + conf.parse_flags(out, uselib_name, conf.env) conf.env[uselib_name] = True return True @@ -61,7 +68,7 @@ def pkg_check_module_variable(conf, module, variable): retval = cmd.wait() out = out.rstrip() # strip the trailing newline - msg_checking = ("pkg-config variable %r in %s" % (variable, module,)) + msg_checking = ("Checking for pkg-config variable %r in %s" % (variable, module,)) conf.check_message_custom(msg_checking, '', out) conf.log.write('%r: %r (exit code %i)\n' % (argv, out, retval)) diff --git a/waf-tools/python.py b/waf-tools/python.py new file mode 100644 index 000000000..f85c1bb4f --- /dev/null +++ b/waf-tools/python.py @@ -0,0 +1,502 @@ +#!/usr/bin/env python +# encoding: utf-8 +# Thomas Nagy, 2007-2010 (ita) +# Gustavo Carneiro (gjc), 2007 + +# +# NS-3 Note: this python tool was added only for including a bug fix: +# http://code.google.com/p/waf/issues/detail?id=1045 +# Once waf 1.6.8 comes out and ns-3 upgrades to it, this copy of the python tool can be removed +# + +""" +Support for Python, detect the headers and libraries and provide +*use* variables to link C/C++ programs against them:: + + def options(opt): + opt.load('compiler_c python') + def configure(conf): + conf.load('compiler_c python') + conf.check_python_version((2,4,2)) + conf.check_python_headers() + def build(bld): + bld.program(features='pyembed', source='a.c', target='myprog') + bld.shlib(features='pyext', source='b.c', target='mylib') +""" + +import os, sys +from waflib import Utils, Options, Errors +from waflib.Logs import debug, warn, info, error +from waflib.TaskGen import extension, before_method, after_method, feature +from waflib.Configure import conf + +FRAG = ''' +#include +#ifdef __cplusplus +extern "C" { +#endif + void Py_Initialize(void); + void Py_Finalize(void); +#ifdef __cplusplus +} +#endif +int main() +{ + Py_Initialize(); + Py_Finalize(); + return 0; +} +''' +""" +Piece of C/C++ code used in :py:func:`waflib.Tools.python.check_python_headers` +""" + +INST = ''' +import sys, py_compile +py_compile.compile(sys.argv[1], sys.argv[2], sys.argv[3]) +''' +""" +Piece of Python code used in :py:func:`waflib.Tools.python.install_pyfile` for installing python files +""" + +@extension('.py') +def process_py(self, node): + """ + Add a callback using :py:func:`waflib.Tools.python.install_pyfile` to install a python file + """ + try: + if not self.bld.is_install: + return + except: + return + + try: + if not self.install_path: + return + except AttributeError: + self.install_path = '${PYTHONDIR}' + + # i wonder now why we wanted to do this after the build is over + # issue #901: people want to preserve the structure of installed files + def inst_py(ctx): + install_from = getattr(self, 'install_from', None) + if install_from: + install_from = self.path.find_dir(install_from) + install_pyfile(self, node, install_from) + self.bld.add_post_fun(inst_py) + +def install_pyfile(self, node, install_from=None): + """ + Execute the installation of a python file + + :param node: python file + :type node: :py:class:`waflib.Node.Node` + """ + + from_node = install_from or node.parent + tsk = self.bld.install_as(self.install_path + '/' + node.path_from(from_node), node, postpone=False) + path = tsk.get_install_path() + + if self.bld.is_install < 0: + info("+ removing byte compiled python files") + for x in 'co': + try: + os.remove(path + x) + except OSError: + pass + + if self.bld.is_install > 0: + try: + st1 = os.stat(path) + except: + error('The python file is missing, this should not happen') + + for x in ['c', 'o']: + do_inst = self.env['PY' + x.upper()] + try: + st2 = os.stat(path + x) + except OSError: + pass + else: + if st1.st_mtime <= st2.st_mtime: + do_inst = False + + if do_inst: + lst = (x == 'o') and [self.env['PYFLAGS_OPT']] or [] + (a, b, c) = (path, path + x, tsk.get_install_path(destdir=False) + x) + argv = self.env['PYTHON'] + lst + ['-c', INST, a, b, c] + info('+ byte compiling %r' % (path + x)) + ret = Utils.subprocess.Popen(argv).wait() + if ret: + raise Errors.WafError('py%s compilation failed %r' % (x, path)) + +@feature('py') +def feature_py(self): + """ + Dummy feature which does nothing + """ + pass + +@feature('pyext') +@before_method('propagate_uselib_vars', 'apply_link') +@after_method('apply_bundle') +def init_pyext(self): + """ + Change the values of *cshlib_PATTERN* and *cxxshlib_PATTERN* to remove the + *lib* prefix from library names. + """ + try: + if not self.install_path: + return + except AttributeError: + self.install_path = '${PYTHONARCHDIR}' + self.uselib = self.to_list(getattr(self, 'uselib', [])) + if not 'PYEXT' in self.uselib: + self.uselib.append('PYEXT') + # override shlib_PATTERN set by the osx module + self.env['cshlib_PATTERN'] = self.env['cxxshlib_PATTERN'] = self.env['macbundle_PATTERN'] = self.env['pyext_PATTERN'] + +@feature('pyext') +@before_method('apply_link', 'apply_bundle') +def set_bundle(self): + if sys.platform.startswith('darwin'): + self.mac_bundle = True + +@before_method('propagate_uselib_vars') +@feature('pyembed') +def init_pyembed(self): + """ + Add the PYEMBED variable. + """ + self.uselib = self.to_list(getattr(self, 'uselib', [])) + if not 'PYEMBED' in self.uselib: + self.uselib.append('PYEMBED') + +@conf +def get_python_variables(conf, variables, imports=['import sys']): + """ + Execute a python interpreter to dump configuration variables + + :param variables: variables to print + :type variables: list of string + :param imports: one import by element + :type imports: list of string + :return: the variable values + :rtype: list of string + """ + program = list(imports) + program.append('') + for v in variables: + program.append("print(repr(%s))" % v) + os_env = dict(os.environ) + try: + del os_env['MACOSX_DEPLOYMENT_TARGET'] # see comments in the OSX tool + except KeyError: + pass + + try: + out = conf.cmd_and_log(conf.env.PYTHON + ['-c', '\n'.join(program)], env=os_env) + except Errors.WafError: + conf.fatal('The distutils module is unusable: install "python-devel"?') + return_values = [] + for s in out.split('\n'): + s = s.strip() + if not s: + continue + if s == 'None': + return_values.append(None) + elif s[0] == "'" and s[-1] == "'": + return_values.append(s[1:-1]) + elif s[0].isdigit(): + return_values.append(int(s)) + else: break + return return_values + +@conf +def check_python_headers(conf): + """ + Check for headers and libraries necessary to extend or embed python by using the module *distutils*. + On success the environment variables xxx_PYEXT and xxx_PYEMBED are added: + + * PYEXT: for compiling python extensions + * PYEMBED: for embedding a python interpreter + """ + + # FIXME rewrite + + if not conf.env['CC_NAME'] and not conf.env['CXX_NAME']: + conf.fatal('load a compiler first (gcc, g++, ..)') + + if not conf.env['PYTHON_VERSION']: + conf.check_python_version() + + env = conf.env + pybin = conf.env.PYTHON + if not pybin: + conf.fatal('could not find the python executable') + + v = 'prefix SO LDFLAGS LIBDIR LIBPL INCLUDEPY Py_ENABLE_SHARED MACOSX_DEPLOYMENT_TARGET LDSHARED CFLAGS'.split() + try: + lst = conf.get_python_variables(["get_config_var('%s') or ''" % x for x in v], + ['from distutils.sysconfig import get_config_var']) + except RuntimeError: + conf.fatal("Python development headers not found (-v for details).") + + vals = ['%s = %r' % (x, y) for (x, y) in zip(v, lst)] + conf.to_log("Configuration returned from %r:\n%r\n" % (pybin, '\n'.join(vals))) + + dct = dict(zip(v, lst)) + x = 'MACOSX_DEPLOYMENT_TARGET' + if dct[x]: + conf.env[x] = conf.environ[x] = dct[x] + + env['pyext_PATTERN'] = '%s' + dct['SO'] # not a mistake + + # Check for python libraries for embedding + + all_flags = dct['LDFLAGS'] + ' ' + dct['CFLAGS'] + conf.parse_flags(all_flags, 'PYEMBED') + + all_flags = dct['LDFLAGS'] + ' ' + dct['LDSHARED'] + ' ' + dct['CFLAGS'] + conf.parse_flags(all_flags, 'PYEXT') + + result = None + #name = 'python' + env['PYTHON_VERSION'] + + # TODO simplify this + for name in ('python' + env['PYTHON_VERSION'], 'python' + env['PYTHON_VERSION'].replace('.', '')): + + # LIBPATH_PYEMBED is already set; see if it works. + if not result and env['LIBPATH_PYEMBED']: + path = env['LIBPATH_PYEMBED'] + conf.to_log("\n\n# Trying default LIBPATH_PYEMBED: %r\n" % path) + result = conf.check(lib=name, uselib='PYEMBED', libpath=path, mandatory=False, msg='Checking for library %s in LIBPATH_PYEMBED' % name) + + if not result and dct['LIBDIR']: + path = [dct['LIBDIR']] + conf.to_log("\n\n# try again with -L$python_LIBDIR: %r\n" % path) + result = conf.check(lib=name, uselib='PYEMBED', libpath=path, mandatory=False, msg='Checking for library %s in LIBDIR' % name) + + if not result and dct['LIBPL']: + path = [dct['LIBPL']] + conf.to_log("\n\n# try again with -L$python_LIBPL (some systems don't install the python library in $prefix/lib)\n") + result = conf.check(lib=name, uselib='PYEMBED', libpath=path, mandatory=False, msg='Checking for library %s in python_LIBPL' % name) + + if not result: + path = [os.path.join(dct['prefix'], "libs")] + conf.to_log("\n\n# try again with -L$prefix/libs, and pythonXY name rather than pythonX.Y (win32)\n") + result = conf.check(lib=name, uselib='PYEMBED', libpath=path, mandatory=False, msg='Checking for library %s in $prefix/libs' % name) + + if result: + break # do not forget to set LIBPATH_PYEMBED + + if result: + env['LIBPATH_PYEMBED'] = path + env.append_value('LIB_PYEMBED', [name]) + else: + conf.to_log("\n\n### LIB NOT FOUND\n") + + # under certain conditions, python extensions must link to + # python libraries, not just python embedding programs. + if (Utils.is_win32 or sys.platform.startswith('os2') + or dct['Py_ENABLE_SHARED']): + env['LIBPATH_PYEXT'] = env['LIBPATH_PYEMBED'] + env['LIB_PYEXT'] = env['LIB_PYEMBED'] + + # We check that pythonX.Y-config exists, and if it exists we + # use it to get only the includes, else fall back to distutils. + num = '.'.join(env['PYTHON_VERSION'].split('.')[:2]) + conf.find_program(['python%s-config' % num, 'python-config-%s' % num, 'python%sm-config' % num], var='PYTHON_CONFIG', mandatory=False) + + includes = [] + if conf.env.PYTHON_CONFIG: + for incstr in conf.cmd_and_log([ conf.env.PYTHON_CONFIG, '--includes']).strip().split(): + # strip the -I or /I + if (incstr.startswith('-I') or incstr.startswith('/I')): + incstr = incstr[2:] + # append include path, unless already given + if incstr not in includes: + includes.append(incstr) + conf.to_log("Include path for Python extensions " + "(found via python-config --includes): %r\n" % (includes,)) + env['INCLUDES_PYEXT'] = includes + env['INCLUDES_PYEMBED'] = includes + else: + conf.to_log("Include path for Python extensions " + "(found via distutils module): %r\n" % (dct['INCLUDEPY'],)) + env['INCLUDES_PYEXT'] = [dct['INCLUDEPY']] + env['INCLUDES_PYEMBED'] = [dct['INCLUDEPY']] + + # Code using the Python API needs to be compiled with -fno-strict-aliasing + if env['CC_NAME'] == 'gcc': + env.append_value('CFLAGS_PYEMBED', ['-fno-strict-aliasing']) + env.append_value('CFLAGS_PYEXT', ['-fno-strict-aliasing']) + if env['CXX_NAME'] == 'gcc': + env.append_value('CXXFLAGS_PYEMBED', ['-fno-strict-aliasing']) + env.append_value('CXXFLAGS_PYEXT', ['-fno-strict-aliasing']) + + if env.CC_NAME == "msvc": + from distutils.msvccompiler import MSVCCompiler + dist_compiler = MSVCCompiler() + dist_compiler.initialize() + env.append_value('CFLAGS_PYEXT', dist_compiler.compile_options) + env.append_value('CXXFLAGS_PYEXT', dist_compiler.compile_options) + env.append_value('LINKFLAGS_PYEXT', dist_compiler.ldflags_shared) + + # See if it compiles + try: + conf.check(header_name='Python.h', define_name='HAVE_PYTHON_H', + uselib='PYEMBED', fragment=FRAG, + errmsg='Could not find the python development headers') + except conf.errors.ConfigurationError: + # python3.2, oh yeah + conf.check_cfg(path=conf.env.PYTHON_CONFIG, package='', uselib_store='PYEMBED', args=['--cflags', '--libs']) + conf.check(header_name='Python.h', define_name='HAVE_PYTHON_H', msg='Getting the python flags from python-config', + uselib='PYEMBED', fragment=FRAG, + errmsg='Could not find the python development headers elsewhere') + +@conf +def check_python_version(conf, minver=None): + """ + Check if the python interpreter is found matching a given minimum version. + minver should be a tuple, eg. to check for python >= 2.4.2 pass (2,4,2) as minver. + + If successful, PYTHON_VERSION is defined as 'MAJOR.MINOR' + (eg. '2.4') of the actual python version found, and PYTHONDIR is + defined, pointing to the site-packages directory appropriate for + this python version, where modules/packages/extensions should be + installed. + + :param minver: minimum version + :type minver: tuple of int + """ + assert minver is None or isinstance(minver, tuple) + pybin = conf.env['PYTHON'] + if not pybin: + conf.fatal('could not find the python executable') + + # Get python version string + cmd = pybin + ['-c', 'import sys\nfor x in sys.version_info: print(str(x))'] + debug('python: Running python command %r' % cmd) + lines = conf.cmd_and_log(cmd).split() + assert len(lines) == 5, "found %i lines, expected 5: %r" % (len(lines), lines) + pyver_tuple = (int(lines[0]), int(lines[1]), int(lines[2]), lines[3], int(lines[4])) + + # compare python version with the minimum required + result = (minver is None) or (pyver_tuple >= minver) + + if result: + # define useful environment variables + pyver = '.'.join([str(x) for x in pyver_tuple[:2]]) + conf.env['PYTHON_VERSION'] = pyver + + if 'PYTHONDIR' in conf.environ: + pydir = conf.environ['PYTHONDIR'] + else: + if Utils.is_win32: + (python_LIBDEST, pydir) = \ + conf.get_python_variables( + ["get_config_var('LIBDEST') or ''", + "get_python_lib(standard_lib=0, prefix=%r) or ''" % conf.env['PREFIX']], + ['from distutils.sysconfig import get_config_var, get_python_lib']) + else: + python_LIBDEST = None + (pydir,) = \ + conf.get_python_variables( + ["get_python_lib(standard_lib=0, prefix=%r) or ''" % conf.env['PREFIX']], + ['from distutils.sysconfig import get_python_lib']) + if python_LIBDEST is None: + if conf.env['LIBDIR']: + python_LIBDEST = os.path.join(conf.env['LIBDIR'], "python" + pyver) + else: + python_LIBDEST = os.path.join(conf.env['PREFIX'], "lib", "python" + pyver) + + + if 'PYTHONARCHDIR' in conf.environ: + pyarchdir = conf.environ['PYTHONARCHDIR'] + else: + (pyarchdir, ) = conf.get_python_variables( + ["get_python_lib(plat_specific=1, standard_lib=0, prefix=%r) or ''" % conf.env['PREFIX']], + ['from distutils.sysconfig import get_python_lib']) + if not pyarchdir: + pyarchdir = pydir + + if hasattr(conf, 'define'): # conf.define is added by the C tool, so may not exist + conf.define('PYTHONDIR', pydir) + conf.define('PYTHONARCHDIR', pyarchdir) + + conf.env['PYTHONDIR'] = pydir + conf.env['PYTHONARCHDIR'] = pyarchdir + + # Feedback + pyver_full = '.'.join(map(str, pyver_tuple[:3])) + if minver is None: + conf.msg('Checking for python version', pyver_full) + else: + minver_str = '.'.join(map(str, minver)) + conf.msg('Checking for python version', pyver_tuple, ">= %s" % (minver_str,) and 'GREEN' or 'YELLOW') + + if not result: + conf.fatal('The python version is too old, expecting %r' % (minver,)) + +PYTHON_MODULE_TEMPLATE = ''' +import %s +print(1) +''' + +@conf +def check_python_module(conf, module_name): + """ + Check if the selected python interpreter can import the given python module:: + + def configure(conf): + conf.check_python_module('pygccxml') + + :param module_name: module + :type module_name: string + """ + conf.start_msg('Python module %s' % module_name) + try: + conf.cmd_and_log(conf.env['PYTHON'] + ['-c', PYTHON_MODULE_TEMPLATE % module_name]) + except: + conf.end_msg(False) + conf.fatal('Could not find the python module %r' % module_name) + conf.end_msg(True) + +def configure(conf): + """ + Detect the python interpreter + """ + try: + conf.find_program('python', var='PYTHON') + except conf.errors.ConfigurationError: + warn("could not find a python executable, setting to sys.executable '%s'" % sys.executable) + conf.env.PYTHON = sys.executable + + if conf.env.PYTHON != sys.executable: + warn("python executable '%s' different from sys.executable '%s'" % (conf.env.PYTHON, sys.executable)) + conf.env.PYTHON = conf.cmd_to_list(conf.env.PYTHON) + + v = conf.env + v['PYCMD'] = '"import sys, py_compile;py_compile.compile(sys.argv[1], sys.argv[2])"' + v['PYFLAGS'] = '' + v['PYFLAGS_OPT'] = '-O' + + v['PYC'] = getattr(Options.options, 'pyc', 1) + v['PYO'] = getattr(Options.options, 'pyo', 1) + +def options(opt): + """ + Add the options ``--nopyc`` and ``--nopyo`` + """ + opt.add_option('--nopyc', + action='store_false', + default=1, + help = 'Do not install bytecode compiled .pyc files (configuration) [Default:install]', + dest = 'pyc') + opt.add_option('--nopyo', + action='store_false', + default=1, + help='Do not install optimised compiled .pyo files (configuration) [Default:install]', + dest='pyo') + diff --git a/waf-tools/relocation.py b/waf-tools/relocation.py new file mode 100644 index 000000000..ab8dd3615 --- /dev/null +++ b/waf-tools/relocation.py @@ -0,0 +1,85 @@ +#! /usr/bin/env python +# encoding: utf-8 + +""" +Waf 1.6 + +Try to detect if the project directory was relocated, and if it was, +change the node representing the project directory. Just call: + + waf configure build + +Note that if the project directory name changes, the signatures for the tasks using +files in that directory will change, causing a partial build. +""" + +import os +from waflib import Build, ConfigSet, Task, Utils, Errors +from waflib.TaskGen import feature, before_method, after_method + +EXTRA_LOCK = '.old_srcdir' + +old1 = Build.BuildContext.store +def store(self): + old1(self) + db = os.path.join(self.variant_dir, EXTRA_LOCK) + env = ConfigSet.ConfigSet() + env.SRCDIR = self.srcnode.abspath() + env.store(db) +Build.BuildContext.store = store + +old2 = Build.BuildContext.init_dirs +def init_dirs(self): + + if not (os.path.isabs(self.top_dir) and os.path.isabs(self.out_dir)): + raise Errors.WafError('The project was not configured: run "waf configure" first!') + + srcdir = None + db = os.path.join(self.variant_dir, EXTRA_LOCK) + env = ConfigSet.ConfigSet() + try: + env.load(db) + srcdir = env.SRCDIR + except: + pass + + if srcdir: + d = self.root.find_node(srcdir) + if d and srcdir != self.top_dir and getattr(d, 'children', ''): + srcnode = self.root.make_node(self.top_dir) + print("relocating the source directory %r -> %r" % (srcdir, self.top_dir)) + srcnode.children = {} + + for (k, v) in d.children.items(): + srcnode.children[k] = v + v.parent = srcnode + d.children = {} + + old2(self) + +Build.BuildContext.init_dirs = init_dirs + + +def uid(self): + try: + return self.uid_ + except AttributeError: + # this is not a real hot zone, but we want to avoid surprizes here + m = Utils.md5() + up = m.update + up(self.__class__.__name__.encode()) + for x in self.inputs + self.outputs: + up(x.path_from(x.ctx.srcnode).encode()) + self.uid_ = m.digest() + return self.uid_ +Task.Task.uid = uid + +@feature('c', 'cxx', 'd', 'go', 'asm', 'fc', 'includes') +@after_method('propagate_uselib_vars', 'process_source') +def apply_incpaths(self): + lst = self.to_incnodes(self.to_list(getattr(self, 'includes', [])) + self.env['INCLUDES']) + self.includes_nodes = lst + bld = self.bld + self.env['INCPATHS'] = [x.is_child_of(bld.srcnode) and x.path_from(bld.srcnode) or x.abspath() for x in lst] + + diff --git a/wscript b/wscript index b47897860..bc5040bc1 100644 --- a/wscript +++ b/wscript @@ -11,24 +11,21 @@ import shlex import textwrap # WAF modules -import pproc as subprocess +import subprocess import Options import Logs import TaskGen -import Constants - -import ccroot -ccroot.USE_TOP_LEVEL = True import Task -Task.algotype = Constants.JOBCONTROL # so that Task.maxjobs=1 takes effect import Utils import Build import Configure import Scripting +from waflib.Errors import WafError + from utils import read_config_file # By default, all modules will be enabled, examples will be disabled, @@ -58,7 +55,11 @@ cflags.default_profile = 'debug' # local modules import wutils -Configure.autoconfig = 1 +Configure.autoconfig = 0 + +# until http://code.google.com/p/waf/issues/detail?id=1039 gets fixed... +wutils.monkey_patch_Runner_start() + # the following two variables are used by the target "waf dist" VERSION = file("VERSION", "rt").read().strip() @@ -67,14 +68,14 @@ APPNAME = 'ns' wutils.VERSION = VERSION wutils.APPNAME = APPNAME -if re.match(r"\d+\.\d+(\.\d+)?", VERSION) is not None: +# note: here we disable the VNUM for OSX since it causes problems (bug #1251) +wutils.VNUM = None +if sys.platform != 'darwin' and re.match(r"^\d+\.\d+(\.\d+)?$", VERSION) is not None: wutils.VNUM = VERSION -else: - wutils.VNUM = None # these variables are mandatory ('/' are converted automatically) -srcdir = '.' -blddir = 'build' +top = '.' +out = 'build' def load_env(): bld_cls = getattr(Utils.g_module, 'build_context', Utils.Context) @@ -124,11 +125,12 @@ def print_module_names(names): if i != 1: print -def set_options(opt): +def options(opt): # options provided by the modules - opt.tool_options('compiler_cc') - opt.tool_options('compiler_cxx') - opt.tool_options('cflags') + opt.load('compiler_c') + opt.load('compiler_cxx') + opt.load('cflags') + opt.load('gnu_dirs') opt.add_option('--cwd', help=('Set the working directory for a program.'), @@ -207,10 +209,6 @@ def set_options(opt): help=('Compile NS-3 statically: works only on linux, without python'), dest='enable_static', action='store_true', default=False) - opt.add_option('--enable-shared-and-static', - help=('Compile NS-3 both shared and static libraries at the same time: static works only on linux'), - dest='enable_shared_and_static', action='store_true', - default=False) opt.add_option('--enable-mpi', help=('Compile NS-3 with MPI and distributed simulation support'), dest='enable_mpi', action='store_true', @@ -227,42 +225,77 @@ def set_options(opt): opt.sub_options('src/internet') -def _check_compilation_flag(conf, flag, mode='cxx'): +def _check_compilation_flag(conf, flag, mode='cxx', linkflags=None): """ Checks if the C++ compiler accepts a certain compilation flag or flags flag: can be a string or a list of strings """ + l = [] + if flag: + l.append(flag) + if isinstance(linkflags, list): + l.extend(linkflags) + else: + if linkflags: + l.append(linkflags) + if len(l) > 1: + flag_str = 'flags ' + ' '.join(l) + else: + flag_str = 'flag ' + ' '.join(l) + if flag_str > 28: + flag_str = flag_str[:28] + "..." + conf.start_msg('Checking for compilation %s support' % (flag_str,)) env = conf.env.copy() + + if mode == 'cc': + mode = 'c' + if mode == 'cxx': fname = 'test.cc' env.append_value('CXXFLAGS', flag) else: fname = 'test.c' - env.append_value('CCFLAGS', flag) + env.append_value('CFLAGS', flag) + + if linkflags is not None: + env.append_value("LINKFLAGS", linkflags) + try: retval = conf.run_c_code(code='#include \nint main() { return 0; }\n', env=env, compile_filename=fname, - compile_mode=mode, type='cprogram', execute=False) + features=[mode, mode+'program'], execute=False) except Configure.ConfigurationError: ok = False else: ok = (retval == 0) - conf.check_message_custom(flag, 'support', (ok and 'yes' or 'no')) + conf.end_msg(ok) return ok def report_optional_feature(conf, name, caption, was_enabled, reason_not_enabled): - conf.env.append_value('NS3_OPTIONAL_FEATURES', (name, caption, was_enabled, reason_not_enabled)) + conf.env.append_value('NS3_OPTIONAL_FEATURES', [(name, caption, was_enabled, reason_not_enabled)]) + + +# starting with waf 1.6, conf.check() becomes fatal by default if the +# test fails, this alternative method makes the test non-fatal, as it +# was in waf <= 1.5 +def _check_nonfatal(conf, *args, **kwargs): + try: + return conf.check(*args, **kwargs) + except conf.errors.ConfigurationError: + return None def configure(conf): + conf.check_tool("relocation", ["waf-tools"]) + # attach some extra methods + conf.check_nonfatal = types.MethodType(_check_nonfatal, conf) conf.check_compilation_flag = types.MethodType(_check_compilation_flag, conf) conf.report_optional_feature = types.MethodType(report_optional_feature, conf) conf.env['NS3_OPTIONAL_FEATURES'] = [] - conf.env['NS3_BUILDDIR'] = conf.blddir - conf.check_tool('compiler_cc') + conf.check_tool('compiler_c') conf.check_tool('compiler_cxx') conf.check_tool('cflags', ['waf-tools']) try: @@ -270,29 +303,21 @@ def configure(conf): except Configure.ConfigurationError: pass conf.check_tool('command', ['waf-tools']) + conf.check_tool('gnu_dirs') - # create the second environment, set the variant and set its name - variant_env = conf.env.copy() - variant_name = Options.options.build_profile + env = conf.env if Options.options.enable_gcov: - variant_name += '-gcov' - variant_env.append_value('CCFLAGS', '-fprofile-arcs') - variant_env.append_value('CCFLAGS', '-ftest-coverage') - variant_env.append_value('CXXFLAGS', '-fprofile-arcs') - variant_env.append_value('CXXFLAGS', '-ftest-coverage') - variant_env.append_value('LINKFLAGS', '-fprofile-arcs') - - conf.env['NS3_ACTIVE_VARIANT'] = variant_name - variant_env['NS3_ACTIVE_VARIANT'] = variant_name - variant_env.set_variant(variant_name) - conf.set_env_name(variant_name, variant_env) - conf.setenv(variant_name) - env = variant_env + env['GCOV_ENABLED'] = True + env.append_value('CCFLAGS', '-fprofile-arcs') + env.append_value('CCFLAGS', '-ftest-coverage') + env.append_value('CXXFLAGS', '-fprofile-arcs') + env.append_value('CXXFLAGS', '-ftest-coverage') + env.append_value('LINKFLAGS', '-lgcov') if Options.options.build_profile == 'debug': - env.append_value('CXXDEFINES', 'NS3_ASSERT_ENABLE') - env.append_value('CXXDEFINES', 'NS3_LOG_ENABLE') + env.append_value('DEFINES', 'NS3_ASSERT_ENABLE') + env.append_value('DEFINES', 'NS3_LOG_ENABLE') env['PLATFORM'] = sys.platform @@ -320,43 +345,21 @@ def configure(conf): env['WL_SONAME_SUPPORTED'] = True env['ENABLE_STATIC_NS3'] = False - if Options.options.enable_static or Options.options.enable_shared_and_static: - if env['PLATFORM'].startswith('linux') and \ - env['CXX_NAME'] in ['gcc', 'icc']: - if re.match('i[3-6]86', os.uname()[4]): + if Options.options.enable_static: + if Options.platform == 'darwin': + if conf.check_compilation_flag(flag=[], linkflags=['-Wl,-all_load']): conf.report_optional_feature("static", "Static build", True, '') - if Options.options.enable_static: - env['ENABLE_STATIC_NS3'] = True - if Options.options.enable_shared_and_static: - env['ENABLE_SHARED_AND_STATIC_NS3'] = True - elif os.uname()[4] == 'x86_64': - if env['ENABLE_PYTHON_BINDINGS'] and \ - not conf.check_compilation_flag('-mcmodel=large'): - conf.report_optional_feature("static", "Static build", False, - "Can't enable static builds because " + \ - "no -mcmodel=large compiler " \ - "option. Try --disable-python or upgrade your " \ - "compiler to at least gcc 4.3.x.") - else: - conf.report_optional_feature("static", "Static build", True, '') - if Options.options.enable_static: - env['ENABLE_STATIC_NS3'] = True - if Options.options.enable_shared_and_static: - env['ENABLE_SHARED_AND_STATIC_NS3'] = True - elif env['CXX_NAME'] == 'gcc' and \ - (env['PLATFORM'].startswith('darwin') or \ - env['PLATFORM'].startswith('cygwin')): - conf.report_optional_feature("static", "Static build", True, '') - if Options.options.enable_static: - env['ENABLE_STATIC_NS3'] = True - if Options.options.enable_shared_and_static: - env['ENABLE_SHARED_AND_STATIC_NS3'] = True + env['ENABLE_STATIC_NS3'] = True + else: + conf.report_optional_feature("static", "Static build", False, + "Link flag -Wl,-all_load does not work") else: - conf.report_optional_feature("static", "Static build", False, - "Unsupported platform") - else: - conf.report_optional_feature("static", "Static build", False, - "option --enable-static not selected") + if conf.check_compilation_flag(flag=[], linkflags=['-Wl,--whole-archive,-Bstatic', '-Wl,-Bdynamic,--no-whole-archive']): + conf.report_optional_feature("static", "Static build", True, '') + env['ENABLE_STATIC_NS3'] = True + else: + conf.report_optional_feature("static", "Static build", False, + "Link flag -Wl,--whole-archive,-Bstatic does not work") conf.env['MODULES_NOT_BUILT'] = [] @@ -390,14 +393,17 @@ def configure(conf): if not_built_name in conf.env['NS3_ENABLED_MODULES']: conf.env['NS3_ENABLED_MODULES'].remove(not_built_name) if not conf.env['NS3_ENABLED_MODULES']: - raise Utils.WafError('Exiting because the ' + not_built + ' module can not be built and it was the only one enabled.') + raise WafError('Exiting because the ' + not_built + ' module can not be built and it was the only one enabled.') conf.sub_config('bindings/python') conf.sub_config('src/mpi') # for suid bits - conf.find_program('sudo', var='SUDO') + try: + conf.find_program('sudo', var='SUDO') + except WafError: + pass why_not_sudo = "because we like it" if Options.options.enable_sudo and conf.env['SUDO']: @@ -461,7 +467,10 @@ def configure(conf): conf.report_optional_feature("ENABLE_EXAMPLES", "Build examples", env['ENABLE_EXAMPLES'], why_not_examples) - conf.find_program('valgrind', var='VALGRIND') + try: + conf.find_program('valgrind', var='VALGRIND') + except WafError: + pass # These flags are used for the implicitly dependent modules. if env['ENABLE_STATIC_NS3']: @@ -478,12 +487,10 @@ def configure(conf): conf.env['ENABLE_GSL'], "GSL not found") if have_gsl: - conf.env.append_value('CXXDEFINES', "ENABLE_GSL") - conf.env.append_value('CCDEFINES', "ENABLE_GSL") + conf.env.append_value('DEFINES', "ENABLE_GSL") # for compiling C code, copy over the CXX* flags conf.env.append_value('CCFLAGS', conf.env['CXXFLAGS']) - conf.env.append_value('CCDEFINES', conf.env['CXXDEFINES']) def add_gcc_flag(flag): if env['COMPILER_CXX'] == 'g++' and 'CXXFLAGS' not in os.environ: @@ -497,7 +504,10 @@ def configure(conf): add_gcc_flag('-fstrict-aliasing') add_gcc_flag('-Wstrict-aliasing') - conf.find_program('doxygen', var='DOXYGEN') + try: + conf.find_program('doxygen', var='DOXYGEN') + except WafError: + pass # append user defined flags after all our ones for (confvar, envvar) in [['CCFLAGS', 'CCFLAGS_EXTRA'], @@ -517,23 +527,20 @@ def configure(conf): status = 'not enabled (%s)' % reason_not_enabled print "%-30s: %s" % (caption, status) -class SuidBuildTask(Task.TaskBase): + +class SuidBuild_task(Task.TaskBase): """task that makes a binary Suid """ - after = 'cxx_link cc_link' - maxjobs = 1 - def __init__(self, bld, program): - self.bld = bld + after = 'link' + def __init__(self, *args, **kwargs): + super(SuidBuild_task, self).__init__(*args, **kwargs) self.m_display = 'build-suid' - self.__program = program - self.__env = bld.env.copy () - super(SuidBuildTask, self).__init__(generator=self) try: - program_obj = wutils.find_program(self.__program.target, self.__env) + program_obj = wutils.find_program(self.generator.target, self.generator.env) except ValueError, ex: - raise Utils.WafError(str(ex)) - program_node = program_obj.path.find_or_declare(ccroot.get_target_name(program_obj)) - self.filename = program_node.abspath(self.__env) + raise WafError(str(ex)) + program_node = program_obj.path.find_or_declare(program_obj.target) + self.filename = program_node.abspath() def run(self): @@ -548,38 +555,49 @@ class SuidBuildTask(Task.TaskBase): "RUN_ME SKIP_ME or ASK_LATER" st = os.stat(self.filename) if st.st_uid == 0: - return Constants.SKIP_ME + return Task.SKIP_ME else: - return Constants.RUN_ME - + return Task.RUN_ME def create_suid_program(bld, name): - program = bld.new_task_gen('cxx', 'program') + grp = bld.current_group + bld.add_group() # this to make sure no two sudo tasks run at the same time + program = bld.new_task_gen(features=['cxx', 'cxxprogram']) program.is_ns3_program = True program.module_deps = list() program.name = name program.target = name if bld.env['ENABLE_SUDO']: - SuidBuildTask(bld, program) + program.create_task("SuidBuild") + + bld.set_group(grp) return program def create_ns3_program(bld, name, dependencies=('core',)): - program = bld.new_task_gen('cxx', 'program') + program = bld.new_task_gen(features=['cxx', 'cxxprogram']) program.is_ns3_program = True program.name = name program.target = program.name # Each of the modules this program depends on has its own library. program.ns3_module_dependencies = ['ns3-'+dep for dep in dependencies] + program.includes = "# #/.." + program.use = program.ns3_module_dependencies + if program.env['ENABLE_STATIC_NS3']: + if sys.platform == 'darwin': + program.env.STLIB_MARKER = '-Wl,-all_load' + else: + program.env.STLIB_MARKER = '-Wl,--whole-archive,-Bstatic' + program.env.SHLIB_MARKER = '-Wl,-Bdynamic,--no-whole-archive' return program def register_ns3_script(bld, name, dependencies=('core',)): ns3_module_dependencies = ['ns3-'+dep for dep in dependencies] - bld.env.append_value('NS3_SCRIPT_DEPENDENCIES', (name, ns3_module_dependencies)) + bld.env.append_value('NS3_SCRIPT_DEPENDENCIES', [(name, ns3_module_dependencies)]) def add_examples_programs(bld): - env = bld.env_of_name('default') + env = bld.env if env['ENABLE_EXAMPLES']: for dir in os.listdir('examples'): if dir.startswith('.') or dir == 'CVS': @@ -608,23 +626,30 @@ def add_scratch_programs(bld): obj.name = obj.target -def _add_ns3_program_missing_deps(bld, program): - deps_found = program.ns3_module_dependencies - program.uselib_local = getattr(program, "uselib_local", []) + [dep + "--lib" for dep in deps_found] - if program.env['ENABLE_STATIC_NS3'] and not program.env['ENABLE_SHARED_AND_STATIC_NS3']: - if sys.platform == 'darwin': - program.env.append_value('LINKFLAGS', '-Wl,-all_load') - for dep in deps_found: - program.env.append_value('LINKFLAGS', '-l' + dep) - else: - program.env.append_value('LINKFLAGS', '-Wl,--whole-archive,-Bstatic') - for dep in deps_found: - program.env.append_value('LINKFLAGS', '-l' + dep) - program.env.append_value('LINKFLAGS', '-Wl,-Bdynamic,--no-whole-archive') +def _get_all_task_gen(self): + for group in self.groups: + for taskgen in group: + yield taskgen +# ok, so WAF does not provide an API to prevent an +# arbitrary taskgen from running; we have to muck around with +# WAF internal state, something that might stop working if +# WAF is upgraded... +def _exclude_taskgen(self, taskgen): + for group in self.groups: + for tg1 in group: + if tg1 is taskgen: + group.remove(tg1) + break + else: + continue + break + def build(bld): + env = bld.env + # If --enabled-modules option was given, then print a warning # message and exit this function. if Options.options.enable_modules: @@ -648,17 +673,12 @@ def build(bld): bld.create_ns3_program = types.MethodType(create_ns3_program, bld) bld.register_ns3_script = types.MethodType(register_ns3_script, bld) bld.create_suid_program = types.MethodType(create_suid_program, bld) - - # switch default variant to the one matching our debug level - variant_name = bld.env_of_name('default')['NS3_ACTIVE_VARIANT'] - variant_env = bld.env_of_name(variant_name) - bld.all_envs['default'] = variant_env + bld.__class__.all_task_gen = property(_get_all_task_gen) + bld.exclude_taskgen = types.MethodType(_exclude_taskgen, bld) # process subfolders from here bld.add_subdirs('src') - env = bld.env - # If modules have been enabled, then set lists of enabled modules # and enabled module test libraries. if env['NS3_ENABLED_MODULES']: @@ -670,11 +690,11 @@ def build(bld): while changed: changed = False for module in modules: - module_obj = bld.name_to_obj(module, env) + module_obj = bld.get_tgen_by_name(module) if module_obj is None: raise ValueError("module %s not found" % module) # Each enabled module has its own library. - for dep in module_obj.uselib_local: + for dep in module_obj.use: if not dep.startswith('ns3-'): continue if dep not in modules: @@ -696,25 +716,11 @@ def build(bld): if env['NS3_ENABLED_MODULES']: modules = env['NS3_ENABLED_MODULES'] - def exclude_taskgen(bld, taskgen): - # ok, so WAF does not provide an API to prevent an - # arbitrary taskgen from running; we have to muck around with - # WAF internal state, something that might stop working if - # WAF is upgraded... - bld.all_task_gen.remove(taskgen) - for group in bld.task_manager.groups: - try: - group.tasks_gen.remove(taskgen) - except ValueError: - pass - else: - break - # Exclude the programs other misc task gens that depend on disabled modules for obj in list(bld.all_task_gen): # check for ns3moduleheader_taskgen - if type(obj).__name__ == 'ns3moduleheader_taskgen': + if 'ns3moduleheader' in getattr(obj, "features", []): if ("ns3-%s" % obj.module) not in modules: obj.mode = 'remove' # tell it to remove headers instead of installing @@ -724,7 +730,7 @@ def build(bld): program_built = True for dep in obj.ns3_module_dependencies: if dep not in modules: # prog. depends on a module that isn't enabled? - exclude_taskgen(bld, obj) + bld.exclude_taskgen(obj) program_built = False break @@ -735,15 +741,15 @@ def build(bld): # disable the modules themselves if hasattr(obj, "is_ns3_module") and obj.name not in modules: - exclude_taskgen(bld, obj) # kill the module + bld.exclude_taskgen(obj) # kill the module # disable the module test libraries if hasattr(obj, "is_ns3_module_test_library"): if not env['ENABLE_TESTS'] or (obj.module_name not in modules): - exclude_taskgen(bld, obj) # kill the module test library + bld.exclude_taskgen(obj) # kill the module test library # disable the ns3header_taskgen - if type(obj).__name__ == 'ns3header_taskgen': + if 'ns3header' in getattr(obj, "features", []): if ("ns3-%s" % obj.module) not in modules: obj.mode = 'remove' # tell it to remove headers instead of installing @@ -765,35 +771,10 @@ def build(bld): bld.add_subdirs('bindings/python') - ## do a topological sort on the modules graph - dep_graph = [] - for gen in bld.all_task_gen: - if type(gen).__name__ in ['ns3module_taskgen']: - for dep in gen.dependencies: - dep_graph.append(("ns3-"+dep, gen.name)) - dep_graph.sort() - sys.path.insert(0, "bindings/python") - from topsort import topsort - sorted_ns3_modules = topsort(dep_graph) - #print sorted_ns3_modules - - # we need to post() the ns3 modules, so they create libraries underneath, and programs can list them in uselib_local - for module in sorted_ns3_modules: - gen = bld.name_to_obj(module, bld.env) - if type(gen).__name__ in ['ns3module_taskgen']: - gen.post() - for lib in gen.libs: - lib.post() - # Process this subfolder here after the lists of enabled modules # and module test libraries have been set. bld.add_subdirs('utils') - for gen in bld.all_task_gen: - if not getattr(gen, "is_ns3_program", False) or not hasattr(gen, "ns3_module_dependencies"): - continue - _add_ns3_program_missing_deps(bld, gen) - if Options.options.run: # Check that the requested program name is valid program_name, dummy_program_argv = wutils.get_run_program(Options.options.run, wutils.get_command_template(env)) @@ -801,7 +782,7 @@ def build(bld): # When --run'ing a program, tell WAF to only build that program, # nothing more; this greatly speeds up compilation when all you # want to do is run a test program. - Options.options.compile_targets += ',' + os.path.basename(program_name) + Options.options.targets += ',' + os.path.basename(program_name) for gen in bld.all_task_gen: if type(gen).__name__ in ['ns3header_taskgen', 'ns3moduleheader_taskgen']: gen.post() @@ -810,6 +791,8 @@ def build(bld): _doxygen(bld) raise SystemExit(0) + + def shutdown(ctx): bld = wutils.bld if wutils.bld is None: @@ -821,8 +804,9 @@ def shutdown(ctx): # clean. if ((not Options.options.run) and (not Options.options.pyrun) - and ('clean' not in Options.arg_line) - and ('distclean' not in Options.arg_line)): + and ('clean' not in Options.commands) + and ('distclean' not in Options.commands) + and ('shell' not in Options.commands)): # Print the list of built modules. print @@ -838,7 +822,7 @@ def shutdown(ctx): print # Write the build status file. - build_status_file = os.path.join (env['NS3_BUILDDIR'], env['NS3_ACTIVE_VARIANT'], 'build-status.py') + build_status_file = os.path.join(bld.out_dir, 'build-status.py') out = open(build_status_file, 'w') out.write('#! /usr/bin/env python\n') out.write('\n') @@ -851,7 +835,7 @@ def shutdown(ctx): out.close() if Options.options.lcov_report: - lcov_report() + lcov_report(bld) if Options.options.run: wutils.run_program(Options.options.run, env, wutils.get_command_template(env), @@ -864,22 +848,34 @@ def shutdown(ctx): raise SystemExit(0) if Options.options.shell: - raise Utils.WafError("Please run `./waf shell' now, instead of `./waf --shell'") + raise WafError("Please run `./waf shell' now, instead of `./waf --shell'") if Options.options.check: - raise Utils.WafError("Please run `./test.py' now, instead of `./waf --check'") + raise WafError("Please run `./test.py' now, instead of `./waf --check'") check_shell(bld) -check_context = Build.BuildContext -def check(bld): + +from waflib import Context, Build +class CheckContext(Context.Context): """run the equivalent of the old ns-3 unit tests using test.py""" - env = wutils.bld.env - wutils.run_python_program("test.py -n -c core", env) + cmd = 'check' + + def execute(self): + + # first we execute the build + bld = Context.create_context("build") + bld.options = Options.options # provided for convenience + bld.cmd = "build" + bld.execute() + + wutils.bld = bld + wutils.run_python_program("test.py -n -c core", bld.env) + class print_introspected_doxygen_task(Task.TaskBase): - after = 'cc cxx cc_link cxx_link' + after = 'cc cxx link' color = 'BLUE' def __init__(self, bld): @@ -904,13 +900,21 @@ class print_introspected_doxygen_task(Task.TaskBase): pass else: prog = program_obj.path.find_or_declare(ccroot.get_target_name(program_obj)).abspath(env) - out = open(os.path.join('..', 'doc', 'introspected-doxygen.h'), 'w') - if subprocess.Popen([prog], stdout=out, env=proc_env).wait(): + + # Create a header file with the introspected information. + doxygen_out = open(os.path.join('doc', 'introspected-doxygen.h'), 'w') + if subprocess.Popen([prog], stdout=doxygen_out, env=proc_env).wait(): raise SystemExit(1) - out.close() + doxygen_out.close() + + # Create a text file with the introspected information. + text_out = open(os.path.join('doc', 'ns3-object.txt'), 'w') + if subprocess.Popen([prog, '--output-text'], stdout=text_out, env=proc_env).wait(): + raise SystemExit(1) + text_out.close() class run_python_unit_tests_task(Task.TaskBase): - after = 'cc cxx cc_link cxx_link' + after = 'cc cxx link' color = 'BLUE' def __init__(self, bld): @@ -946,24 +950,34 @@ def check_shell(bld): "You should correct this situation before running any program. Possible solutions:\n" " 1. Exit this shell, and start a new one\n" " 2. Run a new nested shell") - raise Utils.WafError(msg) + raise WafError(msg) -shell_context = Build.BuildContext -def shell(ctx): +from waflib import Context, Build +class Ns3ShellContext(Context.Context): """run a shell with an environment suitably modified to run locally built programs""" + cmd = 'shell' - #make sure we build first" - Scripting.build(ctx) + def execute(self): - if sys.platform == 'win32': - shell = os.environ.get("COMSPEC", "cmd.exe") - else: - shell = os.environ.get("SHELL", "/bin/sh") + # first we execute the build + bld = Context.create_context("build") + bld.options = Options.options # provided for convenience + bld.cmd = "build" + bld.execute() + + if sys.platform == 'win32': + shell = os.environ.get("COMSPEC", "cmd.exe") + else: + shell = os.environ.get("SHELL", "/bin/sh") + + env = bld.env + os_env = { + 'NS3_MODULE_PATH': os.pathsep.join(env['NS3_MODULE_PATH']), + 'NS3_EXECUTABLE_PATH': os.pathsep.join(env['NS3_EXECUTABLE_PATH']), + } + wutils.run_argv([shell], env, os_env) - env = wutils.bld.env - os_env = {'NS3_MODULE_PATH': os.pathsep.join(env['NS3_MODULE_PATH']), 'NS3_EXECUTABLE_PATH': os.pathsep.join(env['NS3_EXECUTABLE_PATH'])} - wutils.run_argv([shell], env, os_env) def _doxygen(bld): env = wutils.bld.env @@ -981,7 +995,7 @@ def _doxygen(bld): raise SystemExit(1) return - prog = program_obj.path.find_or_declare(ccroot.get_target_name(program_obj)).abspath(env) + prog = program_obj.path.find_or_declare(program_obj.target).abspath() if not os.path.exists(prog): Logs.error("print-introspected-doxygen has not been built yet." @@ -989,43 +1003,57 @@ def _doxygen(bld): "generating doxygen docs...") raise SystemExit(1) - out = open(os.path.join('doc', 'introspected-doxygen.h'), 'w') - - if subprocess.Popen([prog], stdout=out, env=proc_env).wait(): + # Create a header file with the introspected information. + doxygen_out = open(os.path.join('doc', 'introspected-doxygen.h'), 'w') + if subprocess.Popen([prog], stdout=doxygen_out, env=proc_env).wait(): raise SystemExit(1) - out.close() + doxygen_out.close() + + # Create a text file with the introspected information. + text_out = open(os.path.join('doc', 'ns3-object.txt'), 'w') + if subprocess.Popen([prog, '--output-text'], stdout=text_out, env=proc_env).wait(): + raise SystemExit(1) + text_out.close() doxygen_config = os.path.join('doc', 'doxygen.conf') if subprocess.Popen([env['DOXYGEN'], doxygen_config]).wait(): raise SystemExit(1) -def doxygen(bld): + +from waflib import Context, Build + +class Ns3DoxygenContext(Context.Context): """do a full build, generate the introspected doxygen and then the doxygen""" - Scripting.build(bld) - _doxygen(bld) + cmd = 'doxygen' + def execute(self): + # first we execute the build + bld = Context.create_context("build") + bld.options = Options.options # provided for convenience + bld.cmd = "build" + bld.execute() + _doxygen(bld) -def lcov_report(): - env = Build.bld.env - variant_name = env['NS3_ACTIVE_VARIANT'] - if 'gcov' not in variant_name: - raise Utils.WafError("project not configured for code coverage;" - " reconfigure with --enable-gcov") + +def lcov_report(bld): + env = bld.env - os.chdir(blddir) + if not env['GCOV_ENABLED']: + raise WafError("project not configured for code coverage;" + " reconfigure with --enable-gcov") + + os.chdir(out) try: - lcov_report_dir = os.path.join(variant_name, 'lcov-report') + lcov_report_dir = 'lcov-report' create_dir_command = "rm -rf " + lcov_report_dir create_dir_command += " && mkdir " + lcov_report_dir + ";" if subprocess.Popen(create_dir_command, shell=True).wait(): raise SystemExit(1) - info_file = os.path.join(lcov_report_dir, variant_name + '.info') + info_file = os.path.join(lcov_report_dir, 'report.info') lcov_command = "../utils/lcov/lcov -c -d . -o " + info_file - lcov_command += " --source-dirs=" + os.getcwd() - lcov_command += ":" + os.path.join( - os.getcwd(), variant_name, 'include') + lcov_command += " -b " + os.getcwd() if subprocess.Popen(lcov_command, shell=True).wait(): raise SystemExit(1) @@ -1036,116 +1064,3 @@ def lcov_report(): finally: os.chdir("..") -## -## The default WAF DistDir implementation is rather slow, because it -## first copies everything and only later removes unwanted files and -## directories; this means that it needless copies the full build dir -## and the .hg repository tree. Here we provide a replacement DistDir -## implementation that is more efficient. -## -import Scripting -from Scripting import dist_exts, excludes, BLDDIR -import Utils -import os - -def _copytree(src, dst, symlinks=False, excludes=(), build_dir=None): - """Recursively copy a directory tree using copy2(). - - The destination directory must not already exist. - If exception(s) occur, an Error is raised with a list of reasons. - - If the optional symlinks flag is true, symbolic links in the - source tree result in symbolic links in the destination tree; if - it is false, the contents of the files pointed to by symbolic - links are copied. - - XXX Consider this example code rather than the ultimate tool. - - Note: this is a modified version of shutil.copytree from python - 2.5.2 library; modified for WAF purposes to exclude dot dirs and - another list of files. - """ - names = os.listdir(src) - os.makedirs(dst) - errors = [] - for name in names: - srcname = os.path.join(src, name) - dstname = os.path.join(dst, name) - try: - if symlinks and os.path.islink(srcname): - linkto = os.readlink(srcname) - os.symlink(linkto, dstname) - elif os.path.isdir(srcname): - if name in excludes: - continue - elif name.startswith('.') or name.startswith(',,') or name.startswith('++') or name.startswith('CVS'): - continue - elif name == build_dir: - continue - else: - ## build_dir is not passed into the recursive - ## copytree, but that is intentional; it is a - ## directory name valid only at the top level. - copytree(srcname, dstname, symlinks, excludes) - else: - ends = name.endswith - to_remove = False - if name.startswith('.') or name.startswith('++'): - to_remove = True - else: - for x in dist_exts: - if ends(x): - to_remove = True - break - if not to_remove: - shutil.copy2(srcname, dstname) - # XXX What about devices, sockets etc.? - except (IOError, os.error), why: - errors.append((srcname, dstname, str(why))) - # catch the Error from the recursive copytree so that we can - # continue with other files - except shutil.Error, err: - errors.extend(err.args[0]) - try: - shutil.copystat(src, dst) - except WindowsError: - # can't copy file access times on Windows - pass - except OSError, why: - errors.extend((src, dst, str(why))) - if errors: - raise shutil.Error, errors - - -def DistDir(appname, version): - #"make a distribution directory with all the sources in it" - import shutil - - # Our temporary folder where to put our files - TMPFOLDER=appname+'-'+version - - # Remove an old package directory - if os.path.exists(TMPFOLDER): shutil.rmtree(TMPFOLDER) - - global g_dist_exts, g_excludes - - # Remove the Build dir - build_dir = getattr(Utils.g_module, BLDDIR, None) - - # Copy everything into the new folder - _copytree('.', TMPFOLDER, excludes=excludes, build_dir=build_dir) - - # TODO undocumented hook - dist_hook = getattr(Utils.g_module, 'dist_hook', None) - if dist_hook: - os.chdir(TMPFOLDER) - try: - dist_hook() - finally: - # go back to the root directory - os.chdir('..') - return TMPFOLDER - -Scripting.DistDir = DistDir - - diff --git a/wutils.py b/wutils.py index 6d16fac95..f6de6d14b 100644 --- a/wutils.py +++ b/wutils.py @@ -1,18 +1,17 @@ import os import os.path import sys -import pproc as subprocess +import subprocess import shlex # WAF modules -import ccroot import Options import Utils import Logs import TaskGen import Build import re - +from waflib.Errors import WafError # these are set from the main wscript file APPNAME=None @@ -48,10 +47,10 @@ else: return os.path.curdir return os.path.join(*rel_list) - +from waflib import Context def find_program(program_name, env): - launch_dir = os.path.abspath(Options.cwd_launch) - top_dir = os.path.abspath(Options.launch_dir) + launch_dir = os.path.abspath(Context.launch_dir) + #top_dir = os.path.abspath(Options.cwd_launch) found_programs = [] for obj in bld.all_task_gen: if not getattr(obj, 'is_ns3_program', False): @@ -63,7 +62,7 @@ def find_program(program_name, env): continue name1 = obj.target - name2 = os.path.join(relpath(obj.path.abspath(), top_dir), obj.target) + name2 = os.path.join(relpath(obj.path.abspath(), launch_dir), obj.target) names = [name1, name2] found_programs.extend(names) if program_name in names: @@ -99,7 +98,7 @@ def get_proc_env(os_env=None): else: proc_env[pathvar] = os.pathsep.join(list(env['NS3_MODULE_PATH'])) - pymoddir = bld.path.find_dir('bindings/python').abspath(env) + pymoddir = bld.path.find_dir('bindings/python').get_bld().abspath() pyvizdir = bld.path.find_dir('src/visualizer').abspath() if 'PYTHONPATH' in proc_env: proc_env['PYTHONPATH'] = os.pathsep.join([pymoddir, pyvizdir] + [proc_env['PYTHONPATH']]) @@ -117,9 +116,9 @@ def run_argv(argv, env, os_env=None, cwd=None, force_no_valgrind=False): proc_env = get_proc_env(os_env) if Options.options.valgrind and not force_no_valgrind: if Options.options.command_template: - raise Utils.WafError("Options --command-template and --valgrind are conflicting") + raise WafError("Options --command-template and --valgrind are conflicting") if not env['VALGRIND']: - raise Utils.WafError("valgrind is not installed") + raise WafError("valgrind is not installed") argv = [env['VALGRIND'], "--leak-check=full", "--show-reachable=yes", "--error-exitcode=1"] + argv proc = subprocess.Popen(argv, env=proc_env, cwd=cwd, stderr=subprocess.PIPE) error = False @@ -139,7 +138,7 @@ def run_argv(argv, env, os_env=None, cwd=None, force_no_valgrind=False): try: retval = subprocess.Popen(argv, env=proc_env, cwd=cwd).wait() except WindowsError, ex: - raise Utils.WafError("Command %s raised exception %s" % (argv, ex)) + raise WafError("Command %s raised exception %s" % (argv, ex)) if retval: signame = None if retval < 0: # signal? @@ -150,11 +149,11 @@ def run_argv(argv, env, os_env=None, cwd=None, force_no_valgrind=False): signame = name break if signame: - raise Utils.WafError("Command %s terminated with signal %s." + raise WafError("Command %s terminated with signal %s." " Run it under a debugger to get more information " "(./waf --run --command-template=\"gdb --args %%s \")." % (argv, signame)) else: - raise Utils.WafError("Command %s exited with code %i" % (argv, retval)) + raise WafError("Command %s exited with code %i" % (argv, retval)) return retval def get_run_program(program_string, command_template=None): @@ -173,15 +172,15 @@ def get_run_program(program_string, command_template=None): try: program_obj = find_program(program_name, env) except ValueError, ex: - raise Utils.WafError(str(ex)) + raise WafError(str(ex)) - program_node = program_obj.path.find_or_declare(ccroot.get_target_name(program_obj)) + program_node = program_obj.path.find_or_declare(program_obj.target) #try: # program_node = program_obj.path.find_build(ccroot.get_target_name(program_obj)) #except AttributeError: # raise Utils.WafError("%s does not appear to be a program" % (program_name,)) - execvec = [program_node.abspath(env)] + argv[1:] + execvec = [program_node.abspath()] + argv[1:] else: @@ -189,15 +188,15 @@ def get_run_program(program_string, command_template=None): try: program_obj = find_program(program_name, env) except ValueError, ex: - raise Utils.WafError(str(ex)) + raise WafError(str(ex)) - program_node = program_obj.path.find_or_declare(ccroot.get_target_name(program_obj)) + program_node = program_obj.path.find_or_declare(program_obj.target) #try: # program_node = program_obj.path.find_build(ccroot.get_target_name(program_obj)) #except AttributeError: # raise Utils.WafError("%s does not appear to be a program" % (program_name,)) - tmpl = command_template % (program_node.abspath(env),) + tmpl = command_template % (program_node.abspath(),) execvec = shlex.split(tmpl.replace('\\', '\\\\')) #print "%r ==shlex.split==> %r" % (command_template % (program_node.abspath(env),), execvec) return program_name, execvec @@ -230,5 +229,92 @@ def run_python_program(program_string, env, visualize=False): cwd = Options.cwd_launch if visualize: execvec.append("--SimulatorImplementationType=ns3::VisualSimulatorImpl") - return run_argv([env['PYTHON']] + execvec, env, cwd=cwd) + return run_argv([env['PYTHON'][0]] + execvec, env, cwd=cwd) + + +def monkey_patch_Runner_start(): + """http://code.google.com/p/waf/issues/detail?id=1039""" + from waflib import Task + def start(self): + """ + Give tasks to :py:class:`waflib.Runner.TaskConsumer` instances until the build finishes or the ``stop`` flag is set. + If only one job is used, then execute the tasks one by one, without consumers. + """ + + self.total = self.bld.total() + + while not self.stop: + + self.refill_task_list() + + # consider the next task + tsk = self.get_next_task() + if not tsk: + if self.count: + # tasks may add new ones after they are run + continue + else: + # no tasks to run, no tasks running, time to exit + break + + if tsk.hasrun: + # if the task is marked as "run", just skip it + self.processed += 1 + continue + + if self.stop: # stop immediately after a failure was detected + break + + try: + st = tsk.runnable_status() + except Exception: + self.processed += 1 + if not self.stop and self.bld.keep: + tsk.hasrun = Task.SKIPPED + if self.bld.keep == 1: + # if -k stop at the first exception, if -kk try to go as far as possible + self.stop = True + continue + tsk.err_msg = Utils.ex_stack() + tsk.hasrun = Task.EXCEPTION + self.error_handler(tsk) + continue + + if st == Task.ASK_LATER: + self.postpone(tsk) + # TODO optimize this + # if self.outstanding: + # for x in tsk.run_after: + # if x in self.outstanding: + # self.outstanding.remove(x) + # self.outstanding.insert(0, x) + elif st == Task.SKIP_ME: + self.processed += 1 + tsk.hasrun = Task.SKIPPED + self.add_more_tasks(tsk) + else: + # run me: put the task in ready queue + tsk.position = (self.processed, self.total) + self.count += 1 + tsk.master = self + self.processed += 1 + + if self.numjobs == 1: + tsk.process() + else: + self.add_task(tsk) + + # self.count represents the tasks that have been made available to the consumer threads + # collect all the tasks after an error else the message may be incomplete + while self.error and self.count: + self.get_out() + + #print loop + assert (self.count == 0 or self.stop) + + # free the task pool, if any + self.free_task_pool() + + from waflib.Runner import Parallel + Parallel.start = start

    $func_code$count_code
    $name$count